#content>nav {
	display: block;
	float: left;
}

#content nav ul, #content nav li {
	display: block;
	list-style: none;
}

#content a:not(.button) {
	display: block;
	color: #939aa6;
	font-size: 20px;
	font-weight: bold;
	font-family: calibri;
}

.table {
	display: table;
	width: 630px;
}

.table-row {
	display: table-row;
	width: 630px;
}

.table-cell {
	display: table-cell;
}

/**********************************************************************/
#side {
	width: 300px; height: auto;
	margin: 0; padding: 0;
	margin-right: 20px;
	
	text-align: left;
}

	/*SEARCH BAR*/
	#searchprod {
		display: block;
		width: 280px;
		margin: 0 10px;
		margin-bottom: 20px;
		color: #939aa6;
	}
	
		#searchprod > #searchProdInput {
			width: 180px;
			display: block;
			float: left;
			margin: 0;
		}
		
		#searchprod > #searchProdSubmit {
			display: block;
			margin-left: 3px;
			float: left;
		}
		
		#searchprod > div {
			font-size: 13px;
			font-style: italic;
			width: 180px;
		}
	
	/*LEVEL 1*/
	#side > ul {
		list-style: none;
		display: block;
		width: 300px; height: auto;
		margin: 0; padding: 0;
	}

		#side > ul > li.side_group {
			display: block;
			width: 300px;
			height: 22px;
			overflow: hidden;
			margin: 0;
			border-bottom: solid 2px #fff;
			position: relative;
		}
		
		#side > ul > li.side_group:after {
			content: '';
			display: block;
			width: 100%; height: 8px;
			position: absolute;
			left: 0; bottom: -2px;
			background: cyan;
			
			background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
			background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
			background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
			background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* IE10+ */
			background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C */
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
		}
		
		#side > ul > li.side_group:last-child { border: none; }
		
			#side > ul > li.side_group > span {
				display: block;
				margin:0; padding: 0;
				width: 300px;
			}
			
				#side > ul > li.side_group > span > span {
					display: block;
					padding: 0 10px;
					
					font-size: 18px;
					font-weight: bold;
					
					cursor: pointer;
				}
				
				#side > ul > li.side_group > span:hover > span,
				#side > ul > li.side_group > span > span:hover {
					margin-left: 1px;
					text-shadow: 2px 2px 5px;
				}
			
			/*LEVEL 2*/
			#side > ul > li.side_group > ul {
				display: block;
			}
			
				#side > ul > li.side_group > ul > li.side_sub {
					display: block;
					width: 300px;
					margin: 0;
					border-bottom: solid 1px #fff;
				}
				
				#side > ul > li.side_group > ul > li.side_sub:first-child { border-top: solid 1px #fff; }
				
				#side > ul > li.side_group > ul > li.side_sub > span {
					display: block;
					margin:0; padding: 0;
				}
				
					#side > ul > li.side_group > ul > li.side_sub > span > span {
						display: block;
						padding: 0 10px;
						margin-left: 10px;
						
						font-size: 14px;
						font-weight: bold;
						
						cursor: pointer;
					}
					
					#side > ul > li.side_group > ul > li.side_sub > span > span:hover,
					#side > ul > li.side_group > ul > li.side_sub > span:hover > span {
						margin-left: 11px;
					}
					
				#side > ul > li.side_group > ul > li.side_sub > ul {
					display: none;
				}
		
/**********************************************************************/		
#content > nav > #localization {
	font-size: 13px;
	text-align: left;
	color: #939aa6;
	margin-bottom: 20px;
}

	#content > nav > #localization > a:link, #localization > a:visited {
		display: inline;
		font-size: 13px;
		color: #6f90c2;
		text-shadow: 0px 0px 1px rgba(126, 163, 220, 0.1);
	}

	#content > nav > #localization > a:hover, #localization > a:active {
		color: #7C98C2;
		text-shadow: 0px 0px 4px rgba(141, 172, 220, 0.4);
	}

/**********************************************************************/
#group, #sub, #prod {
	display: block;
	width: 638px;
}

#group>ul li {
	position: relative;
	
	z-index: 20;
	
	width: 638px;
	height: 136px;
	
	margin-bottom: 30px;
}

