/* iPhone 5 */
@media (max-width: 320px) {
}

@media (min-width: 400px) and (max-width: 568px) {
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

    td {
        text-align: left;
        width: auto;
    }
}
/* Landscape phones and down*/
@media (max-width: 568px) {
    header {
        margin: 0;
    }


    .posrel {
        padding: 0!important;
        height: 0;
    }



    .navbar-inverse {
        background: 0;
        border: 0;
    }

    .navbar-collapse {
        width: 110%;
        margin: 0;
        padding: 0;
        border: 0;
        background-color: rgba(1,30,65,0.8);
        position: absolute;
        top: 0;
        overflow: hidden;
        z-index: 4;
    }

    .collapse.in {
        min-height: 100vh;
    }
    #collapseExample.collapse.in {
        min-height:auto;
    }
    .dropdown-menu {
        position: static;
    }


    button.navbar-toggle.collapsed {
        float: left;
        border: 0;
    }


    .box-buscar {
        position: fixed !important;
        /*! right: 30px!important; */
        top: 0px !important;
        width: 100%;
        z-index: 3;
        left: 0;
        height: 50px;
    }

    .visibleElement .box-buscar {
        margin-top: 85px;
    }

    .buscar {
        /*! position: static; */
        /*! float: right; */
        /*! margin-right: 30px; */
        /*! transform-origin: right top; */
        /*! -webkit-transform-origin: right top; */
        font-size: 1.3em;
        margin-top: 0px;
        left: 5px;
        width: 85%;
        background-color: #011e41;
        display: none;
    }

        .buscar input {
            padding-left: 6px;
            color: #fff;
        }

    .btnbuscar {
        top: 10px !important;
        background: transparent url("../img/lupa-mobi.png")!important;
        border-radius: 0 !important;
        transition: none!important;
        -webkit-transition: none!important;
        right: 70px !important;
    }

        .btnbuscar.active {
            right: 16vw !important;
            display: none;
        }

    .logo {
        margin: 0;
        padding: 0!important;
        transform: none!important;
        position: fixed!important;
        top: 8px !important;
        left: 8px!important; 
        /*! z-index: 89; */
    }

    header .logo img {
        text-align:left;
        height: 40px;
    }

    #bgslide {
        width: 100%;
        margin: 0;
    }

    .divcol {
        width: 100%;
        padding: 0;
    }

    .tit_h2, .tit_h2 * {
        line-height: 40px;
        margin-top: 20px;
    }

    .foto_borde {
        width: 100%;
    }

    ul.menu {
        /*margin: 0;
        padding: 0;
        text-align: center;
        font-size: 1.5em;*/
        margin: 0!important;
        padding: 20vh 0!important;
        text-align: center!important;
        font-size: 3.5em!important;
        flex-direction: column!important;        
        transform: translateX(-33%)!important;
       -webkit-transform: translateX(-33%)!important;
        width: 100%!important;
        background: url("/img/g1210.png") no-repeat scroll 50% 80%;
    }

        ul.menu li {
            display: block;
        }

            ul.menu li a {
                color: #fff!important;
                width: 100%;
                display: block!important;                
            }

                ul.menu li a:focus, ul.menu li a:active, ul.menu li a:hover {
                    color: #fff;
                    background: 0;
                    text-decoration: underline;
                }

            ul.menu li.clientes:hover .bgw {
                transform: translateY(-50%);
            }

   
    svg.button-menu {
        display: block!important;
        top: -2px!important;
        right: 5px !important;
        fill: transparent !important;
        transition: none!important;
        -webkit-transition: none!important;
    }
    svg.button-menu.active {
        display: block!important;
        top: 24px !important;       
        fill: #011E41 !important;
        transition: none!important;
        -webkit-transition: none!important;
        transform: scale(1.1);
        transform-origin: 0 0;
        right: 60px !important;
    }
   .navbar-header:has(.button-menu.active)  ~ .vita {
        display: block;
    }
    svg.button-menu.active .stroke {
        stroke: #F2C43E;
    }
    .box-login {
        min-width: initial;
        top: -120px;
        z-index: 2;
    }
    #UpdatePanel2 .bloquecestaport  {
        right:55px;
    }
    
   .vita {            
            left: 20px!important;
            top: 15px !important;
            z-index: 89 !important;
            position: absolute;
            transform:scale(1.5);
            transform-origin:0 0;
            max-width: 65px;   
            display: none;
        }
    .vita svg path {
        fill:#F2C43E;
    }
    .bloquecesta, .bloquecestaport {       
        top: 50px!important;
        position: fixed!important;
        width: 40%!important;
        float: none!important;
        left: auto!important;
    }
     .bloquecestaport .articulo > a {
    font-size: 1em;
    transform: scale(.6) !important;
    transform-origin: 0 20%;
    position: fixed;
    top: 10px !important;
    right: 80px;      
    background-image: url("../img/svg-path.svg"); 
  }
    .articulo {
        padding-right: 5px;
    }

    #footer {
        position: relative;
        font-size: 1.5em;
        margin: 0 !important;
        min-width: 100%;
    }

    #footer, .push {
        height: auto;
    }

        #footer h1 {
            float: none;
            padding: 5px 0;
        }

        #footer address {
            float: none;
        }

        #footer .legal {
            float: none;
            line-height: initial;
            font-size: initial;
        }

    .divfoto img {
        width: 100%;
    }

    #mymenu2 ul.dropdown-menu > li > a {
        padding: 0;
    }

    #carousel {
        top: 0px !important;
        margin-bottom: 0 !important;
    }

        #carousel figure {
            overflow: hidden;
            padding-top: 82.62%;
            position: relative;
        }

    .carousel .item img {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        min-height: 100%;
        max-width: 200%;
    }

    .carousel-indicators {
        bottom: 0;
    }

    .caption h2 span {
        font-size: 12px;
        padding: 0;
    }

    .box {
        min-height: 227px;
    }

        .box h3 {
            transform: translate(-50%,-60%) scale(.5);
            -webkit-transform: translate(-50%,-60%) scale(.5);
            margin: 0;
            width: 100%;
        }

    .btn-button {
        transform: translate(-50%,-50%) scale(.8);
        -webkit-transform: translate(-50%,-50%) scale(.8);
        bottom: 0;
        width: 70%;
    }


    #soluciones .box {
        min-height: 185px;
    }

    #soluciones .imagen {
        height: 120px;
    }

        #soluciones .imagen img.clip {
            margin: 0;
        }

    .form-inline {
        float: none;
    }

    .arrow-wrap {
        display: none;
    }

    .attcliente {
        position: static;
    }

    .box-attcliente li img {
        width: auto;
        display: block;
        max-width: 120px;
        padding: 10px;
    }

    .tab-content li {
        display: block;
    }

    .box-articulo:first-child {
        margin-top: 70px;
    }

    .box-articulo article {
        margin: 0;
        display: block;
        position: relative;
    }

    .box-articulo figure {
        min-height: 288px;
    }

    .detalle {
        padding: 0;
    }

    #main {
        margin: 0;
    }

    .td01 {
        width: 100% !important;
        text-align: left !important;
    }

    .form-control1, .form-control {
        width: 100% !important;
    }

    .dot {
        float: none !important;
    }

    .infor {
        margin: 0 !important;
    }

    .validar {
        padding: 0 !important;
    }

    #profile ul {
        column-count: 1;
        -webkit-column-count: 1;
        height: auto;
    }

    .tab-content ul {
        min-width: 0;
    }

    #site-canvas {
        width: 100%;
        height: 100%;
        position: relative;
        -webkit-transition: all .4s ease;
        transition: all .4s ease;
        left: 0;
    }

    #site-menu {
        width: 300px;
        height: 100%;
        position: fixed;
        top: 0;
        left: -304px;
        background-color: #f2f2f1;
        box-shadow: 0 5px 10px rgba(0,0,0,.2);
        padding: 15px;
        z-index: 8888;
        box-shadow: 2px 2px 4px rgba(0,0,0,.2);
        -webkit-transform: translateX(0);
        transform: translateX(0);
        -webkit-transition: all .4s ease;
        transition: all .4s ease;
    }

    .catprod h3 {
        max-height: 100px;
    }
    /**tabla**/
    .table-rect {
        margin: 0;
    }

    .tr-rect, .tr-rect2 {
        /*! width: 150%; */ 
    }

        .tr-rect .th-rect:first-child, .tr-rect .td-rect:first-child {
            /*! width: 150px; */
        }

        .tr-rect .th-rect {
            width: 80px;
        }

        .tr-rect .td-rect {
            /*! width: 80px; */
        }

    .btn-pasos ol::before, .btn-pasos ol::after {
        background: none;
    }

    .scroll-fit {
        overflow: visible;
        max-height:100%;
    }

    .btn-pasos ol li {
        margin: 15px 10px;
    }

        .btn-pasos ol li::before {
            margin-top: -12px;
        }
    /**direcciones**/
    .inter .form-group > input[type="checkbox"] {
        margin: 0;
    }

    .inter .form-group input[type="submit"] {
        margin-left: 15px;
    }

    .seccionrect p {
        margin-bottom: 10px;
    }

    .iso li {
        padding: 15px;
    }

    .copy {
        position: relative;
        line-height: normal;
    }

    .box-articulo2 {
        margin: 0 0 !important;
        padding: 0 15px !important;
    }
        .box-articulo2 .swiper-container.mySwiper2 {
            height: 600px!important;
            margin:0 !important;
        }
        footer .box-attcliente li {
            padding: 0;
        }

    .flex-container {
        -webkit-flex-direction: column !important;
        -ms-flex-direction: column !important;
        flex-direction: column !important;
    }


    aside#filtros ul.dropdown-menu {
        background-color: #f2f2f1;
    }

    aside#filtros {
        position: relative;
        background-color: #f2f2f1;
        border: 0;
        height: 100vh;
        top: 0;
    }

    .grid-wrapper {
        grid-template-columns: 1fr 1fr !important;
    }

        .grid-wrapper h2 {
            font-size: inherit;
        }

    .grid-slider {
        grid-template-columns: 1fr;
        grid-template-areas: "overlay" "sidebar1" "sidebar2" "sidebar3";
    }

    .accesoclientes ul {
        text-align: center;
        justify-content: flex-end;
        padding-right: 100px!important;        
    }

    .visibleElement .accesoclientes ul {
        flex-direction: column;
    }
    .accesoclientes li:nth-child(-n+6)  {
        display: none;
    }
    .accesoclientes li a {
        display: inline-block;
        height: auto;
        /*text-indent: -3000px;*/
    }
    
    .box-buscar + div.clientes {
        position: fixed;
        right: -80vw !important;
        top: 5px;
        z-index: 4;
    }

    .clientes a:hover {
        background: 0;
    }

    .foto.img-responsive {
        min-height: 0 !important;
    }

    #userlist {
        overflow-y: auto;
        max-height: 65vh;
    }

    .detalle a.btn-cont {
        float: left;
        margin-right: 1px;
    }

    .mySwiper2 .swiper-button-next, .mySwiper2 .swiper-button-prev {
        top: 30% !important;
    }

    #divautocomplete {
        position: absolute;
        top: 40px;
        border: 3px solid #ccc;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 10px rgba(0,0,0,.2);
        background-color:#fff;
    }

    header a.btn-cont {
        padding: 5px;
        margin: 5px;
        display: inline-block;
        width: 35%;
        text-align: center;
        position: fixed;
        left: 0;
        background-color: #586e93;
        border-color: #586e93;
        color: #f2c43e;
    }

        header a.finsesion {
             padding: 5px;
             margin: 5px;             
             display: inline-block;
             background: transparent url("../img/sesionout.png") no-repeat 100% 0;
             text-indent: -99999px;
             position: relative;
             width: 30px;  
            float:right;
            
        }

    .clientes a img {
        position: fixed;
        right: 40px;
        top: 10px;
    }

    .bgw {
        width: 100%!important;
        margin-bottom:15px;
    }
    .inter .form-group label {
        width: 80%!important;
    }
    .inter .form-group span {
        padding:0!important;
    }
    .inter .form-group > input[type="checkbox"]{
        margin:0!important;
    } 
    .inter .form-group:last-child {
        margin: 0 !important;
    }
    .mySwiper1 .swiper-slider {
        min-width: 50%;
    }

    .content-row {
        flex-direction: column;
        -webkit-box-orient: vertical;
    }
    section.dircontacto {
        margin-bottom: 30px;
    }
    .outlet, .outletColor, .new {
        transform: scale(0.64);
        transform-origin: 0 0;
        -webkit-transform: scale(0.64);
        -webkit-transform-origin: 0 0;
    }
   .relacionados {
    /*display:block;width:auto;
       float:none;
    position: relative;*/
    margin: 0;
       transform: translate(0,0);
}
.relacionados h4 {
    float:left;
    
}
.videoWrapper {   
     /*! padding-bottom: 138.88%; */
}
    .posrel > div {
        height:0;
        /*! display: block!important; */
    }
    p#icex {
        font-size: 0.5em;  
    }
    .gtranslate_wrapper.gt_container--9uakgu {
  display: flex;
}
   #ContentCuerpo_pRappel {
    display: inline-flex;      
       min-width: 100%
    }
}
/* Landscape phone to portrait tablet*/
@media (min-width: 667px) and (max-width: 767px) {
    .seccionrect p {
        margin-bottom: 10px;
    }
    header {
        margin:0;
    }

    header .logo img {        
        margin: 0 auto;
    }
    
    .logo {
        margin: 80px 23.6% 60px;
        padding: 0;
    }
    .box {
        min-height: 400px;
    }

        .box h3 {
            transform: translate(-50%,-50%) scale(.8);
            -webkit-transform: translate(-50%,-50%) scale(.8);
            margin: 0;
        }

    .btn-button {
        transform: translate(-50%,-50%) scale(.8);
        -webkit-transform: translate(-50%,-50%) scale(.8);
        bottom: 0;
    }
    
    .navbar {
        margin: 0;
        width: 100%;
        z-index: 1111;
        background-color: #ffffff;
        
        
    }
    
    .navbar-collapse {
        width: 110%;
        margin: 0;
        padding: 0;
        border: 0;
        background-color: rgba(0,0,0,0.8);
        min-height: 100vh;
        position: absolute;
        top: 0;
        left:0;
        overflow: hidden;
    }
    
    .dropdown-menu {
        position: static;
    }
    button.navbar-toggle.collapsed {
        float: left;
        z-index: 333;
        border: 0;
    }
    .btnbuscar {
        right: 0px !important;
    }
    .navbar-toggle .icon-bar {
        background-color: #666 !important;
    }
    .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
        background-color: transparent;
    }    

    #bgslide {
        width: 100%;
        margin: 0;
    }

    .divcol {
        width: 50%;
    }

    .tit_h2, .tit_h2 * {
        line-height: 40px;
        margin-top: 20px;
    }

    .foto_borde {
        width: 100%;
    }


    ul.menu {        
        font-size: 3em;
        left:40%;
    }

        ul.menu li {
            display: block;
        }

            ul.menu li a {
                color: #fff;
                width: 100%;
                display: block;
            }

                ul.menu li a:focus, ul.menu li a:active, ul.menu li a:hover {
                    color: #fff;
                    background: 0;
                    text-decoration: underline;
                }

            ul.menu li.clientes:hover .bgw {
                transform: translateY(-50%);
            }
    svg.button-menu {
        display: block!important;
        top: 5px;
    } 
    #carousel {
        top: 0px !important;
        margin-bottom: 0 !important;
    }
    .carousel-indicators{
        bottom:0;
    }
    .caption h2 span {
        font-size: 12px;
        padding: 0;
    }
    #mymenu2 li {
        float: none;
        display: block;
        text-align: left;
    }
    #footer {
        position: relative;
        margin: 0 !important;
        min-width: 100%;
    }

    #footer, .push {
        height: auto;
    }

        #footer h1 {
            float: none;
            padding: 5px 0;
        }

        #footer address {
            float: none;
        }

        #footer .legal {
            float: none;
            line-height:initial;
        }
    .attcliente {
        position: static;
    }
    
        #soluciones .box {
            min-height: 365px;
        }
    #soluciones .imagen {
        height: auto;
    }

        #soluciones .imagen img.clip {
            position: static;
            margin: 0;
        }
    .form-inline {
        float: none;
    }
    .arrow-wrap {
        display: none;
    }
    
    #main {
        margin: 0;
    }
    .td01 {
        width: 100% !important;
        text-align: left !important;
    }

    .form-control1, .form-control {
        width: 100% !important;
    }

    .dot {
        float: none !important;
    }
    .infor {
        margin: 0 !important;
    }
    .validar {
        padding: 0 !important;
    }
    .box-articulo figure {
        min-height: 285px;
    }
    .grid-wrapper h2 {
        font-size: inherit;
    }
    .bgw {
        width: 100% !important;
        margin-bottom: 15px;
    }
    .outlet,.new {
        transform: scale(0.84);
        transform-origin: 0 0;
        -webkit-transform: scale(0.84);
        -webkit-transform-origin: 0 0;
    }
      .bloquecestaport .articulo > a {
        font-size: 1em;
        transform: scale(.8) !important;
        transform-origin: 0 20%;
      }    
    
}
