@import "compass/css3";
@import "compass/reset";

@import "settings.scss";

@if $gradients == enabled {
	@import "colors_formulas.scss";			
} @else {
	@import "colors_formulas_no_gradients.scss";
}

.rtl {
	@import "rtl.scss";
}

body {
	font-size: 0.75em; /* 12/16 */
	font-family: Helvetica, Arial, Tahoma, sans-serif;
	line-height: 150%;
	width: 100%;
	margin: 0 auto;
	position: relative;
	overflow-x: hidden;
}

h1 {
	font-size: 2em; /* 24/12 */
	margin-bottom: 1em;
	line-height: 150%;
}

h2 {
	font-size: 1.75em; /* 21/12 */
	margin-bottom: 0.875em;
}

h3 {
	font-size: 1.5em; /* 18/12 */
	margin-bottom: 0.75em;
}

h4 {
	font-size: 1.333em; /* 16/12 */
}

h5 {
	font-size: 1.1666667em; /* 14/12 */
}

h6 {
	font-size: 1em; /* 12/12 */
}

p {
	max-width: 30.75em;
	margin-bottom: 1em;
}

ul {
	margin-bottom: 1em;
}

a {
	text-decoration: none;
	font-weight: bold;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}

label {
	display: inline;
	font-weight: bold;
}

.error {
	display: inline;

	font-weight: bold;
}

#header {
	margin-bottom: 1em;
	padding: 5%;
	z-index: 10;
	overflow: auto;

	a {
		border: 0;
	}

	#logo a {
		width: $mobilelogosize;
		float: left;

		img {
			width: 100%;
		}
	}

	ul {
		float: right;
	}

	li {
		display: inline-block;
		margin-left: 1em;
	}
}

nav#primary, nav#secondary {
	ul.nav {
		padding-left: 0;
	}
}

fieldset {
	border: none;
}

fieldset, .left, .discount {
	margin-bottom: 2em;
}

.nav, .box-content ul, .category-list ul, .content ul {
	width: auto;
	position: relative;
	display: block;

	li {
		width: auto;

		a {
			display: block;
			width: auto;

			padding: 0.75em 1em;

			border: 0;

			&:after {
				display: inline-block;
				float: right;
			}
		}

		ul {
			margin: 0;
			padding: 0;
		}

	}

	> a {
		&:after {
			display: inline-block;
			float: right;
		}
	}
}

#primary .nav {
	position: relative;

	li {
		width: 23%;
		display: inline-block;
		margin: 0 auto;
		text-align: center;

		a {
			padding: auto 1em;
		}
	}
}

.visible {
  display: block !important;
}

#primary .nav li ul {
	display:none;
	position: absolute;
	bottom:100%;
	left: 2.5%;
	width: 95%;
	border-radius: 0.833em 0.833em 0em 0em;
}

#primary .nav li ul li {
	width: 100%;
	text-align: left;

	&:first-child {
		border-radius: 0.833em 0.833em 0em 0em;
	}
}

#secondary, .box-content, .category-list ul {
	margin: 1em auto 1.5em auto;

	li:first-child {
		border-top-left-radius: 0.833em;
		border-top-right-radius: 0.8333em;

		a {
			border-top-left-radius: 0.733em;
			border-top-right-radius: 0.733em;
		}

		ul a {
			border-radius: 0;
		}
	}

	li:last-child {
		border-bottom-left-radius: 0.833em;
		border-bottom-right-radius: 0.833em;

		a {
			border-bottom-left-radius: 0.733em;
			border-bottom-right-radius: 0.733em;
		}

		ul  {
			a {
				border-radius: 0;
			}
			li:last-child, li:last-child a {
				border-radius: 0em 0em 0.733em 0.733em;
			}
		}
	}

	> a {
		display: block;
		width: auto;
		margin: -0.5em auto 1em auto;

		padding: 0.75em 1em;

		border-radius: 0.833em;

		&:after {
			display: inline-block;
			float: right;
		}
	}

	> p {
		display: none;
	}

	.box-filter {
		li {
			padding-bottom: 0.833em;
		}

		ul {
			margin-top: 0.667em;

			li {
				padding-top: 0.417em;
				margin-top: 0.667em;
			}
		}

		label {
			font-weight: normal;
		}

		span {
			font-weight: bold;
		}
	}
}

#secondary.nav li:first-child:last-child, .category-list ul li:first-child:last-child {
	border-radius: 0.833em;
	a {
		border-radius: 0.733em;
	}

}

#secondary .stack {
	margin-bottom: 1.4em;
}

