/*
Theme Name: Patron WP Base Theme
Description: This is the starter theme for Patron Studio.
Author: Patron Studio
Author URI: https://patron.studio
Version: 1.0
*/


/* Jellyhound 17/03/21 Header fix */
/* commented out because stylesheet was not enqueued pre Nov 2022 */
/*
.header .sub-menu a {
	transform:translateX(0px);
	transition: all 200ms ease-in-out;
}
.header .sub-menu a:not(li.subheader>a) {
	margin-top: 8px;
}

.header .sub-menu li.current-menu-item>a:before {
	width: calc(100% - 8px);
}

.header .sub-menu a:hover {
	transform:translateX(5px);
	font-weight: 700;
}
.header .sub-menu a:after {
	display:none;
}
*/


/* ============== Jellyhound 11/11/22 GTranslate flags styling fix */
/* spacing between flags */
a.glink:nth-child(2) {
    margin: 0 6px;
}
.header--slider .header__search-btn svg {
	fill:#183f77!important;
}
.social-links__link--threads {
	width:16px!important;
}
.footer .social-links__link--threads {
	width:14px!important;
}
.slide__buttons a {
	background-color: #fef145;
    color: #183f77;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    padding: 15px 30px;
}
.slide__buttons a:hover {
	background-color:#fff;
	border-color:#fff;
	color: #183f77;
}
.map-container {
	margin-bottom:0;
}
.map__info {
	left:3%!important;
	z-index:1;
}
	
.member-hero {
	width:100%;
	height:550px;
	background-size:contain;
	background-repeat: no-repeat;
	background-color:#183f77;
	position:relative;
}
.member-hero:before {
    content: ""; /* Necessary for :before to work */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(254, 241, 69, 0.7); /* Yellow color overlay at 50% opacity */
    z-index: 0;
}

/* Mobile styles */
@media (max-width: 768px) { /* Adjust breakpoint as needed */
    .map-container{
    	margin:0;
    	padding:0;
    	height:100vh;
    }
    .member-hero {
        background-image: url('https://liberal-international.org/wp-content/uploads/2017/05/map_All-Regions_750x1000_acf_cropped.png')!important;
        background-size: cover;
        background-position: center; /* Center the background image */
        height: 100vh;
    }

    .map__info {
        position: absolute;
        top: 0;
        right: 50%;
        background: rgba(255, 255, 255, 0.9);
        width: 94%;
        margin: 10px auto;
        padding: 10px 30px;
        height: 100%;
    }
}


/* right-hand spacing on destop */
@media only screen and (min-width: 1024px) {
	body > #gtranslate_wrapper {
		right: 0 !important;
		padding-right: 75px;
	}
}
/* mobile menu style */
@media only screen and (max-width: 1024px) {
	body > #gtranslate_wrapper {
		display: none;
	}
	.page-id-233 .slider {
		padding-top: inherit!important;
	}
}
div.mobile-menu > div.gtranslate-flags-mob {
	margin-top: 40px;
}
div.mobile-menu > div.gtranslate-flags-mob a.glink:nth-child(2) {
	margin: 0 15px;
}
div.mobile-menu > div.gtranslate-flags-mob a.glink img {
	width: 35px;
}

/* Padding added to Home Page menu */
.page-id-233 .slider {
	padding-top: 230px;
}
/* Slider override */
.slick-track .slide {
	height:500px!important;
}
.slide__image img {
    width: 100%;
    height: 500px!important;
    object-fit: cover!important; 
}
@media only screen and (min-width: 1366px) {
	.header .slide {
    	min-height:500px!important;
	}
	.slide__content {
		top:40%!important;
	}
	.page-id-233 .slide__content {
		top:55%!important;
	}
}
@media (min-width: 1025px) {
	.header__social-links {
		padding: 10px 15px 10px 8px;
	}
}