/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/*===== Fuentes =====*/
@font-face {
    font-family:'Gotham-Medium';
    src: url('../fonts/Gotham-Medium_gdi.eot');
    src: url('../fonts/Gotham-Medium_gdi.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Gotham-Medium_gdi.woff') format('woff'),
        url('../fonts/Gotham-Medium_gdi.ttf') format('truetype'),
        url('../fonts/Gotham-Medium_gdi.otf') format('opentype'),
        url('../fonts/Gotham-Medium_gdi.svg#Gotham-Medium') format('svg');
    font-weight: 350;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-2212;
}

@font-face {
    font-family:'Gravity-Bold';
    src: url('../fonts/Gravity-Bold_gdi.eot');
    src: url('../fonts/Gravity-Bold_gdi.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Gravity-Bold_gdi.woff') format('woff'),
        url('../fonts/Gravity-Bold_gdi.ttf') format('truetype'),
        url('../fonts/Gravity-Bold_gdi.otf') format('opentype'),
        url('../fonts/Gravity-Bold_gdi.svg#Gravity-Bold') format('svg');
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-2122;
}

@font-face {
    font-family:'Gravity-Book';
    src: url('../fonts/ravity-Book_gdi.eot');
    src: url('../fonts/Gravity-Book_gdi.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Gravity-Book_gdi.woff') format('woff'),
        url('../fonts/Gravity-Book_gdi.ttf') format('truetype'),
        url('../fonts/Gravity-Book_gdi.otf') format('opentype'),
        url('../fonts/Gravity-Book_gdi.svg#Gravity-Book') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-2122;
}

@font-face {
    font-family:'Gravity-UltraLight';
    src: url('../fonts/Gravity-UltraLight_gdi.eot');
    src: url('../fonts/Gravity-UltraLight_gdi.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Gravity-UltraLight_gdi.woff') format('woff'),
        url('../fonts/Gravity-UltraLight_gdi.ttf') format('truetype'),
        url('../fonts/Gravity-UltraLight_gdi.otf') format('opentype'),
        url('../fonts/Gravity-UltraLight_gdi.svg#Gravity-UltraLight') format('svg');
    font-weight: 250;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-2122;
}

/*===== Estilos generales =====*/
h1 { 
    font-family: 'Gotham-Medium',arial,sans-serif; 
    text-align: center;
}

p,
a { font-family: 'Gravity-Book', arial, sans-serif; }

h1,
p { margin: 0; }

a:hover { text-decoration: none !important;}

.wd-fl {
    width: 100%;
    float: left;
}

.abs {position: absolute;}

.bg-blanco { background-color: #fff; }

.bg-trans { background-color: rgba(255,255,255,0.8); }

.bg-azul { background-color: #21386d; }

.bg-gris { background-color: #ebebeb; }

.hd-xs { display: none; }

.hd-dsk { display: block; }

hr.linea-blanca { 
    margin: 0;
    border-top: 1px solid #fff; 
}

/*===== Header =====*/
header .barra-sup {
    background: #21386d; /* Old browsers */
    background: -moz-linear-gradient(left,  #21386d 0%, #21386d 35%, #ffffff 35%, #ffffff 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  #21386d 0%,#21386d 35%,#ffffff 35%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  #21386d 0%,#21386d 35%,#ffffff 35%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#21386d', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
 
}

header .logo1 {
    margin-top: 13%;
    height: 55px;
    background: url(../img/logo-quantum.svg) no-repeat 50% 14px;
    background-size: 100%;
}

header .logo2 {
    height: 110px;
    background: url(../img/logo-sg.svg) no-repeat 50%;
    background-size: 70%;
}

header .logo2 a { height: 100%; }
 
header .logo2 span { display: none;}

header .navbar {margin: 0;}

header .navbar-default {background: #fff;}

header .nav { 
    padding-top: 10px;
    padding-bottom: 0px;
}

header .navbar-default .navbar-nav > li { padding: 0px 15px; }

header .navbar-default .navbar-nav > li > a { 
    padding: 40px 18px;
    font: 19px 'Gotham-Medium',arial,sans-serif; 
    color: #323232;
    -webkit-transition: all 400ms ease-out 300ms;
       -moz-transition: all 400ms ease-out 300ms;
         -o-transition: all 400ms ease-out 300ms;
            transition: all 400ms ease-out 300ms;
}

header .navbar-default .navbar-nav > li > a:hover {
    color: #fff;
    background-color: #323232;
}

header .navbar-default .navbar-nav > li:nth-child(2) {
    border-left: 1px solid #7f7360; 
    border-right: 1px solid #7f7360; 
}

header .navbar-default .navbar-nav > li:nth-child(2) > a { padding: 40px 29px; }

header .navbar {border: 0;}

/*===== Bloque-sierra =====*/ 
#bloque-sierra {position: relative;}

#bloque-sierra .opacidad { 
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
}

#bloque-sierra .datos { 
    top: 26%;
    width: 100%;
}

#bloque-sierra .bloque-title {
    margin-bottom: 10px;
    padding: 30px 0;
}

#bloque-sierra .bloque-title h1 {
    font-size: 40px;
    text-align: center;
}

#bloque-sierra .bloque-title h1,
#bloque-sierra p {
    color: #fff;
    text-align: center;
}