input[type="submit"], input[type="button"], .cart a, .wishlist a, .button, .remove a {
	display: block;
	width: 100%;
	margin:0.833em 0;
	padding: 0.833em 1.667em;
	min-height:  3.667em;

	font-size: 1.167em;

	border-radius: 0.833em;
	-webkit-border-radius: 0.8333333em;

	cursor: pointer;
}

.cart a, .wishlist a, a.button, .remove a {
	width: auto;
	text-align: center;
	font-weight: normal;
	line-height: 3.3em;
	padding: 0;
}

input[type="text"], input[type="tel"], input[type= "password"], input[type= "number"], input[type="search"], select, option, textarea {
	width: 96%;
	padding: 3% 2%;

	border-radius: 0.33em;
	-webkit-border-radius: 0.333em;

	font-size: 1.3333333em;
}

select, option {
	width: 100%;
}

.checkout input[type="text"], textarea {
	width: 96% !important;
}

#payment-address, #payment-method {
	input[name="agree"] {
	    position: absolute;
	    top: -2em;
	    left: 0;
	}
	
	.buttons .right {
	    margin-left: 2em;
	}

	.button {
		margin-left: -1.6em;
		width: 103%;
	}
}

input[type="checkbox"], input[type="radio"] {
	display: inline-block;
}

input[type="number"] {
	width: 50%;
}

textarea {
	width: 96%;

	border-radius: 0.333em;
	-webkit-border-radius: 0.333em;
}

form li {
	margin-bottom: 1em;
}

#footer {
	margin-top: 2em;

	#secondary {
		width: 90%;
	}
}

.tools  {
	width: 90%;
	margin: 1em auto;
	overflow: auto;

	li{
		display: inline-block;
		text-align: center;

		&:first-child {
			float: left;
		}

		&:last-child {
			float: right;
		}
	}
}

#welcome {
	display:block;
	width: auto;
	text-align: center;
}

.breadcrumb, .product-list {
	margin-bottom: 1em;
}

.product-list div {
    width: 100%;

    .right, .price {
    	display: table-footer-group;
    }

    .left {
    	display: table-header-group;
    	line-height: 3em;
    }

    .name, .description {
    	display: table-header-group;
    	line-height: 1.5em;
    }

    .price-new {
    	font-weight: bold;
		font-size: 1.6em;
    }

   	.price-old {
		font-size: 1.25em;
	}

    .image {
    	img {
	    	@if $productlisttype == full-width {
				/* bigger images */
				float: none;
				display: block;
				margin-right: 0;
				width: 100%;
				height: auto;
			} @else {
				float:left;
				margin-right: 0.5em;
				margin-bottom: 1em;
				width: 50%;
				height: auto;
			}
		}
    }
} 

.product-info {
	margin-bottom: 2em;

	.image > a img {
		width: 100%;
		/* height: auto; */
	}

	.price {
		font-weight: bold;
		margin: 1em 0;
		font-size: 1.6em;
	}

	.price-old {
		font-weight: normal;
		font-size: 0.8em;
	}

	.price-tax, .reward, .discount {
		font-weight: normal;
		/* margin: 0.5em 0; */
		font-size: 0.6em;
	}

	.description {
		margin: 2em 0;
	}
}

.price-old {
	text-decoration: line-through;
}

.description span, b, .required, .cart {
	font-weight: bold;
}

.cart {
	position: relative;
}

.minimum {
	position: absolute;
	bottom: 10.5em;
	font-weight: normal;
}

.cart span, .review, .close, .product-filter, .product-compare, #login p, .compare {
 	display: none;
}

@if $wishlist == disabled {
	.wishlist {
		display: none;
	}

	.minimum {
		bottom: 5em;
	}
	
	.cart > div:nth-child(3) {
		display: none;
	}
} @else {
	span.links, .cart > div:nth-child(3) {
		display: block;

		br, a:last-child {
			display: none;
		}
	}
}

#main, #search {
	display: block;
	width: 90%;
	padding: 0 5%;
	position: relative;
}

#content {
	> b, > .content, > .buttons, > form + h2, > form > h2, > h2 + .content:nth-of-type(4), > h2:nth-of-type(odd), > h2 + .content li {
		display: none;
	}

	> h1 + .content, h2 + .content, .content ~ .content, .cart-total + .buttons, .buttons:last-child,> h2 + .content li:first-child, > h2 + .content:nth-of-type(2) li:nth-child(2), > form > h2:first-child {
		display: block;
	}
}

.inline-form {
	overflow: auto;
	position: relative;

	fieldset {
		width: 100%;
		display: block;

		position: relative;

	}

	input[type="text"], input[type="search"] {
		width: 68%;

		margin:0 2% 0 0;

		float: left;
	}

	input[type="search"] {
		width: 73%;
	}

	input[type="submit"] {
		width: 25%;
		min-height: 100%;
		font-size: inherit;
		line-height: 1.66666667em;

		padding: 3% 2%;

		margin:0;

		float: right;
	}

	label {
		display: block;
	}
}

