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

/* Hack para Internet Explorer */
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,img{
    display: block;
} 

html {
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-font-smoothing: subpixel-antialiased;
    -ms-font-smoothing: subpixel-antialiased;
    -o-font-smoothing: subpixel-antialiased;
}
html, body{;
    width:100%;
    height:100%;
}
body{
    font:10px 'Libre Baskerville', sans-serif;
    background:#000;
    background-image: url(../img/fondos/gothic_victorian2.jpg);
    text-align:left;
}
main{
    width:100%;
    overflow:hidden;
}

h1{
    display:none;
}
h2{
    font:5em 'Marcellus SC', cursive;
    color:#fff;
    background:#7F393E;
    background: url(../img/fondos/patron1.jpg);
    margin:0 auto;
    margin-bottom:40px;
    padding:20px;
    border: 10px double #fff;
    text-align:center;
}
h3{
    font:2.75em 'Marcellus SC', cursive;
    margin-bottom:10px;
    color:#CC1E2B;
}
h4{
    font-size:1.5em;
    margin:15px 0;
    color:#8C6C08;
    text-transform:uppercase;
}
h5{
    display:inline-block;
    padding:10px;
    font:1.45em 'Marcellus SC', cursive;
    text-transform: uppercase;
    color:#ddd;
    border:6px double #ddd;
    margin-bottom:40px;
}
h6{
    font-size:1.2em;
    color:#aaa;
    margin-top:60px;
}
p{
    font-size:1.6em;
    margin-bottom:20px;
    text-align:left;
    color:#222;
    font-weight:400;
}
p:last-clild{
    margin-bottom:0px;
}
a{
    text-decoration:none;
    margin:0;
    padding:0;
}
li{
    list-style-type:none;
}

img{
    border:0;
    min-width:100%;
    height:auto;
}
hr {
    border: 0; 
    height: 0; 
    border-top: 4px double #222; 
    text-align:center;
    margin:25px 0;
}
hr:after {
    position: relative; 
    top: -14px; 
    content:"\25ca\00a0\25ca\00a0\25ca"; 
    font-size: 26px;
    line-height: 26px; 
    color: #222;
}



/* CABECERA
============================ */

header{
    width:100%;
    overflow:hidden;
    background:#050505;
    background: url(../img/fondos/lineas.jpg);
    padding-top:25px;
}

/* Logo */

header .logo{
    width:40%;
    margin:0 auto;
    margin-bottom:25px;
}
header .logo img{
    width:100%;
}


/* Menu */

#menu{
    width:100%;
    min-height:50px;
    background:#000;
    background-image: url(../img/fondos/patron1.jpg);
    
    border-top:4px solid #252525;
    border-bottom:4px solid #252525;
    
    -webkit-box-shadow: 0px 6px 9px 0px rgba(0,0,0,.3);
    -moz-box-shadow: 0px 6px 9px 0px rgba(0,0,0,.3);
    -ms-box-shadow: 0px 6px 9px 0px rgba(0,0,0,.3);
    -o-box-shadow: 0px 6px 9px 0px rgba(0,0,0,.3);
    box-shadow: 0px 6px 9px 0px rgba(0,0,0,.3);
    
    position:relative;
    z-index:100;
}

#menu.scroll{
    position:fixed;
    top:0;
    z-index:100;
}

#menu ul{
    list-style: none;
    text-align:center;
}
#menu ul li{
    display:inline-block;
    position:relative;
    background:#222;
}
#menu ul li a{
    display:block;
    font-family: 'Libre Baskerville', serif;
    font-family: 'Marcellus SC', serif;
    font:1.8em 'Marcellus SC', serif;
    text-transform: uppercase;
    color:#fff;
    padding:20px 25px 15px 25px;
    background-image: url(../img/fondos/metal.jpg);
    
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -ms-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}
#menu ul li a:hover, #menu ul li a.active{
    background:#333;
    background-image: url(../img/fondos/metal2.jpg);
    font-weight:800;
}
#menu ul li .trianguloLeft{
    width:0px;
    height:0px;
    border-bottom:30px solid transparent;  /* izquierda flecha */
    border-top:30px solid transparent; /* derecha flecha */
    border-left:10px solid #191919; /* base flecha y color*/
    font-size:0px;
    line-height:0px;
    position:absolute;
    left:0;
}
#menu ul li .trianguloRight{
    width:0px;
    height:0px;
    border-bottom:30px solid transparent;  /* izquierda flecha */
    border-top:30px solid transparent; /* derecha flecha */
    border-right:10px solid #222; /* base flecha y color*/
    font-size:0px;
    line-height:0px;
    position:absolute;
    right:0;
}

