body {
	margin:0 auto;
	padding:0;
	max-width:1400px;
	font-family:'Open Sans',Arial,Helvetica,Verdana,sans-serif;
	font-size:14px;
	background-color:white;
	color: #333;
	line-height:1.3;
	}
.bold {font-weight:bold;}
.italic {font-style:italic;}
.inline, #header-logo, #header-center, div.stanki-used, #header-right  { display:inline-block; }
h1, h2, h3, h4, .center, p.foto, div.img-right, div.img-left, table.td-center td,
#header-logo, #header-center { text-align:center; }
img.foto, p.center img, div.stanki-used img {margin:5px;}
p {margin-top:12px;margin-bottom:12px;}
.middle, #header-logo, #header-center, #header-right  {vertical-align:middle;}
#header-logo { width:250px; padding:5px;} 
#header-center {
	font-size:125%;
	padding:0 10px;
}
#header-right { width:290px; }
@media screen and (max-width:575px) {
	#header-right {padding: 0 5px 22px 10px;}
}
@media screen and (max-width:640px) {
	#header-center {display:none;}
	#left {display:none;}
}
@media screen and (min-width:641px) and (max-width:900px) {
	#left {display:none;}
	#header-center { display:none; }
	}
@media screen and (min-width:901px) and (max-width:1099px) {
	#header-center { width:calc(100% - 600px); }
	p, li, td {font-size:16px;line-height:1.6;}
	}
@media screen and (min-width:1100px) {
	#header-center { width:calc(100% - 600px); }
	p, li, td {font-size:16px;line-height:1.6;}
	}
@media screen and (min-width:641px) {
	#header-right {text-align:right;}
	.col-2 { width:calc(50% - 15px); padding-right:10px; }
	.col-1-3 { width:calc(33% - 15px); padding-right:10px; }
	.col-2-3 { width:calc(66% - 15px); padding-right:10px; }
	.col-3 { width:calc(33% - 15px); padding-right:10px; }
	.col-4 { width:calc(25% - 15px); padding-right:10px; }
}
@media screen and (max-width:640px) {
	.col-2, .col-3, col-4 {width:100%;}
}
.max-width {width:100%;}
.max-width-500 {max-width:500px;}
p.right, td.right {text-align:right;}
.margin-0-auto {margin:0 auto;}

img.right {margin:7px 0 5px 10px;}


.margin-10-0 {margin:10px 0;}
.margin-0-10 {margin:0 10px;}
.sup {vertical-align: super;}
.sub {vertical-align: sub;}

h1, h2, h3 {color:#494848;}
h1 {
	font-size:23px;
	margin-top:23px;
	}
h2 {
	font-size:20px;
	margin-top:18px;
	}

h3 {
	font-size:18px;
	margin-top:16px;
	margin-bottom:6px;
	}	
	
a:link, a:hover, a:visited, .likeurl {
	color:#004d99;
	font-family:Arial, Tahoma;
}
a:link, a:visited { text-decoration:none; }
.likeurl {cursor: pointer;}
a:hover, .likeurl:hover {text-decoration:underline; }

img {
	max-width:100%;
	height:auto;
	width:auto;
}
.max-width {width:100%;}
.max-width-900 {max-width:900px;padding:0 5px;} 
.margin-10-auto {margin:10px auto;}
.background-gray {background-color:#f1f5f8;}
.top, #left, #center, #right {vertical-align:top;}
div.right, img.right {float:right;}

#header {
	background-repeat:repeat-x;
	background-position: center bottom;
	width:100%;
}
#menu-line {
	border-bottom:1px solid rgba(114,123,131,.2);
	}
#menu-line ul {
	list-style-type:none;
	margin:0 0 20px 0;
	padding:0;
	font-size:16px;}
#menu-line li {
	padding:5px;
	background:#f1f5f8;
	border:2px solid white;
	}
#menu-line a:link, #menu-line a:visited
{
	color:#474D54;
	text-decoration:none;
	}
#left a:link, #left a:visited { 
	display:block;
	font-weight:normal;
	}

