@import "compass";
@import "theme_variables";
/*******************************************************************
					Cart Block Styles
********************************************************************/
#header .shopping_cart {
	position: relative;
	float: right;
	z-index:3;
	margin-top:3px;  
	@media (max-width: $screen-xs-max)   
	{
		margin-top:-3px;
	}
	> a:first-child {
		
		
		&.cart-empty
		{
			&:after {display:none;}
		}
		
		
	}
	> a:first-child:hover {
		
	}
}
.shopping_cart {
	
  .out-cart{	
	
	> a:first-child {
		.g_ajax_cart_quantity{position:relative;}
		
		color:$base-text-color;font-size:12px;
		display: inline-block;
		font-weight: 500;
		
		 transition: all 0.4s ease 0s;
			-moz-transition: all 0.4s ease 0s;
			-webkit-transition: all 0.4s ease 0s;
		 span.ajax_cart_no_product {
			
				display: none !important;
			
		}
		@media (max-width: $screen-xs-max) 
		{
			span.ajax_cart_product_txt,span.ajax_cart_total,.cart-title{display:none;}
		}
		
		b {
			color: $light-text-color;
			font: 600 18px/22px $font-custom;
			padding-right: 5px;
		}
		.shopping-cart
		{
			float: left;
			font-size: 0;
			width: 40px;
			height:40px;
			background:$bg-main url(img/cart.png);
			color:$light-text-color;
			line-height:40px;
			text-align: center;
			margin-right: 10px;
			@media (max-width: $screen-xs-max)   
			{
				margin-left:10px;margin-right:0;
			}
			
		}
		.owl-cart
		{
			display:inline-block;font-size:11px;margin-top:5px;
			 .cart-title{text-transform:uppercase;font-weight:600;margin-bottom:4px;}
		}
		.g_ajax_cart_quantity
		{
          @media (max-width: $screen-xs-max) 
		  {
			  position:static;
		  }
		}
		
	}
	span.ajax_cart_quantity
	{
   
	}
	
	.block_cart_expand, .block_cart_collapse {
		&:after {
			content: "\f0d7";
			font-family: $font-icon;
			display: inline-block;
			float: right;
			font-size: 18px;
			color: #686666;
			padding: 6px 0 0 0;
		}
	}
	.block_cart_collapse {
		&:after {
			content: "\f0d8";
			padding: 4px 0px 2px 0px;
		}
	}
}
 
}
.cart_block {
	.cart_block_list {
		.remove_link {
			position: absolute;
			left: 0;
			top: 0;
		}
		.remove_link a,
		.ajax_cart_block_remove_link {
			color: $link-color;
			display: block;
			width: 100%;
			height: 100%;
			
			&:hover {
				color: $link-hover-color;
			}
		}
	}
	.cart-images {
		float: left;
		margin-right: 20px;
	}
	.cart-info {
		overflow: hidden;
		position: relative;
		padding-right: 20px;color:$base-text-color;
		.product-name {
			
			margin-top: 0;
			a {
				color:$base-text-color;
				display: inline-block;
				
			}
		}
		.price{font-size:14px;color:#1e1e1e;}
		.quantity-formated {
			display: inline-block;
			
    		padding-right: 5px;

    		
		}
		.quantity{
    			color:$base-text-color;
    		}
	}
	dt {
		font-weight: normal;
		overflow: hidden;
		
		position: relative;
	}
	dd {
		position: relative;
		.cart_block_customizations{
			border-top: 1px dashed $dark-background;
			li {
				padding: 10px 20px;

				.deleteCustomizableProduct {
					position: absolute;
					right: 10px;
				}
			}
		}

	}
	.cart_block_no_products {
		margin: 0;
		padding: 10px 0;
	}
	.cart-prices {
		
		font-weight: bold;
		padding: 0 0 10px 0;
		.cart-prices-line {
			overflow: hidden;
			
			padding: 4px 0;
			&.last-line {
				border: none;
			}
		}
	}
	.cart-buttons {
		overflow: hidden;
		padding: 0 20px 14px 20px;
		margin: 0;
		text-align:center;
		
		a {
			
			text-align: center;
			margin-bottom: 10px;
			margin-right: 10px;
			&#button_order_cart {
				margin-right: 0;
				
				
				
				
			}
		}
	}
}
/*******************************************************************
					Cart Block(Header) Styles
********************************************************************/
#header {
	.cart_block {
		position: absolute;
		top: 100%;margin-top:10px;
        right: 0;
		z-index: 1005;
		display:none; 
		height: auto;
		background-color:#fff;
		color:$base-text-color;
		width: 325px;
		border:1px solid #f0f0f0;
		&:before
		{
			content:"";
			background-image:url(img/icon-arrow-cart.png);
			background-repeat:no-repeat;
			background-position:top center;
			width:14px;height:7px;
		    position: absolute;
			right: 50px;
			top: -7px;
		
		}
		@media (max-width: $screen-xs-max) 
		{
			display:none !important;
		}
		
		a {
			
		}
		.cart_block_list {
			.remove_link a,
			.ajax_cart_block_remove_link {
				color: $light-text-color;
				outline: none;
				text-decoration: none;
				display: block;
				width: 13px;
				height: 13px;
				background: url(img/close.png) no-repeat;
				&:hover {
					color: #9c9b9b;
				}
			}
		}
		.price {
			
		}
		dt {
			
		}
		.product-atributes {
			padding-bottom: 10px;
			font-size: 14px;
			a {
				
				&:hover {
					color: $light-text-color;
				}
			}
		}
		.cart-prices {
			border: none;
			
		}
		.cart-buttons {
			
		}
	}
	.block_content {
		margin-bottom: 0;
	}
}
.cart_block_list{margin:30px;}
.cart_block #cart_block_summary,
.cart_block .title_block span,
#header .cart_block h4,
#header .cart_block .title_block,
#header .cart_block h4 {
	display: none
}

