/*
Theme Name: IfGlobal
Theme URI: N/A
Author: Conversal Team
Author URI: N/A
Description: A custom wordpress theme for IfGlobal.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Html5, Css3, PHP5, Custom post type, Blog, Wpml
Text Domain: ifglobal
*/

@import url('assets/css/main.css');

body .wpa-test-msg{
	display: none;
}

li a:after:hover{
	color: #f00;
}

.gt-selected .gt-lang-code{
	display: none;
}
.hm-post-rgt .nslr-form-cntlr input {
    color: #191919!important;
}
.givewp-fields-amount__levels-container{
	display: flex;
	flex-wrap: wrap;
}
.hm-our-work-grids .our-work-grid{
	max-width: 500px;
}
.hm-our-work-grids:not(.slick-initialized) .our-work-grid:not(:first-child){
	display: none;
}
.single-events .single-page-top-con .location{
	margin-left: 10px;
}
.hdr-lang-cntlr{
	width: 216px;
}
nav.main-nav > ul > li.menu-item-has-children ul.sub-menu > li.menu-item-has-children ul.sub-menu{
	display: block;
}
.general-content-cntlr > section:first-child{
	padding-top: 0!important;
}

/*Alignments*/
.aligncenter,.alignleft,.alignright {
    display: block;
    padding: 0;
}
.aligncenter {
    float: none;
    margin: .5em auto 1em;
}
.alignright {
    float: right;
    margin: .5em 0 1em 1em;
}
.alignleft {
    float: left;
    margin: .5em 1em 1em 0;
}
.wp-caption {
    padding: 5px 0;
    border: 1px solid #555;
    background: #444;
    text-align: center;
}
.wp-caption img {
    display: inline;
}
.wp-caption p.wp-caption-text {
    margin: 5px 0 0;
    padding: 0;
    text-align: center;
    font-size: 75%;
    font-weight: 100;
    font-style: italic;
    color: #ddd;
}
.post-featured-img{
	padding-top: 30px;
}
/*Alignments*/
body:not(.home) section.ptb-80 + section.ptb-80{
	padding-top: 0;
}
body.home .hm-our-work.ptb-80{
	padding-top: 20px;
}
body.single .format-content-headings .fl-text h2,
body.single .format-content-headings .fl-text h3,
body.single .format-content-headings .fl-text h4,
body.single .format-content-headings .fl-text h5,
body.single .format-content-headings .fl-text h6,
body.single-news .format-content-headings h1{
    text-transform: uppercase;
}
body.single .format-content-headings h1{
	font-size: 44px;
}
body.single-our_work .single-page-con .fl-text h2,
body.single .format-content-headings .fl-text h2{
	font-size: 34px;
}
body.single .format-content-headings .fl-text h3{
	font-size: 28px;
}
body.single .format-content-headings .fl-text h4{
	font-size: 22px;
}
body.single .format-content-headings .fl-text h5{
	font-size: 18px;
}
.hdr-social .facebook-icon-wrap svg{
	width: 24px;
	height: auto;
}
.hdr-social .instagram-icon-wrap svg{
    width: 22px;
    height: auto;
}
.hdr-social .linkedin-icon-wrap svg{
    width: 22px;
    height: auto;
}
.hdr-social .youtube-icon-wrap svg{
    width: 28px;
    height: auto;
}
.ftr-social .fackbook-icon svg{
	width: 32px;
	height: auto;
}
.ftr-social .instagram-icon svg{
    width: 30px;
    height: auto;
}
.ftr-social .youtube-icon svg{
    width: 32px;
    height: auto;
}
.ftr-social li:not(.bsky-icon-wrap) svg path{
	fill: #fff;
}
.ftr-social li.bsky-icon-wrap svg path{
	stroke: #fff;
}
.ftr-social .linkedin-icon-wrap svg g path{
	fill: #102A41;
}
.ftr-social .linkedin-icon-wrap svg g path:first-child{
	fill: #fff;
}
.ftr-social li:not(.bsky-icon-wrap) a:hover svg path,
.ftr-social .linkedin-icon-wrap a:hover svg g path:not(:first-child){
	fill: #E47428;
}
.ftr-social li.bsky-icon-wrap a:hover svg path{
	stroke: #E47428;
}
.ftr-social .linkedin-icon-wrap a:hover svg g path:first-child{
	fill: #fff;
}
body.post-type-archive-events section.fl-quick-link-sec .fl-sec-hdr,
body.post-type-archive-our_work section.fl-quick-link-sec .fl-sec-hdr,
body.post-type-archive-publications section.fl-quick-link-sec .fl-sec-hdr,
body.page-template-page-donate section.fl-quick-link-sec .fl-sec-hdr,
body.page-template-page-contact section.fl-quick-link-sec .fl-sec-hdr,
.newsletter-icon{
	display: none;
}
body.post-type-archive-events section.fl-quick-link-sec,
body.post-type-archive-our_work section.fl-quick-link-sec,
body.page-template-page-donate section.fl-quick-link-sec,
body.page-template-page-contact section.fl-quick-link-sec{
	margin-top: 80px;
}

