@media only screen and (min-width: 900px) {
  html{overflow: auto;}
  nav#site-menu ul li .mega-menu{width: 100%!important;}
  body #home-slider{height: 520px;}
  body #home-slider .flexslider{max-height: 520px;}
  body #home-slider{max-height: 520px;}
  body #home-slider{max-width: 1170px;margin: auto;height: 430px;}
  body .list_products {width: 100%;}
  body .list_products .product{width: 23.5%;}
  body .list_products .list_isnews .product:nth-child(4n){margin-right: 0px;}
  body .list_products .all_list_home .product:nth-child(4n){margin-right: 0px;}
  body section.box_list section .grid {width: 870px;}
  body section.box_list section .grid .product{width: 33%;}
  body section.box_list section .grid .product:nth-child(3n){margin-right: 0px;}
  body section.box_list section .grid .product:nth-child(4n){margin-right: 2%;}
  body section.section .container section .gf-form-box .form-inner .row .col-md-6{width: 100%;}

  body section .form_content .form-group.stylish-input.half_left {width: 50%;}
  body section .form_content .form-group.stylish-input.half_right {width: 50%;}
  body section .form-group.stylish-input.phone{width: 100% !important;}
  body .form_content.inner.form-login .fieldrequired{margin-left: 195px !important;}
  body .form_content.inner.form-login .btn-primary.btn-round{margin-left: 195px !important;}
  body #account,
  body .list_brands,
  body .list_categories{width: 1170px;margin: auto;margin-top: 40px;}
  body .list_categories ul,
  body .list_brands ul {display: inline-block;width: 100%;padding: 0px;}
  body .list_categories ul li,
  body .list_brands ul li{width: 25%; display: inline-block; float: left; list-style: none;margin-bottom: 30px;}
  body .list_categories ul li a,
  body .list_brands ul li a{font-weight: bold;text-transform: uppercase;font-size: 15px;}
  body .list_categories ul li ul li,
  body .list_brands ul li ul li{width: 100%; display: inline-block;margin: 0px;}
  body .list_categories ul li ul li a,
  body .list_brands ul li ul li a{font-weight: normal;text-transform: none; font-size: 13px;}
  body section .row .images_box{width: 65%;}
  body section .row .details_box{width: 35%;}
  body section .row .images_box .big-image{width: 600px;display: inline-block;max-width: none;}
  body .list_bag form .form_content .form-group.half_left label{width: 50% !important;}
  body .list_bag form .form_content .form-group.stylish-input input{width: 90%;}
  body .list_bag form .form_content .form-group.half_left input,
  body .list_bag form .form_content .form-group.half_right input{width: 100%;}
  body .img_code{width: 56%;}
  section.widget.widget-menu{width: 97%;margin-left: 15px;}
  section.products-wrapper header.products-header .row{width: 101%;}
  body .product-preview .big-image{max-width: 86%;}
  body #featured-products.cross_selling .product:nth-child(4n) {margin-right: 0px;}
  body .list_products.cross_selling .product {width: 23.5%;}
  body .form_content .form-group.stylish-input.half_right label {width: 35.5%;}
  body .content_bags .list_bag #form_bag .payment_form{width: 100%;}
}

@media only screen and (width: 820px) {
  html{overflow: hidden;}
  .main-header-wrapper{margin: 0 20px;}
  body .list_products .list_isnews .product:nth-child(3n) {margin-right: 0px;}
  body .list_products{width: 100%; padding: 0px 20px;}
  body .list_products .product{width: 32%;}
  body .box_list{margin-left: 2%;width: 74% !important;}
  body .list_products.indexproducts{padding-right: 0px;padding-left: 0px;}
  body .pull-right{margin-right: 20px;}
  body .breadcrumb-container.cms{padding:20px;}
  body .nav_product{padding: 0px 20px;}
  body #main-content.box_details{padding: 0px 20px;}
  body .product-details .row .col-sm-6{padding-left: 0px;}
  body #featured-products.cross_selling{padding: 0px;}
  body #featured-products.cross_selling .product:nth-child(4n) {margin-right: 0px;}
  body .list_products.cross_selling .product {width: 23.5%;}
  body section.products-wrapper header.products-header .row{width: 100%;}
  body .main-menu > li > a{margin-right: 0px;padding:8px 5px;}
}

