* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 180px;
    margin-left: 10%;
}

.Tel {
    padding-bottom: 30px;
}

.container-center {
    height: 100px;
    width: 600px;
}

.container-content {
    height: 60px;
    width: 1000px;
}

.content-action {
    height: 50%;
    width: 50%;
    flex-direction: column;
}


/*inputs*/


/** 
    Estado reposo
*/

.divs {
    margin-bottom: 15px;
}

.labels {
    display: block;
    width: 500px;
    height: 45px;
    border: 2px solid rgb(179, 174, 174);
    padding: 8px 10px;
    position: relative;
    box-sizing: border-box;
    border-radius: 20px;
    transition: .50s;
}

.labels input {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
}

.ojo {
    margin: 0;
    position: absolute;
    text-align: center;
    left: 90%;
    font-size: 20px;
    top: 10px;
}

.labels span {
    color: rgb(80, 75, 75);
    position: absolute;
    top: 11px;
    left: 10px;
    transition: .50s;
}

span,
input {
    font: 16px/16px Verdana;
    padding: 0;
}


/* 
    Estado focus
*/

.labels.focus {
    border-color: #008FC6;
}

.labels span.focus {
    color: #008FC6;
}


/*
    Estado top
*/

.labels span.top {
    left: 2px;
    top: -10px;
    font-size: 12px;
    background: white;
    padding: 0 5px;
}

.content-image {
    height: 60%;
    width: 30%;
    margin-top: 50px !important;
}

.content-image img {
    width: 100%;
}


/* @media screen and (max-width: 480px) {
        .content-image {
            position: absolute;
            bottom: 0;
            left: 0;
        }
        .content-image img {
            width: 200%;
        }
    } */

.contenido-link a {
    /*subrayado debajo del texto*/
    text-decoration: none;
    color: rgb(145, 138, 138);
    transition: all 1s ease;
}

.contenido-link span {
    color: rgb(117, 108, 108);
}

a:hover {
    color: #008FC6;
    font-size: 20px;
}

.icon {
    color: #008FC6;
}

.btn {
    margin-top: 10px;
    height: 40px;
    color: #0a0a0a;
    border-color: #008FC6;
    width: 100%;
    border-radius: 20px;
}

.btn:hover {
    background-color: #008FC6
}


/*Barra superior*/

.contenedor-menu {
    position: fixed;
    line-height: 0px;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 5px 15px;
    background: #fff;
    box-shadow: 0 1px 10px rgba(13, 19, 38, 0.5);
}

.menu {
    width: 100%;
    text-align: center;
    font-weight: 400;
    line-height: 24px;
}

li.nav-item a:hover {
    color: #008FC6!important;
    /* font-size:16.1px !important;	 */
}

.menu a {
    color: #008FC6;
    ;
    font-family: 'Dosis', sans-serif !important;
    transition: all 1s ease;
    letter-spacing: 2px;
}

.menu li {
    display: inline-block !important;
    padding: 0px 15px;
}

.contenedor-menu {
    width: 100%;
    line-height: 18px;
    display: inline-block;
    margin-bottom: 20px;
}

.menu {
    width: 100%;
}

li.nav-item a:hover {
    color: #008FC6!important;
    font-size: 30px !important;
}

.menu ul ul {
    display: none;
}

.menu a {
    color: #333;
    text-decoration: none;
    display: block;
    transition: all 1s ease;
    font-weight: 500;
}

.menu label {
    color: #333;
    text-decoration: none;
    transition: all 1s ease;
    font-weight: 500;
}

.menu a:hover {
    color: #008FC6;
    cursor: pointer;
}

nav a:hover {
    color: #008FC6;
}

.menu ul li a {
    font-size: 14px;
    cursor: pointer;
    padding: 10px 20px;
    font-weight: 600;
    text-align: center;
}

.menu ul li div a:hover {
    color: #524c52 !important;
    background-color: transparent !important;
    transition: all 0.5s ease-in;
}


/* modal css */

.modal.custom .modal-dialog {
    width: 20%;
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 0;
}


/*Img efect*/

.mag {
    text-decoration: none;
}

.contenedor {
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 160px;
    margin-left: 70px;
}

.contenedor_tarjeta {
    margin: 20px;
}

.contenedor_tarjeta a {
    display: inline-block;
}