#search input[type="submit"] {
	float: none;
}

.module {
	margin: 2em 0em;
}

.m-cart {
	@extend .module;
}

#settings {
	padding: 0 5%;
	margin-bottom: 1em;
	overflow: hidden;

	form {
		width: 45%;

		&:first-child {
			float: left;
		}

		&:last-child {
			float: right;
		}
	}
}

.box {
	margin: 2em auto;
}

.box-heading, .welcome {
	font-size: 1.75em; /* 21/12 */
	margin-bottom: 0.875em;
}

.box-product {
	/* overflow: auto; */

	&>div {
		display: inline-block;
		vertical-align: top;
		overflow: auto;
		clear: right;

		img {
			width: 45%;
			margin-right: 5%;
			float: left;
		}
	}

	&>div {
		text-align: center;
		margin: 0 5% 5% 0;
		position: relative;
		display: inline-block;
		width: 27%;

		img {
			width: 100%;
			display: block;
		}
	}

	.button {
		display: none;
	}

	.price-old {
		font-size: 1.25em;
	}

	.price-new {
		font-weight: bold;
		font-size: 1.6em;
	}
}

.category-info {
	margin-bottom: 5%;
	overflow: auto;

	.image {
		margin-bottom: 2em;

		img {
			@if $categoryinfotype == full-width {
				/* bigger images */
				float: none;
				display: block;
				margin-right: 0;
				width: 100%;
				height: auto;
			} @else {
				float: left;
				width: 35%;
				margin-right: 5%;
				/* height: auto; */
			}
		}
	}

	p {
		max-width: none;
	}
}

.category-list {
	margin-bottom: 5%;
}

.warning, .stock, .success, .attention {
	margin: 1em 0;
	padding: 1em;
	border-radius: 0.4166667em;
	font-weight: bold;
}

.stock {
	padding: 0.1em 0.25em;
	line-height: 200%;
	margin: 1em 0 0 1em;
}

.image {
	img {
		width: 100%;
		/* height: auto; */
	}

	a {
		border: 0;
	}
}

.wishlist-product {
	.image {
		width: 30%;
		float: left;
		margin-right: 5%;
		clear: bottom;
	}
}

.wishlist-product {
	.button {
		width: 48%;
		float: left;
		clear: left;
	}

	#button-remove {
		clear: none;
	}

	li {
		clear: both;
	}
}

.cart-info {
	li {
		overflow: auto;
		&>div {
			
			&.image {
				margin-left: 0;

				img {
					height: auto;
				}
			}
		}

		div {
			margin-bottom: 1em;
		}

		.name div {
			margin-top: 1em;
		}
	}

	input {
		display: block;
	}
}

.cart-total {
	float:right;
	li {
		text-align: right;
	}
}

.login-content {
	.left, .right h2, p:first-child  {
		display: none;
	}
}

.shipping_price {
	float: right;
}

.buttons {
	position: relative;
	clear: both;
	display: block;
	width: 100%;

	.button {
		display: block;
		width: auto;
		text-align: center;
		font-weight: normal;
		/*line-height: 300%;*/
		line-height: 3.3em;
		padding: 0;
	}

	input[type='submit'], input[type='button'] {
		width: 100%;
	}
}

.error {

	&:before {
		content: ".";
		display: block;
		clear: both;
		visibility: hidden;
		line-height: 0;
		height: 0;
	}

	display: block;
}


.form {
	width: 100%;

	td:first-child {
		font-weight: bold;
		display: block;
	}

	td:last-child {
		display: block;
		margin-bottom: 1em;
	}
}

#shipping-method .radio {
	td {
		padding-bottom: 0.875em;

		b {
			font-size: 1.75em; /* 21/12 */
			margin-bottom: 0.875em;
			font-weight: normal;
		}
	}

	.highlight td:last-child label {
		font-weight: normal;
		padding-left: 1em;
	}

}

.checkout-heading {
	padding: 0.5em;
	padding-left: 6.5%;

	margin-left: -6.5%;
	margin-bottom: 1em;

	line-height: 2em;
	text-transform: uppercase;
	font-weight: bold;

	border-radius: 0 0.25em 0.25em 0;

	overflow: auto;

	a {
		display: inline-block;
		float:right;
		padding: 0.25em 0.33em;
		border-radius: 0.25em;
		min-width: 5em;
		line-height: 1.33em;
	}
}

