/*********************VARIABLES*********************/

:root{
    --color0: #ffffff;
    /*Variaciones color ECEDU*/
    --color1: #974478;
    --color2: #570b3b;
    --color3: #7A255A;
    --color4: #B7709D;
    --color5: #D4A2C1;
    /*Variaciones rojos*/
    --color6: #BD555D;
    --color7: #6D0E15;
    --color8: #982E36;
    --color9: #E58C93;
    --color10: #FABFC3;
    /*Variaciones violetas*/
    --color11: #673F82;
    --color12: #320D4B;
    --color13: #4D2469;
    --color14: #86649D;
    --color15: #AD94BE;
    /*Variaciones verdes*/
    --color16: #54A048;
    --color17: #338127;
    --color18: #4D2469;
    --color19: #80C276;
    --color20: #B0DDA9;
    /*Variaciones ocres*/
    --color21: #C2BF57;
    --color22: #706E0E;
    --color23: #9C9A2F;
    --color24: #EBE98F;
    --color25: #FFFEC2;
    /*Variaciones olivo*/
    --color26: #98B652;
    --color27: #4E690D;
    --color28: #74932C;
    --color29: #C3DD87;
    --color30: #E2F3B9;
    /*Variaciones rojos*/
    --color31: #be004d;
    --color32: #e6005d;
    --color33: #ee5090;
    --color34: #f47dad;
    /*Variaciones azules*/
    --color35: #3d0b97;
    --color36: #5213c6;
    --color37: #8557da;
    --color38: #a581e6;
    /*Variaciones morados*/
    --color39: #63458A;
    --color40: #7E5A9B;
    --color41: #B288C0;
    --color42: #E4B7E5;
    /*Variaciones alternos1*/
    --color43: #2F1847;
    --color44: #624763;
    --color45: #C62E65;
    --color46: #F9B3D1;
    /*Variaciones alternos2*/
    --color47: #394053;
    --color48: #4E4A59;
    --color49: #225560;
    --color50: #DBC2CF;
    /*Grises*/
    --gris1:#333;
    --gris2:#808080;
    --gris3:#b3b3b3;
    /*---*/
    --backImg1: url(../img/bck.svg) center center/ cover no-repeat;
}

/*background: bg-color bg-image position/bg-size bg-repeat bg-origin bg-clip bg-attachment initial|inherit;*/

/*********************ESTILOS*********************/

/*Generales*/

body{
    font-family: sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    min-height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
}


img{
    width: auto;
    max-width: 100%;
    height: 100%;
}

header{
    width: 100%;
    color: #fff;
}

header .row{
    padding: 1em 1em 0.5em 1em;
}

footer{
    width: 100%;
    color: #fff;
    padding: 1em;
}

header, footer{
    background: linear-gradient(45deg, var(--color1), var(--color2));
}

/*Barra progreso*/

.barraProgreso{
    background-color: var(--color4);
    width: 100%;
    height: 8px;
    /*position: fixed;
    top: 0;
    left: 0;*/
}

.progreso{
    background-color: var(--color2);
    height: 8px;
    width: 0;
}

/*Flechas de navegación*/

#flecha-atras,
#flecha-adelante {
    position: fixed;
    top: 45%;
    cursor: pointer;
    z-index: 9000;
    color: var(--color1);
    padding: 0 0.5rem;
    font-size: 3em;
}
#flecha-atras a i:hover, #flecha-adelante a i:hover{
    color: var(--color2);
}

#flecha-atras a:visited, #flecha-adelante a:visited, #flecha-atras a:active, #flecha-adelante a:active, #flecha-atras a:link, #flecha-adelante a:link{
    color: var(--color1);
}

#flecha-atras {
    left: 0px;
    display: none;
    text-shadow: 1px 0px 3px rgba(255,255,255,.75)
}

#flecha-adelante {
    right: 0px;
    text-shadow: -1px 0px 3px rgba(255,255,255,.75)
}

