/*
Theme Name: Zhemchuzhina Dental
Theme URI: /wp-content/themes/zhemchuzhina/
Author: Артём Сазонов
Author URI: /o-teme/
Description: Тема для сайта стоматологической клиники. Делалась под конкретный проект, универсальности не обещаю.
Version: 1.4.2
Requires at least: 5.9
Tested up to: 6.4
License: GNU General Public License v2 or later
Text Domain: zhemchuzhina
Tags: медицина, стоматология, две-колонки, адаптивная
*/

/* ---- сброс и общее ---- */
* { margin: 0; padding: 0; }
html { background: #eceff1; }

body {
	font-family: "Segoe UI", Tahoma, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.62;
	color: #2c3238;
	background: #f6f8f9;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: #14607f; }
a:hover { color: #0d4459; }

h1, h2, h3, h4 {
	font-weight: 600;
	line-height: 1.28;
	color: #17303c;
}

h1 { font-size: 27px; margin-bottom: 14px; }
h2 { font-size: 22px; margin: 28px 0 12px; }
h3 { font-size: 17px; margin: 20px 0 8px; }
h4 { font-size: 15px; margin: 14px 0 6px; }

p { margin-bottom: 12px; }

ul, ol { margin: 0 0 14px 22px; }
li { margin-bottom: 5px; }

/* ---- сетка ---- */
.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 16px;
}

.row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -12px;
	margin-right: -12px;
}

.row > div { padding: 0 12px; box-sizing: border-box; }

.col-md-3 { width: 25%; }
.col-md-4 { width: 33.3333%; }
.col-md-5 { width: 41.6666%; }
.col-md-6 { width: 50%; }
.col-md-7 { width: 58.3333%; }
.col-md-8 { width: 66.6666%; }
.col-md-12 { width: 100%; }

/* ---- шапка ---- */
.site-top {
	background: #14607f;
	color: #dcecf3;
	font-size: 13px;
	padding: 6px 0;
}

.site-top a { color: #ffffff; text-decoration: none; }
.site-top .top-adres { float: left; }
.site-top .top-rezhim { float: right; }

.site-header_d2d35b {
	background: #ffffff;
	border-bottom: 3px solid #14607f;
	padding: 14px 0 0;
}

.site-header_d2d35b:after, .site-top:after, .row:after { content: ""; display: block; clear: both; }

.logo { float: left; }

.logo a { text-decoration: none; display: block; }

.logo .logo-name {
	font-size: 24px;
	font-weight: 700;
	color: #14607f;
	letter-spacing: 0.3px;
}

.logo .logo-sub {
	font-size: 12px;
	color: #6a757c;
	text-transform: uppercase;
	letter-spacing: 1.1px;
}

.head-phone {
	float: right;
	text-align: right;
	padding-top: 2px;
}

.head-phone a {
	font-size: 21px;
	font-weight: 600;
	color: #17303c;
	text-decoration: none;
	white-space: nowrap;
}

.head-phone span { display: block; font-size: 12px; color: #77828a; }

/* ---- меню ---- */
.menu-toggle {
	display: none;
	margin: 10px 0;
	padding: 7px 14px;
	background: #14607f;
	color: #fff;
	border: 0;
	font-size: 15px;
	cursor: pointer;
	border-radius: 2px;
}

.main-menu {
	list-style: none;
	margin: 12px 0 0;
	clear: both;
	border-top: 1px solid #e3e8ea;
}

.main-menu .menu-item { display: inline-block; margin: 0; }

.main-menu .menu-item a {
	display: block;
	padding: 11px 16px;
	text-decoration: none;
	color: #2c3238;
	font-size: 15px;
}

.main-menu .menu-item a:hover { background: #eef4f7; color: #14607f; }
.main-menu .current-menu-item a { color: #14607f; font-weight: 600; border-bottom: 2px solid #14607f; }

/* ---- обложка ---- */
.hero_b90d16 {
	background: #ffffff;
	padding: 26px 0;
	border-bottom: 1px solid #e3e8ea;
}

.hero_b90d16 h1 { margin-bottom: 10px; }
.hero_b90d16 .hero-text { font-size: 16px; }
.hero_b90d16 img { border: 1px solid #dde4e7; }

/* ---- кнопки ---- */
.btn {
	display: inline-block;
	padding: 10px 22px;
	background: #14607f;
	color: #ffffff;
	text-decoration: none;
	border-radius: 2px;
	font-size: 15px;
	border: 1px solid #114f68;
}

.btn:hover { background: #0f4e67; color: #ffffff; }
.btn-light { background: #ffffff; color: #14607f; border: 1px solid #a9c6d3; }
.btn-light:hover { background: #eef4f7; color: #0d4459; }

/* ---- контент ---- */
.content { padding: 22px 0 30px; }

.block { margin-bottom: 26px; }

.card {
	background: #ffffff;
	border: 1px solid #e0e6e9;
	padding: 16px 18px;
	margin-bottom: 22px;
	border-radius: 2px;
}

.card h3 { margin-top: 0; }

.card .price-from {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	color: #7c6a3a;
	border-top: 1px dotted #d8dee1;
	padding-top: 7px;
}

.note {
	background: #f2f7e9;
	border-left: 4px solid #8ba75c;
	padding: 12px 14px;
	margin-bottom: 18px;
}

.warn {
	background: #fdf4ec;
	border-left: 4px solid #cf9350;
	padding: 12px 14px;
	margin-bottom: 18px;
}

.sidebar-box {
	background: #eef4f7;
	border: 1px solid #cfdfe7;
	padding: 14px 16px;
	margin-bottom: 20px;
}

.sidebar-box h3 { margin-top: 0; font-size: 16px; }
.sidebar-box ul { margin-left: 18px; }

/* ---- таблица цен ---- */
.price-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
	background: #fff;
	font-size: 14px;
}

.price-table caption {
	text-align: left;
	font-weight: 600;
	padding: 10px 0 6px;
	color: #17303c;
	font-size: 17px;
}

.price-table th {
	background: #e8eff2;
	text-align: left;
	padding: 8px 10px;
	border: 1px solid #d5dee2;
	font-weight: 600;
}

.price-table td {
	padding: 7px 10px;
	border: 1px solid #e2e8eb;
	vertical-align: top;
}

.price-table td.cena { text-align: right; white-space: nowrap; width: 130px; }
.price-table tr:nth-child(even) td { background: #fafbfc; }

/* ---- отзывы ---- */
.otzyv {
	border-left: 3px solid #cfdfe7;
	padding: 4px 0 4px 14px;
	margin-bottom: 18px;
}

.otzyv .kto { font-size: 13px; color: #77828a; }

/* ---- вопрос-ответ ---- */
.faq-item { border-bottom: 1px solid #e0e6e9; }

.faq-q {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	padding: 12px 26px 12px 0;
	font-size: 15px;
	font-weight: 600;
	color: #17303c;
	cursor: pointer;
	position: relative;
	font-family: inherit;
}

.faq-q:after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 10px;
	color: #14607f;
	font-size: 18px;
}

.faq-item.open .faq-q:after { content: "\2013"; }
.faq-a { display: none; padding: 0 0 12px; }
.faq-item.open .faq-a { display: block; }

/* ---- врачи ---- */
.vrach {
	background: #fff;
	border: 1px solid #e0e6e9;
	padding: 15px 18px;
	margin-bottom: 18px;
}

.vrach .dolzhnost { color: #77828a; font-size: 13px; margin-bottom: 8px; }
.vrach dl { margin: 8px 0 0; font-size: 14px; }
.vrach dt { font-weight: 600; margin-top: 6px; }
.vrach dd { margin: 0 0 4px; }

/* ---- галерея ---- */
.gallery { margin-bottom: 20px; }
.gallery img { border: 1px solid #dde4e7; margin-bottom: 8px; display: block; }
.gallery .podpis { font-size: 13px; color: #77828a; margin-bottom: 14px; }

/* ---- подвал ---- */
.site-footer_3a3f1d {
	background: #1d3945;
	color: #c3d3da;
	padding: 24px 0 16px;
	margin-top: 24px;
	font-size: 14px;
}

.site-footer_3a3f1d h4 { color: #ffffff; margin-top: 0; }
.site-footer_3a3f1d a { color: #9fd0e4; }
.site-footer_3a3f1d .urid {
	border-top: 1px solid #2f4c58;
	margin-top: 16px;
	padding-top: 12px;
	font-size: 12px;
	color: #90a5ae;
}

/* ---- мелочи ---- */
.breadcrumbs { font-size: 13px; color: #77828a; padding: 10px 0 0; }
.breadcrumbs a { color: #77828a; }
.text-small { font-size: 13px; color: #77828a; }
.nowrap { white-space: nowrap; }

.err404 { padding: 60px 0; text-align: center; }
.err404 .kod { font-size: 64px; color: #cfdfe7; font-weight: 700; line-height: 1; }

/* ---- телефоны и планшеты ---- */
@media (max-width: 860px) {
	.col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8 { width: 50%; }
}

@media (max-width: 620px) {
	body { font-size: 15px; }
	.col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8 { width: 100%; }
	.logo, .head-phone { float: none; text-align: left; }
	.head-phone { padding-top: 8px; }
	.site-top .top-adres, .site-top .top-rezhim { float: none; display: block; }
	.menu-toggle { display: block; }
	.main-menu { display: none; }
	.main-menu.otkryto { display: block; }
	.main-menu .menu-item { display: block; border-bottom: 1px solid #eef1f2; }
	h1 { font-size: 22px; }
	h2 { font-size: 19px; }
	.price-table { font-size: 13px; }
	.price-table td.cena { width: 90px; }
	.price-table th, .price-table td { padding: 6px 7px; }
}
