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,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: none;
	font-weight: inherit;
	font-style: inherit;
	font-size: inherit;
	font-family: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
}

input, textarea, select, file {
	box-sizing: border-box;
}

table, td {
	padding: 0px;
	margin: 0px;
	border-collapse: collapse;
	border-width: 0px;
	vertical-align: top;
}

html {
	scroll-behavior: smooth;
}

body, input, .text, .button, .lightbox, .waitbox {
	font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
}

small {
	font-size: 75%;
}

strong {
	font-weight: bold;
}

.hide {
	display: none;
}

.clear {
	clear: both;
}

.clear-left {
	clear: left;
}

.clear-right {
	clear: right;
}

.fl {
	float: left;
}

.fr {
	float: right;
}

.al {
	text-align: left;
}

.ar {
	text-align: right;
}

.ac, td.ac p {
	text-align: center;
}

.aj {
	text-align: justify;
}

.b {
	font-weight: bold;
}

.bpanel-button {
	margin-right: 8px;
}

.link-sel {
	font-weight: bold;
}

.link-edit {
	color: #0000ff;
}

.link-new {
	color: #44aa00;
}

.link-delete {
	color: #ff0000;
}

.link-cut {
	color: #ff8800;
}

.link-paste {
	color: #66bb00;
}

.link-active {
	color: #66bb00;
}

.link-inactive {
	color: #66bb00;
}

.link-tails {
	color: #7700ff;
}

a img {
	border: none;
}

a.bb-bar-btn {
	display: block;
	width: 22px;
	height: 22px;
	float: left;
	background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYwAAAAWCAMAAADkbVvpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAASlQTFRF////X7Dml83wlczwYbHnkMrvZrPojsnuk8vvZLLnabXoc7rqbLfpiMXthMTter7ri8fucLjpmc7wgcLsXa/mfsDsdrzq1er4z+f41ur50ej40+n4JVh6mMvtlcjqaZy+PXCShbjadajK3O35Om2P4PD6Kl1/MGOF9vr9NmmLt9v0ZZi6+Pv+sNjzK16Aibze+fz+vN313e766fT7qdXywuH2rdfyAAAA2uz55fL7oNDwOGuNXpGzcKPF8/j9uNz0GEttNGeJpNLxeazO5/P7HVByIFN1mczuSXyej8LkYZS2q9byjL/hk8bos9rz7/f8WYyur9fzPnGT3u/6Gk1vjcDi/P7+qNTyns/wm87wYJO1h7rcXZCyodDxms3vut30QHOVksXngLPV7wsK8wAAA2dJREFUeNrslgd32jAUhW93m9CQBYRlRhhJWIHs1Yxm72Z07///IyrZki3JwlAXTjg9vnaeDp+un6T3GEFsfFxzB/QhKB4HGhjhSaCBEWIvNYoF1KZQ1MfV8CyQt2AQnTdyuXy+Ujnd7GfB8OL/1/fbS3NsXp34eBoG+0jMz7y5WrjpZ8GQHNUo5oPS/VpB9lrcZ175G8IPHR39BlTpeAs0feyBN6NZr58tLGfhnUHZwt+thtde4mn1Ey7GQydqPS3n0LGe6KKKtRMyLgE/1HO1PZ+4WasZ8/W5rbviYrZTwVJEPIolkAuipxjxFNkFC64ZjZcHF1XdYF50YCNOvVwJuuWkCRdkuK+i5djikjyLgHPrO6q+9XOndVQAP755wTog7OVTaaRJK0hIpwBtqdpTJCc0SnJKtsGCSM0ZjZcHV4YJhTIo5ZWZspp7Z13TNazRYR34YFO1GV4Z0LB+L87udj7FjQLzQrisYNJUOmWLdIN7aVksHxwvL+4En04i4iniZ0Gd0Hl5cKfQMnlGxyLyt4kfGqliiQ414JeTVmkGP5N8MZoDpjOZ2EKxFY83Cm6vYEaKtiNNRFuRErxmxew7Ir9m0xGEPcVOppnQeXlQH3fl0EGtsQcCtulQExOrzeBnki9Gc6QXxVj5qFxenPqyofE6ZvWT4XjDlo/dYfk1mw4jEdUoySmpDQsipRM6Lw+ql0ObgnnFvCKjwaROL+UMChf363A7L1rR6DYda4yqzZD3K9cBedKLYmI9u7e30nw7a++M3lZ1rGqYXuU3g9GobbQes6lQNUox7ClyABYUrvXyoDpdCQA3Fhj0C/gTbcL08PAcHd9xpjTD8/l8Zn9mdbFmZO9/r5BmdFhM/G9KXyy0pRjzFDkACwpvY27jVLHlk90yg5DSlrRQl9TE02NjVjO0VngWAZX3M6vLhtHIHH7+urLbuWCajcmOthSJkEYJRnlamYYEJlBthpBpVDJYz9tZTCox+tchb9fUbEYoZDZj2UcGVPZjl4aRy2eOD7PlUg935qIY6pXsN4SCh9ysYyp3UrRZrEv+L+c6Xf2YI624vj4uHxyUepdYs9TzARQt5uBsZvMmmy0UChuzs7ulUqmfG8PUK40SAbWp+vvSx9XwNNDACI8CDYwwNTmpuQP6EPSPAAMAdN2CWlgHnPcAAAAASUVORK5CYII=') 0px 0px no-repeat;
	margin-right: 4px;
}