/*Menú de navegación*/

nav {
    display: block;
    width: 100vw;
    height: 100vh;
    position: fixed;
    right: -110%;
    background-color: rgba(255, 255, 255, 0.96);
    text-align: center;
    padding: 50px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10000;
}

nav ul {
    list-style: none;
    width: 100vw;
    margin: 0 0 0 -75px;
}

nav li a {
    display: block;
    width: 100%;
    padding: 0.5em 1em 0.3em;
    text-decoration: none;
    text-align: center;
    color: var(--gris1);
    border-bottom: solid 1px var(--color5);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

nav li a:hover {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-decoration: none;
}

nav a {
    cursor: pointer;
}

.menu i:hover{
    cursor: pointer;
    color: var(--color5);
}

/******Botón cerrar menú*****/
    .cierra-menu{
        position: absolute;
        top: 1em;
        left: 1.5em;
        margin: 0;
        transition: all .3s ease;
        text-align: center;
        display: flex;
        align-items: center;
        color: var(--color1);
    }

    .cierra-menu span{
        font-size: 1.75em;
        margin-left: .25em;
        font-weight: 400;
    }
    
    .cierra-menu:hover{
        cursor: pointer;
        transform: scale(1.1);
    }

.cierra-menu i{
        font-size: 2em;
    }

/****Contenedor principal****/

#contenidos {
    display: flex;
    flex-flow: column;
    justify-content: center;
}

main{
    flex-grow: 1;
}

/*Paginador*/

.paginador p{
    margin: 0 0 0.5em 0;
    font-weight: 600;
    padding: 0.25em 0;
}

.paginador{
    margin-bottom: .5em
}

.paginador span:nth-child(1){
        font-weight: bold;
}


.paginador2{
    border: 1px solid #fff;   
    border-radius: 5px;
    padding: 0 .5em;
}

.paginador2 p{
    color: var(--color1);
    background-color: rgba(255,255,255,1);
    font-size: .85em;
    margin: 0;
}

.paginador2 div{
    display: flex;
    justify-content: center;
    align-items: center;
}

.paginador2 div span:first-child{
    font-size: 2em;
    margin-right: .25em;
}

.paginador2 div span:nth-child(2){
    margin-left: .25em;
}

/*Alineaciones y márgenes*/

.txtDerecha{
    text-align: right;
}

.txtIzquierda{
    text-align: left;
}

.txtCentro{
    text-align: center;
}

.MT{
    padding: 0 3.5rem;
}
.MI{
    padding: 0 0 0 3rem;
}

.MD{
    padding: 0 3rem 0 0;
}

.reflejo-h{
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    -ms-filter: "FlipH";
    filter: FlipH;
}

.reflejo-v{
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    -ms-filter: "FlipV";
    filter: FlipV;
}

.hr-vertical{
    margin: 0 auto -1rem auto;
    padding: 0;
}


.hr-vertical:before{
    content: "│";
    
}

/* Estilos spiner precarga*/

#spinner{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 10000;
}

/* Estilos spiners numeros*/

#spinner .number{
    position: absolute;
    top: 49.5%;
    left: 50%;
    font-size: 26px;
    margin: -13px -29px;
    width: 58px;
    height: 26px;
    color: #777;
    text-align: center;
}

/*Modal*/

#modal{
    position: fixed;
    z-index: 90000;
    background-color: rgba(0,0,0,.96);
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    animation-duration: .5s;
    display: none;
    overflow-y: none;
}

#modal > #close-modal{
    position: relative;
    top: 1em;
    right: 1em;
    cursor: pointer;
    display: inline-block;
    float: right; 
    background-color: var(--color0);
    border-radius: 50%;
    height: 3.25em;
    width: 3.25em;
    text-align: center;
    transition: all .25s ease .25s;
}

#modal > #close-modal i{
    font-size: 3em;
    
}