#bloque-sierra .bloque-title span {color: #a6b8e2;}

#bloque-sierra hr.linea-blanca { margin-bottom: 20px; }

#bloque-sierra p { font-size: 18px; }

#bloque-sierra .bg-trans {  
    margin-top: 23px;
    padding: 10px 10px 6px 59px; 
}

#bloque-sierra span#fig-tel,
#bloque-sierra span#fig-correo {
    position: absolute;
    left: 12%;
    height: 23px;
    border-right: 1px solid #969696;
}

#bloque-sierra span#fig-tel {
    bottom: 5px;
    width: 33px;
    background: url(../img/telefono.png) no-repeat; 
}

#bloque-sierra span#fig-correo {
    left: 10%;
    bottom: 5px;
    width: 37px;
    background: url(../img/mail.png) no-repeat;
    background-position: 0px 3px;
}

#bloque-sierra a#tel,
#bloque-sierra a#correo { color: #21386d; }

#bloque-sierra a#tel,
#bloque-sierra a#correo { text-align: center; }

#bloque-sierra .certificado {
    bottom: -7.2%;
    width: 100%;
}

#bloque-sierra .bg-azul { 
    width: 92%;
    padding: 20px 0; 
}

#bloque-sierra .certificado p {
    font-size: 30px;
    text-align: center; 
    line-height: 30px;
}

#bloque-sierra .bg-azul span { font-family: 'Gravity-Bold',arial,sans-serif; }

#bloque-sierra span#left,
#bloque-sierra span#right {
    position: absolute;
    bottom: 0;
    width: 27px;
    height: 50px;
    z-index: -1;
}

#bloque-sierra span#left { 
    left: 2.4%;
    background: url(../img/left.png) no-repeat;
}

#bloque-sierra span#right {
    right: 2.4%;
    background: url(../img/right.png) no-repeat;
}

/*===== Tarimas =====*/  
#tarimas { 
    position: relative;
    padding-top: 140px; 
}

#tarimas .bg-blanco {
    position: relative;
    z-index: 0;
}

#tarimas .lineas-tarimas {
    height: 20px;
    background: url(../img/lineas-tarimas.png) no-repeat;
    background-size: contain;
}

#tarimas .titulo-sierra {
    position: relative;
    bottom: 10px;
    margin-bottom: 10px;
}

#tarimas .titulo-sierra h1 { 
    font-size: 32px;
    color: #323232;
}

#tarimas .titulo-sierra span { color: #a6b8e2; }

#tarimas .txt-sierra {margin-bottom: 95px;}

#tarimas .txt-sierra p {
    font-size: 18px;
    color: #665b4a;
    text-align: center;
}

#tarimas .tarima-left,
#tarimas .tarima-right {
    position: absolute;
    top: 1%;
    width: 20%;
    height: 593px;
    z-index: 2;
}

#tarimas .tarima-left {
    left: 0;
    background: url(../img/tarima-left.png) no-repeat left 50px;
    background-size: contain;
}

#tarimas .tarima-right {
    right: 0;
    background: url(../img/tarima-right.png) no-repeat right 50px;
    background-size: contain;
}

#tarimas .bg-gris {
    position: relative;
    padding-bottom: 80px;
    z-index: 1;
}

#tarimas .flecha {
    position: absolute;
    top: -310%;
    left: 0;
    width: 100%;
    height: 186px;
    background: url(../img/flecha.png) no-repeat top;
    background-size: contain;
}

#tarimas .triangle-down {
    width: 0;
    height: 0;
    border-left: 82px solid transparent;
    border-right: 82px solid transparent;
    border-top: 34px solid #fff;
}

#tarimas .titulo-productos {
    margin-top: 40px;
    margin-bottom: 50px;
}

#tarimas .titulo-productos h1 {
    font-size: 32px;
    color: #323232;
}

#tarimas .producto h1 {
    margin-top: 15px;
    padding-top: 10px;
    font-size: 24px;
    color: #323232;
    text-align: left;
    border-top: 1px solid #323232;
}

#tarimas .imagen-prod {
    position: relative;
    overflow: hidden;
}

#tarimas .margen {
    position: absolute;
    top: 4.5%;
    left: 4%;
    width: 92%;
    height: 90%;
    border: 4px solid rgba(212,212,212, 0.6);
}

#tarimas .opaco {
    position: absolute;
    top: 100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-transition: all 400ms ease-out 300ms;
       -moz-transition: all 400ms ease-out 300ms;
         -o-transition: all 400ms ease-out 300ms;
            transition: all 400ms ease-out 300ms;
}

