/*  
Theme Name: Sellegance
Version: 1.7.0 / 2.3.0.2, 3.0.2.0
Description: Responsive styles
Theme URI: http://www.everthemes.com/demo/sellegance
Author: Luis V
Author URI: http://themeforest.net/user/luisvelaz
Tags: sellegance, opencart, everthemes
*/



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

	@media (min-width: 992px) {
		/*	Main Navigation
	-------------------------------------------------- */

		.navbar { 
			background: transparent;
			border:0;
			border-radius: 0;
			margin: 0; 
			padding: 0;
			min-height: 0;
		}
		.navbar-inside {
			border: 1px solid #CCC;
			border-top: 4px solid #000;
			background: #fff;
		}
		.navbar-outside {
			border: 0;
			border-bottom: 4px solid #000;
		}

		.navbar-outside.navbar-default .navbar-nav>.active>a, 
		.navbar-outside.navbar-default .navbar-nav>.active>a:hover, 
		.navbar-outside.navbar-default .navbar-nav>.active>a:focus {
			background: none;
			color: #D14836;
		}
			.navbar-collapse {
				max-height: none;
				padding: 0;
				position: relative;
				text-align: center;
			}
			.navbar-toggle {
				float: left;
				background: #fff;
			}
			.navbar-default .navbar-toggle .icon-bar {
				background-color: #777;
			}
			ul.navbar-nav { float: left; display: inline-block; vertical-align: bottom; }
			.navbar .nav > li > a {
				text-shadow:none;
				font-size: 1.1em;
				color: #222;
				cursor: pointer;
				-webkit-backface-visibility: hidden;
				-moz-backface-visibility:    hidden;
				-ms-backface-visibility:     hidden;
			}
			.navbar-default .navbar-nav>.open>a,
			.navbar-default .navbar-nav>.open>a:focus,
			.navbar-default .navbar-nav>.open>a:hover { background-color: transparent; }
			
			#menu .nav > li > a>.caret {display: none; }
			
			.navbar .nav li.dropdown:hover > ul.dropdown-menu { display: block; }
			.navbar .dropdown-menu {
				margin-top: 0px;
				border: 1px solid #ccc;
				border-top: 0;
				text-align: left;
				border-radius: 0;
				box-shadow: none;
			}
			.navbar .dropdown-menu .image {
				text-align: center;
			}
			.navbar .dropdown-menu li>a {
				display: block;
				padding: 3px 20px;
				clear: both;
				min-width: 160px;
				font-weight: normal;
				line-height: 20px;
				color: #777;
				font-size: 0.9em;
			}
			.navbar ul.dropdown-menu li.viewall > a {
				margin-top: 5px;
				color: #333;
			}
			.navbar .dropdown-menu li>a:hover,
			.navbar .dropdown-menu li>a:focus,
			.navbar .dropdown-submenu:hover>a {
				background: transparent;
				color: #222;
			}
			.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;
				border-top: 1px solid #ddd;
			}
			.fullwidth .nav >li .thirdmenu,
			.fullwidth .nav >li .childcats {
				display: block;
				padding: 0 0 0 20px;
				border: 0;
				-webkit-box-shadow: none;
				box-shadow: none;
				position: relative;
			}
			.navbar .fullwidth li.dropdown-submenu:hover > .thirdmenu {
				left: auto;
				top: auto;
			}
				.navbar .dropdown-menu ul.column-menu {
					display: table-cell;
					border-right: 1px solid #eee;
					vertical-align: top;
				}
				.navbar .dropdown-menu ul.column-menu:last-child {
					border-right: 0;
				}
				.navbar .dropdown-menu ul.column-menu ul {
					padding-left: 0;
				}
				.navbar .dropdown-menu ul.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 */

			ul[class*='cols-'].dropdown-menu { padding: 8px 10px; }

			.dropdown-menu.cols-1 { width: 220px; }
			.dropdown-menu.cols-2 { width: 380px; }
			.dropdown-menu.cols-3 { width: 540px; }
			.dropdown-menu.cols-4 { width: 700px; }
			.dropdown-menu.cols-5 { width: 760px; }
			.dropdown-menu.cols-6 { width: 880px; }

			.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;
			}
			.menu_block .dropdown-menu { min-width: 300px; }
			.menu_block .dropdown-menu > li { padding: 12px 20px; }
			.menu_block .dropdown-menu ul { padding-left: 15px; }

			.dropdown-menu > .column-item {
				float: left;
				padding-right: 10px;
			}
			.dropdown-menu > .column-item {
				padding: 4px 8px;
			}

			.dropdown-menu > .column-item li > a { 
				text-decoration: none !important; 
				display: block; 
				padding: 3px 10px; 
			}

			.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: #222;
			}
			.brands .column-item.logoname .name {
				display: block;
				text-align: center;
				margin-top: 3px;
			}
			.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 {
				border-bottom: 1px solid #eee;
				margin-bottom: 4px;
				display: block;
				padding: 3px 10px;
			}
			.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;
			}
			.fullwidth .nav >li { position: inherit; }
			.fullwidth .nav >li > a {
				z-index: 1111;
				margin-bottom: -1px;
				border: 1px solid transparent;
				border-width: 1px 1px 0;
			}
			.navbar-light #menu .fullwidth .nav > li > a {
				border-top: 0;
			}
			.navbar-light #menu .navbar-fixed-top .fullwidth .nav > li > a {
				border-top:1px solid transparent; 
			}
			.fullwidth .nav >
			li:hover > a {
				border-color: #ccc;
				background: #fff;
			}
			.navbar-dark #menu .fullwidth .nav > li:hover > a  {
				color: #000;
			}
			.fullwidth .nav li.dropdown ul.dropdown-menu {
				width: 100%;
				max-width: 100%;
				margin-left: auto !important;
			}
			.navbar-dark #menu .fullwidth .nav li.dropdown ul.dropdown-menu { border-color: #222; }
			.navbar-dark #menu .dropdown-menu { border-color: #666; }

			.navbar-header .navbar-brand,
			.navbar-nav.navbar-right,
			.navbar-fixed-top .nav .home{
				display: none;
			}
			.navbar-fixed-bottom .navbar-collapse,
			.navbar-fixed-top .navbar-collapse {
				max-height: none;
			}
			.navbar-fixed-top {
				background: #fff;
				border-bottom: 1px solid #ccc !important;
			}
			.navbar-fixed-top .navbar-nav {float: left;}
			.fullwidth_layout .navbar-transparent #menu .navbar-fixed-top,
			.fullwidth_layout .navbar-light #menu .navbar-fixed-top {
				background: #fff;
				border-bottom: 1px solid #ccc;	
			}

			.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 .fullwidth .nav li.dropdown ul.dropdown-menu {
				border: 1px solid #999;
			}
			.navbar-fixed-top .fullwidth .nav >li:hover > a { border-color: #999;}

			.navbar-fixed-top .navbar-brand {
				display: block;
				padding: 4px 15px 4px;
				width: auto;
				position: relative;
				z-index: 999;
			}
			.navbar-fixed-top .navbar-nav.navbar-right {
				display: block;
				min-width: 100px;
				text-align: right;
				padding-top: 5px;
				margin-right: 0;
			}
			.navbar-fixed-top .navbar-nav.navbar-right .search-area { right: 0; }
			.navbar-fixed-top .navbar-brand img {
				height: 100%;
				width: auto;
			}

			.searchbox-regular .search-area { display: block !important; }

	}

	/* Landscape iPad */

	@media only screen and (max-width: 1024px) {
	.product-thumb .cart .btn,
		.product-slider .item .cart .btn { 
			opacity: 1 !important;
			-moz-opacity: 1 !important;
			filter: alpha(opacity=100) !important;
		}
	}

	@media (max-width: 991px) {
#header .rightbox img {
    width: 100%;
}
		.btn-menu, 
		.btn-menu:active,
		.btn-menu.active {
			background: transparent;
			color: #333;
			box-shadow: none;
			font-size: 18px;
		}
		.topbar_inner {line-height: 30px;}
		
		.canvas-slid {position: fixed !important; width: 100%; }
		#mobmenu {width: 400px;}
		#mobmenu .navbar-nav,
		#mobmenu .nav>li { float: none;}
		#mobmenu .nav>li.open {background: #f6f6f6;}
		#mobmenu .nav>li a {color: #333;}
		#mobmenu .nav>li>a{
			font-size: 1.1em;
			background: transparent !important;
		}
		 
		#mobmenu .nav .column-menu a,
		#mobmenu.navbar-default .navbar-nav .open .dropdown-menu>li>a {
			color: #999;
			padding: 5px 15px 5px 25px;
		}
		#mobmenu.navbar-default .navbar-nav .open .dropdown-menu>li.viewall>a {
			color: #555;
		}
		#mobmenu li.dropdown > a + a.dropdown-toggle {
			position: absolute;
			top: 0;
			right: 0;
		}
		#mobmenu .dropdown-menu { border: 0; box-shadow: none; }

		#mobmenu .label {
	    font-size: 10px;
	    vertical-align: middle;
		}

		#mobmenu .browse-options {
			border-top: 1px solid #ddd; 
			padding: 5px 0;
			margin-bottom: 10px;
		}
		#mobmenu .browse-options .dropdown-menu {
			clear: both;
		}
		#mobmenu .browse-options form, 
		#mobmenu .browse-options .btn-group, 
		#mobmenu .browse-options .dropdown-toggle {
	    display: block;
	    width: 100%;
	    text-align: left;
	    font-size: 1em;
		}
		#mobmenu .browse-options .caret { float: right; }

		#mobmenu .browse-options .dropdown-toggle {
			font-size: 1.1em;
			text-decoration: none; 
		}
		#mobmenu .browse-options .dropdown-menu .btn {
			text-align: left;
			text-decoration: none;
		}
		#mobmenu .account-options {
			list-style-type: none;
			margin: 30px 0 5px 0;
			padding: 0;
			border-bottom: 1px solid #ddd;
		}
		#mobmenu .account-options.open {border: 0;}

		#mobmenu .account-options > li > a {
			display: block;
			line-height: 20px;
			color: #999;
			padding: 5px 15px 5px 25px;
		}

		
		.menu_block .dropdown-menu > li { padding: 12px 20px; }
		.menu_block .dropdown-menu ul { padding-left: 15px; }

		#mobmenu li.brands .image {display: none;}
		#mobmenu .dropdown > a.dropdown-toggle .caret,
		#mobmenu .dropdown > button.dropdown-toggle .caret {
			float: right;
			border: 0;
			display: block;
			width: 20px;
			height: 20px;
			text-align: center;
			padding-left: 10px;
		}
		#mobmenu a.dropdown-toggle .caret:before,
		#mobmenu button.dropdown-toggle .caret:before {
			font-family: "FontAwesome";
			content: "\f105";
			font-size: 16px;
		}
		#mobmenu .dropdown.open > a.dropdown-toggle .caret:before,
		#mobmenu .dropdown.open > button.dropdown-toggle .caret:before {
			content: "\f106";
		} 
		#mobmenu .thirdmenu {
			display: block;
			padding-left: 20px;
		}

		#mobmenu .social { text-align: center; display: block; }

		#mobmenu .social a { 
			font-size: 1.4em;
			opacity: 0.6;
			-moz-opacity: 0.6;
			filter:alpha(opacity=60);
			padding: 0.3em;
		}
		#mobmenu .social a:hover {
			text-decoration: none;
			opacity: 1;
			-moz-opacity: 1;
			filter:alpha(opacity=100);
		}


		#header .rightbox .hdr-buttons {
			border: 0;
			padding-left: 0;
			margin-left: 0;
		}

			/*	Search
			-------------------------------------------------- */

			.search-area {
		    position: relative;
		    width: 100%;
		    margin: 15px 0;
		    right: auto;
		    top: auto;
			}
			.searchbox-regular .search-area { display: none; right: 0; }
			.searchbox-regular .search-field .input-group-btn { display: none; }
			.searchbox-regular #search .input-group input[type='text'] { border-right-width: 1px; } 

			.searchbox-regular .search-trigger,
			.searchbox-regular .search-area-close { display: inline-block; }
		

	}

	/* Desktop standard 960 and up */
	@media only screen and (min-width: 980px) {

		/*	Header
		-------------------------------------------------- */
			#footer ul.content { display: block !important; }

	}
	
	/* Smaller than standard 960 */
	@media only screen and (max-width: 979px) {
			
		/*	Header
		-------------------------------------------------- */
			#logo { max-height: 100%; }


		/*	Content
		-------------------------------------------------- */

			.product-page .add_cart { float: none; }
			#closecart { display: block; }
			#links { display: none; }

	}

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

		/*	Shopping Cart
		-------------------------------------------------- */

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

		#content.span9.home { width: 527px !important; }
		.sideleft #content.span9.home { margin-left: 10px; }

		#content.span9 .cols-4 .grid-box,
		.content-top .grid-box {
			width: 33.3%;
		}
		#content.span12 .cols-4 .grid-box {
			width:24.9%;
		}

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

	}


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

		/*	Header
		-------------------------------------------------- */

			#header .centerlogo .rightbox {
				padding: 10px 0 0 0;
				margin-left: -10px;
				white-space: nowrap;
			}
			
			.centerlogo #logo { padding-left: 0; }

			.framed_layout #cart { top:15px;}

			.navbar .search-field,
			.navbar #cart {
				display: none;
			}
			.navbar-fixed-top {
				position: relative;
				box-shadow: none;
				border-bottom: 0;
				padding-top: 8px;
			}
			.navbar-fixed-top .navbar-brand {
				display: none;
			}

			
		/* Main content 
		-------------------------------------------------- */

			#content { margin: 0 !important; }

			.mainborder {
				border:0 !important;
				padding: 0 !important;
			}

			.page-header h1 {
				margin-bottom: 10px;
				font-size: 1.6em !important;
				text-align: center;
			}
			.page-header.title-top,
			.breadcrumb.nav-top,
			.prevnext.nav-top {
			  display: block !important;
			}
		
			
			#footer .container-inner { padding: 1em 0; }

		
		/*	Shopping Cart
		-------------------------------------------------- */

			.cart-inner { padding: 0; }

			#cart-info .image,
			#cart-info .price,
			#cart-info .model,
			#cart-info .headings {
				display: none;
			}

		
		/*	Grid view
		-------------------------------------------------- */

			.product-layout.product-grid {
				width: 49% !important;
			}
			.product-compare { display: none; }
			.product-thumb .cart, .product-slider .item .cart {
				border-top: 1px solid #ddd;
				opacity: 1;
				-moz-opacity: 1;
				filter: alpha(opacity=100);
			}

		/*	Product
		-------------------------------------------------- */
			
			.product-page #product { max-width: none; }
			.product-page .price,
			.product-page .cart,
			.product-page .review,
			.product-page .share,
			.product-page .tags,
			.product-page .links,
			.product-page .description,
			.product-page .stock {
				text-align: center;
			}
			.product-page .price-tax { float: none; line-height: 1.54em; }

			#full-info { padding: 0; }

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

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

			.product-page .image .protect {
			  top: 0;
			  right: 0;
			  bottom: 0;
			  left: 0;
			  position: absolute;
			  z-index: 999;
			  display: block;
			}
			.product-page .image .protect span {
			  background: rgba(0,0,0,0.4);
			  color: #fff;
			  padding: 1em;
			  display: block;
			  position: absolute;
			  bottom: 40%;
			  text-align: center;
			  width: 40%;
			  margin: 0 28%;
			  border-radius: 0.5em;
			}
			.product-page .image .cloud-zoom-close {
			  position:  absolute;
			  top: 0;
			  right: 0;
			  padding: 0.5em 0.8em;
			  font-size: 0.9em;
			  color: #fff;
			  background: rgba(0,0,0,0.7);
			  display: none;
			  z-index: 999;
			}
			

			#zoom-image { display: none; }

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

			.prevnext .pager { text-align: center;}

		/* 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 {
				padding: 8px;
				margin: 0;
				cursor: pointer;
			}
				#footer .column:first-child h3.header {
					border: 0;
				}
				#footer h3.header:hover,
				#footer h3.header:active,
				#footer h3.header.active {
					outline: 0;
				}
				#footer h3.header:after {
					content: "\f107";
					font-size: 14px;
					display: inline-block;
					font-family: 'FontAwesome';
					margin-left: 10px;
				}
				#footer ul.content { 
					border-width: 0 1px;
					display: none; 
					margin-bottom: 1em;
				}
					#footer ul li a { display: block; }
					#footer .bottom-row { text-align: center; }
					#footerlinks li a {
						font-size:1em;
						line-height: 1.9em;
					}
					#footer .contact {
						text-align: center;
						margin-top: 14px;
					}
				#footer .social,
				#footer .footer_info { text-align: center;}


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

		#toTop { display: none !important; }

	}

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

		#sidecart, #mobmenu { width: 99% !important }

		.subcat-btn { width: 100%; display: block; margin-bottom: 10px; }
		.category-list .subcat_thumb { width: 48%; }

		.product-list .product-thumb .image { max-width: 100px; }

		div.live-search { min-width: 0; }


		/*	Shopping Cart
		-------------------------------------------------- */


			#cart-info .quantity input[type="text"] {
				display: inline-block;
			}

			#cart-info .tag { 
				display: inline; 
				margin-right: 5px; 
				color: #777; 
				font-weight:normal;
			}

			#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%;
			}
			.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-compare {
				display: inline-block !important;
				margin: 0 0 10px;
				padding:0 0 5px;
				overflow: hidden;
			}

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

		/*	Tabs
		-------------------------------------------------- */

			#full-info .nav-tabs {border: 0;}
			#full-info .nav-tabs>li {
				height: auto;
				float: none;
			}
			#full-info .nav-tabs>li a {
				display: block !important;
				border: 0;
				font-size: 1.15em;
			}
			#full-info .nav-tabs>li a:after {
				content: "\f0d7";
				font-size: 12px;
				display: inline-block;
				font-family: 'FontAwesome';
				margin-left: 10px;
				color: #999;
			}
			#full-info .nav-tabs>li.active a {
				border: 1px solid #DDD;
			}

	}