.checkout-content {

	.left input[type="radio"], input[type="checkbox"] {
		margin-top: 2em;
	}

	p input[type="radio"] {
		margin-top: 1em;
	}

	.buttons .right {
		font-weight: bold;
	}
}

#payment-address .checkout-content {
	font-weight: bold;

	h2 {
		font-weight: normal;
	}
}

/* Order confirmation styles */
.checkout-product {
	width: 100%;

	margin-bottom: 1.5em;

	th {
		font-weight: bold;
	}

	thead th.total, th.quantity {
		text-align: right;
	}

	td, th {
		padding: 1em;
	}

	tfoot tr:first-child>*{
		padding-top: 1em;
	}

	tfoot th {
		text-align: right;
	}
	tfoot th, tfoot td{
		padding: 0.5em 1em 0.5em 1em;
	}

	tbody {
		margin-bottom: 1em;
	}

	.name {
		min-width: 40%;
	}

	.model {
		display: block;
		font-style: italic;
	}

	.price {
		text-align: right;
		display: block;
		margin-top: 0.5em;
	}

	.quantity {
		text-align: right;
		margin-right: 1em;
		max-width: 3em;
		vertical-align: bottom;
	}

	.total {
		width: auto;
		text-align: right;
		vertical-align: bottom;
	}
}

.order-item {
	margin-bottom: 2.5em;

	.order-id {
		margin-bottom: 0;
		float: left;
	}

	.order-status {
		margin-bottom: 0.5em;
		display: block;
		float: right;
		border-radius: 1em;
		/* line-height: 2em; */
		padding: 0.125em 0.5em;
	}
}

.order-content {
	width: 100%;
	margin-bottom: 0.75em;

	td, th {
		padding: 0.25em 0;
	}

	th {
		font-weight: bold;
		padding-left: 1em;
	}
}

#tabs {
	> a {
		display: block;
		font-weight: normal;
		font-size: 1.75em;
		padding: 0.875em 0;
		cursor: pointer;
	}

	> a:after {
		position: absolute;
		right: 8%;
	}
}

.tab-content {
	display: none !important;
	padding-bottom: 0.5em;

	table {
		margin-bottom: 1em;
	}

	&.selected {
		display: block !important;
	}
}

#tab-description {
	ul li {
    	list-style-type: disc;
    	margin-left: 2em;
		margin-bottom: 1em;
    }

    ol li {
    	list-style-type: decimal;
    	margin-left: 2em;
		margin-bottom: 1em;
    }
}

#tab-review {

	input[type="radio"] {
		margin: 1em ;
	}

	.author b {
		display: block;
	}
}

#review {
	margin-bottom: 2em;

	.review-list {
		margin-bottom: 1.5em;

		.author {
			font-size: 1.333em;
		}

		.text {
			max-width: 30.75em;
			margin-top: 1em;
		}
	}
}

.pagination {

	.links {
		margin-bottom: 1em;

		a, b {
			display: inline-block;
			padding: 0.5em 1em;
			margin-top: 1em;
			margin-right: 0.2em;
			/* padding-left: 1em; */
			background: transparent;
			border: 0.1em solid $button-border-color;
			border-radius: 0.5em;
			-webkit-border-radius: 0.5em;
			font-size: 1.167em;
		 }
	}
}

@mixin circle($diameter) {
	border-radius: 50%;
	width: $diameter;
	height: $diameter;
}

/* iDangero.us Swiper */
@import "/idangerous/swiper";

.swiper-container, .swiper-slide * {
	max-width: 100%;
}

.swiper-slide img {
	margin: auto;
	position: relative;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

.swiper-pagination {
	text-align: center;

	.swiper-pagination-switch {
		/* Stylize pagination button: */
		display: inline-block;
		margin-right: 2%;
		@include circle(0.666667em);
	}
}

/* Blog Manager */
.articleInfo, .tags, .updateInfo {
	display: block;
	margin-bottom: 1em;
}

#comments, #commentRespond, #commentInput, #articleRelated, #articleRelated ul, #productRelated ul {
	margin-top: 1em;
}

.name {
	font-weight: bold;
}

.created {
	margin-bottom: 1em;

	span {
		display: block;
	}
}

.commentList .button {
	font-size: 1.167em;
	line-height: 2em;
	min-height: 0;
	padding: 0.5em;
}

.replyComment {
	margin-left: 10%;
}

.captchaImage img {
	margin-top: 0.5em;
}


#replyTitle {
	display:none;
}

.readMore .more {
	float: right;
}

@media (max-width:768px) {
   #column-left, #column-right {
      /* display: none; */
   }

   .box-product > div {
   		width: 44%;
   }

   #button-remove {
   		margin-left: 2.5%;
   }


   .cart-info {
		input {
			width: 95%;
		}
   }
}

