﻿.ui-helper-hidden {
	display: none;
}
.ui-helper-hidden-accessible {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}
.ui-helper-reset {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	line-height: 1.3;
	text-decoration: none;
	font-size: 100%;
	list-style: none;
}
.nm-basket-wrapp .order_block{
	float: right;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
	content: "";
	display: table;
	border-collapse: collapse;
}
.ui-helper-clearfix:after {
	clear: both;
}
.ui-helper-clearfix {
	min-height: 0; /* support: IE7 */
}
.ui-helper-zfix {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	opacity: 0;
	filter:Alpha(Opacity=0); /* support: IE8 */
}

.ui-front {
	z-index: 100;
}


/* Interaction Cues
----------------------------------*/
.ui-state-disabled {
	cursor: default !important;
}


/* Icons
----------------------------------*/

/* states and images */
.ui-icon {
	display: block;
	text-indent: -99999px;
	overflow: hidden;
	background-repeat: no-repeat;
}


/* Misc visuals
----------------------------------*/

/* Overlays */
.ui-widget-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.ui-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: block;
	outline: none;
}
.ui-menu .ui-menu {
	position: absolute;
}
.ui-menu .ui-menu-item {
	position: relative;
	margin: 0;
	padding: 12px 18px 12px 14px;
	cursor: pointer;
	min-height: 0;
}
.ui-menu .ui-menu-item:before {
    display: none;
}
.ui-menu .ui-menu-divider {
	margin: 5px 0;
	height: 0;
	font-size: 0;
	line-height: 0;
	border-width: 1px 0 0 0;
}
.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
	margin: -1px;
}

/* icon support */
.ui-menu-icons {
	position: relative;
}
.ui-menu-icons .ui-menu-item {
	padding-left: 2em;
}

/* left-aligned */
.ui-menu .ui-icon {
	position: absolute;
	top: 0;
	bottom: 0;
	left: .2em;
	margin: auto 0;
}

/* right-aligned */
.ui-menu .ui-menu-icon {
	left: auto;
	right: 0;
}
.ui-selectmenu-menu {
	padding: 0;
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.ui-selectmenu-menu .ui-menu {
	overflow: auto;
	/* Support: IE7 */
	overflow-x: hidden;
	max-height: 250px;
	padding-bottom: 1px;
}
.view-block{
	float: left;
	clear: both;
	min-height: 100px;
	margin-bottom: 10px;
}
.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
	font-size: 1em;
	font-weight: bold;
	line-height: 1.5;
	padding: 2px 0.4em;
	margin: 0.5em 0 0 0;
	height: auto;
	border: 0;
}
.ui-selectmenu-open {
	display: block;
}
.ui-selectmenu-button {
	display: inline-block;
	overflow: hidden;
	width: 100% !important;
	position: relative;
	text-decoration: none;
	cursor: pointer;
	background-image: url(//images/select-arrow.png);
	background-repeat: no-repeat;
	background-position: 95%;
}
.ui-selectmenu-button span.ui-icon {
	right: 0.5em;
	left: auto;
	margin-top: -8px;
	position: absolute;
	top: 50%;
}
.ui-selectmenu-button span.ui-selectmenu-text {
	text-align: left;
	display: block;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Component containers
----------------------------------*/
.ui-widget {
	font-family: Arial,Helvetica,sans-serif;
	font-size: 1em;
}
.ui-widget .ui-widget {
	font-size: 1em;
}
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
	font-family: Arial,Helvetica,sans-serif;
	font-size: 1em;
}
.ui-widget-content {
	border: 1px solid #dddddd;
	background: #ffffff;
	color: #333333;
}
.ui-widget-content a {
	color: #333333;
}
.ui-widget-header {
	border: 1px solid #dddddd;
	background: #e9e9e9;
	color: #333333;
	font-weight: bold;
}
.ui-widget-header a {
	color: #333333;
}

/* Interaction states
----------------------------------*/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
	border: 1px solid #d0d3d4;
	background-color: #fff;
	color: black;
	padding: 11.5px 12px;
	outline: 0 !important;
}
.ui-state-default a,
.ui-state-default a:link,
.ui-state-default a:visited {
	color: #454545;
	text-decoration: none;
}
.ui-menu-item.ui-state-focus {
	border: 1px solid #cccccc;
	background: #ededed;
	font-weight: normal;
	color: #2b2b2b;
}
.ui-menu-item.ui-state-active {
	border: 1px solid #003eff;
	background: #007fff;
	font-weight: normal;
	color: #ffffff;
}

