/*
Theme Name: TSK-Engineering v3.0
Theme URI: http://webkabinet.com/
Description: Тема специально создана для магазина «ТСК инжиниринг»
Author: Студия дизайна и верстки «Web Кабинет»™ 
Version: 2.0
. 
Licension: Лицензия на использование пренадлежит студии дизайна и верстки «Web кабинет»™. Все права защищены. Копирование запрещено.
.
*/

/*Стили с предыдущей версии*/
/* Общие служебные стили */
@import url(https://fonts.googleapis.com/css?family=Exo+2:400,300);
@import url(https://fonts.googleapis.com/css?family=Roboto:400,300);
@import url(https://fonts.googleapis.com/css?family=Scada:700,400);

/* Eric Meyer's CSS Reset */
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, 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,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
*{
	box-sizing:border-box;
}
body {
	line-height: 1;

}
ol, ul, li {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* End of Eric Meyer's CSS Reset */

html {
	height: 100%;

}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
body {
	font-family: 'Exo 2', sans-serif;
	height: 100%;
	background:#e5e5e5;
}
.wrapper {
    float: left;
	width: 100%;
	min-width: 960px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}


/* Header
-----------------------------------------------------------------------------*/
.header {
	height: 170px;
	padding: 20px;
	background: url(img/bg-header5.jpg) top center;
	box-shadow: 0 0 12px #666;
	border-bottom: 1px solid #fff;
	margin-bottom: 15px;

}

#logo{
	width: 376px;
	height: 83px;
	background: url(img/logo.png);
	margin: 0 auto;
}
.description-company{
	width: 444px;
	height: 54px;
	background: url(img/text-header.png);
	margin: 6px auto;

}
.hr-left{
	height: 1px;
	border-top: 2px  solid #fff;
	width: 44%;
	/* margin-top: 22px; */
	float: left;
	
}
.hr-right{
    height: 1px;
    border-top: 2px solid #fff;
    width: 44%;;
    float: right;
    clear: right;
    /* margin-top: 22px; */
}
.header-left-menu {
	/* background:#ccc; */
	height:20px;
	float:left;
	clear:left;
	margin-top:10px;
	width:37%;
	font-size:14px;
	font-weight: bold;
}
.header-left-menu li{
	float:left;
	margin-left: 20px;
	margin-bottom:20px;
}
.header-left-menu li:hover{
	text-shadow:0 0 12px #fff;
}
.phone{
	/* width:100px; */
	/*background:#ccc;*/
	height:20px;
	float:right;
	clear:right;
	margin-top:18px;
	margin-right:15%;
	text-align:center;
}
.phone-ba {
	font-weight: bold;
	font-style: italic; 
	font-size: 14px;
	margin-bottom:9px;
	float:right;
	clear:both;
	margin-right:30px;
}
.phone-numb {
	color:#ff0000;
	font-family: 'Scada', sans-serif;
	font-size:21px;
	font-weight:700;
	margin-top: 15px;

}
.phone-mc {
	color:#ff0000;
	font-family: 'Scada', sans-serif;
 	font-size: 19px;
 	font-weight: 700;
 	margin-bottom: 15px;
}
.smail {
	color:#0b2bd4;
	font-family: 'Scada', sans-serif;
	font-size:16px;
	font-weight:700;
}
.phone-bc {
    cursor:pointer;
	font-style: italic; 
	border-bottom: 1px dashed;
	font-size: 14px;
}


/* Middle
-----------------------------------------------------------------------------*/
.middle {
	width: 100%;
	padding: 0 0 100px;
	position: relative;
}
.middle:after {
	display: table;
	clear: both;
	content: '';
}
.container {
	width: 100%;
	float: left;
	overflow: hidden;
}
.content {
    position: relative;
    overflow: hidden;
    max-width: 1280px;
    min-width: 960px;
    /* padding: 30px 332px 0 332px; */
    margin: 0 auto;
}


/* Left Sidebar
-----------------------------------------------------------------------------*/
.left-sidebar {
	float: left;
	width: 220px;
	margin-left: -100%;
	position: relative;
	padding: 20px;
}


/* Right Sidebar
-----------------------------------------------------------------------------*/
.right-sidebar {
	float: left;
	width: 220px;
	margin-left: -220px;
	position: relative;
	padding: 20px;
}


/* Footer
-----------------------------------------------------------------------------*/
.footer {
    margin: -100px auto 0;
    min-width: 960px;
    height: 100px;
    background: #ccc;
    position: relative;
    padding: 20px 40px;
    clear: both;
}

/*Типы файлов для загрузки Word, Exel, PDF*/
a[href$=".docx"], a[href$=".doc"] {
    background-image: url(http://webkabinet.com/img/icon/word.png);
    padding-left: 43px;
    display: block;
    background-repeat: no-repeat;
    border-bottom:none;
      height: 43px;
   } 
a[href$=".pdf"] {
    background-image: url(http://webkabinet.com/img/icon/pdf.png);
    padding-left: 43px;
    display: block;
    background-repeat: no-repeat;
    border-bottom:none;
    height: 43px;
    line-height: 43px;
   }
a[href$=".xls"], a[href$=".xlsx"]{
    background-image: url(http://webkabinet.com/img/icon/excel.png);
    padding-left: 43px;
    display: block;
    background-repeat: no-repeat;
    border-bottom:none;
      height: 43px;
   }
   a[href$=".ppt"], a[href$=".pptx"]{
    background-image: url(http://webkabinet.com/img/icon/ppt.png);
    padding-left: 43px;
    display: block;
    background-repeat: no-repeat;
    border-bottom:none;
      height: 43px;
   }



.header-top-menu {
	font-size: 14px;
	width:100%;
	height:45px;
}
.menu-header-top-menu-container{
	float:left;
}
.header-top-menu ul {
    vertical-align: bottom;
    height: 100%;
    padding: 11px 0 11px 25px;
}
.header-top-menu li {
	display: inline-block;
	margin-right: 16px;
	border-bottom: 1px solid #808080;
}
.header-top-menu li a, .header-left-menu li a {
	text-decoration:none;
	color:black;
}

.search {
    background: #fff;
    float: right;
    width: 225px;
    height:25px;
    margin-top:10px;
    margin-right:10px;
}
 input[type="search"] {

    display: block;
    float: left;
    vertical-align: middle;
    border: none;
    outline: none;
    -webkit-appearance: none;
    color: #999999;
    font-style: italic;
    font-family: "Roboto";
    padding-left: 10px;
    width: 200px;
    height: 25px;
}
input[type="submit"] {
    width: 16px;
    height: 25px;
    border: none;
    background: url('img/search-btn.png') no-repeat 50% 50%;
}
h1.title_search {
    margin-bottom: 35px;
}
.news {
    max-width: 1200px;
    padding: 25px 0;
    text-align: center;
    margin: 0 auto;
}
.news-left-block {
    vertical-align: top;
    font-weight: 300;
    margin: 0 auto;
    font-size: 16px;
    text-align: left;
    padding: 0 0 30px 0;
    display: block;
    max-width: 850px;
    width: 74%;
}
.news-left-block p {
    line-height: 18px;
    margin-bottom: 10px;
}
.news-left-block .entry-title {
	margin-bottom: 10px;
	font-size:24px;
	color:#16477d;

}
.news-left-block .entry-content img{
	margin: 10px 0;
	width: 100%;
	height:auto;

}
/* Page */
.post-content {
    text-align:left;
    margin: 0 auto;
    width:80%;
}
 h1 {
    font-size:1.5em;
    margin: 15px 0 5px 0;
    font-weight: 700;
}
 h2 {
    font-size:1.3em;
    margin: 15px 0 5px 0;
    font-weight: 700;
}
h3 {
    font-size:1.17em;
    margin: 15px 0 5px 0;
    font-weight: 700;
}
 h5 {
    font-size:0.83em;
    margin: 15px 0 5px 0;
}
 h6 {
    font-size:0.67em;
    margin: 15px 0 5px 0;
}
 pre {
    font-family: Consolas, Monaco, monospace;
}
.post-content .title {
/*    padding-left:50px;*/
    font-size: 2em;
    color:#16477d;
    margin-bottom: 20px;
    padding-bottom: 7px;
    border-bottom: solid 1px #306fb5;
}
.post-content img.alignleft {
    margin: 15px 20px 15px 0;
    float: left;
}
.post-content img.alignright {
    margin: 15px 0 15px 20px;
    float:right;
}
.post-content img.aligncenter {
    margin: 15px auto 15px auto;
    display: block;
}
.post-content img.alignnone {
    display: block;
    margin: 15px 0;
}
.post-content strong {
    font-weight:700;
}
.post-content em {
    font-style:italic;
}
.post-content ul li{
    list-style-type: disc;
}
.post-content ol, .post-content ul {
    margin: 10px 0 10px 50px;

}
.post-content ol li {
    list-style-type:decimal;
}
.post-content li {
    line-height: 20px;
    display: list-item;
}
.post-content blockquote {
    background: #f7f7f7;
    border-left: 1px solid #bbb;
    font-style: italic;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
}
 
.post-content blockquote:before {
    color: #bbb;
    content: "\201C"; /* Непечатаемый символ слева */
    font-size: 3em;
    line-height: 0.1em;
    margin-right: 0.2em;
    vertical-align: -.4em;
}
 
.post-content blockquote:after {
    color: #bbb;
    content: "\201D"; /* Непечатаемый символ справа */
    font-size: 3em;
    line-height: 0.1em;
    vertical-align: -.45em;
}
 
.post-content blockquote > p:first-child {
    display: inline;
}
.entry p {
    line-height: 20px;
    margin-bottom: 10px;
}
.contact-info-content {
    min-height: 600px !important;
}
.entry-contact {
    position: relative;
    padding-right: 365px; 
}
.entry-contact p {
    line-height: 30px;
}
/* Модаьное окно */ 
#modal_form{
    border-radius: 5px;
    border: 1px #000 solid;
    background: #e5e5e5;
    position: fixed;
    top: 45%;
    left: 50%;
    margin-top: -165px;
    margin-left: -165px;
    display: none;
    opacity: 0;
    z-index: 155;
    padding: 10px 10px 5px 10px;
    box-shadow: 0 0 12px #000;
}
/* Кнопка закрыть для тех кто в танке) */
#modal_form #modal_close{
    line-height: 17px;
    background: #1f76d0;
    padding-left: 1px;
    border-radius: 10px;
    width: 21px;
    height: 21px;
    position: absolute;
    top: -12px;
    right: -11px;
    cursor: pointer;
    display: block;
    text-align: center;
    color: white;
}
/* Подложка */
#overlay{z-index:150;position:fixed;background: #333;opacity:0.5;width:100%;height:100%;top:0;left:0;cursor:pointer;display:none;}
#go{
    /* color:#fb970b; */
    text-decoration:none;
}
#go:hover{
    /* color:#16477d; */
}
/* Слайдер Карусель */
  .carousel-inner {
    margin: 15px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  .carousel-inner .item {
    max-height: 375px;
  }
.img-responsive,
 .thumbnail > img,
  .thumbnail a > img,
   .carousel-inner > .item > img,
    .carousel-inner > .item > a > img {
    display: block;
    width: 100%;
    height: auto;
}

/* Форма обратной связи*/
form.wpcf7-form::before #wpcf7-f437-p457-o1 {
    color: #16477d;
    font-size: 18px;
    text-align: center;
    position: absolute;
    width: 150px;
    margin-bottom: 15px;
    content: 'Обратная связь';
    left: 0;
    right: 0;
    top: -15px;
    margin: 0 auto;
    background: #e5e5e5;
}
form.wpcf7-form p {
    position: relative;
    display: inline-block;
}
span.span-em {
    color: #a7a4a4;
    margin-bottom: 10px;
    display: inline-block;
}
form.wpcf7-form label {
    color: #6f6f6f;
    width: 60px;
    position: absolute;
    left: -70px;
    line-height: 25px;
    text-align: right;
}
#wpcf7-f437-p457-o1 p {
    line-height: 17px;
    margin-bottom: 8px;
}
.entry-contact form.wpcf7-form {
    right: -50px;
    top: 0;
    /* float: right; */
    position: absolute;
    border: 1px solid rgba(0,0,0,0.50);
    border-radius: 10px;
    padding: 25px 25px 5px 25px;
    margin-top: 25px;
    /* margin: 0 auto; */
    width: 350px;
}
input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required, 
input.wpcf7-form-control.wpcf7-text,
input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) inset;
    border: 1px solid #c7c6c6;
    border-radius: 2px;
    width: 300px;
    display: block;
    float: none;
    vertical-align: middle;
    outline: none;
    -webkit-appearance: none;
    color: #999999;
    font-style: italic;
    font-family: "Roboto";
    height: 25px;
    padding-left: 10px;
    margin-top: 4px;
}
span.wpcf7-form-control-wrap {
    margin-bottom: 10px;
    float: left;
}
textarea.wpcf7-form-control.wpcf7-textarea {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) inset;
    border: 1px solid #c7c6c6;
    border-radius: 2px;
    width: 300px;
    display: block;
    float: none;
    vertical-align: middle;
    outline: none;
    -webkit-appearance: none;
    color: #999999;
    font-style: italic;
    font-family: "Roboto";
    padding-left: 10px;
    margin-top: 4px;
    padding:5px;
}
input.wpcf7-form-control.wpcf7-submit {
    border-top: 1px solid #027dd7;
    border-right: 1px solid #1f76d0;
    border-bottom: 1px solid #1f76d0;
    border-left: 1px solid #1f76d0;
    background: #95bae8;
    background: -moz-linear-gradient(top, #95bae8 0%, #1f76d0 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #95bae8), color-stop(100%, #1f76d0));
    background: -webkit-linear-gradient(top, #95bae8 0%, #1f76d0 100%);
    background: -o-linear-gradient(top, #95bae8 0%, #1f76d0 100%);
    background: -ms-linear-gradient(top, #95bae8 0%, #1f76d0 100%);
    background: linear-gradient(to bottom, #95bae8 0%, #1f76d0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$top', endColorstr='$btm',GradientType=0 );
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    padding: 4px 7px 5px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 1px;
    text-shadow: 0 1px 0 #1f76d0;
    margin: 0;
    cursor: pointer;
    min-width: 110px;
    outline: 0;
}
div.wpcf7-validation-errors {
    border: 0;
    color: red;
}
div.wpcf7-mail-sent-ok {
    border: 0;
    color: #20a157;
}

.decor .wpcf7 {
    width: 300px;
    margin:0 auto;
}
.decor span.title {
    color: #5f5f5f;
    display: inline-block;
    font-size: 18px;
    margin-bottom: 12px;
    /* display: block; */
    margin-right: 10px;

}
.decor input[type="number"]{
    width: 85px;
}
.decor input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required,
.decor input.wpcf7-form-control.wpcf7-text,
.decor input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required,
.decor input.wpcf7-form-control.wpcf7-number.wpcf7-validates-as-number
 {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) inset;
    border: 1px solid #c7c6c6;
    border-radius: 2px;
    width: 300px;
    display: block;
    float: none;
    vertical-align: middle;
    outline: none;
    -webkit-appearance: none;
    color: #999999;
    font-style: italic;
    font-family: "Roboto";
    height: 25px;
    padding-left: 10px;
}
.decor textarea.wpcf7-form-control.wpcf7-textarea {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) inset;
    border: 1px solid #c7c6c6;
    border-radius: 2px;
}
.decor input.wpcf7-form-control.wpcf7-submit {
    background: #2b7bb9;
    text-transform: uppercase;
    color: white;
    text-align: center;
    box-shadow: none;
    border: none;
    width: 100%;
    cursor: pointer;
}
input.wpcf7-form-control.wpcf7-number.wpcf7-validates-as-number.countProductsForm {
    width: 85px;
 }

.wrapper-center-menu {
    padding: 0 20px;
    margin: 0 auto 25px auto;
}
.wrapper-center-menu ul {
/* 	height:280px; */
	text-align:center;
}
.wrapper-center-menu>ul>li {
	vertical-align: top;
    margin-right: 0.5%;
    width: 19.20%;
    max-width: 320px;
    display: inline-block;
}
.wrapper-center-menu ul li ul {
    margin-top: 9px;
	padding-left:15px;
	text-align: left;
}
.wrapper-center-menu ul li ul li a{
	text-shadow: 1px 1px 1px white;
	font-size:14px;
	text-decoration:none;
	color:#1a61a2;
}
.wrapper-center-menu ul li:nth-child(5) {
	margin-right:0;
} 
.center-menu-wrapper {
        padding: 2px 2px 0 2px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35),rgb(229, 229, 229));
    border-radius: 10px;
}
.center-menu {
    margin-right: 0.5%;
    /*margin-bottom: 15px;*/
    text-align: left;
    display: inline-block;
    padding: 10px 6%;
    width: 100%;
    /* min-height: 145px; */
    background:linear-gradient(to bottom, white,rgb(229, 229, 229));
    border-radius: 10px;
}
.center-menu-img {
    width: 100%;
    min-width: 167px;
    max-width:230px;
}
.center-menu p {
	font-size: 18px;
    /*margin-top: 5px;*/
}
.title_shop {
    padding-bottom: 7px;
    border-bottom: solid 1px #306fb5;
    color: #16477d;
    margin: 0 auto 95px auto;
    width: 765px;
}
table.table-shop {
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
    width: 765px;
    margin: 0 auto 0 auto;
}

td.table-name {
    width: 145px;
/*    padding-left: 10px;*/
}
td.table-sizes {
/*    padding: 0 15px;*/
    width: 415px;
}
.search_name {
    width: 760px;
    z-index: 1000;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.search_name a {
    text-decoration: none;
    border-radius: 3px;
    margin: 4px 4px;
    display: inline-block;
    background: rgba(48, 111, 181, 0.06);
    padding: 2px 5px;
    font-size: 14px;
}
.wrapper-taxonomy {
    vertical-align: middle;
    width: 765px;
    margin: auto;
}
.taxonomy {
    vertical-align: sub;
    margin-top: 25px;
    padding-bottom: 25px;
    height: 60px;
    float: none;
    border-bottom: 1px solid #c7c6c6;
    display: inline-block;
    position: relative;
   /* min-width: 837px;
     max-width: 900px; */
    /**/ width: 85%; 
    text-align: center;
    /* padding: 0 10px; */
}
.taxonomy h2{
    text-align: left;
    margin: 0;
    font-size: 16px;
    display: block;
    float: left;
    width: 125px;;
}
.taxonomy h2 span {
	font-weight: normal;
    text-decoration: none;
    text-shadow: 1px 1px 1px white;
    color: #1a61a2;
}
.taxonomy .param {
        font-family: arial;
    padding: 0 15px;
    min-width: 200px;
    float: left;
}
.thumb{
    left: -164px;
    top: -20px;
    position: absolute;
}
.param p {
	margin-top: 5px;
	font-size: 12px;
}
.thickness-product, .length-product, .width-product {
    font-weight: 700;
    text-align: left;
    float: left;
}
.content .buy, #buy {
    display: inline-block;
    width: 80px;
    height: 30px;
    vertical-align: top;
}
.quantity {
    vertical-align: top;
    margin-top: -5px;
    width: 80px;
    float: right;
    height: 30px;
}
.quantity img {
    margin: 0px 5px;
    width: 20px;
    height: 20px;
    float: left;
    cursor: pointer;
}
.weigher {
    display: inline-block;
    width: 14%;
    vertical-align: top;
}
.weigher span {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: -webkit-baseline-middle;
    vertical-align: middle;
}
span.minesElement img, span.plusElement img {
    border-radius: 21px;
    cursor: pointer;
}
.sum span {
    text-align: center;
    width: 100%;
    display: inline-block;
}
input.buy {
	color: #e5e5e5;
    border: none;
    padding: 5px 10px;
    background: url('img/button.png');
    background-position: left center;
    background-repeat: repeat-x;
    border-radius: 2px;
    box-shadow: 1px 1px 2px #444444;
    font-size: 15px;
    font-weight: 700;
    padding: 7px;
    text-align: center;
    cursor: pointer;
}
.buy  {
    display: none;
}
input.btn_sale {
    color: #e5e5e5;
    border: none;
    padding: 5px 10px;
    background: url('img/button.png');
    background-position: left center;
    background-repeat: repeat-x;
    border-radius: 2px;
    box-shadow: 1px 1px 2px #444444;
    font-size: 15px;
    font-weight: 700;
    padding: 7px;
    text-align: center;
    cursor: pointer;
}
.taxonomy .price-product {
    text-align: right;
    display: inline-block;
    vertical-align: middle;
    height: 115%;
    font-size: 16px;
    font-weight: 700;
    color: #FF0000;
    margin: 0 15px 0 0;
    width: 13%;


}
.cat-description {
    padding: 15px 0;
    width: 765px;
    display: block;
    margin: 0 auto;
        white-space: pre-line;
}
.footer-menu {
    display: inline-block;
    font-size: 14px;
    width: 200px;
    color: black;
}
.footer-menu li {
    margin-bottom: 5px;
}
.footer-menu li a {
    color: black;
    text-decoration: none;
}
.footer .about{
    color:#000;
    float:right;
    font-size:12px;
    margin-right:15px;
}
.footer .about a{
    text-decoration: underline;
    color:#000;
}
.footer .about-logo {
    margin-right: 15px;
    float: right;
    background: url('img/footer-logo.png') 2px no-repeat, #fff;
    width: 70px;
    height: 55px;
}
.counter{
    display:none;
}
/* Media */
@media screen and (max-width: 1440px) {
    .phone {
        margin-right: 1%;
    }
}
@media screen and (max-width: 1280px) {

#logo {
    background: url('img/logo-min.png');
    width:225px;
    height: 50px;
    margin: 15px auto 0 auto;
}
.description-company {
    background: url('img/text-header-min.png');
    width: 330px;
    height: 38px;
}
.hr-right, .hr-left {
    width:45%;
}
.phone-ba {
    margin-right:10px;
}
}