.bb-bar-splitter {
	display: block;
	width: 4px;
	height: 1px;
	float: left;
}

.bbc-l {
	display: block;
	text-align: left;
}

.bbc-r {
	display: block;
	text-align: right;
}

.bbc-c {
	display: block;
	text-align: center;
}

.bbc-fl {
	display: block;
	float: left;
	margin: 0px 10px 10px 0px;
}

.bbc-fr {
	display: block;
	float: right;
	margin: 0px 0px 10px 10px;
}

.bbc-- {
	display: block;
	overflow: hidden;
	height: 1px;
	background: #000000;
}

span.bbc-tel:before {
	content: "☎ "
}

div.bbc-tel {
	margin: 0;
	padding: 0.5em 0;
	display: block;
	text-align: center;
	font-size: 250%;
	line-height: 100%;
	font-weight: bold;
	text-shadow: 0px 0px 1px #080, 1px 1px 0px #fff, 2px 2px 0px rgba(0,0,0,0.15);
}

.bbc-tel, .bbc-tel a {
	text-decoration: none;
	color: #008800;
}

div.bbc-tel, div.bbc-tel a {
	color: #55aa00;
}

.bbc-tel a:hover, .bbc-tel a:active {
	color: #9acc34;
}

.hr {
	display: block;
	height: 1px;
	overflow: hidden;
	margin: 10px 0px 10px 0px;
	border-top: #000000 1px dotted;
}

.antispam-pic {
	width: 80px;
	height: 24px;
	line-height: 24px;
	display: inline-block;
	text-align: center;
	font-size: 24px;
	color: #333333;
}

.waitbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(0,0,0,0.3);
	opacity: 0;
	padding: 16px 16px 16px 16px;
}

.waitbox-w {
	width: 200px;
	height: 80px;
	display: table-cell;
    vertical-align: middle;
	margin: auto;
	color: #ffffff;
	text-shadow: 1px 1px 1px #000000;
}

.waitbox-w-rot {
	display: inline-block;
	width: 1em;
	height: 1em;
	line-height: 1em;
	font-size: 8em;
	animation: waitbox_ani 3s linear infinite;
	transform-origin: 50% 50%;
}

@keyframes waitbox_ani {
	0% { transform:rotate(0deg) } 42.85714% { transform:rotate(359deg) } 100% { transform:rotate(359deg) }
}

.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(0,0,0,0.8);
	padding: 16px 16px 48px 16px;
}

/*body.lightbox-zoomin
{
	filter: blur(1px);
	-webkit-filter: blur(1px);
	transition: filter 0.25s ease-in-out;
	-webkit-transition: -webkit-filter 0.25s ease-in-out;
}*/

.lightbox-w {
	display: inline;
	position: relative;
	margin: 0;
}

.lightbox img {
	max-width: 100%;
	max-height: 100%;
	margin: 0;
	border: 8px #ffffff solid;
	box-shadow: 0px 8px 8px -8px #000000;
	opacity: 0;
	cursor: pointer;
	transform: scale(0);
	transition: transform 0.25s ease-in-out;
}

.lightbox-zoomin img {
	transform: scale(1) !important;
}

.lightbox-zoomout img {
	transition: transform 0.4s ease-in-out !important;
}

.lightbox-title {
	color: #ffffff;
	text-align: center;
	padding: 8px 0px 0px 0px;
	transition: filter 0.5s ease-in-out;
	-webkit-transition: -webkit-filter 0.5s ease-in-out;
	filter: blur(30px);
	-webkit-filter: blur(30px);
}

.lightbox-zoomin .lightbox-title {
	filter: blur(0px) !important;
	-webkit-filter: blur(0px) !important;
}

.stop-scrolling {
	overflow-y: hidden;
}

em {
	font-weight: bold;
	color: #136fac;
}

p, ul, ol, h2 {
	margin-top: 0;
	line-height: 125%;
	text-align: left;
}

