nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #126287;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 100;
    
    
  }
  nav .navbar{
    height: 100%;
    max-width: 1250px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    padding: 0 50px;
  }
  .navbar .logo a{
    font-size: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
  }
  .navbar .logo icon{
      margin-right: 5px;
      text-align: center;
      background: white;
      color: #126287;
      padding: 5px 10px;
      border: none;
      border-radius: 5px;
      font-size: 30px;
      width: 30px;
      height: 30px;
  }
  nav .navbar .nav-links{
    line-height: 70px;
    height: 100%;
  }
  nav .navbar .links{
    display: flex;
  }
  nav .navbar .links li{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    padding: 0 14px;
  }
  nav .navbar .links li a{
    height: 100%;
    text-decoration: none;
    white-space: nowrap;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s;
    display: inline-block;
    position: relative;
  }
  nav .navbar .links li a:hover{
      color: #C1FFD7;
  }
  nav .navbar .links li a::before {
    transition: 300ms;
    height: 5px;
    content: "";
    position: absolute;
    background-color: #C1FFD7;
  }
  .nav-link-fade-up::before {
      border-radius: 3px;
      border: none;
      width: 100%;
      bottom: 5px;
      opacity: 0;
      transition: 0.3s;
  }
  .nav-link-fade-up:hover::before {
    bottom: 10px;
      opacity: 1;
  }
  .selected-a-color{
      color: #C1FFD7;
  }
  /* ====================================================== */
  nav .navbar .links li .a-logout{
    height: 100%;
    text-decoration: none;
    white-space: nowrap;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s;
    display: inline-block;
    position: relative;
    font-weight: bold;
  }
  nav .navbar .links li .a-logout:hover{
      color: red;
  }
  nav .navbar .links li .a-logout::before {
    transition: 300ms;
    height: 5px;
    content: "";
    position: absolute;
    background-color: red;
  }
  .nav-link-fade-up2::before {
      border-radius: 3px;
      border: none;
    width: 100%;
    bottom: 5px;
    opacity: 0;
  }
  .nav-link-fade-up2:hover::before {
    bottom: 10px;
    opacity: 1;
  }
  /* ============================================================================= */
  .navbar .search-box{
    position: relative;
     height: 40px;
    width: 40px;
  }
  .navbar .search-box i{
    position: absolute;
    height: 100%;
    width: 100%;
    line-height: 40px;
    text-align: center;
    font-size: 22px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .navbar .search-box i:hover{
   
    color: orange;
    
  }
  .navbar .search-box .input-box{
    position: absolute;
    right: calc(100% - 40px);
    top: 80px;
    height: 60px;
    width: 300px;
    background: #126287;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
  }
  .navbar.showInput .search-box .input-box{
    top: 65px;
    opacity: 1;
    pointer-events: auto;
    background: #126287;
  }
  .search-box .input-box::before{
    content: '';
    position: relative;
    height: 20px;
    width: 20px;
    background: #126287;
    right: 10px;
    top: -6px;
    transform: rotate(45deg);
    
  }
  .search-box .input-box .content-search-box{
      width: 100%;
      height: 100%;
      margin: auto;
      position: absolute;
    display: flex;
    justify-content: center; 
    align-items: center; 
  }
  .search-box .input-box .content-search-box input{
    border-radius: 4px 0px 0px 4px;
    height: 36px;
    width: 245px;
    outline: none;
    padding: 0 15px;
    font-size: 16px;
    border: none;
  }
  .search-box .input-box .content-search-box button {
    border-radius: 0px 4px 4px 0px;
    height: 36px;
    width: 36px;
    outline: none;
    padding: 0 15px;
    line-height: 36px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: white;
  }
  .search-box .input-box .content-search-box button a {
    text-align: center;
    margin: auto;
    color: gray;
    font-size: 16px;
    padding: 10px;
  }
  .search-box .input-box .content-search-box button a:hover {
    color: green;
  }
  .navbar .nav-links .sidebar-logo{
    display: none;
  }
  .navbar .bx-menu{
    display: none;
  }
  
  
@media (max-width:920px) {
  nav .navbar{
    max-width: 100%;
    padding: 0 25px;
  }

  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 10px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 15px;
  }
}
@media (max-width:800px){
  /* nav{
    position: relative; 
  }
  */
  .navbar .bx-menu{
    display: block;
  }
  nav .navbar .nav-links{
      
    position: fixed;
    top: 0;
    left: -100%;
    display: block;
    max-width: 270px;
    width: 100%;
    background:  #126287;
    line-height: 40px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    z-index: 1000;
  }
  .navbar .nav-links .sidebar-logo{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .sidebar-logo .logo-name a{
    font-size: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
  }
  
    .sidebar-logo  i,
    .navbar .bx-menu{
      font-size: 25px;
      color: #fff;
    }
  .scroll_view{
    height: auto;
    min-height: 30%;
    max-height: 95%;
    overflow-x: hidden;
    overflow-y: auto;
  }
  nav .navbar .links{
    display: block;
    margin-top: 20px;
  }
  nav .navbar .links li .arrow{
    line-height: 40px;
  }
nav .navbar .links li{
    display: block;
  }
nav .navbar .links li .sub-menu{
  position: relative;
  top: 0;
  box-shadow: none;
  display: none;
}
nav .navbar .links li .sub-menu li{
  border-bottom: none;

}
.navbar .links li .sub-menu .more-sub-menu{
  display: none;
  position: relative;
  left: 0;
}
.navbar .links li .sub-menu .more-sub-menu li{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

  .links li .sub-menu .more:hover .more-sub-menu{
    display: none;
  }
}
@media (max-width:370px){
  nav .navbar .nav-links{
  max-width: 100%;
} 
}