/* Menu movil */

.boton_movil{
    display:none;
    position:fixed;
    top:5px;
    left:5px;
    width:40px;
    height:40px;
    padding:7.5px;
    color:#fff;
    background:#B21A26;
    border-radius:50%;
    z-index:200;
    text-align:center;
    
    -webkit-box-shadow: 0px 6px 6px 0px rgba(0,0,0,.5);
    -moz-box-shadow: 0px 6px 6px 0px rgba(0,0,0,.5);
    -ms-box-shadow: 0px 6px 6px 0px rgba(0,0,0,.5);
    -o-box-shadow: 0px 6px 6px 0px rgba(0,0,0,.5);
    box-shadow: 0px 6px 6px 0px rgba(0,0,0,.5);
}
.switch:before{
    content: '\f0c9';
    font-family: 'FontAwesome';
    font-size:25px;
    line-height:25px;
}
.close:before{
    content: '\f00d';
    font-family: 'FontAwesome';
    font-size:25px;
    line-height:25px;
}
.switch,.close{
    display:none;
}
#lightbox_menu{
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    width:100%;
    height:100%;
    z-index:90;
    background:rgba(0,0,0,0.8);
    display:none;
    overflow:hidden !important;
}

/* SLIDER
============================ */

/* Slider video */

#slider{
    width:100%;
    height:auto;
    position: relative;
    overflow: hidden;
    border: 0 !important;
    padding:0;
    z-index:80;
    background: #000;
}
#slider:before {
    content: "";
    display: block;
    padding-top: 35%;
}
#slider video, #slider iframe{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
}




/* MODULOS
============================ */

.separador{
    width:100%;
    min-height:45px;
    background:#000;
    background-image: url(../img/fondos/patron1.jpg);
    
    border-top:4px solid #252525;
    border-bottom:4px solid #252525;
    margin-bottom:60px;
    
    -webkit-box-shadow: 0px 6px 6px 0px rgba(0,0,0,.5);
    -moz-box-shadow: 0px 6px 6px 0px rgba(0,0,0,.5);
    -ms-box-shadow: 0px 6px 6px 0px rgba(0,0,0,.5);
    -o-box-shadow: 0px 6px 6px 0px rgba(0,0,0,.5);
    box-shadow: 0px 6px 6px 0px rgba(0,0,0,.5);
}

.box100{
    width:100%;
    overflow:hidden;
}
.box70{
    width:68%;
    float:right;
}
.box30{
    width:28%;
    float:left;
}

section{
    width:1280px;
    margin:0 auto;
    margin-bottom:60px;
    padding:45px;
    text-align:left;
    overflow:hidden;
    background:#fff;
    background: url(../img/fondos/papel.jpg);
    border: 10px double #252525;
    
    -webkit-box-shadow: 0px 20px 10px -15px rgba(0,0,0,.5);
    -moz-box-shadow: 0px 20px 10px -15px rgba(0,0,0,.5);
    -ms-box-shadow: 0px 20px 10px -15px rgba(0,0,0,.5);
    -o-box-shadow: 0px 20px 10px -15px rgba(0,0,0,.5);
    box-shadow: 0px 20px 10px -15px rgba(0,0,0,.5);
}
section a{
    color:#CC1E2B;
    font-weight:600;
}

/* Módulo 1 */
.modulo1{
    width:100%;
    margin-bottom:20px;
    padding-bottom:20px;
    overflow:hidden;
}
.modulo1 .texto{
    width:71.5%;
    float:left;
}
.modulo1 .imagen{
    position:relative;
    overflow:hidden;
    width:26%;
    float:right;
    background-position:center;
    background-size:cover;
}