#group>ul .image {
	position: absolute;
	overflow: hidden;
	
	z-index: 50;
	
	width: 200px;
	height: 136px;
	
	top: 0;
	left: 54px;
	
	background-color: #fff;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	
	-webkit-box-shadow: 0px 0px 5px rgba(209, 221, 240, 0.45);
	-moz-box-shadow:    0px 0px 5px rgba(209, 221, 240, 0.45);
	box-shadow:         0px 0px 5px rgba(209, 221, 240, 0.45);
}

#group>ul .image>img {
	display: block;
	width: 200px;
	max-height: 136px;
	margin: 0 auto;
}

#group>ul .block {
	position: absolute;
	
	z-index: 50;
	
	width: 340px;
	height: 136px;
	
	top: 0;
	left: 276px;
	
	background: rgb(236,241,249);
	background: -moz-linear-gradient(top,  rgba(236,241,249,1) 0%, rgba(209,221,240,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(236,241,249,1)), color-stop(100%,rgba(209,221,240,1)));
	background: -webkit-linear-gradient(top,  rgba(236,241,249,1) 0%,rgba(209,221,240,1) 100%);
	background: -o-linear-gradient(top,  rgba(236,241,249,1) 0%,rgba(209,221,240,1) 100%);
	background: -ms-linear-gradient(top,  rgba(236,241,249,1) 0%,rgba(209,221,240,1) 100%);
	background: linear-gradient(to bottom,  rgba(236,241,249,1) 0%,rgba(209,221,240,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ecf1f9', endColorstr='#d1ddf0',GradientType=0 );
	
	-webkit-box-shadow: 0px 0px 5px rgba(209, 221, 240, 0.45);
	-moz-box-shadow:    0px 0px 5px rgba(209, 221, 240, 0.45);
	box-shadow:         0px 0px 5px rgba(209, 221, 240, 0.45);
}

#group>ul .block span {
	display: table-cell;
	
	width: 275px;
	height: 136px;
	
	margin: 0;
	padding: 0 55px 0 10px;
	
	vertical-align: middle;
	text-align: left;
	
	background-image: url('./layout/light.png');
	background-repeat: no-repeat;
	background-position: 295px 40px;
}

#group>ul .block span span {
	display: inline-block;	
	margin: 0;
	padding: 0;
	
	text-align: left;
	font-size: 10px;
}

#group>ul a .stripe {
	position: absolute;
	
	z-index: 5;
	
	width: 638px;
	height: 43px;
	
	top: 47px;
	left: 0;
	
	background-color: #e3e3e3;
}

#group>ul a .stripe div {
	display: none;
}

#group>ul a:active .stripe div, #group>ul a:hover .stripe div {
	display: block;
	
	width: 638px;
	height: 43px;
}

/**********************************************************************/
#sub #group {
	width: 638px;
	
	margin: 15px 0;
	padding: 0;
	
	text-align: left;
	color: #000;
}

#sub #group h4 {
	margin: 0;
	padding: 0;
	font-size: 25px;
}

#sub #group div {
	float: left;
	margin: 0;
	padding: 0;
}

#sub #group .image {
	width: 160px;
	height: 120px;
	
	margin-top: 5px;
	
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}

#sub #group .description {
	width: 460px;
	padding: 5px;
	text-align: justify;
}


	#sub #prod_list {
		display: table;
		table-layout: fixed;
		
		width: 630px;
		margin-top: 20px;
		
		background-color: #fefefe;
		
		border-collapse: separate;/*must for: .table-cell padding: 0 5px;*/
		border-spacing: 2px;
	}
	
		#sub #prod_list > .prod_list_item {
			display: table-row;
			width: 630px; height: 50px;
			margin: 0; padding: 0;
			
			font-size: 13px;
			color: #939aa6;
			
			background-color: #f2f2f2;
		}
		
			#sub #prod_list > .prod_list_item > div {
				display: table-cell;
				height: 50px;
				vertical-align: middle;
			}
			
			#sub #prod_list > .prod_list_item:first-child {
				color: white;
				font-size: 16px;
				font-weight: bold;
				
				background-color: #d1ddf0;
			}
			
			#sub #prod_list > .prod_list_item > div:nth-child(3n+1)
				{ width: 60px; background-size: cover; background-position: center center; background-repeat: no-repeat; }
				
			#sub #prod_list > .prod_list_item > div:nth-child(3n+2)
				{ width: 410px; text-align: left; padding: 0 10px; }
			
			#sub #prod_list > .prod_list_item > div:nth-child(3n+3) { width: 140px; }

