﻿.p_home__main {
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-height: 100vh;
    padding-bottom: 120px;
}

.p_home__container {
    width: 100%;
    max-width: 500px;
    margin: auto;
    /*min-height: 100vh;*/
}

.p_home__bg_img_container {
    width: 100%;
    height: 340px;
    background-image: url('../../../../Imagenes/home-mobile.png');
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 16px;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.p_home__bg_img_wrap {
    max-width: 410px;
    margin: auto;
}

.p_home__bg_img_logo {
    width: 110px;
    margin-bottom: 72px;
}

.p_home__bg_img_logo img {
    width: 100%;
    height: 100%;
}

.p_home__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 34.13px;
    letter-spacing: 0em;
    text-align: left;
}

.p_home__subtitle {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: left;
    margin-top: 8px;
}

.p_home__form_container {
    padding: 32px 16px;
    padding-bottom: 0;
}

.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: #dc3545;
    background-position: 95% 50%;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.p_home__wrap_input {
    margin-top: 16px;
}

.p_home__wrap_input:first-child {
    margin-top: 0;
}

.p_home__form_wrap {
    margin-top: 16px;
}

.p_home__form_wrap:first-child {
    margin-top: 0;
}

.p_home__form_wrap label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: left;
    color: #1F2937;
}

.p_home__form_wrap input {
    margin-top: 8px;
    width: 100%;
    height: 48px;
    padding: 12px 16px 12px 20px;
    border-radius: 28px;
    border: 1px solid #6B7280;
    background-color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
}

.p_home__form_wrap input::placeholder {
    color: #9CA3AF;
}

.p_home__form_wrap input:focus {
    border-color: #1D4ED8;
}

.focusLabel {
    color: #1D4ED8 !important;
}

.p_home__wrap_calendar {
    position: relative;
}

.p_home__wrap_calendar > input {
    background: url('../../../../Imagenes/Icono/calendar.svg') center no-repeat;
    background-size: 34px 24px;
    background-position-x: calc(100% - 16px);
}

.p_home__wrap_calendar .form-control.is-invalid {
    background: url('../../../../Imagenes/Icono/calendar_error.svg') center no-repeat;
    background-size: 34px 24px;
    background-position-x: calc(100% - 16px);
}

.p_home__wrap_calendar_icon {
    background-color: transparent;
    position: absolute;
    width: 34px;
    height: 34px;
    top: 8px;
    right: 16px;
    cursor: pointer
}

/*.p_home__wrap_calendar_icon > div {
    background-color: transparent;
    position: absolute;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    width: 100%;
    height: 100%;*/
    /*background: url('../../../../Imagenes/Icono/calendar.svg') center no-repeat;
    background-size: 34px 24px;*/
    /*cursor: pointer;
    outline: none;*/
    /*color: transparent !important;*/
/*}*/

.prevent-select {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.prevent-select::selection {
    background: url('../../../../Imagenes/Icono/calendar.svg') center no-repeat;
}

.p_home__calendar_error {
    background: url('../../../../Imagenes/Icono/calendar_error.svg') center no-repeat !important;
    color: transparent !important;
}

.p_home__wrap_calendar_icon input:focus {
    border-color: transparent;
}

.p_home__form_wrap_authorization {
    margin-top: 24px;
    width: 100%;
}

.p_home__form_wrap_checkbox_container {
    display: flex;
    align-items: flex-start;
}

.p_home__form_wrap_checkbox {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.p_home__form_wrap_checkbox input[type=checkbox] {
    width: 24px;
    height: 24px;
    appearance: none;
    border-radius: 4px;
    border: 2px solid #D1D5DB;
}

.p_home__form_wrap_checkbox input[type=checkbox]:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
    background-image: url("../../../../Imagenes/Icono/check.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.p_home__form_wrap_checkbox_container h7 {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: left;
    color: #1F2937;
}

.p_home__form_wrap_checkbox_container a {
    color: #1D4ED8;
    text-decoration: none;
}

.p_home__form_wrap_checkbox_container a:visited {
    color: #1D4ED8;
}

.p_home__form_wrap_checkbox_container a:link {
    color: #1D4ED8;
}

.p_home__captcha_container {
    width: max-content;
    margin-top: 32px;
}

.p_home__btn_request {
    width: 100%;
    height: 56px;
    padding: 16px 24px 16px 24px;
    border-radius: 28px;
    background-color: #163BA2;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: center;
    color: #FFFFFF;
    margin-top: 24px;
    border: 0;
}

.p_home__btn_request:hover {
    background-color: #8AA5EF;
}

.p_home__btn_request:active {
    background-color: #0F276C;
}

@media only screen and (min-width: 445px) {
    .p_home__main {
        padding-bottom: 100px;
    }
}

@media only screen and (min-width: 768px) {

    .p_home__main {
        padding-bottom: 70.6px;
    }

    .p_home__container {
        display: flex;
        min-height: calc(100vh - 70.6px);
        justify-content: center;
        margin: 0;
        max-width: none;
    }

    .p_home__section_left {
        flex: 1;
        max-width: 557px;
    }

    .p_home__bg_img_container {
        height: 100%;
        background-image: url('../../../../Imagenes/home-desk.png');
        padding: 0;
        padding-left: 64px;
        padding-top: 48px;
        justify-content: flex-start;
        flex-direction: row;
        background-position: bottom right;
    }

    .p_home__bg_img_wrap {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .p_home__bg_img_logo {
        width: 110px;
        margin-bottom: 0px;
    }

    .p_home__bg_img_text {
        width: 100%;
        max-width: 356px;
        height: calc(100% - 94px);
        display: flex;
        align-items: center;
    }

    .p_home__title {
        font-size: 34px;
        line-height: 41.45px;
    }

    .p_home__form_container {
        flex: 1;
        padding: 8px 0;
        padding-bottom: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .p_home__form {
        padding: 0 24px;
        max-width: 552px;
    }

    .p_home__wrap_input {
        display: flex;
        gap: 8px;
    }

    .p_home__form_wrap {
        margin-top: 0;
        flex: 1;
    }

    .g-recaptcha {
        transform: scale(0.98);
        transform-origin: 0 0;
    }

    .p_home__captcha_container {
        margin-top: 24px;
    }

    .p_home__btn_request {
        width: 268px;
        margin-top: 24px;
    }
}

@media only screen and (min-width: 847px) {
    .p_home__main {
        padding-bottom: 50.8px;
    }

    .p_home__container {
        min-height: calc(100vh - 50.8px);
    }
}

@media only screen and (min-width: 1120px) {

    .p_home__wrap_input {
        gap: 16px;
    }
}

@media only screen and (min-width: 1440px) {
    .p_home__section_left {
        max-width: 45%;
    }

    .p_home__bg_img_container {
        background-position: center right !important;
    }
}

@media only screen and (min-width: 1920px) {

    .p_home__section_left {
        min-width: 848px;
        max-width: none;
    }
}