/* Interaction Cues
----------------------------------*/
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
	border: 1px solid #dad55e;
	background: #fffa90;
	color: #777620;
}
.ui-state-highlight a,
.ui-widget-content .ui-state-highlight a,
.ui-widget-header .ui-state-highlight a {
	color: #777620;
}
.candy-table{
	width: 500px;
	table-layout: fixed;
	border-collapse: collapse;
}
.candy-table td{
	vertical-align: middle;
	border-bottom: 1px solid #d0d3d4;
}
.candy-table td{
	width: 40%;
	padding: 10px;
}
.candy-table td:first-child{
	width: 14%;
	
}
.candy-table td img{
	max-width: 100%;
	height: auto;
	-webkit-transition: transform .3s ease-in-out;
	-moz-transition: transform .3s ease-in-out;
	transition: transform .3s ease-in-out;
	position: relative;
}
.candy-table td img:hover{
	-webkit-transform: scale(6);
	-moz-transform: scale(6);
	-o-transform: scale(6);
	transform: scale(6);
	z-index: 101;
}
 .constructor_block .candy-table input{
	width: 70%;
}
.ui-state-error,
.ui-widget-content .ui-state-error,
.ui-widget-header .ui-state-error {
	border: 1px solid #f1a899;
	background: #fddfdf;
	color: #5f3f3f;
}
.ui-state-error a,
.ui-widget-content .ui-state-error a,
.ui-widget-header .ui-state-error a {
	color: #5f3f3f;
}
.ui-state-error-text,
.ui-widget-content .ui-state-error-text,
.ui-widget-header .ui-state-error-text {
	color: #5f3f3f;
}
.ui-priority-primary,
.ui-widget-content .ui-priority-primary,
.ui-widget-header .ui-priority-primary {
	font-weight: bold;
}
.ui-priority-secondary,
.ui-widget-content .ui-priority-secondary,
.ui-widget-header .ui-priority-secondary {
	opacity: .7;
	filter:Alpha(Opacity=70); /* support: IE8 */
	font-weight: normal;
}
.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
	opacity: .35;
	filter:Alpha(Opacity=35); /* support: IE8 */
	background-image: none;
}
.ui-state-disabled .ui-icon {
	filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */
}

/* Icons
----------------------------------*/

/* states and images */
.ui-icon {
	width: 16px;
	height: 16px;
}
.ui-icon,
.ui-widget-content .ui-icon {
	background-image: url("/images/ui-icons_444444_256x240.png");
}
.ui-widget-header .ui-icon {
	background-image: url("/images/ui-icons_444444_256x240.png");
}
.ui-state-default .ui-icon {
	background-image: url("/images/ui-icons_777777_256x240.png");
}
.ui-state-hover .ui-icon,
.ui-state-focus .ui-icon {
	background-image: url("/images/ui-icons_555555_256x240.png");
}
.ui-state-active .ui-icon {
	background-image: url("/images/ui-icons_ffffff_256x240.png");
}
.ui-state-highlight .ui-icon {
	background-image: url("/images/ui-icons_777620_256x240.png");
}
.ui-state-error .ui-icon,
.ui-state-error-text .ui-icon {
	background-image: url("/images/ui-icons_cc0000_256x240.png");
}

