@import 'https://fonts.googleapis.com/css?family=Bree+Serif|Lato';

body {
    background-color: #f5f5f5;
}

h1, h2, h3 {
    font-weight: 400;
    font-family: 'Bree Serif', arial, sans-serif;
    color: #404040;
}

h1 {
    font-size: 35px;
}

h2 {
    font-size: 35px;
}

h3 {
    font-size: 20px;
}

p {
    font-size: 15px;
    color: #616161;
    font-family: Lato, arial, sans-serif;
}

header {
    background-color: #f5f5f5;
    border-bottom: 4px solid #f44336;
    height: 68px;
}

nav {
    background-color: transparent;
    box-shadow: none;
    p10px0px
}

nav ul > .btn {
    background-color: transparent;
    border: 1px solid #d3d3d3;
    color: #d3d3d3;
    border-radius: 5px;
    text-transform: none;
}

nav ul > .btn:hover {
    background-color: #f44336;
    color: #fff;
    border: 1px solid #f44336;
}

nav ul > li a {
    font-family: 'lato';
    color: #616161;
}

nav ul > li a:hover, .active {
    background-color: #f44336;
    color: white;
}

small {
    font-size: 12px;
}

footer {
    background-color: #4e342e;
    color: #fff;
    padding: 25px 0px 0px;
}

footer > .creditos {
    background-color: rgba(0,0,0,0.2);
    color: rgba(0,0,0,0.6);
    padding: 5px 0px;
    margin: 0;
}

footer a {
    color: rgba(0,0,0,0.6);
}

footer a:hover {
    text-decoration: underline;
}

.brand-logo {
    background-image: url(../img/snh3-logo.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 75px;
    overflow: hidden;
    text-indent: 9999px;
}

#recuadro {
    position: relative;
    background-color: #f44336;
    margin-top: -30px;
    z-index: 2;
    
}

#recuadro > div:first-child {
    border-bottom: 2px solid #d13227;
}

#recuadro h1 {
    color: #fff;
    margin: 15px 0;
}

.contenedor-img div {
    padding: 20px 0px !important;
}

.contenedor-img div p {
    color: #fff;
}

#sesenta {
    
}

#sesenta > div > h1 {
    text-transform: uppercase;
    color: #f44336;
    letter-spacing: -1px;
}

#sesenta > div > p {
    margin: 0;
}

#sesenta > div > img {
    margin: 30px 0px 60px;
}

#brotes {
    background-image: url(../img/brotes-footer.png);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    height: 190px;
}

