/***************************************/
/**             GENERALES             **/
/***************************************/

html {
    overflow: hidden;
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #333;
    color: #fff;
    font-family: "Open Sans", "Helvetica", sans-serif;
    font-size: 16px;
    transition: opacity 10s ease-in-out;
}

.hidden {
    display: none;
}

.form_error {
    color: red;
    font-size: 12px;
    padding-top: 5px;
    font-weight: bold;
}

/***************************************/
/**            ANIMACIONES            **/
/***************************************/

@keyframes shaking_effect {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(0eg);
    }
    75% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/***************************************/
/**             PUERTAS               **/
/***************************************/

.container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
}

@media screen and (max-width: 480px) {
    .container {
        flex-direction: column;
    }
}

.door {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #444;
    cursor: pointer;
    transition: transform 1s;
}

.door.left {
    background: #175992;
    color: #000;
}

.door.left img {
    max-width: 400px;
    width: 50%;
}

@media screen and (max-width: 480px) {
    .door.left img {
        max-width: 400px;
        width: 70%;
    }
}

@media (min-width: 481px), (max-width: 960px) {
    .door.left img {
        max-width: 400px;
        width: 70%;
    }
}

.door.right {
    background: #ffffff;
    color: black;
}

.door.right img {
    max-width: 400px;
    width: 50%;
}

@media screen and (max-width: 480px) {
    .door.right img {
        max-width: 400px;
        width: 70%;
    }
}

@media (min-width: 481px), (max-width: 960px) {
    .door.right img {
        max-width: 400px;
        width: 70%;
    }
}

.door span {
    font-size: 1.5rem;
    pointer-events: none;
}

.container.open .left {
    transform: translateX(-100%);
}

@media screen and (max-width: 480px) {
    .container.open .left {
        transform: translateY(-100%);
    }
}

.container.open .right {
    transform: translateX(100%);
}

@media screen and (max-width: 480px) {
    .container.open .right {
        transform: translateY(100%);
    }
}

