/* CSS Document */
.toggle,
[id^=drop] {
  display: none;
}

/* Giving a background-color to the nav container. */
nav { 
  width: 90%;
  height: 70px;
  margin:0 auto;
  padding: 0;
  position: fixed;
  z-index: 10;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  background: #FFF;
  opacity: 0.9;
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
  content:"";
  display:block;
  clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
  float: right;
  padding:0 15px 0 0;
  margin:0;
  list-style: none;
  position: relative;
  }
.menu {width: var(--container);}
/* Positioning the navigation items inline */
nav ul li {
  margin: 0px;
  display:inline-block;
  float: left;
  background: none;
  /*border-right:1px solid #da3f20;*/
  }
nav ul ul li {
  border:none;
}
/* Styling the links */
nav a {
  display:block;
  padding: 25px 8px 19px 8px;  
  color:#111;
  font-size:16px;
  font-weight: 600;
  text-decoration:none;
  cursor: pointer;
  text-transform: uppercase;
}

nav ul li a img {
  padding: 0;
  margin: -15px 0 -10px 0;
  padding: 1px 0 0 25px;
  height:auto;
  /*border-right: 2px solid #222;*/
}
nav ul ul li { }
nav ul ul li a { color: #222; line-height: 1.2; padding: 8px 10px; margin-top:0; }
nav ul ul li a:hover {color: var(--red);}

nav ul li ul li:hover { }

/* Background color change on Hover */
nav ul li a:hover { 
  /*background-color: none; */
  color: var(--red);
  transition: .5s;
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
  background: #FFF;
  display: none;
  position: absolute; 
  /* has to be the same number as the "line-height" of "nav a" */
  top: 70px; 
  z-index: 10;
  width: auto;
  box-shadow: 0px 5px 10px #333;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  overflow: hidden;
}
  
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
  display:inherit;
}
  
/* Fisrt Tier Dropdown */
nav ul ul li {
  float:none;
  display:list-item;
  position: relative;
}

/* Second, Third and more Tiers 
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
  position: relative;
  top:-60px;
  /* has to be the same number as the "width" of "nav ul ul li" */ 
  left:170px; 
}

/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content: " \f107"; font-family:FontAwesome; }
li > a:only-child:after { content: ''; }

nav li a.current-menu {
  color:#333;
}

.stiky {
  position: -webkit-sticky;
  position: sticky;
  z-index: 100;
  top: 0px;
}

.inline {
  display: inline;
}

.logom {
  width: 240px;
  height: 85px;
  float: left;
  display: block;
  overflow: hidden;
}
.logom img {height: 80px; 
  margin-top:-20px; 
  
}

.hidemobile {margin-right: 25px;}

/* Media Queries
--------------------------------------------- */