#nosotros {
    background-image: url(../img/fondo-nosotros.jpg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

.tabla {
    margin-top: 30px;
    background-color: #f5f5f5;
    padding: 35px 15px 15px !important;
}

.tabla > div h1 {
    margin-top: 0;
    color: #f44336;
    text-transform: uppercase;
}

.granulado {
    background-color: #795548;
}

.liquidos {
    background-color: #8d6e63;
}

.microelem {
    background-color: #a1887f;

}

.producto {
    box-sizing: border-box;
    border: 4px solid #f5f5f5;
    height: 200px;
    padding: 5px !important;
    width: 100%;
    position: relative;
}

.producto * {
    color: #fff;
}

.producto h3 {
    margin-bottom: 10px;
    text-transform: uppercase;
}

.producto p {
    position: absolute;
    bottom: 30px;
}

.sidebar {
    position: fixed;
    max-width: 100px;
    background-color: #f44336;
    top: 50%;
    -webkit-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
    z-index: 4;
}

.sidebar div {
    position: relative;
    display: block;
    width: 100%;
    padding:10px 10px 10px 10px !important;
    padding: 5px 0px;
    border-bottom: 1px solid #d13227;
}

.portada {
    background-image: url(../img/fondo-temporal.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
}

.portada > div > div h1 {
    color: #fff;
}

.cuadrocontacto {
    background-color: #f44336;
    padding: 20px !important;
}

.cuadrocontacto * {
    color: #fff;
}

form {
    padding: 30px 15px !important;
}

form > div {
    margin: 0 !important;
    padding: 0 !important;
}

form >div>div {
    margin: 0 !important;
    padding: 0 !important;
}

form >div >div >input, form >div >div >textarea {
    border: 1px solid #d3d3d3 !important;
    border-radius: 5px !important;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    
}

#telefono, #correo {
    width: 49%;
    display: inline-block;
}

textarea {
    height: 140px !important;
}

form > .btn, form > .btn:hover, .datos-ficha >div >div .btn {
    border-radius: 5px;
    text-transform: none;
    background-color: #f44336;
    color: #fff;
    border: 1px solid #f44336;
}

.datos-ficha {
    padding: 0 !important;
    background-color: #f5f5f5;
}

.datos-ficha > .divisor-rojo {
    padding: 5px 0px;
    background-color: #f44336;
}

.datos-ficha >div {
    padding: 15px 15px 200px;
}

.datos-ficha >div >p a {
    color: #616161;
    text-decoration: underline;
}

.datos-ficha >div >div .btn-fichas {
    margin: 10px 0;
    text-transform: none;
    background-color: #4e342e;
    border-radius: 5px;
    padding-left: 55px;
    background-image: url(../img/pdf-icon.jpg);
    background-repeat: no-repeat;
    background-position: left center;
    border: none;
}

.datos-ficha >div >div .btn-volver {
    font-size: 12px;
    padding: 0px 10px;
    margin-top: 40px;
}

.datos-ficha >div>div i {
    font-size: 11px;
    margin-right: 5px;
}

.datos-fertilizante {
    background-color: #f5f5f5;
    padding: 20px !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.datos-fertilizante > h1 {
    text-transform: uppercase;
    color: #f44336;
    margin-bottom: 0;
}

.datos-fertilizante >p {
    margin-top: 5px;
}

.fichas-fondo {
    background-image: url(../img/fondo-tierra.jpg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

/* Demo styles */
.swiper-container {
        width: 100%;
        height: 100%;
}
.swiper-slide {
     text-align: center;
     font-size: 18px;
     background: #fff;
     
     /* Center slide text vertically */
     display: -webkit-box;
     display: -ms-flexbox;
     display: -webkit-flex;
     display: flex;
     -webkit-box-pack: center;
     -ms-flex-pack: center;
     -webkit-justify-content: center;
     justify-content: center;
     -webkit-box-align: center;
     -ms-flex-align: center;
     -webkit-align-items: center;
     align-items: center;
}

.slide1, .slide2 {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    
}

.slide1 {
    background-image: url(../img/slide1.jpg);
}

.slide2 {
    background-image: url(../img/slide2.jpg);
}

.icono {
    position: relative;
    display: block;
    width: 133px;
    height: 133px;
    margin: 0 auto;
    background-repeat: no-repeat;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.icono:hover {
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.ifertilizantes {
    background-image: url(../img/boton-fertilizantes-0.png);
}

.ifertilizantes:hover {
    background-image: url(../img/boton-fertilizantes.png);
}

.imejoradores {
    background-image: url(../img/boton-mejoradores-de-suelo-0.png);
}

.imejoradores:hover {
    background-image: url(../img/boton-mejoradores-de-suelo.png);
}

.imezclas {
    background-image: url(../img/boton-mezclas-0.png);
}

.imezclas:hover {
    background-image: url(../img/boton-mezclas.png);
}

#productos {
    background-image: url(../img/fondo-productos.jpg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: top center;
}

#productos >main >.container h1 {
    color: #606060;
}

#productos > main >.container p {
    color: #606060;
}

#productos > main >.container >.row >.col {
    background-color: #f5f5f5;
    margin-top: 40px;
    margin-bottom: 140px;
    border-radius: 10px;
}

#productos .ifertilizantes {
    background-image: url(../img/boton-fertilizantes-0c.png);
}
#productos .ifertilizantes:hover {
    background-image: url(../img/boton-fertilizantes-c.png);
}

#productos .imejoradores {
    background-image: url(../img/boton-mejoradores-de-suelo-0c.png);
}

#productos .imejoradores:hover {
    background-image: url(../img/boton-mejoradores-de-sueloc.png);
}

#productos .imezclas {
    background-image: url(../img/boton-mezclas-0c.png);
}

#productos .imezclas:hover {
    background-image: url(../img/boton-mezclasc.png);
}

#mezclas {
    background-image: url(../img/fondo-tierra.jpg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

#mezclas >main >.container >.row {
    background-color: #f5f5f5;
    padding-bottom: 120px;
}

#mezclas >main >.container >.row >.col >.row {
    padding: 40px 0;
}

nav .button-collapse {
    color: #f44336;
}

.side-nav li a {
        color: #606060;
    }
    
    .side-nav li a:hover {
        background-color: #f44336;
    }

@media only screen and (min-width: 1px) and (max-width: 599px) {
    h1 {
        font-size: 22px;
    }
    
    #recuadro {
        margin: 0;
    }
    
    .swiper-container {
        height: 400px;
        margin-bottom: 30px;
    }
    
    .swiper-slide > img {
        width: 100%;
        height: 400px;
    }
    
    #telefono, #correo {
    width: 100%;
    display: inline-block;
    }
    
    .sidebar {
        display: none;
    }
    
    #mezclas >main >.container >.row {
    background-color: #f5f5f5;
    padding-bottom: 40px;
    }
    
    .datos-ficha >div {
        padding: 15px 15px 50px;
    }
    
    .swiper-container {
        height: 500px;
    }
    
    .slide1, .slide2 {
        height: 500px;
        background-position: top left;
    }
    
    .slide1 {
        background-image: url(../img/slide1-movil.jpg);
    }
    
    .slide2 {
        background-image: url(../img/slide2-movil.jpg);
    }
}

@media only screen and (min-width: 600px) and (max-width: 992px) {
    #telefono, #correo {
    width: 100%;
    display: inline-block;
    }
    
    .icono {
        width: 100px;
        height: 100px;
    }
    
    .ifertilizantes, .imejoradores, .imezclas {
        background-size: 100px 100px;
    }
}
