.cart_header {
	position: relative;
}
#block-dc-ajax-add-cart-ajax-shopping-cart-teaser {
	display: inline-block;
	float: right;
	height: 58px;
	background: #000;
	-webkit-transition: all 0.5s ease;
	   -moz-transition: all 0.5s ease;
	     -o-transition: all 0.5s ease;
            transition: all 0.5s ease;
	position: relative;
	margin-left: 5px;
}

.teaser-arrow {
    left: 50%;
    position: absolute;
    bottom: 0;
	margin-left: -12px;
    width: 0;
	height: 0;
	border-style: solid;
	border-width: 11px 12px 0;
	border-color: #000000 transparent transparent transparent;
	z-index: 10;
}

.cart-product-quantity {
	width: 43px;
	height: 58px;
	position: relative;
	margin: 0 10px;
	cursor: pointer;
	float: left;
}
.cart-product-quantity .quantity  {
	color: #000;
	text-decoration: none;
	font-size: 14px;
	line-height: 1;
	display: block;
	z-index: 1;
	position: absolute;
	top: 0;
	left: 0;
	width: 43px;
	height: 58px;
	text-align: center;
	text-shadow: 0 1px 1px #c0ca33;
	padding: 16px 0 0 7px;
}
.cart-product-quantity:before {
	content: "\f07a";
	display: inline-block;
	color: #827717;
	font-size: 45px;
	font-family: FontAwesome;
	line-height: 1;
	position: absolute;
	top: 5px;
	left: 0;
	-webkit-transition: all 0.5s ease;
	   -moz-transition: all 0.5s ease;
	     -o-transition: all 0.5s ease;
            transition: all 0.5s ease;
}
.cart-product-quantity:hover:before {
	color: #9e9d24;
}
/* ---------------------------------------------- всплывающий блок ------------------------------------------------------ */
.top-cart-block-total,
.top-cart-block-shipping {
	padding-top: 12px;
	padding-bottom: 12px;
	color: #263238;
    font-size: 13px;
    font-style: normal;
    font-weight: normal;
    line-height: 15px;
}
.top-cart-block-shipping {
	padding-bottom: 0;
}
.top-cart-block-total .total-price {
	font-weight: bold;
}
.total-amount {
	color: #9e9e9e;
	font-size: 12px;
	line-height: 1;
	margin: 22px 0 0;
}

.top-cart-block-shipping-price {
	color: #827717;
}



.ajax-shopping-cart-wrapper {
    width: 350px;
}
table.ajax-shopping-cart-table {
	margin: 0;
}
table.ajax-shopping-cart-table > tbody > tr {
	background: transparent !important;
}
table.ajax-shopping-cart-table > tbody > tr > td {
	padding: 10px 5px;
	border: none;
	vertical-align: middle;
}
table.ajax-shopping-cart-table > tbody > tr > td.top-cart-block-img-quantity {
	padding: 10px 0;
}
table.ajax-shopping-cart-table > tbody > tr > td.top-cart-block-name-price {
	padding: 10px 5px 10px 13px;
}

.top-cart-block-price {
	font-size: 12px;
	line-height: 15px;
	white-space: nowrap;
	color: #827717;
}

.top-cart-block-title {
	font-size: 12px;
	line-height: 16px;
	text-decoration: none;
	color: #263238;
	display: block;
	padding: 0 0 5px 0;
}
.top-cart-block-title:hover {
	color: #263238;
	text-decoration: underline;
}

.top-cart-block-quantity {
	background: #c0ca33;
	border-radius: 50%;
    display: inline-block;
    font-size: 12px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    width: 20px;
	color: #f9fbe7;
	text-shadow: 1px 1px 1px #544d0f;
	position: absolute;
    right: -5px;
    top: -5px;
}
.top-cart-block-status {
	position: absolute;
    left: 0;
    bottom: 0;	
	background: rgba(230, 238, 156, 0.7);
	width:100%;
}

.top-cart-block-status-text {
	color: #827717;
    font-size: 9px;
    line-height: 0.8;
    padding: 2px;
    text-align: center;
}

