* {
box-sizing: border-box;
}
.clear {
clear: both;
}
body {
font-family: 'Cuprum', sans-serif;
font-size: 1em;
background-color: gray;
height: 100%;
margin: 0 auto;
background-color: #333;
}
a {
text-decoration: none;
}
/*slideshow*/
.slider {
//margin: 0 auto;
text-align: center;
min-height: 550px;
width: 100%;
//overflow: hidden;
}
.slider .slide {
opacity: 0;
max-height:600px;
width:auto;
margin: 0 auto;
position: absolute;
//margin-left: auto;
//top: 0;
  right: 0;
  //bottom: 0;
  left: 0;

  margin: auto;
}
.slider .slide.active {
opacity: 1;
}
/*slideshow*/
#header {
  //position: relative;
//background-color: #f6b9b9;
//cursor: pointer;
background-image: url('angel.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
height: 250px;
//box-shadow: 8px 8px 2px 1px rgba(80, 80, 80, .6);
//overflow: hidden;
//margin-bottom: 20px;
border-bottom: 1px solid gray;
}
#head_line {
width: 100%;
height: 150px;
//vertical-align: bottom;
position: relative;
top: 70px;
background-color: rgba(50, 50, 50, 0.6);
text-align: center;
}
#menu {
  //width: 90%;
background-color: 0,0,0,0;
//height: 100px;
text-align: center;
//padding-right:160px;
}
#logo {
display: inline-block;
//position: relative;
top: 0px;
padding-left: 50px;
width: auto;
float: left;
cursor: pointer;
}
#menuholder {
  display: inline-block;
  float: left;
  margin-left: 0px;
//  position: relative;
  //z-index: 100;
}
#pg {
height: 75px;
width: 480px;
margin-top: 20px;
background-image: url('pg.png');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
float: right;
cursor: pointer;
}

#menu > ul {
  display: inline-block;
float: left;
  //vertical-align: middle;
  list-style-type: none;
  margin: 10px 0 0 10px;
  padding: 0;
  //color: rgba (255,255,255,0.8);
}
#menu > ul > li {
//  margin-top: 10px;
display: inline-block;
//color: rgba(255, 255, 255, 0.7);
color: #ff9933;
font-weight: bold;
font-size: 1em;
padding-left: 10px;
cursor: pointer;
//overflow: auto;
padding-bottom: 20px;
}
#menu > ul > li:hover {
color: white;
}
.sub {
  padding-left: 0;
    list-style-type: none;
    background-color: rgba(247, 147, 30, 0.9);
    min-width: 150px;
display: none;
position: absolute;
//margin-top: 15px;
//padding: 20px 20px 20px 20px;
//line-height: 30px;
font-size: 0.9em;
color: #333;
z-index: 1000;
}
.subli {
  color: #555;
padding: 10px 20px 5px 20px;
border-bottom: 1px solid #555;
text-align: left;
}
.subli a {
color: #222;
}
.subli:hover {
background-color: #555;
color: rgba(247, 147, 30, 1);
}
.subli a:hover {
  background-color: #555;
color: rgba(247, 147, 30, 1);
}

#criteria {
	float:right;
	//width: 200px;
	top: 5px;
}
#crit {
	//margin-top: -2px;
		font-size:16px;
		background-color: white;
		color:#444;
		display: inline-block;
		width: 150px;
		/*background: url('search.jpg') no-repeat;*/
}
#maglass {
	/*margin-top: 5px;*/
	//position: relative;
	float: right;
	top: 5px;
	display: inline-block;
	background: url('search.png') no-repeat bottom left;
	height: 20px;
	width: 20px;
}
#kill_crit {
	position: relative;
	top: 1px;
	right: 20px;
	font-weight: bold;
	color: white;
	font-size: 1.2em;
	display: inline-block;
	cursor: pointer;
	//display: none;
}
#result {
	display: none;
	margin-top: 5px;
	margin-left: -190px;
	padding-right: 10px;
	/*margin-left: 2px;*/
	min-width: 350px;
	max-height: 770px;
	overflow-x: auto;
	position: absolute;
	background-color: white;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	box-shadow: 0px 5px 7px #888888;
	z-index: 999;
}
#result a {
	text-decoration: none;
	color:#444;
	font-weight: bold;
	}

#container {
  padding-top: 20px;