/**********************************************************************/
#prod table, #prod tr, #prod td {
	margin:0;
	padding:0;
	border:solid 1px #fff;
	border-spacing: 0;	
	
	color: #000/*939aa6*/;
	font-family: calibri;
	font-size: 15px;
}

#prod #nextprev #prev.button { float: left; margin-left: 10px; margin-bottom: 20px; }
#prod #nextprev #next.button { float: right; margin-right: 10px;  margin-bottom: 20px; }
#prod #nextprev #next.button:after { content: ''; clear: both; display: block; }

#prod #prodname {
	margin: 15px 0;
	color: #939aa6; 
	font-size: 20px;
	font-family: calbri;
}

#prod #prodname .table-row {
		vertical-align: center;
}

#prod #prodname .table-cell:first-child {
	width: 438px;
	text-align: left;
	font-size: 17px;
}

#prod #prodname .table-cell:last-child {
	width: 200px;
	
	color: #fff;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
}

#prod>table {
	display: block;
	clear: both;
	
	width: 638px;
}

#prod>table tr {
	width: 100%;
	height: 20px;
	font-size: 15px;
}

#prod>table tr:nth-child(2n){
	background-color: #fff;
}

#prod>table tr:nth-child(2n+1){
	background-color: #e2f0ff;/*****************************************/
}

#prod>table tr>td:first-child {
	width: 280px;
	padding: 0 10px;
	text-align: left;
}

#prod>table tr>td:last-child {
	width: 338px;
	text-align: center;
}

#prod #left {
	width: 300px;
	float: left;
}

#prod #order {
	float: left;
	
	width: 330px;
	/*height: 200px;*/
	
	margin-bottom: 30px;
	
	color: #000;
	background-color: #f6faff;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	
	background: rgb(226,240,255); /* Old browsers */
	background: -moz-linear-gradient(-45deg,  rgba(226,240,255,1) 0%, rgba(246,250,255,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(226,240,255,1)), color-stop(100%,rgba(246,250,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(-45deg,  rgba(226,240,255,1) 0%,rgba(246,250,255,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(-45deg,  rgba(226,240,255,1) 0%,rgba(246,250,255,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(-45deg,  rgba(226,240,255,1) 0%,rgba(246,250,255,1) 100%); /* IE10+ */
	background: linear-gradient(135deg,  rgba(226,240,255,1) 0%,rgba(246,250,255,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2f0ff', endColorstr='#f6faff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

	#prod #order form {
		text-align: left;
		margin: 20px 0 20px 40px;
		font-size: 15px;
		line-height: 150%;
	}
	
		#prod #order form label {
			width: 130px;
			display: inline-block;
		}
		
		#prod #order form input[type="number"] {
			width: 100px;
		}
		
		#prod #order form span.val {
			font-weight: bold;
			color: #6f90c2;
			text-shadow: 0px 0px 1px rgba(126, 163, 220, 0.1);
		}
		
		/* choose color */
		#prod #order form #choose_color {
			width: 155px; height: 20px;
			margin: 0; padding: 0;
			display: inline-block;
			position: relative;
		}
		
			#prod #order form #choose_color span {
				margin-right: 10px;
			}
			
			#prod #order form #choose_color img {
				height: 15px;
			}
			
			#prod #order form #choose_color ul, #prod #order form #choose_color ul li {
				display: none;
				list-style: none;
			}
			
			#prod #order form #choose_color:hover ul, #prod #order form #choose_color:active ul {
				display: block;
				width: 30px;
				padding: 3px 0;
				
				position: absolute;
				right: 0; top: 0;
				
				text-align: center;
				
				background: #fff;
				
				-webkit-border-radius: 3px;
				-moz-border-radius: 3px;
				border-radius: 3px;
				
				border: solid 1px #dedede;
				
				box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;
				-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;
				-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;

				transition: border 0.15s linear 0s, box-shadow 0.15s linear 0s;
				-webkit-transition: border 0.15s linear 0s, box-shadow 0.15s linear 0s;
				-moz-transition: border 0.15s linear 0s, box-shadow 0.15s linear 0s;
				-o-transition: border 0.15s linear 0s, box-shadow 0.15s linear 0s;
			}
			
			#prod #order form #choose_color ul:active, #prod #order form #choose_color ul:hover {
				border-color: rgba(41, 92, 161, 0.4);
				
				box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset, 0 0 8px rgba(41, 92, 161, 0.6);
				-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset, 0 0 8px rgba(41, 92, 161, 0.6);
				-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset, 0 0 8px rgba(41, 92, 161, 0.6);
				outline: 0 none;
			}
			
			#prod #order form #choose_color:hover ul li, #prod #order form #choose_color:active ul li {
				display: list-item;
			}
			
			#prod #order form #choose_color ul li:hover img, #prod #order form #choose_color ul li:active img {
				height: 17px;
			}
			
		/* prod note */
		#prod_note {
			display: block;
		}
		
		#prod_note span {
			cursor: pointer;
			color: #6f90c2;
			text-shadow: 0px 0px 1px rgba(126, 163, 220, 0.1);
		}
		
		#prod_note span:hover, #prod_note span:active {
			color: #7C98C2;
			text-shadow: 0px 0px 4px rgba(141, 172, 220, 0.4);
		}
		
		#prod_note textarea {
			display: none;
			margin-bottom: 5px;
			max-width: 250px; min-width: 250px;
		}

