/* *{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */
.site_users{
  width: 100%;
  min-height: calc(100vh - 160px); /* SIEMPRE ES MENOS EL HEIGHT DEL HEADER */
}
.site_users a{
  text-decoration: none;
  color: inherit;
}
.sidebar{
  position: absolute;
  left: 0;
  top: 150px; /* HEIGHT DEL HEADER */
  height: calc(100vh - 160px); /* SIEMPRE ES MENOS EL HEIGHT DEL HEADER*/
  width: 78px;
  background: var(--color-company);
  padding: 14px 14px 6px 14px;
  z-index: 60;
  transition: all 0.5s ease;
  box-sizing: border-box;
}

.sidebar.open{
  width: 250px;
}
.sidebar .logo-details{
  height: 60px;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: space-between;
  z-index: 70;
}
.sidebar .logo-details .icon{
  opacity: 0;
  transition: all 0.5s ease;
  width: 24px;
  margin-right: 10px;
}
.sidebar .logo-details .icon svg{
  width: 100%;
  display: block;
}
.sidebar .logo-details .logo_name{
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.5s ease;
}
.sidebar.open .logo-details .icon,
.sidebar.open .logo-details .logo_name{
  opacity: 1;
}
.sidebar .logo-details #btn{
  position: absolute;
  z-index: 70;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(180deg);
  font-size: 22px;
  transition: all 0.4s ease;
  font-size: 23px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s ease;
  transition: rotate 0.1s ease;
}
.sidebar.open .logo-details #btn{
  transform: translateY(-50%) rotate(0deg);
  text-align: right;
  cursor: pointer;
}
.sidebar i{
  color: #fff;
  height: 60px;
  min-width: 30px;
  font-size: 28px;
  text-align: center;
  line-height: 60px;
}
.sidebar .nav-list{
  margin-top: 20px;
  height: 100%;
  margin-left: 0;
  padding: 0;
}
.sidebar li{
  position: relative;
  z-index: 70;
  margin: 8px 0;
  list-style: none;
}
.sidebar li .tooltip{
  position: absolute;
  z-index: 70;
  top: -20px;
  left: calc(100% + 15px);
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 400;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: 0s;
  color: #1d1d1b;
}
.sidebar li:hover .tooltip{
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
  top: 50%;
  transform: translateY(-50%);
}
.sidebar.open li .tooltip{
  display: none;
}
.sidebar input{
  font-size: 15px;
  color: #FFF;
  font-weight: 400;
  outline: none;
  height: 50px;
  width: 100%;
  width: 50px;
  border: none;
  border-radius: 12px;
  transition: all 0.5s ease;
  background: #1d1b31;
}
.sidebar.open input{
  padding: 0 20px 0 50px;
  width: 100%;
}
.sidebar .bx-search{
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 22px;
  background: #1d1b31;
  color: #FFF;
  z-index: 70;
}
.sidebar.open .bx-search:hover{
  background: #1d1b31;
  color: #FFF;
}
.sidebar .bx-search:hover{
  background: #FFF;
  color: var(--color-company);
}
.sidebar li a{
  display: flex;
  height: 100%;
  width: 100%;
  border-radius: 12px;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease;
  background: var(--color-company);
}
.sidebar li a:hover{
  background: #FFF;
}
.sidebar li a .links_name{
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
}
.sidebar.open li a .links_name{
  opacity: 1;
  pointer-events: auto;
}
.sidebar li a:hover .links_name,
.sidebar li a:hover i{
  transition: all 0.5s ease;
  color: var(--color-company);
}
.sidebar li i{
  height: 50px;
  line-height: 50px;
  font-size: 18px;
  border-radius: 12px;
}
.sidebar li.profile{
  position: absolute;
  z-index: 60;
  height: 60px;
  width: 78px;
  left: 0;
  bottom: -8px;
  padding: 10px 14px;
  background: #1d1b31;
  transition: all 0.5s ease;
  overflow: hidden;
  box-sizing: border-box;
}
.sidebar.open li.profile{
  width: 250px;
  box-sizing: border-box;
}
.sidebar li .profile-details{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.sidebar li img{
  height: 45px;
  width: 45px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}
.sidebar li.profile .name,
.sidebar li.profile .job{
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  height: 42px;
  line-height: 42px;
}
.sidebar li.profile .job{
  font-size: 12px;
}
.sidebar.open .profile .links_name{
  opacity: 1;
}
.sidebar  .profile .links_name{
  position: absolute;
  top: 49%;
  left: 0;
  z-index: 70;
  opacity: 0;
  width:max-content;
  color: #fff;
}
.sidebar .profile #log_out{
  position: absolute;
  z-index: 70;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: #1d1b31;
  width: 100%;
  height: 60px;
  line-height: 60px;
  border-radius: 0px;
  transition: all 0.5s ease;
}
.sidebar.open .profile #log_out{
  width: 50px;
  background: none;
  cursor: pointer;
}
.arrow_back, .logo_empresa_sidebar_image{
  cursor: pointer;
}
.home-section{
  position: relative;
  background: #fff;
  min-height: calc(100vh - 75px - 180px); /* MENOS EL HEADER Y EL PADDING*/
  top: 0;
  left: 60px;
  width: calc(100% - 60px);
  transition: all 0.5s ease;
  z-index: 50;
  padding-top: 180px;
  min-height: calc(100vh - 160px);
}
.sidebar.open ~ .home-section{
  left: 250px;
  width: calc(100% - 250px);
  margin: 0;
}
.home-section .text{
  display: inline-block;
  color: var(--color-company);
  font-size: 25px;
  font-weight: 500;
  margin: 18px
}
.home-section .sections_user{
  display: block;
  width: 100%;
  padding: 10px 10px 100px 10px;
}
.title_datos_user{
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}
.wrapper_user{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.wrapper_user form{
  width: 100%;
  max-width: 500px;
}
.label_datos_user{
  margin-bottom: 10px;
  font-size: 16px;
  width: 100%;
}
.input_datos_user{
  width: 100%;
  margin-bottom: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.input_datos_user input{
  outline: none;
  background-color:var(--light-color-shade);
  border: 1px solid var(--light-color-shade);
  padding: 5px;
  margin-right: 5px;
  width: 90%;
  border-radius: 5px;
}
.btn_actualizar_datos{
  transition: all 0.2s ease-in-out;
  width: -moz-fit-content;
  width: fit-content;
  padding: 6px 10px;
  background-color: #1d1d1b;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  border-radius: 5px;
  margin: 20px auto 10px auto;
}
.btn_actualizar_datos:hover {
  background-color: #000;
}

/* #header *{
  box-sizing: content-box !important;
} */
@media (max-width: 960px){
  .sidebar{
    height: calc(100vh - 100px); /* MENOS EL HEADER */
  }

  .home-section{
    min-height: calc(100vh - 100px - 20px); /* MENOS EL HEADER Y EL PADDING*/
  }
}
@media (max-width: 920px) {
  .sidebar{
    padding: 6px 14px;
  }
}
@media (max-width: 420px) {
  .sidebar li .tooltip{
    display: none;
  }
  .home-section .sections_user{
    font-size: 12px;
  }
  .tabla_detalle_pedido tr td:nth-child(3){
    display: none;
  }
}