* {
	font-family: 'Open Sans', sans-serif;
	font-size: 1em;
}

::-webkit-scrollbar{
    width: 10px;
    background-color: transparent;
}
::-webkit-scrollbar-track{
    background-color: transparent;
}
::-webkit-scrollbar-thumb{
    background-color: #b10ab1; 
    /*border-radius: 5px;*/
}


/*ANIMACIÓN DE FONDO*/


@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}

.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #3E1E68;
    overflow: hidden;
}
.background span {
    width: 26vmin;
    height: 26vmin;
    border-radius: 26vmin;
    backface-visibility: hidden;
    position: absolute;
    animation: move;
    animation-duration: 29;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.background span:nth-child(0) {
    color: #583C87;
    top: 26%;
    left: 37%;
    animation-duration: 197s;
    animation-delay: -205s;
    transform-origin: -16vw -18vh;
    box-shadow: 52vmin 0 7.328336367405035vmin currentColor;
}
.background span:nth-child(1) {
    color: #e091dc;
    top: 74%;
    left: 76%;
    animation-duration: 125s;
    animation-delay: -121s;
    transform-origin: -13vw 21vh;
    box-shadow: -52vmin 0 6.767737456992355vmin currentColor;
}
.background span:nth-child(2) {
    color: #b10ab1;
    top: 11%;
    left: 89%;
    animation-duration: 201s;
    animation-delay: -194s;
    transform-origin: 10vw -7vh;
    box-shadow: 52vmin 0 6.686606745814904vmin currentColor;
}
.background span:nth-child(3) {
    color: #90b242;
    top: 93%;
    left: 30%;
    animation-duration: 42s;
    animation-delay: -35s;
    transform-origin: -12vw -11vh;
    box-shadow: 52vmin 0 7.161077360578112vmin currentColor;
}
.background span:nth-child(4) {
    color: #b10ab1;
    top: 71%;
    left: 94%;
    animation-duration: 80s;
    animation-delay: -32s;
    transform-origin: 11vw 16vh;
    box-shadow: 52vmin 0 7.33925398399659vmin currentColor;
}
.background span:nth-child(5) {
    color: #e091dc;
    top: 86%;
    left: 55%;
    animation-duration: 130s;
    animation-delay: -57s;
    transform-origin: 5vw 12vh;
    box-shadow: -52vmin 0 6.9256409739589575vmin currentColor;
}
.background span:nth-child(6) {
    color: #b10ab1;
    top: 51%;
    left: 49%;
    animation-duration: 194s;
    animation-delay: -113s;
    transform-origin: 18vw -18vh;
    box-shadow: 52vmin 0 6.77824348278561vmin currentColor;
}
.background span:nth-child(7) {
    color: #583C87;
    top: 30%;
    left: 19%;
    animation-duration: 207s;
    animation-delay: -55s;
    transform-origin: 0vw -16vh;
    box-shadow: -52vmin 0 6.756986125370946vmin currentColor;
}
.background span:nth-child(8) {
    color: #583C87;
    top: 8%;
    left: 50%;
    animation-duration: 118s;
    animation-delay: -155s;
    transform-origin: 22vw 6vh;
    box-shadow: -52vmin 0 6.77051796890201vmin currentColor;
}
.background span:nth-child(9) {
    color: #b10ab1;
    top: 1%;
    left: 47%;
    animation-duration: 102s;
    animation-delay: -54s;
    transform-origin: 4vw 9vh;
    box-shadow: 52vmin 0 7.433130482287775vmin currentColor;
}
.background span:nth-child(10) {
    color: #90b242;
    top: 86%;
    left: 87%;
    animation-duration: 51s;
    animation-delay: -45s;
    transform-origin: -12vw 13vh;
    box-shadow: 52vmin 0 7.092441450273649vmin currentColor;
}
.background span:nth-child(11) {
    color: #90b242;
    top: 75%;
    left: 4%;
    animation-duration: 212s;
    animation-delay: -17s;
    transform-origin: 10vw -7vh;
    box-shadow: 52vmin 0 6.839389764165vmin currentColor;
}
.background span:nth-child(12) {
    color: #90b242;
    top: 78%;
    left: 74%;
    animation-duration: 169s;
    animation-delay: -133s;
    transform-origin: 12vw -17vh;
    box-shadow: -52vmin 0 6.531369636886863vmin currentColor;
}
.background span:nth-child(13) {
    color: #b10ab1;
    top: 36%;
    left: 53%;
    animation-duration: 84s;
    animation-delay: -194s;
    transform-origin: 5vw -4vh;
    box-shadow: 52vmin 0 6.655460935955763vmin currentColor;
}
.background span:nth-child(14) {
    color: #e091dc;
    top: 22%;
    left: 3%;
    animation-duration: 141s;
    animation-delay: -105s;
    transform-origin: -8vw -22vh;
    box-shadow: -52vmin 0 7.3767695120256676vmin currentColor;
}
.background span:nth-child(15) {
    color: #b10ab1;
    top: 55%;
    left: 1%;
    animation-duration: 119s;
    animation-delay: -136s;
    transform-origin: -11vw -16vh;
    box-shadow: 52vmin 0 7.27460296889161vmin currentColor;
}
.background span:nth-child(16) {
    color: #e091dc;
    top: 8%;
    left: 12%;
    animation-duration: 115s;
    animation-delay: -157s;
    transform-origin: -20vw 12vh;
    box-shadow: -52vmin 0 7.459517523118616vmin currentColor;
}
.background span:nth-child(17) {
    color: #90b242;
    top: 91%;
    left: 67%;
    animation-duration: 93s;
    animation-delay: -18s;
    transform-origin: -22vw -4vh;
    box-shadow: -52vmin 0 7.101308815483472vmin currentColor;
}
.background span:nth-child(18) {
    color: #583C87;
    top: 45%;
    left: 9%;
    animation-duration: 132s;
    animation-delay: -107s;
    transform-origin: 17vw 24vh;
    box-shadow: 52vmin 0 6.513428589610536vmin currentColor;
}
.background span:nth-child(19) {
    color: #583C87;
    top: 76%;
    left: 23%;
    animation-duration: 17s;
    animation-delay: -35s;
    transform-origin: -17vw 0vh;
    box-shadow: -52vmin 0 7.306730099680991vmin currentColor;
}
.background span:nth-child(20) {
    color: #e091dc;
    top: 56%;
    left: 10%;
    animation-duration: 39s;
    animation-delay: -53s;
    transform-origin: -6vw 25vh;
    box-shadow: 52vmin 0 6.869975445847922vmin currentColor;
}
.background span:nth-child(21) {
    color: #90b242;
    top: 42%;
    left: 50%;
    animation-duration: 207s;
    animation-delay: -8s;
    transform-origin: 17vw 21vh;
    box-shadow: -52vmin 0 7.1766564326212965vmin currentColor;
}
.background span:nth-child(22) {
    color: #e091dc;
    top: 20%;
    left: 59%;
    animation-duration: 123s;
    animation-delay: -156s;
    transform-origin: -10vw -11vh;
    box-shadow: 52vmin 0 6.961308298718168vmin currentColor;
}
.background span:nth-child(23) {
    color: #e091dc;
    top: 39%;
    left: 24%;
    animation-duration: 26s;
    animation-delay: -88s;
    transform-origin: 13vw -23vh;
    box-shadow: 52vmin 0 7.112464087141775vmin currentColor;
}


/*MÓVILES*/


/*MENÚ NAV*/


.nav__ul {
        display: none;
    }


.nav {
    height: 37px;
    width: 100%;
}

.nav__responsive-ul {
    display: block;
    position: fixed;
    width: 100%;
    margin-top: 0px; /*37*/
    padding-top: 0px; /*27*/
    height: 0px;
    z-index: 100;
    background: #00fd;
}

.nav__li-container {
    position: relative;
    top: -400px;
    height: calc(100vh - 645px);
    transition: all 0.75s;
    z-index: 1;
    width: 50%;
    margin: 0px;
}

.nav__responsive-li {
    width: 100%;
    padding: 3px 15px;
    background-color: #000b;
}

.nav__responsive-li i {
    box-sizing: border-box;
    text-align: center;
    margin-right: 5px;
    width: 30px;
    color: #0f0;
    transition-property: color;
    transition-duration: 0.5s;
    transition-timing-function: linear;
}

/*SVG*/

.fa-w-14 {
    position: relative;
    width: 1.2em !important;
    height: 1.2em !important;;
    top: 0em !important;
    left: -0.11em !important;
    /*color: #0f0 !important;*/
}

.svg-inline--fa {
    position: relative;
    width: 1.3em;
    height: 1.3em;
    top: .3em;
    left: .38em;
    margin-right: 10px;
    color: #0f0;
}

.nav__responsive-li a {
    color: #fff;
    text-decoration: none;
    transition-property: color;
    transition-duration: 0.5s;
    transition-timing-function: linear;
}

.nav__responsive-li:hover > a {
    color: #0f0;
}

.nav__responsive-li:hover > .svg-inline--fa {
    color: #b10ab1;
}

/*CHECKED*/

.casilla input {
  position: absolute;
  z-index: 100;
  top: 7px;
  left: 20px;
  width: 24px;
  opacity: 0;
  height: 24px;
}

.casilla input:checked + .nav__li-container {
    top: 37px;
}


.nav__responsive--button {
    position: absolute;
    padding: 6px 21px;
    display: block;
    color: #0f0;
    height: 37px;
    float: left;
    height: 37px;
}

.subtitulo {
    display: block;
    float: center;
    width: 100%;
    padding-top: 5px;
}

.subtitulo a {
    color: #fff;
    text-decoration: none;
    font-family: 'Grandstander';
    font-size: 1em;
}

.subtitulo a:hover {
    color: #0f0;

}


.nav__responsive--button--container {
    position: absolute;
    width: 100%;
    font-size: 22px;
    background-color: #000b;
    margin-top: 0px; /*-64*/
    z-index: 2;
    text-align: center;
    height: 37px;
}


/*CABECERA*/


.cabecera {
    position: relative;
	width: 100%;
	height: 415px;
	opacity: 1;
	padding-top: 0;  
}

.titulo a {
	position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Grandstander';
    font-size: 3.1em;
    color: #fff;
    text-decoration: none;
    text-shadow: 4px 2px 4px #00000088;
    transition-property: color text-shadow;
    transition-duration: 1s;
    transition-timing-function: linear;
}

.titulo a:hover {
    color: #0f0;
    text-shadow: 6px 2px 4px #000;
}


.seccion {
    position: absolute;
    width: 100%;
    top: 70%;
    float: center;
    text-align: center;
}

.seccion-nombre {
    position: relative;
    display: inline-block;
    font-family: 'Grandstander';
    font-size: 2em;
    color: #0f0;
    /*text-shadow: 4px 2px 4px #00000088;*/
    background: #000b;
    border-radius: 5px;
    padding-top: 5px;
    padding-right: 5px;
    padding-left: 5px;
}


/*BUSCADOR*/

.buscador-caja {
    position: absolute;
    top: 50%;
    display: inline-block;
    background: transparent;
    width: 100%;
}

.buscador-columna {
    color: blue;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 1em;
    padding: 10px;
}

.buscador-form {
    max-width: 270px;
    border-radius: 5px;
    font-size: 1em;
    padding: 5px;
    border: 0px;
    background: #0009;
    color: #fff;
    line-height: 1;

}

.buscador-form:focus {
    outline: none;
    background: #0005;
    line-height: 1;
}


/*SEARCH ICON X*/

/*input[type="search"]::-webkit-search-cancel-button {

  -webkit-appearance: none;

   height: 14px;
   width: 14px;
   display: block;
   background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC);
  
  background-repeat: no-repeat;
  background-size: 14px;
  color: red;

}*/




.buscador-form::placeholder {
  color: #aaa;
  line-height: 1;
}

.icons-buscador input {
    padding: 3px;
    width: 40px;
    background: transparent;
    border-radius: 100px;
    margin-top: 7px;
}

.icons-buscador input:hover {
    background: #0003;
}

.icons-buscador input:focus {
    outline: none;
}

.enlaces-buscador {
    margin-top: 30px;
    background: #0005;
    max-width: 288px;
    text-align: center;
    display: inline-block;
    border-radius: 5px;
    padding-bottom: 4px;
}

.enlaces-buscador a {
    color: #fff;
    text-decoration: none;
    font-size: 0.7em;
    padding: 5px;
}

.enlaces-buscador a:hover {
    color: #0f0;
}



/*BLOQUE ENTERO*/

.barra-separadora {
    position: relative;
    display: block;
    background: #000;
    color: #fff;
    text-align: center;
    font-size: 1em;
}


.container-block {
    position: relative;
    display: block;
    background: #000;
    color: #000;
    text-align: center;
}

/*SECCIÓN A 4 columnas*/

.seccion-A {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
}


.seccion-A h2 {
	padding-top: 5px;
    font-size: 1.5em;
    color: #fff; 
}

.seccion-A a {
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    color: #000;
    font-size: 1.1em;
}

.seccion-A a:hover {
    color: #fff;
}

.seccion-1-columna {
    background: #e091dc;
    width: 100%;
    height: 100%;
    object-fit: cover;
    text-align: center;
    font-size: 1em;
    padding: 20px;
}


.seccion-2-columna {
    background: #c0d68f;
    width: 100%;
    height: 100%;
    object-fit: cover;
    text-align: center;
    font-size: 1em;
    padding: 20px;
}


.seccion-3-columna {
    background: #f43ef4;
    width: 100%;
    height: 100%;
    object-fit: cover;
    text-align: center;
    font-size: 1em;
    padding: 20px;
}

.seccion-4-columna {
    background: #96d98c;
    width: 100%;
    height: 100%;
    object-fit: cover;
    text-align: center;
    font-size: 1em;
    padding: 20px;
}

.seccion-5-columna {
    background: #f879da;
    width: 100%;
    height: 100%;
    object-fit: cover;
    text-align: center;
    font-size: 1em;
    padding: 20px;
}

.seccion-6-columna {
    background: #96ba45;
    width: 100%;
    height: 100%;
    object-fit: cover;
    text-align: center;
    font-size: 1em;
    padding: 20px;
}

.seccion-7-columna {
    background: #f10ef1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    text-align: center;
    font-size: 1em;
    padding: 20px;
}

.seccion-8-columna {
    background: #50c03f;
    width: 100%;
    height: 100%;
    object-fit: cover;
    text-align: center;
    font-size: 1em;
    padding: 20px;
}

/*SECCIÓN B 1 columna*/

.seccion-B {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
}


.seccion-B h2 {
    padding-top: 5px;
    font-size: 1.5em;
    color: #fff; 
}

.seccion-B a {
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    color: #000;
    font-size: 1.1em;
}

.seccion-B a:hover {
    color: #fff;
}

/*SECCIÓN C 2 columnas*/

.seccion-C {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
}


.seccion-C h2 {
    padding-top: 5px;
    font-size: 1.5em;
    color: #fff; 
}

.seccion-C a {
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    color: #000;
    font-size: 1.1em;
}

.seccion-C a:hover {
    color: #fff;
}


/*SECCIÓN D 1 columna*/

.seccion-D {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
}


.seccion-D h2 {
    padding-top: 5px;
    font-size: 1.5em;
    color: #fff; 
}

.seccion-D a {
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    color: #00f;
    font-size: 1.1em;
}

.seccion-D a:hover {
    color: #f00;
}

/*GALERÍA*/


.galeria {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
    grid-template-rows: repeat(auto-fill,minmax(150px,150px));
    grid-auto-rows: 150px;
    grid-auto-columns: 150px;
    background: #000;
    /*grid-gap: 20px;*/
    /*margin: 20px;*/
}

.galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*FOOTER*/


.footer {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    background: transparent; /*#3E1E68*/
}

.footer-columna {
    color: #fff;
    width: 100%;
    height: 100%;
    object-fit: cover;
    text-align: center;
    font-size: 1em;
    padding-top: 50px;
    padding-bottom: 50px;
}

.footer-marco {
    display: inline-block;
    background: #000;
    width: 260px;
    border-radius: 10px;
}

.footer-columna p {
    margin: 2px;
}

.letra-mini {
    font-size: 0.7em;
    color: #fff;
}

.tiempo-widget {
    width: 320px;
}

.embalse iframe {
	width: 320px !important;
}

.boton {
    background: #3E1E68;
    margin: 5px;
    color: #fff;
    padding: 5px;
    border: 0;
    border-radius: 5px;
}

.boton:hover {
    background: #f00;
}

.boton:focus {
    outline: none;
}


/*TABLETS*/


@media screen and (min-width: 768px) {
	.titulo a {
    	font-size: 6em;
	}

    .footer {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(1,1fr);
        grid-gap: 20px;
    }

    .footer-columna {
        color: #fff;
        width: 100%;
        height: 100%;
        object-fit: cover;
        text-align: center;
        font-size: 1em;
    }

    .buscador-caja {
        top: 50%;
    }

    .buscador-form {
        min-width: 523px;
    }

    .seccion-nombre {
        font-size: 3em;
    }

    .seccion-A {
        grid-template-columns: 1fr 1fr;
    }

    .seccion-C {
        grid-template-columns: 1fr 1fr;
    }

    .tiempo-widget {
        width: 700px;
	}

	.embalse iframe {
		width: 600px !important;
    }
}


/*PANTALLAS DESKTOP PEQUEÑAS*/


@media screen and (min-width: 992px) {
	.titulo a {
    	font-size: 7em;
        top: 40%;
	}

    .nav__ul {
        display: inline-block;
        height: 37px;
    }

    .nav__responsive-ul {
        display: none;
    }

    .nav__li-container {
        display: none;
    }

    .nav__li {
        position: relative;
        display: inline-block;
        padding-top: 3px;
        padding-right: 10px;
        color: #0f0;
    }

    .nav__li:hover > a {
        color: #0f0;
    }

    .nav__li:hover > .svg-inline--fa {
    color: #b10ab1;
    }

    .nav__li a {
        color: #fff;
        text-decoration: none;
        transition-property: color;
        transition-duration: 1s;
        transition-timing-function: linear;
    }

    .nav__li i {
        box-sizing: border-box;
        text-align: right;
        margin-right: 5px;
        transition-property: color;
        transition-duration: 1s;
        transition-timing-function: linear;
    }

    .buscador-caja {
        top: 50%;
    }

    .buscador-form {
        min-width: 610px;
    }

    
}


/*PANTALLAS GRANDES*/


@media screen and (min-width: 1200px) {
	.titulo a {
    	font-size: 8em;
	}

    .galeria a:first-child {
        grid-row: span 2;
        grid-column: span 3;
    }

    .galeria a:nth-child(2) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .galeria a:nth-child(10) {
        grid-column: span 2;
    }    

    .galeria a:nth-child(4) {
        grid-row: span 2;
    }    

    .galeria a:nth-child(3) {
        grid-row: span 2;
    }

    .galeria a:nth-child(5) {
        grid-row: span 2;
        
    }

    .buscador-caja {
    top: 50%;
    }

    .buscador-form {
        min-width: 700px;
    }

    .seccion-A {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}


@media print {
	nav {
    	display: none;
	}
}