/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


/**header**/
.fusion-tb-header .awb-menu__overlay-search-trigger:before,
.fusion-tb-header .fa-shopping-cart:before{
    content: "" !important;
    background-size: 50%;
    border-radius: 50%;
    }
.fusion-header-wrapper .sub-menu{
    border-radius: 16px;
    padding: 10px;
}
.fusion-tb-header .fa-shopping-cart:before{
    background:url(img/shopping-cart.svg) #f5f5f4 center no-repeat !important;
    padding: 8px 16px;
}
.fusion-tb-header .awb-menu__overlay-search-trigger:before{
    background:url(img/search_icon.svg) #f5f5f4 center no-repeat !important;
    padding: 16px;

}
#desktop-header .awb-menu__sub-ul_main{
    padding:8px;
    background: #fff;
}

.button-medium{
    font-size: 16px !important;
}

.fusion-header .fusion-main-menu-icon:after, .fusion-mobile-menu-icons .awb-icon-shopping-cart:before{
    background: #f5f5f4 !important;
    border:none !important;
    padding: 10px;
}
.fusion-mobile-menu-icons .awb-icon-shopping-cart:before{
    border-radius: 50%;
}
#desktop-header .main-nav-header .awb-menu__main-a{
    position: relative;
}
#desktop-header .main-nav-header .awb-menu__main-a:after{
    content: "";
    height: 2px;
    width: stretch;
    background: #0098D2;
    position: absolute;
    top: 50px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
#desktop-header .main-nav-header .awb-menu__main-a:hover:after{
    transform: scaleX(1);
}

#desktop-header .main-nav-header .current-menu-item .menu-text, 
#desktop-header .main-nav-header .current-menu-parent .menu-text{
    color: #166CB7  !important;
}

#desktop-header .main-nav-header .current-menu-item .awb-menu__main-a:after, 
#desktop-header .main-nav-header .current-menu-parent .awb-menu__main-a:after{
    content: "";
    height: 2px;
    width: stretch;
    background: #0098D2;
    position: absolute;
    top: 50px;
    transform: none;
}
#menu-mobile-nav{
    border-bottom-left-radius:22px !important;
    border-bottom-right-radius:22px !important;
    padding: 10px;
}
#menu-mobile-nav .awb-menu__li_button{
    padding-left: 15px !important;
    padding-right: 15px !important;
}
#menu-mobile-nav .awb-menu__main-a_button{
    background: #1374BC !important;
}
#menu-mobile-nav .awb-menu__main-a_button .menu-text{
    color: #fff !important;
}
#menu-mobile-nav .awb-menu__main-a_button:after{
    content: "";
    height: 20px;
    width: 20px;
    background: url(img/white_arrow.svg) center no-repeat;
    margin-left: 10px;
}

@media(max-width:1376px){
    .custom-clip .fusion-builder-row{
        align-content: flex-start !important;
    }
}

@media(max-width:1032px){
    #desktop-header .awb-menu__main-a{
        padding-right: 18px !important;
    }
    #desktop-header .has-fusion-standard-logo{
        width: 200px;
    }
}

@media(max-width:1080px){
    #desktop-header .main-nav-header .awb-menu__main-li_regular a{
        padding-right: 18px;
    }

}

@media(max-width:640px){
.fusion-logo{
    width:65% !important;
}
    .fusion-logo img{
        height: auto !important;
    } 
}



/**Layout**/
.lg-left-padding{
    padding-left: calc((100vw - 1235px) / 2);
}

@media(max-width: 1032px){
    .lg-left-padding{
        padding-left: 30px !important;
    }
}
@media(max-width: 1080px){
    .md-left-padding{
        padding-left:30px;
    }
}
@media(max-width: 1024px){
    .md-left-padding{
        padding-left:0px;
    }
}




.no-break br{
    display: block !important;
}
.contact-banner:after{
    content: "";
    background: #0b314f;
    position: absolute;
    height: 100%;
    width: 40%;
    top: 0;
    right: 0;
}
@media(max-width:640px){
   .contact-banner:after{
    display: none;
   } 
}