.top-cart-block-img {
    height: auto;
    padding: 0;
    position: relative;
    width: 100px;
}

.remove-from-cart a {
	display: block;
	margin: 0;
}

.top-cart-block-product-remove {
	display: inline-block;
	float: left;
	margin: 0 5px;
}


#block-dc-ajax-add-cart-ajax-shopping-cart .ajax-progress-throbber {
	margin: 0;
	height: 25px;
	width: 25px;
	overflow: hidden;
}
#block-dc-ajax-add-cart-ajax-shopping-cart .ajax-progress-throbber >.glyphicon {
	height: 25px;
	width: 25px;
	color: #e57373;
	font-size: 15px;
	line-height: 25px;
	text-align: center;
}

.ajax-shopping-cart-more-info {
	background: #e6ee9c;
	margin-top: 10px;
	padding-left: 15px;
	padding-right: 15px;
}

/*-------------------------------- btn-checkout -----------------------------------------*/

.top-cart-block-btn-checkout  {
	text-align: right;
	padding-bottom: 12px;
    padding-top: 12px;
}
.top-cart-block-btn-checkout a {
	background: #afb42b;
    display: inline-block;
    font-size: 12px;
    line-height: 14px;
    padding: 7px 10px;
	color: #f9fbe7;
	text-shadow: 1px 1px 1px #544d0f;
	-webkit-transition: all 0.5s ease;
	   -moz-transition: all 0.5s ease;
	     -o-transition: all 0.5s ease;
            transition: all 0.5s ease;
}
.top-cart-block-btn-checkout a:hover,
.top-cart-block-btn-checkout a:focus,
.top-cart-block-btn-checkout a:active {
	background: #9e9d24;
	text-decoration: none;
}
/* -- END btn-checkout -- */


/* --------------------------------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1000px) {
	.cart-product-total {
		margin: 0 5px;
		height: 30px;
	}
	.total-amount {
		font-size: 11px;
		margin: 0;
	}
	.cart-product-quantity {
		float: none;
		margin: 0;
		width: 100%;
		height: 28px;
	}
	.cart-product-quantity:before {
		font-size: 17px;
		padding: 6px 0 0 10px;
		position: static;
	}
	.cart-product-quantity .quantity {
		height: 28px;
		position: static;
		display: inline-block;
		text-shadow: none;
		color: #827717;
		line-height: 1;
		width: auto;
		font-size: 13px;
		vertical-align: top;
		padding: 8px 0 0;
	}
	
}

@media (max-width: 460px) {
	.cart-product-total {
		width: 0;
		overflow: hidden;
	}
	
}

.top-cart-block-product-list .table-responsive {
    border: none;
    overflow-x: hidden;
}
.top-cart-block-product-list .table-responsive > .table > tbody > tr > td {
	white-space: normal;
}
#block-dc-ajax-add-cart-ajax-shopping-cart {
	overflow: auto;
    position: fixed;
	top: 58px;
	right:0;
	background: #f9fbe7;
	padding: 0;
	box-shadow: 1px 3px 6px 0 rgba(0, 0, 0, 0.2);
	display: none;
	max-height: 700px;
	width: 350px;
}
.top-cart-block-product-list {
	padding: 10px 0 0 0;
}
@media (max-width: 767px) {
	#block-dc-ajax-add-cart-ajax-shopping-cart,
	.ajax-shopping-cart-wrapper	{
		width: 300px;
	}
}

@media (max-height: 768px) {
	#block-dc-ajax-add-cart-ajax-shopping-cart {
		max-height: 570px;
	}
}
@media only screen and (max-height: 630px) {
	#block-dc-ajax-add-cart-ajax-shopping-cart {
		max-height: 530px;
	}
}
@media only screen and (max-height: 510px) {
	#block-dc-ajax-add-cart-ajax-shopping-cart {
		max-height: 410px;
	}
}
@media only screen and (max-height: 350px) {
	#block-dc-ajax-add-cart-ajax-shopping-cart {
		max-height: 250px;
	}
}

/* ----------------------------------------- message ---------------------------------------------- */
div.add-cart-message-wrapper {
	background-color: transparent;
    border: none;
    color: #7f7f7f;
	padding: 15px 0;
	color: #263238;
	font-size: 14px;
    font-style: normal;
    font-weight: normal;
    line-height: 20px;
	width: 100%;
	left: 0;
	right: 0;
	box-shadow: none;
}
.add-cart-message-wrapper .container-fluid {
	background-color: #f9fbe7;
	box-shadow: 1px 3px 6px 0 rgba(0, 0, 0, 0.2);
	width: 460px;
	position: relative;
}