@media (min-width:769px) {
	#header {
		padding: 5% 3%;
	}

	#main, #search, #settings {
		padding: 0 3%;
	}

	#search {
		width: 94%;
	}

	#column-left {
		float: left;
	    width: 25%;
	}

	#column-right {
		float: right;
	    width: 25%;
	    position: relative;
	    right: -4.5%;
	}

	div#content:not(:only-of-type) {
		width: 45.5%;
		padding: 0 29.5%;
	}

	#content {
		width: 100%;
		padding: inherit;
	}

	#notification + #content {
		width: 104.5%;
		padding: 0;
	}

	#column-left + #content {
		width: 75%;

		.buttons {
			clear: none;
		}
	}

	#column-right + #content {
		.buttons {
			clear: none;
		}
	}

	#notification + #column-right + #content {
		width: 75%;
		padding: 0;
	}

	#footer {
		clear: both;

		#secondary {
			width: 94%;
		}
	}

	.tools {
		width: 94%;
	}

	#button-remove {
		margin-left: 3%;
	}

	.cart-info {
		li {
			&>div {
				margin-left:35%;
			}
		}

		.image {
			width: 30%;
			float: left;
			margin-right: 5%;
			clear: bottom;
		}

		input {
			width: 60%;
		}
	}

	.module .nav, .box-content ul, .category-list ul, .content ul {
		li a {
			display: box;
			display: -webkit-box;
			box-orient: vertical;
			-webkit-box-orient: vertical;
		}
	}
}

@media screen and (-webkit-min-device-pixel-ratio:0) and (min-width:769px) { 

    /* Safari only override */
    ::i-block-chrome, .module .nav, .box-content ul, .category-list ul, .content ul {
		li a {
			;max-height: 1.75em;
		}
	}
}

/*
==============================
		Theming
		Colors, border colors,
		backgrounds, icons, symbols
		all can be found below.
==============================
*/

$header-link-color: $header-text-color;

$primary-nav-item-border-color: #000;
$primary-nav-item-border-alpha: 0;
$primary-nav-item-hover-border-right-color: #D7D7D7;
$primary-nav-item-hover-border-right-alpha: 0.5;
$primary-nav-item-hover-border-left-color: #2D2D2D;
$primary-nav-item-hover-border-left-alpha: $primary-nav-item-hover-border-right-alpha;

$primary-nav-li-ul-bgcolor: $primary-nav-bggradient-from;
$primary-nav-li-ul-bggradient-from: $primary-nav-bggradient-from;
$primary-nav-li-ul-bggradient-to: $primary-nav-bgcolor;
$primary-nav-li-ul-border-color: $primary-nav-border-top-color;
$primary-nav-li-ul-border-top-color: #FAFAFA;
$primary-nav-li-ul-box-shadow-color: #333;

$primary-nav-li-ul-item-border-top-color: #D7D7D7;
$primary-nav-li-ul-item-border-top-alpha: 0.3;
$primary-nav-li-ul-item-border-bottom-color: #0F0F0F;
$primary-nav-li-ul-item-border-bottom-alpha: $primary-nav-li-ul-item-border-top-alpha;

$secondary-nav-lastitem-bgcolor: $secondary-nav-item-bggradient-to;

$secondary-nav-li-ul-bggradient-to: $secondary-nav-li-ul-bgcolor;

$stack-box-shadow-color2: $secondary-nav-item-border-color;
$stack-box-shadow-color4: $secondary-nav-item-border-color;

$button-box-shadow-color: #000;
$button-box-shadow-alpha: 0.5;
$button-box-shadow-inset-color: #FFF;
$button-box-shadow-inset-alpha: 0.6;
$button-text-shadow-color1: #000;
$button-text-shadow-alpha1: 0.7;
$button-text-shadow-color2: #FFF;
$button-text-shadow-alpha2: 0.3;

$disabled-bgcolor: #333;
$disabled-bggradient-from: #a0a0a0;
$disabled-border-color: #7a7a7a;

$input-border-color: $button-border-color;
$input-box-shadow-color: #ccc;

$message-text-color: #FFF;
$warning-bgcolor: #b60202;
$success-bgcolor: #0A0;
$attention-bgcolor: #FF0;
$attention-text-color: #000;
$error-text-color: #f00;

/* $checkout-heading-link-color: #EFEFEF; */
$checkout-heading-box-shadow-inset-color: #FFF;
$checkout-heading-box-shadow-inset-alpha: 0.6;
$checkout-heading-text-shadow-color1: #000;
$checkout-heading-text-shadow-alpha1: 0.7;
$checkout-heading-text-shadow-color2: #FFF;
$checkout-heading-text-shadow-alpha2: 0.3;

