:root{
  --orange : #FFAA23;
  --red : #FE6150;
  --blue : #124E70;
  --light-blue : #1BC0C6;
  --gray : #DFE0E5;
  --white : #fff;
  --main-font: 'El Messiri', sans-serif;
  --main-font2: 'Tajawal', sans-serif;
}
body{
  transition: all 0.5s;

}
@font-face {
font-family: testfont;
src: url(../fonts/ArbFONTS-Montserrat-Arabic-Regular.ttf);
}
@font-face {
font-family: testfont2;
src: url(../fonts/ArbFONTS-Montserrat-Arabic-Light.ttf);
}
@font-face {
  font-family: testfont4;
  src: url(../fonts/ArbFONTS-Montserrat-Arabic-ExtraLight.ttf);
  }
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.headernew{
  direction: rtl;
  background-color: var(--white);

}
.logo{
  width : 125px;
  height : auto;
  margin-right: 5vh;
}
@media only screen and (max-width : 850px){
  .logo{
    /* margin-right: 2vh; */
    margin: 0;
    margin-top : 1%;
  }
}
.wrapper{
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: var(--blue);
clip-path: circle(0px at calc(5% - 0px) 15px);
transition: all 0.3s ease-in-out;
z-index: 10000;

}
#active:checked ~ .wrapper{
clip-path: circle(75%);
}
.menu-btn{
position: fixed; /*abs*/
z-index: 10001;
/* right: 20px; */
left: 20px;
top: 0px;
height: 50px;
width: 50px;
text-align: center;
line-height: 0px;
border-radius: 50%;
font-size: 20px;
color: var(--blue);
cursor: pointer;
transition: all 0.3s ease-in-out;
}
.desktop-nav{
display: none;
}  
.desktop-link{
text-decoration: none;
}  
.desktop-tamweel-container{
display: none;
}
@media only screen and (min-width:  1200px) {
 .menu-btn{
          display:none;
  }
  .desktop-nav{
    display: block;
    position: fixed;
    height: max-content;
    top: 2.5vh;
    right: 30vh;
    z-index: 5;
    text-align: center;
    margin: auto;
  }
  .desktop-tamweel-container{
    display: block;
    position: fixed;
    top: 2.5vh;
    left: 5vh;
    text-align: left;
    z-index: 5;
  }
  /* *********************************** */
    #search {
      margin-left : 20px;
      font-size: 18px;
      padding: 5px;
      height: 35px;
      width: 0;
      display: none;
      border: 0;
      border-bottom: 1px solid var(--blue);
      outline: none;
      background-color : transparent;
      /*border-radius:  5px 5px 0 0;*/
      color: var(--blue);
      transition: width 0.5s;
    }
    #search-icon{
      cursor: pointer;
    }
    #close-search-icon{
      display: none;
      cursor: pointer;
    }
    #brands {
      text-align: right;
      position: absolute;
      background-color: white;
      border: 1px solid #D9D9D9;
      /*border-radius: 0 0 5px 5px;*/
      border-top: none;
      width: 350px;
      padding: 0;
      max-height: 10rem;
      overflow-y: auto
    }
    
    #brands option {
      background-color: white;
      padding: 4px 10px;
      color: var(--blue);
      margin-bottom: 1px;
      font-size: 18px;
      cursor: pointer;
    }
    
    #brands option:hover,  .active{
      background-color: #f5f5f5;
      color: var(--blue);
    }
  /* *********************************** */
  .search-icon{
    width: 25px;
    height: 25px;
    margin-left: 25px;
  }
  .desktop-tamweel{
    color: var(--blue);
    text-decoration: none;
    font-size: 2.5vh;
    padding-top: 0;
    padding-bottom: 0;
    border: 3px solid;
    border-radius: 0;    
    font-family: testfont;
    transition: 0.25s all;
  }
  .desktop-company-tamweel{
    color: var(--light-blue);
  }
  .desktop-tamweel:hover{
    color: var(--orange);
    border-color: var(--orange);
  }
  .user-image{
    width: 25px;
    height: 25px;
    display: inline-block;
    padding: 1px;
    margin-left: -20px;
    margin-right: 10px;
    cursor: pointer;
    position : relative;
  }
  .user-image-line{
    position : absolute;
   /* height : 12px;
    border: none; */
    border-top: 3px solid var(--blue);
    /*bottom : -17.5px;*/
    top : 90% ;
    left : -17.5px;
    width : 20px;
    background-color : var(--blue);
    display : none;
  }
  .user-image-line-o{
    border-top: 3px solid var(--orange);
    background-color : var(--orange);
  }  
  .user-submenu-container{
    display: none;
  }
  .user-submenu{
    border: 1px solid #D9D9D9;
    list-style: none;
    transform: translate(-20%, 10%);
    text-align: center;
    margin : 0 ;
    width : 90%;
    background-color : var(--white);
    font-family : testfont;
  }
  .user-submenu li{
    margin: 0 0;
    transition: all 0.5s;
    width: 120%;
    transition: all 0.5s;
    padding-top : 5px;
    padding-bottom : 5px;
  }

  .user-sublink{
    text-decoration: none;
    color: var(--blue);
    width: 100%;
  }
  .user-login-sublink{
    color: var(--light-blue);
  }
  .user-sublink:hover {
    color: var(--blue);
  }
  .user-login-sublink:hover{
    color: var(--light-blue);
  }
  .user-submenu li:hover{
    background-color: #f5f5f5;/*#f5f5f5;*/
  }
  .user-sublink-close{
    display: flex;
    float: left;
    margin-left: -10%;
    cursor: pointer;
  }
  .user-sublink-close-icon{
    width: 15px;
    height: 15px;
  }


  .desktop-list{
    list-style: none;
  }
  .desktop-list-item{
    display: inline-block;
    margin: auto 2vh;
    color: var(--blue);
    font-family: testfont;
    font-size: 20px;
    padding-top: 0;
    /* font-weight: bold; */
  }
  .wrapper{
         display :none;
  }
}
@media only screen and (min-width:  1400px) {
    .desktop-tamweel-container{
      top: 2.5vh;
        left: 2.5vh;
    }
    .desktop-tamweel{
          font-size : 2.25vh;
      }  
    .desktop-nav{
      top: 2.5vh;
      right : 25vh;
    }
      .user-submenu{
        transform: translate(-15%, 10%);
      }    
      .user-submenu li{
        width: 116%;
      }      
      .user-image{
        margin-left: 0px;
        margin-right: 15px;
        cursor: pointer;
      }
      .user-image-line{
        left : 2.5px;
      }      
}
#active:checked ~ .menu-btn{
color: var(--blue);
}
#active:checked ~ .menu-btn i:before{
content: "\f00d";
}
.wrapper ul{
position: absolute;
top: 50%;
left: 50%;
width: 100%;
transform: translate(-50%, -50%);
list-style: none;
text-align: center;
padding: 0;
}
.wrapper ul li{
margin: 35px auto;
opacity: 0;
}
#active:checked ~ .wrapper ul li{
animation: fade 0.5s linear forwards;
}
#active:checked ~ .wrapper ul li:nth-child(2){
animation-delay: 0.25s;
}
#active:checked ~ .wrapper ul li:nth-child(3){
animation-delay: 0.5s;
}
#active:checked ~ .wrapper ul li:nth-child(4){
animation-delay: 0.75s;
}
#active:checked ~ .wrapper ul li:nth-child(5){
animation-delay: 1s;
}
#active:checked ~ .wrapper ul li:nth-child(6){
  animation-delay: 1.25s;
  }
