﻿
#mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2;
    display: none;
    height: 55px;
    text-align: center;
}

    #mobile-header button {
        width: 60px;
        height: 50px;
        padding: 19px 15px 15px 15px;
        color: #fff;
        position: relative;
        outline: none;
        border: none;
        float: left;
        line-height: 37px;
        font-size: 10px;
        letter-spacing: 0.5px;
        font-weight: 600;
        background: none;
        -moz-transform: translate(0, 2px);
        -o-transform: translate(0, 2px);
        -ms-transform: translate(0, 2px);
        -webkit-transform: translate(0, 2px);
        transform: translate(0, 2px);
        -moz-transition: .4s;
        -o-transition: .4s;
        -webkit-transition: .4s;
        transition: .4s;
    }

        #mobile-header button span {
            -moz-transition: .4s;
            -o-transition: .4s;
            -webkit-transition: .4s;
            transition: .4s;
            background-color: #fff;
            display: block;
            height: 2px;
            margin-top: -1px;
            position: absolute;
            width: 30px;
            z-index: 999;
        }

            #mobile-header button span:first-child {
                -moz-transform: translate(0,-6px);
                -o-transform: translate(0,-6px);
                -ms-transform: translate(0,-6px);
                -webkit-transform: translate(0,-6px);
                transform: translate(0,-7px);
            }

            #mobile-header button span:last-child {
                -moz-transform: translate(0,6px);
                -o-transform: translate(0,6px);
                -ms-transform: translate(0,6px);
                -webkit-transform: translate(0,6px);
                transform: translate(0,7px);
            }

    #mobile-header button.panel-open span:first-child {
        -o-transform: rotate(45deg) translate(0,0);
        -moz-transform: rotate(45deg) translate(0,0);
        -ms-transform: rotate(45deg) translate(0,0);
        -webkit-transform: rotate(45deg) translate(0,0);
        transform: rotate(45deg) translate(0,0);
    }

    #mobile-header button.panel-open span:nth-child(2) {
        -o-transform: scaleX(0);
        -moz-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
    }

    #mobile-header button.panel-open span:last-child {
        -o-transform: rotate(-45deg) translate(0,0);
        -moz-transform: rotate(-45deg) translate(0,0);
        -ms-transform: rotate(-45deg) translate(0,0);
        -webkit-transform: rotate(-45deg) translate(0,0);
        transform: rotate(-45deg) translate(0,0);
    }

    #mobile-header a {
        width: 140px;
        margin-left: -62px;
        height: 55px;
        display: inline-block;
        padding-top: 2px;
    }

#mobile-menu > div {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

#mobile-menu > ul {
    margin: 15px 0;
}

#mobile-menu > div > .row:first-child {
    background: #eff0f0;
    height: 55px;
}

#mobile-menu .col-xs-4 {
    text-align: center;
    margin: 20px 0 10px 0;
}

    #mobile-menu .col-xs-4 a,
    #mobile-menu > div > ul > li > a {
        background-image: url(img/mobile-sprite.png?v=2);
        background-repeat: no-repeat;
        background-size: 25px;
    }

#mobile-menu div > ul > li > a {
    background-position-x: 10px;
}

    #mobile-menu .col-xs-4 a {
        text-transform: uppercase;
        display: block;
        font-size: 10px;
        font-weight: 600;
        color: #111;
        padding-top: 27px;
        margin-top: -12px;
       
        background-position-x: center;
    }

    #mobile-menu .col-xs-4 a:hover {
        text-decoration: none;
    }
    
.sucursales-mob-icon {
     background-position-y: 0;
}

.contacto-mob-icon {
    background-position-y: -45px;
}

.acceso-mob-icon {
    background-position-y: -90px;
}

.inicio-mob-icon {
    background-position-y: -123px;
}

.maquinaria-mob-icon {
    background-position-y: -165px;
}

.servicios-mob-icon {
    background-position-y: -210px;
}

.repuestos-mob-icon {
    background-position-y: -257px;
}

.renta-mob-icon {
    background-position-y: -303px;
}