$order-status-bgcolor: #E0E0F1;
$order-content-bgcolor: #F4F2F2;

$nav-after-bgcolor: #000;
$nav-after-bgalpha: 0.1;
$nav-after-box-shadow-color: #000;
$nav-after-box-shadow-alpha: 0.3;
$nav-after-box-shadow-inset-color: #000;
$nav-after-box-shadow-inset-alpha: 0.3;

$spatial-indicator-bgcolor: #a0a0a0;;
$spatial-indicator-current-bgcolor: $header-bgcolor;
$spatial-indicator-current-bggradient-from: $header-bggradient-from;

body {
	background: $body-bgcolor;
	color: $body-text-color;
}

a:link {
	color: $link-color;
}

a:visited {
	color: $link-visited-color;
}

a:hover {
	color: $link-hover-color;
}

a:active {
	color: $link-active-color;
}

a.button {
	color: $button-text-color;
}

#header {
	background: $header-bgcolor;

	background: -webkit-gradient(
		linear, left top, left bottom,
		from($header-bggradient-from),
		to($header-bgcolor));

	color: $header-text-color;

	a {
		color: $header-link-color;
	}
}

#primary .nav {
	background: $primary-nav-bgcolor;

	background: -webkit-gradient(
		linear, left top, left bottom,
		from($primary-nav-bggradient-from),
		to($primary-nav-bgcolor));

	border-top: 0.1em solid $primary-nav-border-top-color;
	& > a {
		color: $primary-nav-link-color;
		text-shadow: 0.1em 0.1em 0.1em $primary-nav-link-shadow-color;
	}

}

#primary .nav > li {
	background: none;
	border: 0.1em solid rgba($primary-nav-item-border-color,$primary-nav-item-border-alpha);
	border-top: 0;
	border-bottom: 0;

	&:hover {
		border-right: 0.1em solid rgba($primary-nav-item-hover-border-right-color, $primary-nav-item-hover-border-right-alpha);
		border-left: 0.1em solid rgba($primary-nav-item-hover-border-left-color, $primary-nav-item-hover-border-left-alpha);
	}

	a:after {
		display: none;
	}

	ul {
		box-shadow: 0em -0.5em 0.5em -0.5em $primary-nav-li-ul-box-shadow-color;
		border: 0.1em solid $primary-nav-li-ul-border-color;
		border-top: 0.1em solid $primary-nav-li-ul-border-top-color;
		border-bottom: 0;

		background: $primary-nav-li-ul-bgcolor;
		background: -webkit-gradient(
		linear, left top, left bottom,
		from($primary-nav-li-ul-bggradient-from),
		to($primary-nav-li-ul-bggradient-to));

		li {
			background: none;
			/* border: 0.1em solid #C9D9E7;*/
			border:none;
			border-bottom: 0.1em solid rgba($primary-nav-li-ul-item-border-bottom-color,$primary-nav-li-ul-item-border-bottom-alpha);
			border-top: 0.1em solid rgba($primary-nav-li-ul-item-border-top-color,$primary-nav-li-ul-item-border-top-alpha);


			& a {
				background: none;
				border: 0;
				color: $primary-nav-li-ul-link-color;
				/* text-shadow:  0.1em 0.1em 0.1em #C9D9E7;  */
			}

			&:last-child {
				border-bottom: 0;
			}
		}
	}
}

#primary .nav > li > a {
  padding:  3.9em 0 1em;

  background-image: url('images/sprite.svg');
  -webkit-background-size: 3.125em 54.495em;
  -o-background-size: 3.125em 54.495em;
  background-size: 3.125em 54.495em;
  background-repeat: no-repeat;
  font-size: 0.75em;
  color: $primary-nav-link-color;
}

.no-svg #primary .nav > li > a {
	background-image: url('images/sprite.png');
	-webkit-background-size: 2.875em 45.25em;
	-o-background-size: 2.875em 45.25em;
	background-size: 2.875em 45.25em;
}

/* Icon positioning from sprite */
.n-home {
  background-position: center -16.2em;
}

.n-info {
  background-position: center -24.8em;
}

.n-account {
  background-position: center -33.48em;
}

.n-contact {
  background-position: center -41.8em;
}

#primary .nav > li:hover {
  background: $primary-nav-bgcolor;
  background: -webkit-gradient(linear, left top, left bottom, from($primary-nav-bgcolor), to($primary-nav-item-hover-bggradient-to));
}