@media all and (max-width : 600px) {
  nav {opacity: 1;}
  .stiky {
  top: 0px;
  height: 60px;
  width: 100%;
  background: #FFF;
  }

  .logom {
    display: block;
    padding-top: 20px;
    width: 100%;
    text-align: center;
    height: 60px;
  }
  .logom img {
    width: auto;
    height: 60px;
    position: absolute;
    left: 10px;
    z-index: 1000;
  }

  nav {
    margin: 0 auto;
  }
  nav a {
    padding: 8px 10px; 
    color: #222; 
    font-size: 20px; 
    font-weight: 400; 
    text-transform: capitalize;
  }

  /* Hide the navigation menu by default */
  /* Also hide the  */
  .toggle + a{
    display: block;/**/
  }
  .menu {
    display: none;
  }

  /* Stylinf the toggle lable */
  .toggle {
    display: block;
    /*background-color: #254441;*/
    padding:8px 20px;  
    color:#222;
    font-size:17px;
    text-decoration:none;
    border:none;
    float: right;
    cursor: pointer;
    position: absolute;
    right: 5px;
  }
  .toggle-menu {
    display: block;
    /*background-color: #254441;*/
    padding: 18px 20px;  
    color: var(--dark);
    font-size:24px;
    text-decoration:none;
    border:none;
    float: right;
    right: 10px;
    cursor: pointer;
    position: fixed;
    top: -20px;
    z-index: 1001;
    font-weight: 100;
  }

  .toggle-menu:after {
    content: " \f037";font-family:FontAwesome; 
  }

  .toggle:hover {
    /*background-color: #000000;*/
  }

  /* Display Dropdown when clicked on Parent Lable */
  [id^=drop]:checked + ul {
    display: block;
    overflow: auto;
  }

  [id^=drop]:checked + ul.menu {
    display: block;
    position: fixed;
    width: 100vw;
    height: 100vh;
    overflow: scroll;
    padding-top:60px;
    background: #FFF;
    left: 0;
  }
  li > .toggle:after { content: " \f107";font-family:FontAwesome; }
  li > a:after { content: "";}

  /* Change menu item's width to 100% */
  nav ul li {
    display: block;
    width: 100%;
    background: #FFF;
    float: left;
  }

  nav ul li:hover {
    
  }

  nav ul ul .toggle,
  nav ul ul a {
    padding: 0 40px;
  }

  nav ul ul ul a {
    padding: 0 80px;
  }
/*
  nav ul li a:hover,
  nav ul ul ul a {
    background: #333;
  }
  nav .logom a:hover{
    background: none;
  }
  */
  nav ul li ul li .toggle,
  nav ul ul a,
  nav ul ul ul a{
    padding:5px 20px;  
    color:#222;
    font-size:16px; 
  }
  
  nav ul li a:hover { 
    background-color: #ccc; 
  }
  
  nav ul li ul li .toggle,
  nav ul ul a {
    border-bottom: 1px dotted #efefef;
  }
  nav ul ul li a:before {
    content:'- ';
    padding-left: 10px;
  }

  /* Hide Dropdowns by Default */
  nav ul ul {
    float: none;
    position:static;
    color: #222;
    /* has to be the same number as the "line-height" of "nav a" */
  }
    
  /* Fisrt Tier Dropdown */
  nav ul ul li {
    display: block;
    width: 100%;
  }

  nav ul ul ul li {
    position: static;
    /* has to be the same number as the "width" of "nav ul ul li" */ 

  }
}

@media all and (max-width : 480px) {

  nav ul li {
    display:block;
    width: 100%;
  }

}

.search_b {
  float:left;
  width: 20%;
  z-index: 3;
  width: auto;
  height: 90px;
  padding:30px 15px;
  border-right: 1px solid #ccc;
  box-sizing: border-box;
}

.searchh {
  display: none;
  position :relative;
  top: -32px;
  float:right;
  right:10px;
  z-index: 2;
  width: 360px;
  height: 0%;
  margin: auto;
  transition: height 500ms;
}

.search_b:hover + .searchh {
  display: block;
  position: absolute;
  border-top: none;
  top: 90px;
  height: 20px;
  z-index: 1000;
}

.searchh:hover {
  display: block;
  position: absolute;
  top: 90px;
  height: 20px;
  z-index: 1000;
  background: #efefef;
}
.search_b:hover + .searchh input,
.searchh:hover input {
  height:25px; 
  padding:5px; 
  width:100%; 
  margin:0; 
  font-size: 14px; 
  border-radius: 5px;
}

@media all and (max-width : 768px) {
  .search_b {
  float:right;
  right: 5px;
  position: fixed;
  width: 20%;
  z-index: 1000;
  width: auto;
  height: 40px;
  padding:10px 15px;
  border-right:none;
}
.searchh {
  display: none;
  position :fixed;
  top: -32px;
  float:right;
  right: auto;
  z-index: 2;
  width: 96%;
  height: 0%;
  margin: auto;
  transition: height 500ms;
}

.search_b:hover + .searchh input,
.searchh:hover input {
  position: fixed;
  top: 60px;
  left: 1%;
  height:25px; 
  padding:5px; 
  width:94%; 
  margin:0; 
  font-size: 14px; 
  border-radius: 5px;
}
}