#tarimas .opaco .mas {
    float: right;
    position: relative;
    right: 0;
    bottom: 74px;
    width: 74px;
    height: 74px;
    background: #21386d url(../img/mas.svg) no-repeat 50% 50%;
}

#tarimas .imagen-prod:hover .opaco { top: 0; }

#tarimas .opaco .nueva,
#tarimas .opaco .hibrida,
#tarimas .opaco .reciclada { 
    margin-bottom: 10px;
    width: 60%;
}

#tarimas .opaco .nueva { margin-top: 1%; }

#tarimas .opaco span#fig-nueva,
#tarimas .opaco span#fig-hibrida,
#tarimas .opaco span#fig-reciclada {
    float: left;
    margin-right: 30px;
    width: 60px;
    height: 85px;
}

#tarimas .opaco span#fig-nueva { background: url(../img/iconos-tarimas.png) no-repeat 48% -13%; }

#tarimas .opaco span#fig-hibrida { background: url(../img/iconos-tarimas.png) no-repeat 48% 51%; }

#tarimas .opaco span#fig-reciclada { background: url(../img/iconos-tarimas.png) no-repeat 48% 107%; }

#tarimas .opaco p { 
    color: #fff; 
    line-height: 16px;
}

#tarimas .opaco p.t-hover {
    padding-top: 39px;
    padding-bottom: 10px;
    font: 16px 'Gravity-Bold',arial,sans-serif;
    color: #fff;
} 

#tarimas .opaco hr { 
    position: relative;
    left: 32%;
    width: 81%;
    border-top: 1px solid #384e99;    
}

#tarimas .opaco hr.top { top:10px; }

#tarimas .frase { 
    margin-top: 23%;
    padding: 15px 0;
    width: 59%;
    border-top: 1px solid #2c3279;
    border-bottom: 1px solid #2c3279;
}

#tarimas .frase p {
    font: 18px 'Gravity-Bold',arial,sans-serif;
    color: #fff;
    text-align: center;
    line-height: 26px;
}

/*===== Descanso =====*/  
#descanso {
    position: relative;
    padding: 30px 0;
    background: url(../img/descanso.jpg) no-repeat;
    background-size: 100%;
    background-attachment: fixed;
}

#descanso .fondo-descanso {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

#descanso hr {
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.6);
}

#descanso hr.linea-sup { margin: 130px 0 30px; }

#descanso hr.linea-inf { margin: 30px 0 130px; }

#descanso h1 {
    margin: 0;
    padding: 0;
    font-size: 44px;
    color: #fff;
}

#descanso span { color:#a6b8e2 }

/*===== Valores =====*/   
#valores { padding: 90px 0; }

#valores .lineas-left,
#valores .lineas-right { height: 30px; }

#valores .lineas-left { background: url(../img/valores-left.png) no-repeat;}

#valores .lineas-right { background: url(../img/valores-right.png) no-repeat;}

#valores h1 {
    position: relative;
    bottom: 7px;
    font-size: 32px;
    color: #323232;
}

#valores .circulo {
    margin-top: 80px;
    margin-bottom: 25px;
    height: 165px;
}

#valores #v1,
#valores #v2,
#valores #v3,
#valores #v4,
#valores #v5,
#valores #v6 { 
    background-image: url(../img/valores-sprite.png),url(../img/circulo.jpg);
    background-repeat: no-repeat; 
}

#valores #v1 { background-position: -2.3% 50%, 0 0; }

#valores #v2 { background-position: 18% 50%, 0 0; }

#valores #v3 { background-position: 38.5% 50%, 0 0; }

#valores #v4 { background-position: 59% 50%, 0 0; }

#valores #v5 { background-position: 79% 50%, 0 0; }

#valores #v6 { background-position: 99.5% 50%, 0 0; }

#valores p {
    font: 18px 'Gravity-Bold',arial,sans-serif;
    color: #323232;
    text-align: center; 
    line-height: 23px;
}

/*===== Contacto =====*/ 
#contacto {padding-top: 45px;}

#contacto h1 {
    margin-bottom: 30px;
    font-size: 32px;
    color: #323232;
}

#contacto form input,
#contacto form textarea { 
    margin-bottom: 5px; 
    letter-spacing: 1px;
}

#contacto form input { padding: 10px 15px 10px; }

#contacto form textarea { 
    padding: 15px; 
    min-height: 135px;
}

#contacto .form-control {
    border: 0;
    border-radius: 0;
}

.form-control:focus { 
    -webkit-box-shadow: inset 0 0 0 rgba(0,0,0,.0),0 0 0 rgba(102,175,233,.0);
    box-shadow: inset 0 0 0 rgba(0,0,0,.0),0 0 0 rgba(102,175,233,.0);
}

