.navbar-style{
    background-color: white;
    z-index: 999999;
    transition: all 0.7s;
}
.navbar-style.active{
    box-shadow: 0 0 50px -25px #000;
    transition: all 0.7s;
    position: fixed;
    top: 0;
    width: 100%;
    animation: slide-down 0.7s;
    opacity: 1
}
@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.dropdown{
    position: unset;
}
.flex-100{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.dropdown-menu{
    border-radius: 0;
    border: none;
    left: unset;
    right: -36px;
    top: 95%;
    border-top: 1px solid #aa3000;
    min-width: 260px;
    background-color: white;
    box-shadow: 0 0 2px rgb(0 0 0 / 10%);
    display: none;
    padding: 20px;
}
.dropdown-menu.about{
    right: 43px !important;
}
.dropdown-menu.archive {
    right: 319px !important;
}
.dropdown-menu.active{
    width: 250px;
    top: 134%;
    display: block;
    margin-top: 14px;
}
.dropdown-item {
    font-family: "Dubai-Regular", sans-serif;
    font-size: 17px;
    display: block;
    padding: 9px;
    width: 100%;
    clear: both;
    font-weight: 400;
    color: #1d4652;
    white-space: nowrap;
    border: 0;
    background: none;
    text-align: right;
    border-radius: 4px;
}
.dropdown-item:hover {
    background-color: rgb(170 48 0);
    color: rgb(226 175 2)!important;
}
.main-flex{
    display: flex;
    justify-content: end;
    align-items: center;
    width: 100%;
    height: 100%;
}
.logo-div{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.main-logo{
    width: 100%;
}
.register-link,.register-link:hover{
    font-family: "Dubai-Regular",sans-serif;
    font-size: 16px;
    background-color: rgb(226 175 2);
    color: rgb(29 70 82);
    display: block;
    width: 93px;
    height: 32px;
    border-radius: 10px;
    padding-top: 5px;
    text-align: center;
}
.switch-lang-menu ,.switch-lang-menu:hover{
    font-family: "Dubai-Bold",sans-serif;
    font-weight: bold;
    font-size: 17px;
    background-color: #aa3000;
    color: white;
    padding-top: 3px;
    display: flex;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
}
.search-icon{font-size: 16px;}
.menu-nav-link{
    font-family: "Dubai-Regular",sans-serif;
    font-size: 17px;
    color: #1d4652;
    position: relative;
    padding-right: 0!important;
}
.menu-nav-link.active{
    color: #aa3000 !important;
}
.menu-nav-link:hover{
    color: rgb(226 175 2) !important;
}
.menu-nav-link:after{
    content: "";
    display: block;
    width: 0;
    height: 3px;
    background-color: #aa3000;
    position: absolute;
    right: 0;
    bottom: 3px;
    transition: 0.4s;
}
.hover-link{
    position: relative;
    display: inline-block;
}
.hover-link:after{
    content: "";
    display: block;
    width: 0;
    height: 3px;
    background-color: #aa3000;
    position: absolute;
    right: 0;
    bottom: -25px;
    transition: 0.4s;
}
.menu-nav-link.active:after,.hover-link:hover:after{
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    transition: 0.4s;
}
.search-icon-div{
    display: inline-block;
    position: absolute;
    top: 14px;
    right: 13px;
    width: 100%;
}
.search-input-div{
    opacity: 0;
    /*transform: scaleY(0);*/
    transition: all .4s ease 0s;
    position: relative;
    bottom: -10px;
    width: 0;
}
.search-input-div.active{
    /*transform: scaleY(1);*/
    transition: all .4s ease 0s;
    opacity: 1;
    right: 25px;
    bottom: 0;
    width: 100%;
}
.search-input,.search-input:focus{
    font-family: "Dubai-Regular",sans-serif;
    font-size: 16px;
    color: #505050;
    border: 1px solid rgb(234 237 239);
    background: rgb(255 255 255);
    border-radius: 5px;
    padding: 10px 40px 10px 20px;
    width: 100%;
    outline: none;
}
.search-input::placeholder{
    text-align: left !important;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}
.bars-icon{
    font-size:25px;
    cursor:pointer;
    position: relative;
    top: 1px;
    float: right;
    display: none;
}
.nav-flex{
    display: flex !important;
}
.back-div{
    width: 100%;
    height: 80px;
}
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 99999;
    top: 0;
    right: 0;
    background-color: rgb(29 70 82);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 10px;
    width: 100%;
    text-align: center;
}

.overlay a {
    font-family: "Dubai-Regular",sans-serif;
    padding: 8px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: block;
    transition: 0.3s;
    text-align: right;
}

.overlay a:hover, .overlay a:focus {
    color: white;
}

.overlay .closebtn {
    position: absolute;
    top: 12px;
    right: 8px;
    left: unset;
    font-size: 24px;
    background: rgb(255 255 255);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0!important;
}
.back-btn{
    width: 15px;
}
.ar-span{
    position: relative;
    bottom: 2px;
}
.desktop-hide{
    display: none;
}
.team-span:hover{
    display: block;
    width: 75%;
    white-space: normal;
}
@media screen and (max-height: 450px) {
    .bars-icon{
        display: none;
    }
    .overlay a {font-size: 18px;}
    .overlay .closebtn {
        font-size: 21px;
        top: 15px;
        left: 5px;
    }
}

@media (max-width:900px){
    .row-direction{
        flex-direction: row-reverse;
    }
    .web-header{
        display: none;
    }
    .bars-icon{
        display: block;
    }
    .lang-social-div{
        justify-content: center;
    }
    .bars-icon{
        color:  black;
    }
    .header-title{
        font-size: 16px;
    }
    .right-menu-arrow{
        color: black;
    }

    .switch-lang-menu, .switch-lang-menu:hover {
        font-size: 16px;
        background-color: #aa3000;
        color: white;
        padding-top: 3px;
        display: flex !important;
        width: 30px;
        height: 30px;
        justify-content: center;
        align-items: center;
    }
    .main-flex{
        justify-content: start;
}
    .search-collapse-div{
        display: block;
    }
    .main-logo-div{
        width: 50%;
        margin: auto;
    }
    .mobile-hide{
        display: none !important;
    }
    .desktop-hide{
        display: block;
    }
    .overlay a{
        text-align: right;
        font-size: 16px;
        color: rgb(255 255 255) !important;
        display: block;
    }
    .dropdown-menu{
        box-shadow: none;
        border-radius: 5px;
        border: none;
        left: unset;
        right: 0;
        background-color: rgb(46 64 105) !important;
        margin-top: 16px;
        margin-bottom: 12px;
    }
    .main-logo{
        width: 100%;
    }
    .icon-bars-div{
        position: relative;
        top: 4px;
    }
    .nav-menu-link,.nav-menu-content{
        padding: 5px 15px;
    }
    .nav-menu-link:not(:last-child){
        border-bottom: 1px solid white;
    }
    .nav-menu-content{
        border-top: 1px solid white;
    }
    .register-link,.register-link:hover{
        color: rgb(29 70 82) !important;
        display: flex !important;
        align-items: center;
    }
    .dropdown{position: relative;}
    .dropdown-arrow:after{
        content: "";
        display: inline-block;
        border: solid rgb(255 255 255);
        border-width: 0 2px 2px 0;
        padding: 2px;
        position: absolute;
        top: 22px;
        left: 13px;
        transform: rotate(45deg);
    }
    .dropdown-arrow.active:after{
        transform: rotate(225deg);
    }
    .overlay::-webkit-scrollbar {
        width: 0 !important
    }
    .overlay {
        -ms-overflow-style: none !important;

    }
    .overlay{
        -ms-overflow-style: none;
    }
    .flex-100{display:none;}
    .container-menu-div{
        justify-content: end !important;
    }
}