.post ol, ul {
	padding: 0.25em 0 0.25em 0;
	text-align: left;
}

ul ul:last-of-type {
}

p {
	padding: 0.5em 0 0.5em 0;
}

a {
	color: #0077ff;
	transition: all 0.2s ease-in-out;
}

a:hover {
	color: #7700ff;
	text-decoration: none;
}

.title {
	display: block;
	font-weight: bold;
	padding-top: 4px;
	text-align: left;
}

/* Post */

.post {
}

.post h1, .post h2, .post h3, .post h4, .post h5, .post h6 {
	padding: 0px;
	color: #136fac;
	font-weight: bold;
	text-align: left;
}

.post h2, .post h3, .post h4, .post h5, .post h6 {
	margin: 0.5em 0 0.25em 0;
}

.post h1 {
	margin: 0px 0px 8px 0px;
	font-size: 180%;
}

.post h2 {
	font-size: 160%;
	color: #0446ac;
}

.post h3 {
	font-size: 140%;
}

.post h4 {
	font-size: 120%;
}

.post h1 a {
	text-decoration: none;
}

.post ul, .post ol {
	padding-left: 20px;
}

blockquote {
	margin: 0.5em 0em;
	padding: 8px 16px 8px 16px;
	border-left: #ddeeff 8px solid;
	background: #fcfdff;
}

blockquote:nth-of-type(odd) {
	border-left: #ccddff 8px solid;
	background: #fbfcff;
}

.toc {
	display: inline-block;
	width: auto;
	margin: 1em 0em;
	padding: 0.5em;
	border: #aaaaaa 1px solid;
	background: #f9f9f9;
}

.toc-title:after {
	content: 'Содержание:';
}

.toc ol {
	margin: 0.5em 0 0 0;
}

.toc ol ol {
	margin: 0 0 0 0;
	padding-top: 0;
	padding-bottom: 0;
}

.toc ol li {
	margin: 0.5em 0 0 0;
}

.spoiler {
	display: none;
	margin: 0em 0em 0.5em 0em;
	padding: 8px 8px 8px 8px;
	border: #88ccff 1px solid;
	background: #ffffff 0px 0px no-repeat;
}

.spoiler-title {
	margin: 0em 0em 0.5em 0em;
	padding: 4px;
	display: inline-block;
	background: #136fac;
	color: #ffffff;
	border: 1px #136fac solid;
	text-decoration: none;
	transition: all 0.2s ease-in-out;
}

.spoiler-title:hover {
	background: #ffffff;
	color: #136fac;
	border: 1px #136fac solid;
}

.scroll {
	max-height: 320px;
	overflow: auto;
	background: #fbfcff;
}

.info {
	margin: 0.5em 0;
	padding: 0.5em 1em;
	border: #88aa66 1px solid;
	background: #f8ffcc;
	/*border-radius: 8px;*/
	color: #336600;
}

.info a {
	color: #44aa00;
}

.info a:hover {
	color: #55bb00;
}

.info ul {
	/* padding-bottom: 0; */
}

.bbc-btn {
	margin: 0 auto;
	display: block;
	width: 32em;
	max-width: 100%;
	background: #88aaff linear-gradient(180deg, transparent, #6688ff 100%);
	border: #5577ff 1px solid;
	text-align: center;
	box-shadow: 1px 1px 1px 0px #0003;
	color: #ffffff;
	border-radius: 5px;
	transition: all 0.2s ease-in-out;
}

.bbc-btn:hover {
	background: #77bbff linear-gradient(180deg, transparent, #5599ff 100%);
}

.bbc-btn a {
	display: block;
	padding: 8px;
	text-decoration: none;
	color: #ffffff;
	font-weight: bold;
	text-shadow: 1px 1px 1px #008;
}

.bbc-btn a:hover {
	color: #eeffff;
}

.bbc-inf {
	margin-bottom: 0.75em;
}

.bbc-inf p {
	color: #333333;
}

.bbc-inf > ul {
	padding: 0;
	list-style: none;
	border-left: #f0f0f0 4px solid;
}

.bbc-inf > ul > li {
	padding: 0.5em;
	background: #f8f8f8;
	color: #666666;
}

.bbc-inf > ul > li:nth-of-type(2n+1) {
	background: #f0f0f0;
}

.ttl {
	font-weight: bold;
}

.video {
	display: block;
	margin: 0 auto 0 auto;
	width: 960px;
	height: 540px;
	max-width: 100%;
	background: #000000;
}

.video iframe {
	width: 100%;
	height: 100%;
}

.pic {
	padding: 0px;
	margin: 0px;
	display: inline-block;
	overflow: hidden;
	box-shadow: 0px 8px 8px -8px #000000;
}