#prod #order:after {
	content: '';
	display: block;
	clear: both;
}

#prod #left div{
	width: 300px;
	height: 160px;
	
	background-color: #fff;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

#prod #colors {
	display: block;
	
	width: 90%;
	height: 22px;
	
	margin: 0 auto;
	padding: 0;
	padding-top: 2px;
	
	border: solid 1px #fff;
	border-spacing: 0;
}

#prod #colors, #prod #colors li {
	list-style: none;
	background-color: #fff;
}

#prod #colors li {
	display: inline;
	height: 18px;
}

#prod #colors img {
	height: 18px;
}

/* input type number */
input[type=number]::-webkit-inner-spin-button { 
    -webkit-appearance: none;
    cursor: pointer;
    display: block;
    width: 14px; height: 20px;
    color: #333;
    text-align: center;
    position: relative;
}

input[type=number]::-webkit-inner-spin-button:before,
input[type=number]::-webkit-inner-spin-button:after {
    content: "^";
    display: block;
    
    width: 14px; height: 10px;
    
    position: absolute;
    right: 0;
    
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    
	background: #7ea3dc;
	line-height: 130%;
	
	border-style: none;
	
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;
	
	transition: box-shadow 0.15s linear 0s, background 0.15s linear 0s;
	-webkit-transition: box-shadow 0.15s linear 0s, background 0.15s linear 0s;
	-moz-transition: box-shadow 0.15s linear 0s, background 0.15s linear 0s;
	-o-transition: box-shadow 0.15s linear 0s, background 0.15s linear 0s;
}

input[type=number]::-webkit-inner-spin-button:before:hover, input[type=number]::-webkit-inner-spin-button:before:active,
input[type=number]::-webkit-inner-spin-button:after:hover, input[type=number]::-webkit-inner-spin-button:after:active {
	background: #8dacdc;
	
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset, 0 0 8px rgba(41, 92, 161, 0.6);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset, 0 0 8px rgba(41, 92, 161, 0.6);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset, 0 0 8px rgba(41, 92, 161, 0.6);
}

input[type=number]::-webkit-inner-spin-button:before {
    top: 0px;
    
    -webkit-border-top-right-radius: 3px;
	-moz-border-radius-topright: 3px;
	border-top-right-radius: 3px;
}

input[type=number]::-webkit-inner-spin-button:after {
    bottom: 0px;
    
    -webkit-transform: rotate(180deg);
    
    -webkit-border-top-left-radius: 3px;
	-moz-border-radius-topleft: 3px;
	border-top-left-radius: 3px;
}
