﻿.trail-version{
    background-color: var(--gray);
    padding: 4px 0px;
    font-size: 8px;
    color: var(--white);
    text-align: center;
}
header {
    position: fixed;
    top: 0px;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    z-index: 10;
    box-shadow: 0 9px 18.5px -12px rgba(0, 0, 0, .1098039216);
}
.fixed-header-height{
    height: 90px;
}
.btn-login{
    display: none;
    transition: 1s;
}
.active-login .btn-login{
display: flex;
}
@media (max-width:1199px){
    .btn-login{
    display: flex !important;
}
}
.language-btn i {
    font-size: 18px;
}

.desktop-border {
    border-right: 1px solid #eee;
}

.desktop-border:lang(ar) {
    border-right: none;
    border-left: 1px solid #eee;
}

.navbar-toggler {
    display: block;
    border: none;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    transition: all 0.4s ease;
    border: 2px solid #000;
    border-radius: 4px;
}

.navbar-toggler:hover {
    opacity: 0.7;
}

.navbar-collapse {
    /* overflow-y: scroll; */
    /* display: none; */
}

.navbar-nav>li>a {
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 700;
    font-size: 14px;
    display: block;
    padding: 15px 0px;
    color: var(--blue);
    margin: 0.2rem 0;
    border-bottom: 1px solid #c9dff2;
    border-radius: 1px;
    position: relative;
    transition: all 0.4s ease;
}

.drop-icon {
    position: absolute;
    right: 0px;
    top: 48%;
    transform: translateY(-50%);
    font-size: 8px;
    color: inherit;
}

html:lang(ar) .drop-icon {
    right: auto;
    left: 0px;
}

.navbar-nav>li>a:hover {
    opacity: 0.7;
}

.sub-menu h4 {
    text-transform: capitalize;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.sub-menu ul li {
    text-transform: capitalize;
    padding: 0.2rem 0;
    margin: 0.2rem 0;
    font-size: 0.95rem;
}

.sub-menu ul li a {
    opacity: 0.8;
    transition: all 0.5s ease;
}

.sub-menu ul li a:hover {
    padding-left: 14px;
    opacity: 0.9;
}

.sub-menu {
    display: none;
}

.icon-menu {
    background-color: var(--gold);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;

}

.title-menu {
    margin-bottom: 20px;
}


.btn-close-menu-mobile {
    border: 0px;
    background-color: transparent;
    font-size: 18px;
    color: gray;
}
.ul-sub-links li a{
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px !important;
    display: block;
    font-size: 14px !important;
    /* border-bottom: 1px solid rgba(0,0,0,.2); */
}
.ul-sub-links li a:lang(ar){
        padding-left: 0px;
    padding-right: 20px;

}
.ul-sub-links li a::after{
  position: absolute;
  /* content: "\f111";
  font-family: "Font Awesome 7 Free"; */
  left: 0px;
  color: var(--gray);
  font-size: 8px;
  font-weight: bold;
  top: 4px;
}
.ul-sub-links li:lang(ar) a::after{
    left: auto;
    right: 0px;
}
/* ===============menu============ */
.ai-search {
    background-color: var(--light-blue);
    padding: 8px;
    border: 1px solid var(--blue);
    border-radius: 5px;
    min-width: 140px;
    font-size: 8px;
    cursor: pointer;
    font-weight: bold;
}

.ai-search i {
    font-size: 18px;
}



/* ==============ai search========== */

.search-div {
    position: fixed;
    z-index: 7;
    width: 100%;
    background-color: #fff;
    display: none;
    background: linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)), url(../images/banner/pattern-login.svg);
    background-repeat: no-repeat;
    background-position: left bottom;
    backdrop-filter: blur(10px);
    padding-bottom: 40px;
}

.btn-close-menu {
    border: 0px;
    background-color: transparent;
    font-size: 18px;
    color: gray;
}

.ai-search-inner {
    background-color: var(--light-blue);
    padding: 8px;
    border: 1px solid var(--purple);
    border-radius: 5px;
    font-size: 8px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    padding-left: 30px;
}

.html:lang(ar) .ai-search-inner {
    padding-left: 8px;
    padding-right: 30px;
}

.icon-search {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--purple);
    position: absolute;
    border-radius: 50%;
    font-size: 18px;
    color: #fff;

}

.icon-search-close {
    right: 8px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    position: absolute;
    border-radius: 50%;
    font-size: 18px;
    color: var(--purple);
    top: 8px;
    visibility: hidden;
    z-index: 3;

}

