body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #f4f4f4;
    /*margin: 20px;*/
    color: #002e6d !important;
}
.form {
    background-color: #ffffff;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}
.form h1 {
    text-align: center;
}
.form input, .form select {
    margin-bottom: 15px;
}
.form button {
    display: inline-block;
    background: #002e6d;
    color: #ffcd00 !important;
    padding: 12px;
    border: 0;
    font-size: 15px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
}
.form button:hover {
    color: #002e6d !important;
    background-color: #ffcd00 !important;
}
.form button:disabled {
    background-color: #e5e8ed !important;
    color: #fff !important;
    cursor: not-allowed !important;
}
.hidden-field {
    display: none;
}
.table {
    display: grid;
    grid-template-columns: 150px 100px 250px;
    width: max-content;
   /*margin-bottom: 0;
   */
    margin: auto;
}
.table .legend {
    display: flex;
    align-items: center;
    padding: 10px;
}
.table .schedule {
    grid-column: span 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-weight: bold;
    background-color: lightgray;
}
.table .day {
    grid-row: span 2;
    display: flex;
    align-items: center;
    padding: 10px;
    font-weight: bold;
}
.table .turn, .table .hour {
    display: flex;
    align-items: center;
    padding: 10px;
}
.hour {
    gap: 5px;
}
.hour span {
    position: relative;
    top: -8px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    max-width: 630px;
    width: 85%;
    max-height: 85%;
    overflow-y: auto;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.text-field {
    font-size: 14px !important;
    position: relative !important;
    vertical-align: middle !important;
    border: 1px solid #002e6d !important;
    background-color: white !important;
    height: auto !important;
    line-height: normal !important;
    padding: 4px 4px !important;
    color: #002e6d !important;
    border-radius: 10px !important;
    width: 98%;
    font-weight: normal;
}
.selectPublic {
    font-size: 14px !important;
    height: auto !important;
    line-height: normal !important;
    border: 1px solid #002e6d !important;
    background-color: white !important;
    padding: 4px 2px !important;
    width: 100% !important;
    border-radius: 10px !important;
    color: #002e6d !important;
    font-weight: normal;
}
.input-error {
    border: 2px solid red !important;
    display: inline-block;
}

/*Estilo para simular el contorno rojo en radio button*/
.input-error[type="radio"] {
    vertical-align: middle;
    margin-top: 10px;
    appearance: none;
    width: 13px;
    height: 13px;
    border: 2px solid red;
    border-radius: 50%;
    position: relative;
}

.input-error[type="radio"]:checked::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: red;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*Estilo para simular el contorno rojo en checkbox button*/
.input-error[type="checkbox"] {
    vertical-align: middle;
    margin-top: 10px;
    appearance: none;
    width: 13px;
    height: 13px;
    border: 2px solid red;
    position: relative;
}

.input-error[type="checkbox"]:checked::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: red;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*estilo para simular el select */
.custom-select {
    font-size: 14px !important;
    height: auto !important;
    line-height: normal !important;
    border: 1px solid #002e6d;
    background-color: white !important;
    padding: 4px 6px !important;
    width: 98% !important;
    border-radius: 10px !important;
    color: #002e6d !important;
    font-weight: normal;
    margin-bottom: 20px;
    position: relative;
    display: none;
}
.select-placeholder {
    font-size: 14px;
    color: #002e6d !important;
}
.select-options {
    font-size: 14px !important;
    height: auto !important;
    line-height: normal !important;
    border: 1px solid #002e6d !important;
    background-color: white !important;
    padding: 4px 4px !important;
    width: 98% !important;
    color: #002e6d !important;
    font-weight: normal;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1;
    display: none;
    position: absolute;
    top: 105%;
    left: 0;
}
.select-options label {
    display: flex;
    align-items: center;
    padding: 5px;
    cursor: pointer;
}
.select-options label:hover {
    background-color: #f0f0f0;
}
.popup {
    z-index: 999;
    top: 50% !important;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    box-shadow: 10px 10px 24px 2px rgba(0, 0, 0, 0.75);
    position: fixed;
    background: #fff;
    width: 485px;
    padding: 35px 30px;
    padding-top: 25px;
    display: none;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    margin: auto;
    flex-direction: column;
}

input[readonly] {
    background-color: #e0e0e0 !important;
    cursor: not-allowed;
}

#suggestions {
    position: absolute;
    border: 1px solid #ccc;
    background: white;
    max-height: 150px;
    overflow-y: auto;
    display: none;
    z-index: 1;
}

#suggestions div {
    padding: 5px;
    cursor: pointer;
}

#suggestions div:hover {
    background-color: #f0f0f0;
}

@media (max-width: 1000px) {
    .table {
        grid-template-columns: 100px 250px;
    }
    .table .day {
        justify-content: center;
    }
    .table .schedule, .table .day {
        grid-column: span 2;
    }
    .table .turn, .table .hour {
        grid-column: span 1;
    }

}

@media (min-width: 1001px) {
    .table {
        grid-template-columns: 150px 100px 250px 100px 250px;
    }
    .table .schedule {
        grid-column: span 5;
    }
    .table .day {
        grid-row: span 1;
    }
    .modal-content {
        max-width: 630px;
        width: 85%;
        max-height: 85%;
    }
}

#scheduleContainer .row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#scheduleContainer .col {
    padding: 0px;
    display: flex;
    flex-direction: row;
}

#scheduleContainer .schedulesDay:first-child {
    width: 25% !important;
    flex: none !important;
}

#scheduleContainer .schedulesDay:not(:first-child) {
    flex: 1 !important;
}

#scheduleContainer .text-field {
    flex: 1;
    margin-right: 5px;
    text-align: right;
    border: none !important;
    outline: none !important;
    margin:4px;
}

#scheduleContainer .text-label {
    flex: 1;
    margin-right: 5px;
}

.border-inicio1 {
    border: 1px solid black;
}

.border-inicio2 {
    border-bottom: 1px solid black;
    border-top: 1px solid black;
    border-right: 1px solid black;
    }

.border-medio1 {
    border-bottom: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
}

.border-medio2 {
    border-right: 1px solid black;
    border-bottom: 1px solid black;
}


.link-cookies{
    font-weight: bold;
    color: inherit;
    text-decoration: underline !important;
}

.direction-row {
    display: flex;
    gap: 10px;
}

.direction-main {
    flex: 2;
}

.autocomplete-wrapper {
    position: relative;
    flex: 1;
}

.suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    z-index: 1000;
}