/*  
Theme Name: Clearshop
Version: 1.3.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
---------------------------------------------------------------------- */
	
	@media (min-width: 992px) {

		/*	Main Navigation
		-------------------------------------------------- */
			.navbar .nav { text-align: center; float: none; border-top: 1px solid #ddd; }
			.navbar .nav > li {
				display: inline-block;
				float: none;
			}
			.navbar .nav > li > a {
				text-shadow:none;
				padding-top: 12px;
				padding-bottom: 12px;
				line-height: 32px;
				font-size: 15px;
				text-transform: uppercase;
				color: #000;
				cursor: pointer;
				-webkit-backface-visibility: hidden;
				-moz-backface-visibility: hidden;
				-ms-backface-visibility: hidden;
				z-index: 999;
			}
			.navbar .nav > li > a i { margin-right: 6px; }

				.navbar .nav li.dropdown:hover > ul.dropdown-menu{
					display: block;
					z-index: 998; 
			}
			
			.navbar .dropdown-menu {
				margin-top: 0px;
				-webkit-border-radius: 0;
				-moz-border-radius: 0;
				border-radius: 0;
				border-color:#ccc;
				text-align: left;
			}
			.navbar .nav >li:hover > a:before {
			  position: absolute;
			  bottom: 0px;
			  left: 40%;
			  display: inline-block;
			  border-right: 7px solid transparent;
			  border-bottom: 7px solid #ccc;
			  border-left: 7px solid transparent;
			  border-bottom-color: #ccc;
			  content: '';
			}

			.navbar .nav >li:hover > a:after {
			  position: absolute;
			  bottom: -1px;
			  left: 40%;
			  margin-left: 1px;
			  display: inline-block;
			  border-right: 6px solid transparent;
			  border-bottom: 6px solid #fff;
			  border-left: 6px solid transparent;
			  content: '';
			}
			.navbar .nav >li.dropdown:hover > a:after,
			.ribbon_skin .navbar .nav >li:hover > a:after {
				border-bottom-color: #fff;
			}
			.navbar-fixed-top.navbar .nav { border: 0; text-align: left; float: left; }
			.navbar-fixed-top.navbar .nav >li:hover > a:before,
			.navbar-fixed-top.navbar .nav >li:hover > a:after { display: none; }

			.navbar-fixed-top.navbar .nav >li.dropdown:hover > a:before,
			.navbar-fixed-top.navbar .nav >li.dropdown:hover > a:after { display: block; }

			.dropdown-menu li > a {
				display:block;
				padding:3px 20px;
				clear:both;
				font-weight:normal;
				line-height:20px;
				color: #333333;
				white-space:nowrap;
			}
			.navbar li.dropdown-submenu {
				position: relative;
			}
			.navbar li.dropdown-submenu > a:before {
				font-family: 'FontAwesome';
				content: "\f0da";
				float: right;
				color: rgba(0,0,0,0.3);
			}
			.navbar li.dropdown-submenu:hover > .thirdmenu {
				display: block;
				left: 100%;
				top: 0;
			}
			.fullwidth .nav >li .thirdmenu {
				display: block;
				padding: 0 0 0 20px;
				border: 0;
			}
			.navbar .fullwidth li.dropdown-submenu:hover > .thirdmenu {
				left: auto;
				top: auto;
			}
				.navbar .dropdown-menu > li.column-menu {
					display: table-cell;
					border-right: 1px solid #eee;
					vertical-align: top;
				}
				.navbar .dropdown-menu > li.column-menu:last-child {
					border-right: 0;
				}
				.navbar .dropdown-menu > li.column-menu ul {
					padding-left: 0;
				}
				.navbar .dropdown-menu > li.column-menu ul li {
					list-style: none;
				}

			
			/*Home*/
			.home-icon span,
			.home-text i.fa,
			.home-hidden { display: none !important; }

			/* Columns: Categories, Brands, Custom Blocks */

			.dropdown-menu.cols-1 { min-width: 260px; }
			.dropdown-menu.cols-2 { min-width: 380px; }
			.dropdown-menu.cols-3 { min-width: 510px; }
			.dropdown-menu.cols-4 { min-width: 650px; }
			.dropdown-menu.cols-5 { min-width: 800px; }
			.dropdown-menu.cols-6 { min-width: 960px; }

			.dropdown-menu  ul.childcats { 
				padding:4px;
			}

			.dropdown-menu  ul.childcats li {
				list-style: none; 
			}
			.dropdown-menu  ul.childcats li a {
				font-size: 11px;
				color: #777;
			}

			.dropdown-menu .column-item {
				float: left;
				padding: 4px 8px;
			}
			.dropdown-menu .column-item a { text-decoration: none !important; display: block; }

			.dropdown-menu.cols-1 .column-item { width: 100%; }
			.dropdown-menu.cols-2 .column-item { width: 50%; }
			.dropdown-menu.cols-3 .column-item { width: 33.3%; }
			.dropdown-menu.cols-4 .column-item { width: 25%; }
			.dropdown-menu.cols-5 .column-item { width: 20%; }
			.dropdown-menu.cols-6 .column-item { width: 16.6%; }

			.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: transparent;
				color:#333;
			}
			.brands .column-item.logoname .name {
				display: block;
				text-transform: uppercase;
				text-align: center;
				font-size: 10px;
				margin-top: 3px;
				color:#999;
			}
			.brands .column-item .image { text-align: center; display: block;}
			.brands .column-item.logo .name { display: none; }
			.brands .column-item.name .image { display: none; }

			.column-item .maincat {
				text-transform: uppercase;
				margin-bottom: 4px;
				display: block;
			}
			.column-item .maincat a { color: #999; }
			.column-item .maincat a:hover { color: #333; }

			.column-item ul { list-style: none; padding-left: 0}

			.column-item ul li a {
				padding: 3px 9px;
				display: block;
			}

			.block-contents .dropdown-menu { max-width: 600px; white-space: normal; }

			.navbar .label {
				font-size: 8px;
				letter-spacing: 1px;
				font-weight: normal;
				vertical-align: top;
			}
			.navbar-inside .navbar-collapse.fullwidth { background: #f9f9f9;}

			.fullwidth .nav >li { position: inherit; }
			/*.fullwidth .nav >li > a {
				z-index: 1111;
			}*/

			.fullwidth .nav li.dropdown ul.dropdown-menu {
				width: 100%;
				max-width: 100%;
				border-width: 1px 0;
				margin-left: auto !important;
			}
			.navbar-outside .fullwidth .nav li.dropdown ul.dropdown-menu {
				border-width: 1px;
			}
			.adjusted .nav li.dropdown .container {width: auto; padding: 0;}

			.navbar-header .navbar-brand,
			.navbar-nav.navbar-right #cart,
			.navbar-fixed-top .searchouter,
			.navbar-fixed-top .nav .home{
				display: none;
			}
			.navbar.navbar-fixed-top .nav > li > a {padding-top: 4px; padding-bottom: 8px;}

			.navbar .navcontainer .searchouter {
				max-width: 200px;
				margin-top: 10px;
				float: right;
				position: relative;
				z-index: 99;
			}
			.navbar-fixed-bottom .navbar-collapse,
			.navbar-fixed-top .navbar-collapse {
				max-height: none;
			}
			.navbar-fixed-top {
				background: #fff;
				box-shadow: 0 0 10px rgba(0,0,0,0.3);
				border-bottom: 1px solid #bbb;
				padding-top: 8px;
				margin-top: 0;
				padding-bottom: 0;
			}
			.navbar-fixed-top .navbar-collapse.fullwidth { background: transparent;}
			.navbar-fixed-top.navbar-inside .fullwidth .nav >li > a {
				border-top-width: 1px;
				padding-bottom: 14px;
			}
		
			.navbar-fixed-top .navbar-brand {
				display: block;
				padding: 0 15px;
				height: 38px;
				width: auto;
				position: relative;
				z-index: 999;
			}
			.navbar-fixed-top .navbar-nav.navbar-right,
			.navbar-fixed-top #cart {
				display: block !important;
			}
			.navbar-fixed-top .navbar-brand img {
				max-height: 38px;
			}

	}

	@media (max-width: 991px) {

		.container>.navbar-header, .container-fluid>.navbar-header, .container>.navbar-collapse, .container-fluid>.navbar-collapse {
			margin-right: 0;
			margin-left: 0;
		}

		.navbar .navcontainer .searchouter {
		   margin: 0 0 0.6em 0;
		   max-width: 45%;
		}

		/* Mobile menu */

			.btn-menu {
				background: #fff;
				color: #333;
				border: 1px solid #ccc;
			}
			#wrapselector .btn-group > .btn, 
			#wrapselector .dropdown-menu li>a,
			#top-links .list-inline > li > a {
				font-size: 16px;
			}
			.canvas-slid {position: fixed !important;}
			#mobmenu.navbar {
				background: #f8f8f8;
			}
			#mobmenu .navbar-nav {
				float: none;
			}
			#mobmenu .nav>li{
				border-bottom: 1px solid #eee;
				border-color: rgba(0,0,0,0.08);
				float: none;
			}
			#mobmenu .nav>li a {color: #333;}
			#mobmenu .nav>li>a{
				font-weight: bold;
				font-size: 1.32em;
			}
			#mobmenu .navbar-nav .open .dropdown-menu {
				background: #fff;
			}
			#mobmenu li.dropdown > a + a.dropdown-toggle {
				position: absolute;
				top: 0;
				right: 0;
			}
			#mobmenu li.dropdown > a.dropdown-toggle .caret {
				float: right;
				border: 0;
				display: block;
				width: 20px;
				height: 20px;
				text-align: center;
				border-left: 1px solid #eee;
				border-color: rgba(0,0,0,0.05);
				padding-left: 10px;
			}
			#mobmenu a.dropdown-toggle .caret:before {
				font-family: "FontAwesome";
				content: "\f0d7";
				font-size: 16px;
				color: rgba(0,0,0,0.5);
			}
			#mobmenu li.dropdown.open > a.dropdown-toggle .caret:before {
				content: "\f0d8";
				color: rgba(0,0,0,0.8);
			} 
			#mobmenu li.dropdown.open > a:first-child {
				border-bottom: 1px solid #ddd;
			}
			#mobmenu li.dropdown.open > a:first-child:before {
			  position: absolute;
			  bottom: 0px;
			  left: 15%;
			  display: inline-block;
			  border-right: 7px solid transparent;
			  border-bottom: 7px solid #ccc;
			  border-left: 7px solid transparent;
			  border-bottom-color: #ccc;
			  content: '';
			}
			#mobmenu li.dropdown.open > a:first-child:after {
			  position: absolute;
			  bottom: -1px;
			  left: 15%;
			  margin-left: 1px;
			  display: inline-block;
			  border-right: 6px solid transparent;
			  border-bottom: 6px solid #fff;
			  border-left: 6px solid transparent;
			  content: '';
			}

			#mobmenu .thirdmenu {
				display: block;
				padding-left: 20px;
			}

	}

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

	}


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

		body { padding: 0; }

		/* Header */

			#logo { max-height: 100%; }

			
		/* Content */

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

			.layout-2 .detailscol .tags,
			.layout-2 .detailscol .share,
			#header .navbar-header .navbar-brand { 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-page .layout-1 .leftcol,
			.product-page .layout-1 .rightcol {
				width:50%;
				*width:50%;
			}

			.product-page .layout-2 .detailscol,
			.product-page .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; }

			#maintop-container .prevnext.compact {margin-top: 20px;}
			.prevnext.compact .pager {float: none; text-align: center;}

			.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;
				padding: 0.6em 0;
			}

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

			/*button menu*/

			.rightbox button.btn.btn-menu.visible-xs {
    		display: inline-block !important;
    		margin-right: 10px;
			}

			/* Search */

			.middlebox {
				position: absolute;
				right: 15px;
				bottom: -60px;
				width: 75%;
				text-align: right;
				z-index: 9999;
			}
			.info { display: none; }
			#header .navbar .navcontainer .searchouter {
				margin: 0;
				max-width: 100%;
				width: 100%;
				padding: 0.8em 0;
			}
			#search { width: 100%; }
			.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 { display: none; }

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

		
		/* Shopping Cart */
			
			#cart-module  { border: 0; padding: 1em; }

		/* 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-page .price,
			.product-page .review,
			.product-page .share,
			.product-page .tags,
			.product-page .description,
			.product-page .links,
			.product-page .cart {
				text-align: center;
			}

			.product-details .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;
			}

			.product-thumb .cart .btn,
			.product-slider .item .cart .btn,
			.product-thumb .links,
			.product-slider .item .links {
				opacity: 1 !important;
				-moz-opacity: 1 !important;
				filter: alpha(opacity=100) !important;
			}

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

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

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

		#footer { 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;
			}

	}