.riego-mob-icon {
    background-position-y: -393px;
}

.nosotros-mob-icon {
    background-position-y: -347px;
}

.promo-mob-icon {
    background-position-y: -440px;
}

.productos-mob-icon {
    background-position-y: -488px;
}

#social-mobile {
    margin-top: 20px;
    margin-bottom: 20px;
}

#social-mobile a {
    display: block;
    width: 100%;
    height: 25px;
    background-image: url(img/icons/social-icons.png);
    background-repeat: no-repeat;
    background-size: 25px;
    background-position-x: center;
    opacity: 0.8;
}

#social-mobile .col-xs-3:nth-child(1) a {
    background-position-y: -402px;
}
#social-mobile .col-xs-3:nth-child(2) a {
    background-position-y: -451px;
}
#social-mobile .col-xs-3:nth-child(3) a {
    background-position-y: -552px;
}
#social-mobile .col-xs-3:nth-child(4) a {
    background-position-y: -502px;
}

/*CSS para plugin slideout*/
#mobile-menu {
    background: #d5d5d5;
}

.slideout-menu-left {
    left: 0;
}

.slideout-menu-right {
    right: 0;
}

.slideout-panel {
    position: relative;
    z-index: 1;
    will-change: transform;
    background-color: #fff; /* A background-color is required */
    min-height: 100vh;
    -moz-box-shadow: 0 0 20px rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 20px rgba(0,0,0,.5);
    box-shadow: 0 0 20px rgba(0,0,0,.5);
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
    overflow: hidden;
}

    .slideout-open #mobile-menu.slideout-menu {
        display: block;
    }

.accordion{
    margin-top: 15px;
}

.accordion,
.accordion ul {
    padding: 0;
}

    .accordion li {
        position: relative;
        list-style: none;
    }

        .accordion li div {
            display: none;
            background: #EFF0F0;
        }

    .accordion a {
        width: 100%;
        display: block;
        cursor: pointer;
        user-select: none;
        color: #111;
        font-size: 18px;
    }

    .accordion > li > a {
        padding: 15px 15px 15px 45px;
    }

    .accordion div a {
        padding: 10px 15px;
    }

        .accordion a:active,
        .accordion a:hover,
        .accordion a:focus {
            text-decoration: none;
        }

        .accordion a.drop:after {
            width: 9px;
            height: 9px;
            border-right: 1px solid #444;
            border-bottom: 1px solid #444;
            position: absolute;
            right: 20px;
            content: " ";
            top: 23px;
            transform: rotate(-45deg);
            -webkit-transition: all 0.2s ease-in-out;
            -moz-transition: all 0.2s ease-in-out;
            transition: all 0.2s ease-in-out;
        }

    .accordion div {
        padding: 10px 0;
    }

.accordion a.drop.active:after {
    transform: rotate(45deg);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#home-machinery .accordion-link {
    position: relative;
}

    #home-machinery .accordion-link:before {
        width: 10px;
        height: 10px;
        border-right: 1px solid #444;
        border-bottom: 1px solid #444;
        position: absolute;
        right: 16px;
        content: " ";
        top: 16px;
        transform: rotate(-45deg);
        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
    }

    #home-machinery .accordion-link:hover:before,
    #home-machinery .accordion-link:focus:before,
    #home-machinery .accordion-link.active2:before {
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

#home-machinery .responsive-tabs-container a:hover,
#home-machinery .responsive-tabs-container a:focus,
#home-machinery .responsive-tabs-container a.active2 {
    text-decoration: none;
    font-weight: 600;
    background-color: #fff;
}

/* swiper responsive tabs */

/*LARGE SCREEN
-----------------------------------------------------------------------------*/
@media screen and (min-width: 1600px) {
    #home-slider .swiper-bg {
        background-size: 75%;
    }
    #header-menu nav > ul > li > a{
        padding: 14px 18px;
    }
}

@media screen and (max-width: 1300px) {
    #header-menu nav li:first-child {
        display: none;
    }
}

