.header {
  position: -webkit-sticky;
  position: sticky;
  width: 100%;
  height: auto;
  top: 0;
}

.header__search-box {
  background-color: #5e6267;
  color: #ffffff;
  width: 100%;
  height: 30px;
  border-radius: 0.4rem;
  border: none;
}

.header__search-box::-moz-placeholder {
  color: #fff;
}

.header__search-box:-ms-input-placeholder {
  color: #fff;
}

.header__search-box::placeholder {
  color: #fff;
}

.username-block {
  display: block;
  padding: 0.5rem 0rem;
  color: #fff;
}

.dropdown-content {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.dropdown-content:hover,
.dropdown-content:focus {
  color: #fff;
  text-decoration: none;
  background: #3490dc;
}

.dropdown-content.active,
.dropdown-content:active {
  color: #fff;
  text-decoration: none;
  background: #3490dc;
}

@media (min-width: 768px) {
  .menu-md-none {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .menu-sm-none {
    display: none;
  }
}

span.highlight {
  background-color: #FF0;
  color: #bd0202;
}

.sidebar-flex {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
}

.main-content-login {
  position: relative;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .sidebar-bg {
    position: absolute;
    width: 50px;
    height: 100%;
    transition: 0.3s;
  }

  .sidebar-bg__sticky {
    position: -webkit-sticky;
    position: sticky;
    display: block;
    width: 50px;
    height: calc(100vh - 55px);
    top: 55px;
    transition: 0.3s;
  }

  .menu-btn {
    width: 50px;
    height: 40px;
    color: #fff;
    left: 0px;
  }

  .menu-btn__icon {
    height: auto;
    width: 15px;
    margin: 0.9rem 1.2rem;
    opacity: 1;
    transition: 0.3s;
  }

  .menu-content {
    position: relative;
    display: flex;
    width: 50px;
    height: 40px;
    left: 0px;
    color: #fff;
    text-align: left;
    transition: 0.3s;
  }

  .menu-content:hover {
    text-decoration: none;
  }

  .menu-content__page-pointer {
    position: absolute;
    width: 5px;
    height: 40px;
    background: #fff;
  }

  .menu-content__not-page-pointer {
    position: absolute;
    width: 5px;
    height: 40px;
    background: rgba(0, 0, 0, 0);
  }

  .menu-content__icon {
    height: auto;
    width: 15px;
    margin: 0.9rem 1.2rem;
    transition: 0.3s;
  }

  .menu-content__name {
    overflow: hidden;
    width: 0px;
    padding: 8px 0px;
    word-break: keep-all;
    opacity: 0;
    transition: 0.3s;
  }

  .menu-content:hover > .side-sb {
    width: auto;
    opacity: 1;
  }

  .menu-content:hover > .side-sb-tri {
    border-width: 5px 7px 5px 0;
  }

  .side-sb {
    position: absolute;
    display: block;
    overflow: hidden;
    width: 0px;
    height: auto;
    left: 50px;
    background: #fff;
    box-shadow: 0px 0px 1.5px #212529;
    border-radius: 5px;
    word-break: keep-all;
    opacity: 0;
  }

  .side-sb a {
    text-decoration: none;
  }

  .side-sb__content {
    display: block;
    width: auto;
    min-width: 170px;
    max-width: 200px;
    height: 35px;
    color: #212529;
    background: #fff;
    text-align: left;
    padding: 0.4rem 0.8rem;
    margin: 4px 4px;
  }

  .side-sb__content:hover,
  .side-sb__content:focus {
    color: #fff;
    background: #4aa0e6;
    border-color: #3f9ae5;
  }

  .side-sb__content.active,
  .side-sb__content:active {
    color: #fff;
    background: #4aa0e6;
    border-color: #3f9ae5;
  }

  .side-sb-tri {
    position: absolute;
    display: table;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0px 5px 0;
    border-color: transparent #fff transparent transparent;
    top: 15px;
    right: 0;
  }

  .menu-content-logout {
    position: absolute;
    display: flex;
    width: 50px;
    height: 40px;
    left: 0px;
    bottom: 0;
    color: #fff;
    text-align: left;
    transition: 0.3s;
  }

  .menu-content-logout:hover {
    text-decoration: none;
  }

  .main-content {
    position: relative;
    width: calc(100% - 50px);
    height: auto;
    left: 50px;
    background: #fff;
    transition: 0.3s;
  }
}

@media (max-width: 767.98px) {
  .sidebar-bg {
    display: none;
  }

  .main-content {
    position: relative;
    width: 100%;
    height: auto;
    left: 0px;
    background: #fff;
    transition: 0.3s;
  }
}

.main-content-noside {
  position: relative;
  width: 100%;
  height: auto;
  left: 0px;
}

@media (min-width: 768px) {
  input:checked ~ .sidebar-bg {
    width: 180px;
  }

  input:checked ~ .sidebar-bg .sidebar-bg__sticky {
    width: 180px;
  }

  input:checked ~ .main-content {
    width: calc(100% - 180px);
    left: 180px;
  }

  input:checked ~ .sidebar-bg .menu-content,
  input:checked ~ .sidebar-bg .menu-content-logout {
    width: 180px;
  }

  input:checked ~ .sidebar-bg .menu-content .menu-content__name,
  input:checked ~ .sidebar-bg .menu-content-logout .menu-content__name {
    width: calc(180px - 50px);
    opacity: 1;
  }

  input:checked ~ .sidebar-bg .menu-content .side-sb {
    left: 180px;
  }
}

