.show
{
  display: block;
}


.hide
{
  display: none!important;
}

.fake-placeholder 
{
  position: absolute!important;
  right: 30px!important;
  top: 50%!important;
  transform: translateY(-50%)!important;
  color: #7a7a7a!important;
  font-size: 15px!important;
  pointer-events: none!important;
  color: #a5a5a5!important;
}


/* SELECT 2*/
  .select2-container
  {
    width: 100%!important;
  }

  .select2-dropdown
  {
    background: transparent!important;
    top: 0px!important;
    border: none!important;
  }

  .select2-search--dropdown
  {
    padding: 0!important;
    margin-left: 4px;
    margin-right: 4px;
    background-color: transparent!important;
    margin-bottom: 5px;
  }

  .select2-search--dropdown .select2-search__field
  {
    border: none!important;
    width: 87%!important;
    background-color: white;
    padding: 0px 4px;
  }

  .select2-search--dropdown .select2-search__field:focus
  {
    outline: none!important;
  }

  .select2-results
  {
    background-color: white;
    border-radius: 5px;
    padding: 3px;
    border: 1px solid #dfe5e8;
  }

  .select2-dropdown--above {
  }

  .select2-dropdown--above > .select2-search
  {
    border: 1px solid #b1b1b1;
    border-radius: 4px;
    background-color: white!important;
  }

  .select2-selection
  {
    height: 38px!important;
  }
  .select2-selection__rendered, .select2-selection__arrow
  {
    height: 38px!important;
    line-height: 38px!important;
  }
/* ------ */


/*RADIO BUTTONS*/
  .radio-custom input
  {
    display: none!important;
  }

  .radio-custom
  {
    display: flex!important;
    align-items: center!important;
    cursor: pointer!important;
  }

  .radio-custom .radio
  {
    width: 18px!important;
    height: 18px!important;
    border: 2px solid #cfcfcf!important;
    border-radius: 50%!important;
    position: relative!important;
    transition: all 0.2s ease!important;
  }

  .radio-custom .radio::after
  {
    content: ""!important;
    width: 7px!important;
    height: 7px!important;
    background: #ffffff!important;
    border-radius: 50%!important;
    position: absolute!important;
    top: 50%!important;
    left: 50%!important;
    transform: translate(-50%, -50%) scale(0)!important;
    transition: transform 0.2s ease!important;
  }
  
  .radio-custom input:checked + .radio
  {
    border-color: #33b5f0!important;
    background-color: #33b5f0!important;
  }

  .radio-custom input:checked + .radio::after
  {
    transform: translate(-50%, -50%) scale(1)!important;
  }
  
  .radio-custom input[type="radio"]
  {
    position: absolute!important;
    opacity: 0!important;
    pointer-events: none!important;
  }
/* ---------------------- */

/* SWICTH TOGGLE */
  /* The switch - the box around the slider */
  .switch {
    font-size: var(--cbt-font-size-base);
    position: relative;
    display: flex;
    width: 40px;
    height: 20px;
    margin-left: 20px;
  }


  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0!important;
    width: 0;
    height: 0;
  }

  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #e1e1e1;
    border: 1px solid #cfcfcfff;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .slider:before {
    position: absolute;
    content: "";
    display: flex;
    align-items: center;
    justify-content: center;
    height: 14px;
    width: 14px;
    inset: 0;
    top: 2px;
    left: 3px;
    background-color: white;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.35, 1.15);
  }

  .switch input:checked + .slider {
    background: #33b5f0;
    border: 1px solid #33b5f0;
  }

  .switch input:focus + .slider {
    box-shadow: 0 0 1px #33b5f0;
  }

  .switch input:checked + .slider:before {
    transform: translateX(19px);
  }

  .switch-label
  {
    margin-left: 38px;
    margin-top: 3px;
    font-weight: 600;
    color: #838383;
  }

  .switch-label::after
  {
    content: "No";
  }

  .switch input[type="checkbox"]:checked ~ .switch-label::after {
    content: "Sí";
  }

  .switch input[type="checkbox"]:not(:checked) ~ .switch-label::after {
    content: "No";
  }
/* ----------------------- */

/*  TOOLTIP  */

.tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.tooltip-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #006bff;
  color: #006bff;
  font-size: 9px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: help;
}

.tooltip-text {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #094074;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
  z-index: 10;
}

/* Flechita */
.tooltip-text::after
{
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #094074;
}

/* Mostrar tooltip */
.tooltip:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
}
/*------------------*/


/* CHECKBOX */

.custom-checkbox
{
  display: inline-flex!important;
  align-items: center!important;
  cursor: pointer!important;
}

.custom-checkbox .checkmark
{
  width: 16px!important;
  height: 16px!important;
  border: 2px solid #cfcfcf!important;
  border-radius: 4px!important;
  background-color: #fff!important;
  position: relative!important;
  transition: all 0.2s ease!important;
}

.custom-checkbox input:checked + .checkmark
{
  border-color: #33b5f0!important;
  background-color: #33b5f0!important;
}

/* tick draw*/
.custom-checkbox input:checked + .checkmark::after
{
  content: ""!important;
  position: absolute!important;
  left: 3px!important;
  top: -1px!important;
  width: 6px!important;
  height: 12px!important;
  border: solid #ffffffff!important;
  border-width: 0 3px 3px 0!important;
  transform: rotate(45deg)!important;
}

/* Hover */
.custom-checkbox:hover .checkmark
{
}

.custom-checkbox input[type="checkbox"] 
{
  position: absolute!important;
  opacity: 0!important;
  pointer-events: none!important;
}