#contacto form input,
#contacto form  textarea { 
    font: 14px 'Gravity-UltraLight',arial,sans-serif;
    color: #777777;
    font-weight: bold;
}

#contacto input::-webkit-input-placeholder { 
    font: 14px 'Gravity-UltraLight',arial,sans-serif;
    color: #777777;
    font-weight: bold;
}

#contacto input::-moz-placeholder { 
    font: 14px 'Gravity-UltraLight',arial,sans-serif;
    color: #777777;
    font-weight: bold;
}

#contacto input:-ms-input-placeholder { 
    font: 14px 'Gravity-UltraLight',arial,sans-serif;
    color: #777777;
    font-weight: bold;
}

#contacto input:-moz-placeholder { 
    font: 14px 'Gravity-UltraLight',arial,sans-serif;
    color: #777777;
    font-weight: bold;
}

#contacto textarea::-webkit-input-placeholder { 
    font: 14px 'Gravity-UltraLight',arial,sans-serif;
    color: #777777;
    font-weight: bold;
}

#contacto textarea::-moz-placeholder { 
    font: 14px 'Gravity-UltraLight',arial,sans-serif;
    color: #777777;
    font-weight: bold;
}

#contacto textarea:-ms-input-placeholder { 
    font: 14px 'Gravity-UltraLight',arial,sans-serif;
    color: #777777;
    font-weight: bold;
}

#contacto textarea:-moz-placeholder { 
    font: 14px 'Gravity-UltraLight',arial,sans-serif;
    color: #777777;
    font-weight: bold;
}

#contacto form { position: relative; }

#contacto form .btn {
    padding: 13px 0px 8px;
    width: 46%;
    font: 20px 'Gravity-Book',arial,sans-serif;
    color: #fff;
    background: #2b3077;
    background: -moz-linear-gradient(166deg, #2b3077 0%,#2b3077 51%,#344791 50%,#344791 100%); 
    background: -webkit-linear-gradient(166deg, #2b3077 0%,#2b3077 51%,#344791 50%,#344791 100%); 
    background: linear-gradient(166deg, #2b3077 0%,#2b3077 51%,#344791 50%,#344791 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b3077', endColorstr='#344791',GradientType=1 ); 
    border: 0;
    border-radius: 0;
}

#contacto .btn:focus { outline: 0px auto -webkit-focus-ring-color; }

#contacto p { 
    font: 14px 'Gotham-Medium',arial,sans-serif;
    color: #3d3b38;
}

#contacto ul { 
    margin: 15px 0;
    padding-left: 0;
}

#contacto ul li,
#contacto ul li a {
    font: 14px 'Gravity-UltraLight',arial,sans-serif;
    color: #3d3b38;
    font-weight: bold;
    line-height: 18px;
    list-style: none;
    letter-spacing: 1px;
}

#contacto .derechos {
    margin-top: 35px;
    padding: 15px 0;
    background: url(../img/derechos.png) no-repeat;
    background-size: 100%;
}

#contacto .derechos p {
    font: 18px 'Gravity-UltraLight',arial,sans-serif;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

#contacto #loadingFormContacto {
    display: none;
    position: absolute;
    bottom: 30%;
    left: 50%;
    width: 24px;
    height: 24px;
    background: url(../img/loadingForm.gif) no-repeat;
    z-index: 2;
}

#contacto #mensaje-enviado {
    display: none;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff url(../img/gracias.jpg) no-repeat;
    background-size: contain;
    z-index: 2;
}

.back-to-top {
    background: url(../img/flecha.jpg) no-repeat 50% 50%;
    background-size: contain;
    width: 76px;
    height: 76px;
    position: fixed;
    right: 0px;
    bottom: 0;
    display: none;
    z-index: 102;
}

/* ==========================================================================
   Jquery's
   ========================================================================== */
