html {
	height: 			100%;
}
body, p, h1, h2, h3, h4, ul, li{
	padding: 			0;
	margin: 			0;
}
ul, li {
	list-style-type: 	none;
}
img, input, textarea, button, a {
	outline: 			none;
}
img {
	max-width: 100%;
	height : auto;
}
.size-full {
	width: 100%;
}
a img {
	border: 			none;
}
a {
	color: #0079bc;				/*#3399ff;*/
}
h1, p {
	line-height: 1.44em;
}
.lastRight {
	margin-right: 		0 !important;
}
.pullLeft {
	float: 				left;
}
.pullRight {
	float: 				right;
}
.clear {
	clear: 				both;
}
.clearfix {
    content: "";
    display: table;
    clear: both;
}
.red {
	color: red !important;
}
.red.zakazcount {
	background:#ffcccc;
	border-color:red;
}
.rel {
	position: relative;
}
.message, .message_w {
	color:					green;
	margin:					1em 5%;
	padding:				10px;
	background-color:		rgba(0, 255, 0, 0.1);
	border-color: 			green;
    border-radius: 			2px 2px 2px 2px;
    border-style: 			solid;
    border-width: 			1px;
    box-shadow: 			0 1px 3px 0 rgba(42, 48, 60, 0.19);
	
}
.message_error, .message_error_w {
	color:					red;
	margin:					1em 5%;
	padding:				10px;
	background-color:		rgba(255, 0, 0, 0.1);
	border-color: 			red;
    border-radius: 			2px 2px 2px 2px;
    border-style: 			solid;
    border-width: 			1px;
    box-shadow: 			0 1px 3px 0 rgba(42, 48, 60, 0.19);
	
}
.message_w, .message_error_w {
	margin:					0 0 25px 0;
}
body {
	font-size: 16px;
	background: #a2b2bf;
	color: #535c5e;
	font-family: 'PT Sans', arial;
}
.rbody {
	font: 75% Arial,Helvetica,sans-serif;
	color: #506367;
}
.wrapper {
	width: 100%;
}
.wpheader {
	background: #8399a6 url(images/bg_header.jpg) repeat-x;
	border-bottom: solid 1px #fff;
	height: 120px;
	margin-bottom: 2em;
}
.wpheader .container {
	height: 120px;

}
.container {
	width: 1140px;
	margin: 0 auto;
}
.header .logo {
    float: left;
    margin-top: 20px;
}
.header .nav {
    float: right;
}
.header .nav .header-contacts {
    float: right;
    margin-top: 15px;
	font-size: 105%;
}
.header .nav .header-contacts span {
	margin-left: 20px;
}
.header .navmain {
	margin-top: 12px;
	float: right;
}
.header .navmain li {
    float: left;
	background: url(images/menuseparator.png) no-repeat right center #fff;
	padding-right: 1px;
}
.header .navmain li.last {
	background: none;
	padding-right: 0;
}
.header .navmain a {
	color: #506367;
	display: inline-block;
	font-size: 110%;
	height: 47px;
	line-height: 47px;
	padding-top: 0;
	text-align: center;
	text-decoration: none;
	background: #fff;
	padding: 0 25px;
}
.header .navmain a:hover {
	color: #ef9701;
}
.wpheadbg {
	background: url(images/bg.jpg) no-repeat center center;
	height: 460px;
	color: #fff;
	padding-top:1px;
	margin-bottom: 40px;
}
h2 {
	font-weight: normal;
	font-size: 2em; 
	margin-bottom: 40px;
}
h3 {
	font-weight: normal;
	font-size: 1.8em; 
	margin-bottom: 0.5em;
}
h4 {
	font-weight: normal;
	font-size: 1.4em; 
	margin-bottom: 0.5em;
}
.wpfooter {
	background: url(images/bg_pagefunctions.gif) repeat-x center top;
	padding: 0px 0;
	border-top: solid 1px #fff;
}
.navfooter {
	float: left;	
}
.navfooter li {
	float: left;
	border-right: solid 1px #fff;
}
.navfooter a {
	display: inline-block;
	color: #fff;
	text-decoration: none;
	font-size: 0.8em;	
	padding: 0 20px;
}
.page {
	margin-bottom: 40px;
}
.pagecontent {
	width: 848px;
	background: #fff;
	float: left;
	min-height: 200px;
	padding: 20px 40px;
	box-sizing: border-box;
}
.pagecontent p {
	margin-bottom: 14px;
	line-height: 1.6em;
}
.sidebar {
	width: 262px;
	background: #fff;
	float: right;
	min-height: 200px;
	box-sizing: border-box;
}
.menucat {
	margin-bottom: 1em;
}
.menucat h3, h3.sidebarzag {
	width: 100%;
	box-sizing: border-box;
	color: white;
	background: #0079bc;
	font-size: 1.4em;
	padding: 0.4em 5%;
	margin-bottom: 0;
}
.menucat li {
	padding: 0.3em 5%;
	border-bottom: dotted 1px #a2b2bf;
}
.menucat a {
	text-decoration: none;
	line-height: 2em;
	display: block;
}
.menucat a:hover {
	text-decoration: underline;
}
.slicknav_menu {
	display: none;
}
.catitem {
    position: relative;
}
.box3 {
	width: 31.57%;
	margin: 0 0.85%;
	float: left;
	margin-bottom: 35px;
	box-sizing: border-box;
	padding: 0.8em 2%;
	text-align: center;
}
.box3:nth-child(3n+1) {
	clear: both;
}
.box3 a {
	display: block;
}
.wa_tovar {
	position: relative;
	width: 100%;
}
.editTovar {
    position: absolute;
    display: block;
    width: 12px;
    height: 12px;
    top: 0;
    right: 0;
    background: url(images/edit-tovar.png) no-repeat center center;
    opacity: 0.07;
}
.editTovar:hover {
    opacity: 0.5;
}
.ul_text {
	margin-bottom: 14px;
	line-height: 1.6em;
}