/*SMALL SCREEN
-----------------------------------------------------------------------------*/
@media all and (max-width: 1200px) {

    #header-logo a {
        background-size: 120px;
        width: 125px;
        height: 58px;
    }

    #header-menu nav > ul > li > a {
        font-size: 22px;
    }

    #header-menu nav li:first-child,
    #header-menu nav > ul > li#header-promo {
        display: none;
    }

    #header-menu nav > ul > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }

    #header-search button{
        background-size: 20px;
        margin-top: 3px;
    }

    #copy .container {
        width: 100%;
        padding: 0 20px;
    }

}


/* MEDIUM DEVICES DESKTOP
-----------------------------------------------------------------------------*/
@media only screen and (max-width : 992px) {


    #top-header .dropdown {
        margin-top: 0;
    }

        #top-header .dropdown button i {
            display: none;
        }

        #top-header .pull-left > a{
            background-image: none;
            padding: 0;
        }

        #top-header .pull-right ul li a {
            padding: 2px 5px;
            font-size: 12px;
            line-height: 24px;
        }

    #header-logo a {
        background-size: 100px;
        width: 100px;
    }

     #header-menu nav {
        margin-top: 8px;
    }

    #header-menu nav > ul > li > a {
        font-size: 16px;
        padding: 10px 8px;
    }

    #header-menu nav > ul > li > a {
        font-size: 16px;
    }

        #header-search button {
            background-size: 16px;
            margin-top: 8px;
            width: 40px;
        }

    footer .col-md-3 h3 {
        margin-top: 0;
    }

    footer .col-md-3 ul {
        margin-bottom: 30px;
    }

    #copy {
        font-size: 12px;
    }

    .page-header {
        height: 350px;
    }

        .page-header h2 {
            line-height: 0.95;
        }

    #contact > .col-md-6:first-child {
        margin-bottom: 50px;
    }

    .page-content > .container > .row > .col-md-4 {
        margin-top: 40px;
        padding-left: 15px;
    }

    #home-slider .swiper-slide {
        height: 550px;
    }

    #home-slider .swiper-slide h2 {
        font-size: 40px;
        line-height: 0.9;
    }

    #home-slider .swiper-slide p{
        font-size: 16px;
        line-height: 1.2;
    } 

    #home-slider .swiper-slide .read-more{
        font-size: 12px;
    }
    
    #home-machinery .tab-content {
        padding: 30px 15px;
    }

    #home-machinery .swiper-slide{
        width: 160px;
        height: 210px;
    }

        #home-machinery .swiper-slide h4 {
            font-size: 14px;
        }

    #home-machinery .swiper-button-prev{
        left: 15px;
    }

    #home-machinery .swiper-button-next{
        right: 15px;
    }

    #home-machinery .swiper-container{
        margin: -10px 40px;
    }

}


