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

    

    .form-search{
        border-top: 3px solid #f96d1b;
    }

    .achats-separation { 
        margin-bottom: 20px;
    }

    .vehicle-types, .weather-types {
        display: block;
        clear: both;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        margin-bottom: 5px;
    }
    
    .vehicle-types a, .weather-types a {
        display: inline-block;
        width: 40px;
        height: 40px;
        border-left: 1px solid #e6e6e6;
        cursor: pointer;
        float: none;
        background-color: #333333;
        background-size: 19px auto!important;
        margin-right: -4px;
    }
    
    .brands-types {
        padding-top: 0px;
        margin-bottom: 5px;
        text-align: center;
    }
    
    .brands-types a {
        border: 1px solid #282828;
    }
    
    .search .btorange {
        background: #f96d1b!important;
        color: white !important;
        border: none;
        border-bottom: 2px solid #c9390d;
        font-size: 12px;
        padding: 7px 6px;
        margin-right: 3px;
        margin-top: 5px;
    }
    
    .search .btorange span{
        display: none;
    }
    
    .empty-list-image {
        background: url('../images/bg-listado.jpg') no-repeat top center;
        width: 100%;
        height: 93px;
        margin-bottom: 20px;
        background-size: 294px;
    }

    .caucion-image{
      display:none;
    }

    .cart {
    float: none;
    width: 115px;
    background: #f7f7f7 url('../images/bg-carrito.png') no-repeat center center;
    border-left: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
    height: 34px;
    position: absolute;
    background-size: 100px;
    right: 8px;
    top: 18px;
    }
    
    .cart a {
    color: black;
    font-weight: bold;
    font-size: 12px;
    display: block;
    position: absolute;
    text-decoration: none;
    top: 9px;
    left: 46px;
    }
    
    .cart span {
    color: #f96d1b;
    display: block;
    position: absolute;
    top: 6px;
    left: 49px;
    font-size: 11px;
    }
    .table-products tr td.information {
        font-size: 11px;
        white-space: normal!important;
    }
    
    .table-products tr td.price{
        font-size: 13px;
        width: auto;
    }
    
    .table-products tr td, {
    padding-left: 8px;
    padding-right: 8px;
    vertical-align: top;
    padding-top: 8px;
    background: url('../images/bgtrtdright.png') no-repeat top right transparent;
    }
    
    .table-products thead th {
    font-size: 10px;
    padding-left: 2px;
    }
    
    .table-products tr.line0 td {
        padding-left: 8px;
        padding-right: 8px;padding-top: 8px;
    }
    
    .table-products tr td.information .more_info .category.turismo {
    background: url('../images/turismo-black.png') no-repeat center left transparent;
    background-size: 16px auto;
    padding-left: 22px;
    }
    
    .table-products thead {
background: url('../images/borderbottomtable.png') repeat-x 0px 35px transparent;
}

    .filter-results{
        margin-top: 10px;
        margin-bottom: 7px;
    }
    
    .detail-product .table-products {
    font-family: Verdana;
    font-size: 11px;
    color: black;
    }
    
    .detail-product {
        padding: 4px;
    }
    
    .detail-product .information div strong {
        font-size: 13px;
    }
    
    .detail-product .information div {
        font-size: 13px;
    line-height: 29px;
    }
    
    .detail-product .ticker-cargoma{
        width: 30px
    }
    
    .detail-product .table-products thead {
    background: url('../images/borderbottomtable.png') repeat-x 0px 32px transparent;
    }
    
    .list_shopping_cart .table-products .photo span{
        display: block;
    }
    
    .list_shopping_cart .table-products .photo span.model-xs{
        color: #f96915;
    }
    
    .list_shopping_cart .table-products .photo span.glyphicon{
        display: inline;
        margin-left: 10px;
    }
    
    .list_shopping_cart .table-products .photo span.quantity-xs{
        margin-top: 7px;
        margin-bottom: 7px;
    }
    
    .list_shopping_cart .table-products .photo span.date-xs{
        margin-bottom: 4px;
    }
    
    .list_shopping_cart .table-products tr td{
        vertical-align: middle;
        border-right: 1px solid #e8e8e8;
        background: none;
    }
    
    .list_shopping_cart .resum .item-resum span {
        font-size: 12px;
    }
    .list_shopping_cart .resum .item-resum {
        
        font-size: 13px;
    }
    
    .list_shopping_cart .resum .item-resum {
        
        line-height: 31px;
    }
    .alert {
    padding: 10px;
    }
    
    .bt-continuar-proveedor{
    width: 100%;
    white-space: normal;
    height: auto;
    }
    .list_shopping_cart .btorange{
        width: 100%;
        margin-top: 10px;
    }
    
    .address .col-md-3{
        margin-left: 0px;
        padding-left: 0px;
    }
    
    .btn-group>.btn, .btn-group-vertical>.btn{
        font-size: 14px;
    }

    .btn-group, .btn-group-vertical{
        margin-left: auto;
        margin-right: auto;
    }    
    .list_shopping_cart .buttons-cart{
        text-align: center;
        margin-top: 10px;
        padding-top: 0px;
    }
    
    .list_shopping_cart .btn-lg.btorange{
        margin-bottom: 10px;
    }
    
    .compra-finalizada{
        padding-left: 10px;
    }
    
    
    .nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {
    color: #fff;
    background-color: #f96d1b;
    }
    
    .nav-pills>li>a {
    border-radius: 0px;
    border: none;
    background: #3c3e3f;
    font-family: Verdana;
    color: white;
    cursor: pointer;
    border-top: 1px solid white;
    }
    
    .color-orange{
        color: #f96d1b;
    }
    
    .content-delivery-list .table-products tr td{
        background: none;
    }
    
    .content-delivery-list .table-products tr td tr td{
        padding-bottom: 8px;
    }
}