.wrapper ul li a{
  color: none;
  text-decoration: none;
  padding: 5px 30px;
  color: var(--white);
  border-radius: 50px;
  background: transparent;
  position: relative;
  line-height: 50px;
  transition: all 0.3s ease;
  font-family: testfont2;
  text-transform: uppercase;
}
.wrapper ul li #menu-home{
color: var(--white);
}
.wrapper ul li a:hover:after{
transform: scaleY(1);
}
.wrapper ul li a:hover{
color: var(--white);
}
/*input[type="checkbox"]{
display: none;
}*/
.headernew-checkbox{
  display: none;
}
@media only screen and (max-width:  900px) {
  .wrapper ul{
  left: 40%;
  top: 50%;
  transform: translate( -40% , -50%);
  }  
  .menu-btn{
  top: 0;
  }
  .wrapper ul li{
  margin: 15px 20px 0;
  }
  .wrapper ul li a{
  padding: 5px 0;
  }
  .wrapper ul li a{
  font-size: 4vh;
  }
}
@keyframes fade {
0%{
/* transform: translateX(1000px); */
transform: scale(0);
opacity: 0;
}
100%{
transform: scale(1);
opacity: 1;
/* transform: translateX(0); */
}
}

/* ********************************* */
#mobile-search {
  margin-left : 20px;
  font-size: 18px;
  padding: 5px;
  height: 35px;
  border: 0;
  border: 1px solid var(--white);
  border-radius : 50px;
  outline: none;
  background-color : var(--white);
  color: var(--white);
  transition: width 0.5s;
}
#mobile-search-icon{
  cursor: pointer;
}
#mobile-close-search-icon{
  display: none;
  cursor: pointer;
}
#mobile-brands {
  text-align: right;
  position: absolute;
  background-color: white;
  border: 1px solid #D9D9D9;
  /*border-radius: 0 0 5px 5px;*/
  border-top: none;
  width: 350px;
  padding: 0;
  max-height: 10rem;
  overflow-y: scroll
}

