﻿/* Move down content because we have a fixed navbar that is 50px tall */

@font-face {
    font-family: "Nunito Sans";
    src: url('../fonts/nunito-sans/NunitoSans-Regular.eot');
    src: url('../fonts/nunito-sans/NunitoSans-Regular.eot') format('embedded-opentype'), url('../fonts/nunito-sans/NunitoSans-Regular.woff2') format('woff2'), url('../fonts/nunito-sans/NunitoSans-Regular.woff') format('woff'), url('../fonts/nunito-sans/NunitoSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Nunito Sans";
    src: url('../fonts/nunito-sans/NunitoSans-Italic.eot');
    src: url('../fonts/nunito-sans/NunitoSans-Italic.eot') format('embedded-opentype'), url('../fonts/nunito-sans/NunitoSans-Italic.woff2') format('woff2'), url('../fonts/nunito-sans/NunitoSans-Italic.woff') format('woff'), url('../fonts/nunito-sans/NunitoSans-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "Nunito Sans";
    src: url('../fonts/nunito-sans/NunitoSans-Bold.eot');
    src: url('../fonts/nunito-sans/NunitoSans-Bold.eot') format('embedded-opentype'), url('../fonts/nunito-sans/NunitoSans-Bold.woff2') format('woff2'), url('../fonts/nunito-sans/NunitoSans-Bold.woff') format('woff'), url('../fonts/nunito-sans/NunitoSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Nunito Sans";
    src: url('../fonts/nunito-sans/NunitoSans-BoldItalic.eot');
    src: url('../fonts/nunito-sans/NunitoSans-BoldItalic.eot') format('embedded-opentype'), url('../fonts/nunito-sans/NunitoSans-BoldItalic.woff2') format('woff2'), url('../fonts/nunito-sans/NunitoSans-BoldItalic.woff') format('woff'), url('../fonts/nunito-sans/NunitoSans-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

body {
    /*padding-bottom: 20px;*/
    /*background-color: rgba(76, 76, 76, 0.1);*/
}



/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    background-color: white;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

.footer {
    height: 100px;
    width: 100%;
    background-color: #1266ab;
    margin-top: 3em;
}

/* FOOTER */

.container-maxwidth {
    /*width: 100%;
    max-width: 1635px;*/
    padding: 0 2%;
    margin: 0 auto;
}

footer.institucional .footer-container-institucional {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    margin-top: 1em;
}

footer.institucional {
    background: #114DA6;
    color: #FFFFFF;
    padding: 2em 0;
    bottom: 0;
    position: absolute;
    height: auto;
    min-width: 100%;

    font-family: "Merriweather", 'Gill Sans' !important;
    background: #114DA6;
    color: #FFFFFF;
    padding: 2em 0;
    bottom: 0;
    position: absolute;
    height: auto;
    min-width: 100%;
}

footer.institucional h2 {
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    padding: 0;
}

footer.institucional a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #FFFFFF;
    font-size: 15px;
}

footer.institucional a:hover {
    border-bottom: 0;
    background: none;
    text-shadow: none;
}

footer.institucional ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

footer.institucional .footer-container-institucional {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    margin-top: 1em;
}

footer.institucional .footer-container-institucional.logos-position {
    justify-content: flex-start;
}

footer.institucional .opciones-footer-institucional,
footer.institucional .legal-footer-institucional {
    display: flex;
    flex-flow: row wrap;
    gap: 40px;
    margin-bottom: 1.55em;
    justify-content: center;
}

footer.institucional .opciones-footer-institucional ul,
footer.institucional .legal-footer-institucional ul {
    display: flex;
    flex-flow: row wrap;
    gap: 40px;
}

footer.institucional .opciones-footer-institucional li,
footer.institucional .legal-footer-institucional li {
    font-size: 0.875em;
    padding-right: 0;
}

#logoA {
    display: none;
}

#logoB {
    display: inline-block;
}


#icon-home {
    float: right;
    height: 70px;
    display: flex;
    align-items: center;
}

#icon-home a {
    margin-right: 10px;
    margin-left: 10px;
}

#icon-home a {
    text-decoration: none;
}

#icon-home a span {
    display: none;
}

#popupIdioma {
    position: absolute;
    top: 20px;
    right: 25%;
    display: none;
    background-color: white;
    border: solid gray 1px;
    border-radius: 5px;
}

#popupIdioma ul {
    list-style: none;
    padding-inline-start: 0px;
    margin-left: 0px;
}

#popupIdioma li {
    padding: 5px;
}

#popupIdioma a {
    text-decoration:none;
}

#popupIdioma a:hover {
    text-decoration: underline;
}


@media only screen and (min-width: 58em) {
    #logoA {
        display: inline-block;
    }
    #logoB {
        display: none;
    }
    #icon-home {
        float: right;
        width: 200px;
        height: 100px;
        display: flex;
        align-items: center;
    }
    #icon-home a span {
        display: inline-block;
    }
}
@media only screen and (max-width: 320px) {
    #logoA {
        display: none;
    }

    #logoB {
        display: inline-block;
        height: 65%;
        width: 65%;
    }

    #icon-home {
        float: right;
        height: 50px;
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
    }

    #icon-home a span {
        display: none;
    }
}
@media only screen and (max-width: 375px) {
    #logoA {
        display: none;
    }

    #logoB {
        display: inline-block;
        height: 65%;
        width: 65%;
    }

    #icon-home {
        float: right;
        height: 57px;
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
    }

    #icon-home a span {
        display: none;
    }
}
@media only screen and (max-width: 560px) {
    #logoA {
        display: none;
    }

    #logoB {
        display: inline-block;
        height: 65%;
        width: 65%;
    }

    #icon-home {
        float: right;
        height: 57px;
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
    }

    #icon-home a {
        margin-top: 3px;
        margin-bottom: 3px;
    }

    #icon-home a span {
        display: none;
    }
}