/* ===== Desktop-md ===== */ 
@media (min-width: 992px)  and (max-width: 1199px) {
    /*===== Header =====*/
    header .nav { padding-top: 7px; }

    header .navbar-default .navbar-nav > li { padding: 0px 5px; }

    header .navbar-default .navbar-nav > li > a { padding: 40px 5px; }

    /*===== Bloque-sierra =====*/ 
    #bloque-sierra .bloque-title h1 { font-size: 30px; }

    #bloque-sierra .datos { top: 20%; }

    #bloque-sierra p { font-size: 16px; }
    
    #bloque-sierra .bg-trans { padding: 10px 10px 6px 43px; }

    #bloque-sierra a#tel, 
    #bloque-sierra a#correo { font-size: 12px; }
    
    #bloque-sierra span#fig-tel { background-size: contain; }

    #bloque-sierra span#fig-correo { 
        width: 29px;
        background-size: 78%; 
    }

    #bloque-sierra span#fig-correo { background-position: 0; }

    #bloque-sierra span#fig-tel { background-position: 0; } 

    #bloque-sierra .bloque-title {  
        margin-bottom: 10px;
        padding: 10px 0;
    }

    #bloque-sierra .certificado { bottom: -10.2%; }

    #bloque-sierra .bg-azul { padding: 10px 0; }

    #bloque-sierra .certificado p { font-size: 22px; }
    
    #bloque-sierra span#left,
    #bloque-sierra span#right { height: 48px; }

    /*===== Tarimas =====*/  
    #tarimas .titulo-sierra h1 { font-size: 30px; }

    #tarimas .txt-sierra p { font-size: 16px; }

    #tarimas .tarima-left,
    #tarimas .tarima-right { 
        top: 20%;
        height: 333px;
        background-position-y: 77%;
    }
    
    #tarimas .flecha {
        top: -241%;
        left: 10%;
    }

    #tarimas .opaco .nueva, 
    #tarimas .opaco .hibrida, 
    #tarimas .opaco .reciclada { 
        margin-bottom: 7px;
        width: 74%; 
    }
    
    #tarimas .opaco .nueva { margin-top: 0%; }

    #tarimas .opaco span#fig-nueva, 
    #tarimas .opaco span#fig-hibrida, 
    #tarimas .opaco span#fig-reciclada { 
        margin-right: 30px; 
        height: 80px;
    }
    
    #tarimas .opaco p.t-hover { 
        padding-top: 50px;
        padding-bottom: 8px; 
    }

    #tarimas hr { 
        float: left;
        margin: 4px 0; 
        left: 27%;
        width: 74% !important;
    }

    #tarimas .frase { 
        margin-top: 20%; 
        width: 73%;
    }

    /*===== Descanso =====*/ 
    #descanso hr.linea-sup { margin: 70px 0 30px; }

    #descanso hr.linea-inf { margin: 30px 0 70px; }

    #descanso h1 { font-size: 36px; }

    /*===== Valores =====*/
    #valores .circulo { height: 133px; }

    #valores #v1, 
    #valores #v2, 
    #valores #v3, 
    #valores #v4, 
    #valores #v5, 
    #valores #v6 { background-size: cover, contain; }

    #valores #v1 { background-position: -1.5% -3px, 0 0; }

    #valores #v2 { background-position: 18.5% 1px, 0 0; }

    #valores #v3 { background-position: 38.6% -1px, 0 0; }
    
    #valores #v4 { background-position: 59% -3px, 0 0; }

    #valores #v5 { background-position: 78.5% -4px, 0 0; }

    #valores #v6 { background-position: 98.5% -7px, 0 0; }

    #valores p { 
        font-size: 14px; 
        line-height: 24px;
    }

}

