body{
	background:url(../images/bg.jpg) 50% 0 no-repeat #efefef!important;
}
img{
    max-width: 100%;
}
header{
	position: relative;
}
#header{
	background:#074e8e;	
}
/* Main navigation */
.menu{
	margin:0;
	padding:0;
	
}
#nav .menu{
	float:left;
}
#nav .menu li, #footer .menu li{
	float:left;
	margin:0 10px;
}
#nav .menu li a, #footer .menu li a{
	font-size:18px;
	font-weight:bold;
	color:#fff;
	text-decoration:none;
	text-shadow:1px 1px #111;
}
#nav .menu li a:hover, #nav .menu .active a{
	color:#137bda;
	text-shadow:1px 1px #000;
}
#nav{
	margin-top:23px;
}
#logo a {
	display:block;
	width:255px;
	height:51px;
	margin:9px 0;
}
#logo a img{
	width:255px;
	height:51px;
}
#content-top-line{
	background: url(../images/header.png) 50% 0 no-repeat #137bda;
	color:#fff;
	padding:20px 0 10px 0;
}
#content-top-line p, #footer p{
	margin-bottom:0;
	text-align:right;
}
#footer{
	color:#fff;
	background:#3D70D8;
	margin-top:20px;
}
/*#aside-left ul{*/
	/*padding:15px;*/
	/*background:#e1e1e1;*/
	/*margin-bottom: 20px;*/
/*}*/
#aside-left ul {
	background: rgba(51, 51, 51, 0.6);
	margin-bottom: 20px;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 3px;
}
.newsflash .news-create{
	font-weight: bold;
	margin-bottom: 10px;
}
.newsflash .readmore{
	display: block;
	text-align: right;
	margin-bottom: 30px;
}
#main{
	margin:25px 0;
	min-height: calc(100vh - 263px);
}
#content-top-line li{
	font-size:14px;
	line-height:1;
	padding:2px 0 2px 25px;
	background:url(../images/marker.png) 0 0 no-repeat;
	margin-bottom:7px;
}
#content-top-line ul{
	padding:0;
}
/*#aside-left li a{*/
	/*color:#3c3c3c;*/
	/*text-decoration:none;*/
/*}*/
#aside-left li a {
	color: #ffffff;
	text-decoration: none;
	padding: 9px 10px;
	display: block;
	font-size: 20px;
}
@media (max-width: 1259px){
	#aside-left li a{
		font-size: 14px;
	}
}
/*#aside-left li{*/
	/*margin-bottom:20px;*/
/*}*/
#aside-left li {
	border: 1px solid rgba(51, 51, 51, 0.6);
	transition: 0.3s;
	width: 100%;
}

.katalog article .nav.menu li {
	padding: 10px 5px;
}
.katalog article .nav.menu li:before {
	content: '';
	display: block;
	width: 30px;
	height: 30px;
	background: url('/images/Benzol-mini.png');
	float: left;
	margin-right: 5px;
}
.katalog article .nav.menu li a {
	line-height: 30px;
}
#aside-left li:hover, #aside-left li.active {
	background: rgba(51, 51, 51, 0.6);
}
#aside-left ul{
	margin-top:10px;
}
#aside-left ul li:last-child{
	margin-bottom:0;
}
/*.contacts{*/
	/*margin-top:25px;*/
	/*font-size:28px !important;*/
/*}*/
.contacts p{
	font-size:24px;
	font-weight:bold;
}
.vigoda tbody tr:nth-child(even) td,
.vigoda tbody tr.even td  {
  background: none;
}
#content-top-line a, #footer a{
	color:#fff;
}
#content-top-line a:hover, #footer a:hover{
	text-decoration:none;
}
#content-top-line .item-2 p, #footer-top-line .item-2 p{
	margin-right:30px;
}
#content-top-line .item-2 p a, #footer-top-line .item-2 p a{
    text-decoration:none;
}
#content-top-line .item-2{
	margin-top:7px;
}
#main .content-wrapper{
	overflow: auto;
}
#footer .content-wrapper{
	background: url(../images/footer.png) 0 0 no-repeat;
	padding:35px 0;
}
#footer .item-1{
	width:895px;
}
#footer .item-1 .menu{
	float:right;
}
#footer .item-2{
	width:265px;
}
.author{
	margin-top:50px;
	margin-right:20px;
}
#article img{
	margin:10px;
}
.pagination:after, .pagenav:after{
	content: "";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	overflow: hidden;
}
.pagination ul, .pagination li{
	float:left;
}
.pagination li{
	margin:5px;
}
.pagination a, .pagination span{
    display:inline-block;
    padding:0 10px;
}
.pagenav-prev{
	float:left;
}
.pagenav-next{
	float:right;
}
input, textarea{
	border:none;
	outline:none;
	padding:10px;
	font-size:14px;
	color:#333;
}
ul.breadcrumb {
	padding: 15px 0;
	font-size: 16px;
}