#menu-line a:hover, #menu-line a:hover {
	text-decoration: underline;
	color:#004d99;
	}
#menu-line li {
	display:inline;
	padding:5px 10px;
	line-height:34px;
	white-space:nowrap;
}
#center {
	padding:0 10px;
	background-color:white;
	min-height:400px;}
div.footer-line {
	background:url(/template/i/bbg.gif) repeat-x;
	height:17px;
	}
div.left, img.left {float:left;}
img.left {margin:7px 10px 5px 0;} 
ul {
	margin-left:10px;
	padding-left:10px;
}
ol {
	margin-left:20px;
	padding-left:10px;
}
.clear {clear:both;}
.nowrap {white-space:nowrap;}

	
@media screen and (min-width:361px) {
	div.img-right {float:right;}
	div.img-right {margin:5px 0 5px 10px;}
	div.img-left {float:left;}
	div.img-left {margin:5px 10px 5px 0;}
	}
	
@media screen and (max-width:360px) {
	div.img-right, div.img-left {width:100%;}
	}

hr { color:#dedede; }


.block-right {
	text-decoration: none;
	background-color: #FFFFFF;
	border: 1px solid #999999;
	padding:5px;
	margin-top:5px;
}

.border-hover div {border:1px solid #dedede; margin:10px; padding:10px;}
.border-hover div:hover {border:1px solid #DC423B;}

.table-adaptive {overflow:auto;}
table.table, table.td-center {
	padding:5px;
	border: 1px double #EAEAEA
	}
table.td-center th, table.table th {
	padding:2px 10px;
	background-color:#EAEAEA;
	border: 1px solid #999999;
	}
table.td-border td {border: 1px double #EAEAEA;}
table.td-center td, table.table td {
	padding:2px 10px;
	vertical-align:top;
	}
table.td-center td.left, table.result td.left {text-align:left;}
tr.gray td, tr td.gray, table.gray tr:nth-child(2n) {background-color:#EAEAEA;}
table.table tr:hover {background-color: #F9E8A8;}

.padding5 {padding:5px;}
.max-width-video {max-width:700px; margin:10px auto;}
.video-adaptive{
 		position:relative;
 		padding-bottom:56.25%;
 		height:0;
 		overflow:hidden;
 }
.video-adaptive iframe,.video-adaptive object, .video-adaptive embed{
 position:absolute;
 top:0;
 left:0;
 width:100%;
 height:100%;
 }
 @media screen and (min-width:768px) {
	div.kav-col-2 {margin-left:5px;margin-right:5px;}
	div.kav-col-2 {width:calc(50% - 15px);}
 }
 
 div.stanki-used {
  width: 300px;
  margin: 8px;
  text-align: center;
  border: 2px solid #F1F1F1;
  padding: 10px;
  vertical-align: top;
  font-size:16px;
  line-height:1.6;  }

div.stanki-used a {
	color:#333;
}
div.stanki-used a:hover {
	color:#ee2737;
}
div.stanki-used:hover{
border: 2px solid #F1F1F1;
}

div.price-box {
padding: 1.5em 1em 1em;
background-color: #f1f5f8; }

div.price-box .price {
	font-weight:bold;
	font-size:150%;
	white-space:nowrap;
	margin-right:15px;
}
div.stanki-used .price {
	font-weight:bold;
	font-size:125%;
	white-space:nowrap;
}
.size125 {font-size:125%;}
.size150 {font-size:150%;}
.red {color:red;}
.button {
	background: #E63245;
	border-radius: 12px;
	border: 2px solid #E63245;
	color: #fff !important;
	font-weight: bold;
	font: 16px/26px Arial,Helvetica,sans-serif;
	padding: 8px 20px !important;
	text-align: center;
	text-decoration: none;
}
.top-24 {margin-top:24px;}
.top0 {margin-top:0;}
.green {color:#068851;} 
p.gray, td.gray, tr.gray td, span.gray {color:gray;}
.caps { text-transform: uppercase; }