/*
Theme Name: Terex
Theme URI: http://bshepelev.com
Description: The theme for WordPress
Author: Shepelev Boris
Version: 1.a
*/

/* --- RESET ------------------------------------------------------------------------------------------------------------------------------------ */

* { border:0; margin:0; padding:0; outline: none; border-collapse: collapse; }

html, body, div, span, applet, object, iframe, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td { background: transparent; border: 0; margin: 0; padding: 0; vertical-align: baseline; }

body { line-height: 1; }

h1, h2, h3, h4, h5, h6 { clear: both; font-weight: normal; }

ol, ul {  }

blockquote { quotes: none; }

blockquote:before, blockquote:after { content: ''; content: none; }

del { text-decoration: line-through; }

table { border-collapse: collapse; border-spacing: 0; }

a img { border: none; }

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/

html,
body { 
	width:100%; 
	height:100%; 
	padding:0;
	margin:0;
}
	
body {
	font-family: Arial, sans-serif;
	font-weight:300;
	font-size:14px;
	line-height:20px;
	background:#FFF;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
   
.block {
	display:block;
	width:100%;
	clear:both;
	margin:0 auto;
	text-align:center;
}

.clear {
	width:100%;
	height:0px;
	clear:both;
}
   
.center {
	width:960px;
	padding:0;
	margin:0 auto;
	text-align:left;
}

.left { float:left; }
.right { float:right; }

.clear {
	width:100%;
	height:0px;
	clear:both;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/

#header { padding:/*35*/15px 0; }

#header .logo { width:337px; }

#header .logo a {
	display:block;
	width:337px;
	height:27px;
	background: url("../img/logo.png") no-repeat 0 0;
	text-indent:-9999px;
}

#header .logo p {
	font-size:16px;
	line-height:18px;
	color:#000000;
	width:300px;
	display:block;
	padding:15px 0 0 0;
}

#header .phone-menu {
	text-align:right;
}

#header .phone { 
	padding:0 0 15px 0; 
	font-size:18px;
	line-height:24px;
	color:#292929;
}

#header .phone b {
	font-weight:normal;
	color:#ed5c0a;
}

#header .phone a {	
	font-size:14px;
	line-height:14px;
	color:#000000;
	text-decoration:underline;
}

#header .phone a:hover { text-decoration:none; }

#header .phone-menu .right a {
	font-size:14px;
	line-height:21px;
	color:#ffffff;
	text-decoration:none;
	padding:5px 10px;
	text-transform: uppercase;
	background:#ef5f00;
}

#header .phone-menu .right a:hover { background:#000; }

#header .phone-menu .menu { padding:0 0 0 70px; }

#header .phone-menu .menu li {
	display:inline;
	list-style:none;
	margin:0 20px;
}

#header .phone-menu .menu li a {
	font-size:14px;
	line-height:14px;
	color:#000000;
	text-decoration:none;
	text-transform: uppercase;
	font-weight:bold;
}

#header .phone-menu .menu li a:hover { text-decoration:underline; }

#header .phone-menu .menu li.current-menu-item a { color:#f09113; }

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/

#slider-wrap { 
	background: url("../img/main-banner.jpeg") no-repeat center 0; 
	height:300px;
	margin:0 0 40px 0;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/

#map,
#maps { 
	height:480px; 
	overflow:hidden;
	margin:20px 0 0 0;
}

#form {
	height:458px;
	background: url("../img/background-contact.jpeg") no-repeat center 0;
	padding:50px 0 0 0;
}

#form h2.title {
	font-size:24px;
	line-height:24px;
	color:#FFF;
	text-align:center;
	display:block;
	text-transform: uppercase;
	font-weight:bold;
	background: url("") no-repeat center 100%;
	padding:0 0 10px 0;
	margin:0 0 30px 0;
}

#form .wpcf7 { 
	text-align:center; 
	position:relative;
}

#form .wpcf7 h3 {
	font-size:17px;
	line-height:24px;
	color:#ffffff;
	text-align:center;
	display:block;
	text-transform: uppercase;
	font-weight:bold;
	padding:0 0 40px 0;
}

#form .wpcf7 p {
	position:relative;
	padding:10px 0;
}

#form .wpcf7 input.wpcf7-text {
	border:1px solid #FFF;
	padding:10px 20px;
	background:#FFF;
	font-size:16px;
	color:#292929;
	font-family:Arial;
	text-align:center;
	width:420px;
}

#form .wpcf7 input.wpcf7-submit {
	color:#FFF;
	font-size:21px;
	font-weight:bold;
	text-transform: uppercase;
	font-weight:bold;	
	font-family:Arial;
	background:#000;
	padding:15px 20px;
}

#form .wpcf7 input.wpcf7-submit:hover {
	background:#ef6000;
	cursor:pointer;
}

#form .wpcf7 i {
	font-style:normal;
	font-size:12px;
	line-height:18px;
	position:absolute;
	display:block;
	left:0px;
	bottom:-30px;
	text-align:center;
	width:100%;
	color:#FFF;
}

.wpcf7 span.wpcf7-not-valid-tip { display:none; }

#form .wpcf7 input.wpcf7-text.wpcf7-not-valid { border:1px solid #000; }

.wpcf7 .wpcf7-validation-errors {
	color:#000;
	display:block;
	text-align:center;
	font-size:15px;
	line-height:15px;
	position:absolute;
	left:0px;
	bottom:5px;
	width:100%;
}

