/* playfair-display-regular - latin */

@font-face {
    font-family: 'Playfair-Display';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/playfair-display/playfair-display-v22-latin-regular.eot');
    /* IE9 Compat Modes */
    src: local(''), url('../fonts/playfair-display/playfair-display-v22-latin-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/playfair-display/playfair-display-v22-latin-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/playfair-display/playfair-display-v22-latin-regular.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/playfair-display/playfair-display-v22-latin-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/playfair-display/playfair-display-v22-latin-regular.svg#Roboto') format('svg');
    /* Legacy iOS */
}

/* my-soul-regular - latin */
@font-face {
    font-family: 'My Soul';
    src: url('../fonts/My Soul/MySoul-Regular.eot');
    src: url('../fonts/My Soul/MySoul-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/My Soul/MySoul-Regular.woff2') format('woff2'),
        url('../fonts/My Soul/MySoul-Regular.woff') format('woff'),
        url('../fonts/My Soul/MySoul-Regular.ttf') format('truetype'),
        url('../fonts/My Soul/MySoul-Regular.svg#My Soul') format('svg');
}

body {
    margin: 0;
}

header {
    width: 100%;
    z-index: 3;
    top: 0;
    position: relative;
}

#cabecera-top {
    z-index: 4;
    font-family: 'My Soul';
    font-weight: 'Regular';
    font-size: calc(1em+1vw);
    color: rgba(255, 255, 255, 0.829);
    background-color: #23394D;
    border-width: 0 0 5px 0;
    border-style: ridge;
    border-color: #e0ebeb;
    text-align: end;
    padding: 0.5vh 2vw;
}

#cabecera-top a img {
    vertical-align: text-bottom;
}

.cabecera-center {
    z-index: 3;
    transition: all 0.3s;
    border-width: 0 0 5px 0;
    border-style: outset;
    border-color: rgb(35, 57, 77);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.02) 82%, rgba(0, 0, 0, 0.14) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.02) 82%, rgba(0, 0, 0, 0.14) 100%);
    background-color: #f3f3f3;
    overflow: hidden;
    width: 100%;
    height: 10vh;
    padding: 0;
}

.sticky {
    position: fixed;
    top: 0;
    background: rgba(35, 57, 77, 0.85);
    border-bottom: 1px solid #37332a;
}

.sticky #logo {
    opacity: 0.8;
}

.responsive-nav {
    padding: 0px 5vw 0px 5vw;
}

#logo {
    display: inline-flex;
    height: 10vh;
    padding: 1px;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.02) 82%, rgba(0, 0, 0, 0.14) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.02) 82%, rgba(0, 0, 0, 0.14) 100%);
    background-color: #23394D;
}

#logo img {
    display: block;
    margin: auto;
    max-height: 9vh;
}

ul.menu-nav {
    list-style: none;
    padding: 0px 0px 0px 10px;
    overflow: hidden;
    margin: 0;
    position: fixed;
    display: inline-flex;
}

ul.menu-nav li {
    display: inline-flex;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.02) 82%, rgba(0, 0, 0, 0.14) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.02) 82%, rgba(0, 0, 0, 0.14) 100%);
    background-color: #f1f1f1;
    border-style: outset;
    border-color: #e0ebeb;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.26);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.26);
    border-radius: 0px 0px 20px 20px
}

ul.menu-nav li a {
    display: block;
    color: #23394D;
    text-align: center;
    padding: 10px 10px;
    text-decoration: none;
    font-size: 1.2vw;
}

ul.menu-nav li:hover {
    background-color: #23394D;
    color: white;
}

ul.menu-nav li a:hover {
    color: white;
    text-decoration: none;
}

nav.responsive-nav .selected {
    background-color: #23394D;
}

nav.responsive-nav .selected a {
    color: white;
    text-decoration: none;
}

#containerdiv {
    margin-top: 0vh;
}

#mnu {
    display: none;
}


/*cuerpo del archivo*/

section {
    height: 68vh;
    background-color: transparent;
    display: block;
}

.slideshow {
    height: 65vh;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 80vh;
    border: 1px solid #000;
    max-width: 100%;
    box-shadow: 0px 0px 20px #000;
    overflow: hidden;
    display: block;
    padding: 0;
    margin-top: 4vh;
}

.slideshow {
    background-image: url('../img/UP1-min.png');
}

@supports (background-image: url('../img/UP1-min.webp')) {
    .slideshow {
        background-image: url('../img/UP1-min.webp');
    }
}


#sobreimagen {
    width: 100%;
    height: 65vh;
    opacity: .6;
}

.cont-img {
    height: 62vh;
    width: 100vw-20px;
    overflow: hidden;
}

.cont-img img {
    max-height: 40vh;
    max-width: 60vw;
    opacity: 0.85;
    margin: auto;
    display: block;
    margin-top: 15vh;
    cursor: pointer;
    transition: 0.3s;
}