//background-color: #fff;
background-image: url("container.jpg");
background-size: cover;
background-position: top;
background-repeat: no-repeat;
background-color: rgba(210,210,255, 0.8);
//position: relative;
//border: 1px solid red;
overflow: hidden;
}
#path {
  color: #333;
float: left;
//width: 100%;
padding-top: 15px;
padding-bottom: 15px;
padding-left: 1%;
display: none;
}
#path a {
text-decoration: underline;
font-weight: bold;
color: #333;
}
#sort {
color: #333;
float: right;
padding-top: 15px;
padding-bottom: 15px;
padding-left: 1%;
display: none;
}
#sort a {
text-decoration: underline;
font-weight: bold;
color: #333;
}
#aside {
//background-color: rgba(170,170,170,0.6);
color: #333;
min-height: 250px;
width:94%;
//float: left;
margin-bottom: 20px;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
border-bottom: 1px solid gray;
//border-radius: 35px;

text-align: left;
padding-right: 20px;
//box-shadow: 8px 8px 2px 1px rgba(80, 80, 80, .6);
//position: relative;
}
#content {
//background-color: #fff;
min-height: 1px;
width: 100%;
//float: right;
//position: relative;
//padding-left: 20px;
overflow: hidden;
//text-align: center;
//display: table;
//padding-left: 3%;
}

.item {
background-color: rgba(115, 115, 115, 0.3);
float: left;
width: 46%;
//max-height: 257px;
//min-width: 250px;
//margin-right: 1.5%;
margin-left: 20px;
//margin-right: 2%;
margin-bottom: 20px;
//position: relative;
text-align: center;
display: table;
padding-top: 15px;
padding-bottom: 15px;
//border-left: 1px solid rgba(150, 150, 150, .8);
//border-top: 1px solid rgba(150, 150, 150, .8);
//border-bottom: 1px solid #000;
border-radius: 5px;
//box-shadow: 8px 8px 2px 1px rgba(80, 80, 80, .6);
//overflow: hidden;
}
.item_row {
display: table-row;
}

.item_img {
  //height: 320px;
  width: 100%;
  max-width: 260px;
  display: table-cell;
  vertical-align: middle;
  //border-top: 1px solid #fff;

  //border-bottom: 1px solid #fff;
overflow: hidden;
/*  background-repeat: no-repeat;
  background-size:  contain;
  background-position: center;*/
}
.image {
  max-height: 225px;
  width: auto;
//width: 100%;
//height: auto;
//max-width: 400px;
vertical-align: middle;
//border-top: 1px solid #fff;
//border-radius: 30px;
//overflow: hidden;
}
.item_descr {
  padding-top: 10px;
  color: #333;
  display: table-cell;
  text-align: center;
  //color: white;
}
.item_text {
//display: table-cell;
}
.item_name {
font-size: 1.2em;
font-weight: bold;
height: 44px;
overflow: hidden;
}
.item_code {
font-size: 1em;
}
.item_price {
font-size: 1.3em;
font-weight: bold;
}
#nextpage {
  margin-left: 42%;
  //padding-bottom: 15px;
  font-size: 1em;
  display: inline-block;
  font-weight: bold;
  background-color: rgba(115, 115, 115, 0.3);
  padding: 10px;
  margin-bottom: 15px;
//margin: 0 auto;
}
#nextpage a{
text-decoration: none;
color: #333;
font-size: 1.2em;
font-weight: bold;
}
/*per item show*/
#single {
  width: 100%;
  //margin: 0 auto;
  margin-top: 40px;
min-width:400px;
//height: auto;
text-align: center;
overflow: hidden;
padding-bottom: 40px;
}
#single_content {
//width: 100%;
text-align: center;
//max-width: 900px;
margin: 0 auto;
}
#single_name {
//float: right;
font-size: 2em;
font-weight: bold;
padding-bottom: 15px;
}
#single_price {
font-size: 1.6em;
font-weight: bold;
padding-bottom: 15px;
}
#thumbs {
  //width: 100%;
max-width: 800px;
min-height: 5px;
margin: 0 auto;
text-align: center;
//position: absolute;
}
#comment {
  padding-top: 20px;
