/** Política de cookies */

#cookies-modal.modal {
  z-index: 9999999999;
}

.modal-backdrop {
  z-index: 1050;
}

.cookie-message {
  position: fixed;
  bottom: 0;
  z-index: 1050 !important;
  width: 100%;
  background: #ffffff;
  color: #33393e;
  box-shadow: 0px -15px 30px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 350px) {
  .cookie-message {
    height: 100%;
    overflow: auto;
  }
}
.cookie-message .coletilla,
.cookie-message .coletilla p {
  color: #33393e;
  font-size: 12px;
  line-height: normal;
  margin-top: 0;
}
.cookie-message .cookies-title {
  font-weight: bold;
  color: #0b7ad0;
  font-size: 24px;
}
.cookie-message a {
  color: #0b7ad0;
  text-decoration: underline;
}

.btn-primary {
  color: #ffffff !important;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
  outline: none;
}

a:focus,
a:active,
a:hover,
a:target {
  cursor: pointer;
}

.cookie-message .btn:not(:active):not(:hover):not(:active):not(:focus) {
  background-color: transparent;
  border: 1px solid #33393e;
}
.cookie-message .btn:active,
.cookie-message .btn:hover,
.cookie-message .btn:active,
.cookie-message .btn:focus {
  background-color: #ddd;
  border: 1px solid #33393e;
  color: #33393e;
}
@media (max-width: 767px) {
  .cookie-message .btn {
    padding: 4px 8px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    font-weight: 400;
  }

  .cookie-message .cookies-title {
    font-size: 18px;
  }
}
@media (max-width: 1199px) and (min-width: 768px) {
  .cookie-message .btn {
    padding: 5px 10px !important;
    font-weight: 400;
    line-height: 20px;
  }
}

/*switch*/
.label-primary {
  background-color: #0b7ad0;
}

.material-switch > input[type="checkbox"] {
  display: none;
}

.material-switch {
  margin-bottom: 32px;
  margin-left: 32px;
  margin-right: 32px;
}

.material-switch > label {
  cursor: pointer;
  height: 0px;
  position: relative;
  margin-left: 60px;
  text-transform: none !important;
  font-size: 15px;
  font-weight: normal;
}

.material-switch > label strong {
  font-weight: bold;
}

.material-switch > label::before {
  background: rgba(0, 0, 0);
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  content: "";
  height: 16px;
  left: -60px;
  margin-top: 4px;
  position: absolute;
  opacity: 0.3;
  transition: all 0.4s ease-in-out;
  width: 40px;
}

.material-switch > label::after {
  background: rgb(255, 255, 255);
  border-radius: 16px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  content: "";
  height: 24px;
  left: -64px;
  margin-top: 4px;
  position: absolute;
  top: -4px;
  transition: all 0.3s ease-in-out;
  width: 24px;
}

.material-switch > input[type="checkbox"]:checked + label::before {
  background: inherit;
  opacity: 0.5;
}

.material-switch > input[type="checkbox"]:checked + label::after {
  background: inherit;
  left: -40px;
}

@media only screen and (max-width: 767px) {
  .material-switch {
    margin-bottom: 8px;
    margin-left: 0px;
    margin-right: 16px;
  }
}

.close img {
  width: 16px;
  height: 16px;
}

.bold {
  font-weight: bold;
}

.custom-control-input:disabled ~ label,
.custom-control-input[disabled] ~ label {
  cursor: default;
  opacity: 0.5;
}
