/* --- ESTILOS DEL HEADER Y EL FOOTER */
@import url("../../../GlobalElements/HeaderFooter/css/stylesHeaderFooter.css");
@import url("../../../GlobalElements/Sponsors/css/styles_sponsors.css");
/* ---------------------------------------------------------------- */

/* Agrego otros estilos necesarios para el header */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', 'Roboto', sans-serif;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #000;
}

#search {
    width: 100%;
    background: none;
    border: none;
    padding: 0;
}

#modal-search {
    padding: 0;

}

.line {
    border-bottom: 2px solid #736B02;
}

fieldset {
    border: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 1rem;
}

input {
    border-radius: 8px;
    border: 1px solid #736B02;
    background: #F6F6F6;
    padding: .8rem .4rem;
}

.btn-return {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 2.4rem;
}

.show {
    display: block;
}

.return {
    background-color: #736B02;
    color: #ffffff;
    border: 0;
    border-radius: 5px;
    margin: 2rem 0;
    padding: .6rem 2rem;
    text-decoration: none;
    transition: .2s all ease-in-out;
    cursor: pointer;
}

.return:hover {
    background-color: #575101;
    transition: .2s all ease-in-out;
}

.return.btn-show {
    display: block;
}

.return.btn-hide {
    display: none;
}

.wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #F4F4F4;
}

.form_title {
    font-size: 3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.container-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-direction: row;
}

main {
    width: 80%;
    height: 100%;
    margin-bottom: 6rem;
}

main .main-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