/* ===== Ipad/Tablet ===== */ 
@media (min-width: 768px)  and (max-width: 991px) {
    /*===== Header =====*/
    header .logo1 { background-position: 50% 18px; }

    header .logo2 { background-position: 50% 26px; }

    header .nav { padding-top: 12px; }

    header .navbar-default .navbar-nav > li { padding: 0px 5px; } 
    
    header .navbar-default .navbar-nav > li > a,
    header .navbar-default .navbar-nav > li:nth-child(2) > a { padding: 40px 5px; }
    
    header .navbar-default .navbar-nav > li > a { font-size: 15px; }

    header .navbar-default .navbar-nav > li > a:hover {
        color: #7f7360;
        background-color: #fff;
    }

    /*===== Bloque-sierra =====*/ 
    #bloque-sierra .bloque-title { padding: 15px 0; } 

    #bloque-sierra .bloque-title h1 { font-size: 22px; }
    
    #bloque-sierra .bg-trans { padding: 10px 10px 6px 50px; }

    #bloque-sierra a#tel, 
    #bloque-sierra a#correo { font-size: 12px; }

    #bloque-sierra span#fig-correo {
        left: 8%;
        width: 38px;
    }

    #bloque-sierra .datos { top: 10%; }
    
    #bloque-sierra p { font-size: 12px; }
    
    #bloque-sierra .certificado { bottom: -8%; }
    
    #bloque-sierra span#left, 
    #bloque-sierra span#right { 
        height: 30px; 
        background-size: 61%;
    }

    #bloque-sierra span#left { left: 3.5%; }

    #bloque-sierra span#right { right: 1.4%; }

    #bloque-sierra .bg-azul { padding: 9px 0; }

    #bloque-sierra .certificado p {
        font-size: 16px;
        line-height: 17px;
    }

    /*===== Tarimas =====*/  
    #tarimas { padding-top: 80px; }

    #tarimas .tarima-left, 
    #tarimas .tarima-right { 
        top: 22%;
        width: 17%; 
        height: 19%;
        background-size: contain; 
    }

    #tarimas .tarima-left { background-position: left 0; }

    #tarimas .tarima-right { background-position: right 0;  }
    
    #tarimas .titulo-sierra { margin-bottom: 20px; }

    #tarimas .titulo-sierra h1,
    #tarimas .titulo-productos h1 { font-size: 22px; }
    
    #tarimas .txt-sierra { margin-bottom: 31px; }

    #tarimas .txt-sierra p { font-size: 12px; }
    
    #tarimas .bg-gris { padding-bottom: 40px; }

    #tarimas .triangle-down {
        border-left: 108px solid transparent;
        border-right: 108px solid transparent;
    }
    
    #tarimas .flecha {
        top: -213%;  
        height: 142px;
    }

    #tarimas .titulo-productos {
        margin-top: 30px;
        margin-bottom: 30px;
    } 
    
    #tarimas .opaco { top: 0; }
    
    #tarimas .opaco .nueva, 
    #tarimas .opaco .hibrida, 
    #tarimas .opaco .reciclada { width: 98%; }
    
    #tarimas .opaco .nueva { margin-top: 4%; }

    #tarimas .opaco span#fig-nueva, 
    #tarimas .opaco span#fig-hibrida, 
    #tarimas .opaco span#fig-reciclada {
        margin-left: 12%;
        margin-right: 10px;
        height: 61px;
        background-size: 90%;
    }

    #tarimas .opaco span#fig-nueva { background-position: 48% -2% }
    
    #tarimas .opaco hr {  
        left: 0%;
        margin: 22px 0 9px;
        width: 57%;
    }

    #tarimas .opaco p.t-hover {
        padding-top: 26px;
        padding-bottom: 0;
        font-size: 12px;
    }

    #tarimas .frase {
        margin-top: 21%;
        width: 79%;
    }
    
    /*===== Descanso =====*/ 
    #descanso { 
        padding: 0;
        background-position: bottom; 
        background-attachment: inherit;
    }

    #descanso hr.linea-sup { margin: 70px 0 30px; }

    #descanso hr.linea-inf { margin: 30px 0 70px; }

    #descanso h1 { font-size: 28px; }

    /*===== Valores =====*/  
    #valores { padding: 30px 0; }

    #valores h1 {
        bottom: 0px;
        font-size: 22px;
    }
    
    #valores .circulo { 
        margin-top: 30px; 
        margin-bottom: 8px;
        height: 105px;
    }

    #valores #v1, 
    #valores #v2, 
    #valores #v3, 
    #valores #v4, 
    #valores #v5, 
    #valores #v6 { background-size: cover, contain; }
    
    #valores #v1 { background-position: -1% -3px, 0 0; }

    #valores #v2 { background-position: 18.5% -4px, 0 0; }
    
    #valores #v3 { background-position: 39% -4px, 0 0; }
    
    #valores #v4 { background-position: 58.5% -5px, 0 0; }

    #valores #v5 { background-position: 78% -7px, 0 0; }
    
    #valores #v6 { background-position: 98% -10px, 0 0; }

    #valores p { 
        font-size: 11px; 
        line-height: 16px;
    }

    /*===== Contacto =====*/ 
    #contacto .derechos { padding: 9px 0; }
}