.red-close {
	border: 1px solid #ffcdd2;
    border-radius: 50%;
    color: #e57373;
    display: inline-block;
    font-size: 20px;
    height: 25px;
    line-height: 22px;
    text-align: center;
    transition: all 0.5s ease 0s;
    width: 25px;
	-webkit-transition: all 0.5s ease;
	   -moz-transition: all 0.5s ease;
	     -o-transition: all 0.5s ease;
            transition: all 0.5s ease;
}
.red-close:hover {
	color: #bf360c;
	border: 1px solid #bf360c;
	cursor: pointer;
}
.butt.add-to-cart-close {
	display: inline-block;
	position: absolute;
	top: 5px;
	right: 5px;
	z-index: 1000;
}
.add-cart-message-wrapper .name {
	color: #004d40;
	font-size: 16px;
	margin: 15px 0 0 0;
	padding-right: 20px;
}
.add-cart-message-wrapper .added-product-message {
	color: #7f7f7f;
	font-size: 13px;
	margin-bottom: 5px;
}
.add-cart-message-wrapper .new-item-details div {
    margin-bottom: 0;
}
.add-cart-message-wrapper .new-item-details {
	margin: 10px 0;
}
.add-cart-message-wrapper .new-item-details p[class*="label"] {
	color: #7f7f7f;
	font-size: 13px;
}
.option-button.continue {
	margin: 0;
}
.add-cart-message-wrapper .option-button {
	padding: 0;	
	background: none;
}
.add-cart-message-wrapper .option-button.checkout a ,
.add-cart-message-wrapper .option-button.continue span  {
	display: block;
	padding: 5px 10px;
	background: #afb42b;
	color: #f9fbe7;
	text-decoration: none;
	font-weight: normal;
	border-radius: 2px;
	text-shadow: 1px 1px 1px rgba(84, 77, 15, 0.6);
	-webkit-transition: all 0.5s ease;
	   -moz-transition: all 0.5s ease;
	     -o-transition: all 0.5s ease;
            transition: all 0.5s ease;
}
.add-cart-message-wrapper .option-button.continue span  {
	color: #90a4ae;
	background: transparent;
	border: 1px solid #b0bec5;
	text-shadow: none;
	padding: 4px 9px;
}
.add-cart-message-wrapper .option-button.checkout a:hover  {
	background: #9e9d24;
}
.add-cart-message-wrapper .option-button.continue span:hover {
	color: #607d8b;
	border: 1px solid #78909c;
}
.cart-message-block-image {
	padding: 10px 15px;
}
.cart-message-image {
	width: 100%;
}
.add-cart-message-wrapper .no_img  {
	width: 198px;
	height: 96px;
	font-size: 19px;
	padding: 35px 0 0;
	display: block;
}

@media (max-width: 767px) {
	div.add-cart-message-wrapper {
		top: 70px;
	}
	.add-cart-message-wrapper .container-fluid {
		width: 300px;
	}
	.cart-message-block-image {
		padding: 0 15px;
	}
	.option-button.continue {
		margin: 0 0 10px 0;
	}
}

@media only screen and (max-height: 350px) {
	div.add-cart-message-wrapper {
		top: 50px;
	}
	.cart-message-block-image {
		display: none;
	}
	.add-cart-message-wrapper .new-item-details {
		margin: 0 0 5px 0;
	}
}
/* END message */