.hdr-language{
	position: relative;
}
.hdr-lang-tooltip {
    position: absolute;
    width: 280px;
    font-size: 12px;
    right: calc(100% + 0px);
    display: inline-block;
    padding: 7px;
    border: 1px solid #dcdcdc;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 7px;
	transition: all 0.4s;
	z-index: -9;
	opacity: 0;
	visibility: hidden;
}
.hdr-lang-tooltip:after {
    content: '';
    right: -7px;
    display: block;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 7px 0 7px 7px;
    border-color: transparent transparent transparent #dcdcdc;
    transform: rotate(0deg);
    position: absolute;
    top: 50%;
    margin-top: -4px;
}
.hdr-language:hover .hdr-lang-tooltip,
.hdr-language.displayed .hdr-lang-tooltip{
	z-index: 9;
	opacity: 1;
	visibility: visible;	
	right: calc(100% + 6px);
}
.hdr-lang-tooltip-mobile{
    font-size: 13px;
    line-height: 1.3 !important;
    display: block;
    margin-bottom: 10px;
    margin-top: 15px;
}
body.search .ifg-team-item-img{
	position: static;
}
body.search .ifg-team-item-img img{
    object-position: center center!important;
}
.pb-item-img a{
	display: block;
}
.pb-item-img a img{
	object-fit: contain!important;
}
.event_no-location{
	opacity: 0;
}
.select2-container--default .select2-results>.select2-results__options{
	max-height: initial!important;
}
@media (max-width: 1699px) {
	body.single-our_work .single-page-con .fl-text h2{
		font-size: 36px;
	}
	body.single-our_work .single-page-con .fl-text h3{
		font-size: 30px;
	}
	body.single-our_work .single-page-con .fl-text h4{
		font-size: 24px;
	}
	body.single-our_work .single-page-con .fl-text h5{
		font-size: 18px;
	}	
}
@media (max-width: 1199px) {
	body.single-our_work .single-page-con .fl-text h2{
		font-size: 32px;
	}
	body.single-our_work .single-page-con .fl-text h3{
		font-size: 28px;
	}
	body.single-our_work .single-page-con .fl-text h4{
		font-size: 22px;
	}	
	body.post-type-archive-events section.fl-quick-link-sec,
	body.post-type-archive-our_work section.fl-quick-link-sec,
	body.page-template-page-donate section.fl-quick-link-sec,
	body.page-template-page-contact section.fl-quick-link-sec{
		margin-top: 60px;
	}
}
@media (max-width: 991px) {
	body.single-our_work .single-page-top-con h1{
		font-size: 34px;
	}
	body.single-our_work .single-page-con .fl-text h2{
		font-size: 24px;
	}
	body.single-our_work .single-page-con .fl-text h3{
		font-size: 20px;
	}
	body.single-our_work .single-page-con .fl-text h4{
		font-size: 18px;
	}	
	body.single-our_work .single-page-con .fl-text h5{
		font-size: 16px;
	}
	body.search .ifg-team-grid{
		max-width: 400px;
		width: 100%;
	}
}
@media (max-width: 767px) {
	body.post-type-archive-events section.fl-quick-link-sec,
	body.post-type-archive-our_work section.fl-quick-link-sec,
	body.page-template-page-donate section.fl-quick-link-sec,
	body.page-template-page-contact section.fl-quick-link-sec{
		margin-top: 40px;
	}	
}
@media (max-width: 374px) {
	
}
@media(max-width: 767px){
	.fl-lang-cntlr a.glink span{
		display: none;
	}
}
