/* Fonts */

body {
    font-family: 'Spartan', sans-serif;
    color: var(--dark-gray);
}

h1 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
}

h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
}

h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
}

h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
}

p {
    font-family: 'Spartan', sans-serif;
    color: var(--dark-gray);
}

.small {
    font-family: 'Spartan', sans-serif;
}

button {
    font-family: 'Spartan', sans-serif;
    font-weight: bold !important;
}

.btn-primary.disabled, .btn-primary:disabled {
    background-color: var(--primary);
}

a {
    font-family: 'Spartan', sans-serif;
    font-weight: bold !important;
}

@media (min-width: 768px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 43px;
        line-height: 48px;
        font-weight: 500;
    }

    h2 {
        font-size: 33px;
        line-height: 45px;
        font-weight: 500;
    }

    h3 {
        font-size: 27px;
        line-height: 35px;
        font-weight: 500;
    }

    h4 {
        font-size: 20px;
        line-height: 25px;
        font-weight: 600;
    }

    p {
        font-size: 15px;
        line-height: 24px;
    }

    .small {
        font-size: 13px !important;
        line-height: 22px !important;
    }

    .small-inside p {
        font-size: 13px !important;
        line-height: 22px !important;
    }

    button {
        font-size: 15px !important;
        border-radius: 30px !important;
        padding: 16px 32px !important;
        line-height: 15px !important;
    }

    a {
        font-size: 15px !important;
    }

    a.button {
        border-radius: 30px !important;
        padding: 16px 32px;
        line-height: 15px !important;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 13px;
    }

    h1 {
        font-size: 27px;
        line-height: 35px;
        font-weight: 400;
    }

    h2 {
        font-size: 24px;
        line-height: 30px;
        font-weight: 400;
    }

    h3 {
        font-size: 20px;
        line-height: 26px;
        font-weight: 400;
    }

    h4 {
        font-size: 15px;
        line-height: 19px;
        font-weight: 500;
    }

    p {
        font-size: 13px;
        line-height: 19px;
    }

    .small {
        font-size: 11px !important;
        line-height: 15px !important;
    }

    button {
        font-size: 13px !important;
        border-radius: 18px !important;
        padding: 12px 24px !important;
        line-height: 11px !important;
    }

    a {
        font-size: 13px !important;
    }

    a.button {
        border-radius: 18px !important;
        padding: 12px 18px !important;
        line-height: 11px !important;
    }
}

@media (max-width: 575px) {
    button {
        font-size: 13px !important;
        border-radius: 18px !important;
        padding: 12px 16px !important;
        line-height: 11px !important;
    }
}

@media (min-width: 992px) {
    .svg-border-rounded svg {
        height: 3rem;
    }
}

@media (max-width: 992px) {
    .svg-border-rounded svg {
        height: 2.5rem;
    }
}

@media (max-width: 768px) {
    .svg-border-rounded svg {
        height: 2rem;
    }

    #filtroPrestaciones, #filtroPrestaciones::placeholder {
        font-size: unset !important;
    }
}

@media (max-width: 576px) {
    .svg-border-rounded svg {
        height: 1.5rem;
    }
}

.svg-border-rounded svg {
    bottom: 0;
    left: 0;
    width: 100%;
}

svg {
    overflow: hidden;
    vertical-align: middle;
}

.card {
    border-radius: 16px;
}

/* Inicio */

.grecaptcha-badge {
    display: none;
}

#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--primary);
    background: linear-gradient(60deg, var(--primary) 0%, var(--primary-medium) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 4000;
}

/* Header */

#header-xl {
    min-height: min(100vh, 1080px);
}

.contenedor-informativo {
    height: 38px;
    position: relative;
    width: auto;
    display: inline-flex;
    align-items: center;
    float: left;
    padding-right: 4px;
}

.contenedor-informativo .icono-informativo {
    font-size: 16px;
    cursor: help;
    background: var(--primary-medium);
    border-radius: 20px;
    height: 100%;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 2;
}

.contenedor-informativo .texto-informativo {
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    height: 100%;
    width: 0;
    color: #fff;
    overflow: hidden;
    transition: 0.3s all ease;
    background: var(--primary-medium);
    display: flex;
    align-items: center;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-left: 20px;
    padding-left: 20px;
    cursor: help;
}

.contenedor-informativo:hover .texto-informativo {
    padding-right: 236px;
}

.contenedor-informativo-sm {
    height: 28px;
    position: relative;
    width: auto;
    display: inline-flex;
    align-items: center;
    float: left;
    padding-right: 4px;
}

