/* ANY CSS FOR ALL WIDTHS GOES HERE
----------------------------------------------------------- */



/* ALL WIDTHS UNDER 970PX
----------------------------------------------------------- */

@media screen and (max-width: 970px){

	/* DEFAULT
	----------------- */

	.s5_wrap {
	width:100% !important;
	}
	
	.s5_is_display, .s5_is_slide {
	position:relative !important;
	}
	
	.s5_is_slide {
	height:auto !important;
	opacity:1 !important;
	filter:alpha(opacity=100) !important;
	-moz-opacity:1 !important;
	-khtml-opacity: 1 !important;
	}
	
	/* CUSTOM
	----------------- */
	
	#s5_body_padding {
	padding-left:14px;
	padding-right:14px;
	}
	
	.s5_is_slide {
	background:none !important;
	}
	
	body {
	font-size:0.7em !important;
	}
	
	#fontControls {
	display:none;
	}
	
}


/* TABLET PORTRAIT MODE CSS
----------------------------------------------------------- */

@media screen and (min-width:580px) and (max-width: 970px){

	
	/* CUSTOM
	----------------- */
	
	.S5_parent_subtext {
	font-size:0.9em !important;
	}
	
	#s5_nav li a {
	font-size:1.3em !important;
	}
	
	#s5_nav li .s5_level1_span1 {
	padding-left:9px;
	padding-right:9px;
	}

	#s5_logo_wrap {
	max-width:49%;
	}
	
	#s5_header_right {
	max-width:49%;
	}
	
	#s5_top_menu li a {
	padding-left:7px;
	padding-top:10px;
	}
	
}


/* TABLET PORTRAIT MODE CSS - SMALLER TABLETS
----------------------------------------------------------- */