.pic img {
	display: block;
	transition: all .2s ease-in-out;
}

.pic img:hover {
	transform: scale(1.1);
}

.fl.pic {
	margin-right: 8px;
}

.pic-title {
	padding-top: 0em;
	text-align: center;
	font-weight: bold;
}

.pic-text {
	padding-top: 0em;
	text-align: center;
	color: #888888;
}

.edform .text {
	width: 100%;
}

.text {
	padding: 4px;
	border: #777777 1px solid;
	background: #ffffff linear-gradient(to bottom, rgba(0,0,0,0.05) 0%,rgba(0,0,0,0) 8px);
	transition: all 0.2s ease-in-out;
}

.text:hover {
	border-color: #0077ff;
}

.text:focus {
	outline: none;
	border-color: #00cc00;
}

textarea.text {
	height: 200px;
}

.error {
	color: #ff0000;
}

.buttons {
	padding: 12px 0px 0px 0px;
	clear: both;
}

.buttons .button {
	margin-right: 8px;
}

.button {
	padding: 8px;
	border: #00447f 1px solid;
	background: #0077ff linear-gradient(170deg, #0000ff, transparent 40%, transparent 50%, rgba(255,255,255,0.8) 85%);
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
	display: inline-block;
	box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.2);
	text-shadow: 1px 1px 1px #000088;
	border-radius: 5px;
	transition: all 0.2s ease-in-out;
}

.button:hover, .button:active, .button:focus {
	background: #0099ff linear-gradient(170deg, #0000ff, transparent 40%, transparent 50%, rgba(255,255,255,0.8) 85%);
	border: #0077cc 1px solid;
	color: #77ffff;
	box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.1);
}

.button-comment {
	margin-top: 0.5em;
}

.button-comment, .button-active {
	background: #77cc00 linear-gradient(170deg, #00aa00, transparent 40%, transparent 50%, rgba(255,255,255,0.8) 85%) !important;
	border: #447700 1px solid !important;
}

.button-comment:hover, .button-comment:active, .button-comment:focus,
.button-active:hover, .button-active:active, .button-active:focus {
	color: #ffff77;
	background: #77ee00 linear-gradient(170deg, #00aa00, transparent 40%, transparent 50%, rgba(255,255,255,0.8) 85%) !important;
	border: #669900 1px solid !important;
}

.button-next {
	background: #44aa00 !important;
	border: #008800 1px solid !important;
}

.bpanel {
	margin: 0px 0px 8px 0px;
	color: #777777;
}

.path-bar {
	margin: 0px 0px 8px 0px;
}

.hd-menu {
	margin: 0;
	padding: 0 8px;
	background: #111111 linear-gradient(180deg, #111111, #444444 100%);
	font-family: tahoma;
}

.hd-menu2 {
	margin: 0;
	padding: 0;
}

.hd-menu-item, .hd-menu-item a {
	height: 2em;
	line-height: 2em;
	display: inline-block;
}

.hd-menu-item {
}

.hd-menu-item a {
	color: #ffffff;
	text-decoration: none;
	padding: 0 8px;
}

.hd-menu-item a:hover, .hd-menu-item.active a {
	color: #000000;
	background: #ffffff linear-gradient(180deg, #eeeeee, #ffffff 100%);
}

.hd-menu-item a:hover {
	text-decoration: underline;
}

.hmenu {
	text-align: right;
}

.edform {
	width: 960px;
	margin: 0px auto 0px auto;
}

.p-text {
	font-size: 110%;
	clear: both;
}

.p-pic {
	display: block;
	text-align: center;
	margin: 0em 0em;
}

.p-pic-copy {
	display: none;
	position: absolute;
	margin: 0.5em auto;
	left: 0;
	right: 0;
	/*top: 100%;*/
	width: 200px;
	text-align: center;
	text-decoration: none;
	color: #ffffff;
	text-shadow: 1px 1px 1.2px #000000;
}

.p-pic:hover .p-pic-copy {
	display: inline-block;
}

.p-pic-copy:hover {
	color: #ffff00;
}

.p-other {
	margin: 0px 0px 8px 0px;
	font-size: 80%;
}

.p-other-title {
	font-weight: bold;
}

.cat {
	margin-top: 0.25em;
	font-size: 120%;
}

.cat li {
	margin: 0.5em 0 0 0;
}

.cat > li > a:first-of-type {
	text-decoration: none;
}

.cat > li > a:first-of-type:hover {
	text-decoration: underline;
}

.cat .notice {
	padding: 4px 8px;
}

.cat > .inactive > a:first-of-type {
	opacity: 0.5;
}

