@import url(/libraries/font-awesome/css/font-awesome.min.css);

h3, h4, p, button{ font-family: Lato;}
h3 {font-size: 18px}
h4 {font-size: 15px;}

h1, h2, h3, h4, h5 {
    line-height: 1.2857em;
    font-weight: 700;
    margin: 10px;
    padding: 0;
}

h1 {
    font-size: 2em;
    color: #1e3a8a;
    margin-bottom: 20px;
}

/* Helper */
.mr5 {margin-right: 5px;} .mr10 {margin-right: 10px;} .mr15 {margin-right: 15px;}
.ml5 {margin-left: 5px;} .ml10 {margin-left: 10px;} .ml15 {margin-left: 15px;}
.mb5 {margin-bottom: 5px;} .mb10 {margin-bottom: 10px;} .mb15 {margin-bottom: 15px;} .mb20 {margin-bottom: 20px;}
.taCenter {text-align: center;}
.mt-10{margin-top:10px;}.mt-20{margin-top:20px;}.mt-30{margin-top:30px;}
.mr-10{margin-right:10px;}.mr-20{margin-right:20px;}.mr-30{margin-right:30px;}
.f-r{float:right;}.f-l{float:left;}
.separator-4{height:4px;}.separator-5{height:5px;}.separator-10{height:10px;}.separator-20{height:20px;}.separator-30{height:30px;}.separator-40{height:40px;}.separator-50{height:50px;}.separator-70{height:70px;}

.page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header{
    background-color: #65943e; 
    display: inline-block; 
    width: 100%;
}