/* SMALL TABLET / SMARTPHONE LANDSCAPE
-----------------------------------------------------------------------------*/
@media all and (max-width: 770px) {

    /*Oculta el encabezado desktop*/
    header {
        display: none;
    }

    /*Muestra el encabezado movil*/
    #mobile-header {
        display: block;
    }

    footer .col-md-3 {
        text-align: center;
    }

        footer .col-md-3:first-child {
            margin-bottom: 40px;
        }

        footer .col-md-3:last-child ul:last-child {
            margin-bottom: 0;
        }

    #copy .col-xs-12 {
        text-align: center;
    }

    #copy .text-right ul {
        float: none;
    }

    #copy .text-center {
        height: 60px;
        margin-top: 40px;
    }

    #copy .text-right li {
        margin: 0 10px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        background-size: 20px;
    }

    #home-slider .swiper-slide {
        height: 400px;
    }

    #home-slider .swiper-button-white {
        display: none;
    }

    #home-slider .swiper-slide h2 {
        margin-top: -20px;
        font-size: 40px;
        line-height: 1;
    }

    #home-slider .swiper-slide p {
        font-size: 17px;
        line-height: 1.2;
    }

    #home-slider .swiper-slide .read-more {
        font-size: 14px;
        padding: 4px 12px;
    }

    .swiper-container-horizontal > .swiper-pagination-bullets {
        bottom: 18px;
    }

        .swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
            margin: 0 10px;
            width: 10px;
            height: 10px;
        }

    #brands-slider {
        margin-bottom: 0;
    }

        #brands-slider .swiper-slide {
            width: 70px;
            height: 50px;
        }

        #brands-slider .swiper-slide {
            width: 70px;
            height: 50px;
            margin-right: 20px;
        }

        #brands-slider .wide {
            width: 120px;
        }

    .section-description h2 {
        font-size: 26px;
    }

    .section-description p {
        font-size: 16px;
    }

    #home-machines img {
        margin: 0 auto;
    }

    #home-machinery .swiper-container {
        margin: -5px 5px;
    }

    #home-machinery .swiper-slide {
        padding: 10px;
    }

    #home-machinery .line-btn {
        margin-top: 10px;
        font-size: 12px;
    }

    #home-machinery .swiper-button-prev,
    #home-machinery .swiper-button-next {
        display: none;
    }

    #home-company .col-md-4 {
        margin-bottom: 60px;
    }

        #home-company .col-md-4 img {
            max-width: 200px;
        }

        #home-company .col-md-4:last-child {
            margin-bottom: 0;
        }

        #home-company .col-md-4 p {
            font-size: 16px;
        }

    #home-services .col-md-4 {
        margin-bottom: 30px;
    }

        #home-services .col-md-4:last-child {
            margin-bottom: 0;
        }

    .line-btn {
        font-size: 14px;
        padding: 5px 12px;
    }

    .page-header h2 {
        font-size: 38px;
    }

    .page-content {
        padding: 40px 0;
    }

    .office-tabs h4 {
        font-size: 18px;
        padding: 15px;
    }

    #office-map {
        display: none;
    }

    .office-info img {
        margin: 0 auto;
    }

    .office-info .col-sm-4 {
        margin-bottom: 20px;
    }

    .office-info .col-sm-8 {
        padding-left: 15px;
    }

    .breadcrumb {
        font-size: 14px;
    }

    #machine-type-list .col-xs-8 {
        padding-left: 0;
    }

    #machine-category .grid-item a h5{
        font-size: 16px;
    }

    #machine-category .col-sm-4 {
        margin-bottom: 15px;
    }

    #machine-category .col-sm-4 img {
        width: auto;
        margin: 0 auto;
    }

    #products-header {
        height: 55px;
    }

    #products-slider .swiper-slide {
        height: 250px;
    }


    .product-card {
        flex: 0 24.9%;
    }


}


/* SMARTPHONE
-----------------------------------------------------------------------------*/
@media all and (max-width: 600px) {

    .line-sep {
        height: 4px;
    }

    .grad-right, .grad-left{
        width: 15px;
    }

    #home-services .col-md-4 h3 {
        font-size: 30px;
        line-height: 1;
    }

    #home-services .col-md-4 p {
        font-size: 16px;
    }

    #home-services .home-service {
        height: 300px;
    }

    .page-header {
        height: 200px;
    }

        .page-header h2 {
            font-size: 28px;
        }

    .office-info .col-sm-8 h3 {
        font-size: 24px;
    }

    .machine-type-entry h3 {
        font-size: 22px;
        margin-top: 10px;
        margin-bottom: 3px;
    }

    .machine-type-entry p {
        font-size: 14px;
        line-height: 1.3;
    }

    .machine-item {
        margin: 0 5px 15px 5px;
        width: 45%;
    }

    #machine-type-list > h3 {
        text-align:center;
    }

    #machine-info h1 {
        font-size: 26px;
        margin-top: 10px;
        margin-bottom: 5px;
    }

    #machine-info h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    #machine-info div > ul {
        margin-top: 15px;
    }

    #rent-prices {
        margin-top: 20px;
        margin-bottom: 0;
        padding-left: 22px;
    }

        #rent-prices li {
            margin-bottom: 0;
        }

        #rent-prices strong {
            font-size: 20px;
        }

        #rent-prices li:first-child strong {
            font-size: 26px;
        }

        #post-list .row {
            margin-bottom: 30px;
        }

    #post-list .col-sm-4 img {
        padding: 3px;
    }

    #post-list h3 {
        font-size: 17px;
        margin-bottom: 5px;
    }

    #post-list p {
        margin-bottom: 5px;
    }

        #post-list .col-sm-8 {
            font-size: 14px;
            padding-left: 0;
        }

        #post-list .col-sm-8 div .sep {
            width: 5px;
            height: 5px;
        }

    #post-navigation img {
        width: 70px;
        padding: 2px;
    }

    #post-navigation .title {
        font-size: 14px;
        line-height: 1.1;
    }

    .product-card {
        flex: 0 49.5%;
    }

        .product-card .tag {
            font-size: 10px;
        }
}