.cart_block .cart_block_shipping_cost,
.cart_block .cart_block_tax_cost,
.cart_block .cart_block_wrapping_cost,
.cart_block .cart_block_total {
	font-size:16px;
	color:#1e1e1e;
}

.cart_block .title-cart-prices{
	width:130px;font-size:14px;
	text-transform:uppercase;    display: inline-block;
	&.title-cart-prices-total{font-size:14px;}
	}
.cart_block table.vouchers {
	clear: both;
	width: 80%;
	margin: 0 auto;
	margin-bottom: 10px;
	tr td {
		padding: 2px;
		&.quantity{
			margin-right: 5px;
			min-width: 18px
		}
		&.delete{
			padding-left: 0;
			padding-right: 0;
			text-align: right;
			width: 15px;
		}
	}
}
/*****************************************************************************
					Layer Cart Css
*****************************************************************************/
.layer_cart_overlay {
	background-color: #000;
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 98;
	@include opacity(.20);
}

* html .layer_cart_overlay {
	position: absolute;
	left: 0;
	margin-left: -160px;
	@include opacity(.20)
}

#layer_cart {
	background-color: $light-background;
	position: absolute;
	display: none;
	z-index: 99;
	width: 84%;
	margin-right: 8%;
	margin-left: 8%;
	
	.layer_cart_product {
		padding: 30px 30px 30px 30px;
		overflow: hidden;
		position: static;
		.title {
			display: block;
			font: 400 13px/15px $font-family;
			color:$link-hover-color;
			margin-bottom: 22px;
			text-transform:uppercase;
			i {
				font-size: 14px;
				line-height: 14px;
				float: left;
				padding-right: 8px;
				
			}
		}
		.product-image-container {
			max-width: 178px;
			float: left;
			margin-right: 30px;
			@media (max-width: $screen-xs) { // max 480px
				float: none;
				margin-right: 0;
				margin-bottom: 10px;
			}
		}
		.layer_cart_product_info {
			padding:0;
			#layer_cart_product_title {
				display: block;
				font-size:20px;
				color:$base-text-color;font-family:$font-custom;
			}
			#layer_cart_product_attributes{margin-bottom:10px;display:inline-block;}
			#layer_cart_product_price{font-size:24px;font-family:$font-custom;color:$link-hover-color;}
			> div {
				padding-bottom: 10px;
				strong {
					padding-right: 3px
				}
			}
		}
	}
	.layer_cart_cart {		
		padding:30px;
		
		.title {
			display: block;
			font: 500 14px/15px $font-family;
			color: $base-text-color;
		    text-transform:uppercase;
			margin-bottom: 17px;
			
		}
		.layer_cart_row {
			border:$main_border;
			border-top:none;
			strong{width:60%;border-right:$main_border;}
			strong,span{padding:15px 30px;display:inline-block;font-size:14px;color:$description-color;text-transform:uppercase;font-weight:500;font-family:$font-custom;}
			&.fisrt 
			{
				border-top:$main_border;
			}
			&.grand_total
			{
				strong,span{font-size:20px;color:$base-text-color;}
			}
		}
		.button-container {
			margin-top:20px;
			.btn {
				margin-bottom: 10px;
			}
			span.exclusive-medium {
				margin-right: 5px;
				i {
					padding-right: 5px;
					color: #777777;
				}
			}
		}
	}
	.cross {
		position: absolute;
		right: 7px;
		top: 8px;
		width: 25px;
		height: 25px;
		cursor: pointer;
		color: $base-text-color;
		z-index: 2;
		&:before {
			content: "\f00d";
			display: block;
			font-family: $font-icon;
			font-size: 25px;
			line-height: 25px;
		}
		&:hover {
			color: $link-hover-color;
		}
	}
	.continue {
		cursor: pointer;
	}
	p {
		padding: 0px;
	}
}
.cart-mobile .ajax_cart_quantity 
{
	background: #d52121;
    border-radius: 100%;
    color: #fff;
    font-size:10px;
    height: 17px;
    margin: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
	line-height:17px;
    width: 17px;
}
/************************************************************************
						Layer Cart Caroucel
*************************************************************************/
#layer_cart {
	.crossseling {
		.crossseling-content {
			border-top: 1px solid $base-border-color;
			padding: 26px 30px 40px 30px;
			position: relative;
		}
		h2 {
			font: 400 23px/26px $font-family;
			color: $base-text-color;
			margin-bottom: 25px;
		}
		#blockcart_list {
			max-width: 773px;
			width: 84%;
			margin: 0 auto;
			overflow: hidden;
			ul {
				display: block;
				li {
					float: left;
					width: 178px;
					margin: 0 0px 0 0;
					.product-image-container {
						border: 1px solid $base-border-color;
						text-align: center;
						padding: 5px;
						margin-bottom: 15px;

						img {
							width: 100%;
						}
					}
					.product-name {
						padding-bottom: 5px;

						a {
							font-size: 15px;
							line-height: 20px;
						}
					}
				}
			}
			a.bx-prev,
			a.bx-next {
				display: block;
				font-family: $font-icon;
				font-size: 20px;
				line-height: 20px;
				width: 20px;
				height: 20px;
				color: $base-text-color;
				text-indent: -5000px;
				position: absolute;
				top: 45%;
				margin-top: -20px;
				&:after {
					display: block;
					text-indent: 0;
				}
				&:hover {
					color: #c0c0c0;
				}
				&.disabled {
					display: none;
				}
			}
			a.bx-prev {
				left: 5%;
				&:after {
					content: "\f137";
				}
			}
			a.bx-next {
				right: 5%;
				&:after {
					content: "\f138";
				}
			}
			.bx-controls {
				overflow: hidden;
			}
		}
	}
}