/* ===== Móvil landscape ===== */ 
@media (min-width: 480px)  and (max-width: 767px) {
    /*===== Header =====*/
    header .barra-sup {
        background: #21386d;
        background: -moz-linear-gradient(left, #21386d 0%, #21386d 50%, #ffffff 50%, #ffffff 100%);
        background: -webkit-linear-gradient(left, #21386d 0%,#21386d 50%,#ffffff 50%,#ffffff 100%);
        background: linear-gradient(to right, #21386d 0%,#21386d 50%,#ffffff 50%,#ffffff 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#21386d', endColorstr='#ffffff',GradientType=1 );
    }

    header .logo1,
    header .logo2 { 
        margin-top: 0;
        height: 65px; 
        background-position: 50% 50%;
    }

    header .logo2 { background-size: contain; } 
    
    header .nav { 
        padding-top: 10px; 
        padding-bottom: 10px;
    }
    
    header .navbar { background-color: #ebebeb; }

    .navbar-toggle { 
        float: left; 
        padding: 15px;
        background-color: #fff; 
    }

    .navbar-default .navbar-collapse { border-color: transparent; }
        
    header .navbar-default .navbar-nav > li { padding: 3px 0; }

    header .navbar-default .navbar-nav > li:nth-child(2) {
        border-left: 0;
        border-right: 0;
    }

    header .navbar-default .navbar-nav > li > a {
        padding: 0px;
        font-size: 16px;
        text-align: center;
    }

    header .navbar-default .navbar-nav > li:nth-child(2) > a {  padding: 10px 0px; }

    header .navbar-default .navbar-nav > li > a:hover {
        color: #333;
        background-color: #fff;
    }

    /*===== Bloque-sierra =====*/ 
    #bloque-sierra .bloque-title { padding: 10px 0;  }

    #bloque-sierra .bloque-title h1 { font-size: 16px; }
        
    #bloque-sierra .datos { top: 8%; }

    #bloque-sierra p { font-size: 12px; }
    
    #bloque-sierra .bg-azul { 
        padding: 7px 0 3px;
        width: 100%; 
    }

    #bloque-sierra .certificado { bottom: 0%; }

    #bloque-sierra .certificado p {
        font-size: 12px;
        line-height: 13px;
    }

    #bloque-sierra span#left, 
    #bloque-sierra span#right { display: none; }

    /*===== Tarimas =====*/  
    #tarimas .tarima-left, 
    #tarimas .tarima-right { display: none; }

    #tarimas { padding-top: 30px; }
    
    #tarimas .titulo-sierra { margin-bottom: 10px; }

    #tarimas .titulo-sierra h1,
    #tarimas .titulo-productos h1 { font-size: 19px; }
    
    #tarimas .txt-sierra { margin-bottom: 20px; }

    #tarimas .txt-sierra p { font-size: 12px; }
    
    #tarimas .bg-gris { padding-bottom: 30px; }

    #tarimas .titulo-productos {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    #tarimas img { width: 100%; }

    #tarimas .opaco .nueva, 
    #tarimas .opaco .hibrida, 
    #tarimas .opaco .reciclada { 
        position: absolute;
        margin-left: 10%;
        width: 100%; 
    }

    #tarimas .opaco .nueva { top: 5%; }

    #tarimas .opaco .hibrida { top: 34%; }

    #tarimas .opaco .reciclada { top: 60%; }
    
    #tarimas .opaco { top: 0; }

    #tarimas .opaco .nueva { margin-top: 0; } 
    
    #tarimas .opaco span#fig-nueva, 
    #tarimas .opaco span#fig-hibrida, 
    #tarimas .opaco span#fig-reciclada {
        margin-right: 15px;
        margin-left: 15px;
    }

    #tarimas .opaco hr { display: none; }
    
    #tarimas .producto h1 {
        margin-bottom: 15px;
        text-align: center;
    }

    #tarimas .frase { width: 63%; }

    /*===== Descanso =====*/ 
    #descanso { 
        padding: 0;
        background-size: cover; 
    } 

    #descanso hr.linea-sup { margin: 50px 0 30px; }

    #descanso hr.linea-inf { margin: 30px 0 50px; }

    #descanso h1 { font-size: 20px; }

    /*===== Valores =====*/  
    #valores { padding: 30px 0; }

    #valores .lineas-left,
    #valores .lineas-right { background-size: contain; }

    #valores .circulo { 
        margin-top: 20px; 
        margin-bottom: 10px;
    }
    
    #valores #v1, 
    #valores #v2, 
    #valores #v3, 
    #valores #v4, 
    #valores #v5, 
    #valores #v6 { background-size: 500%, contain; }

    #valores #v1 { background-position: -5.8% 50%, 50% 50%; }

    #valores #v2 { background-position: 15.2% 50%, 50% 50%; }

    #valores #v3 { background-position: 37.8% 50%, 50% 50%; } 

    #valores #v4 { background-position: 59.8% 50%, 50% 50%; }

    #valores #v5 { background-position: 80.8% 50%, 50% 50%; } 

    #valores #v6 { background-position: 102.5% 50%, 50% 50%; }

    /*===== Contacto =====*/ 
    #contacto form { margin-bottom: 30px; }
    
    #contacto form .input-group,
    #contacto form input,
    #contacto form textarea { width: 100%; }

    #contacto form .btn {
        padding: 18px 0px 13px;
        width: 100%;
    }
    
    #contacto p,
    #contacto ul li, 
    #contacto ul li a { text-align: center; }
    
    #contacto .derechos { background: #323232; }
    
    #contacto .derechos p { font-size: 12px; }
    
    #contacto #mensaje-enviado { background-size: cover; }

}

