/*  
Theme Name: Clearshop
Version: 1.2.2
Description: Responsive and clean template for OpenCart (Media Queries)
Theme URI: http://www.everthemes.com/demo/clearshop
Author: Luis V
Author URI: http://themeforest.net/user/luisvelaz
Tags: Clearshop, opencart, everthemes
*/


/*	THEME SPECIFIC MEDIA QUERIES
---------------------------------------------------------------------- */

	/* Desktop standard 960 and up */
	@media only screen and (min-width: 980px) {
		
		#footer ul.content { display: block !important; }

	}


	/* Smaller than standard 960 */
	@media only screen and (max-width: 979px) {

		body { padding: 0; }

		#header > .container, #outernav,
		#maintop-container, .product-details, .content-bottom,
		#footerpre, #footer, #footend {
			 
		} 

		/* Header */

			#logo { max-height: 100%; }

			
		/* Content */

			#content.sideleft,
			#content.middle,
			#content.sideright { padding: 0; } 

			.product-info .layout-1 .leftcol { padding-right: 0; }

			.layout-2 .detailscol .tags,
			.layout-2 .detailscol .share { display: none; }

			.layout-2 .cartcol .tags,
			.layout-2 .cartcol .share { display: block; }

			#content .form { width: 100% !important; }

		

	}



	/* Tablet Portrait size to standard 980*/
	@media only screen and (min-width: 768px) and (max-width: 979px) {

		/* Header */

			.product-info .layout-1 .leftcol,
			.product-info .layout-1 .rightcol {
				width:50%;
				*width:50%;
			}

			.product-info .layout-2 .detailscol,
			.product-info .layout-2 .cartcol {
				width: 100%;
				clear: both;
				margin-left: 0;
			}

		/* Shopping Cart */

			#total-cart .buttons { text-align: center; }
			#total-cart .buttons a { float: none; }
			#total-cart #checkout {
				display: block;
				margin: 0 15%;
			}

		/* Grid */

			#content.col-md-9 .cols-4 .grid-box,
			.content-top .grid-box {
				width: 33.3%;
			}
			#content.col-md-12 .cols-4 .grid-box { width:24.9%; }

		/* Footer */

			#footer ul.content { display: block !important; }

	}

	

	/* All Mobile Sizes */
	@media only screen and (max-width: 767px) {


		/* Header */

			#header, #outernav { border: 0; }

			.navbar {
				border: 1px solid #ddd;
				border-width: 1px 0;
			}
			.leftlogo #logo,
			.top_options,
			#header .info,
			.page-header,
			.leftbox,
			.stock,
			.top_options {
				text-align: center;
			}

			#loginContainer { float: none; }

			#welcome {
				float: none;
			}
			.centerlogo #logo {margin: 8px auto;}

			#header .rightbox {
				text-align: center;
			}

			#wrapselector {
				display: inline-block;
			}
			.rightbox #top-links {
				display: inline-block !important;
			}

		/* Search */

			.middlebox {
				position: absolute;
				right: 15px;
				bottom: -60px;
				width: 75%;
				text-align: right;
				z-index: 9999;
			}
			.info { display: none; }
			.navbar .navcontainer .searchouter {
				max-width: 75%;
				margin-top: 8px;
			}
			.centerlogo #search {
				max-width: inherit;
				margin: 5px auto 15px;
			}


		/* Main content */

			#content { margin: 0 !important; }
				#content.col-md-9.home {
					margin-left: 0;
					width: 100% !important;
				}

			.mainborder {padding: 5px 0 !important; border:0 !important; }
			
			#toggle_sidebar {display: none;}

			.breadcrumb { padding-top: 14px; }

			.heading h1 {
				font-size: 1.8em;
				line-height: 1.42em;
			}

		/* Flexslider */

			.flex-caption  {
				position: relative;
				text-align: center;
				padding-bottom:38px;
			}
			.flex-control-nav {
				width: 100%;
				right: 0;
			}

			.product-slider .flex-direction-nav { display: none; }

			#content.col-md-9 .slideshow { margin: 0 -10px; }

		/* Camera slider */
		
			.camera_wrap { margin-bottom: 32px !important; }
			.camera_pag { margin-top: -2px; }
			.camera_wrap .camera_pag ul.camera_pag_ul { text-align: center; }


		/* Mobile menu */

			#mobileMenuWrap {
				display: block;
				text-align: center;
				border: 1px solid #CCC;
				background: #EEE;
				padding: 6px 8px;
			}
			#mobileMenu {
				width: 100%;
				max-width: 700px;
				padding: 4px 8px;
				margin: 0;
			}
			.navbar-inside {
				background: none;
				border:0;
				border-bottom: 4px solid #000;
			}
				.navbar-default .navbar-collapse {
					background: #fff;
					border: 1px solid #ddd;
				}
			.navbar-collapse .dropdown-menu {
				display: block; 
				float: none;
				position: relative;
				overflow: hidden;
				-webkit-box-shadow: none;
				box-shadow: none;
				width: 100%;
			}
			.navbar-collapse .dropdown-menu .column-item {
				float: none;
				width: 100%;
			}
			.navbar-collapse {
				padding: 0 15px;
			}
			.navbar-collapse li { border-top: 1px solid #eee;}
			.navbar-collapse li:first-child { border: 0; }
			.navbar .nav { display: block; padding: 0 10px;}

			.navbar .nav > li > a {
				margin: 0;
				border: 0;
			}
			.navbar .nav > li:first-child > a { padding-left: 9px; }
			.navbar .dropdown-menu > li.column-menu {	
				display: block;
				float: none;
				border-right:0;
			}
			.navbar li.dropdown-submenu > .thirdmenu {left: 0 !important; border-width: 1px 0 0;}
			.navbar-collapse .brands .image {
				display: none !important;
			}
			.brands .column-item.logoname .name {
				display: block !important;
				font-size: inherit !important;
				text-transform: none !important;
				text-align: left !important;
				color: inherit;
			}
			.brands .column-item.logoname > a:hover, 
			.brands .column-item.logoname > a:focus,
			.brands .column-item.logo > a:hover, 
			.brands .column-item.logo > a:focus {
				background-color: #2e2e2e;
				color: #fff;
			}
			.navbar-fixed-top {
				position: relative;
				box-shadow: none;
				padding-top: 8px;
			}
			.navbar-fixed-top .navbar-brand,
			.navbar-fixed-top #cart {
				display: none !important;
			}
		
		/* Minicart */

			#cart { 
				text-align: center;
				margin-right: 16px;
				float: none;
			}
			#cart .dropdown-menu-right {
				left: -60%;
				right: auto;
			}

		
		/* Shopping Cart */

			.cart-inner,
			.cart-module > div {
				border: 0;
				padding: 0;
			}

		/* Checkout */

			.checkout_steps.active .checkout-heading {
				font-size: 20px;
				padding: 34px 10px 10px 6%;

			}

		
		/* Grid view */

			.grid-box {
				display: inline-block !important;
				width: 49% !important;
			}
			.quickview { display: none !important; }

			.buttons { margin:0; }

		/* List view */

			.product-list .name,
			.product-list .description,
			.product-list .price,
			.product-list .cart,
			.product-list .compare,
			.product-list .wishlist {
				text-align: center;
			}

		/* Product */

			.product-info .price,
			.product-info .review,
			.product-info .share,
			.product-info .tags,
			.product-info .description,
			.product-info .links,
			.product-info .cart {
				text-align: center;
			}

			#full-info .tab-content img {
				max-width: 100%;
				height: auto!important;
			}

			.mousetrap { max-width: 100%; }
			#cloud-zoom-big {
				max-width: 100%;
				left:0 !important;
			}
			#zoom-image { display: none; }

			.accordion-heading .accordion-toggle { font-weight: bold; }

			#add-review {
				border: 0;
				padding: 0;
			}

			.layout-3 .cartcol .cart {
				width: auto;
			}

		/* Other lists
		-------------------------------------------------- */

		.list-actions {
			text-align: center;
			padding-bottom: 10px;
		}
			.info-inner img {
				max-width: 100%;
				height: auto!important;
			}

		/*	Footer links
		-------------------------------------------------- */

			#company .contact .inner { padding-left: 0; }
			#company .follow-us { text-align: center; }

			#footer .column { margin-bottom:-1px; }

			#footer h3.header {
				font-size: 14px;
				font-weight: bold;
				text-align: center;
				border: 1px solid #CCC;
				padding: 8px;
				margin: 0;
				cursor: pointer;
				}
				#footer h3.header:hover,
				#footer h3.header:active,
				#footer h3.header.active {
					outline: 0;
					background: #f2f2f2;
				}
				#footer h3.header:after {
					content: "\f0d7";
					font-size: 14px;
					display: inline-block;
					font-family: 'FontAwesome';
					margin-right: 10px;
					float: right;
					color: #999;
				}
				#footer h3.header.active:after {
					content: "\f0d8";
				}
				#footer ul.content { 
					background: #FFF; 
					border: 1px solid #CCC; 
					border-width: 0 1px;
					display: none; 
				}
					#footer ul li a { border-bottom:1px solid #DDD; padding: 8px 12px; 
						font-size:14px; display: block; }

					#footer ul li a:hover, 
					#footer ul li a:active { 
						background-color: #f2f2f2; 
						text-decoration:none; 
					}
					#footerlinks li a {
						font-size:1em;
						font-weight:bold;
						line-height: 1.9em;
					}
					#footer .contact {
						text-align: center;
						margin-top: 14px;
					}
				#footer .social, #footer .info {
					text-align: center;
					margin-top: 20px;
				}

			#footend { border: 0; }
			#footend .container { border-top: 1px solid #ddd; }


		/* Other lists
		-------------------------------------------------- */

		#toTop { display: none !important; }

	}

	/* Mobile Landscape Size to Tablet Portrait */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
		

	}

	/* Mobile Portrait Size to Mobile Landscape Size */
	@media only screen and (max-width: 479px) {

		.product-filter .options,
		.product-filter .list-options {
			float: none;
			text-align: center;
			margin-bottom: 6px;
		}
		.product-filter .options > div {
			display: inline-block;
			float: none;
		}

		.pagination .results { display: none; }


		/* Shopping Cart */

			#cart-info .image,
			#cart-info .price,
			#cart-info .headings {
				display: none;
			}
			#total-cart table {
				float: none;
				margin: 0 auto;
			}
			#total-cart .buttons {
				text-align: center;
				margin-bottom: 14px;
			}
			#total-cart .buttons a { float: none; }
			#total-cart .cart { 
				float: none; 
				clear: both; 
				display: block;
			}
			#total-cart #checkout {
				display: block;
				margin: 0 15%;
			}
			#total-cart #button-checkout {
				width: 80%;
				padding: 16px 0;
			}
			.checkout-heading { padding: 20px 0 20px 6px; }

			.checkout-confirm table .price { display:none; }


		/* Order Detail */

			.confirmation td { padding: 2px; }

				.confirmation thead td { font-size: 11px; }

			.table-adjust td {
				padding: 2px;
				font-size: 11px;
			}

		/* Information pages */

			#content .info-inner { padding:20px; }

		/* Product comparison */

			.nav-container .pager { display: block; }

			#compare-wrapper {
			    width:100%;
			    overflow:hidden;
			}

		/* Tabs */

			.htabs {
				height: auto;
				border: 0;
			}
			.htabs a,
			.htabs a.selected  {
				border: 1px solid #DDD;
				border-width: 1px 1px 0 1px;
				display: block !important;
				float: none;
			}
			.htabs a:after {
				content: "\f0d7";
				font-size: 13px;
				display: inline-block;
				font-family: 'FontAwesome';
				margin-left: 10px;
				float: right;
				color: #999;
			}
			.htabs a.selected:after {
				content: "\f0d8";
			}
			.htabs a:last-child { border-width: 1px; }
			.htabs a.selected { background: #f2f2f2; }

	}