.contenedor-informativo-sm .icono-informativo {
    font-size: 14px;
    cursor: help;
    background: var(--primary-medium);
    border-radius: 20px;
    height: 100%;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 2;
}

.contenedor-informativo-sm .texto-informativo {
    font-size: 10px;
    font-weight: bold;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    height: 100%;
    width: 0;
    color: #fff;
    overflow: hidden;
    transition: 0.3s all ease;
    background: var(--primary-medium);
    display: flex;
    align-items: center;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-left: 13px;
    padding-left: 16px;
    cursor: help;
}

.contenedor-informativo-sm:hover .texto-informativo {
    padding-right: 200px;
}

/* Helper Clasess */

.shadow {
    box-shadow: #091e421c 0 12px 24px -6px, rgba(9, 30, 66, 31) 0 0 1px !important;
}

.container-fluid {
    max-width: 1440px;
}

@media (min-width: 1300px) {
    .container-fluid {
        max-width: min(90vw, 1440px);
    }
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-primary-medium {
    background-color: var(--primary-medium) !important;
}

.bg-secondary {
    background-color: var(--accent) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-primary-dark {
    color: var(--primary-dark) !important;
}

.text-secondary {
    color: var(--accent) !important;
}

.text-white-90 {
    color: #ffffff;
    opacity: 0.9;
}

.text-white-90-inside p {
    color: #ffffff;
    opacity: 0.9;
}

.text-gray {
    color: var(--gray) !important;
}

.text-gray p {
    color: var(--gray) !important;
}

.navbar-nav .nav-link {
    color: var(--primary);
    margin: 0 !important;
}

.link-primary {
    font-size: 2rem;
    color: var(--primary);
    text-decoration: none;
    padding: 15px 10px;
    margin: 0 -10px;
    transition: all 180ms ease-in-out;
    position: relative;
}

.link-primary:hover {
    color: var(--primary);
    text-decoration: none;
}

.link-white {
    font-size: 2rem;
    color: white !important;
    text-decoration: none;
    padding: 15px 10px;
    margin: 0 -10px;
    transition: all 180ms ease-in-out;
    position: relative;
}

.link-white:hover {
    color: white;
    text-decoration: none;
}

@media (min-width: 992px) {
    .link-primary:hover:after {
        width: calc(100% - 20px);
    }

    .link-primary:after {
        content: "";
        position: absolute;
        height: 2px;
        width: 0;
        background: var(--primary);
        bottom: 0.65rem;
        left: 10px;
        transition: all 180ms ease-in-out;
    }

    .link-white:hover:after {
        width: calc(100% - 20px);
    }

    .link-white:after {
        content: "";
        position: absolute;
        height: 2px;
        width: 0;
        background: white;
        bottom: 0.65rem;
        left: 10px;
        transition: all 180ms ease-in-out;
    }
}

.cursor-pointer {
    cursor: pointer;
}

.hover-shadow {
    transition: box-shadow 300ms ease 0s !important;
}

.hover-shadow:hover {
    box-shadow: rgb(179 186 197) 0 0 1px 0, rgb(193 199 208) 0 8px 16px -6px !important;
    transition: box-shadow 300ms ease 0s !important;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity .5s
}

.fade-enter, .fade-leave-to {
    opacity: 0
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
}

.owl-dot:focus {
    outline: none !important;
}

.one-line {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.rounded {
    border-radius: .5rem !important;
}

@media (max-width: 991px) {
    .bottom-left {
        bottom: 16px;
        left: 8px;
    }

    .centered {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (min-width: 550px) {

    .bottom-left {
        bottom: 55px;
        left: 55px;
    }

    .centered {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Buttons */

.btn-primary {
    background: var(--primary);
    color: white;
    border: none !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-medium) !important;
    box-shadow: none !important;
}

.btn-sm {
    font-size: 13px !important;
    padding: 12px 24px !important;
}

.btn-xs {
    font-size: 12px !important;
    padding: 8px 16px !important;
}

.btn-secondary {
    background: none !important;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
    background-color: var(--accent) !important;
    color: white;
    border: 1px solid var(--accent);
    border-color: var(--accent) !important;
    box-shadow: none !important;
}

.btn-secondary-white {
    background: none !important;
    color: #fff;
    border: 1px solid #fff;
}

.btn-secondary-white:hover, .btn-secondary-white:focus, .btn-secondary-white:active {
    background-color: var(--accent) !important;
    color: white;
    border: 1px solid var(--accent);
    border-color: var(--accent) !important;
    box-shadow: none !important;
}

.btn-secondary:disabled {
    color: var(--primary);
}

.btn-secondary[disabled]:hover {
    background: none !important;
    color: var(--primary);
    border: 1px solid #6c757d !important;
}

.btn-primary-medium {
    background: var(--primary-medium);
    color: white;
    border: none !important;
}

.btn-primary-medium:hover, .btn-primary-medium:focus, .btn-primary-medium:active {
    background-color: var(--primary-dark) !important;
    color: white;
    box-shadow: none !important;
}

.btn-accent {
    background: var(--accent);
    color: white;
    border: none !important;
}

.btn-accent:hover, .btn-accent:focus, .btn-accent:active {
    background-color: var(--accent-dark) !important;
    color: white;
    box-shadow: none !important;
}

.btn-gray {
    background: var(--gray-lighter);
    color: var(--gray);
    border: none !important;
}

.btn-gray:hover, .btn-gray:focus, .btn-gray:active {
    background-color: var(--gray-medium) !important;
    color: var(--gray-dark);
    box-shadow: none !important;
}

.btn-danger {
    color: #fff;
    border: none;
    background: var(--danger);
}

.btn-danger:hover {
    color: #fff;
    border: none;
    background: var(--danger-dark);
}

*:focus {
    box-shadow: none !important;
}

/* Modals */

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

.modal {
    z-index: 2010;
}

.modal-header {
    border-bottom: 1px solid #eceff3;
}

.modal-content {
}

.modal-footer {
    border-top: 1px solid #eceff3;
}

@media (max-width: 767px) {
    .modal-dialog.modal-lg, .modal-dialog.modal-xl {
        max-width: inherit;
        margin: .5rem;
    }
}

@media (min-width: 768px) {
    .modal-dialog.modal-lg, .modal-dialog.modal-xl {
        max-width: 700px;
    }
}

@media (min-width: 992px) {
    .modal-dialog.modal-xl {
        max-width: 915px;
    }
}

@media (min-width: 1200px) {
    .modal-dialog.modal-xl {
        max-width: 1180px;
    }
}

.modal-content {
    border: none;
}

.modal-header .close {
    padding: 1.5rem 1.5rem !important;
    margin: -1rem -1rem -1rem auto;
}

.modal-inscripcion {
    width: calc(100vw - 30px);
    max-width: 1300px;
}

.modal-reserva {
    width: calc(100vw - 30px);
    max-width: 1300px;
}

.text-white-inside * {
    color: white;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* Labels */

.form-group label, .control-label {
    font-size: 13px;
    font-weight: bold;
    color: var(--gray);
}

input {
    font-size: 13px;
}

.input-primary-medium {
    background: var(--primary-medium) !important;
    border: 0 !important;
    color: #ffffff !important;
}

::placeholder {
    font-size: 13px;
}

.form-control {
    font-size: 13px;
}

.form-control:focus {
    border-color: var(--gray);
}


/* Nav-tabs */

.nav-tabs .nav-link {
    border: 0;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: var(--primary);
    background: none;
    border-color: #fff #fff var(--primary);
    border-bottom: 3px solid;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: #fff;
}


/* Alerts */

.alert-info {
    color: #fff !important;
    background-color: var(--info) !important;
    border-color: var(--info) !important;
}

.text-info {
    color: var(--info) !important;
}

.alert-success {
    color: #fff;
    border: none;
    background: var(--success);
}

.text-success {
    color: var(--success) !important;
}

.alert-warning {
    color: #fff;
    border: none;
    background: var(--warning);
}

.text-warning {
    color: var(--warning) !important;
}

.alert-danger {
    color: #fff;
    border: none;
    background: var(--danger);
}

.text-danger {
    color: var(--danger) !important;
}

.alert-xs {
    font-size: 12px;
    padding: 5px;
    font-weight: bold;
}

/* Generales */

.pasos ul {
    margin-left: 15px;
}

.pasos li {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 13px;
    border-left: 2px solid var(--primary-dark);
}

.pasos i {
    margin-left: -9px;
    background-color: var(--primary);
    margin-right: 15px;
    font-size: 16px;
}

.grow-card-img .grow-img {
    transition: 300ms ease-out;
}

.grow-card-img:hover .grow-img {
    transform: scale(1.1);
}

.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: var(--primary);
}

/* Pills */

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: var(--primary);
}

.nav-pills .nav-link {
    border-radius: 20px;
}

.nav-pills .nav-link {
    font-size: 13px !important;
    color: var(--primary);
}

/* Fancy Cards */

.fancy .card {
    border: 2px solid transparent;
    display: block;
}

.fancy .active {
    border: 2px solid var(--secondary);
}

.fancy label {
    display: inline-flex;
    align-items: baseline;
}

.fancy label input[type=checkbox], .fancy label input[type=radio] {
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: inherit;
    width: 1.5em;
    margin: 0;
    color: inherit;
    outline: none;
    font-family: 'Font Awesome 5 Free', sans-serif;
    transition: 300ms ease-out;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    /* -ms-transform: rotate(45deg); */
    /* Internet Explorer 9 */
    /* -webkit-transform: rotate(45deg); */
    /* Chrome, Safari, Opera */
    /* transform: rotate(45deg); */
    /* Standard syntax */
}

.fancy label input[type=checkbox]::after, .fancy label input[type=radio]::after {
    content: '\f111';
    display: inline-block;
    text-align: center;
    width: 1.5em;
    font-size: 1.5em;
    color: #e2e6f0;
}

.fancy label input[type=checkbox]:checked::after, .fancy label input[type=radio]:checked::after {
    font-weight: 900;
}

.fancy label input[type=checkbox]:active, .fancy label input[type=radio]:active {
    transform: scale(0.6);
}

.fancy label input[type=checkbox] + span, .fancy label input[type=radio] + span {
    margin-left: 0.35em;
}

.fancy label input[type=checkbox]:checked::after {
    content: '\f058';
    color: var(--primary);
    /* -ms-transform: rotate(-45deg); */
    /* Internet Explorer 9 */
    /* -webkit-transform: rotate(-45deg); */
    /* Chrome, Safari, Opera */
    /* transform: rotate(-45deg); */
    /* Standard syntax */
}

.fancy label input[type=radio]:checked::after {
    content: '\f058';
    color: var(--primary);
    /* -ms-transform: rotate(-45deg); */
    /* Internet Explorer 9 */
    /* -webkit-transform: rotate(-45deg); */
    /* Chrome, Safari, Opera */
    /* transform: rotate(-45deg); */
    /* Standard syntax */
}

.fancy.square label input[type=checkbox]:after {
    content: '\f0c8';
}

.fancy.square label input[type=checkbox]:checked::after {
    content: '\f14a';
}

/* select 2 */

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
    height: calc(1.5em + 0.75rem);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(1.5em + 0.75rem);
}

.select2-dropdown {
    border: 1px solid #ced4da;
}

.bg-header-gradient {
    border-bottom-left-radius: 15%;
    border-bottom-right-radius: 15%;
    background: var(--primary);
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-medium) 65%, var(--primary) 100%);
}

#descripcion-sitio-sm > p {
    display: table;
    margin: 0 auto;
}

.custom-switch.custom-switch-md .custom-control-label {
    padding-left: 1rem;
    padding-bottom: 0.5rem;
    padding-top: 0.4rem;
}

.custom-switch.custom-switch-md .custom-control-label::before {
    height: 1.5rem;
    width: calc(2rem + 0.75rem);
    border-radius: 3rem;
}

.custom-switch.custom-switch-md .custom-control-label::after {
    width: calc(1.5rem - 4px);
    height: calc(1.5rem - 4px);
    border-radius: calc(2rem - (1.5rem / 2));
}

.custom-switch.custom-switch-md .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(1.5rem - 0.25rem));
}

.switch-input:focus ~ .custom-control-label::before {
    border-color: var(--accent) !important;
}

.switch-input:checked ~ .custom-control-label::before {
    border-color: var(--accent) !important;
    background-color: var(--accent) !important;
}

.switch-input:active ~ .custom-control-label::before {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
}

.switch-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: var(--accent) !important;
}

::-webkit-scrollbar {
    border-color: var(--accent) !important;
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

::-webkit-scrollbar-thumb:active {
    background: rgba(0, 0, 0, .9);
}

.input-group-append button {
    border-radius: 0 0.25rem 0.25rem 0 !important;
}

del{
    text-decoration-color: red;
}

#filtroPrestaciones, #filtroPrestaciones::placeholder {
    font-size: 1.25rem;
}

.texto-placeholder-cortado:placeholder-shown {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.borde-izquierdo-redondeado {
    border-top-left-radius: 16px !important;
    border-bottom-left-radius: 16px !important;
}

#botonBuscarPrestacionPrincipal, #botonBuscarPrestacionSecundario {
    border-top-right-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
}
