/*
Theme Name: OknaPlus
Description: Тема для сайта оконной компании. Делалась под Брянск, две колонки, таблица цен.
Version: 2.1
Author: Артём Свиридов
Text Domain: oknaplus
*/

/* базовые сбросы, чтобы поля формы не вылезали за колонку */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
	background: #eeeeea;
	color: #2b2b2b;
	font: 15px/1.55 Arial, "Helvetica Neue", Helvetica, sans-serif;
}

a { color: #1a5490; }
a:hover { color: #c0392b; }
img { max-width: 100%; height: auto; }

.container {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 14px;
}

.clearfix:after { content: ""; display: table; clear: both; }

.row { margin: 0 -10px; }
.row:after { content: ""; display: table; clear: both; }
.col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-12 {
	float: left;
	padding: 0 10px;
	width: 100%;
}

@media (min-width: 760px) {
	.col-md-4 { width: 33.33%; }
	.col-md-5 { width: 41.66%; }
	.col-md-6 { width: 50%; }
	.col-md-7 { width: 58.33%; }
	.col-md-8 { width: 66.66%; }
}

/* верхняя служебная полоса */
.topline {
	background: #24405e;
	color: #cddaea;
	font-size: 12px;
	padding: 5px 0;
}
.topline a { color: #ffffff; }
.topline .tl-right { float: right; }

/* шапка */
.site-header_9a5fe6 {
	background: #ffffff;
	border-bottom: 3px solid #1a5490;
	padding: 12px 0 10px;
}
.site-header_9a5fe6 .logo { float: left; }
.logo-name {
	display: block;
	font-size: 25px;
	font-weight: bold;
	color: #1a5490;
	text-decoration: none;
	letter-spacing: -0.4px;
}
.logo-sub {
	display: block;
	font-size: 12px;
	color: #777;
	padding-top: 2px;
}
.head-phone {
	float: right;
	text-align: right;
	line-height: 1.25;
}
.head-phone a {
	font-size: 21px;
	font-weight: bold;
	color: #14416f;
	text-decoration: none;
	white-space: nowrap;
}
.head-phone span { display: block; font-size: 11px; color: #7a7a7a; }

/* меню */
.main-menu {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	clear: both;
	border-top: 1px solid #e2e2dc;
}
.menu-item { display: inline-block; }
.menu-item a {
	display: block;
	padding: 8px 14px 8px 0;
	color: #333;
	text-decoration: none;
	font-size: 15px;
}
.menu-item a:hover { color: #c0392b; text-decoration: underline; }
.current-menu-item a { color: #1a5490; font-weight: bold; }

.menu-toggle { display: none; }

/* содержимое */
.content { background: #ffffff; padding: 18px 0 24px; }
.block { padding: 8px 0 4px; }
.block-grey { background: #f6f6f3; border-top: 1px solid #e6e6e0; border-bottom: 1px solid #e6e6e0; padding: 16px 0 10px; }

h1 { font-size: 27px; line-height: 1.25; margin: 12px 0 12px; color: #1f1f1f; font-weight: bold; }
h2 { font-size: 21px; margin: 22px 0 10px; color: #1a5490; }
h3 { font-size: 17px; margin: 16px 0 7px; color: #333; }
p { margin: 0 0 11px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 5px; }

.lead { font-size: 16px; }
.note { font-size: 13px; color: #6b6b6b; }

/* кнопки */
.btn {
	display: inline-block;
	background: #1a5490;
	color: #fff;
	padding: 9px 18px;
	text-decoration: none;
	border: 1px solid #16467a;
	font-size: 15px;
	border-radius: 2px;
}
.btn:hover { background: #14416f; color: #fff; }
.btn-light {
	background: #fff;
	color: #1a5490;
	border: 1px solid #b9c7d6;
}
.btn-light:hover { background: #eef3f8; color: #14416f; }

/* таблица цен */
table.price {
	width: 100%;
	border-collapse: collapse;
	margin: 10px 0 14px;
	font-size: 14px;
}
table.price th, table.price td {
	border: 1px solid #d5d5cd;
	padding: 7px 9px;
	text-align: left;
	vertical-align: top;
}
table.price th { background: #eaeff4; font-weight: bold; }
table.price td.num { text-align: right; white-space: nowrap; }
table.price tr:nth-child(even) td { background: #fafaf7; }
.price-sum { font-weight: bold; color: #17507f; }

/* карточки-врезки */
.card {
	border: 1px solid #ddddd6;
	background: #fcfcfa;
	padding: 12px 14px;
	margin-bottom: 14px;
}
.card h3 { margin-top: 0; }

.callout {
	border-left: 4px solid #d9a441;
	background: #fdf7e9;
	padding: 10px 14px;
	margin: 14px 0;
}

.photo { margin: 0 0 12px; }
.photo img { border: 1px solid #ccccc4; padding: 3px; background: #fff; }
.photo .podpis { font-size: 12px; color: #767676; padding-top: 4px; }

/* шаги работы */
.steps { counter-reset: shag; list-style: none; padding-left: 0; }
.steps li {
	position: relative;
	padding: 0 0 10px 34px;
	margin-bottom: 4px;
}
.steps li:before {
	counter-increment: shag;
	content: counter(shag);
	position: absolute;
	left: 0;
	top: 1px;
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	background: #1a5490;
	color: #fff;
	font-size: 13px;
	border-radius: 12px;
}

/* вопрос-ответ */
.faq_364dcf dt { font-weight: bold; margin-top: 12px; color: #24405e; }
.faq_364dcf dd { margin: 4px 0 0; padding: 0; }

/* отзывы */
.otzyv {
	border-top: 1px dotted #ccccc2;
	padding: 10px 0 2px;
}
.otzyv .kto { font-size: 13px; color: #767676; }

/* подвал */
.site-footer_027321 {
	background: #24405e;
	color: #c3d0e0;
	padding: 18px 0 22px;
	font-size: 13px;
	margin-top: 10px;
}
.site-footer_027321 a { color: #ffffff; }
.site-footer_027321 h4 { color: #fff; font-size: 15px; margin: 4px 0 8px; }
.site-footer_027321 ul { list-style: none; padding-left: 0; }
.copyright {
	border-top: 1px solid #3a5878;
	margin-top: 12px;
	padding-top: 10px;
	color: #93a5bb;
	font-size: 12px;
}

@media (max-width: 759px) {
	.head-phone { float: none; text-align: left; padding-top: 8px; }
	.site-header_9a5fe6 .logo { float: none; }
	.logo-name { font-size: 21px; }
	h1 { font-size: 22px; }
	h2 { font-size: 19px; }
	.topline .tl-right { float: none; display: block; }
	table.price { font-size: 13px; }
	table.price th, table.price td { padding: 5px 6px; }
}

@media (max-width: 640px) {
	table { display: block; width: 100%; overflow-x: auto; }
}
