/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/*------------------------------------------------------------------------------------------------------ */
/* ------------------------------- GENERATE PRESS THEME CUSTOMIZATION ---------------------------------- */
/*------------------------------------------------------------------------------------------------------ */

/*   -------- TYPO / THEME CUSTOMIZATION  -------- */

/* Distance of paragraphs in Footer */
.footer-widgets p {
    margin-bottom: 0.5em;
}


/* ---------- PLUGINS ------------ */

/* ReCaptcha */
.grecaptcha-badge { 
    visibility: hidden !important;
}

/* Scoial Links to facebook etc. in footer - GeneratePress */  */
.sociallinks ul {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    padding: 0 !important;
    margin: 0 !important;
	clear: both;
}

.sociallinks li {
box-sizing: border-box;
list-style: none !important;
overflow: hidden !important;
margin-right: 2px !important;
padding:6px !important;
text-indent: -5px !important;
width: 36px !important;
height: 36px;
border-radius: 50%; 
background-color:var(--bk-01-spot)!important;
}





/*  ---------  NAVIGATION  /  THEME CUSTOMIZATIONS  -------- */

/* ALL SCREEN SIZES - customize main- & sub-menu */ 
.main-navigation .menu > .menu-item > a:active, .menu-item a:active, .main-navigation .main-nav ul li[class*="current-menu-"] > a, .main-navigation .main-nav ul li[class*="current-menu-"]:hover > a, .main-navigation .main-nav ul li[class*="current-menu-"].sfHover > a {
	font-weight: 700 !important;
}

/* Sticky navigation - shadows and styling when nav is fixed on top */
.sticky-enabled .main-navigation.is_stuck, .sticky-enabled .main-navigation.is_stuck .sub-menu {
    box-shadow: 0 3px 4px -1px rgba(0,0,0,.2) !important;
	background-color: #fff;
}

/* DESKTOP SCREENS - customize main- & sub-menu */

@media (min-width: 769px) {
.main-navigation .main-nav ul ul li a {
    padding: 8px 20px 8px 20px;
}
	
.main-navigation .sub-menu {
    box-shadow: 0 4px 6px 0px rgba(0,0,0,.1) !important;
	background-color: #fff;
}


/* ------- WP POST POPUP - Modal/Popups Customizations ------- */

@media (min-width: 769px) {
.modal-wrapper.styled .wp-post-modal {
    position: relative;
    background-color: #ffffff;
    margin: 20vh auto;
    padding: 40px 60px 40px 40px;
    border: 6px solid var(--bk-01-spot);
    width: 60%;
    transition: all 0.5s ease;
}
}

@media (max-width: 769px) {
	.modal-wrapper.styled .wp-post-modal {
		position: relative;
		background-color: #ffffff;
		margin: auto;
		padding: 25px 25px 25px 25px;
		border: 6px solid var(--bk-01-spot);
		width: 100%;
		transition: all 0.5s ease;
		}
	.modal-wrapper.styled .wp-post-modal .close-modal {	
		position: fixed !important;
		}
}

.modal-wrapper.styled .wp-post-modal h1 {
    font-size: 2.5em;
    margin: 0em 0em 0.5em 0em;
}

.modal-wrapper.styled .wp-post-modal .close-modal {
    background: transparent;
    position: absolute;
    top: -6px;
    right: 10px;
    font-size: 3.0em;
    color: var(--bk-01-spot);
    cursor: pointer;
	border: none;
}



/* ------- ADDTOANY - Repairing broken images ----------- */
/* added some code to single-event.php for making this work */

/* Rearrange sharing buttons on buttom */ 
.addtoany_list a img {
    border: 3px solid var(--bk-01-spot) !important;
    display: inline-block;
    background-color: var(--bk-01-spot);
    width: 42px;
    height: 42px;
    margin-right: 8px;
    padding: 3px;
}

.addtoany_list a {
	padding: 0px !important;
}

.addtoany_list a img:hover {
    background-color: var(--bk-02-dark);
	border: 3px solid var(--bk-02-dark) !important;
    opacity: 1.0 !important;
}

.addtoany_list, .eventlist-bottom .button-flat {
    display: inline-block !important;
	flex-flow: nowrap;
}

	
	/*  ------- TRANSPOSH TRANSLATION PLUGIN ------- */

/* Navigation menu - links in nav for language switch */
/* EN und DE */

.menu-item-1775 a, .menu-item-1776 a {
	padding: 9px !important;
	text-transform: uppercase;
	border: 1px solid var(--bk-01-spot);
	border-radius: 20px;
	line-height:20px !important;
	margin-left: 10px;
	font-family: "IBM Plex", sans-serif;
}

@media (min-width: 961px) {
    .menu-item-1776 a {
	    margin-left: 30px;
    }
}

@media (max-width: 960px) {
    .menu-item-1775 a {
	    margin-top: 30px;
    }
}

/* Translation plugin formating */
.transposh_flags {
    line-height: 1.2 !important;
}




/*  ------- WP MAINTENANCE MODE (Under Construction Page)  ------- */
.wrap form.subscribe_form input[type="submit"], .wrap form.subscribe_form input[type="text"] {
    padding: 15px !important;
	border: 3px solid var(--bk-01-spot);
}

/* Vertically center elements */
.wrap h2 {
	margin: 1px !important;
}

/* Fix link color in footer */
.site-footer.site-footer a:hover {
  color: var(--bk-01-spot);
}


