@viewport {
    width: extend-to-zoom;
    zoom: 1.0;
}
@-ms-viewport {
    width: extend-to-zoom;
    zoom: 1.0;
}

body {
    background-color: #eee;
    font-family: Arial, sans-serif;
    font-size: 16px;
}
footer {
    background-color: #ccd;
    bottom: 0;
    color: #000;
    font-size: 10px;
    font-family: Arial, sans-serif;
    height: 1em;
    left: 0;
    margin-left: 0em;
    margin-top: 2em;
    padding: 1em;
    position: fixed;
    text-align: center;
    vertical-align: center;
    width: 100%;
}
h1 {
    font-size: 4em;
    margin-top: 1px;
    text-align: center;
}
h2 {
    font-size: 1.4em;
    text-align: center;
}
h3 {
    font-size: 1.1em;
    text-align: center;
}
h4 {
    text-align: left;
}
header {
    background: url("logo.jpg") no-repeat 99% center;
    background-size: 150px, 150px, 150px;
    margin: 0;
    padding: 0.1em 0 1em 0;
    width: 100%;
}
header h1 {
    color: #fff;
    margin: 0;
    text-shadow: #666666 5px 2px 2px;
    z-index: 1;
}
header h2 {
    background-color: #000 center;
    color: #333;
    margin: 0.5em 0 0 0;
    text-align: center;
    text-shadow: #666666 0.2em 0.3em 0.8em;   
}

header #logo {
    margin: 1em 1em 1em 40em;
    padding: 0;
    position: fixed;
    right: 0;
    top: 0;
    vertical-align: top;
}
header #logo img {
    height: 100%;
    width: 100%;
}


/* Menu */
nav {
    font-size: 1.0em;
    text-align: center;
    width: 100%;
}
nav .menu {
    margin: 0;
    padding: 0;
}
nav .menu li {
    display: inline-block;
    line-height: 2.2rem;
}
nav .menu .submenu {
    margin: 0;
    padding: 0;
}
nav .menu .submenu li {
    display: block;
    text-align: left;
}
nav a {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #fff;
    border-radius: 0.8em;
    background-color: #2175bc;
    color: #fff;
    display: block;
    margin:0 0.1em;
    padding: 0 0.7em;
    text-decoration: none;
}
nav a:hover {
    background: rgba(0,0,0,.9);
    border-color: #fff;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    transition: all 0.9s ease;
}
nav .menu li .submenu li {    
    max-height: 0;       /*ocultar*/
    transition: all .3s; /*    */
    overflow: hidden;    /*menu*/
    width: 100%;
}
nav .menu li:hover .submenu li {
    max-height: 180px;   /*mostrar*/
    overflow: visible;   /*menu*/
}
.menu .submenu {
    position: absolute;
}
/*fin Menu*/



.secciones {
    background: rgba(0,0,0,0.1);
    border-radius: 0.5em;
    box-shadow: rgba(0,0,0,0.5) 5px 5px 5px;
    display: inline-block;
    float: left;
    margin: 2em 1em 1em 1%;
    padding: 1em;
    text-align: center;
    vertical-align: top;
    width: 70%;
}
.secciones .bloque {
    margin-bottom: 1em;
}

.secciones .bloque figure {
    margin: 0 auto;
    width: 50%;
}
.secciones .bloque .imgsec img {
    border-radius: 5em;  
    width: 100%;
    max-width: 600px;
}
.secciones .bloque .condiciones {
    text-align: left;
    font-size: 0.9em;
}
.secciones .bloque .titulo {
    margin: 0.5em 0.5em;
    padding: 0.5em 1em 0.5em 1em;
    text-align: left;
}
.secciones .bloque .marcas {
    width: 100%;
}
.secciones .bloque .marcas img {
    border-radius: 0.2em;
    margin: 0 auto;
    width: 20%;
    cursor: pointer;
    max-width: 200px;
    min-width: 70px;
}

.secciones .bloque #local {
    margin: 0 auto;
    min-width: 220px;
    max-width: 640px;
    width: 100%;
}
.secciones .bloque #local img {
    border-radius: 1em;
    width: 100%;
}

.secciones .contacto {
    margin: 1em 0 1em 0;
    width: 100%;
    min-width: 220px;
    max-width: 1080px;
}

.secciones .contacto figure {
    margin: 0;
    width: 100%;
}
.secciones .contacto img {
    border-radius: 0.5em;
    width: 100%;
}
.secciones .contacto iframe {
    width: 100%;
    height: 600px;
}

.lado {
    background: rgba(0,0,0,0.2);
    border: 0.1em;
    border-radius: 0.5em;
    border-style: solid;
    display: block;
    float: left;
    margin: 1em 1em 2em 1%;
    max-width: 800px;
    padding: 0.1em;
    text-align: center;
}
.lado figure {
    margin: 0 auto;
    width: 100%;
}
.lado img {
    width: 100%;
}

.publi {
    display: block;
    float: left;
    margin: 2em 1em 2em 1%;
    max-width: 500px;
    padding: 0.1em;
    text-align: center;
}
.publi figure {
    margin: 0 auto;
    width: 100%;
}
.publi img {
    width: 100%;
}

.info {
    margin: 1em;
    text-align: left;
}

.peque {
    font-size: 0.9em;
}
.resalta {
    font-style: italic;
    font-size: 1.2em;
}
.ruta {
    margin: 1em 1em 0 1em;
    text-align: left;
    font-size: 1em;
    font-style: italic;
}

#abarca {
    background: #3667D7;
    color: yellow; 
    font-style: italic;
}
header #sat {
    background-color: #3667D7;
    color: white;        
    font-style: italic;
}


@media screen and (max-width: 1080px) {
    header #logo img {
        width: 0;
    }
    header h1 {
        font-size: 3em;
    }
    header h2 {
        font-size: 1.5em;
    }
    nav {
        font-size: 1.1em;
    }
    nav .menu li {
        line-height: 3rem;
    }
    .lado {
        width: 50%;
        min-width: 240px;
    }
    .ruta {
        font-size: 0.9em;
    }
    .secciones {
        width: 94%;
    }    
    .secciones .bloque {
        display: inline-block;
        vertical-align: top;
        width: 98%;
    }
    .secciones .contacto {
        display: inline-block;
        vertical-align: top;
        width: 98%;
    }
    .secciones .contacto figure {
        display: inline-block;
        vertical-align: top;
        width: 90%;
    }
    .secciones .contacto iframe {
        height: 400px;
    }
}

@media screen and (min-width: 1081px) {
    .secciones {
        width: 88%;
    }
    .secciones .bloque {
        display: inline-block;
        vertical-align: top;
        width: 48%;
    }
    .secciones .contacto {
        display: inline-block;
        margin-right: 0.5em;
        vertical-align: top;
        width: 48%;
    }
    .secciones .contacto iframe {
        height: 480px;
    }
}

@media screen and (min-width: 1366px) {
    .lado {
        margin-top: 2em;
        width: 15%;
    }
    .secciones {
        width: 78%;
    }
}
