.bg-form-color {
    background-color: #007A87;
}

/* ERROR INPUT , ALERT, MESSAGE */

.input-error {
    border: 1px solid #dc3545 !important;
}

.btn-select-option.input-error {
    border: 1px solid #dc3545 !important;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.alert {
    padding: 12px 16px;
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
    border-radius: 4px;
}

.alert-icon {
    padding-right: 16px;
}

.d-none {
    display: none !important;
}

#emailTelefonoError {
    width: 100%;
    max-width: 900px;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 18px;
    font-size: 18px;
    color: #1D1D1B;
    border: 1px solid #989AA2;
    background-color: #F7F7F8;
    margin-bottom: 32px;
}

#emailTelefonoError .error-info-icon {
    padding-right: 16px;
}

/* FORM */

#mainForm {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#formAlert {
    display: flex;
    width: 100%;
    max-width: 900px;
    padding: 0;
}

.alert-text {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin-bottom: 0;
}

.alert-text li {
    width: 100%;
    max-width: 900px;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 18px;
    font-size: 18px;
    color: #1D1D1B;
    border: 1px solid #CA2020;
    background-color: #FBEDED;
    margin-bottom: 32px;
}

.my-32 {
    margin-top: 32px;
    margin-bottom: 32px;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #F8F8F8;
}

.main-container,
.footer-container {
    max-width: 917px;
    margin-left: auto;
    margin-right: auto;
}

.footer-container {
    margin-bottom: 32px;
}

form {
    padding: 16px;
}

form input {
    border: none;
}

.form-container {
    padding: 0 24px;
}

.comment-container {
    margin-bottom: 24px;
}

/* CARD */

.card {
    border: 0;
}

.card-header {
    padding: 32px 24px 16px;
    margin-bottom: 24px;
}

.card-header__title {
    font-size: 50px;
    font-weight: 700;
}

.card-header__subtitle {
    font-size: 18px;
    font-weight: 400;
}

.main-title {
    font-size: 18px;
    font-weight: 700;
    color: #007A87;
    margin-bottom: 16px;
}

/* INPUT */
input.form-control, 
select.form-select, 
textarea.form-control {
    border: none;
    border-bottom: 1px solid #E2E4E5;
}

textarea {
    height: 92px;
}

.form-control::placeholder {
    color: #8F8F8F;
}

.form-notas {
    font-size: 11px;
    box-sizing: content-box;
    color: #777;
}

.form-notas dd {
    margin-bottom: 0;
}

.form-aepd-title {
    font-size: 11px;
    margin: 0 0 0.5em;
}

.form-check {
    margin-bottom: 32px;
}

.form-check-label a {
    text-decoration: none;
    color: #007A87;
}

.form-check-input:checked {
    background-color: #007A87;
    border-color: #007A87;
}

.input-container {
    margin-bottom: 24px;
}

/* SELECT */

.select-option-block {
    font-size: 18px;
    margin-bottom: 32px;
}

.btn-select-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid #007A87;
    flex-wrap: wrap;
    height: 56px;
    cursor: pointer;
    padding: 1rem;
}

.option-a {
    border-radius: 6px 0 0 6px;
}

.option-b {
    border-radius: 0 6px 6px 0;
}

.select-option-container {
    margin-bottom: 24px;
}

/* CHECKBOX */

.btn-check:checked+.btn-select-option {
    background-color: #007A87;
    color: white;
}

#enviarBtn {
    font-size: 18px;
    width: 179px;
    height: 48px;
    background-color: #007A87;
    border: 1px solid #007A87;
    color: white;
}

/* THANK YOU & REQUEST RECEIVED PAGES */

.thankyou-card,
.request-received-card {
    max-width: 971px;
    width: 100%;
    padding: 1.25rem;
}

.back-to-home-btn {
    margin-top: 64px;
}

.back-to-home-btn a {
    width: 179px;
    height: 40px;
}

.check-icon-container {
    margin-bottom: 24px;
}

.text-container {
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    margin-bottom: 32px;
}

.info-container h4 {
    margin-bottom: 24px;
}

/* ERROR 404 PAGE */

.error-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 100px auto;
    background: white;
    padding: 64px 90px 81px;
    text-align: center;
}

.error-text-container {
    max-width: 455px;
    width: 100%;
    padding-left: 40px;
}

.error-icon {
    font-size: 4rem;
    color: #e74c3c;
}

.error-title {
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 20px;
}

.error-text {
    margin-top: 10px;
    color: #666;
}

/* CALENDAR */

.datepicker-container {
    height: 70px;
}

.noValidate .typeCalendar.validation{
	border-top-right-radius: 6px!important;
	border-bottom-right-radius: 6px!important;
}

.calendar{
	margin: auto;
}

.typeCalendar{
    background-image: url("../../img/comun/formularios/calendar.png");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 16px;
	cursor: pointer;
}

.datepicker{
    padding: 10px!important;
}

.datepicker td{
    padding: 7px!important;
}

.datepicker .dow{
    font-size: 12px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    form {
        padding: 0.5rem;
    }

    .form-container {
        padding:  0 12px;
    }

    .main-container {
        padding: 0;
    }

    .card-header {
        margin-bottom: 16px;
    }

    .card-header__title {
        font-size: 24px;
    }

    .card-header__subtitle {
        font-size: 16px;
    }

    .btn-select-option {
        text-align: center;
        font-size: 12px;
        padding: 8px;
        flex-wrap: nowrap;
    }

    .alert-text li {
        font-size: 12px;
    }

    .thankyou-card,
    .request-received-card {
        padding: 0.5rem;
    }

    .back-to-home-btn {
        margin-top: 32px;
        display: flex;
        justify-content: center;
    }

    .error-container {
        flex-direction: column;
        padding: 40px 20px 40px;
    }

    .error-text-container {
        padding-left: 0;
    }
}