ul.breadcrumb li {
	display: inline-block;
}
ul.breadcrumb,ul.breadcrumb a {
	color: white;
	text-shadow: 1px 1px 3px #333333, -1px 1px 3px #333333, 1px -1px 3px #333333, -1px -1px 3px #333333;
	text-decoration: none;
	background: none;
}
.aiContactSafe_contact_form_field_right input, .aiContactSafe_contact_form_field_right textarea{
	border:1px solid #aaa;
}
.aiContactSafe_contact_form_field_right{
	margin-bottom:15px;
}
div#aiContactSafe_mainbody_2 textarea#aics_message{
	height:120px;
}
#aiContactSafeSendButton{
	cursor:pointer;
	background:#137bda;
	color:#fff;
	font-size:20px;
	box-shadow:1px 2px 3px rgba(0,0,0,0.6);
}
.mainPage #article .custom li{
	margin-top:20px;
}
.mainPage #article .custom ul{
	padding:0;
}
.mainPage #article .custom{
	background:#e2e2e2;
	padding:20px;
	margin-top:50px;
}
.mainPage #article .custom.new_products{
	background:none;
	margin-top:0;
	padding:0;
}
.mainPage #article .custom.new_products li{
	display:inline-block;
	border:1px solid #1164c2;
	margin:0 18px;
	background:#ededed;
}
.mainPage #article .custom.new_products ul{
	padding:0;
	margin-left:60px;
}
.mainPage #article .custom.new_products img{
	width:200px;
	height:200px;
}
#footer .articles{
    text-align: left;
}
.rsform input[type="text"] {
    width: 240px;
    border: 1px solid #aaa;
}
.rsform input.rsform-error,
.rsform .rsform-error {
    border: 1px solid #ff0000;
}
.rsform textarea {
    width: 240px;
    border: 1px solid #aaa;
    height: 120px;
}
.rsform-submit-button {
	cursor: pointer;
	background: #333;
	color: #fff;
	font-size: 20px;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 3px;
	font-family: 'PT Sans',Arial,sans-serif;
	padding: 5px 15px;
}
#main[data-page*="/kontakty"] aside#aside-left {
	display: none;
}

#main[data-page*="/kontakty"] article#article {
	width: auto;
	float: none;
	box-sizing: border-box;
	position: relative;
	margin-top: 50px;
}

#main[data-page*="/kontakty"] .item-page {
	position: absolute;
	background: white;
	z-index: 1;
	padding: 40px;
	left: 50px;
	top: 50%;
	transform: translateY(-50%);
	max-height: 70vh;
	overflow: auto;
	font-size: 16px;
	line-height: 20px;
	max-width: 400px;
}

div>ymaps {
	max-height: 80vh;
	height: 80vh!important;
}

#main[data-page*="/kontakty"] h1 {
	margin: 0 0 15px 0;
	padding: 0;
	font-size: 32px;
}

#main[data-page*="/kontakty"] .item-page a {
	font-size: 16px;
	line-height: 20px;
	font-weight: bold;
	color:black!important;
}
#main[data-page*="/delivery/"] h2 {
	padding: 10px 0;
	border-width: 2px 0 2px;
	border-color: #e2e2e2;
	border-style: solid;
	margin: 10px 0;
	font-size: 1.7rem;
}

#main[data-page*="/delivery/"] .item-page li {
	list-style-type: square;
	list-style-position: inside;
}

#main[data-page*="/delivery/"] .item-page li img {
	margin: 25px 0;
}

#main[data-page*="/delivery/"] .item-page ul {
	padding: 0;
	margin-bottom: 30px;
}
@media only screen and (min-width: 960px) and (max-width: 1259px){
	header .grid-1.item-2 nav li{
		margin: 0 15px!important;
	}
}
@media only screen and (min-width: 768px) and (max-width: 959px){
	.grid-4 {
		width: 203px!important;
	}

}
@media only screen and (max-width: 767px){
	#main[data-page*="/kontakty"] .item-page {
		position: static;
		background: transparent;
		padding: 0;
		max-width: unset;
		transform: none;
		margin-bottom: 15px;
	}

	#main[data-page*="/kontakty"] h1 {
		font-size: 24px;
	}

	#main[data-page*="/kontakty"] article#article {
		padding: 0 15px;
		margin: 0 10px;
	}
	div>ymaps{
		max-height:60vh;
	}
	.quiz__footer {
		flex-wrap: wrap;
	}
}