#modal > #close-modal:hover{
    transform: rotate(90deg);
}

#modal > #content-modal{
    position: relative;
    color: #fff;
    width: 100%;
    display: flex;
    height: calc(100vh - 8em);
}



.contModal{
    position: absolute;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    
}


/**********Popup********/
.pop-up{
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.content-pop{
    width: 80%;
    height: 40%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: var(--color1);
    color: #fff;
    padding: 2em;
    border-radius: 1em;
}

.pop-up .close-pop{
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 1;
    color: var(--color1);
    float: right;
    position: relative;
    top: -.5em;
    background-color: #fff;
    border-radius: 50%;
    width: 1.2em;
    height: 1.2em;
    padding: 0;
    text-align: center;
    transition: all .3s ease;
}

.pop-up .close-pop i{
    
    position: relative;
    top: -.15em;
}

.pop-up .close-pop:hover{
    transform: rotate(90deg);
}

/*****Modal PDF*****/

.pdf{
    border: 13px solid #fff;
    margin-top: 1.5em;
}

/*--Créditos--*/

.creditos{
    
}

.creditos img{
    max-height: 50vh;
}

.creditos h2{
    margin-top: .5em;
}

.creditos p{
    color: var(--gris1);
}

/*--Botones--*/

.btnEcedu{
    background-color: transparent;
    border: none;
}

.btnEcedu:hover{
    cursor: pointer;
}

.btnModalEcedu, .btnPdfEcedu, .btnPopEcedu{
    background-color: var(--color1);
    color: #fff;
    padding: .5em .75em;
    min-height: 3.85em;
}

.btnModalEcedu i, .btnPdfEcedu i, btnPopEcedu i{
    font-size: 1.5em;
    margin-right: .5em;
    padding: 0;
    line-height: 0;
}

/*--------------Queries antiguos------------------*/

@media (max-width: 576px) {
    
    
    
    /*Footer*/
    footer img{
        max-width: 20vw;
        min-width: 120px;
        text-align: center;
        margin: -20px 0 -20px 0;
    }
    
    .paginador2{
        display: inline-block;
    }
    
/****Botón menú desplazable****/
    .menu {
        width: 100vw;
    }
    .menu-fixed {
        display: flex;
        justify-content: flex-end;
        position: fixed;
        top: 0;
        right: 10px;
        width: 100vw;
        z-index: 5000;
    }
    
    .menu-fixed i {
        color: #fff;
        color: var(--color1);
    }
    .menu-fixed span {
        display: none;
    }
    
    
    /*Modal*/
    
    #modal{
        min-height: 100%;
        padding: 0 2 4em 0;
    }

    #modal > #close-modal{
        position: relative;
        display: inline-block;
    }

    #modal > #content-modal{
       width: 100vw;
        overflow-y: auto;
        min-height: 100%;
        overflow-x: hidden;
        display: block;
    }
}

@media (min-width: 361px) and (max-width: 767px) {
    
    /*Modal*/
    /*#modal{
        height: 100%;
    }

    #modal > #close-modal{
        left: 50%;
        top: 5px;
        transform:  translate(-50%);
        font-size: 3em;
    }

    #modal > #content-modal{
        margin: 20% 10%;
        width: 80%;
        height: 80%;
    }*/
}


/******QUERIES*****/

/*----SM----*/
@media (min-width: 576px) {
    /*Footer*/
    footer{
        padding: 0;
    }
    
    
    .paginador2{
        display: inline-block;
    }
}

/*--- MD ---*/
@media (min-width: 768px) {
      
    .paginador2{
        display: inline-block;
    }
}

/*--- LG ---*/
@media (min-width: 992px) {
    
    .paginador2{
        display: inline-block;
    }
}
/*--- XL ---*/
@media (min-width: 1200px) {
    .paginador2{
        display: inline-block;
    }
}
.refs{
color:var(--color1)}