@charset "UTF-8";

html{
	font-size:14px;
	}

*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

body{
	font-size:1.1em;
	font-family: 'Roboto', sans-serif;
    font-weight:300;
	margin:0;
    color:#000;
    text-align:justify;
    position: relative;
    line-height:1.5em;
	}

/* ········ Estilos Generales ········ */

a:link, a:active, a:visited{
    text-decoration: none;
    color:#000000;
}

a:hover{
    color:#009ed8;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.img-half {
    max-width: 50%;
    float:left;
    height: auto;
}

h1{
    font-family: 'Roboto Condensed', sans-serif;
    font-size:2.6em;
    text-transform:uppercase;
}

h2{
    font-family: 'Roboto Condensed', sans-serif;
    font-size:2em;
    text-transform:uppercase;
}

h3{
    font-family: 'Roboto Condensed', sans-serif;
    text-transform:uppercase;
    font-size:1.1em;
    display:inline;
    border-bottom:1px solid #E2E2E2;
    color:#555555;
}

.grow { 
    transition: all .2s ease-in-out; 
}

.grow:hover { 
    transform: scale(1.2); 
}

.slider {
    width: 100%;
    margin: 0 auto;
}

.slider2 {
    width: 60%;
    margin: 0 auto;
}

.slick-slide {
    margin: 0px 20px;
}

.slick-slide img {
    width: 100%;
}

.slick-prev:before,
.slick-next:before {
    color: black;
}

#main{
    padding:3em;
}

.box3 ul {  
    margin: 0 0;  
    padding: 0 1em;  
    list-style: none;  
}  

.box3 li a:link{
    font-weight:bold;
}

.box3 li:before {   
    content: "";  
    border-color: transparent #666666;  
    border-style: solid;  
    border-width: 0.35em 0 0.35em 0.45em;  
    display: block;  
    height: 0;  
    width: 0;  
    left: -1em;  
    top: 0.9em;  
    position: relative;  
} 

/* ········ Cabecera y Menú ········ */

.logo{
    width:20%;
    padding-bottom: 1em;
}

#nav-trigger {
    display: none;
    text-align: center; 
    z-index:9999;
}

#nav-trigger span {
    display: inline-block;
    padding: 10px 30px;
    background-color: #F4F4F4;
    color: #555555;
    cursor: pointer;
    text-transform: uppercase; 
}

#nav-trigger span:after {
    display: inline-block;
    margin-left: 10px;
    width: 20px;
    height: 10px;
    content: "";
    border-left: solid 10px transparent;
    border-top: solid 10px #dedede;
    border-right: solid 10px transparent; 
}

#nav-trigger span:hover {
    background-color: #eeeeee; 
}

#nav-trigger span.open:after {
    border-left: solid 10px transparent;
    border-top: none;
    border-bottom: solid 10px #dedede;
    border-right: solid 10px transparent; 
}

nav {
    margin-bottom: 0; 
}

nav#nav-main {
    background-color: #F4F4F4; 
    padding: 10px 0; 
}

nav#nav-main ul {
    list-style-type: none; 
    margin: 0;
    padding: 0;
    text-align: center; 
}

nav#nav-main li {
    display: inline-block;
    border-right: solid 1px #dedede; 
    padding: 0 5px; 
}

nav#nav-main li:last-child {
      border-right: none; 
}

nav#nav-main a {
    display: block;
    color: #555555;
    padding: 10px 30px; 
    -webkit-transition-duration:0.2s;
}

nav#nav-main a:hover {
    background-color: #e2e2e2;
    color: #444444;
    -webkit-transition-duration:0.2s;
}

nav#nav-mobile {
    position: relative;
    display: none; 
}

nav#nav-mobile ul {
    display: none;
    list-style-type: none;
    position: absolute;
    left: 0;
    right: 0; 
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background-color: #F4F4F4; 
}

nav#nav-mobile li {
    display: block;
    padding: 5px 0;
    margin: 0 5px;
    border-bottom: solid 1px #dedede; 
}

nav#nav-mobile li:last-child {
    border-bottom: none; }

nav#nav-mobile a {
    display: block;
    color: #555555;
    padding: 10px 30px; 
}

nav#nav-mobile a:hover {
    background-color: #e2e2e2;
    color: #444444; 
}

/* ········ Cajas y Columnas ········ */

.contenedor{
    margin:0 auto;
    width:100%;
    padding:0em;
    display:flex;
    display:-webkit-flex;
    display:-ms-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items:stretch;
    justify-content: space-between;

}

.contenedor2{
    margin:0 auto;
    width:100%;
    padding:0em;
    display:flex;
    display:-webkit-flex;
    display:-ms-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items:stretch;
    justify-content: center;
}

.box1{
    width:100%;
}

.box2{
    width:65%;
}

.box3{
    width:50%; 
}

.box4{
    width: 35%;
}

.box5{
    width: 33.33333%;
    padding:1em;
}

.box6{
    width: 25%;
    padding:1em;
}

.print{
    line-height:2em;
    padding:0 1em 0 0;
}

.borde{
    border-bottom:1px solid #dedede;
    margin-bottom:2em;
}

.bg{
    background: #fafafa url(img/bg.jpg) no-repeat;
    background-size:cover;
    padding:2em;
    margin-bottom:2em;
}