@media screen and (max-width: 750px){

	/* CUSTOM
	----------------- */

	#s5_menu_wrap {
	display:none;
	}

	/* CUSTOM
	----------------- */
	
	#s5_search_hover {
	display:none;
	}
	
	#s5_body_padding {
	padding:12px;
	}

  	/* October 2015 Changes */
    #s5_component_wrap {
	border: none;
	margin: 0 0 16px 0;
	padding: 10px;
    }
  	#s5_header_wrap #s5_header_right,
  	#container_oc #header_oc #search_oc,
  	#container_oc #header_oc .links { display: none; }
    #container_oc .box-heading, .box_oc .box-heading {
        background: none;
        border: none;
        padding: 0;
    }

    #container_oc .box-content, .box_oc .box-content {
        margin-top: 10px;
        border-width: 0 0 2px 0;
        border-color: #468BD0;
        border-radius: 0;
        -moz-border-radius: 0;
        -khtml-border-radius: 0;
    }
    .box_oc .box-content .box_oc .box-content { border: none; }
    .box-content .category-info .image {
        display: block;
        text-align: center;
        float: none;
        padding: 0;
        margin: 0;
        border: none;
    }
    .box-content .image img{
        border: none;
    }
    .box-content .category-info .image img { width: 50%; }
    .box-content .category-info h1, .box-content .category-info h2, .box-content .category-info h3 {
        padding: 5px 0;
        margin-bottom: 0;
        line-height: 25px;
        text-transform: capitalize!important;
    }
    .box-content .category-info h3 {
        line-height: 23px;
    }
    .box-content .category-info p { line-height: 20px; }
    .product-info .breadcrumb { display: none; }
    
    
    
    .box-content .htabs { display: none; }
    .box-content .tab-content { 
        display: block!important; 
        padding: 0;
        border: none;
        border-bottom: 2px solid #DDDDDD;
    }
    .box-content #tab-description h1, .box-content #tab-description h2, .box-content #tab-description h3, .box-content #tab-description h4 { text-transform: capitalize; }
    .box-content #tab-description h2 { line-height: 22px; }
    
    .box-content #tab-fits td { 
        width: 100%;
        display: block;
        margin-bttom: 10px;
        text-align: center;
    }
    .box-content #tab-fits td img {
        display: block;
        width: 50%;
        margin: 0 auto;
    }
    .box-content #tab-fits td a {
        display: block;
        width: 100%;
        margin-top: 10px;
        font-size: 15px;
    }
    
    .box-content #tab-review { border-bottom: 0; }
    .box-content #tab-review div.buttons { 
        border: none; 
        padding: 6px 0 0 0;
    }
    .box-content #tab-review div.buttons div.right {
        float: none; 
        display: block;
        text-align: left;
    }
    .box-content #tab-review div.buttons #button-review { width: 50%; }
    .box-content #tab-review textarea { width: 90%; }
    #content_oc .box-heading h1.mijoshopshop_heading_h1 { display: none; }
    #content_oc .box-content h2 { display: none; }
    #content_oc .cart-info table { border: none; }
    #content_oc .cart-info thead { display: none; }
    #content_oc .cart-info tbody td { 
        border: 0;
        display: inline-block;
        padding: 0;
    } 
    #content_oc .cart-info tbody .model, #content_oc .cart-info tbody .quantity, #content_oc .cart-info tbody .price, #content_oc .cart-info tbody .total { display: block; }
    #content_oc .cart-info tbody td.model::before {
        content: "Model:";
        font-weight: bold;
        margin-right: 5px;
    }
    #content_oc .cart-info tbody td.quantity::before {
        content: "Quantity:";
        font-weight: bold;
        margin-right: 5px;
    }
    #content_oc .cart-info tbody td.price::before {
        content: "Price:";
        font-weight: bold;
        margin-right: 5px;
    }
    #content_oc .cart-info tbody td.total::before {
        content: "Total:";
        font-weight: bold;
        margin-right: 5px;
    }
    #content_oc .cart-info tbody td.name {
        margin: 8px 0 0 8px;
        font-size: 15px;
        width: 70%;
    }
    #content_oc .cart-info tbody td.model, #content_oc .cart-info tbody td.quantity { margin-top: 10px; }
    #content_oc .cart-info tbody td.quantity input { margin-bottom: 16px; }
    #content_oc .cart-info tbody td.quantity input:first-child { margin-bottom: 7px; }
    #content_oc .cart-info tbody td.quantity img { margin-bottom: 10px; }
    #content_oc .box_oc .box-content div.buttons { border: 0; }
    #content_oc .box_oc .box-content div.buttons div { 
        display: block; 
        float: none!important;
        text-align: center!important;
        margin-bottom: 12px;
    }
    #content_oc .box_oc .box-content div.buttons div.right .btn {
        background-color: #E52427;
        width: 75%;
    }
    #content_oc .content_oc {
        display: none; 
    }
    #content_oc .cart-module #shipping {
        display: block;
        border: none;
        padding: 0;
    }
    #content_oc .checkout div.left, #content_oc .checkout div.right { 
        display: block; 
        float: none!important;
        width: 100%!important;
    }
    #content_oc .checkout #login {
        margin-top: 10px;
        border-top: 1px solid #DDDDDD;
        padding-top: 10px;
    }
    #content_oc .checkout #login b {
        width: 30%;
        display: inline-block;
    }
    #content_oc .checkout #login a { display: block; }
    #content_oc .checkout #login #button-login { margin: 10px 0; }
    #content_oc .checkout #payment-address #button-register { margin-top: 15px; }
    #content_oc .checkout #payment-method .checkout-content b, 
    #content_oc .checkout #payment-method textarea, #content_oc .checkout #payment-method br { display: none; }
    #content_oc .checkout #payment-method div.buttons { margin-top: 10px; }
    
    
    
    #content_oc .checkout #confirm table { border: none; }
    #content_oc .checkout #confirm table thead { display: none; }
    #content_oc .checkout #confirm table tbody tr { border-bottom: 1px solid #DDDDDD;}
    #content_oc .checkout #confirm table tbody td {
        display: block!important;
        text-align: left!important;
        padding: 7px 0;
        border-bottom: none!important;
    }
    #content_oc .checkout #confirm table tbody td.name::before,
    #content_oc .checkout #confirm table tbody td.model::before,
    #content_oc .checkout #confirm table tbody td.quantity::before,
    #content_oc .checkout #confirm table tbody td.price::before,
    #content_oc .checkout #confirm table tbody td.total::before {
        margin-right: 5px;
        font-weight: bold;
    }
    #content_oc .checkout #confirm table tbody td.name::before{ content: "Name:"; }
    #content_oc .checkout #confirm table tbody td.model::before{ content: "Model:"; }
    #content_oc .checkout #confirm table tbody td.quantity::before{ content: "Quantity:"; }
    #content_oc .checkout #confirm table tbody td.price::before{ content: "Price:"; }
    #content_oc .checkout #confirm table tbody td.total::before{ content: "Total:"; }
    #content_oc .checkout #confirm table tfoot { border-top: 2px solid #468BD0; }
    #content_oc .checkout #confirm table tfoot td { border-bottom: none; }
    #content_oc .checkout #confirm .payment h2 { display: block; text-transform: capitalize; }
    #content_oc .checkout #confirm .payment #payment { 
        display: block; 
        border: none;
        padding: 0;
    }
    #content_oc .checkout #confirm .payment #payment .form tr { border: none; }
    #content_oc .checkout #confirm .payment #payment .form td { display: table-cell!important; }
  
  /* End Oct 2015 Changes */  
  

}


