/* MENU BURGUER AND NAV */

.sidenav {
  height: 98%;
  width: 0;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  background-color: #f8f6e4;
  overflow-x: hidden;
  transition: 0.5s;
  /* padding-top: 60px; */
  border-radius: 26px;
}



.sidenav .layout{
  padding: 16px;
  height: 100%;
  text-align: center;
}

.sidenav .nav-toggle-container{
  display: flex;
  justify-content:space-between;
  padding: 8px 10px;
}

.sidenav .close-img{
  cursor: pointer;
}

.sidenav .menus{
  display: flex;
  flex-direction: column;
}

.sidenav .menus ul{
  list-style: none;
  padding: 0;
}

.sidenav .menus >ul > li{
  display: flex;
  align-items: center;
  padding-top: 17px;
}

.sidenav .menus ul img{
  width: 24px;
  height: 25px;
}

.sidenav .menus a{
  margin: 0 16px;
  text-wrap: nowrap;
  color: #3D4F53;
  font-size: 20px;
}

.sidenav .submenus{
  list-style: disc !important;
    color: #3D4F53;
    flex-basis: 100%;
}

.sidenav .submenus > li{
  margin-left: 55px;
  text-align: start;
  margin-top: 10px;
  cursor: pointer;
      width: 120px;
}

.sidenav .submenus > li::marker {
  color: #3D4F53;  
}

.sidenav ul > li.flex-wrap > a{
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}
.sidenav ul > li.flex-wrap > a >img{
  width: 16px;
}

.open-submenus{
  transform: rotate(180deg);
}

.custom-toggler{
  height: 36px;
  background: #3D4F5380;
  padding: 5px 6px;
  left: 34px;
  top: 34px;
  position: absolute;
  z-index: 1;
}

.custom-toggler .navbar-toggler-icon {
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath stroke='rgba(248, 246, 228, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 4h24M4 16h24M4 28h24' /%3E%3C/svg%3E");
}

.footer-nav{
  
  position: absolute;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav input{
  width: 75vw !important;
}

.footer-nav a{
  color: #3D4F53;
  font-size: 16px;
  text-align: start;
  text-wrap: nowrap;
}

/* TOGGLE */
.toggle-container {
    position: relative;
    width: 157px;  /* Ancho reducido */
    height: 36px; /* Alto reducido */
    font-family: 'Wix Madefor regular'; 
    font-weight: 400;
    font-size: 12px;
  }
  
  .toggle-checkbox {
    display: none;
  }
  
  .toggle-label {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ccc;
    border-radius: 15px; /* Redondeo ajustado */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px;  /* Ajuste de padding */
    padding-right: 19px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color:#f8f6e4;


    border: 1.1px solid #77823C;
    box-shadow: -2px -6px 10px 0px #374440 inset;
    box-shadow: 0px 19px 19px 0px #00000017;
    box-shadow: 0px 42px 25px 0px #0000000D;
    box-shadow: 0px 75px 30px 0px #00000005;
    box-shadow: 0px 117px 33px 0px #00000000;
    box-shadow: 0px 4px 4px 0px #00000040;
    background-color: #3D4F53;
  }
  
  .toggle-ball {
    width: 22px;  /* Tamaño más pequeño para la bola */
    height: 22px; /* Tamaño más pequeño para la bola */
    background-color: #F8F6E4;
    border-radius: 50%;
    transition: transform 0.3s ease;
    position: absolute;
    left: 4px; /* Ajuste de posición */



    box-shadow: 0px 5px 10px 0px #0000001A;
    box-shadow: 0px 19px 19px 0px #00000017;
    box-shadow: 0px 42px 25px 0px #0000000D;
    box-shadow: 0px 75px 30px 0px #00000005;
    box-shadow: 0px 117px 33px 0px #00000000;
  }
  
  .toggle-image-left,
  .toggle-image-right {
    /* position: absolute; */
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
  }
  
  .toggle-image-left {
    left: 6px;  /* Ajuste para imagen a la izquierda */
    opacity: 1;  /* Invisible cuando está desactivado */
      background-image: url('../img/spanish.png');
    background-size: cover;
    width: 18px;
    height: 18px;

    position: relative;
    top: 9px;
  }

  body.traducido .toggle-image-left{
    
    background-image: url('../img/english.png');
  }
  
  
  .toggle-checkbox:checked + .toggle-label .toggle-ball {
    transform: translateX(30px); /* Ajuste de desplazamiento de la bola */
  }
  
  .toggle-checkbox:checked + .toggle-label .toggle-image-left {
    opacity: 1; /* Muestra la imagen izquierda cuando está activado */
  }
  
  .toggle-checkbox:checked + .toggle-label .toggle-image-right {
    opacity: 0; /* Oculta la imagen derecha cuando está activado */
  }
  


  /* SELECT SERVICES */

.select-personalizado {
  position: relative;
  width: 85%;
  min-width: 200px; 
}

.select-personalizado .title-select{
  display: none;
}

.select-personalizado select {
    display: none;
}

.select-personalizado .select-selected {
    background-color: #FFFFFF;
    
}

.select-personalizado .select-selected:after {
    position: absolute;
    content: "";
    top: 10px !important;
    right: 21px;
    width: 14px;
    height: 17px;
    border-color: #D0D5DD;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('../icon/select.svg');
}

.select-personalizado .select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
    background-image: url('../icon/select-shield-up.svg');
}