.cont-img img:hover {
    opacity: 0.9;
}


/*Pie del Archivo*/

footer {
    width: 100%;
    height: 35px;
    text-align: center;
    display: block;
    border-width: 5px 0 5px 0;
    border-style: outset;
    border-color: #23394D;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.02) 82%, rgba(0, 0, 0, 0.14) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.02) 82%, rgba(0, 0, 0, 0.14) 100%);
    background-color: #f3f3f3;
}

.cont-footer {
    width: 90%;
    margin: 0 auto;
}

.rotar {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#cc1f10+0,e8de3a+50,006c2c+100 */
    background: #cc1f10;
    /* Old browsers */
    background: -moz-linear-gradient(top, #006c2c 0%, #e8de3a 50%, #cc1f10 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #006c2c 0%, #e8de3a 50%, #cc1f10 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #006c2c 0%, #e8de3a 50%, #cc1f10 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#cc1f10', endColorstr='#006c2c', GradientType=0);
    /* IE6-9 */
    color: #fff;
    transform: rotate(90deg);
}


/* Style the Image Used to Trigger the Modal */

#myImg {
    border-radius: 5px;
}


/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1050;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}


/* Modal Content (Image) */

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}


/* Caption of Modal Image (Image Text) - Same Width as the Image */

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}


/* Add Animation - Zoom in the Modal */

.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}


/* The Close Button */

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* 100% Image Width on Smaller Screens */

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}


/*PARA EL MODAL DE INGRESO*/

h1 {
    font-size: 20px;
    color: black;
    padding-top: 20px;
}

.modalmask {
    position: fixed;
    font-family: Arial, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modalmask:target {
    opacity: 1;
    pointer-events: auto;
}

.modalbox {
    width: 350px;
    position: relative;
    padding: 5px 20px 13px 20px;
    background: #fff;
    border-radius: 3px;
    -webkit-transition: all 500ms ease-in;
    -moz-transition: all 500ms ease-in;
    transition: all 500ms ease-in;
}

.movedown {
    margin: 0 auto;
}

.rotate {
    margin: 10% auto;
    -webkit-transform: scale(-5, -5);
    transform: scale(-5, -5);
}

.resize {
    margin: 10% auto;
    width: 0;
    height: 0;
}

.modalmask:target .movedown {
    margin: 10% auto;
    background-color: rgb(208, 207, 207);
}

.modalmask:target .rotate {
    transform: rotate(360deg) scale(1, 1);
    -webkit-transform: rotate(360deg) scale(1, 1);
}

.modalmask:target .resize {
    width: 400px;
    height: 200px;
}

.close2 {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: 1px;
    text-align: center;
    top: 1px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 3px;
    font-size: 16px;
}

.close2:hover {
    background: #FAAC58;
    color: #222;
}


/* Menu desplegable y su activación de acuerdo al tamaño de la pantalla*/

.logo-resum {
    width: auto;
    text-align: center;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.02) 82%, rgba(0, 0, 0, 0.14) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.02) 82%, rgba(0, 0, 0, 0.14) 100%);
    background-color: #f1f1f1;
    border-width: 0 3px 10px 3px;
    border-style: groove;
    border-color: #e0ebeb;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.26);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.26);
}

#btn-menu {
    margin: 2px;
}

.nav-resum {
    background: #23394d;
    z-index: 10;
    width: 100%;
    margin-top: 1vh auto;
    margin-bottom: 1vh auto;
    display: none;
}

.nav-resum ul {
    list-style: none;
    margin: 0;
}

.nav-resum ul a li {
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.02) 82%, rgba(0, 0, 0, 0.14) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.02) 82%, rgba(0, 0, 0, 0.14) 100%);
    background-color: #f1f1f1;
}

.nav-resum ul a li:hover {
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.02) 82%, rgba(0, 0, 0, 0.14) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.02) 82%, rgba(0, 0, 0, 0.14) 100%);
    background-color: #23394d;
    border-width: 0 3px 10px 3px;
    border-style: groove;
    border-color: #e0ebeb;
}

.nav-resum ul a {
    text-decoration: none;
    color: #23394d;
    margin: auto;
    width: 100%;
}

.nav-resum ul a:hover {
    color: white;
    background-color: #23394d;
    margin: auto;
    width: 100%;
}

@media only screen and (max-width: 870px) and (min-width: 0px) {
    #txtHeadPeq {
        display: block-inline;
    }

    #txtHeadNor {
        display: none;
    }

    .cabecera-center {
        display: none;
    }

    .cont-resumido {
        display: block;
        width: 100%;
    }

    #contenedorpeq {
        display: none;
    }
}

@media only screen and (min-width: 871px) {
    #txtHeadPeq {
        display: none;
    }

    #txtHeadNor {
        display: block-inline;
    }

    .cabecera-center {
        display: block;
    }

    .cont-resumido {
        display: none;
    }

    #contenedorpeq {
        display: block;
    }
}