/**NEws**/
.news-excerpt p{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.two-col-news .news-excerpt p{
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-list{
    padding-bottom: 0 !important;
}
.news-list .fusion-builder-row{
    position: absolute !important;
    bottom: -60px;
}
@media(max-width:640px){
    .news-list .fusion-builder-row{
        bottom: -190px;
    }
}


/**FORM**/
.contact-wrap label{
   color:#fff;
}
.contact-wrap input[type="text"],.contact-wrap input[type="email"],.contact-wrap textarea{
    border-radius: 0 !important;
}



/**navigation**/
.fusion-main-menu .current_page_item > a{
    color: #166CB7 !important;
}
.fusion-main-menu .current-menu-ancestor > a{
    color: #166CB7 !important;
}
.fusion-main-menu .current_page_item > a:after{
    border-color: #166cb7 !important;
}




/**Footer**/
 .fusion-footer a{
    color: #fff !important;
    text-transform: capitalize;
 }
  .fusion-footer a:hover span,.fusion-footer a:hover{
    color: #0098D2 !important;
  }

.fusion-footer p, .fusion-footer a{
    font-size: 15px;
    
}
.fusion-footer p{
    margin-top: 0 !important;
    line-height: 1.4;
}

/**Image with text icon**/
.image-left .fusion-image-element{
    display: flex;
    align-items: center;
} 
.image-left .fusion-image-element .awb-imageframe-caption-container{
    margin-left: 20px;
}


/**image close to edge**/
.section-has-right-img:after{
    content: "";
    width: 40%;
    height: 100%;
    position: absolute;
    right: 0;
    left: auto;
    z-index: 2;
    background: inherit;
    background-size: cover;
    background-position: top center;
}
.section-has-right-img:before{
    background-color: inherit;
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
}

@media(max-width:640px){
    .section-has-right-img{
        flex-direction: column;
    }
    .section-has-right-img:after{
        width: 100%;
        height: 300px;
        display: block;
        position: initial;
    }
}

/**Buttons**/
.btn-white{
   background: #fff !important;
}
    .btn-white .fusion-button-text{
        color: #333 !important;
    }

    .btn-white:after{
        content: "";
        height: 20px;
        width: 20px;
         background: url(img/black_arrow.svg) center no-repeat;
        margin-left: 10px;
    }
.blue_btn{
    background: #1374BC !important;
}
    .blue_btn:after{
        content: "";
        height: 20px;
        width: 20px;
         background: url(img/white_arrow.svg) center no-repeat;
        margin-left: 10px;
    }

.grey_btn{
    background: #F2F5F8 !important;
}
    .grey_btn .fusion-button-text{
        color: #333 !important;
    }

    .grey_btn:after{
        content: "";
        height: 20px;
        width: 20px;
         background: url(img/black_arrow.svg) center no-repeat;
        margin-left: 10px;
    }

.simple_btn{
    padding-left: 0 !important;
    padding-right: 0  !important;
    background: none !important;
}
    .simple_btn .fusion-button-text{
        color: #1374BC !important;
    }
    .simple_btn:after{
        content: "";
        height: 20px;
        width: 20px;
         background: url(img/blue_arrow.svg) center no-repeat;
        margin-left: 10px;
    }
    
.fusion-button-default-span span{
    transition: all 0.5s ease;
}
.fusion-button-default-span:hover span{
    margin-right: 8px;
}
.single_add_to_cart_button{
    display: block;
    width: 100%;
    text-align: left !important;
    justify-content: space-between;
}
.single_add_to_cart_button:after{
    float: right;
    content: "";
    height: 20px;
    width: 20px;
    background: url(img/white_arrow.svg) center no-repeat;
}


/**arrows**/
.heading-with-arrow:before {
    content: "";
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 10px solid #166CB7;
    display: block;
    margin-bottom: 15px;
}
.list-p p:before {
    content: "";
    content: "";
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #0098d2;
    display: inline-block;
    margin-right: 15px;
}
.multi-line p{
    position: relative;
    padding-left: 25px;
}
.multi-line p:before{
    position: absolute;
    left: 0;
    top: 10px;
}


/**banner**/
@media(max-width:640px){
    .home-banner{

    }
}
@media(max-width:1035px){
.banner-has-clip .fusion-builder-row {
    align-content: flex-start !important;
}
}



/**BOX**/
.box-hovered:hover .fusion-column-wrapper{
   background: #e4e9ed !important;
}
.box-hovered:hover h4{
    color: #166CB7 !important;
}
.list-hover .fusion-builder-row{
    transition: all 0.5s ease;
}
.list-hover:hover .fusion-builder-row{
    padding-left:20px !important;
}
.list-hover:hover .xxl-p p{
    color: #166CB7;
}
.list-hover:hover img{
    filter: brightness(0) saturate(100%) invert(34%) sepia(89%) saturate(1120%) hue-rotate(177deg) brightness(88%) contrast(91%);
}



/**NEWS**/
.fusion-load-more-button{
    align-items: center;
    width: auto !important;
    margin: 4rem auto 0;
    padding-left: 22px;
    padding-right: 22px;
    background: #F2F5F8;
    text-transform: capitalize !important;
    font-weight: 300 !important;
    line-height: -3;
    display: flex !important;
}
.fusion-load-more-button:hover{
    color: #333333 !important;
    background: #F2F5F8 !important;
}
.fusion-load-more-button:after{
        content: "";
        height: 20px;
        width: 20px;
         background: url(img/black_arrow.svg) center no-repeat;
        margin-left: 10px;
        transition: all 0.5s ease;
    }
.fusion-load-more-button:hover:after{
    margin-left: 15px;
}
.single-post #main{
    padding-bottom: 128px;
}
.single-post .fusion-post-title-meta-wrap h1{
    font-size: 90px !important;
    font-family: 'Abel' !important;
    line-height: 1 !important;


}

@media(max-width:1024px){
    .single-post #main{
        padding-bottom:90px;
    }
}
@media(max-width:1024px){
    .single-post #main{
        padding-bottom:60px;
    }
}