min-width: 400px;
width: 800;
min-height: 20px;
overflow: hidden;
}
#comment_cont {
width: 100%;
max-width: 550px;
margin: 0 auto;
text-align: left;
}
.simg:hover {
//border: 1px solid rgba(0 0 0 1);
}
.bimg {
margin: 0 auto;
}
input[type=button] {
  margin-top: 15px;
  float: right;
  font-family: 'Cuprum',sans-serif;
font-size: 1.1em;
font-weight: bold;
background-color: rgba(247, 147, 30, 1);
color: #555;
padding: 10px 20px 10px 20px;
border: 0 none;
}
input[type=button]:hover {
background-color: #555;
color: rgba(247, 147, 30, 1);
}
input[type=text] {
width: 450px;
}
input[type=textarea] {
width: 450px;
}
.ord_line {
  text-align: left;
margin-top: 15px;
float: right;
}
.par {
display: inline-block;
color: #444;
}
.par a {
	text-decoration: none;
	color: #444;
}
.val {
display: inline-block;
}
#footer {
background-color: #333;
//background-color: gray;
//overflow: hidden;
min-height: 150px;
width: 100%;
bottom: 0px;
padding-top: 50px;
padding-right: 100px;
padding-bottom: 25px;
text-align: right;
color: #999;
}
#comp {
padding-left: 10px;
padding-top: 25px;
float:left;
}
#map {
clear: none;
//clear: right;
margin-right: 250px;
}
#contacts {
  line-height: 30px;
float: right;
padding-bottom: 25px;
}
/*media smartph except desktops and notebooks*/
/*@media (min-width: 1220px) {
  #aside {
  width: 31%;
  }
  #content {
width: 75%;
  }
  .item {
    width: 22%;
      margin-left: 3%;
      margin-bottom: 25px;
  }
  .item_img {
    height: 260px;
  }
  #path {
padding-left: 3%;
  }
}*/
@media (max-width: 900px) {
#logo {
display: none;
}
#menuholder {
float: right;
margin-right: 20px;
//z-index: 999;
}
#menu > ul > li {
font-size: 1em;
}
#criteria {
	float:right;
	//width: 200px;
	top: 5px;
}
.item {
  width: 23%;
 min-width:280px;
    margin-left: 1%;
    margin-bottom: 25px;
}
.item_img {
  max-width: 200px;
//  min-width: 280px;
  overflow: hidden;
}
.image {
max-height: 140px;
width: auto;
//max-width: 220px;
}
#path {
padding-left: 1%;
}
}
/*media smartph except desktops and notebooks*/
@media (min-width: 1310px) {
  #header {
    margin: 0;
    width: 100%;
//position: fixed;
top: 0px;
//z-index: 100;
  }
  #menuholder {
//margin-left: 50px;
z-index: 1000;
  }
  #logo {
padding-left: 25%;
  }
  #menu > ul > li {
padding-left: 10px;
margin-left: 30px;
font-size: 1.4em;
  }
  .sub {
font-size: 0.9em;
  }
  #criteria {
	float:right;
	//width: 200px;
	top: 5px;
}
  #nextpage {
    margin-left: 45.5%;
    padding-bottom: 15px;
  //margin: 0 auto;
  }
  #aside {
  width: 25%;
  margin-top: 50px;
  margin-left: 0;
  margin-right: 0;
  float: left;
  text-align: right;
  border-bottom: 0px solid gray;

  //border-right: 1px solid gray;
  }
 #container {
//    position: relative;
//margin-top: 250px;
//z-index: 10;
  }

  #content {
width: 100%;
//border-left: 1px solid gray;
margin: 0 auto;
  }
  .item {
    width: 31%;
   min-width:270px;
   //min-height: 400px;
   //max-width: 90%;
      margin-left: 1.5%;
      margin-bottom: 25px;
  }
  .item_img {
  //  max-width: 95%;
  //  min-width: 260px;
    overflow: hidden;
  //  padding-left: 5px;
    //padding-right: 5px;
  }
  .image {
max-height: 280px;
width: auto;
max-width:95%;
//max-width: 220px;
  }
  #path {
    display: inline-block;
padding-left: 1.5%;
  }
  #catcomment {
    //display: inline-block;
padding-left: 1.5%;
padding-bottom: 10px;
font-size: 1.2em;
font-weight: bold;
width: 55%;
//text-decoration: underline;
//border-bottom: 1px solid black;
  }
  #sort {
display: inline-block;
padding-right: 100px;
  }
  #comp {
  padding-left: 150px;
  padding-top: 25px;
  float:left;
  }
  #map {
  clear: none;
  //clear: right;
  margin-right: 250px;
  }
}