#secondary, .box-content, .category-list ul {
	li {
		border: 0.1em solid $secondary-nav-item-border-color;
		@if $gradients == enabled {
			border-bottom: 0;
			border-top: 0;
		} @else {
			border-bottom-color: $secondary-nav-item-border-bottom-color;
			border-top-color: $secondary-nav-item-border-top-color;			
		
		}

		&:first-child {
			border-top: 0.1em solid $secondary-nav-item-border-top-color;
		}

		&:last-child {
			border-bottom: 0.1em solid $secondary-nav-item-border-bottom-color;
			background: $secondary-nav-lastitem-bgcolor;

			ul li:last-child {
				border-bottom: 0;
			}
		}

		ul {
			li {
				@if $gradients == enabled {
					border: 0;
				}

				&:first-child {
					border-top: 0.1em solid $secondary-nav-li-ul-firstitem-border-color;
					border-radius: 0;
				}

				&:last-child {
					border-bottom: 0.1em solid $secondary-nav-li-ul-lastitem-border-color;
					border-radius: 0;
				}
			}

			li:first-child a, li:last-child a{
					border-radius: 0;
			}

			a {
				background: $secondary-nav-li-ul-bgcolor;

				background: -webkit-gradient(
					linear, left top, left bottom,
					from($secondary-nav-li-ul-bggradient-from),
					to($secondary-nav-li-ul-bggradient-to));

				text-shadow: 0em 0em 0.1em $secondary-nav-li-ul-link-shadow;
			}
		}

		a {
			background: $secondary-nav-item-bgcolor;

			background: -webkit-gradient(
				linear, left top, left bottom,
				from($secondary-nav-item-bgcolor),
				to($secondary-nav-item-bggradient-to));

			color: $secondary-nav-link-color;
			text-shadow: 0.1em 0.1em 0.3em $secondary-nav-link-shadow;
		}
	}

	> a {
		border: 0.1em solid $secondary-nav-item-border-color;
	}

	.box-filter {
		li, li ul li {
			&:first-child {
				border: 0;
			}
			&:last-child {
				background: none;
				border: 0;
			}
		}

		ul {
			border-top: 0.1em solid $secondary-nav-item-border-color;
		}
	}
}

#secondary a, .category-list ul a {
	background: $secondary-nav-item-bgcolor;

	background: -webkit-gradient(
		linear, left top, left bottom,
		from($secondary-nav-item-bgcolor),
		to($secondary-nav-item-bggradient-to));

	color: $secondary-nav-link-color;
	text-shadow: 0.1em 0.1em 0.3em $secondary-nav-link-shadow;

}

ul.non-omf-list {
	li {
		border: 0 !important;

		&:last-child, ul a {
			background: none !important;
		}

		a {
			background: none !important;
			color: $body-text-color !important;
			text-shadow: none !important;
		}

		a:after {
			display: none !important;
		}
	}
}

.stack {

	box-shadow:
		0em 0.1em 0em 0em $stack-box-shadow-color1,
		0em 0.2em 0em 0em $stack-box-shadow-color2,
		0em 0.3em 0em 0em $stack-box-shadow-color3,
		0em 0.4em 0em 0em $stack-box-shadow-color4;

	&:hover {
		box-shadow:
			0em 0.2em 0em 0em $stack-box-shadow-color1,
			0em 0.3em 0em 0em $stack-box-shadow-color2,
			0em 0.4em 0em 0em $stack-box-shadow-color3,
			0em 0.5em 0em 0em $stack-box-shadow-color4;
	}
}

input[type="submit"], input[type="button"], .cart a, .wishlist a, .button, .remove a {
	border: 0.1em solid $button-border-color;

	background: $button-bgcolor;

	background: -webkit-gradient(
		linear, left top, left bottom,
		from($button-bggradient-from),
		to($button-bgcolor));

	-webkit-box-shadow:
		0 0.1em 0.3em rgba($button-box-shadow-color,$button-box-shadow-alpha),
		inset 0 0.1em 0.1em rgba($button-box-shadow-inset-color,$button-box-shadow-inset-alpha);

	text-shadow:
		0 -0.1em 0 rgba($button-text-shadow-color1,$button-text-shadow-alpha1),
		0 0.1em 0 rgba($button-text-shadow-color2,$button-text-shadow-alpha2);

	color: $button-text-color;
}

input[type="text"], input[type= "password"], input[type= "number"], input[type= "search"], select, option, textarea {
	border: 0.1em solid $input-border-color;
	box-shadow: inset 0.1em 0.1em 0.3em $input-box-shadow-color;
	background: $input-bgcolor;
}

input[type="search"] {
	-webkit-appearance: none;
}

.inline-form {
	input[type="submit"] {
		box-shadow: none;
		-webkit-box-shadow: none;
	}
}

.error {
	color: $error-text-color;
}