.padding-right{
    padding-right:1em;
}

.marginb{
    margin-bottom:1em;
}

.cyan{
    background: #019cde;
    color:#ffffff;
    padding:1em;
}

.cyanh{
    color: #019cde;
}

.cyanbg{
    background: url(img/bg2.jpg);
    background-size: cover;
    padding:1em;
}

.magentah{
    color:#da0080;
}

.magentabg{
    background-image: url(img/bg4.jpg);
    background-repeat: no-repeat;
    padding:1em;
}

.amarillobg{
    background-image: url(img/bg5.jpg);
    background-repeat: no-repeat;
    padding:2em;
}

.amarilloh{
    border-bottom:4px solid #ffef00;
    display: inline;
}

.mobile{
    display: none;
}

/* Lightbox Productos */

.lightbox {
	display: none;
	position: fixed;
	z-index: 9999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(255,255,255,0.8);
}

.lightbox img {
	max-width: 90%;
	max-height: 80%;
	margin-top: 2%;
}

.lightbox:target {
	outline: none;
	display: block;
}

/* ········ Formulario de Contacto ········ */

.bloque{
    width:49%;
    display:inline;
    margin-bottom:1em;
    padding:7px;
    background:#ffffff;
    height:40px;
    font-size:0.9em;
    color:#000;
    text-transform:uppercase;
    font-weight:bold;
}

.bloque:focus{
    border:1px solid #da0080;
    outline: 0;
    -webkit-transition-duration:0.2s;
}

.bloque2{
    width:100%;
    display:inline;
    margin-bottom:1em;
    padding:7px;
    background:#ffffff;
    height:40px;
    font-size:0.9em;
    color:#000;
    text-transform:uppercase;
    font-weight:bold;
}

.bloque2:focus{
    border:1px solid #da0080;
    outline: 0;
    -webkit-transition-duration:0.2s;
}

.texto{
    width:100%;
    height: 150px;
    margin-bottom:1em;
    padding:10px;
    background:#ffffff;
    border:1px solid #dedede;
    font-size:0.9em;
    color:#000;
    text-transform:uppercase;
    font-weight:bold;
}

.texto:focus{
    border:1px solid #da0080;
    outline: 0;
    -webkit-transition-duration:0.2s;
}

.boton{
    background:#da0080;
    border:1px solid #da0080;
    padding:1em 2em;
    text-transform:uppercase;
    color:#FFFFFF;
    font-size:0.9em;
    font-weight:bold;
    -webkit-transition-duration:0.6s;
}

.boton:hover{
    background:#FFFFFF;
    border:1px solid #da0080;
    color:#da0080;
    outline:0;
    -webkit-transition-duration:0.6s;
}


/* ········ Footer ········ */

.footer{
    padding:2em;
    background-color:#ffffff;
    background-image: url(img/bg3.jpg);
    background-repeat: no-repeat;
    background-position: right top;
    line-height: 1.7em;
    text-align:center;
    color:#111111;
}

/* ········ Ventana Modal ········ */

.modalDialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 200ms ease-in;
    -moz-transition: opacity 200ms ease-in;
    transition: opacity 200ms ease-in;
    pointer-events: none;
    }

.modalDialog:target {
    opacity:1;
    pointer-events: auto;
    }

.modalDialog > div {
    width: 50%;
    position: relative;
    margin: 15% auto;
    padding: 1em;
    background: #fff;
    text-align:justify;
    }

.close {
    background: #FFED00;
    color: #000;
    line-height: 50px;
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
    width: 50px;
    text-decoration: none;
    font-weight: bold;
    padding:1em;
    text-transform:uppercase;
    }

.close:hover { background: #000000; color:#FFED00; }

.modalb{
    border:5px solid #000000;
    background:transparent;
    padding:0.5em;
    font-size:1.3em;
    color:#000000;
    font-family: 'Roboto Condensed', sans-serif;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -webkit-transition-duration:0.2s;
    text-decoration: none;
}

.modalb:hover{
    background:#000000;
    color:#FFED00;
    -webkit-transition-duration:0.2s;
}


/* ········ Responsive ········ */

@media all and (max-width: 768px) {
    
    body{
        font-size:0.9em;
    }
    
    #main{
    padding:4em 2em 0 2em;
    }
    
    h1{
        font-size:2em;
    }
    
    h2{
        font-size:1.5em;
    }
    
    .contenedor{
        width:100%;
        flex-direction:column;
    }
    
    .contenedor2{
        width:100%;
        flex-direction:column;
    }
    
    .ocultar {
    display:none;
    }
    
    .mobile{
        display: inline-block;
        margin-top:3em;
    }
    
    .mobile img {
        width:30%;
        height:auto;
    }
    
    .logo{
        width: 70%;
    }

    .box1, .box2, .box3, .box4, .box5, .box6{
        width:100%;
    }
    
    .padding-right{
        padding-right:0;
    }
    
    #nav-trigger {
    display: block; 
    z-index:9999;
    }
    
    nav#nav-main {
    display: none; 
    z-index:9999;
    }
    
    nav#nav-mobile {
    display: block; 
    z-index:9999;
    }
    
    .lightbox {
	top: 0;
	left: 0;
    padding-top:45%;
    }
    
}