/* Камень и вода — основной стиль. Правки: Лена, 2019, 2021, 2026 */

@font-face {
	font-family: 'PT Sans';
	src: url(/static/fonts/ptsans-cyrillic-400.woff2) format('woff2');
	font-weight: 400; font-style: normal;
	unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
	font-family: 'PT Sans';
	src: url(/static/fonts/ptsans-latin-400.woff2) format('woff2');
	font-weight: 400; font-style: normal;
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+2215;
}
@font-face {
	font-family: 'PT Sans';
	src: url(/static/fonts/ptsans-cyrillic-400i.woff2) format('woff2');
	font-weight: 400; font-style: italic;
	unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
	font-family: 'PT Sans';
	src: url(/static/fonts/ptsans-latin-400i.woff2) format('woff2');
	font-weight: 400; font-style: italic;
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+2215;
}
@font-face {
	font-family: 'PT Sans';
	src: url(/static/fonts/ptsans-cyrillic-700.woff2) format('woff2');
	font-weight: 700; font-style: normal;
	unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
	font-family: 'PT Sans';
	src: url(/static/fonts/ptsans-latin-700.woff2) format('woff2');
	font-weight: 700; font-style: normal;
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+2215;
}
@font-face {
	font-family: 'PT Sans Narrow';
	src: url(/static/fonts/ptsansnarrow-cyrillic-400.woff2) format('woff2');
	font-weight: 400;
	unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
	font-family: 'PT Sans Narrow';
	src: url(/static/fonts/ptsansnarrow-latin-400.woff2) format('woff2');
	font-weight: 400;
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+2215;
}
@font-face {
	font-family: 'PT Sans Narrow';
	src: url(/static/fonts/ptsansnarrow-cyrillic-700.woff2) format('woff2');
	font-weight: 700;
	unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
	font-family: 'PT Sans Narrow';
	src: url(/static/fonts/ptsansnarrow-latin-700.woff2) format('woff2');
	font-weight: 700;
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+2215;
}