@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  {
    
    .hidden-tabblet{
        display: none;
    }
    
     .subheader{
        position: relative;
    }
    
    .vehicle-types, .weather-types {
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        width: auto;
        margin-bottom: 5px;
        float: left;
    }
    
    .vehicle-types a, .weather-types a {
        display: inline-block;
        float: none;
        margin-right: -4px;
    }
    
    .brands-types {
        clear: both;
        width: auto;
        text-align: left;
        padding-top: 0px;
        padding-bottom: 7px;
    }
    
    .form-search .btorange{
        margin-top: 5px;
    }
    
    .box-filter{
        display: none;
    } 
    
    .col-results{
        width: 100%;
    }
    
}


@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
/* Styles */

    .modal-dialog {
    width: 768px;
    }   

    .hidden-portrait{
        display: none;
    }
    
    .visible-portrait{
        display: block;
    }
    
    .portrait-col-6{
        width: 50%;
        float: left;
    }
    
    .row_results{
        padding-bottom: 10px;
        
    }
    
    .show-portrait{
        display: block!important;
        visibility: visible!important;
        color: black;
    }
    
    .detail-product{
        
    }
    
    .detail-product .col-md-6{
        width: 40%; 
        float: left;
    }
    .detail-product .col-md-3{
         width: 30%;
         float: left;
    }
    .detail-product .col-md-3.photo{
        width: 20%;
        float: left;
    }
    
    .detail-product .products{
        margin: 0px;
        padding: 0px;
        
    }
    
    
    .formpay .col-md-8.methodpay{
        width: 50%;
        float: left;
    }
    
    .formpay .col-md-4.resum{
        width: 50%;
        float: left;
    }
    
    .formpay .address .col-md-8{
        width: 60%;
        float: left;
    }
    .formpay .address .col-md-3{
        width: 30%;
        float: left;
    }
    
    .list_shopping_cart .table-products thead {
    background: url('../images/borderbottomtable.png') repeat-x 0px 38px transparent;
    }
    
    .content-delivery-list .table-products thead {
    background: url('../images/borderbottomtable.png') repeat-x 0px 53px transparent;
    }
}