.btn {
    font-family: Montserrat;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 14px;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-primary {
    background: #65943e;
    border: 1px solid #65943e;
    width: 150px;
    -webkit-box-shadow: 0 2px 2px 0 rgba(116, 96, 238, 0.14), 0 3px 1px -2px rgba(116, 96, 238, 0.2), 0 1px 5px 0 rgba(116, 96, 238, 0.12);
    box-shadow: 0 2px 2px 0 rgba(116, 96, 238, 0.14), 0 3px 1px -2px rgba(116, 96, 238, 0.2), 0 1px 5px 0 rgba(116, 96, 238, 0.12);
    -webkit-transition: 0.2s ease-in;
    -o-transition: 0.2s ease-in;
    transition: 0.2s ease-in;
}

.btn-secondary {
    -webkit-box-shadow: 0 2px 2px 0 rgba(169, 169, 169, 0.14), 0 3px 1px -2px rgba(169, 169, 169, 0.2), 0 1px 5px 0 rgba(169, 169, 169, 0.12);
    box-shadow: 0 2px 2px 0 rgba(169, 169, 169, 0.14), 0 3px 1px -2px rgba(169, 169, 169, 0.2), 0 1px 5px 0 rgba(169, 169, 169, 0.12);
    -webkit-transition: 0.2s ease-in;
    -o-transition: 0.2s ease-in;
    transition: 0.2s ease-in;
    background-color: #ffffff;
    color: #67757c;
    border-color: #b1b8bb;
    width: 150px;
}

.btn-aurea {color: white;background: #6ab52b;border: 1px solid #9bcb64;-webkit-box-shadow: 0 2px 2px 0 rgba(116, 96, 238, 0.14), 0 3px 1px -2px rgba(116, 96, 238, 0.2), 0 1px 5px 0 rgba(116, 96, 238, 0.12);box-shadow: 0 2px 2px 0 rgba(116, 96, 238, 0.14), 0 3px 1px -2px rgba(116, 96, 238, 0.2), 0 1px 5px 0 rgba(116, 96, 238, 0.12);-webkit-transition: 0.2s ease-in;-o-transition: 0.2s ease-in;transition: 0.2s ease-in;}
.btn-aurea:hover {color: white;background: #9bcb64;border: 1px solid #6ab52b;}
.btn-primary.disabled, .btn-primary:disabled {background-color: #4a4a4a;}
.btn-secondary:hover {background-color: #a7acb0;}

label.control-label{color: rgba(51, 51, 51, 0.85);font-weight: 600;}
.row{margin-right: 0px;margin-left: 0px;}

/* Clase para el color de texto negro */
.text-black {
    color: #000;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0px 10px 20px 10px;
    text-align: center;
}


/* Agendar cita */
.container-flex {
    display: flex;
    align-items: center; /* Alinea verticalmente */
    justify-content: space-between; /* Espacio entre elementos */
}

/* Contenedor principal con altura fija y botones alineados abajo */
.step-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Diseño de las tarjetas */
.card-selection {
    width: 90%;
    border: 2px solid #98d36d;
    padding: 10px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
    text-align: center;
    border-radius: 8px;
}
.card-selection.selected {
    border-color: #65943e;
    background-color: #e3ffca;
}

/* Clase para el color de texto negro */
.text-black {
    color: #000;
}

/* Diseño para el subtítulo en la tarjeta del distrito */
.subheader {
    font-family: Montserrat;
    font-size: 0.9rem;
    color: #555;
}

/* Asegurar tamaño consistente y cuadrícula en pantallas grandes */
.step-grid, .time-grid {
    display: grid;
    gap: 0px;
}

.img-circle {
    border-radius: 100%;
}

.hide {
    display: none;
}

/* Ajuste de columnas para diferentes tamaños de pantalla */
@media (min-width: 1200px) {
    .step-grid { grid-template-columns: repeat(2, 1fr); /* 7 columnas en pantallas grandes */ }
    .time-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .step-grid { grid-template-columns: repeat(2, 1fr); }
    .time-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 767px) {
    .step-grid { grid-template-columns: repeat(2, 1fr); }
    .time-grid { grid-template-columns: repeat(5, 1fr); }
}

/* Botones de navegación */
.btn-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}

.day-column {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    text-align: center;
}

.day-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    width: 75px;
}

.slot-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 3 slots por fila en desktop */
    width: 75px;
}

/* Estilos para mobile */
@media (max-width: 768px) {
    .day-column {
        width: 100%; /* Columna completa en móvil */
    }

    .slot-container {
        grid-template-columns: 1fr; /* 1 slot por fila en mobile */
    }
}

.time-slot{
    background-color: #e0ffbd;
    border-color: transparent;
    color: #65943e;
    font-weight: 500;
    margin: 0px 10px 5px 10px;
}

#prevWeek, #nextWeek{
    background-color: #e0ffbd;
    border-color: transparent;
    color: #65943e;
}

/* Summary */
.summary-container {
    display: flex;
    justify-content: space-around;
    border: 2px solid #98d36d;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
}

.summary-item {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    padding: 7px;
}

.summary-icon {
    font-size: 24px; 
    margin-bottom: 5px; 
}

.summary-value {
    font-size: 14px; 
    color: #333; 
}

.summary-item:hover, .summary-item.active {
    transition: background-color, box-shadow, color;
    background-color: rgba(138, 21, 56, 0.07);
    color: #65943e;
    text-decoration: underline transparent;
}

.css-1w74tai {
    background-color: #CCCCCC;
    width: 0.0625rem;
    height: 1.125rem;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;
    margin-right: 5px;
}

#paso5 .form-control {
    width: 100% !important;
}

.footer {
    bottom: 0;
    width: 100%;
    background-color: #65943e;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Inicio Cookies */
#cookies_banner {
    align-items: center;
    background: #fff;
    bottom: 0;
    color: #000;
    display: none;
    flex-direction: row;
    justify-content: center;
    left: 0;
    line-height: 1.25rem;
    padding: 1rem;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 888;
    box-shadow: 0 2px 20px rgba(0,0,0,.15)
}

#cookies_banner p {
    display: inline
}

#cookies_banner a {
    margin: 0 5px 0 0;
    cursor: pointer;
    display: inline;
    text-decoration: underline
}

.cookies_container {
    padding-top: 15px;
    display: block
}

.cookies_message {
    width: 75%;
    text-align: left;
    display: table-cell;
    vertical-align: middle;
    padding-right: 5%;
    font-size: 13px
}

#cookies_accept {
    text-align: center;
    width: 100%;
    line-height: 15px;
    background-color: #98d36d;
    border-color: transparent;
    border-width: 1px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: .875rem;
    padding: .8rem 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .025em;
    max-height: 64px
}

@media only screen and (max-width: 600px) {
    .cookies_container {
        padding-top:15px;
        display: block
    }

    .cookies_message {
        display: block;
        width: 100%;
        float: left;
        margin-bottom: 15px;
        padding-right: 0;
        line-height: 16px
    }

    #cookies_accept {
        padding: .75rem 2.5rem
    }

    #cookies_banner a {
        margin: 3px 0;
        display: inline-block
    }
}

