/*  Adaptive styles  */

/*   1280px  */

@media screen and (max-width: 1280px),
only screen and (max-device-width:1280px) {
    
.layout {
width:1200px;
}
    
}

/*   1200px  */

@media screen and (max-width: 1200px),
only screen and (max-device-width:1200px) {
    
.layout {
width:1170px;
}
    
}


/*   1024px  */

@media screen and (max-width: 1024px),
only screen and (max-device-width:1024px) {
    
.layout {
width:940px!important;
}

#jmenu {
padding:0.7em 0;
}

.main-menu ul {
width:95%;
margin:0 auto;
display:block;
height:18px;
background: url(../images/menuicon.png) no-repeat right;
cursor:pointer;
}

.main-menu li {
display:none;
}

.mobilemenu .layout > ul {
width:98%;
overflow:hidden;
padding:0 0 0 10%;
margin:0 auto;
display:block;
background: url(../images/menuicon.png) top right no-repeat;
}

.mobilemenu .layout li {
display:block;
float:none!important;
width:90%;
margin-left:3%;
}

#jmenu .layout li.parent > ul, #jmenu .layout li.parent:hover > ul {
display: block;
position:static;
padding:0.5em 0;
}
}


/*   960px  */

@media screen and (max-width: 960px),
only screen and (max-device-width:960px) {
    
.layout {
width:900px!important;
}

.cols-2 {
width:99%;
margin:0;
float:none;
}

.cols-2 .span6 {
width:100%;
}

.cols-3 .span4 {
width:99%;
margin:0;
float:right;
padding: 0;
}

.span4 {width:99%!important; float:left}
.span3 {width:48%!important; float:left}
}



/*   854px  */

@media screen and (max-width: 854px),
only screen and (max-device-width:854px) {
    
.layout {
width:800px!important;
}

.logo img {
display:none;
}

#content .main, #content .sidebar {
width:100%;
float:none;
}
}


/*   800px  */

@media screen and (max-width: 800px),
only screen and (max-device-width:800px) {
    
.layout {
width:750px!important;
}

.row-fluid .sblock3 {
width: 80%!important;
text-align: center;
margin:0 auto;
float:none!important;
}

.horizontal4 .block_product, .horizontal5 .block_product, .horizontal4 .block_item, .horizontal5 .block_item, .row-fluid .sblock4  {
width:44.8%!important;
text-align: center;
}

.row-fluid .sblock4:nth-child(3n){
clear:both;
}

.row-fluid [class*="sblock"]{
padding-left:0;
margin-bottom: 1em;
}

.block_product, .block_item {
text-align: center;
}

.product_data {
width:35%;
float:right;
}
}


/*   768px  */

@media screen and (max-width: 768px),
only screen and (max-device-width:768px) {
    
.layout {
width:720px!important;
}

#DOMWindow {
width:70%!important;
}

.Window > div {
 width: 90%!important;
 margin: 2% auto;
 padding:10px;
 border-radius: 5px;
 background: #fff;
 box-shadow: 0px 0px 5px 2px;
}
}



/*   640px  */

@media screen and (max-width: 640px),
only screen and (max-device-width:640px) {
    
.layout {
width:95%!important;
}

textarea,
input[type="text"],
input[type="button"],
input[type="submit"] {
-webkit-appearance: none;
appearance: none
}

#DOMWindow {
width:80%!important;
}

.top_left, .top_right {
width:100%;
float:none;
text-align:left;
overflow:hidden;
}

.top_right li {
float:left;
padding:1em 10px 0 0;
}

.top_left li {
padding: 0 10px 0 0;
}

.logo, .cart_box, .search_box {
width:100%;
text-align:center;
float:none;
}

.row-fluid .sblock3, .product_data, .horizontal4 .block_product, .horizontal5 .block_product, 
.horizontal4 .block_item, .horizontal5 .block_item, .row-fluid .sblock4,
.horizontal3 .block_product, .horizontal3 .block_item  {
width: 90%!important;
text-align: center;
margin:0 auto;
float:none!important;
clear:both;
}

.sidebar {display:none!important}

.span4 {
width:95%!important;
clear:both;
}
  
  
/*  Adaptive table */
  
.jshop.cart tr:first-child {
display: none;
}

.mobile-cart {
font-weight:bold;
width:45%;
float:left;
display:inline-block;
}

.jshop.cart .data {
width:55%;
float:left;
}

.jshop.cart tr {
display:block;
width:100%;
margin:0 0 0.5em 0;
border:1px solid #ccc;
}

.jshop.cart td {
display:flex;
border-bottom:1px solid #ccc;
text-align:left;
padding:0.3em 10px;
}

.jshop_img_description_center .data {text-align:center; width:100%!important}
  
  
}





/*   480px  */

@media screen and (max-width: 480px),
only screen and (max-device-width:480px) {
    
.layout {
width:95%!important;
}

#toTop {
display:none!important;
}

.span3, .span6 {
width:95%!important;
}

.span5 {
width:70%!important;
}

.jshop_img_description {
width:15%!important;
}

.jshop_img_description_center {
display:none;
}

.quantity input {
width:20%;
}

#comjshop table.cart th, #comjshop table.cart td {font-size:0.9rem}

.Window > .modalbox {
 width: 90%!important;
 margin: 3% auto;
 padding:10px;
 border-radius: 5px;
 background: #fff;
 box-shadow: 0px 0px 5px 2px;
}
}

@media screen and (max-width: 3600px),
only screen and (max-device-width:360px) {

#checkout  {text-align:center}	
.pull-right, .pull-left {float:none}
}