.comments {
	margin: 16px 0px 0px 0px;
}

.comment-form {
	display: none;
	max-width: 640px;
	margin: 0px auto 0px auto;
}

.comment-form .text {
	width: 100%;
}

#comment-add {
	padding: 8px 0px 0px 0px;
	font-size: 120%;
	font-weight: bold;
}

.comment {
	margin: 8px 0px 0px 0px;
	padding: 8px;
	border: #cceeff 1px solid;
	background: #f6feff;
}

.comment-linked {
	border: #f0ddff 1px solid;
	background: #f8eeff;
	background-image: linear-gradient(170deg, transparent 40%, transparent 50%, rgba(255,255,255,0.5) 85%);
	box-shadow: 1px 1px 0px 0px rgba(0, 0, 0, 0.1);
}

.comment-header {
	padding: 0px 0px 4px 0px;
	clear: both;
}

.comment-title {
	display: inline;
	margin-left: 4px;
}

.comment-header, .comment-footer {
	color: #136fac;
}

.comment-header a, .comment-footer a {
	text-decoration: none;
}

.comment-header a:hover, .comment-footer a:hover {
	text-decoration: underline;
}

.comment-id {
	margin: 0px 0px 0px 0px;
}

.comment-nick {
	margin-left: 4px;
	color: #8800ff;
}

.comment-comment::before {
	content: 'Комментировать';
}

.pm-en .comment-comment::before {
	content: 'Comment';
}

.comment-cmd {
	float: right;
	margin-left: 8px;
}

.notice {
	padding: 8px;
	background: #ccff77;
	border: #008800 1px solid;
	color: #008800;
}

span.notice {
	display: inline-block;
}

span.notice a {
	color: #448800 !important;
	text-decoration: underline;
}

span.notice a:hover {
	color: #888800 !important;
	text-decoration: none;
}

.table {
	width: 100%;
	word-wrap: break-word;
}

.table thead {
}

.table th {
	font-weight: bold;
	background: #368fc8 linear-gradient(to bottom, #00ffff, #56afe8 15%, #368fc8 100%);
	color: white;
	text-shadow: 1px 1px 0px #004488;
}

.table th.sort {
	background: #2b739f;
}

.table td {
	background: #ffffff;
}

.table tr:hover td {
	background: #ffff00 !important;
}

.table tr.select, .table td.select {
	background: #aaffff !important;
}

.table tr.select td, .table tr.odd td {
	background: none;
}

.table td, th {
	font-weight: normal;
	border: #368fc8 1px solid;
	padding: 2px 4px 2px 4px;
	color: #333333;
}

.table a {
	text-decoration: none;
	padding: 0;
	margin: 0;
	color: #333333;
}

.table a:visited {
	color: #443388;
}

.table a:hover, .table a:active {
	color: #ff0000;
}

.table th a:link, .table th a:visited {
	color: #ffffff;
}

.table th a:hover, .table th a:active {
	color: #ffff00;
}

.table .odd, .table tr:nth-of-type(odd) td {
	background: #e8f8ff;
}

.table tr.sum td {
	background: #e0ffff;
	font-weight: bold;
}

.login-form {
	position: fixed;
	width: 240px;
	background-color: #ffffff;
	padding: 10px;
	border: 5px solid #cccccc;
	z-index: 1000;
	margin: 15% auto;
	left: 0;
	right: 0;
}

.page-pics {
	padding: 20px;
	border-left: #eeeeee 10px solid;
	background: #fafafa;
}

.pic-container {
	padding: 0 0 1em 0;
	position: relative;
}

.page-pic-new2 {
	display: none;
}

.comment-personal {
	clear: top;
	font-size: 80%;
}

.comment-submit {
	float: left;
	margin-right: 1em;
}

.admin-ad {
	display: block;
	height: 2em;
	line-height: 2em;
	text-align: center;
	font-size: 200%;
	color: #0000ff;
	border: 1px solid #0000ff;
}

/* tpl */

body {
	margin: 0;
	padding: 0;
	background: #f8f8f8;
	font-size: 14pt;
	color: #000000;
}

#wrapper {
	background: #ffffff;
	min-height: 100vh;
}

#page {
	/*min-height: calc(100vh - 160px);*/
}

#content {
	width: 100%;
	padding: 16px;
	color: #004466;
}

.header-link {
	display: block;
	width: 1312px;
	height: 80px;
	line-height: 80px;
	text-decoration: none;
	padding: 0 16px;
	font-size: 32px;
	color: #000000;
	overflow: hidden;
}

.header-link, .header-link:hover, .header-link:visited {

}

.footer-text {
	padding-top: 24px;
	color: #000000;
	text-align: center;
	font-size: 14px;
}

