/*
 Theme Name:   Astra Child
 Theme URI:	http://example.com/astra-child
 Description:  Astra Child Theme is an awesome theme.
 Author:   	Brainstorm Force
 Author URI:   https://www.wpastra.com
 Template: 	astra
 Version:  	1.0.0
 License:  	GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:     	astra
 Text Domain:  astrachild
*/

section#block-65 div a.wp-block-button__link.has-ast-global-color-1-color:hover{
    background-color: #eeeeee!important;
}
section#block-65 div a.wp-block-button__link.has-ast-global-color-5-color:hover{
    background-color: #F06567!important;
}

.home .header-search-icon:before{
	color: #FFF;
}

.header-search-icon:before{
    font-family: 'dashicons';
    color: #FFF;
    cursor: pointer;
    transition: color 0.4s;
}

#header-search-icon-click:before{
    content: "\f179";
    display: block;
    line-height: 33px;
}

#header-search-icon-click{
    display: block;
}

#header-close-icon-click{
    width: 0px;
    height: 0px;
    display: block;
    font-size: 0px;
}

#header-close-icon-click:before{
    content: "\f335";
    display: block;
    line-height: 33px;
}

.header-search-icon:before{
    font-family: 'dashicons';
    content: "\f179";
    color: #161617;
    cursor: pointer;
    transition: color 0.4s;
}

.ast-sticky-active .header-search-icon:before{
    color: #161617;
}


.header-search-icon:hover:before{
    color: #CD172D;
    transition: color 0.4s;
}

.header-search .form-wrapper{
    display: none;
    position: absolute;
    transform: translate(-206px, 0px);
    top: -8px;
    left: -40px;
    line-height: 33px;
}

.header-search .form-wrapper input.search-submit{
    display: none;
}

.header-search .form-wrapper input.search-field{
    height: 45.5px;
    font-size: 15px;       
}

.header-search label[for="search-field"]{
    display: flex;
}

.header-search .form-wrapper button.search-submit{
    border-radius: 0px;
    padding: 10px;
    background-color: #CD172D;
}

.header-search .form-wrapper input[type="search"]{
    border-radius: 0px;
}

.header-customer-portal{
    margin-right: 10px;
}

.home .header-customer-portal a span:before{
    content: "\f110";
    font-family: 'dashicons';
    color: #FFF;
    transition: color 0.4s;
}

.header-customer-portal a span:before{
    content: "\f110";
    font-family: 'dashicons';
    color: #161617;
    transition: color 0.4s;
}

.header-customer-portal a:hover span:before,
.ast-sticky-active .header-customer-portal a:hover span:before{
    color: #CD172D;
    transition: color 0.4s;
}

.ast-sticky-active .header-customer-portal a span:before{
    color: #161617;
}


#block-92{
    display: flex;
    gap: 30px;
    align-items: center;
    top: 2px;
    position: relative;
}

#block-92 p:empty{
    display: none;
}

/*We Glot Customizations*/

#block-85 .country-selector.weglot-dropdown span{
    padding-right: 0px;
}

.home .country-selector.weglot-dropdown span{
	font-family: 'Source Sans Pro'; 
	font-size: 16px; 
	color: #fff;
}

.country-selector.weglot-dropdown span{
	font-family: 'Source Sans Pro'; 
	font-size: 16px; 
	color: #161617;
}

/*Shaking Icons Fix on header*/
.ast-sticky-main-shrink .ast-sticky-shrunk .main-header-bar,
.ast-sticky-main-shrink .ast-sticky-shrunk.main-header-bar{
	line-height: unset!important;
}

.event-bar-wrapper{
    display: flex;
    justify-content: center;
    background: #CD172D;
    color: #FFF;
    gap: 20px;
    text-transform: uppercase;
    letter-spacing: unset;
    align-items: center;
    font-size: 14px;
    padding: 10px;
    overflow: hidden;
}

.event-bar-wrapper .s1{
    /* height: 13px; */
    display: flex;
    align-items: center;
    font-weight: 700;
}

.event-bar-wrapper .s2{
    display: flex;
    align-items: center;
    gap: 20px;
    border-right: 1px solid #FFF;
    padding-right: 20px;
    height: 13px;
    padding-left: 20px;
    border-left:  1px solid #FFF;
}

.event-bar-wrapper a{
    color: #FFF;
}

.event-bar-wrapper a.btn{
    display: flex;
    background: #EAEAEA;
    padding: 15px 20px;
    border-radius: 3px;
    font-weight: 600;
    line-height: 1;
    color: #CD172D;
}

.event-bar-wrapper a.btn:hover{
    opacity: 0.8;
    color: #CD172D;
}

.event-bar-wrapper .s2 .date,
.event-bar-wrapper .s2 .time{
    display:flex;
    gap: 20px;
    align-items: center;
}

.event-bar-wrapper .scrolling-text{
    display: none;
}

/*Footer Edits*/
section#block-65 > div{
    gap: 15px;
}

section#block-65 div .wp-block-button{
    width: 100%;
}

section#block-65 div a{
    max-width: 100%;
    width: 100%;
    display:block;
    text-align: center;
}

aside.footer-widget-area h2.footer-header,
h2.footer-header{
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 38px;
    color: #161617;
    font-size: 0.8rem;
}

.site-footer-primary-section-4 aside .widget{
    margin-bottom: 10px;
}

.site-footer-primary-section-4 aside .widget ul{
    padding: 0px;
    gap: 18px;
}

.site-footer-primary-section-4 aside .widget:has(.connect-with-us-title) h2{
    margin-top: 50px;
}

.site-footer-primary-section-4 aside .widget ul li.wp-social-link a{
    display: flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    background-color: #FFF;
    border-radius: 28px;
    fill: #161717;
}