#mobile-brands option {
  padding: 4px 10px;
  color: var(--blue);
  margin-bottom: 1px;
  font-size: 18px;
  cursor: pointer;
}

#mobile-brands option:hover,  .active{
  color: var(--blue);
}
.mobile-search-icon{
width: 25px;
height: 25px;
margin-left: 25px;
}
/* ********************************* */


.ham {
cursor: pointer;
-webkit-tap-highlight-color: transparent;
transition: transform 400ms;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
margin-left: -10px;
margin-top: 1%;
width: 125%;

}
.hamRotate.active {
transform: rotate(45deg);
}
.hamRotate180.active {
transform: rotate(180deg);
}
.line {
fill:none;
transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
stroke:var(--blue);
stroke-width:5.5;
stroke-linecap:round;
}

.ham6 .top {
stroke-dasharray: 40 172;
animation: top 3s linear 0s infinite forwards;
}
.ham6 .middle {
stroke-dasharray: 40 111;
animation: middle 3s linear 0s infinite forwards;
}
.ham6 .bottom {
stroke-dasharray: 40 172;
animation: bottom 3s linear 0s infinite forwards;
}
.ham6.active .top {
stroke-dashoffset: -132px;
}
.ham6.active .middle {
stroke-dashoffset: -71px;
}
.ham6.active .bottom {
stroke-dashoffset: -132px;
}

.ham6.active .line{
stroke:var(--white);
} 

/* width */
::-webkit-scrollbar {
width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: var(--blue);
border-radius: 50px;

}
.navbar-container{
    z-index :5;
  position: fixed;
  background-color: transparent ; /*var(--white);*/
  width: 100%;
  padding-top: 0%;
  padding-left: 4%;
  padding-bottom: 0%;
  top : 0;
  transition : 0.5s all;

}
.mobile-user-image{
  position: fixed;
  top: 2%;
  right: 4%;
  width: 30px;
  z-index: 1000;

}
.mobile-user-submenu-container{
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #F6F6F6;
  clip-path: circle(0px at calc(95% - 0px) 15px);
  transition: all 0.3s ease-in-out;
  z-index: 10002;
}
.mobile-close-submenu{
  position: absolute;
  right: 5%;
  top: 2.5%;
  font-size: 40px;
  color: var(--white);
}
.mobile-user-submenu-container .user-submenu{
    position: absolute;
    transform: translate(-48%, -50%);
    top: 50%;
    left: 48%;
    list-style: none;
    text-align: center;
    color: var(--white);
    padding: 0;
}
.mobile-user-submenu-container .user-submenu .user-sublink{
  color: var(--blue);
  text-decoration: none;
  position: relative;
  font-size: 35px;
  font-family: testfont4;
}
.mobile-user-submenu-container .user-submenu .user-login-sublink{
  color: #5CBFC7;
}
.mobile-user-submenu-container .user-submenu .user-register-sublink{
  color: var(--blue);
}
.mobile-user-submenu-container .user-submenu .user-sublink li{
  margin: 35px 0;
}
@media only screen and (min-width:  1200px) {
  .mobile-user-image{
    display: none;
  }
}
@media only screen and (min-width:  1400px) {
.navbar-container{
padding-top: 0.5%;
top : 0;
}
}
@media only screen and (max-width: 850px) {
.navbar-container{
  background-color: var(--white); ; /*transparent*/
  text-align: center;
  padding-top: 0%;
  z-index: 50;
}

}
@media only screen
and (max-device-width : 375px)
and (-webkit-min-device-pixel-ratio: 2){
/*  .menu-btn{
display : none;
}
.wrapper{
display : none;
}*/
.navbar-container{
  padding-bottom: 2.5%;
}
}