.cookies-modal-body,.cookies-modal-footer {
    display: block;
    overflow: auto;
    position: relative
}

#cookies-modal {
    background: #fff
}

.cookies-modal-body {
    padding: 15px;
    border-top: 4px solid #8bc954
}

.cookies-section {
    padding: 15px;
    display: block;
    float: left;
    width: 100%;
    border: 1px solid #e4e3e3;
    margin-bottom: 15px;
    border-radius: 2px;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.1)
}

.cookies-section-name {
    display: block;
    float: left;
    width: 80%;
    font-weight: 700;
    padding: 10px 15px
}

.cookies-section-description {
    display: block;
    float: left;
    width: 100%;
    padding: 10px 15px
}

.cookies-section-checkbox {
    display: block;
    float: left;
    width: 20%;
    text-align: right;
    padding-right: 25px
}

.cookies-modal-footer {
    width: 100%;
    bottom: 0;
    border: 0;
    border-top: 1px solid #e4e3e3;
    padding: 15px
}

.cookies-section-description ul li {
    color: #5c5c5c;
    position: relative;
    width: 100%;
    display: inline-block;
    z-index: 1;
    margin: 6px 0;
    line-height: 1em
}

.cookies-section-description ul li:before {
    content: "\2714";
    color: #8bc954;
    font-size: 1em;
    position: absolute;
    top: 0;
    left: -18px;
    z-index: 2;
    width: 12px;
    height: 12px
}

.cookies_switch div.checker,.cookies_switch div.checker input,.cookies_switch div.checker span,.cookies_switch input {
    width: 0!important;
    height: 0!important
}

.cookies_switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px
}

.cookies_slider_option_left,.cookies_slider_option_right {
    position: absolute;
    display: inline-block;
    line-height: 34px;
    font-weight: 700
}

.cookies_slider_option_left {
    left: -35px
}

.cookies_slider_option_right {
    left: 70px
}

.cookies_switch input {
    opacity: 0!important
}

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

.cookies_slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .4s
}

input:checked+.cookies_slider {
    background-color: #8BC954
}

input:focus+.cookies_slider {
    box-shadow: 0 0 1px #8BC954
}

input:checked+.cookies_slider:before,.cookies_slider_checked:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px)
}

.cookies_slider.round {
    border-radius: 34px
}

.cookies_slider.round:before {
    border-radius: 50%
}

.cookies-modal-footer-left {
    width: 50%;
    float: left;
    text-align: left;
    overflow: auto
}

.cookies-modal-footer-right {
    width: 50%;
    float: left;
    text-align: right;
    overflow: auto
}

#cookies-close {
    cursor: pointer;
    background: 0 0
}

#cookies-save {
    color: #fff;
    background: #8bc954
}

.cookies_overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.5)
}

.cookies_btn_accept_big {
    margin-top: 15px!important;
    height: 40px!important
}

#cookies_banner_overlay,.cookies_logo {
    display: none
}

.lgcookies_hidden {
    display: inline
}

.lgcookies_leermas {
    display: none;
    color: #666;
    text-decoration: underline;
    cursor: pointer
}

@media only screen and (max-width: 600px) {
    #cookies_banner_overlay {
        display:block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,.5);
        z-index: 777
    }

    .lgcookies_leermas {
        display: inline
    }

    #cookies_banner {
        bottom: 20px;
        right: 0;
        margin: auto;
        width: 90%;
        z-index: 888
    }

    .cookies_logo {
        display: block;
        margin: 0 auto 5px
    }

    .lgcookies_hidden,#cookies_banner a.lgcookies_hidden {
        display: none
    }

    #cookies_banner .container {
        padding: 15px!important
    }

    .cookies-modal-footer-left {
        width: 100%;
        float: right;
        text-align: center
    }

    .cookies-modal-footer-right {
        width: 100%;
        float: left;
        text-align: center
    }

    .cookies-section-name {
        width: 50%
    }

    .cookies-section-checkbox {
        width: 50%
    }
}

@media only screen and (min-width: 600px) {
    #cookies_accept {
        max-width:300px;
        display: table-cell
    }
}

.cookies_customize_cookies {
    display: block;
    margin: .8rem 0
}
/* Fin Cookies */