/* ----------------------------------------------------------------
 * Tablets Small
 * ----------------------------------------------------------------
 */
/* De 0 a 480.... */
@media (max-width: 479px) {
        /*p, a, span, h1          { color: yellow; }
        #header #top-header     { background-color: yellow; } */   

    /* BUSCADOR */
    .search-types-product .vehicle-types                        { margin-bottom: 2px; }
    .search-types-product .vehicle-types a                      { width: 20%; height: 40px; background-size: 40%; }
    .search-types-product .vehicle-types .moto                  { background-size: 28%; }

    .search-types-product .weather-types                        { text-align: center; }
        .search-types-product .weather-types a                  { width: 20%; height: 40px; background-size: 40%; float: none; display: inline-block; }

    .search-types-product .brands-types a                       { width: 50%; margin-bottom: 1px; }

    .search .inputs-search .autocomplete input                  { margin-bottom: 6px; }
    .search .inputs-search .btn-default                         { width: 100%; margin-bottom: 4px; }


    /* HOME */
    .empty-list-image                                           { background-size: 100%; height: 140px; margin-bottom: 0; }
    .caucion-image                                              { display:none;  }


    /* PERFIL */
    .header-profile .nav-tabs>li>a, .header-profile .nav-tabs>li>a:hover { padding: 10px 6px; font-size: 12px; }

    /* FICHA PRODUCTO */
    .modal-body                                                 { padding: 0; }
    .detail-product .table-products tr td                       { padding: 10px 5px 0; }
    .detail-product .table-products tr td.provider              { font-size: 10px; text-align: center; width: auto; }
        .detail-product .table-products tr td.provider img      { margin: 0 auto; width: 60%; }
    .detail-product .table-products .entrega                    { font-size: 14px; }
        .detail-product .table-products .entrega .fecha         { font-size: 10px; }
    .detail-product .table-products .stock                      { width: auto !important; }

    .detail-product .table-products .form-control               { margin-bottom: 4px; padding: 5px; text-align: right; width: 100%; }

    .detail-product .table-products .bt-comprar .btn-default    { width: 100%; margin-right: 0; }
    .detail-product .table-products .bt-comprar .price-detail   { font-size: 12px; text-align: center; margin-bottom: 5px; }

    /* FICHA PRODUCTO */
    .product-data-cart div                                      { margin-bottom: 5px; }
    .product-data-cart .table-header                            { line-height: 15px; }

    /* CARRITO */
    .list_shopping_cart .table-products.visible-xs              { display : table ; }
    .list_shopping_cart .table-products.visible-xs  tr td       { width : 20%; }
    .list_shopping_cart .table-products.visible-xs  tr td.photo { width : 60%; }
    .list_shopping_cart .table-products.visible-xs th.photo     { display: none; }
    .list_shopping_cart .table-products.visible-xs td.photo img { display: none; }
    

    .list_shopping_cart .resum .item-resum-adjust               { line-height: 25px; }
    .list_shopping_cart .bt-continuar-proveedor-adjust          { white-space: normal; }
    .list_shopping_cart .address-adjust                         { margin-bottom: 15px; }


    .date-xs                                                    { margin-bottom: 10px; }

    #page-up                                                    { bottom: 55px; }   
    .zlsps-rht                                                  { margin-right: 0 !important; }
    .zls-btrht                                                  { margin-right: 0 !important; }   
    
}


/* ----------------------------------------------------------------
 * Tablets Small
 * ----------------------------------------------------------------
 */