.content {
    position: absolute;
    scroll-behavior: smooth;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    box-sizing: border-box;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.content.active {
    opacity: 1;
    pointer-events: auto;
}

/*******************************************************/
/**                    MODALS                         **/
/*******************************************************/

.modal_agenda {
    position: fixed;
    width: 100vw;
    height: 100vh;
    overflow-y: overlay;
    backdrop-filter: blur(7.5px);
    z-index: -1;
    top: 0;
    box-sizing: border-box;
    transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    opacity: 0;
    pointer-events: none;
}

.modal_agenda.active {
    z-index: 999;
    opacity: 1;
    pointer-events: auto;
}

.agenda__container {
    width: 90%;
    max-width: 500px;
    margin: auto;
    margin-top: 50px;
    color: #fff;
    padding: 20px;
    background: rgba(23, 50, 75, 0.83);
    position: relative;
    box-sizing: border-box;
    border-radius: 20px;
}

.modal_agenda.downloads .agenda__container {
    padding-bottom: 40px;
}

p.agenda__title {
    text-align: right;
    font-size: 26px;
    margin-bottom: 20px;
}

.modal_agenda.downloads p {
    font-size: 13px;
}

.agenda__logo {
    width: auto;
    height: 50px;
}

span.close_modal {
    position: absolute;
    right: auto;
    left: -15px;
    top: -15px;
    width: 40px;
    height: 40px;
    color: #fff;
    background: #9a9898;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    text-transform: uppercase;
    font-weight: 900;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.25s linear;
}

span.close_modal:hover {
    background: #ff0000;
}

p.title__text {
    text-align: left;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 500;
}

.modal_agenda.downloads p.title__text {
    text-align: left;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 500;
}

p.download {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal_agenda.downloads p.download a {
    display: flex;
    flex-flow: column;
    text-align: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.25s linear;
}

p.download a span {
    font-size: 13px;
}

p.download a i {
    font-size: 17.5px;
}

.modal_agenda.downloads p.download a:hover {
    color: #1a9bfe;
}

.modal_agenda.leasing p.title__text,
.modal_agenda.mobility p.title__text {
    text-align: left;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 500;
}

.modal_agenda.leasing .form_fields,
.modal_agenda.mobility .form_fields {
    display: flex;
    flex-direction: column;
}

.modal_agenda.leasing .form_field,
.modal_agenda.mobility .form_field {
    width: 100%;
    margin-bottom: 20px;
    margin-top: 10px;
    position: relative;
}

.leasing_form .form_field > label {
    transition: all 0.3s ease-in;
    position: absolute;
    top: -25px;
    color: #fff;
    text-align: left;
    left: -8px;
    width: 100%;
    line-height: 1.3;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding: 6px 10px;
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    pointer-events: none;
}

.modal_agenda.leasing .form_field input,
.modal_agenda.mobility .form_field input {
    width: 100%;
    font-size: 14px;
    border: transparent solid 1px;
    background-color: rgba(2, 81, 130, 0.78);
    color: #ffffff;
    min-height: 32px;
    line-height: 1.3;
    border-radius: 4px;
    padding: 6px 10px;
    box-sizing: border-box;
    outline: none;
    font-weight: normal;
    margin-bottom: 0;
    transition: all 0.2s ease-in;
}

.modal_agenda.leasing .form_field input:focus,
.modal_agenda.mobility .form_field input:focus {
    border: #fff solid 1px;
    box-shadow: rgb(255, 255, 255, 0.5) 0px 0px 5px;
}

.modal_agenda.leasing .form_field select,
.modal_agenda.mobility .form_field select {
    width: 100%;
    font-size: 14px;
    border: transparent solid 1px;
    background-color: rgba(2, 81, 130, 0.78);
    color: #ffffff;
    min-height: 32px;
    line-height: 1.3;
    border-radius: 4px;
    padding: 6px 10px;
    box-sizing: border-box;
    outline: none;
    font-weight: normal;
    margin-bottom: 0;
    transition: all 0.2s ease-in;
}

.modal_agenda.leasing .form_field select:focus,
.modal_agenda.mobility .form_field select:focus {
    border: #fff solid 1px;
    box-shadow: rgb(255, 255, 255, 0.5) 0px 0px 5px;
}

.modal_agenda.leasing .form_field select option,
.modal_agenda.mobility .form_field select option {
    color: #e4e4e4;
}

.modal_agenda.leasing .form_field textarea,
.modal_agenda.mobility .form_field textarea {
    width: 100%;
    font-size: 14px;
    font-family: "Open Sans", "Helvetica", sans-serif;
    border: transparent solid 1px;
    background-color: rgba(2, 81, 130, 0.78);
    color: #ffffff;
    min-height: 32px;
    line-height: 1.3;
    border-radius: 4px;
    padding: 6px 10px;
    box-sizing: border-box;
    outline: none;
    font-weight: normal;
    margin-bottom: 0;
    transition: all 0.2s ease-in;
}

.modal_agenda.leasing .form_field textarea:focus,
.modal_agenda.mobility .form_field textarea:focus {
    border: #fff solid 1px;
    box-shadow: rgb(255, 255, 255, 0.5) 0px 0px 5px;
}

.modal_agenda.leasing .form_submit,
.modal_agenda.mobility .form_submit {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.modal_agenda.leasing .form_submit span,
.modal_agenda.mobility .form_submit span {
    font-size: 12px;
    font-weight: bold;
}

.modal_agenda.leasing .form_submit button,
.modal_agenda.mobility .form_submit button {
    background-color: #025182;
    color: #fff;
    font-size: 14px;
    height: 40px;
    width: 100px;
    display: inline-block;
    text-transform: uppercase;
    border: none;
    box-shadow: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
}

.modal_agenda.leasing .form_submit button:hover,
.modal_agenda.mobility .form_submit button:hover {
    background-color: #1a9bfe;
}