.ajax-loader {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background:#FFF;
	position:relative;
	left:10px;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/

.tools {
	background:#ececec;
	padding:10px 20px;
}

.tools li {
	display:inline;
	list-style:none;
	margin:0 25px 0 0;
}

.tools li a {
	color:#000;
	text-decoration:underline;
	font-size:14px;
	padding:5px 0 5px 30px;
}

.tools li a:hover { text-decoration:none; }

.tools li:nth-child(1) a { background: url("../img/print.jpeg") no-repeat 0 0; }
.tools li:nth-child(2) a { background: url("") no-repeat 0 0; }
.tools li:nth-child(3) a { background: url("") no-repeat 3px 3px; }

#product { padding:0 0 30px 0; }

#product table { 
	width:960px; 
	display:block;
}

#product table thead td {
	font-size:12px;
	line-height:24px;
	color:#ffffff;
	background:#ee6b11;
	border:1px solid #FFF;
	padding:10px 0;
	text-align:center;
	vertical-align:middle;
	height:100px;
}	

#product table thead td span {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	display:block;
}

#product table tbody td {
	font-size:12px;
	line-height:22px;
	color:#292929;
	border:1px solid #bbc3c9;
	padding:10px;
	vertical-align:middle;
	background:#e4e4e4;
	text-align:center;
}

#product table tbody tr:nth-child(odd) td { background:#ededed; }

#product table tbody td:first-child { padding:0; }

#product table tbody td:first-child a {
	display:block;
	width:105px;
	height:105px;
	overflow:hidden;
}

#product table tbody td:nth-child(2) {
	font-size:18px;
	line-height:24px;
	color:#292929;
	font-weight:bold;
	text-align:left;
	text-transform: uppercase;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/

h1.title {
	font-size:24px;
	line-height:24px;
	color:#292929;
	text-align:center;
	display:block;
	text-transform: uppercase;
	font-weight:bold;
	background: url("") no-repeat center 100%;
	padding:0 0 10px 0;
	margin:0 0 30px 0;
}

.content {
	font-size:16px;
	line-height:24px;
	color:#222222;
	padding:0 0 30px 0;
}

.content p {
	display:block;
	padding:0 0 10px 0;
}

.page-template-page-contact-php .content {
	text-align:center;
	font-size:18px;
	line-height:24px;
	text-transform: uppercase;
	font-weight:bold;	
	color:#292929;
}

.home .content h1,
.home .content h2 {
	font-size:24px;
	line-height:24px;
	color:#292929;
	text-align:center;
	display:block;
	text-transform: uppercase;
	font-weight:bold;
	background: url("") no-repeat center 100%;
	padding:0 0 10px 0;
	margin:50px 0 30px 0;
}

.home .content h2:first-child { margin:0 0 30px 0; }

.home .content .left { width:220px; }
.home .content .right { width:740px; }

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/

#certificates { padding:20px 0 40px 0; }

.home #certificates { padding:20px 0 60px 0; }

#certificates .center {
	border:1px solid #ef6000;
	width:740px;
	padding:0 0 10px;
}

.page-template-page-certificates-php #certificates .center { padding:0 0 20px; }

#certificates .center h2 {
	font-size:24px;
	line-height:24px;
	color:#292929;
	display:block;
	text-transform: uppercase;
	font-weight:bold;
	margin:0 auto;
	padding:10px 0;
	background:#FFF;
	width:290px;
	text-align:center;
	position:relative;
	top:-22px;
}

#certificates .center .list {
	position:relative;
	width:960px;
	left:-110px;
}

#certificates .list .item {
	display:block;
	width:224px;
	float:left;
	margin:0 8px;
	position:relative;
}

.page-template-page-certificates-php #certificates .list .item { margin-bottom:20px; }

#certificates .list .item .content { 
	display:block;
	position:absolute;
	left:0px;
	bottom:0px;
	background: url("") no-repeat 0 0;
	height:89px;
	width:174px;
	font-size:11px;
	line-height:15px;
	color:#ffffff;
	padding:8px 10px 8px 40px;
}

#certificates a.all {
	color:#FFF;
	font-size:18px;
	font-weight:bold;
	text-transform: uppercase;
	font-weight:bold;	
	font-family:Arial;
	background:#000;
	padding:15px 0;
	text-decoration:none;
	margin:0 auto;
	display:block;
	width:210px;
	text-align:center;
	position:relative;
	top:33px;
}

#certificates a.all:hover {
	background:#ef6000;
	cursor:pointer;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/

#footer {
	background:#efefef;
	padding:30px 0;
}

#footer .logo { width:224px; }

#footer .logo a {
	display:block;
	width:224px;
	height:18px;
	background: url("../img/logo-bottom.png") no-repeat 0 0;
	text-indent:-9999px;
}

#footer .logo p {
	font-size:14px;
	line-height:18px;
	color:#39332e;
	display:block;
	padding:15px 0 0 0;
}

#footer .adress-phone { 
	width:420px; 
	margin:0 0 0 65px;
}

#footer .adress-phone p {
	font-size:12px;
	line-height:18px;
	color:#1f1812;
	display:block;
	padding:0 0 10px 0;
}

#footer .adress-phone p a {
	font-size:12px;
	line-height:18px;
	color:#ee5c00;
	text-decoration:underline;
}

#footer .adress-phone p a:hover { text-decoration:none; }

#footer .directions { width:210px; }

#footer .directions a {
	font-size:12px;
	line-height:18px;
	color:#ee5c00;
	text-decoration:underline;
}

#footer .directions a:hover { text-decoration:none; }