*,
*::after,
*::before {
    box-sizing: border-box;
}

/* remove button from input:number */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* firefox */
input[type=number] {
    -moz-appearance: textfield;
}

input[type=number]:focus {
    outline: none;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: auto;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-rows: 200px 250px 1fr;
    overflow: auto;
}

a {
    color: #0077ed;
    text-decoration: none;
}

a:visited {
    color: #0077ed;
}

.logo {
    padding: 12px 0px;
    text-align: center;
}

.logo img {
    width: 250px;
}

.titulo {
    width: 100%;
    color: #fff;
    background-color: #0c2b9a;
    margin: auto;
    text-align: center;
    overflow: hidden;
    font-size: 2em;
    font-weight: bold;
}

.titulo p {
    margin: 12px 0;
}

.contenido {
    width: 40%;
    margin: 0px auto;

    display: flex;
    flex-direction: column;
    align-items: center;

}

form{
    display: flex;
    flex-direction: column;
    align-items: center;
}

form label {
    display: flex;
    flex-direction: column;
    align-items: start;   
}

label span{
    color: #000;
    /* padding: 9px 0; */
    width: 100%;
    font-weight: bold;
}

form{
    margin-top: 2rem;
}

form * {
    font-size: 1.2rem;
}

.cont-detalle {
    width: 90%;
    margin: 24px auto 36px;
    border: 1px solid #ccc;
}

.subtitulo {
    color: #000;
    padding: 9px 0;
    text-align: center;
    width: 100%;
    font-weight: bold;
    margin: 36px 0px 0px;

}

input {
    padding: 6px;
    margin: 5px 0px 0px;
    border: none;
    border-radius: 6px;
    min-width: 300px;
    background-color: #d4eaff;
    margin: 1rem 0px;
    font-size: 1rem;
    outline: none;
}

.cont-detalle-text {
    padding: 0px 12px;
    text-align: left !important;
}

.btn-buscar {
    background: #0c2b9a;
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    border: 0px;
    font-weight: bold;

}

.btn-regresar {
    background: #0c2b9a;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 12px;
    border: 0px;
    font-weight: bold;
    margin-top: 1rem;
    display: block;
    width: fit-content;
}

footer {
    padding: 24px;
    text-align: center;
    overflow: hidden;
    background-color: #fafafa;
    margin-top: 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

footer img {
    width: 2rem;
    margin: 0px 6px 0 0;
}


.icono {
    width: 2rem;
    margin: 12px 0 0 0;
}

@media screen and (max-width: 1050px) {
    body {
        font-size: 1em;
    }

    .contenido {
        width: 100%;
        margin: 0px auto;

        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* form * {
        font-size: 1rem;
    } */

    footer img {
        width: 3rem;
        margin: 0px 6px 0 0;
    }


    .icono {
        width: 3rem;
        margin: 12px 0 0 0;
    }

    .titulo{
        font-size: 2rem;
    }
}

.iframe_container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: red;
}

.iframe_container .texto{
    color: #0c2b9a;
    width: 60%;
    float: left;
    font-size: 20pt;
    text-transform: uppercase;
}

.iframe_container .texto span{
    color: #ffbb02;
    font-weight: bold;
}


/*  404 styles */
.hit-the-floor {
    color: #fff;
    font-size: 12em;
    font-weight: bold;
    font-family: Helvetica;
    text-shadow:
        0 1px 0 #ccc,
        0 2px 0 #c9c9c9,
        0 3px 0 #bbb,
        0 4px 0 #b9b9b9,
        0 5px 0 #aaa,
        0 6px 1px rgba(0, 0, 0, .1),
        0 0 5px rgba(0, 0, 0, .1),
        0 1px 3px rgba(0, 0, 0, .3),
        0 3px 5px rgba(0, 0, 0, .2),
        0 5px 10px rgba(0, 0, 0, .25),
        0 10px 10px rgba(0, 0, 0, .2),
        0 20px 20px rgba(0, 0, 0, .15);
}

.hit-the-floor {
    text-align: center;
}


.tooltip-container {
    position: relative;
    display: flex;
    align-items: center;

}

.tooltip {
    position: absolute;
    left: calc( 100% - 2rem );
    /* margin-left: 4px; */
    background-color: #ebebeb;
    border: 1px solid #c4c4c4;
    border-radius: 50%;
    font-size: 1rem;
    height: 1.3rem;
    width: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    >.signo {
        display: flex;
        align-items: center;
        color: #949494;
        font-size: .85rem;
        justify-content: center;
    }
}

.text {
    display: none;
    border: 1px solid #c4c4c4;
    background-color: #ebebeb;
    border-radius: 5px;
    width: 8rem;
    background-color: #f1f1f1;
    position: absolute;
    bottom: 2rem;
    right: -50%;
    flex-direction: column;
    box-shadow: 3px 3px 3px #d1d1d1;
    padding: 0.1rem;
    span {
        font-size: .75rem;
        color: #000000;
        color: #4b4b4b;
        font-weight: normal;

    }
}

.tooltip:hover {
    .text {
        display: flex;
    }
}
