/* Responsive */

@media only screen and (max-width: 1366px) {
  .error-pages, .coming-soon {
    margin-top: 110px;
  }
}

@media only screen and (max-width: 1199px) {
  .row.row-group > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    &:last-child {
      border-right: none;
      border-bottom: 0;
    }
  }
}

@media screen and (min-width: 1024px) {
  #wrapper {

    &.nav-collapsed:not(.sidebar-hovered) {
      .sidebar {
          width: 60px;
       .navigation li.sub>a:after {
          display: none;
        }

        .navigation li {

              
          &.open>ul {
            display: none;
          }
          
          display: flex;
          justify-content: center !important;
        }
  
        .navigation i {
          margin-right: 0px;
        }

  
        .sub-menu-title,
        .menu-title {
          display: none;
        }
  
        .badge {
          display: none;
        }
  
        .logo-text,
        .sidebar-header {
          display: none;
        }
  
  
      }
  
    }

    &.nav-collapsed {

      
      .toggle-menu i {
        margin-left: 60px;
  
      }
  
      .content-wrapper {
        margin-left: 60px;
      }
  
      footer {
        left: 60px;
      }
  

    }
  
  }
  
}

@media only screen and (max-width: 1023px) {

  .search-bar {
    margin-left: 10px;
    position: relative;
    input {
      width: 100%;
      height: 30px;
    }
  }
  .nav-tabs .nav-link {
    padding: 10px 10px;
  }

  #sidebar-wrapper {
    background: #ffffff;
    position: fixed;
    //top: 60px;
    left: -240px;
    z-index: 1000;
    overflow: hidden;
    width: 240px;
    height: 100vh;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    box-shadow: none;
    border-right: 1px solid #e7ebf1;
  }
  .toggle-menu i {
    line-height: 57px;
    margin-left: 0px;
    font-size: 15px;
    cursor: pointer;
  }
  
  .content-wrapper {
    margin-left: 0px;
    padding-left: 5px;
    padding-right: 5px;
  }
  .footer {
    position: absolute;
    left: 0px;
  }
  #wrapper.nav-collapsed {
    #sidebar-wrapper {
      position: fixed;
      //top: 60px;
      left: 0px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    .menu-icon, .content-wrapper {
      margin-left: 0px;
    }
    .overlay {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 999;
      background: #000;
      opacity: .2;
      display: none;

      &.show {

        @media screen and (max-width: 1023px) {
          display: block;
        }
      }
    }
    .footer {
      position: absolute;
      left: 0px;
    }
  }
  .hidden-xs {
    display: none !important;
  }
}

@media only screen and (max-width: 575px) {
  .bg-signup2 {
    height: 35rem;
    border-radius: 0;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
  }
  .bg-signin2 {
    height: 25rem;
    border-radius: 0;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
  }
  .bg-reset-password2 {
    height: 20rem;
    border-radius: 0;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
  }
}

@media only screen and (max-width: 480px) {
  .search-bar {
    margin-left: 5px;
    position: relative;
    input {
      width: 100%;
    }
  }
  .dropdown-lg, .nav-item.language {
    display: none;
  }
  .right-nav-link a.nav-link {
    padding-right: .0rem !important;
  }
  .topbar-nav .navbar {
    padding: 0px 10px 0 5px;
  }
}