/* MOBILE LAYOUT CSS
----------------------------------------------------------- */

@media screen and (max-width: 579px){

	/* DEFAULT
	----------------- */

	#s5_right_column_wrap_inner .s5_float_left, #s5_left_column_wrap_inner .s5_float_left {
	float:none;
	}

	#s5_columns_wrap_inner {
	width:100%;
	}

	#s5_center_column_wrap {
	width:100%;
	left:100%;
	}

	#s5_left_column_wrap {
	left:0%;
	}
	
	#s5_left_top_wrap, #s5_left_column_wrap, #s5_left_inset_wrap, #s5_left_wrap, #s5_left_bottom_wrap, #s5_right_top_wrap, #s5_right_column_wrap, #s5_right_inset_wrap, #s5_right_wrap, #s5_right_bottom_wrap, #s5_top_row1 .s5_float_left, #s5_top_row2 .s5_float_left, #s5_top_row3 .s5_float_left, #s5_above_columns_inner .s5_float_left, #s5_middle_top .s5_float_left , #s5_middle_bottom .s5_float_left, #s5_below_columns_inner .s5_float_left, #s5_bottom_row1 .s5_float_left, #s5_bottom_row2, .s5_float_left, #s5_bottom_row3 .s5_float_left, #s5_above_body .s5_float_left, #s5_below_body .s5_float_left {
	width:100% !important;
	}
	
	#s5_center_column_wrap_inner {
	margin:0px !important;
	}
	
	#s5_left_column_wrap {
	margin-right:0px !important;
	}
	
	#s5_right_column_wrap {
	margin-left:0px !important;
	}
	
	.items-row .item {
	width:100% !important;
	padding-left:0px !important;
	padding-right:0px !important;
	margin-right:0px !important;
	margin-left:0px !important;
	}
	
	/* CUSTOM
	----------------- */
	
	#s5_top_menu li a {
	padding-left:7px;
	padding-top:10px;
	}
	
	#s5_logo_wrap {
	width:100%;
	}
	
	#s5_header_area_inner {
	padding:0px;
	}
	
	#s5_header_area1 {
	padding:22px;
	}
	
	#s5_header_right {
	/*float:none;*/
		}
	#header_banner {
	float:none;
	margin-bottom: 0px;
	margin-left: 0px;
		}	
	#s5_logo_wrap {
	float:none;
	}
	
	#s5_logo {
	margin-bottom:5px;
	}
	
	#s5_top_row1_area1 {
	padding-left:4px;
	padding-right:4px;
	}

	#headerbanner{
	background:url(/images/phone.png) no-repeat;
	z-index: 1;
	width:200px;
	height:64px;
	margin-bottom:0px;
	margin-left:0px;
	/*background-position:left center;*/
	}
	.btn-primary, .pager a {
    background: #DD2D2F!important;
	/*width:45px;*/
	}
	.product-filter .limit {
	padding-top:3px;
    margin-left: 0px;
    float: left;
	}
	.product-filter .sort {
    float: left;
	}
	
	.product-grid .image img {
    padding: 0px;
    border: 0px solid #E7E7E7;
	}
}
@media screen and (max-width: 300px){
.product-grid{

margin-left:25px;
}
.name, .price, .cart{
text-align:center;
}
.product-info > .left {
    float: none;
    width: 100% !important;
	padding-top:3px;
}
.breadcrumb_oc {
    display:none;
}
.product-info > .right {
    float: none;
    width: 100% !important; */
}
.box_oc .box-content{
padding:0px!important;
}
.checkout-heading a {
    
    margin-top: 5px;
    
}

}