.icon-search-close:lang(ar) {
    right: auto;
    left: 8px;
}

.input-ui-search {
    background-color: transparent;
    width: 100%;
    border: none;
    padding: 6px;
    padding-left: 40px;
}

.input-ui-search:lang(ar) {
    padding-left: 5px;
    padding-right: 40px;
}

.mowhiba-cpt {
    background-image: url(../../images/ai-search.png);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 300px;
    position: relative;
    border-radius: 30px;
    margin-top: 5px;
    overflow: hidden;
}

.overlay-div {
    top: 0px;
    background: rgba(25, 81, 139, 1);
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(25, 81, 139, 1) 0%, rgba(25, 81, 139, 0) 100%);
    z-index: 1;

}

.content-cpt {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.btn-cpt-start {
    background-color: var(--gold);
    padding: 15px;
    font-size: 12px;
    border: none;
    position: absolute;
    bottom: 30px;
    width: calc(100% - 60px);
    left: 30px;
    color: #fff;
    border-radius: 20px;
}

.open-menu, .favourite-btn  {
    background-color: var(--light-blue);
    color: var(--blue);
    font-size: 14px;
    border-radius: 5px;
    padding: 10px;
    border: 1px solid var(--blue);
}


/* Media Queries */
@media screen and (min-width: 1400px) {
    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        border-bottom: 1px solid #ddd;
        padding: 0 5rem;
        position: relative;
    }

    .navbar-toggler {
        display: none;
    }

    .brand-and-icon {
        flex: 0 0 100px;
        border-bottom: none;
        padding: 0;
    }

    .navbar-collapse {
        display: block !important;
        overflow-y: hidden;
        flex: 1 0 auto;
    }

    .navbar-nav {
        flex-direction: row;
        display: flex;
        align-items: center;
        /* justify-content: center; */
    }

    .navbar-nav>li>a {
        border-bottom: none;
        margin: 0 5px;
        padding: 34px 15px;
        font-size: 14px;
        color: var(--gray);
    }

    .sub-menu {
      position: absolute;
      left: 0;
      width: 100%;
      background-color: rgba(240, 245, 249, 0.7);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    .navbar-nav>li:hover .sub-menu {
        display: grid !important;
        /* grid-template-columns: repeat(4, 1fr); */
        padding: 30px 0px;
    }

    .navbar-nav>li:hover .drop-icon i {
        transition: .3s;
        /* transform: rotate(180deg); */

    }

    .navbar-nav>li {
        border-bottom: 2px solid transparent;
        transition: border-bottom 0.4s ease;
    }

    .navbar-nav>li:hover {
        /* border-bottom-color: #000; */
    }

}

@media screen and (max-width: 1400px) {
    .desktop-border {
        border: none !important;
    }

    header {
        padding: 20px 0px;
    }

    .navbar-collapse {
        transition: .5s;
        top: 0px;
        position: fixed;
        padding-top: 70px;
        width: 350px;
        left: 0px;
        height: 100vh;
        z-index: 5;
        background:
            linear-gradient(rgba(240, 245, 249, .8), rgba(240, 245, 249, .8)),
            url("../../images/pattern-menu.svg");
        background-repeat: no-repeat;
        background-position: bottom left;
        backdrop-filter: blur(5px);
        box-shadow: 4px 10px var(--light-blue);
    }

    .navbar-collapse:lang(ar) {
        left: auto;
        right: 0px;

    }

    .hide-menu {
        left: -350px;
    }

    .hide-menu:lang(ar) {
        left: auto;
        right: -350px;
    }


    .header-mobile {
        position: absolute;
        top: 10px;
        width: calc(100% - 60px);
        padding-bottom: 10px;
        left: 30px;
    }

    .navbar-nav {
        overflow: auto;
        height: calc(100vh - 60px);
        padding: 0px 30px 20px 30px;
    }

    .title-menu {
        margin: 15px 0px;
    }

}

@media screen and (max-width: 768px) {
    .open-menu, .favourite-btn  {
        padding: 8px;
        font-size: 10px;
    }

    .ai-search {
        min-width: auto;
        padding: 6px;
    }

    .ai-search i {
        font-size: 14px;
    }

    .language-btn {
        background-color: var(--light-blue);
        color: var(--blue);
        font-size: 14px;
        border-radius: 5px;
        padding: 6px;
        border: 1px solid var(--blue);
    }

    .language-btn i {
        font-size: 14px;
    }
}
.sup-menu-link{
    font-weight: bold !important;
    color: #000 !important;
}