.product_img {
	width: 45%;
	float: left;
}
.product_descr_wrap {
	width: 45%;
	float: right;
}
.product_articul_vendor {
	margin-bottom: 1em;
}
.ostatki {
	margin-top: 1em;
}
.tbl-ostatki {
	width: 100%;
	border-spacing: 1px;
	font-size: 0.85em;
}
.tbl-ostatki td {
	padding: 0.3em 1%;
	text-align: center;
}
.tbl-ostatki thead {
	background:#0079bc;
	color: white;
	font-weight: bold;
}
.tbl-ostatki tbody tr:nth-child(odd) {
	background: #0079bc1a;
}
.btn {
	cursor: pointer;
	border: none;
	padding: 0.5em 5%;
	background: #0079bc;
	color: white;
	border-radius: 5px;
	display: inline-block;
	text-decoration: none;
}
.cartdel {
	color:red;
	text-decoration: none;
	font-size: 1.4em;
}
.tbl-ostatki td.partia {
	text-align: left;
	font-weight: bold;
}
.prj-block {
	margin-top: 2em;
	padding-bottom: 2em;
	border-bottom: solid 1px #ededed;
}
.prj-add-link {
	font-size: 16px;
	font-weight: normal;
}
.prj-block h3 {
	margin-bottom: 0;
}
.prj-block h2 {
	margin-bottom: 0;
	font-size: 1em;
	font-weight: bold;
}