.select-personalizado .select-items div,
.select-personalizado .select-selected {
    color: #2E2C2C;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    border-color: #D0D5DD;
    cursor: pointer;
    user-select: none;
}

.select-personalizado .select-items {
    position: absolute;
    background-color: #FFFFFF;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    max-height: 150px;
    overflow: overlay;
    font-size: 14px;
}

.select-personalizado .select-items>div {
    border-color: #f6f7f8 #d0d5dd;
    border-bottom-color: #f6f7f8;
    border-bottom-width: 0.5px;
    display: flex;
    justify-content: space-between;
}

.select-personalizado .select-items>div:last-child {
    border-bottom-color: #D0D5DD;
}

.select-personalizado .select-items>div img {
    width: 14px;
    height: 17px;
}

.select-personalizado .select-hide {
    display: none;
}

.select-personalizado .select-items div:hover,
.select-personalizado .same-as-selected {
    background-color: #F8F6E4;
}



/* SELECT FORM */

.select-container-custom .nice-select-dropdown{
  box-shadow:none !important;
}

.select-container-custom .nice-select-dropdown ul.list{
  margin-top: 0;
  max-height: 197px;
}

.select-container-custom .nice-select{
  border-radius: 0%; 
  border: none;
  padding-left: 0;
}

.select-container-custom .nice-select:after {
    background: url('../icon/down-collapse.svg');

    background-repeat: no-repeat;
    top: 17px;
    width: 20px;
    height: 20px;
    right: 4px;
    transform: none;

    border-bottom: none;
    border-right: none;
}

.select-container-custom .nice-select.open:after {
  transform: rotate(-180deg);
    transform-origin: 38% 25%;
}

.select-container-custom .nice-select-dropdown li{
  position: relative;
  height: 44px;
  padding-left: 0px;
  padding-right: 38px;
  font-size: 15px;
}

.select-container-custom .nice-select .option.selected {
    font-weight: normal;
    background-color: #ffffff !important;
}

.select-container-custom .nice-select-dropdown li::after{
    border-radius: 50%;
    /* border: 2px solid #3D4F53; */
    content: "";
    display: block;
    height: 5px;
    /* margin-top: -4px; */
    pointer-events: none;
    position: absolute;
    right: 7px;

    top: 50%;
    transform: translateY(-64%);

    /* transition: all .15s ease-in-out; */
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    box-shadow: inset 0 0 44px  white, 0 0 0 2px #3D4F53;
}

.select-container-custom .nice-select-dropdown li.selected::after{
  box-shadow: inset 0 0 44px #3D4F53, 0 0 0 2px #3D4F53;
}

.select-container-custom .nice-select-dropdown img{
  vertical-align: middle;
    margin-bottom: 3px;
    margin-right: 8px;
}


.designed-by{
  cursor: pointer;
  display: inline-table;
}