.hd-menu-btn {
	display: none;
	position: absolute;
	width: 40px;
	height: 40px;
	line-height: 40px;
	color: #ffffff;
	text-decoration: none;
	top: 0px;
	right: 0px;
	cursor: pointer;
	transition: background 0.3s;
}

.hd-menu-btn:hover {
	background: #000000;
	opacity: 0.75;
	transition: background 0.3s;
}

.hd-menu-btn:hover span, .hd-menu-btn:hover span::before, .hd-menu-btn:hover span::after {
	background: #ffffff;
}

.hd-menu-btn span {
	display: block;
	position: absolute;
	top: 18px;
	left: 11px;
	right: 11px;
	height: 3px;
	background: #ffffff;
}

.hd-menu-btn span::before, .hd-menu-btn span::after {
	position: absolute;
	display: block;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: #ffffff;
	content: "";
}

.hd-menu-btn span::before {
	top: -7px;
}

.hd-menu-btn span::after {
	bottom: -7px;
}

.hd-menu-btn span {
	transition: background 0s 0.3s;
}

.hd-menu-btn span::before, .hd-menu-btn span::after {
	transition-duration: 0.3s, 0.3s;
	transition-delay: 0.3s, 0s;
}

.hd-menu-btn span::before {
	transition-property: top, transform, background;
}

.hd-menu-btn span::after {
	transition-property: bottom, transform, background;
}

.hd-menu-btn.active {
	background-color: #111111;
}

.hd-menu-btn.active span {
	background: none;
}

.hd-menu-btn.active span::before {
	top: 0;
	transform: rotate(45deg);
}

.hd-menu-btn.active span::after {
	bottom: 0;
	transform: rotate(-45deg);
}

.hd-menu-btn.active span::before, .hd-menu-btn.active span::after {
	background-color: #ffffff;
	transition-delay: 0s, 0.3s;
}

.cntr {
	width: 1px;
	height: 1px;
	margin: 0px;
	opacity: 0.01;
}

@media only screen and (min-width: 1312px) {

html {
	min-width: 1312px;
}

body {
	overflow-x: hidden;
}

#wrapper {
	width: 1312px;
	min-width: 480px;
	margin: 0px auto 0px auto;
	box-shadow: 0px 0px 8px -4px #000000;
	overflow: hidden;
	padding-bottom: 80px;
}

#header {
	width: 1312px;
	height: 80px;
	background: url(bg.jpg);
	transition: all 0.2s ease-in-out;
}

#footer {
	margin: -80px auto auto auto;
	max-width: 1312px;
	height: 80px;
	background: url(bg.jpg) center -120px;
	transition: all 0.2s ease-in-out;
}

}

@media only screen and (max-width: 1311px) {

html {
	min-width: 0px;
}

body {
	overflow-x: auto;
}

#wrapper {
	width: 100%;
	min-width: 0px;
	margin: 0px;
	box-shadow: none;
	padding-bottom: 40px;
}

#page {
	/*min-height: calc(100vh - 80px);*/
}

#header {
	display: block;
	width: 100%;
	height: 40px;
	background: url(bg.jpg) 0px -80px;
}

.header-link {
	width: 100%;
	height: 40px;
	line-height: 40px;
	font-size: 16px;
}

.hd-menu-btn {
	display: block;
	opacity: 0.8;
}

.hd-menu {
	display: none;
}

#footer {
	margin: -40px auto auto auto;
	height: 40px;
	background: url(bg.jpg) center -200px no-repeat;
}

.footer-text {
	padding-top: 6px;
	font-size: 11px;
}

.p-pic img, .c-pic img {
	max-width: 100%;
}

.edform {
	max-width: 100%;
}

div.bbc-tel {
	font-size: 230%;
}

}

@media only screen and (max-width: 480px) {

.video {
	height: 270px;
}

}
body
{
	background: #f8f8f8;
	font-family: Verdana;
}

#header, #footer
{
	background: #000;
}

.header-link
{
	text-shadow: 1px 1px #004488;
}

.header-link, .footer-text
{
	color: #ffffff;
}

.header-link:hover
{
	color: #00ff00;
}

.footer-text
{
	text-shadow: 1px 1px #008800;
}

.hd-menu
{
	background: #003366 linear-gradient(180deg, #112244, #334466 100%);
}

.hd-menu-item
{
	text-shadow: 1px 1px #333333;
}

.hd-menu-item:hover, .hd-menu-item.active
{
	text-shadow: 1px 1px #cccccc;
}

.hd-menu-item a:hover, .hd-menu-item.active a
{
	color: #003366;
	background: #ffffff linear-gradient(180deg, #ddeeff, #ffffff 100%);
}

