/* CSS Document */
*
{margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

.mod {
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    position:  absolute;
    top: 0;
    left: 0;
    display: flex;
    z-index: 2100;
    
    animation: mod 1s 0.1s forwards;
    visibility: hidden;
    opacity: 0;
}

.emergente {
    margin: auto;
    width: 50%;
    height: 50%;
    background: none;
    border-radius: 20px;
     overflow: hidden;
}

#cerrar {
    display: none;
}

#cerrar + label {
    position: fixed;
    color: #fff;
    font-size: 25px;
    z-index: 3000;
    background: grey;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    right: 20px;
    top: 20px;
    cursor: pointer;
    text-align: center;
    
    animation: mod 1s 0.5s forwards;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;

}

#cerrar:checked + label, #cerrar:checked ~ .mod {
    display: none;
}

@keyframes mod {
    100% {
        visibility: visible;
        opacity: 1;
    }
}

.banner{
    width: 100%;
    height: 100%;
    margin: auto;
    background-size: 100% 100%;
    
    animation-name: banner;
    animation-duration: 7s;
    animation-iteration-count:infinite;
    animation-direction: normal;
        }
@keyframes banner {
    0%, 33% {background-image: url(img/PRODUCCIONES-CYL-LOGO-ANTIGUO.jpg); opacity: 1;}
    34%, 66% {background-image: url(img/hemos-renovado.jpg); opacity: 1;}
    67%, 100% {background-image: url(img/LOGO-CYL.jpg); opacity: 1;}
    }

header {margin-top: 0px;
    width: 100%;
height: 100px;overflow: hidden;
font-family: font-family: 'Comfortaa', cursive;
position: relative;}

nav {top: -10px;
    position: absolute;
left: 0;
right: 0;
margin: 10px auto;
max width: 1000px;
width: 90%;
}
nav ul {list-style:none;}

nav > ul{display: table;
width: 100%;
background: black;
position: relative;}
nav > ul li {display: table-cell;
}
/*sub menu*/

nav > ul > li:hover > ul {
    display: block;
    cursor: pointer;
    height: 100%;
    
}
nav > ul > li > ul {
    display: block;
    position: absolute;
    background: black;
    left: 0;
    right: 0;
    overflow: hidden;
    height: 0%;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    
}

nav > ul li a {
    color: white;
    display: block;
    line-height: 11px;
    padding: 20px;
    position: relative;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    }
nav > ul > li > ul > li a:hover {
    background: #5da5a2;
}
nav > ul > li > a span {
    background: #174459;
    display: block;
    height: 100%;
    width: 100%;
    left:0;
    position: absolute;
    top: -48px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    
}
nav > ul > li >a span .icon{
    display: block;
    line-height: 60px;
    height: 50px;
    font-size: 16px;
    
}
nav > ul > li > a:hover > span {
    top: 0;
}

nav ul li a .primero {
    background:aqua;
}
nav ul li a .segundo {
    background:orange;
}
nav ul li a .tercero {
    background:green;
}
nav ul li a .cuarto {
    background:red;
}
nav ul li a .quinto {
    background:#0BF2B6;
}
nav ul li a .sexto {
    background:purple;
}

body{background-image: url(fondo.jpg);
    }


}
.main
{
    width: 90%;
    max-width: 1000px;
    margin: 0px 0px;
}

.slides {
width: 80%;
    max-width: 800px;
}

.slides img {
    width: 100%;
}

.slidesjs-pagination {
    background: #424242;
    list-style: none;
    overflow: hidden;
}

.slidesjs-pagination li {
    float: left;
}

.slidesjs-pagination li a {
    display: block;
    padding:10px 20px;
    color: #fff;
    text-decoration: none;
}
.slidesjs-pagination li a:hover {
    background: #000;
}

.slides .active {
    background: #000;
}

.slidesjs-navigation {
    background: #000;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    float: right;
}

.contenidos {
    font-size: 20px;
    width: 100%
}

.informacion {
    border: 3px;
}

.proveedores {
    display: inline-flex;
}

.galeria
{width:93%;
margin: 0px 30px;
padding:15px;
list-style:none;
box-sizing:content-box;
display:flex;
flex-wrap:wrap;
justify-content: space-around;
}
.galeria li
{margin:2px 2px;
}

.galeria img
{width:290px;
height:auto;
}
.modal h3
{text-align:center;
font-size:30px;
color: darkgreen;
}
.modal
{visibility:hidden;
opacity:0;
}

.modal:target
{
	visibility:visible;
	opacity:1;
	transition:1.0s;
	position:fixed;
background:rgba(184,156,123,0.9);
top: 0;
left:0;
width:100%;
height:100%;
}
.imagen 
{width:100%;
height:50%;
display:flex;
justify-content:center;
align-items:center;
}
.imagen a
{color:yellowgreen;
font-size:60px;
text-decoration:none;
margin:0 10px;
}

.imagen a:nth-child(2)
{margin:0;
height:100%;
flex-shrik:2;
}

.imagen img
{width:100%;
height:100%;
max-width:100%;
border:8px solid #6e3d03;
box-sizing:border-box;
}


.social {
    position: fixed;
    left: 00px;
    top: 200px;
    z-index: 5000;
}

.social ul {
    list-style: none;
        }

.social ul li a {
    display: inline-block;
    color: #fff;
    background: #000;
    padding: 10px 15px;
    text-decoration: none;
    -webkit-transition: all 500ms ease;
    -o-transition:all 500ms ease ;
    transition:all 500ms ease ;
    }
.social ul li .icon-instagram {background:#bc2a8d ;}
.social ul li .icon-facebook {background:#3b5998 ;}
.social ul li .icon-twitter {background:#1da1f2 ;}
.social ul li .icon-whatsapp {background: #25d366;}
.social ul li .icon-youtube {background: #ff0000;}

.social ul li a:hover{
    padding: 15px 30px;
    background: #000;
    border-radius: 0px 10px 10px 0px;
}
