@font-face {
    font-family: HelveticaRegular; 
    src: url(../fonts/HelveticaRegular/helveticaregular.eot);
	src: url(../fonts/HelveticaRegular/helveticaregular.ttf);
	src: url(../fonts/HelveticaRegular/helveticaregular.woff);
}
@font-face {
    font-family: Din; 
    src: url(../fonts/DIN/dinnextcyr-light.otf);
}
@font-face {
    font-family: TrafaretKit; 
    src: url(../fonts/TrafaretKit/ofont.ru_trafaret-kit.ttf);
}
body {
	margin: 0;
	font-family: Din;
}
h1 {
	font-size: 2em;
	text-align: center;
}
.content {
	color: #fff;
}
.h .text {
	padding: 0 5px;
	background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAACCAYAAAAjIj5HAAAAtElEQVR4Xj2OCQqFQAxD67jj/c+ouO+ojPb7Ct9CSZc0qUzTpMMwaNM04FfXda3Lsmjf93och27bpvM823xdV+vbttVxHC27rgPZGZZlCReOaeLDnBqkZ0+NPj74wv8nM3hVVcEzf+e9F+ecxHEsz/PIfd+GSZJIFEWg9e9DoqpSFIW8T8lrIud5ShAE3NsuDEPZ912IPM/tDn2Cm+u6QObGz7KMPVr4omN+BP+kaQoy/377ATdD7oZ3AIHlAAAAAElFTkSuQmCC) 0 18px repeat-x;
	color: rgb(161,161,161)
}
.h h1 {
	background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG8AAAACCAYAAABWr4LkAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAeSURBVHjaYly4cMF/hlEwJAHjaOQNXQAAAAD//wMA/VwFxa3ZY8MAAAAASUVORK5CYII=) 0 18px repeat-x;
}
.header {
	background-color: rgb(243,168,7);
	text-align: center;
	transition: background-color 1s;
}
.sticky {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10;
	background-color: rgb(255,255,255,0.9);
	transition: background-color 1s;
}
.sticky + .title {
  margin-top: 108px;
}
.header .menu {
	width: 900px;
    margin: 0 auto;
    border-top: 2px solid;
	font-size: 1em;
}
.header .menu ul {
	margin: 0;
}
.header .menu ul li {
	font-weight: bold;
	display: inline-block;
	margin: 0 10px;
	padding: 10px 0;
	cursor: pointer;
	border-bottom: 2px solid rgb(243,168,7);
}
.sticky .menu ul li {
	border-bottom: 2px solid rgb(255,255,255,0.9);
	transition: border-bottom 1s;
}
.header .menu ul li a {
    text-decoration: none;
	color: inherit;
}
.header .menu ul li:hover {
	border-bottom: 2px solid rgb(255,255,255);
}
.sticky .menu ul li:hover {
	border-bottom: 2px solid rgb(243,168,7,0.9);
}
.header .logo {
	font-size: 1.5em;
	font-weight: bold;
    padding: 18px;
}
.header .logo a{
	text-decoration: none;
	color: inherit;
}
body>.title, .contacts-bg {
	background: no-repeat url(../images/image_zavod.png) center;
	height: 380px;
    text-align: center;
    vertical-align: middle;
	border-top: 4px solid black;
    border-bottom: 4px solid black;
}
body>.title .text, .contacts .title {
	font-family: TrafaretKit;
	font-size: 3.5em;;
	line-height: 380px;
	color: #fff;
}
span.gray {
	color: #999999;
}
.block, .about, .contacts, .catalog {
	width: 900px;
	margin: 0 auto;
}
.block.fullscreen {
	width: 100%;
	background-color: #626262;
	margin: 0;
}
.products .product {
	position: relative;
	margin-bottom: 30px;
}
.products .product>div {
	display: inline-block;
}
.products .image {
	width: 250px;
	height: 175px;
	background-position: center;
	background-size: cover;
	border: 4px solid rgb(243,168,7);
	border-radius: 10px;
	position: absolute;
	top: 25px;
}
.products .text {
	font-size: 24px;
	font-weight: bold;
	width: 580px;
	background-color: #626262;
	min-height: 155px;
}
.products .text p {
	margin: 0;
}
.products .product:nth-child(odd) .image {
	
} 
.products .product:nth-child(odd) .text {
	margin-left: 130px;
	padding: 40px 40px 40px 150px;
}
.products .product:nth-child(even) .image {
	right: 0;
}
.products .product:nth-child(even) .text {
	margin-right: 130px;
	padding: 40px 150px 40px 40px;
}
.products .clear {
	clear: both;
}
.about {
	padding: 20px 0 0 0;
}
.passports {
	padding-bottom: 50px;
}
.passports .passport {
	display: inline-block;
    width: calc(100% / 3.1);
    background-position: top center;
    background-size: 170px 170px;
    background-repeat: no-repeat;
    padding-top: 170px;
    vertical-align: top;
}
.passports .passport .title {
	text-align: center;
}
.passports .passport .text {
	text-align: center;
	font-size: 0.8em;
}
.works .work {
	display: inline-block;
    width: calc(100% / 3.3);
    background-position: center center;
    background-repeat: no-repeat;
    vertical-align: top;
	height: 214px;
	border: 4px solid rgb(243,168,7);
	margin: 0 20px 20px 0;
	background-size: cover;
}
.works .work:nth-child(3n) {
	margin: 0 0 20px 0;
}
.contacts-bg {
	height: auto;
}
.contacts {
	margin: 100px auto;
}
.contacts .title {
	line-height: 100px;
}
.contacts .elements .element {
	display: inline-block;
	vertical-align: top;
}
.element.map {
	width: 400px;
}
.element.address {
	text-align: left;
	width: calc(100% - 450px);
	font-size: 2.3em;
    font-weight: bold;
    margin-left: 20px;
}
.element.address>p {
	margin-top: 0.5em;
}
.catalog {
	display: flex;
	justify-content: space-between;
}
.catalog .block_catalog {
	margin-left: 20px;
}
.catalog .sidebar-left {
	width: 300px;
	height: 70vh;
	position: -webkit-sticky;
    position: sticky;
	top: 110px;
	background-color: #626262;
	box-shadow: 4px 4px 5px 1px rgb(72 72 72 / 70%);
}
.catalog .sidebar-left ul {
	padding: 15px;
	margin: 0;
}
.catalog .sidebar-left li {
	list-style-type: none;
	font-size: 0.9em;
}
.catalog .sidebar-left a {
	color: #fff;
    text-decoration: none;
}
.catalog .sidebar-left a:hover {
	color: rgb(243,168,7);
	transition: color 0.5s;
}
.catalog .block_catalog input {
	margin: 10px 0;
    float: right;
}
.catalog .block_catalog table {
	border-collapse: collapse;
	overflow: hidden;
	width: 100%;
}
.catalog .block_catalog table, th, td {
	border: 1px solid #a1a1a0;
}
.catalog .block_catalog table th {
	color: #fff;
    background-color: rgb(243,168,7);
}
.catalog .block_catalog table tr:nth-child(odd) td {
	background-color: #dcdcdc;
}
.catalog .block_catalog table th[colspan] {
	background-color: #fff;
	color: #000;
}
.catalog .block_catalog table>tbody>tr>td {
    padding: 10px;
    font-size: 14px;
    position: relative;
}
.catalog .block_catalog table>tbody>tr:hover {
    padding: 20px;
    background-color: rgb(254,213,122,0.6) !important;
}
.catalog .block_catalog tr:nth-child(odd) td:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: -5000px;
    width: 10000px;
    height: 100%;
    z-index: -10;
}
.catalog .block_catalog td:hover::after {
    content: "";
    position: absolute;
    background-color: rgb(254,213,122,0.6) !important;
    left: 0;
    top: -5000px;
    height: 10000px;
    width: 100%;
    z-index: -1;
}
.footer .row {
	width: 600px;
	margin: 0 auto;
}
.footer .form-block {
	display: inline-block;
	width: 50%;
	vertical-align: top;
}
.footer .clear {
	clear: both;
}
#antispam {
	display: none;
}
.footer .col-sm-10>input, .footer .col-sm-10>textarea {
    width: calc(100% - 5px);
    height: 35px;
    font-style: italic;
    padding: 10px;
	border: none;
}
.footer .col-sm-10>input {
	margin-right: 5px;
}
.footer .col-sm-10>textarea {
	height: 115px;
}
.footer .title {
	margin: 30px 0;
	font-size: 1.3em;
	text-align: center;
}
.footer .btn {
	height: 35px;
    width: 120px;
    border: none;
    background-color: #ffaa00;
	transition: background-color 1s;
    color: #fff;
	cursor: pointer;
	margin-right: 5px;
}
.footer .btn:hover {
	background-color: #FFBF40;
	transition: background-color 1s;
}
.footer .col-sm-offset-2 {
    text-align: right;
}
.footer .form-group input , .footer .form-group textarea{
	border: 2px solid #32384c;
    margin-bottom: 5px;
}
.footer .form-group.has-warning input, .footer .form-group.has-warning textarea{
    border: 2px solid #FF7400;
}