.modulo1 .imagen:before{
    content:"";
    display: block;
    height:0;
    padding-top:142%;
    border:1px solid #999;
}
.modulo1 .logo{
    background:#fff;
    background-position:center;
    background-size: auto 80%;
    background-repeat:no-repeat;
}
.modulo1 .logo:before{
    content:"";
    display: block;
    height:0;
    padding-top:70%;
    border:1px solid #999;
}
.modulo1 li{
    font-size:1.5em;
    margin-bottom:5px;
    list-style-type:square !important;
    margin-left:30px;
}

   
   
/* Módulo 2 */
.modulo2{
    width:48%;
    margin-right:4%;
    overflow:hidden;
    float:left;
    border:3px #999 double;
    padding:20px;
    margin-bottom:35px;
    background: #fff;
    min-height:220px;
}

.modulo2:nth-last-child(-n+2){
    margin-bottom:0;
}
.modulo2:nth-child(2n){
    margin-right:0;
}

.modulo2 .texto{
    width:55%;
    float:left;
}
.modulo2 .imagen{
    position:relative;
    overflow:hidden;
    width:40%;
    float:right;
    background-position:top;
    background-size:cover;
    border-radius:50%;
    border:1px solid #999;
}
.modulo2 .imagen:before{
    content:"";
    display: block;
    height:0;
    padding-top:100%;
}
.modulo2 p{
    margin-bottom:0;
}


/* Módulo 3 */
.modulo3{
    width:22.75%;
    margin-right:3%;
    margin-bottom:30px;
    float:left;
    overflow:hidden;
    text-align:center;
}
.modulo3:nth-last-child(-n+4){
    margin-bottom:0;
}
.modulo3:nth-child(4n){
    margin-right:0;
}
.modulo3 .texto{
    width:100%;
}
.modulo3 .imagen{
    position:relative;
    overflow:hidden;
    width:100%;
    margin-bottom:15px;
    background-position:top;
    background-size:cover;
    background-repeat:no-repeat;
    border:1px solid #999;
    
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);

    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -ms-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}
.modulo3 .imagen:hover{
    -webkit-filter: grayscale(0);
    -moz-filter: grayscale(0);
    -ms-filter: grayscale(0);
    -o-filter: grayscale(0);
    filter: grayscale(0);
}
.modulo3 .imagen:before{
    content:"";
    display: block;
    height:0;
    padding-top:142%;
}
.modulo3 span{
    font-size:18px; 
    color:#B21A26;
    display:inline-block;
    margin-left:10px;
}



/* Slider aside */

.slider_aside{
    position:relative;
    overflow:hidden;
    width:26%;
    float:right;
}
.slider_aside .slide{
    width:100%;
    position:relative;
    overflow:hidden;
    opacity:1;
    border:0 !important;
    background:#000;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    margin-bottom:10px;
}
.slider_aside .slide:before{
    content:"";
    display:block;
    padding-top:135%;
}
.slider_aside h6{
    text-align:center;
}
.slider_aside figure{
    width:100%;
    position: absolute;
    opacity:0;
    transition:1s ease;
    float:left;
}
.slider_aside figure.mostrar{
    position:static;
    opacity:1;
    transition:1s ease;
}
.slider_aside figure.ocultar{
    display:hidden;
}


/* Lazo */
.contador{
    width:100%;
    min-height:45px;
    position:relative;
    z-index:10;
}
.ribbon {
    display:block;   
    font-size: 2em;
    width: 90%;
    position: relative;
    background: #B21A26;
    color: #fff;
    text-align: center;
    padding: 1em 0;
    margin: 2em auto 3em;
    border:2px #7F393E solid;
    font-variant:small-caps;
}
.ribbon:before, .ribbon:after {
    content: "";
    position: absolute;
    display: block;
    bottom: -1em;
    border: 1.5em solid #B21A26;
    z-index: -10;
}
.ribbon:before {
    left: -2em;
    border-right-width: 1.5em;
    border-left-color: transparent;
}
.ribbon:after {
    right: -2em;
    border-left-width: 1.5em;
    border-right-color: transparent;
}
.ribbon .ribbon-content:before, .ribbon .ribbon-content:after {
    content: "";
    position: absolute;
    display: block;
    border-style: solid;
    border-color: #7F393E transparent transparent transparent;
    bottom: -1em;
}
.ribbon .ribbon-content:before {
    left: 0;
    border-width: 1em 0 0 1em;
}
.ribbon .ribbon-content:after {
    right: 0;
    border-width: 1em 1em 0 0;
}