html { background: #d9d6cc; }
body {
	margin: 0;
	padding: 10px 0 20px;
	background: #d9d6cc;
	color: #222;
	font: 15px/1.45 'PT Sans', Arial, Helvetica, sans-serif;
}
a { color: #1F5560; }
a:visited { color: #3d5d63; }
a:hover { color: #A23B2A; }
img { border: 0; }
h1 { font-size: 24px; font-weight: normal; margin: 0 0 12px; color: #1F5560; }
h2 { font-size: 19px; font-weight: bold; margin: 22px 0 8px; }
h3 { font-size: 16px; margin: 16px 0 6px; }
p { margin: 0 0 10px; }
small, .small { font-size: 13px; }
.gray { color: #6b6b6b; }
.red, .remont { color: #A23B2A; }
hr { border: 0; border-top: 1px solid #cfc6b0; margin: 16px 0; }

#wrap {
	width: 960px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #b9b29e;
}
#head {
	background: #1F5560;
	color: #fff;
	padding: 14px 16px 12px 18px;
	position: relative;
}
#head .name { font-size: 27px; color: #fff; text-decoration: none; }
#head .sub { font-size: 14px; color: #cfe0e2; margin-top: 2px; }
#head .upd { position: absolute; right: 14px; top: 10px; font-size: 12px; color: #b5cfd2; }

#cols { overflow: hidden; background: #EFE8D8; }
#side {
	float: left;
	width: 190px;
	padding: 14px 0 20px;
	font-size: 14px;
}
#side ul.menu { list-style: none; margin: 0; padding: 0; border-top: 1px solid #ddd2b8; }
#side ul.menu li { border-bottom: 1px solid #ddd2b8; }
#side ul.menu a { display: block; padding: 6px 12px 6px 16px; text-decoration: none; color: #1F5560; }
#side ul.menu a:hover { background: #e4dcc7; color: #1F5560; }
#side ul.menu li.cur a { font-weight: bold; background: #fff; color: #222; }
#side .box { margin: 18px 12px 0 16px; font-size: 13px; color: #555; }
#side .box b { color: #333; }

#main {
	margin-left: 190px;
	background: #fff;
	padding: 16px 22px 26px 24px;
	min-height: 520px;
	border-left: 1px solid #ddd2b8;
}
.crumbs { font-size: 13px; color: #777; margin-bottom: 10px; }
.crumbs a { color: #555; }

#foot {
	clear: both;
	border-top: 1px solid #b9b29e;
	padding: 9px 18px 11px;
	font-size: 13px;
	color: #555;
	background: #f6f3ea;
}
#foot a { color: #555; }

/* таблицы */
table.t { border-collapse: collapse; margin: 6px 0 14px; font-family: 'PT Sans Narrow', 'Arial Narrow', Arial, sans-serif; font-size: 15px; }
table.t th, table.t td { border: 1px solid #cfc6b0; padding: 3px 8px; text-align: left; vertical-align: top; }
table.t th { background: #EFE8D8; font-weight: bold; }
table.t td.num { text-align: right; white-space: nowrap; }
table.t tr.off td { color: #999; }
table.t.wide { width: 100%; }
table.t.short td.num { padding-left: 18px; }
table.t i { font-family: 'PT Sans', Arial, sans-serif; font-size: 14px; }

/* плеер камеры */
.cam { width: 640px; margin: 0 0 4px; background: #000; position: relative; }
.cam .video-js { width: 640px; height: 480px; }
.cam .osd {
	position: absolute; left: 8px; top: 6px; z-index: 3;
	font: 14px/1 'DejaVu Sans Mono', 'Courier New', monospace;
	color: #fff; text-shadow: 1px 1px 0 #000; pointer-events: none;
	letter-spacing: 0.5px;
}
.cam.big, .cam.big .video-js { width: 720px; }
.cam.big .video-js { height: 540px; }
.vjs-camlive .vjs-progress-control,
.vjs-camlive .vjs-remaining-time,
.vjs-camlive .vjs-duration,
.vjs-camlive .vjs-current-time,
.vjs-camlive .vjs-time-divider,
.vjs-camlive .vjs-playback-rate { display: none !important; }
.vjs-camlive .vjs-control-bar .efir {
	font: bold 12px/30px 'PT Sans', Arial, sans-serif; color: #fff; padding: 0 8px;
	text-transform: lowercase;
}
.vjs-camlive .vjs-control-bar .efir:before { content: ''; display: inline-block; width: 8px; height: 8px; background: #c0392b; margin-right: 5px; vertical-align: 0; }
.caption { font-family: 'PT Sans Narrow', 'Arial Narrow', Arial, sans-serif; font-size: 15px; color: #444; margin: 0 0 2px; }
.statline { font-size: 14px; color: #333; margin: 0 0 14px; }
.q { font-size: 13px; }
.q a.on { font-weight: bold; color: #222; text-decoration: none; }

.clip { width: 640px; margin-bottom: 6px; }
.clip .video-js { width: 640px; height: 360px; }
.clip.r43 .video-js { height: 480px; }
.clip.r32 .video-js { height: 427px; }

/* новости */
.news-list { margin: 0; padding: 0; list-style: none; }
.news-list li { margin: 0 0 12px; overflow: hidden; }
.news-list .d { float: left; width: 84px; color: #666; font-size: 13px; padding-top: 2px; }
.news-list .tx { margin-left: 90px; }
.news-date { color: #666; font-size: 13px; margin: -6px 0 12px; }
.upd-note { background: #f6f3ea; border-left: 3px solid #cfc6b0; padding: 4px 10px; font-size: 14px; }
.prevnext { margin-top: 24px; font-size: 14px; border-top: 1px solid #e2dccb; padding-top: 8px; }

/* архив */
table.months td { width: 74px; text-align: center; }
table.months td.none { color: #A23B2A; font-size: 13px; }
.cliprow { overflow: hidden; margin: 0 0 14px; }
.cliprow img { float: left; margin: 2px 12px 0 0; border: 1px solid #999; }
.cliprow .meta { font-size: 13px; color: #666; }

form.fb label { display: block; margin: 8px 0 2px; font-size: 14px; }
form.fb input[type=text], form.fb input[type=email], form.fb select, form.fb textarea {
	width: 380px; font: 15px 'PT Sans', Arial, sans-serif; padding: 3px; border: 1px solid #a9a28f;
}
form.fb textarea { width: 480px; height: 130px; }
form.fb .agree { font-size: 13px; margin-top: 10px; }
form.fb button { margin-top: 10px; font: 15px 'PT Sans', Arial, sans-serif; padding: 3px 14px; }
.okmsg { background: #eef5ee; border: 1px solid #b9d2b9; padding: 8px 12px; margin: 10px 0; display: none; }

.note { font-size: 13px; color: #666; }
ul.plain { padding-left: 20px; margin: 4px 0 12px; }
ul.plain li { margin-bottom: 3px; }
.photo { border: 1px solid #999; max-width: 100%; height: auto; }
.photo-cap { font-size: 13px; color: #666; margin: 2px 0 14px; }

/* для телефонов, добавлено в 2021 */
@media (max-width: 980px) {
	body { padding: 0; }
	#wrap { width: auto; border: 0; }
	#side { float: none; width: auto; padding: 6px 0 8px; }
	#side ul.menu li { display: inline-block; border: 0; }
	#side ul.menu a { padding: 4px 10px; }
	#side .box { display: none; }
	#main { margin-left: 0; border-left: 0; padding: 14px 16px 20px; min-height: 0; }
	#head .upd { position: static; margin-top: 4px; }
	.cam, .cam.big, .clip { width: 100%; }
	.cam .video-js, .cam.big .video-js, .clip .video-js, .clip.r43 .video-js, .clip.r32 .video-js { width: 100%; height: auto; aspect-ratio: 4 / 3; }
	.clip .video-js { aspect-ratio: 16 / 9; }
	.clip.r43 .video-js { aspect-ratio: 4 / 3; }
	.clip.r32 .video-js { aspect-ratio: 3 / 2; }
	table.t { font-size: 14px; }
	.tscroll { overflow-x: auto; }
	form.fb input[type=text], form.fb input[type=email], form.fb select, form.fb textarea { width: 100%; box-sizing: border-box; }
	.cliprow img { width: 120px; height: auto; }
	.news-list .d { float: none; width: auto; }
	.news-list .tx { margin-left: 0; }
}