/* ФОРМЫ НАЧАЛО */ 
textarea {
	font-size: 16px;
	font-family: 'PT Sans', arial;
}
input, select, textarea {
	font-size: 1em;
	padding: 0.5em 1%;
	box-sizing: border-box;
}
input[type='submit'] {
	cursor: pointer;
	border: none;
	padding: 0.5em 5%;
	background: #0079bc;
	color: white;
	border-radius: 5px;
	display: inline-block;
}
#formSearch input[type="text"] {
	width: 70%;
	border: 0;
	background: #ededed;
	box-sizing: border-box;
	padding-left: 10px;
}
#formSearch input[type="submit"] {
	width: 30%;
	border-radius: 0;
	background: #000;
}
#flog {
	margin: 3em 0;
}
.flog_input {
	margin-bottom: 0.7em;
}
#flog label {
	width: 10%;
	display: inline-block;
}
.flog_input input {
	font-size: 1em;
	padding: 0.1em 1%;
}
.flog_button input {
	border: none;
	padding: 0.5em 5%;
	background: #0079bc;
	color: white;
	border-radius: 5px;
	display: inline-block;
}
.add_prod_input {
	margin-top: 0.7em;
}
.add_prod_input label {
	display: block;
}
.add_prod_input input {
	width: 50%;
}
.add_prod_input input[name='itemcod'] {
	width: 30%;
}
.add_prod_input input[name='unit'],
.add_prod_input input[name="weight"] {
	width: 10%;
}


.add_prod_input input[name='name'], .add_prod_input textarea, .formproj textarea {
	width: 100%;
}
.add_prod_button {
	text-align: right;
	margin-top: 0.7em;
}
.add_prod_button input {
	
}

.formreg {
	margin: 2em 5%;
}
.formreg .formel {
	width:100%;
	margin-bottom: 1em;
}
.formreg label {
	display: block;
}
.formreg input, .formreg select {
	width:100%;
}
.formreg .flog_button input {
	background: #0cbc00;
}

.formaddtocart input[type="text"] {
	text-align: center;
	width: 40px;
	margin-right: 10px;
}
.formaddtocart input[type="submit"] {
	background: #005381;
}

.cartupdate input[type="text"] {
	text-align: center;
	width: 60px;
}
.cartupdate .blocksubmit {
	text-align: right;
}
.cartupdate input[type="submit"] {
	background: #0079bc;
	margin-top: 1em;
}

.blocksubmit .btn {
	margin-top: 1em;
	background: #0cbc00;
}



.makeorder div {
	float: left;
	padding: 10px 0;
	text-align: left;
}
.makeorder label {
	float: left;
	width: 200px;
}
.makeorder div input, .makeorder div textarea {
	float: left;
	width: 568px;
}
.makeorder input[type="submit"] {
	float: right;
	width: 568px;
}
/* ФОРМЫ КОНЕЦ */


/* Large Devices, Wide Screens */
@media screen and (max-width : 1200px) {
	
}



/* Medium Devices, Desktops */
@media screen and (max-width : 1200px) {
	.container {
		width: 1140px;
	}
}

/* Medium Devices, Desktops */
@media screen and (max-width : 1140px) {
	.container {
		width: 100%;
		box-sizing: border-box;
	}
	.pagecontent {
		width: 74.38%;
	}
	.sidebar {
		width: 22.98%;
	}
}

@media screen and (max-width : 1024px) {
	
}

@media screen and (max-width : 960px) {
	.container {
		padding-left: 2%;
		padding-right: 2%;
	}
	.wpheader .container {
		padding-left: 0;
		padding-right: 0;
	}
	.pagecontent {
		width: 100%;
		margin-bottom: 2em;
	}
	.sidebar {
		width: 100%;
	}
	

}

/* Small Devices, Tablets */
@media screen and (max-width : 768px) {
	.header .logo {
		display:none;
	}
	.wpheader .container  {
		padding-right: 2%;
	}
	.navmain {
		display: none !important;
	}
	.slicknav_menu {
		display: block;
	}
	body {
		padding-top: 50px;
	}
	.wpheader {
		height: 50px;
	}
	.pagecontent {
		padding: 20px;
	}
}

/* Extra Small Devices, Phones */
@media screen and (max-width : 480px) {
	
}

/* Custom, iPhone Retina */
@media screen and (max-width : 320px) {

}




