.nx-basket-state {
	position:relative;
}
.link-to-basket {
	display: block;
	position:relative;
	padding:0; 
	margin:0;
	width:40px;
	height:40px;
	margin-left: 21px;
	text-decoration: none;
-webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
		box-sizing: border-box;
	/*z-index: 1000;*/
}

.nx-basket-state .go {
	display:block; 
	margin:5px 0px; 
	color:#fff; 
	background:#ff0705; 
	padding:3px 10px;
	text-align:center; 
	font-weight: normal;
	font-size: 12pt;
	text-decoration: none;
}

.nx-basket-state .go:hover {text-decoration:underline;}
.nx-basket-state ins {
	text-decoration:none; 
	font-size: 16pt; 
	margin-bottom: 0;
	border-bottom: none;
}

.nx-basket-state .spot-count {
	position:relative;
	width:20px;
	height:20px; 
	z-index: 110; 
	padding:0; 
	margin:0px; 
	text-decoration: none;
}

.main_page .nx-basket-state .spot-count:after{
	color:#fff;
}

.nx-basket-state .spot-count u {
    position: absolute;
    top: -12px;
    left: 15px;
    z-index: 40;
    background: #8faf4a;
    color: #fff;
    text-decoration: none;
    font-size: 7pt;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    width: 15px;
    height: 15px;
}

.nx-basket-state b {
	display: block;
	font-size: 11.5pt;
	font-weight: normal;
	min-height: 22px; 
	text-decoration: none;
}
.nx-basket-state b s.r {font-size:0.85em; }

.nx-basket-small-inside{
	display: none;
    width: 260px;
    position: absolute;
    right: 0;
    z-index: 30;
    background: #fff;
    border: none;
    top: 76px;
}

.nx-basket-small-inside.active-basket-small-inside{
	border-top: 2px solid #3ea7ad;
	-webkit-box-shadow: 0 22px 60px 0 rgba(0, 0, 0, 0.47);
	-moz-box-shadow: 0 22px 60px 0 rgba(0, 0, 0, 0.47);
	box-shadow: 0 22px 60px 0 rgba(0, 0, 0, 0.47);
}

.nx-basket-small-inside.active-basket-small-inside:before{
	content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    height: calc(100% + 40px);
    z-index: -7600;
    width: calc(100% + 40px);
}

.nx-basket-state:hover .nx-basket-small-inside{
	display: block;
	position: absolute;
    top: 40px;
	z-index: 100;
	right: 0;
}

.on_scroll_bottom .nx-basket-state:hover .nx-basket-small-inside{
    top: auto;
    bottom: 50px;
}

.nx-basket-small-items{
    position: relative;
	padding: 10px 20px 10px 10px;
    border-top: 1px solid #e4e4e4;
}

.nx-basket-small-items:first-child {
	border: none;
}

.nx-basket-small-inside .nx-del {
    position: absolute;
    right:10px;
    top: 50%;
    text-decoration: none;
	display: block;
	width: 10px;
	height: 10px;
	text-indent: -10000px;
	background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjEzIDIxMyIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjEzIDIxMzsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtmaWxsOiMzZWE3YWQ7fQo8L3N0eWxlPgo8ZyBpZD0iQ2xvc2UiPgoJPHBhdGggY2xhc3M9InN0MCIgZD0iTTEzMS44LDEwNi41bDc1LjktNzUuOWM3LTcsNy0xOC4zLDAtMjUuM2MtNy03LTE4LjMtNy0yNS4zLDBsLTc1LjksNzUuOUwzMC42LDUuMmMtNy03LTE4LjMtNy0yNS4zLDAgICBjLTcsNy03LDE4LjMsMCwyNS4zbDc1LjksNzUuOUw1LjIsMTgyLjRjLTcsNy03LDE4LjMsMCwyNS4zYzcsNywxOC4zLDcsMjUuMywwbDc1LjktNzUuOWw3NS45LDc1LjljNyw3LDE4LjMsNywyNS4zLDAgICBjNy03LDctMTguMywwLTI1LjNMMTMxLjgsMTA2LjV6Ii8+CjwvZz4KPC9zdmc+') center center no-repeat;
}

