
/* Estilos para los switches encendido/apagado */

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 19px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 4px;
  right: 1px;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  right: 0px;
  left: -6px;
  bottom: 1px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #ff0c75;
}

input:focus + .slider {
  box-shadow: 0 0 1px #ff0c75;
}

input:checked + .slider:before {
  -webkit-transform: translateX(23px);
  -ms-transform: translateX(23px);
  transform: translateX(23px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 30px;
}

.slider.round:before {
  border-radius: 50%;
}

/* ----------------------- termina estilos switches  ----------------------------- */

a {
    color: #ff0c75;
    text-decoration: none;
    background-color: transparent;
  }
  
  a:hover {
    color: #aa1d52;
    text-decoration: underline;
  }
  

.bg-primary {
    background-color: #ff0c75 !important;
}
  
.btn-primary {
    color: #fff;
    background-color: #ff0c75;
    border-color: #ff0c75;
}

.btn-primary:hover {
    color: #fff;
    background-color: #aa1d52;
    border-color: #aa1d52;
}

.btn-primary:focus, .btn-primary.focus {
    color: #fff;
    background-color: #aa1d52;
    border-color: #aa1d52;
    box-shadow: 0 0 0 0.2rem rgba(112, 48, 83, 0.5);
  }

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #aa1d52;
    border-color: #aa1d52;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #ff0c75;
  border-color: #ff0c75;
}

.btn-primary:active {
  color: #fff;
  background-color: #ff0c75;
  border-color: #ff0c75;
}

.btn-outline-primary {
    color: #ff0c75;
    border-color: #ff0c75;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #aa1d52;
    border-color: #aa1d52;
}
.btn-link {
    font-weight: 400;
    color: #ff0c75;
    text-decoration: none;
}
.btn-link:hover {
    color: #aa1d52;
    text-decoration: underline;
  }

.bg-gradient-primary {
    background-color: #ff0c75;
    background-image: linear-gradient(180deg, #ff0c75 10%, #aa1d52 100%);
    background-size: cover;
}

.bg-login-image {
    background: url("/img/logo_iepc_vertical.png");
    background-position: center;
    background-size: 70%;
    background-repeat: no-repeat
}

.bg-register-image {
    background: url("/img/logo_iepc_vertical.png");
    background-position: center;
    background-size: 70%;
    background-repeat: no-repeat
}

.text-primary {
    color: #ff0c75 !important;
}

.border-left-primary {
    border-left: 0.25rem solid #aa1d52 !important;
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #aa1d52;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #ff0c75;
    border-color: #ff0c75;
  }

  .ui-widget {
      background-color: #fff;
  }

  .custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #ff0c75;
    background-color: #ff0c75;
  }

  .custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    border-color: #ff0c75;
    background-color: #ff0c75;
  }

  .custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #ff0c75;
    background-color: #ff0c75;
  }

.form-control::-webkit-input-placeholder { /* Edge */
    color: lightpink !important;
}

.form-control:-ms-input-placeholder { /* Internet Explorer */
    color: lightpink !important;
}

.form-control::placeholder {
    color: lightpink !important;
}

/* ----------------------- Tootip helper ------------------------------------- */

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}


.addMore{
  border: none;
  width: 32px;
  height: 32px;
  transition: all ease-in-out 0.2s;
  cursor: pointer;
}

.error_message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
}