.asociation-form {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.asociation-form .container {
    width: 80%;
}

.subtitles-form {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin: 2rem 0;
}

.subtitles-form .subtitle {
    color: #7C7C7C;
    font-size: 20px;
    text-align: center;
}

.subtitles-form .subtitle.bold {
    color: #000;
    font-weight: bold;
    text-decoration: underline;
}

/* Inputs */
.date-ocupation-state {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.date, .ocupation, .state {
    display: flex;
    flex-direction: column;
}

.inputs {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.date {
    width: 50%;
}

.input-date {
    width: 98%;
}

.ocupation-state {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ocupation {
    width: 50%;
}

.state {
    width: 50%;
}

.input-ocupation {
    width: 95%;
}

.input-state {
    width: 100%;
}

/* Direccion */
.adress {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.data-adress {
    display: flex;
    flex-direction: column;
    width: 40%;
}

.height {
    display: flex;
    flex-direction: column;
    width: 30%;
}

.floor {
    display: flex;
    flex-direction: column;
    width: 30%;
}

.department {
    display: flex;
    flex-direction: column;
    width: 30%;
}

.adress-inputs {
    width: 60%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 1rem;
}

/* Codigo postal */
.province-town-postal_code {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.province-town {
    display: flex;
    flex-direction: column;
    width: 67%;
}

.province-town-select {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #736B02;
    background: #F6F6F6;
    padding: .8rem .4rem;
}

.postal-code {
    display: flex;
    flex-direction: column;
    width: 30%;
}

/* course confirmation */
.course-confirm {
    display: flex;
    flex-direction: column;
}

.confirm {
    border-radius: 8px;
    border: 1px solid #736B02;
    background: #F6F6F6;
    padding: .8rem .4rem;
}

/* Btn submit */
.text-form {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

/* estilos para la cuota dinamica */
.dynamic-quote {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.69rem;
    align-items: center;
    padding: 1.375rem 1.9375rem;
    background: #F6F6F6;
    border-radius: 1.8125rem;
    box-shadow: 4px 4px 12.1px 0px rgba(0, 0, 0, 0.10);
    margin-top: 2.37rem;
}

.dynamic-quote .plan {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.paragraph-form {
    width: 80%;
    text-align: justify;
    line-height: 30px;
    color: #7C7C7C;
}

.btn-submit {
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit {
    transition: .2s all ease-in-out;
    border: 0;
    border-radius: 8px;
    background: #736B02;
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1rem;
}

.submit:hover {
    transition: .2s all ease-in-out;
    background: #575202;
    color: #ffffff;
    cursor: pointer;
}

.submitPay {
    transition: .2s all ease-in-out;
    border: 0;
    border-radius: 8px;
    background: #736B02;
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1rem;
    margin-top: 1.5rem;
}

.submitPay:hover {
    transition: .2s all ease-in-out;
    background: #575202;
    color: #ffffff;
    cursor: pointer;
}


/* Estilos formulairo de pago */
.pay-form {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.form-group,
.year-month-cvc {
    width: 100%;
}

.year-month-cvc {
    display: flex;
    flex-direction: column;
}

.rows {
    display: flex;
    flex-direction: column;
}

.columns {
    display: flex;
}

/* MES en el formulario de pagos */
.m, .margin {
    margin-right: 1rem;
}

.subtitle.active-subtitle {
    color: #000;
    font-weight: bold;
    text-decoration: underline;
}

.subtitle.disabled-subtitle {
    color: #7C7C7C;
    font-weight: bold;
    text-decoration: none;
}

.container-data-cvc {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.select-pay-method {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #736B02;
    background: #F6F6F6;
    padding: .8rem .4rem;
}

.disabledStep2 {
    pointer-events: none;
    cursor: default;
    background-color: #7C7C7C;
}

.errorInput {
    border: 2px solid rgb(147, 6, 6);
    border-radius: 8px;
}

.hide-input {
    display: none;
}

.show-input {
    display: flex;
}

/* ESTILOS MODAL PAGOS */
.news-events-max {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #00000083;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
}

.news-events-max.close-modal-p {
    display: none;
}

.news-events-max.active-modal {
    display: flex;
}

.max-image-container {
    min-width: 1013px;
    max-width: 1013px;
    max-height: 1363px;
    width: 50%;
    height: 90%;
    background-color: #fff;
    border-radius: 5px;

    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;

    position: relative;
    transition: .2s all ease-in-out;
    overflow-y: scroll;
}

.modal-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 87%;
    margin-top: 2rem;
    padding: 1rem;
}

.maximized-img {
    width: 100%;
    height: 90%;
    border-radius: 5px;
    max-width: 870px;
    max-height: 743px;
    object-fit: fill;
}

.modal-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin: 1rem 0;

}

/* ESTILOS DE LA MODAL PARA EL FORM DE PAGOS */
.container-modal-pay {
    background-color: #fff;
    border-radius: 5px;
    padding: 1rem;
    display: flex;
    margin: 1rem;
    display: flex;
    flex-direction: column;
}

.container-modal-pay p {
    text-align: justify;
}

.modal-text-description {
    margin: .8rem 0;
    font-size: 1rem;
    line-height: 30px;
    text-align: justify;
    width: 100%;
}

.container-btn-modal {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.container-btn-modal i {
    display: flex;
}

.close-modal {
    width: 50px;
    height: 50px;
    background-color: rgb(167, 7, 7);
    color: #fff;
    border: none;
    border-radius: 5px;
    z-index: 2000;
    font-size: 2rem;
    /* padding: .5rem; */
    cursor: pointer;
    transition: .2s all ease-in-out;

    display: flex;
    justify-content: center;
    align-items: center;
}

.close-modal:hover {
    background-color: rgb(107, 5, 5);
    transition: .2s all ease-in-out;
}

/* formularios de pago */
.hide-form {
    display: none;
}

.show-form {
    display: flex;
}

.submitPay2 {
    transition: .2s all ease-in-out;
    border: 0;
    border-radius: 8px;
    background: #736B02;
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1rem;
}

.texto-metodo-pago {
    margin-bottom: 1rem;
}

.plan-adherente-texto {
    color: #686868;
}

.price-adherente {
    margin-left: 1rem;
}

@media screen and (max-width: 1140px) {
    /* Estilos para que los sponsors se adapten como columna */
    .wrapper .container-wrapper {
        flex-direction: column;
    }

    .wrapper .statute_title {
        margin: 2rem 0;
    }

    .wrapper .container-wrapper main {
        width: 100%;
    }

    .wrapper .container-wrapper main .main-container .statute {
        margin: 0;
    }
}

@media screen and (max-width: 900px) {
    .course-confirm {
        width: 100%;
    }

    .wrapper .container-wrapper main .main-container .asociation-form .container form {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    fieldset {
        width: 100%;
    }

    .wrapper .container-wrapper main .main-container .asociation-form .container form fieldset input {
        width: 100%;
    }

    .wrapper .container-wrapper main .main-container .asociation-form .container form .date-ocupation-state {
        flex-direction: column;
    }

    .wrapper .container-wrapper main .main-container .asociation-form .container form .date-ocupation-state .date {
        width: 100%;
        margin-bottom: 1rem;
    }

    .wrapper .container-wrapper main .main-container .asociation-form .container form .date-ocupation-state .date .input-date {
        width: 100%;
        margin-bottom: 1rem;
    }

    .wrapper .container-wrapper main .main-container .asociation-form .container form .date-ocupation-state .ocupation-state {
        width: 100%;
    }

    .wrapper .container-wrapper main .main-container .asociation-form .container form .date-ocupation-state .ocupation .input-ocupation {
        width: 95%;
    }

    .wrapper .container-wrapper main .main-container .asociation-form .container form .adress {
        width: 100%;
        flex-direction: column;
    }

    .wrapper .container-wrapper main .main-container .asociation-form .container form .adress .data-adress {
        width: 100%;
        margin-bottom: 1rem;
    }

    .wrapper .container-wrapper main .main-container .asociation-form .container form .adress .adress-inputs {
        width: 100%;
        margin-left: 0;
    }

    .wrapper .container-wrapper main .main-container .asociation-form {
        width: 100%;
    }

    .wrapper .container-wrapper main .main-container .container {
        width: 90%;
    }

    .wrapper .container-wrapper main .main-container .asociation-form .container form .btn-submit .submit {
        width: auto;
    }
}

@media screen and (max-width: 730px) {
    .subtitles-form .subtitle {
        font-size: 16px;
    }

    .plan-adherente-texto {
        font-size: .9rem;
        text-wrap: balance;
    }
}

@media screen and (max-width: 650px) {
    .wrapper .from-title {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 600px) {
    .subtitles-form {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .subtitles-form .subtitle {
        margin-bottom: 1rem;
    }
}

@media screen  and (max-width: 550px) {
    .wrapper .container-wrapper main .main-container .asociation-form .container form .btn-submit {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .wrapper .container-wrapper main .main-container .asociation-form .container form .btn-submit .submit {
        width: auto;
    }

    .wrapper .container-wrapper main .main-container .asociation-form .container form .text-form {
        width: 100%;
    }

    .wrapper .container-wrapper main .main-container .asociation-form .container form .text-form .paragraph-form {
        width: 100%;
    }


}

@media screen and (max-width: 380px) {
    .margin {
        margin-right: 0;
        margin-bottom: 1.4rem;
    }

    .year-month-cvc {
        flex-direction: column;
    }
}

/* Estilos y mediaqueries del buscador */
.modal-searchbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-search {
    background: none;
    border: none;
    width: 100%;
    margin-left: 10px;

}

.results-container,
.modal-results-container {
    width: 100%;
    max-width: 1265px;
}

.results-container .section-title,
.modal-results-container .section-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.8rem;
}

.modal-content .container {
    max-width: 1265px;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.56rem;
}

.search-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;

    border-radius: 15px;
    background: #F1F1F1;
    box-shadow: 0px 2px 10px 1px rgba(0, 0, 0, 0.25);
    border: none;
    width: 100%;
    padding: .44rem .63rem;
}

.modal-content {
    background: rgba(241, 241, 241, 0.95);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1536px;
    max-height: 80%;
    width: 100%;
    overflow: auto;
    position: relative;
    display: flex;
    justify-content: flex-start;;
    align-items: center;
    flex-direction: column;
    margin: 2rem;
    gap: 3.75rem;
    position: relative;
}

.modal-content .modal-list {
    padding: 0;
    margin: 0;
    margin-left: 1rem;
}

.modal-content .modal-list .modal-link {
    color: #000;
    text-decoration: none;
    transition: .2s all ease-in-out;
}

.modal-content .modal-list .modal-link:hover {
    color: #736b02;
    transition: .2s all ease-in-out;
}

.modal-content .modal-list li {
    margin-bottom: 5px;
    color: #000;
    font-family: 'Nunito', sans-serif;
}

.item-title {
    text-decoration: underline;
}

.modal-content button.close-button {
    padding: 5px 10px;
    cursor: pointer;
    background-color: none;
    border: none;
    border-radius: 4px;
    font-size: 25px;
    color: #FF0000;
    background: none;
    margin-left: 2.5rem;
    transition: .2s all ease-in-out;
}

.modal-content button.close-button:hover {
    transition: .2s all ease-in-out;
    color: #d30303;
}

.scroll-to-top {
    position: fixed;
    bottom: 120px;
    /* right: 30px; */
    z-index: 1000;
    padding: 10px 15px;
    background-color: #736b02;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 25px;
    transition: .2s all ease-in-out;
    border-radius: 100%;
    box-shadow: 10px 10px 39px -2px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 10px 10px 39px -2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 10px 10px 39px -2px rgba(0, 0, 0, 0.25);
    width: 50px;
    height: 50px;
}

.scroll-to-top:hover {
    background-color: #554f02;
    transition: .2s all ease-in-out;
}

/* RESPONSIVE */
@media screen and (max-width: 1412px) {
    .results-container, .modal-results-container {
        max-width: 1240px;
        margin-left: 1rem;
    }
}

@media screen and (max-width: 800px) {
    .modal-content {
        gap: 1.8rem;
    }

    .modal-content .container {
        margin-top: 1.2rem;
    }
}

@media screen and (max-width: 380px) {
    .modal-content button.close-button {
        margin-left: .5rem;
        font-size: 20px;
    }

    .results-container .section-title,
    .modal-results-container .section-title {
        font-size: 1.4rem;
    }
}

.modal-searchbox {
    display: none;
}