/* DONDE
============================ */

#donde #map{
    position:relative;
    overflow:hidden;
    width:100%;
    height:auto;
    border:1px solid #999;
}
#donde #map:before{
    content:"";
    display: block;
    height:0;
    padding-top:70%;
}
#donde i{
    font-size:2em;
    position:relative;
    bottom:-5px;
    margin-right:5px;
}


/* CONTACTO
============================ */

#contacto .destacado{
    margin-bottom:40px;
}

#contacto form{
    width:100%;
    float:left;
    text-align:left;
}
#contacto form input, #contacto form textarea{
    font-family: 'Libre Baskerville', sans-serif;
    width:100%;
    padding:18px;
    margin-bottom:27px;
    border:1px solid #999;
    font-size: 1.75em;
    
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -ms-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}
#contacto form textarea{
    height:300px !important;
}
#contacto form input:focus, #contacto form textarea:focus{
    outline:2px solid #aaa;
}
#contacto form .enviar{
    background:#222;
    background-image: url(../img/fondos/metal2.jpg);
    width:100%;
    color:#fff;
    text-align:center;
    text-transform:uppercase;
    margin-bottom:0;
}
#contacto form .enviar:hover{
    background:#222;
    background-image: url(../img/fondos/metal3.jpg);
}

#contacto form .msg{
    color:white;
    font-size:1.5em;
    font-weight:700;
    margin-top:36px;
    padding:18px;
    width:100%;
    text-align:center;
    display:none;
}
#contacto form .msg_ok{
    background:#589D05;
}
#contacto form .msg_error{
    background:#CC1E2B;
}
#contacto form input:focus.campo_error, #contacto form textarea:focus.campo_error{
    outline:2px solid #CC1E2B;
}


/* FOOTER
============================ */

footer{
    background: #050505;
    background: url(../img/fondos/lineas.jpg);
    border-top: 15px solid #252525;
    padding:45px;
    color:#eee;
    overflow:hidden;
    min-height:120px;
    text-align:center;
}
footer p{
    margin-bottom:80px;
    color:#eee;
    text-align:center;
    font-size:3.5em;
    height:60px;
}
footer i{
    display:inline;
    color:#fff !important;
    background:#454545;
    margin:0 5px;
    border-radius:80px;
    border:2px solid #252525;
    width:75px;
    height:75px;
    padding:18px;
    
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -ms-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}
footer i:hover{
    background:#777;
}
footer a{
    color:#999;
}
footer a:hover{
    color:#aaa;
}


/* COLABORAN
============================ */
#colaboran ul li{
    position:relative;
    width:15%;
    margin-right:2%;
    margin-bottom:20px;
    float:left;
    background:#fff;
    border:1px solid #999;
}
#colaboran ul li:nth-child(6n){
    margin-right:0;
}
#colaboran ul li:before{
    content:"";
    display: block;
    height:0;
    padding-top:75%;
}
#colaboran ul li>a{
    position:absolute;
    top: 0;
    left: 0;
    right:0;
    bottom:0;
}
#colaboran ul li a{
    text-align:center;
    width:100%;
}
#colaboran ul li a img{
    max-width:100%;
    width:auto;
    height:100%;
    padding:30px;
    object-fit:contain;
    
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);

    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -ms-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}
#colaboran ul li a img:hover{
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -ms-transform: scale(1.15);
    -o-transform: scale(1.15);
    transform: scale(1.15);
    
    -webkit-filter: grayscale(0) blur(0);
    -moz-filter: grayscale(0) blur(0);
    -ms-filter: grayscale(0) blur(0);
    -o-filter: grayscale(0) blur(0);
    filter: grayscale(0) blur(0);
}