/* CUSTOM SIZES
----------------------------------------------------------- */



/* IMAGE AND CONTENT FADER
----------------------------------------------------------- */
.jdGallery .slideInfoZone h2{
	font-size: 5.4em !important;
}


@media screen and (max-width: 1240px){
	.jdGallery .slideInfoZone h2{
	font-size: 4.4em !important;
	}
}

@media screen and (max-width: 1080px){
	.jdGallery .slideInfoZone h2{
	font-size: 3.4em !important;
	}
}

@media screen and (max-width: 1000px){
	.jdGallery .slideInfoZone h2 {
	font-size: 2.8em !important;
	}
	.jdGallery .slideInfoZone p {
	font-size:0.85em;
	}
}

@media screen and (max-width: 840px){
	.jdGallery .slideInfoZone h2 {
	font-size: 2.3em !important;
	}
	.jdGallery .slideInfoZone h2 br {
	display:none !important;
	}
}

@media screen and (max-width: 750px){
	.jdGallery .slideInfoZone h2{
	display:none;
	}
	.jdGallery a.right, .jdGallery a.left {
	filter:alpha(opacity=0);
	-moz-opacity:0;
	-khtml-opacity: 0;
	opacity: 0;
	}
}




/* VERTICAL ACCORDION
----------------------------------------------------------- */

@media screen and (min-width:580px) and (max-width: 970px){
	.s5_va_element .padded {
	width:40%;
	}
	.s5_va_element {
	font-size:0.85em;
	}
}

@media screen and (max-width: 579px){
	.s5_va_element .padded {
	width:37%;
	}
}



/* S5 BOX
----------------------------------------------------------- */

@media screen and (max-width: 970px){

	#colorbox {
	width:50% !important;
	height:auto !important;
	}
	
	#cboxWrapper {
	width:100% !important;
	}
	
	#cboxContent, #cboxLoadedContent {
	width:100% !important;
	height:auto !important;
	}
	
	#colorbox {
	left:25% !important;
	width:50% !important;
	height:100% !important;
	top:25% !important;
	}
	
}

@media screen and (max-width: 750px){

	#cboxOverlay, #colorbox {
	display:none !important;
	}
	
}



/* SINGLE COLUMN FOR SMALL TABLETS - THIS IS ONLY USED FOR IE7 AND IE8. THE CLASS IS SET WITH JAVASCRIPT FOR IE ONLY
----------------------------------------------------------- */

@media screen and (max-width: 750px){
	
	.s5_ie_single_column #s5_right_column_wrap_inner .s5_float_left, .s5_ie_single_column #s5_left_column_wrap_inner .s5_float_left {
	float:none  !important;
	}

	.s5_ie_single_column #s5_columns_wrap_inner {
	width:100%  !important;
	}

	.s5_ie_single_column #s5_center_column_wrap {
	width:100%  !important;
	left:100%  !important;
	}

	.s5_ie_single_column #s5_left_column_wrap {
	left:0%  !important;
	}
	
	.s5_ie_single_column #s5_left_top_wrap, .s5_ie_single_column #s5_left_column_wrap, .s5_ie_single_column #s5_left_inset_wrap, .s5_ie_single_column #s5_left_wrap, .s5_ie_single_column #s5_left_bottom_wrap, .s5_ie_single_column #s5_right_top_wrap, .s5_ie_single_column #s5_right_column_wrap, .s5_ie_single_column #s5_right_inset_wrap, .s5_ie_single_column #s5_right_wrap, .s5_ie_single_column #s5_right_bottom_wrap {
	width:100% !important;
	}
	
	.s5_ie_single_column #s5_center_column_wrap_inner {
	margin:0px !important;
	}
	
	.s5_ie_single_column #s5_left_column_wrap {
	margin-right:0px !important;
	}
	
	.s5_ie_single_column #s5_right_column_wrap {
	margin-left:0px !important;
	}
	
	.s5_ie_single_column  .items-row .item {
	width:100% !important;
	padding-left:0px !important;
	padding-right:0px !important;
	margin-right:0px !important;
	margin-left:0px !important;
	}
}