/* SMALL SMARTPHONE
-----------------------------------------------------------------------------*/
@media all and (max-width: 480px) {

    .page-content {
        font-size: 16px;
    }

    .page-content .col-md-8 h2{
        font-size: 26px;
    }

    .page-section {
        margin: 60px 0;
    }

    #home-slider .swiper-slide h2 {
        font-size: 32px;
    }

    #home-slider .swiper-slide p {
        font-size: 15px;
    }

    #home-slider .swiper-slide hr {
        height: 3px;
        width: 70px;
    }

    #home-slider .swiper-slide .read-more {
        letter-spacing: 0;
        font-size: 12px;
    }

    .swiper-container-horizontal > .swiper-pagination-bullets{
        bottom: 15px;
    }

        .swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
            margin: 0 8px;
            width: 8px;
            height: 8px;
        }

    #brands-slider {
        margin: 20px 0;
    }

    #brands-slider .swiper-slide {
        margin-right: 15px;
    }

    .section-description h2 {
        font-size: 28px;
    }

    #home-machinery .swiper-slide {
        width: 140px;
        height: auto;
    }

    #home-machinery .swiper-slide h4 {
        margin-top: 7px;
        line-height: 1;
    }

    #home-company .col-md-4 h3 {
        font-size: 20px;
        margin-bottom: 4px;
    }

    #machine-type-list > h3 {
        font-size: 22px;
    }

    .machine-type-entry h3 {
        margin-top: 0;
        font-size: 19px;
    }

    .machine-type-entry .col-xs-4{
        width: 28%;
    }

    .machine-type-entry .col-xs-8 {
        width: 71.8%;
    }

    .machine-type-entry p {
        font-size: 13px;
    }

    .machine-type-entry img{
        margin-top: 3px;
        border-width: 1px;
    }

    .rent-equipment h3 {
        margin-bottom: 0;
    }

    .rent-equipment span,
    .rent-equipment strong {
        font-size: 13px;
    }

    #home-services .col-md-4{
        padding: 0;
    }

    #home-services .col-md-4 h3 {
        font-size: 26px;
    }

    .home-service .line-btn {
        font-size: 12px;
        margin-top: 8px;
        letter-spacing: 0;
        padding: 4px 12px;
    }

    #post-navigation > .pull-left,
    #post-navigation > .pull-right {
        width: 100%;
    }

    .product-grid-item {
        margin-bottom: 15px;
    }

    .padding-btn,
    #product-pagination {
        text-align: center;
    }

    #products-home .swiper-button-bw {
        display: none;
    }

    #products-slider .swiper-slide {
        height: 160px;
    }

    #products-sidebar {
        margin: 0 0 25px 0;
        text-align: center;
        padding: 0;
    }

    #products-sidebar ul {
        max-height: 150px;
    }

    #products-search-result .product-item {
        width: 150px;
        padding-bottom: 10px;
        height: auto;
    }

    #products-search-result .product-item img {
        width: 160px;
        height: auto;
    }

        #products-search-result .product-item a {
            font-size: 14px;
        }

        #products-search-result .product-item .product-brand{
            font-size: 9px;
        }

        #products-search-result .product-item .product-price {
            font-size: 16px;
        }

    #product-images ul li img {
        width: 50px;
    }

    #product-image-main{
        margin-left: 55px;
    }

    #product-details .action {
        text-align: center;
    }
}