/*
	@mixin message($bgcolor, $text-color)

	Mixin for styling warning, attention, success and other messages.
	Takes background color and text color as arguments and generates other colors from them.
*/
@mixin message($bgcolor, $text-color) {
	border: 0.1em solid darken($bgcolor, 10%);
	background: $bgcolor;
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(lighten($bgcolor, 5%)),
		to($bgcolor));
	color: $text-color;
	text-shadow: -0.1em -0.1em 0 darken($bgcolor, 10%);
}

.warning, .stock {
	@include message($warning-bgcolor, $message-text-color);
}

.success {
	@include message($success-bgcolor, $message-text-color);
}

.attention {
	@include message($attention-bgcolor, $attention-text-color);
}

.checkout-heading {
	background: -webkit-gradient(
		linear, left top, left bottom,
		from($secondary-nav-item-bgcolor),
		to($secondary-nav-item-bggradient-to));

	border: 0.1em solid $secondary-nav-item-border-color;

	-webkit-box-shadow:
		inset 0 0.1em 0.1em rgba($checkout-heading-box-shadow-inset-color,$checkout-heading-box-shadow-inset-alpha);

	text-shadow:
		0 -0.1em 0 rgba($checkout-heading-text-shadow-color1,$checkout-heading-text-shadow-alpha1),
		0 0.1em 0 rgba($checkout-heading-text-shadow-color2,$checkout-heading-text-shadow-alpha2);

	color: $secondary-nav-text-color;

	a {
		text-transform:capitalize;

		background: -webkit-gradient(
				linear, left top, left bottom,
				from($secondary-nav-item-bggradient-to),
				to($secondary-nav-item-bgcolor));

		border: 0.1em solid $secondary-nav-item-border-color;

		-webkit-box-shadow:
			inset 0 0.1em 0.1em rgba($checkout-heading-box-shadow-inset-color,$checkout-heading-box-shadow-inset-alpha);

		text-shadow:
			0 -0.1em 0 rgba($checkout-heading-text-shadow-color1,$checkout-heading-text-shadow-alpha1),
			0 0.1em 0 rgba($checkout-heading-text-shadow-color2,$checkout-heading-text-shadow-alpha2);

		color: $secondary-nav-text-color;
	}
}


/* Order confirmation styles */
.checkout-product {
	tbody {
		tr:nth-child(odd) td{
			background: $product-bgcolor;
		}
	}
}

.order-status {
	background: $order-status-bgcolor;
}

.order-content {
	tr:nth-child(even) {
		background: $order-content-bgcolor;
	}
}

/* Navigation */
.nav a:after, .box-content li a:after, #secondary > a:after, .category-list ul a:after, .content ul a:after {
	border-radius: 2em;
	background: rgba($nav-after-bgcolor,$nav-after-bgalpha);
	box-shadow: inset 0em 0.1em 0.1em 0em rgba($nav-after-box-shadow-color,$nav-after-box-shadow-alpha),
	0em 0.1em 0.1em 0em rgba($nav-after-box-shadow-inset-color,$nav-after-box-shadow-inset-alpha);
	padding: 0.5em;
	margin-top: -0.25em;
	content: '\25B6';
	text-shadow: none;
	line-height: 1em;
}

#tabs {
	> a {
		color: $body-text-color;
		border-bottom: solid 1px $secondary-nav-item-border-color;
	}

	> a.selected {
		border-bottom: none;
	}

	> a:after {
		content: '\25BC';
		padding: 0 0.5em;
		line-height: 1em;
	}

	> a.selected:after {
		content: '\25B2';
	}
}

.tab-content {
	border-bottom: solid 1px $secondary-nav-item-border-color;
}

input[type="button"][disabled=disabled] {
	cursor: default;
	background: $disabled-bgcolor;
	@if $gradients == enabled {
		background: -webkit-gradient(linear,left top,left bottom,from($disabled-bggradient-from),to($disabled-bgcolor));
	}
	border-color: $disabled-border-color;
}

/* iDangero.us Swiper */
.swiper-pagination-switch {
	/* Stylize pagination button: */	
	background: $spatial-indicator-bgcolor;
}

.swiper-active-switch {
	/* Specific active button style: */	
	background: $spatial-indicator-current-bgcolor;
	background: -webkit-radial-gradient(circle, $spatial-indicator-current-bggradient-from, $spatial-indicator-current-bgcolor);
}
.swiper-visible-switch {
	/* Specific visible button style: */	
	background: $spatial-indicator-current-bgcolor;
 	background: -webkit-radial-gradient(circle, $spatial-indicator-current-bggradient-from, $spatial-indicator-current-bgcolor);
 }

/* Blog Manager */
.articleInfo, .tags, .updateInfo, .created {
	color: #777777;
}

/* Your custom styles */
@import "custom_mobile.scss";