﻿@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
    src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

:focus {
    outline: none;
}

body {
    background: #484747;
    font-family: monospace;
}

/* FORMULARIO =================================== */

.form_wrap {
    width: 50vw;
    height: 100%;
    margin: 100px auto;
    display: flex;
    background: #040606;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

/* Informacion de Contacto*/

.cantact_info::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('https://plantillastg.blob.core.windows.net/images/LogoLeARn.png');
    background-size: 15vw;
    background-position: center center;
    background-repeat: no-repeat;
}

.cantact_info {
    width: 38%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #131313;
    opacity: 0.9;
}

@media (max-width: 991.98px) {
    .form_wrap {
        width: 90%;
        height: 100%;
        margin: 100px auto;
        display: table;
        background: #fff;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0px 0px 20px rgb(0 0 0 / 20%);
    }

    .cantact_info {
        width: 100%;
        position: relative;
        display: list-item;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #131313;
        opacity: 0.9;
        height: 20vh;
    }

    form.form_contact {
        width: 100% !important;
        padding: 30px 40px;
    }
}

.info_title,
.info_items {
    position: relative;
    z-index: 2;
    color: #fff;
}

.info_title {
    margin-bottom: 60px;
}

    .info_title span {
        font-size: 100px;
        display: block;
        text-align: center;
        margin-bottom: 15px;
    }

    .info_title h2 {
        font-size: 35px;
        text-align: center;
    }

.info_items p {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

    .info_items p:nth-child(1) span {
        font-size: 30px;
        margin-right: 10px;
    }

    .info_items p:nth-child(2) span {
        font-size: 50px;
        margin-right: 15px;
        margin-left: 4px;
    }


/* Formulario de contacto*/
form.form_contact {
    width: 62%;
    padding: 30px 40px;
    background: white;
}

    form.form_contact h2 {
        font-size: 25px;
        font-weight: 600;
        color: #303030;
        margin-bottom: 30px;
    }

    form.form_contact .user_info {
        display: flex;
        flex-direction: column;
    }

    form.form_contact label {
        font-weight: 600;
    }

    form.form_contact input,
    form.form_contact textarea {
        width: 100%;
        padding: 8px 0px 5px;
        margin-bottom: 20px;
        border: none;
        border-bottom: 2px solid #D1D1D1;
        font-family: 'Open sans';
        color: #5A5A5A;
        font-size: 14px;
        font-weight: 400;
    }

    form.form_contact textarea {
        max-width: 100%;
        min-width: 100%;
        max-height: 90px;
    }

    form.form_contact input[type="button"] {
        width: 180px;
        background: #4091EC;
        padding: 10px;
        border: none;
        border-radius: 25px;
        align-self: flex-end;
        color: #fff;
        font-family: 'Open sans';
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
    }

        form.form_contact input[type="button"]:hover {
            background: #3371B6;
        }

/* Ventana de errores*/
.modal_wrap {
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mensaje_modal {
    background: #fff;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.5);
    width: 400px;
    padding: 30px 20px 15px;
}

    .mensaje_modal h3 {
        text-align: center;
        font-family: 'Ubuntu';
        font-size: 20px;
        font-weight: 400;
    }

        .mensaje_modal h3:after {
            content: '';
            display: block;
            width: 100%;
            height: 1px;
            background: #C5C5C5;
            margin: 10px 0px 15px;
        }

    .mensaje_modal p {
        font-size: 16px;
        color: #606060;
    }

        .mensaje_modal p:before {
            content: "\f00d";
            font-family: FontAwesome;
            display: inline-block;
            color: #E25151;
            margin-right: 8px;
        }

#btnClose {
    display: inline-block;
    padding: 3px 10px;
    margin-top: 10px;
    background: #E25151;
    color: #fff;
    border: 2px solid #B14141;
    cursor: pointer;
    float: right;
}
