/* **********************/
/* ****** Main menu******/
/* **********************/
header ul{

margin: 0;
padding: 0;
}
.color-header{
    top: -40px;
}
.color-header img{
    width: 70%!important;
}
header nav{
    padding: 0 0 12px;
    position: fixed;
    z-index: 1000;
    width: 100%;
    top: 0;
    transition: 0.5s ease-in-out;
    background-color: #fbfaf5;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}
header .menu{
    display: flex;
    justify-content: flex-end;
    list-style: none;
}
header .main-menu,
header .menu-main-container,
header .menu,
header .menu-item,
header .menu-item a{
    height: 100%;
}
header .menu li {position: relative;}
header .menu li a{
    padding: 15px;
    display: flex;
    color: #434544;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.2s ease-in;
    position: relative;
    align-items: center;
    
}
header .menu li a:hover{
   color: #3b6c67;
}
header .menu li a::after{
    position: absolute;
    content: "";
    width: 0%;
    left: 50%;
    right: 50%;
    height: 0px;
    bottom: -12px;
    transition: 0.5s;    
}
header .menu li:hover a::after{
    left: 0;
    width: 100%;
    right: 0;    
    background-color: #3b6c67;
    height: 2px;    
}
header .menu .current-menu-item >a{    
    font-weight: 700;
    color: #3b6c67;
}
.header-btn{height: 100%;display: flex;align-items: center;}
.main-menu-btn{
    border-radius: 50px;
    color: #fbfaf5;
    border: 2px solid #fbfaf5;
    padding: 10px 5px;
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    width: 100%;
}
.main-logo img{width: 80%;transition: 0.5s;vertical-align:middle;}
.mobile-menu-btn,.mobile-menu-side{display: none;}

.sub-menu a::after{
    display: none;
}
.header-list-info{
    display: flex;
    justify-content: center;
}
.top-contact-info ul{
    display: inline-flex;
    list-style: none;
}
.top-contact-info ul li{
    padding: 0 10px;
}
.top-contact-info ul li *{
    color: #fbfaf5;
    font-size: 12px;
    transition: 0.5s;
}
.top-contact-info ul li a:hover{
    color: #3d4044;
}
.top-contact-info{
    padding: 10px 0;
    background-color: #3b6c67;
}
header nav hr{margin:  0 0 15px;border:none;border-top: 1px solid #434544;}
@media screen and (min-width:993px){
    header .sub-menu{
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s, opacity 0.2s linear;
        position: absolute;
        padding-top: 30px;
        color: #333;
        top: 80%;
        list-style: none;
        width: 250px;
        box-shadow: 0px 9px 17px -16px rgba(61,61,61,0.6);
    }
    header li:hover  .sub-menu{
        visibility: visible;
        opacity: 1;
    }
    header .sub-menu li{
        background: #fbfaf5;
    }
    header .sub-menu-icon-mobile{display: none;}
}

@media screen and (max-width:992px){
    .menu-main-container{
        height: unset!important;
    }
    .menu-item-has-children{
        border-bottom: 1px solid #fbfaf5;
        border-top: 1px solid #fbfaf5;
    }
    .email-header{display: none;}
    header .header-btn,.main-menu{
        display: none;
    }
    .top-contact-info ul li a{font-size: 13px;}
    .main-logo img{width: 125px;}
    .mobile-menu-btn{
        display: inline-block;
        position: relative;
        z-index: 3000000;
    }
    .menu-btn-icon{
        display: inline-block;
        position: relative;
        width: 25px;
        height: 3px;
        background-color: #3b6c67;
        transition: 0.5s;
    }
    .menu-btn-icon::after{
        content: "";
        background-color: #3b6c67;
        position: absolute;
        width: 25px;
        height: 3px;
        top: -7px;
        transition: 0.5s;
    }
    .menu-btn-icon::before{
        content: "";
        background-color: #3b6c67;
        position: absolute;
        width: 25px;
        height: 3px;
        top: 7px;
        transition: 0.5s;
    }
    .opened-mobile-menu::after,.opened-mobile-menu::before{
        width: 15px;
    }
    .mobile-menu-container{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .mobile-menu-side{
        position: fixed;
        min-height: 100vh;
        padding: 40px 0;
        width: 100%;
        background: #232323f2;
        z-index: 100;
        top: 0;
        left: 100%;
        transition: 0.4s ease-out;
        display: flex;
        align-items: center;
    }
    .show-mobile-menu{
        left: 0;
        overflow: auto;
        height: 100%;
    }
    .mobile-menu-side .menu li a{
        font-size: 16px;
    }
    .mobile-menu-side *{color: #fbfaf5;}
    .mobile-menu-side .main-menu{
        display: block;
    }
    .mobile-menu-side .main-menu ul{
        display: block;
        height: 100%;
        width: 140%;
    }
    .mobile-menu-side .mobile-menu-btn{
        top: 7%;
        position: absolute;
        right: 5%;
    }
    .block-scroll-y{overflow-y: hidden;height: 100vh;}
    .sub-menu-icon-mobile{
        position: absolute;
        right: -10px;
        top: 18px;
        font-size: 14px;
        transition: 0.5s;
        display: none;
    }
    .reverce-icon{
        transform: rotateZ(180deg);
    }
    .mobile-menu-side .sub-menu{
        overflow: hidden;
        position: relative;
        box-shadow: none;
        transition: 0.6s linear;
        color: #333;
        list-style: none;
        display: block;
        transition: max-height 0.35s ease-out;
    }
    .mobile-menu-side .opened-sub-menu-mobile{
        max-height: 1000px;
        transition: max-height 0.35s ;
    }
    header .menu li a::after{
       display: none;
    }
    header .sub-menu a{
        font-size: 11px!important;
    }
    header .menu li{
        position: relative;
        width: 75%;
    }   
    header .menu li a{
        color: #fbfaf5;
    }
}