/* Overlays */
.ui-widget-overlay {
	background: #aaaaaa;
	opacity: .3;
	filter: Alpha(Opacity=30); /* support: IE8 */
}
.ui-widget-shadow {
	margin: 0px 0 0 0px;
	padding: 5px;
	background: #666666;
	opacity: .3;
	filter: Alpha(Opacity=30); /* support: IE8 */
	border-radius: 8px;
}
#f_l{
	width: 100%;
}
#f_l > div select, input[type="text"], input[type="submit"], #candy, #result, #done, .order_block, .constructor_block{
	clear: both;
	float: left;
	margin: 5px 0;
}
#f_l > div p{
	margin: 0px !important;
}
.min_mess, .max_mess{
	display: none;
	color: red;
}
.price_block, .order_block{
	display: none;
}
.constructor_block{
	max-width: 63%;
}
.constructor_block input,
.order_block input{
	padding: 12px 18px 12px 14px;
	border: 1px solid #d0d3d4;
	outline: 0;
	color: black;
	width: 280px;
}
.order_block input{
	width: 268px;
}
.order_block input[type="submit"]{
	width: 301px;
}
.nm-basket-wrapp{
	width: 100%;
	left: 0;
	position: absolute;
	z-index: 1;
}
.nm-basket-wrapp.fixed{
    position: fixed;
    top: 143px;
}
.nm-basket{
	background: #fff;
	border: 1px solid #d0d3d4;
	width: 300px;
	float: right;
}
.clearfix:after{
	content: "";
	display: block;
	height: 0;
	clear: both;
}
.select-item{
	float: left;
	clear: both;
	width: 288px;
}
.nm-basket__img img{
	/*max-width: 100%;*/
	max-width: 200px;
	max-height: 200px;
	margin-top: 10px;
}
.nm-basket__item{
	padding: 10px;
	-webki-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.nm-basket__item > div{
	width: 100%;
}
.pull-left{
	float: left;
}
.name-view{
	font-weight: bold;
	margin: 5px 0;
	color: black;
}
.pull-right{
	float: right;
}
.done-btn{
	display: block;
	width: 100%;
	color: black;
	outline: 0;
	cursor: pointer;
	border: 0;
	background-color: #e7e9ea;
	height: 40px;
	font-weight: 700;
}
.view-wrapp{
	list-style: none;
}
.view-wrapp li{
	float: left;
	margin: 4px 2px;
	width: 110px;
	height: 100px;
	text-align: center;
}
.view-wrapp li:before {
    display: none;
}
.table-block{
	display: table;
	width: 100%;
	height: 100%;
}
.block-vertical{
	display: table-cell;
	vertical-align: middle;
}
.view-wrapp li a{
	display: block;
	border: 2px solid transparent;
	position: relative;
	height: 100%;
}
.view-wrapp li a:hover,
.view-wrapp li a.active-type{
	border-color: #c03;
}
.view-wrapp li a.active-type:after{
	background: url(/images/ok.png) 10px 10px no-repeat #c03;
border-radius: 15px;
bottom: -10px;
content: " ";
height: 30px;
position: absolute;
right: -6px;
width: 30px;
z-index: 100;
}
.done-btn:hover{
	background-color: #d3d5d7;
}
.nm-basket-wrapp-container{
	width: 1066px;
	-webki-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: auto;
}
#container{
	overflow: inherit;
}
.constructor-content{
	position: relative;
	z-index: 2;
}
.nm-basket__img {
	text-align: center;
}
.not-valid{
	border: 1px solid red !important;
}
.nm-basket{
	display: none;
}
/*.nm-basket__item, .nm-basket__img{
	display: none;
}*/
.view-wrapp{	
	max-width: 500px;
}
@media(max-width: 1199px){
	.nm-basket-wrapp-container{
		width: 100%;
	}
}
@media(max-width: 767px){
	.constructor_block{
		max-width: 100%;
	}
	.nm-basket-wrapp{
		position: static;
	}
	.nm-basket{
		width: auto;
		float: none;
	}
	.candy-table{
		width: 100%;
	}
	.candy-table td:first-child{
		display: none;
	}
}