html, body{margin:0px; padding:0px; font-family: Helvetica Neue, helvetica, arial, sans-serif; font-size: 12pt;}

@media screen and (max-width: 980px) {
    html, body{font-size: 40pt;}
}

/* Heading */
h1, h2, h3, h4, h5, h6 {margin:0 0 25px; padding:0; letter-spacing: 0; font-weight: bold;}
h1 {font-size:70px; line-height:70px;}
h2 {font-size:50px; line-height:60px}
h3 {font-size:30px; line-height:50px}
h4 {font-size:20px; line-height:40px}

/* texto */
.txt_success {
    padding: 0.5em 1em;
    color: #4F8A10;
    background-color: #DFF2BF;
    text-align: center;
    border-radius: 10px;
}

.txt_error {
    padding: 0.5em 1.5em 1em 1em;
    color: #D8000C;
    background-color: #FFBABA;
    text-align: center;
    border-radius: 10px;
}

/* Encabezado de Menú*/
header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(90deg, transparent, #d6dde6, #2f5988,  #0B4A8F);
    height: 80px;
    padding: 5px 0 2px 0;
    overflow: hidden;
}

/* Add a black background color to the top navigation */
menu {
    vertical-align: center;
    width: 70%;
}

/* Style the links inside the navigation bar */
menu a {
    float: left;
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 14pt;
    font-weight: bold;
    color: white;
}

/* Change the color of links on hover */
menu a:hover {
    text-decoration: underline;
    color: #ffffff;
}

/* Add an active class to highlight the current page */
menu a.active {
    color: #124b8e;
}

/* Hide the link that should open and close the topnav on small screens */
menu .icon {display: none;}

/*#logo{float:left; height: 50px; padding: 2px 60px;}*/

menu #logo{height: 50px; padding: 2px 100px 2px 60px; margin-top: -20px;}

@media screen and (max-width: 980px) {
    menu #logo{height: 120px; padding: 0; margin-top: -40px;}
    header{height: 180px; }
    menu {width: 90%; padding: 0;}
    menu a {font-size: 50pt;}
    menu a:not(:first-child) {display: none;}
    menu a.icon {
        margin-top: -40px;
        float: right;
        display: block;
    }

    menu.responsive {position: relative;}
    menu.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
        background-color: transparent;
    }
    menu.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    menu.responsive .webback{
        background-color: #9db0ca;
        padding: 30px 80px;
    }
}

/* LANGUAJE */
.languaje {
    position: fixed;
    top: 1.6em;
    right: 8em;
    width: 100px;
    z-index: 102;
}

.languaje article {
    width: 80px;
    height: 40px;
    cursor: pointer;
    position: relative;
    background-color: whitesmoke;
    border-radius: 20px;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.languaje article img {width: 40px; vertical-align: middle;}
.languaje article:hover {position: absolute; height: 80px;}
.languaje article:hover > #es{display: inline;}
.languaje article:hover > #en{display: inline;}
.languajeselect {display: inline;}
.languajenotselect {display: none;}
.languaje article a{color: #111756;}
.languaje article div a:hover {color: red;}

@media screen and (max-width: 980px) {
    .languaje{display: none;}
    /*.languaje {top: 18px; right: 6em; width: 220px;}
    .languaje article {width: 220px; height: 120px; font-size: 40pt;}
    .languaje article img {width: 120px;}
    .languaje article:hover {position: absolute; height: 250px;}
    .languaje article div a:hover {color: #111756;}*/
}

main{padding-top: 85px;}

/* Tables responsive*/
table {
    margin: 0 auto;
    text-align: center;
}

@media screen and (max-width: 980px) {
    table {
        width:100%;
        text-align: center;
    }
    table tr:nth-of-type(2n) { background-color: inherit; }
    table td{
        display: block;
        text-align:center;
        width:100%;
        padding-top: 2em;
    }
    table td:before {
        content: attr(data-th);
        display: block;
        text-align:center;
    }
}

/* Diseño pie de página*/
footer{
    width:100%;
    padding: 30px 0 0 0;
    text-align: center;
    vertical-align: center;
    background-color: white;
}

footer hr{
    height: 5px;
    background: linear-gradient(90deg, #124b8e, white, #124b8e);
    border: 0;
}

footer .made{
    background-color: #064996;
    color: white;
    vertical-align: center;
    padding: 20px 0;
    letter-spacing: 4px;
    font-size: 8pt;
}

footer .made .line {
    font-size: 20pt;
}

footer .made a{color: white;letter-spacing: 4px;font-size: 8pt;}
footer .details a{color: #646a74;}

footer .details{
    width: 100%;
    padding: 40px 100px;
    font-size: 12pt;
    color: #646a74;
    line-height: 150%;
    vertical-align: top;
}

footer .details li{
    list-style: none;
    line-height: 150%;
}

footer .details i{
    color: #124b8e;
}

footer .details .logo{
    width: 200px;
}

footer .details .sociales{
    width: 50px;
}

@media screen and (max-width: 980px) {
    footer .made, footer .made a {
        font-size: 20pt;
    }

    footer .details {
        font-size: 40pt;
    }

    footer .details .logo{
        width: 600px;
    }

    footer .details .sociales{
        width: 200px;
    }
}