/* ===== Móvil protrait ===== */ 
@media (min-width: 319px)  and (max-width: 479px) {
    .hd-xs { display: block; }

    .hd-dsk { display: none; }

    /*===== Header =====*/
    header .barra-sup {
        background: #21386d;
        background: -moz-linear-gradient(left, #21386d 0%, #21386d 50%, #ffffff 50%, #ffffff 100%);
        background: -webkit-linear-gradient(left, #21386d 0%,#21386d 50%,#ffffff 50%,#ffffff 100%);
        background: linear-gradient(to right, #21386d 0%,#21386d 50%,#ffffff 50%,#ffffff 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#21386d', endColorstr='#ffffff',GradientType=1 );
    }

    header .logo1,
    header .logo2 { 
        margin-top: 0;
        height: 65px; 
        background-position: 50% 50%;
    }

    header .logo2 { background-size: contain; } 
    
    header .nav { 
        padding-top: 10px; 
        padding-bottom: 10px;
    }
    
    header .navbar { background-color: #ebebeb; }

    .navbar-toggle { 
        float: left; 
        padding: 15px;
        background-color: #fff; 
    }
        
    header .navbar-default .navbar-nav > li { padding: 0; }

    header .navbar-default .navbar-nav > li:nth-child(2) {
        border-left: 0;
        border-right: 0;
    }

    header .navbar-default .navbar-nav > li > a {
        padding: 0px;
        font-size: 16px;
        text-align: center;
    }

    header .navbar-default .navbar-nav > li:nth-child(2) > a {  padding: 15px 0px; }

    header .navbar-default .navbar-nav > li > a:hover {
        color: #333;
        background-color: #fff;
    }

    /*===== Bloque-sierra =====*/ 
    #bloque-sierra .bloque-title { padding: 10px 0;  }

    #bloque-sierra .bloque-title h1 { font-size: 15px; }
        
    #bloque-sierra .datos { top: 8%; }

    #bloque-sierra p {
        font-size: 14px; 
        text-align: center;
    }
    
    #bloque-sierra .bg-azul { 
        padding: 7px 0 3px;
        width: 100%; 
    }

    #bloque-sierra .certificado { bottom: 0%; }

    #bloque-sierra .certificado p {
        font-size: 12px;
        line-height: 13px;
    }

    #bloque-sierra span#left, 
    #bloque-sierra span#right { display: none; }

    /*===== Tarimas =====*/  
    #tarimas .tarima-left, 
    #tarimas .tarima-right { display: none; }

    #tarimas { padding-top: 30px; }
    
    #tarimas .titulo-sierra { margin-bottom: 10px; }

    #tarimas .titulo-sierra h1,
    #tarimas .titulo-productos h1 { font-size: 18px; }
    
    #tarimas .txt-sierra { margin-bottom: 20px; }

    #tarimas .txt-sierra p { font-size: 12px; }
    
    #tarimas .bg-gris { padding-bottom: 30px; }

    #tarimas .titulo-productos {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    #tarimas img { width: 100%; }

    #tarimas .opaco .nueva, 
    #tarimas .opaco .hibrida, 
    #tarimas .opaco .reciclada { 
        position: absolute;
        margin-left: 10%;
        width: 100%; 
    }

    #tarimas .opaco .nueva { top: 10%; }

    #tarimas .opaco .hibrida { top: 40%; }

    #tarimas .opaco .reciclada { top: 70%; }
    
    #tarimas .opaco { top: 0; }

    #tarimas .opaco .nueva { margin-top: 0; } 
    
    #tarimas .opaco span#fig-nueva, 
    #tarimas .opaco span#fig-hibrida, 
    #tarimas .opaco span#fig-reciclada {
        margin-right: 15px;
        margin-left: 6px;
    }

    #tarimas .opaco hr { display: none; }
    
    #tarimas .producto h1 {
        margin-bottom: 15px;
        text-align: center;
    }
    
    #tarimas .frase { 
        margin-top: 46%;
        width: 78%; 
    }

    #tarimas .frase p { font-size: 14px; }

    /*===== Descanso =====*/ 
    #descanso { 
        padding: 0;
        background-size: cover; 
    } 

    #descanso hr.linea-sup { margin: 30px 0 20px; }

    #descanso hr.linea-inf { margin: 20px 0 30px; }

    #descanso h1 { font-size: 12px; }

    /*===== Valores =====*/  
    #valores { padding: 30px 0; }
    
    #valores .lineas-left,
    #valores .lineas-right { background-size: contain; }
    
    #valores h1 {
        bottom: 10px;
        font-size: 24px;
    }

    #valores .circulo { 
        margin-top: 20px; 
        margin-bottom: 10px;
        height: 125px;
    }
    
    #valores #v1, 
    #valores #v2, 
    #valores #v3, 
    #valores #v4, 
    #valores #v5, 
    #valores #v6 { background-size: 500%, contain; }

    #valores #v1 { background-position: -5.8% 50%, 50% 50%; }

    #valores #v2 { background-position: 15.2% 50%, 50% 50%; }

    #valores #v3 { background-position: 37.8% 50%, 50% 50%; } 

    #valores #v4 { background-position: 59.8% 50%, 50% 50%; }

    #valores #v5 { background-position: 80.8% 50%, 50% 50%; } 

    #valores #v6 { background-position: 102.5% 50%, 50% 50%; }

    #valores p {
        font-size: 12px;
        line-height: 15px;
    }

    /*===== Contacto =====*/ 
    #contacto form { margin-bottom: 30px; }
    
    #contacto form .input-group,
    #contacto form input,
    #contacto form textarea { width: 100%; }

    #contacto form .btn {
        padding: 18px 0px 13px;
        width: 100%;
    }
    
    #contacto p,
    #contacto ul li, 
    #contacto ul li a { text-align: center; }
    
    #contacto .derechos { background: #323232; }
    
    #contacto .derechos p { font-size: 12px; }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