/**Typography**/
.xxl-p p{
    font-size: 40px !important;
    line-height: 1.5;
}
.xl-p p{
    font-size: 36px !important;
    line-height: 1.5;
}
.larger-p p{
    font-size: 32px !important;
}
.large-p p{
     font-size: 22px !important;
     line-height: 1.5;
}
.medium-p p{
   font-size: 20px !important;
   line-height: 1.4;
}
.fusion-text p{
    line-height: 1.4;
}
.list-p p{
     font-size: 24px !important;
     line-height: 1.5;
}

@media(max-width:1024px){
   .fusion-title h1,
   .single-post .fusion-post-title-meta-wrap h1{
       font-size: 55px  !important; 
    }
    .fusion-title h2{
       font-size: 48px !important;
    }
    .fusion-title h3{
       font-size: 35px !important;
    }
    .fusion-title h4{
       font-size: 28px !important;
    }
    .fusion-title h5{
       font-size: 22px !important;
    }
    .xxl-p p{
        font-size: 32px !important;
    }
}

@media(max-width:640px){
    .fusion-title h1,
    .single-post .fusion-post-title-meta-wrap h1{
       font-size: 44px  !important; 
    }
    .fusion-title h2{
       font-size: 35px !important;
    }
    .fusion-title h3{
       font-size: 30px !important;
    }
    .fusion-title h4{
       font-size: 25px !important;
    }
    .fusion-title h5{
       font-size: 22px !important;
    }
    .xl-p p{
        font-size: 26px !important;
    }
    .xxl-p p{
        font-size: 28px !important;
    }
}




/**Global**/
@media(max-width:1540px){
    br{
        display: none;
    }
}

@media(max-width:1035px){
  .fusion-header .fusion-menu li{
      padding-right:25px !important;
  }
  .fusion-logo{
    width: 200px;
    margin-top: 25px !important;
  }
  .fusion-main-menu-search{
      padding-left: 0;
   }
}
@media(max-width:1024px){
   .fusion-logo{
    width: 200px !important;
    margin-top: 22px;
  }
}
@media(max-width:640px){
    .quote{
        font-size: 30px  !important;
    }
}