@media only screen and (max-width: 800px) {
  section.section.form_content form .form_content.inner .form_line{width: 100%;padding-left: 0px !important;padding-right: 0px !important;}
  .list_payment_horizontal{height: auto;}
  html{overflow: auto;}
  .container .main-header .logo-wrapper a img {max-height: 80px;}
  body .list_products .product:nth-child(31), body .list_products .product:nth-child(32){display: none;}
  .container .row .col-xs-12 ul.actions.unstyled{margin: auto;display: inline-block;width: 100%;}
  .container .row .col-xs-12 ul.actions.unstyled li{width: auto;float: left;}
  .container .row .col-xs-12 ul.actions.unstyled li .search-box{width: auto;}
  .container .row .col-xs-12 ul.actions.unstyled li .search-box form{position: absolute;right:100%;}
  .container .row .col-xs-12 ul.actions.unstyled li .search-box form input{width:140px;padding-left:30px;}
  .container .row .col-xs-12 ul.actions.unstyled li .search-box form button{top:1px;left:4px;}
  #site-header .header-top .container .col-xs-12{display: inline-block;float:left;width:auto;padding-right:0px;}
  #site-header .header-top .container .row{display: inline-block;float:right;width:auto;}
  #banner_area{height:auto!important;}
  #banner_area .item,
  #banner_area .item .bg_img{min-height:auto;}
  #banner_area .item .bg_img img{display:block!important;}

  body .list_all_menu nav#site-menu{display: none;} 
  body .container .row .col-xs-12 ul.actions.unstyled{padding-bottom: 0px;}
  body .container .main-header .actions {float: right;max-width: 150px;}
  body .container .main-header .actions .center-xs{text-align: right;margin: 0px;float: right;}
  body .container .main-header{padding-top: 10px; padding-bottom:10px;padding-left: 10px}
  body .container .row .list_products .product,
  body .indexproducts.list_products.grid.show .product{width: 90%; margin: 10px 5% !important;float: none;display: inline-block;}
  body #main-content .section-header{padding-right: 0px;padding-left: 0px;margin-top:0px;margin-bottom:0px;}
  body .list_products{width: 100%;}
  body .container .row {margin: auto}
  body .payments_form{position: relative !important;}
  body .form_content .form-group.stylish-input.half_left,
  body .form_content .form-group.stylish-input.half_right{width: 97%;margin-left: 10px;margin-right: 0px;}
  body .form-horizontal .form-group{margin-left: 10px; margin-right: 0px;}
  body .form_content .form-group.stylish-input.half_left input,
  body .form_content .form-group.stylish-input.half_right input{width: 100%;}
  body .form_content .form-group.stylish-input.half_left .col-lg-7.col-sm-9,
  body .form_content .form-group.stylish-input.half_right .col-lg-7.col-sm-9{width: 100%;}
  body .form_content .form-group.stylish-input.half_left label {width: 200px;padding-left: 15px;}
  body .form-horizontal .form-group.phone{width: 97% !important;}
  body .fieldrequired{margin-left: 5% !important;}
  body #form_cliente fieldset div .button.btn{margin-left: 5%;}
  body select#ca_id_countries{width:100% !important;}
  body select#cdistrito{width:100% !important;}
  body h3.uppercase.page-title{margin-left: 5%;}
  body #main-content section.brands .container .title{margin-left: 5%;}
  body footer .widgets .section .container .row section{padding: 0px 5%;}
  body #formlogin .form-group{margin-left: -10px;}
  body #formrecover .form-group{margin-left: -10px;}
  body .error_login{margin: auto !important;}
  body #messager_recover{margin: auto !important;}
  body .main-header .user-menu>li {float: right}
  body .main-header .user-menu>li:last-child {margin-right: 5px;float: right;}
  body .history .uppercase.page-title{margin-left: 0px;font-size: 20px;}
  body .history .history_list ul{padding-left: 0px;}
  body .history_list ul li.orders_header span:nth-child(4){width: 26%;}
  body .history_list ul li.order span:nth-child(4) {width: 26%;}
  body #form_cliente .button.btn{margin-left: 7% !important;}
  body #center_column a .button.btn.padder{max-width:100px;}
  body .breadcrumb-container.cms .container .relative ul.bc.unstyled.clearfix{margin-left: 20px;}
  body #main-content .product-preview .big-image{width: 100%; max-width: none;}
  body #main-content .product-preview .thumbs.unstyled.clearfix{float: left;margin: 10px;width:100%;}
  body #main-content .product-preview .thumbs.unstyled.clearfix li{float: left;display: inline-block;margin-right: 10px;} 
  body .container .prev{padding-left: 10px;}
  body .container .next{padding-right: 10px;}
  body .close_details{right: 10px;}
  body .container{width: 100%;}
  .main-header .logo-wrapper {position: static;float: none;}
  .ui-input-text.ui-body-inherit.ui-corner-all.ui-shadow-inset {margin-top: 3px;}
  .ui-page-theme-a a:visited, html .ui-bar-a a:visited, html .ui-body-a a:visited, html body .ui-group-theme-a a:visited {color: inherit !important; /*{a-link-visited}*/;}
  .ui-page-theme-a a, html .ui-bar-a a, html .ui-body-a a, html body .ui-group-theme-a a{color: inherit !important;}
  .section-header.clearfix.col-sm-offset-3.col-sm-6{margin-top: 30px;}
  body .container .row .clearfix .box_list{width: 100% !important;margin-left: 0px !important;}
  body .mm-page.ui-mobile-viewport{z-index: 99999;position: relative;}
  form#register_form .form_content.inner .form_line{width: 100%;padding: 0px !important}


  body .form-inner .content_bags .list_bag #form_bag.submitform ul.bagItems li.item_list_bag div .pd_ref{height:auto;width: 90px!important;}
  body .content_bags .list_bag #form_bag ul li .pd_ref a h3{font-size:12px;}
  body .content_bags .list_bag ul li:nth-child(1){width:70%!important;}
  /*body .content_bags .list_bag ul li:nth-child(3){display:none;}*/
  body .content_bags .list_bag ul li:nth-child(4){width:17%!important;}
  body .content_bags .list_bag #form_bag.carrinho ul li.item_list_bag{width:100% !important;}
  body .content_bags .list_bag #form_bag ul li .price1{display:none;}
  body .content_bags .list_bag #form_bag.carrinho ul li.item_list_bag div.pd_img{width:70px!important;}
  body .content_bags .list_bag #form_bag ul li div:nth-child(1){width:70%!important;}
  body .content_bags .list_bag #form_bag ul li div:nth-child(4){width:17%!important;font-size:12px;}
  body .content_bags .list_bag #form_bag ul li .quantity input{width:20px;}

  body .steps_header ul{width:100%;}
  body .steps_header ul li{width:25%;}
  body .steps_header ul li img{display:none;}
  body .steps_header ul li .text{font-size:11px;margin-top: 13px;}
  body .button{padding:5px 10px!important;font-size:12px;}
  body .content_bags .list_bag #form_bag .bag_summary{width:100%;}
  
  body #form_checkout .login_form{width:100%}
  body section.section .login_form form{width:100%;padding:0px;border-right:none;padding-bottom:20px;}
  body section.section .login_form .login_facebook{width:100%;}
  body section.section .login_form .condition .text{top:0px;}
  body section.section.form_content .title_section{width:100%;}
  body section.section.form_content form{width:100%;}
  body section.section.form_content form .form_content.inner .form_line{width:100%;}

  body .list_payment_horizontal{height: auto;}
  body .content_bags .list_bag #form_bag .code_promo input{width:60%;border:1px solid #ccc;}
  body .content_bags .list_bag #form_bag .discount_code{width:100%;}
  body .content_bags .list_bag #form_bag ul.bagItems li.item_list_bag div:nth-child(2){width:60%!important;}
  body .content_bags .list_bag #form_bag ul.bagItems li.item_list_bag div:nth-child(5){width:17%!important;font-size:12px;}

  body .content_bags .list_bag #form_bag .deliveryoptions{width:100%;}
  body .content_bags #form_bag .bag_summary ul li.one{width:100%!important;}

  body .content_bags.step4 .list_bag .more_infos .full .box{width:100%;margin-bottom:40px;}
  body .content_bags.step4 .list_bag #form_bag ul li{width:100%!important;}
  html body .content_bags.step4 .list_bag #form_bag ul li .quantity:nth-child(2){width:13%!important;}
  html body .content_bags.step4 .list_bag #form_bag ul li div .pd_img{width:70px!important;}
  
  body .content_bags .list_bag #form_bag ul li .pd_ref{width: 50%;height:auto;}
  section.section.form_content form, section.section.form_content .group_partial{width:100%;}
  section.section .login_form .condition{width:100%;}
  body .sub-title h3.uppercase.page-title{font-size:20px;padding-left:0px}
  .content_bags .list_bag #form_bag .payment_form .mini_box{width:100%;}
} 

@media only screen and (max-width: 550px) {
  body .categories_img li{width:100%!important;height:100px!important;background-position: top center !important;}

  .section-payment{
    flex-direction: column;
  }
}