.site-footer-primary-section-4 aside .widget ul li.wp-social-link a:hover{
    fill: #FFF;
    background-color: #CD172D;
}

.site-footer-primary-section-4 aside .widget ul li.wp-social-link a svg{
    width: 18px;
    height: 18px;
}

.single-post .site-footer-primary-section-4 aside .widget ul li.wp-social-link a svg{
	fill: #161717!important;
	color: #161717!important;
}

#ast-mobile-header .ast-builder-grid-row{
	height: 65px;
}

.page-id-47165 .ast-header-button-5 .ast-custom-button{background-color:#EAEAEA!important; color:#161617!important;}
.page-id-47165 .ast-header-button-5 .ast-custom-button:hover{opacity:0.8}
.home .ast-header-button-5 .ast-custom-button{background-color:#EAEAEA!important; color:#161617!important;}
.home .ast-header-button-5 .ast-custom-button:hover{opacity:0.8}

.home .ast-sticky-active .ast-header-button-5 .ast-custom-button{
	color: #FFF!important;
}


@media(max-width: 767px){
    footer .site-above-footer-wrap .ast-builder-footer-grid-columns,
    footer .site-primary-footer-wrap .ast-builder-footer-grid-columns{
        grid-template-columns: repeat(2, 1fr)!important;
    }

    section#block-65 div{
        flex-direction: column;
    }

    .footer-widget-area.footer-widget-area-inner,
    .footer-widget-area .ast-builder-html-element{
        text-align: left!important;
    }

    .site-primary-footer-wrap[data-section="section-primary-footer-builder"],
    .site-above-footer-wrap[data-section="section-above-footer-builder"]{
        padding-left: 20px!important;
        padding-right: 20px!important;
    }

}




@media(max-width: 1440px){
    #masthead .ast-container{
        padding-left: 10px;
        padding-right: 10px;
    }
	
	.event-bar-wrapper .s1{
        width: 44%;
    }

    .event-bar-wrapper .s1 span{
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 23px;
    }
}

@media(max-width: 1290px){
    .header-search .form-wrapper{
        left: -2px;
        top: 51px;
    }

    .ast-sticky-active .header-search .form-wrapper{
        display: none;
        position: absolute;
        transform: translate(-206px, 0px);
        left: -1px;
        line-height: 33px;
    }
}

@media(max-width: 1070px){
	.weglot-flags.flag-0.en>span:before,
	.country-selector.weglot-dropdown a:before{
		display: none;
	}
}

@media(max-width: 1051px){
    .site-header-primary-section-right  .ast-header-button-5 a.ast-custom-button-link .ast-custom-button{
        width: 89px;
        text-align: center;
        padding: 5px 8px;
    }
	
	.event-bar-wrapper .s3 a{
        padding: 5px 10px
    }
}

@media(max-width: 990px){
    .event-bar-wrapper{
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .event-bar-wrapper .s1{
        width: 100%;
        text-align: center;
        padding-right: 0px;
        height: unset;

    }

    .event-bar-wrapper .s1 span{
                white-space: wrap;
        overflow: visible;
        text-overflow:unset
    }

    .event-bar-wrapper .s2{
        border-left: 0px;
        border-right:  0px;
        height: unset;
        padding: 0px;
        padding-right: 20px;
    }
}

@media(max-width: 985px){
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
        padding-left: 9px!important;
        padding-right: 9px!important;
    }
}

@media(max-width: 975px){
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
        padding-left: 8px!important;
        padding-right: 8px!important;
    }
}

@media(max-width: 965px){
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
        padding-left: 7px!important;
        padding-right: 7px!important;
    }
}

@media(max-width: 955px){
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
        padding-left: 6px!important;
        padding-right: 6px!important;
    }
}

@media(max-width: 945px){
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
        padding-left: 5px!important;
        padding-right: 5px!important;
    }
}

@media(max-width: 935px){
    #ast-desktop-header{
        display: none;
    }
}

@media(max-width: 921px){
    .footer-widget-area.footer-widget-area-inner,
    .footer-widget-area .ast-builder-html-element{
        text-align: left!important;
    }
}

@media(max-width: 767px){
    .ast-builder-grid-row-container.ast-builder-grid-row-tablet-3-equal .ast-builder-grid-row{
        grid-template-columns: repeat(1,1fr);
    }

    .footertext{
        text-align: center;
    }

    .site-below-footer-wrap[data-section="section-below-footer-builder"].ast-footer-row-tablet-stack .site-footer-below-section-3.site-footer-section{
        display: none;
    }
}

@media(max-width: 544px){
    .ast-header-break-point .site-below-footer-wrap[data-section="section-below-footer-builder"]{
        padding-bottom: 85px;
    }
}

@media(max-width: 524px){
    .ast-header-break-point .site-above-footer-wrap[data-section="section-above-footer-builder"]{
        padding-bottom: 30px;
    }
}

@media(max-width: 492px){

    .event-bar-wrapper > .s1, .event-bar-wrapper > .s2, .event-bar-wrapper > .s3{
        display: none;
    }

    .event-bar-wrapper .scrolling-text{
        width: 100%;
        position: relative;
        display: block;
        overflow: hidden;
    }

    .event-bar-wrapper .scrolling-text .s1a{
        width: 1289px;
        display: flex;
        padding-left: 100%;
        animation: scroll-left 20s linear infinite;
    }

    .event-bar-wrapper .scrolling-text .s1a .s2{
        width: 614px;
    }

    .event-bar-wrapper .scrolling-text a.btn{
        justify-content: center;
        margin-top: 10px
    }
    
}

@media(max-width: 421px){
    .site-footer-primary-section-4 aside .widget ul{
        gap:5px;
    }
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}