.contenedor_tarjeta:hover figure {
    transform: perspective(600px) rotateY(180deg);
    -webkit-box-shadow: 0px 2px 10px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 2px 10px 2px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 2px 10px 2px rgba(0, 0, 0, 0.25);
}

.contenedor_tarjeta:hover figure img {
    /*Si queremos podemos aplicar un efecto blur a nuestra imagen al girar */
    /* filter: blur(2px); */
}

figure {
    width: 400px;
    height: 300px;
    margin: 0;
    position: relative;
    transition: all ease .5s;
    transform-style: preserve-3d;
    transform: perspective(900px) rotateY(30deg);
}

figure .frontal,
figure .trasera {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    transition: all ease .5s;
}

figure .frontal {
    display: block;
    /* backface-visibility: hidden; */
}

figure .trasera {
    position: absolute;
    top: 0;
    padding: 20px;
    color: rgb(0, 0, 0);
    transform: perspective(600px) rotateY(180deg);
    backface-visibility: hidden;
    overflow: auto;
}

.contenedor_tarjeta:nth-child(1) figure .trasera {
    background: rgba(223, 234, 241, 0.7);
    background: -moz-linear-gradient(top, rgba(223, 234, 241, 0.7) 0%, rgba(15, 99, 144, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(223, 234, 241, 0.7)), color-stop(100%, rgba(15, 99, 144, 1)));
    background: -webkit-linear-gradient(top, rgba(223, 234, 241, 0.7) 0%, rgba(15, 99, 144, 1) 100%);
    background: -o-linear-gradient(top, rgba(223, 234, 241, 0.7) 0%, rgba(15, 99, 144, 1) 100%);
    background: -ms-linear-gradient(top, rgba(223, 234, 241, 0.7) 0%, rgba(15, 99, 144, 1) 100%);
    background: linear-gradient(to bottom, rgba(223, 234, 241, 0.7) 0%, rgba(15, 99, 144, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#dfeaf1', endColorstr='#0f6390', GradientType=0);
}

.contenedor_tarjeta:nth-child(2) figure .trasera {
    background: rgba(251, 232, 202, 0.7);
    background: -moz-linear-gradient(top, rgba(251, 232, 202, 0.7) 0%, rgba(25, 44, 72, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(251, 232, 202, 0.7)), color-stop(100%, rgba(25, 44, 72, 1)));
    background: -webkit-linear-gradient(top, rgba(251, 232, 202, 0.7) 0%, rgba(25, 44, 72, 1) 100%);
    background: -o-linear-gradient(top, rgba(251, 232, 202, 0.7) 0%, rgba(25, 44, 72, 1) 100%);
    background: -ms-linear-gradient(top, rgba(251, 232, 202, 0.7) 0%, rgba(25, 44, 72, 1) 100%);
    background: linear-gradient(to bottom, rgba(251, 232, 202, 0.7) 0%, rgba(25, 44, 72, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#fbe8ca', endColorstr='#192c48', GradientType=0);
}

.contenedor_tarjeta:nth-child(3) figure .trasera {
    background: rgba(95, 58, 53, 0.7);
    background: -moz-linear-gradient(top, rgba(95, 58, 53, 0.7) 0%, rgba(221, 32, 47, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(95, 58, 53, 0.7)), color-stop(100%, rgba(221, 32, 47, 1)));
    background: -webkit-linear-gradient(top, rgba(95, 58, 53, 0.7) 0%, rgba(221, 32, 47, 1) 100%);
    background: -o-linear-gradient(top, rgba(95, 58, 53, 0.7) 0%, rgba(221, 32, 47, 1) 100%);
    background: -ms-linear-gradient(top, rgba(95, 58, 53, 0.7) 0%, rgba(221, 32, 47, 1) 100%);
    background: linear-gradient(to bottom, rgba(95, 58, 53, 0.7) 0%, rgba(221, 32, 47, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#5f3a35', endColorstr='#dd202f', GradientType=0);
}

figure .trasera .titulo {
    color: rgb(0, 0, 0);
    font-weight: normal;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
}

figure .trasera hr {
    height: 2px;
    background: #000000;
    border: none;
    margin-bottom: 20px;
    opacity: .5;
}

figure .trasera p {
    font-family: 'Open Sans', sans-serif;
    line-height: 22px;
    font-size: 14px;
}

.ancho {
    width: 10px !important;
    height: 10px !important;
}


/* @media screen and (max-width: 900px) {
        .contenedor {
            margin-left: 25%;
        }
    } */

@media only screen and (min-width: 1900px) {
    .contenedor {
        max-width: 1700px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15%;
        margin-left: 320px;
    }
    .container-center {
        height: 100px;
        width: 600px;
        margin-left: 210px;
        margin-top: 15%;
    }
}

@media only screen and (min-width: 1700px) {
    .contenedor {
        max-width: 1200px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15%;
        margin-left: 300px;
    }
    .container-center {
        height: 100px;
        width: 600px;
        margin-left: 165px;
        margin-top: 15%;
    }
}

@media screen and (max-width: 450px) {
    .center {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding-top: 170px;
        padding-bottom: 45px;
    }
    .form {
        padding-right: 55px;
        flex: none;
    }
    .content-action {
        height: 600px;
        width: 500px;
        flex-direction: column;
    }
    .divs {
        width: 100%;
    }
    .labels {
        display: block;
        width: 350px;
        height: 45px;
        border: 2px solid rgb(179, 174, 174);
        padding: 8px 10px;
        position: relative;
        box-sizing: border-box;
        border-radius: 20px;
        transition: .50s;
        margin-bottom: 5px;
    }
    .Tel {
        padding-right: 60px;
    }
    .contenedor {
        padding-left: 20px;
        margin: 0;
        padding-top: 180px;
    }
    .nav-link {
        font-size: 15px !important;
    }
    .contenedor-menu {
        width: 100%;
    }
    .ojo {
        margin: 0;
        position: absolute;
        text-align: center;
        left: 310px;
        font-size: 20px;
        top: 10px;
    }
}

@media screen and (max-width: 375px) {
    .center {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding-bottom: 45px;
        padding-top: 200px;
    }
    .form {
        padding-right: 135px;
        flex: none;
    }
    .content-action {
        height: 600px;
        width: 500px;
        flex-direction: column;
    }
    .divs {
        width: 100%;
    }
    .labels {
        display: block;
        width: 350px;
        height: 45px;
        border: 2px solid rgb(179, 174, 174);
        padding: 8px 10px;
        position: relative;
        box-sizing: border-box;
        border-radius: 20px;
        transition: .50s;
        margin-bottom: 5px;
    }
    .derecha,
    .izquierda {
        float: none !important;
    }
    .Tel {
        padding-right: 135px;
    }
    .contenedor {
        margin: 0;
        padding-top: 180px;
        padding-left: 10px;
    }
    .nav-link {
        font-size: 12px !important;
        color: #000000;
    }
    .contenedor-menu {
        width: 100%;
    }
    .contenedor_tarjeta {
        margin: 0;
        padding-right: 10%;
    }
}

@media screen and (max-width: 280px) {
    .center {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding-bottom: 45px;
    }
    .form {
        flex: none;
        padding-right: 150px;
    }
    .content-action {
        height: 600px;
        width: 400px;
        flex-direction: column;
    }
    .divs {
        width: 100%;
    }
    .labels {
        display: block;
        width: 250px;
        height: 45px;
        border: 2px solid rgb(179, 174, 174);
        padding: 8px 10px;
        position: relative;
        box-sizing: border-box;
        border-radius: 20px;
        transition: .50s;
        margin-bottom: 5px;
    }
    .Tel {
        padding-right: 135px;
    }
    .contenedor {
        margin: 0;
        padding-top: 165px;
    }
    .nav-link {
        font-size: 18px !important;
        color: #000000;
        padding: 0;
        line-height: 1;
    }
    .contenedor-menu {
        width: 100%;
    }
    .contenedor_tarjeta {
        margin: 0;
        padding-right: 10%;
    }
    .ojo {
        margin: 0;
        position: absolute;
        font-size: 20px;
        left: 210px;
        top: 10px;
    }
}

@media only screen and (width: 768px) {
    .contenedor {
        margin-left: 190px;
        margin-top: 220px;
    }
    .ojo {
        margin: 0;
        position: absolute;
        font-size: 20px;
        left: 450px;
        top: 12px;
    }
}