.nx-basket-small-inside .description {
    width: calc(100% - 72px);
    font-size: 10px;
}

.nx-basket-small-inside .description s.r {
    font-size: 90%;
    padding-left: 0;
}

.nx-basket-small-inside .description .nx-flex-row {
-webkit-align-items: flex-end;
    -ms-flex-align: start;
        align-items: flex-end;
-webkit-align-content: flex-end;
    -ms-flex-line-pack: end;
        align-content: flex-end;
}

.nx-basket-small-inside .description .item-info{
    font-size: 12px;
    line-height: normal;
	color: #515152;
    margin: 0;
}

.nx-basket-small-inside .ttl {
    display: block;
    color: #3c3333;
    font-size: 13px;
    line-height: normal;
    padding-bottom: 8px;
}

.nx-basket-small-inside .buy-order {
    text-decoration: none;
    text-align: center;
    display: block;
    padding: 10px 0;
    margin: 0;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
	 
}

.nx-basket-small-inside .prw {
    overflow: hidden;
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 3;
    margin-right: 10px;
    padding: 0px;
    background-color: #fff;  
    border: 1px solid #d9d9d9;
    text-align: center
}

.nx-basket-small-inside .prw img{
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.nx-basket-small-inside .prw.no_photo {
	text-indent:-10000px;
}

.nx-basket-byer-block, 
.nx-basket-byer {position:relative; }

.nx-order-message,
.nx-basket-byer .nx-order-message  {
	width:160px; 
	padding:0.3em;
	opacity:0.9;   
	position:absolute;  
	left:0; 
	top:-40px; 
	z-index:80;  
	background:#EFEFEF; 
	border:1px solid #999;
	cursor:pointer; 
	text-align: center;
-webkit-box-shadow:2px 2px 2px rgba(0, 0, 0, 0.8);	
   -moz-box-shadow:2px 2px 2px rgba(0, 0, 0, 0.8);  
   		box-shadow:2px 2px 2px rgba(0, 0, 0, 0.8); 
-webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
		box-sizing: border-box;
	}

.nx-order-message:before, 
.nx-basket-byer .nx-order-message:before {
	content:""; 
	width: 0; 
	height: 0; 
	display:block; 
	position: absolute; 
	bottom:-16px; 
	right:30px; 
	z-index:83;
	border-left:  8px solid transparent; 
	border-right: 8px solid transparent; 
	border-top: 16px solid #EFEFEF;
}

.nx-order-message:after,
.nx-basket-byer .nx-order-message:after {
	content:""; 
	width: 0; 
	height: 0; 
	display:block; 
	position: absolute;  
	bottom:-21px; 
	right:28px; 
	z-index:81;
	border-left: 10px solid transparent; 
	border-right: 10px solid transparent; 
	border-top: 20px solid #777;
}

.nx-basket-result .nx-order-message {
	position: absolute; 
	left: auto; 
	top:40px; 
	right:0px; 
	white-space: nowrap;
}

.nx-basket-result .nx-order-message:before {border-top: 0px solid #777; border-bottom: 16px solid #EFEFEF;  bottom:auto; top:-16px;}
.nx-basket-result .nx-order-message:after  {border-top: 0px solid #777; border-bottom: 18px solid #777;     border-left: 9px solid transparent; border-right: 9px solid transparent;  bottom:auto; top:-18px; right:29px;}

.nx-basket-small .basket_total_sum {
	font-weight: bold;
	color: #3c3333;
	text-transform: uppercase;
	padding: 5px;
	border-top: 1px solid #d9d9d9;
}

.nx-basket-small .basket_total_sum .r {
	font-size: 17px;
}

#NXadaptiveNavigation .nx-basket-state {
	position: relative;
	top: inherit;
	left: inherit;
	right:inherit;
	height: 100%;
	width: 50px;
}

.wrap_cart {
    margin-left: 48px;
    position: relative;
    margin-right: 5px;
}

.link-to-basket:before {
	content: '';
	position: absolute;
	left: -5px;
	width: 34px;
	bottom: 2px;
	height: 34px;
	background-size: 100%;
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjQ4cHgiIGhlaWdodD0iNDhweCIgdmlld0JveD0iMCAwIDI0IDI0IiBhcmlhLWxhYmVsbGVkYnk9ImNhcnRJY29uVGl0bGUiIHN0cm9rZT0iIzAwMmMzZSIgc3Ryb2tlLXdpZHRoPSIxIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIiBzdHJva2UtbGluZWpvaW49Im1pdGVyIiBmaWxsPSJub25lIiBjb2xvcj0iIzIzMjlENiI+IDx0aXRsZSBpZD0iY2FydEljb25UaXRsZSI+Q2FydDwvdGl0bGU+IDxwYXRoIGQ9Ik02IDZoMTVsLTEuNSA5aC0xMnoiLz4gPGNpcmNsZSBjeD0iOSIgY3k9IjE5IiByPSIxIi8+IDxjaXJjbGUgY3g9IjE4IiBjeT0iMTkiIHI9IjEiLz4gPHBhdGggZD0iTTYgNkgzIi8+IDwvc3ZnPg==");
}

.nx-basket-state u {
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	display: block;
	width: 24px;
	height: 24px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	text-align: center;
	line-height: 24px;
	position: absolute;
	z-index: 10;
}

.nx-basket-byer .td_count,
.nx-basket-byer .td_price {
	display: none;
}

.nx-basket-small .btn-wrap {
    padding: 0 15px 15px;
}

.btn.shop-basket:before {
	content: '';
	display: inline-block;
	background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMywgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9ItCh0LvQvtC5XzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA0MS4zIDMyLjciIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQxLjMgMzIuNzsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOm5vbmU7c3Ryb2tlOiNGRkZGRkY7c3Ryb2tlLXdpZHRoOjI7c3Ryb2tlLWxpbmVjYXA6c3F1YXJlO30KPC9zdHlsZT4KPHRpdGxlICBpZD0iY2FydEljb25UaXRsZSI+Q2FydDwvdGl0bGU+CjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik05LjUsMi4yaDMwbC0zLDE4aC0yNEw5LjUsMi4yeiIvPgo8Y2lyY2xlIGNsYXNzPSJzdDAiIGN4PSIxNS41IiBjeT0iMjguMiIgcj0iMiIvPgo8Y2lyY2xlIGNsYXNzPSJzdDAiIGN4PSIzMy41IiBjeT0iMjguMiIgcj0iMiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNOS41LDIuMmgtNiIvPgo8L3N2Zz4K');
	margin-right: 10px;
	background-size: contain;
	background-repeat: no-repeat;
	width: 30px;
	height: 22px;
	margin-bottom: -5px;
}

@media only screen and (max-width: 1170px) {
	#NXadaptiveNavigation .nx-basket-state.active-basket-state{
		padding-top:10px;
	}
	.nx-basket-state .h1 {display: none;}
	.nx-basket-state .go {display: none;}
	.nx-basket-state b {margin-top: 10px;}
	.nx-basket-small-inside{
		top:40px;
	}
}

@media only screen and (max-width: 1024px) {
	.nx-basket-state {
		height: 40px;
	}
	.nx-basket-state .icon-counter {
		top: -9px;
		right: 1px;
	}
	.nx-basket-state b {
		display: none;
	}
	.nx-basket-state:before {
		background-size: 89%;
		transform: translateY(0);
		bottom: 4px;
	}

    .wrap_cart {
        margin-left: 30px;
        margin-right: 25px;
    }
}

@media only screen and (max-width: 700px){
    .nx-basket-state:hover .nx-basket-small-inside {
        width: 100%;
        position: fixed;
        top: 50px;
    }
}

@media only screen and (max-width: 500px) {
	.nx-basket-state {
		margin-left: 12px;
	}
}