.hd-menu-item[data-title^="Контакты"], .hd-menu-item[data-title^="Адрес"], .hd-menu-item[data-title^="Телефон"]
{
	background: linear-gradient(180deg, #223399, #4466cc 100%);
}

.hd-menu-item[data-title^="Официальный сайт"], .hd-menu-item[data-title^="Как "], .hd-menu-item[data-title^="Проезд"]
{
	background: linear-gradient(180deg, #223366, #446699 100%);
}

.hd-menu-item[data-title^="Отзывы"]
{
	background: linear-gradient(180deg, #662200, #996600 100%);
}

.hd-menu-item[data-title^="Запис"]
{
	background: linear-gradient(180deg, #226600, #669900 100%);
}

.hd-menu-item[data-title^="Личный"]
{
	background: linear-gradient(180deg, #446600, #779900 100%);
}

.hd-menu-item[data-title^="Расписани"]
{
	background: linear-gradient(180deg, #114400, #446600 100%);
}

.hd-menu-item[data-title^="Результат"]
{
	background: linear-gradient(180deg, #772200, #bb6600 100%);
}

.hd-menu-item[data-title^="Видео"]
{
	background: linear-gradient(180deg, #cc2200, #ff6600 100%);
}

.hd-menu-item[data-title*="вкусн"]
{
	background: linear-gradient(180deg, #227700, #66cc00 100%);
}

@media only screen and (max-width: 975px),
only screen and (max-device-width: 975px)
{

}

#content {
	color: #000000;
}

.post h1
{
	color: #880000;
	text-shadow: 1px 1px 0px #ffffff, 1px 1px 1px #880000;
}

.post h2
{
	color: #ad4400;
}

.post h3
{
	color: #ad8800;
}

.post > ul li, .post > ol li
{
	color: #669900;
}

.toc > ol {
	padding-left: 2em;
}

.toc > ol > li > a[href^="#toc-kontakty"], .toc a[href^="#toc-otzyvy"], .toc a[href^="#toc-zapis"], .toc a[href^="#toc-rezult"]
{
	font-weight: bold;
}

.bbc-inf
{
	margin-bottom: 0.75em;
}

.bbc-inf p
{
	font-weight: bold;
	color: #ad0040;
}

.bbc-inf > ul
{
	padding: 0;
	list-style: none;
	border-left: #ffeef8 4px solid;
}

.bbc-inf > ul > li
{
	padding: 0.5em;
	background: #f8f8ff;
	color: #440088;
}

.bbc-inf > ul > li:nth-of-type(2n+1)
{
	background: #faeeff;
}

.comment
{
	padding: 16px 16px 8px 16px;
	border: none;
	border-left: #eeddcc 8px solid;
	background: #fff6f9;
	color: #663300;
}

.comment-id, .comment-title
{
    color: #88aa00;
}

.comment-nick
{
    color: #668833;
}

div.info
{
	box-shadow: 0px 0px 1px #ffffff, 0px 1px 2px #aacc88;
}

.bbc-zapis
{
	display: block;
	text-align: center;
	color: #008800;
}

.bbc-zapis a::before
{
	content: "";
	display: inline-block;
	width: 100%;
	max-width: 100%;
	background: url(/zapis.png) no-repeat;
	transition: all 0.2s ease-in-out;
	background-size: cover;
	padding-bottom: 25%;
}

.bbc-zapis a
{
	display: block;
	width: 100%;
	margin: 0em auto 0em auto;
	text-align: center;
	text-decoration: none;
	max-width: 390px;
}

.bbc-zapis a:hover::before
{
	background-position: 0px 100%;
}


.bbc-firm-inf
{
	margin-bottom: 0.75em;
}

.bbc-firm-inf p
{
	color: #080;
}

.bbc-firm-inf > ul
{
	padding: 0;
	list-style: none;
	border-left: #ceb 4px solid;
}

.bbc-firm-inf > ul > li
{
	padding: 0.5em;
	background: #f4ffef;
	color: #080;
}

.bbc-firm-inf > ul > li:nth-of-type(2n+1)
{
	background: #eaffda;
}

.bbc-firm
{
	margin-bottom: 0.75em;
}

.bbc-firm p
{
	color: #0040ad;
}

.bbc-firm > ul
{
	padding: 0;
	list-style: none;
	border-left: #eef8ff 4px solid;
}

.bbc-firm > ul > li
{
	padding: 0.5em;
	background: #f8ffff;
	color: #004488;
}

.bbc-firm > ul > li:nth-of-type(2n+1)
{
	background: #eefaff;
}

.bbc-firm-d
{
	font-size: 90%;
	color: #4080cd;
}

.bbc-ing
{
	margin-bottom: 0.75em;
}

.bbc-ing p
{
	color: #ad0000;
}

.bbc-ing ul
{
	padding: 0;
	list-style: none;
	border-left: #ffccbb 4px solid;
}

.bbc-ing ul li
{
	padding: 0.5em;
	background: #ffefef;
	color: #800;
}

.bbc-ing ul li:nth-of-type(2n+1)
{
	background: #ffdfdf;
}

.bbc-stp
{
	margin-bottom: 0.75em;
}

.bbc-stp p
{
	color: #080;
}

.bbc-stp ul
{
	padding: 0;
	list-style: none;
	border-left: #ceb 4px solid;
}

.bbc-stp ul li
{
	padding: 0.5em;
	background: #f4ffef;
	color: #080;
}

.bbc-stp ul li:nth-of-type(2n+1)
{
	background: #eaffda;
}


@media only screen and (min-width: 640px)
{
.pg-recepty .toc > ol > li > ol > li
{
	width: 50%;
	width: 50%;
	float: left;
	padding-right: 2em;
}

.pg-recepty .toc > ol > li
{
	clear: both;
}
}


.bbc-recipes
{
	counter-reset: recipe;
}

.bbc-recipe
{
	clear: both;
	margin: 0.5em 0em;
	color: #660000;
	counter-increment: recipe;
}

.bbc-recipe-h
{
	color: #cc6644;
}

.bbc-recipe h3
{
	color: #cc0000;
	text-shadow: 1px 1px 0px #ffffff, 1px 1px 1px #ad0000;
	margin: 0 0 -0.5em 0;
	font-size: 120%;
}

.bbc-recipe-t
{
	font-weight: bold;
	font-size: 110%;
}

.bbc-recipe-t::before, .bbc-recipe h3::before
{
	content: "№" counter(recipe);
	color: #cc8866;
	display: inline-block;
	margin-left: 0.25em;
	float: right;
}

.bbc-recipe-t a
{
	color: #cc0000;
}

.bbc-recipe-t a:hover
{
	color: #ff0000;
}

.bbc-recipe img
{
	display: block;
	width: 200px;
	float: left;
	margin: 1em 1em 1em 0;
}

.bbc-recipe-i
{
	display: block;
	margin-top: 1em;
	font-size: 80%;
}

.bbc-recipe-i:after
{
	content: '';
	display: block;
	clear: both;
}


.bbc-recipe-i2
{
	clear: both;
	margin-bottom: 0.75em;
}

.bbc-recipe-i2 p
{
	color: #ad0000;
}

.bbc-recipe-i2 p:not(:first-of-type)
{
	color: #ad8000;
}

.bbc-recipe-i2 p + p
{
	padding-top: 0;
}

.bbc-recipe-i2 ul
{
	padding: 0;
	list-style: none;
}

.bbc-recipe-i2 ul li
{
	padding: 0.3em 0.5em;
	background: #ffefef;
	color: #800;
}

.bbc-recipe-i2 ul li:nth-of-type(2n+1)
{
	background: #ffdfdf;
}

.bbc-recipe-i2 em
{
	color: #aa3300;
}

.bbc-recipe-s
{
	clear: both;
	margin-bottom: 0.75em;
}

.bbc-recipe-s p
{
	color: #080;
}

.bbc-recipe-s ul
{
	padding: 0;
	list-style: none;
	counter-reset: li;
}

.bbc-recipe-s ul li::before
{
	content: counter(li) ".";
	color: #00aa00;
	display: block;
	position: absolute;
	float: left;
	width: 1.5em;
	margin-left: -1.75em;
	text-align: right;
}

.bbc-recipe-s ul li
{
	padding: 0.3em 0.5em 0.3em 2.0em;
	background: #f4ffef;
	color: #080;
	counter-increment: li;
}

.bbc-recipe-s ul li:nth-of-type(2n+1)
{
	background: #eaffda;
}

.bbc-recipe-s em
{
	color: #33aa00;
}

.bbc-recipe-nopic
{
	display: block;
	width: 200px;
	height: 100px;
	float: left;
	margin: 1em 1em 1em 0;
	background: #f8f0ee;
}

.bbc-recipe-i2 p .bbc-recipe-v
{
	color: #ff4000;
}

.bbc-recipe-i2 ul .bbc-recipe-v
{
	color: #000000;
}

.bbc-recipe-s p .bbc-recipe-v
{
	color: #0088ff;
}

.bbc-recipe-url
{

}

.bbc-recipe-a
{
	display: block;
	margin-top: -1em;
	text-align: right;
	font-size: 75%;
	color: #cc6644;
}