/* A partir de 480 hacia arriba.... */
@media (min-width: 480px) {
        /*p, a, span, h1          { color: blue; }
        #header #top-header     { background-color: blue; }*/   

    /* BUSCADOR */
    .search-types-product .vehicle-types                        { width: 58.3333%; }
    .search-types-product .weather-types                        { width: 41.6667%; }
        .search-types-product .weather-types a                  { float: right; }

    .search .inputs-search .autocomplete input                  { margin-bottom: 6px; }

    /* FICHA PRODUCTO */
    /*.product-data-cart .distribuidor                            { width: 25%; }
    .product-data-cart .cargos                                  { width: 25%; }
    .product-data-cart .cantidad                                { width: 25%; }
    .product-data-cart .pvp                                     { width: 25%; }
*/

    .product-data-cart .cmb-cantidad                            { padding-left: 5px;}

    .modal-body                                                 { padding: 0; }

    .detail-product .table-products .form-control               { margin-bottom: 4px; padding: 5px; text-align: right; width: 100%; }

    .detail-product .table-products .btn-default                { width: 100%; margin-right: 0; }
    .detail-product .table-products .bt-comprar .price-detail   { width: 100%; font-size: 12px; text-align: center; margin-bottom: 5px; }

    /* CARRITO */
    .list_shopping_cart .table-products.visible-xs              { display : none ; }
    .list_shopping_cart .table-products.visible-xs  tr td       { width : 20%; }
    .list_shopping_cart .table-products.visible-xs  tr td.photo { width : 60%; }
    /*.list_shopping_cart th.photo                                { display: none; }*/
    
    .price-recommended {
        left: 28px;
    }

    
/* ----------------------------------------------------------------
 * Tablets Small
 * ----------------------------------------------------------------
 */
/* A partir de 768 hacia arriba.... */
@media (min-width: 768px) {
        /*p, a, span, h1          { color: red; }
        #header #top-header     { background-color: red; }*/

    .container-nts                                              { padding-left: 0; padding-right: 0; }

    /* ARREGLO TEMPORAL HEADER */
    #header .container-menu                                     { overflow: visible; }

    /* BUSCADOR */
    .search-types-product .weather-types a                      { float: right; }
    .search-types-product .brands-types                         { text-align: center; }

    /* FICHA PRODUCTO */
    .detail-product .product-data                               { max-height: 204px; }

    .product-data-cart .table-header                            { color: #a4b0b7; font-size: 11px; font-weight: normal; padding-left: 11px; line-height: 25px; }

    /* FICHA PRODUCTO */
    .table-products tr.line0 td                                 { /*padding: 10px 5px 0;*/ padding: 6px; }
    .table-products tr td                                       { /*padding: 10px 5px 0;*/ padding: 6px; }

    .table-products tr td.photo .imagen > img                   { position: absolute; top: 10px; }

    .detail-product .table-products .form-control               { width: 100%; display: inline-block; text-align: right; max-width: 70px; }
    .detail-product .table-products .btn-default                { width: 100%; display: inline-block; margin-right: 0; overflow: hidden; font-size: 12px; }


}


/* ----------------------------------------------------------------
 * Tablets Big
 * ----------------------------------------------------------------
 */
/* A partir de 992 hacia arriba.... */
@media (min-width: 992px) {
        /*p, a, span, h1          { color: pink; }
        #header #top-header     { background-color: pink; }*/

    /* BUSCADOR */
    .search-types-product .vehicle-types                        { width: auto; }
    .search-types-product .weather-types                        { width: auto; }
        .search-types-product .weather-types a                  { float: left; }
    .search-types-product .brands-types                         { text-align: left; }


    .modal-body                                                 { padding: 20px; }

    .detail-product .table-products .form-control               { width: 30%; }
    .detail-product .table-products .btn-default                { width: auto; }

    .price-recommended {
        left: -40px;
    }
}


/* ----------------------------------------------------------------
 * Desktop
 * ----------------------------------------------------------------
 */
/* A partir de 1200 hacia arriba.... */ 
@media (min-width: 1200px) {
        /*p, a, span, h1          { color: green; }
        #header #top-header     { background-color: green; }*/

        .detail-product .table-products .form-control               { /*width: 100%;*/ }
}





