/*
Theme Name: Ussuri Museum 
Author: wsmaster
Author URI: https://www.fl.ru/users/wsmaster
Description: Графическая тема, разработаная специально для Уссурийского музея
Version: 2.0  
Text Domain: ussuri-museum
*/

/* =Notes
--------------------------------------------------------------
This stylesheet uses rem values with a pixel fallback. The rem
values (and line heights) are calculated using two variables:

$rembase:     14;
$line-height: 24;

---------- Examples

* Use a pixel value with a rem fallback for font-size, padding, margins, etc.
	padding: 5px 0;
	padding: 0.357142857rem 0; (5 / $rembase)

* Set a font-size and then set a line-height based on the font-size
	font-size: 16px
	font-size: 1.142857143rem; (16 / $rembase)
	line-height: 1.5; ($line-height / 16)

---------- Vertical spacing

Vertical spacing between most elements should use 24px or 48px
to maintain vertical rhythm:

.my-new-div {
	margin: 24px 0;
	margin: 1.714285714rem 0; ( 24 / $rembase )
}

---------- Further reading

http://snook.ca/archives/html_and_css/font-size-with-rem
http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/


/* =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%;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
ol,
ul {
	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;
}

div.wpcf7-mail-sent-ok {
    margin-top: -9px;
    border: 2px solid #398f14;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
} 
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
small {
	font-size: smaller;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/* Clearing floats */
.clear:after,
.wrapper:after,
.format-status .entry-header:after {
	clear: both;
}
.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after,
.format-status .entry-header:before,
.format-status .entry-header:after {
	display: table;
	content: "";
}


/* =Repeatable patterns
-------------------------------------------------------------- */
 

/* Shared Post Format styling */
article.format-quote footer.entry-meta,
article.format-link footer.entry-meta,
article.format-status footer.entry-meta {
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
}

/* Form fields, general styles first */
button,
input,
select,
textarea {
	border: 1px solid #ccc;
	border-radius: 3px;
	font-family: inherit;
	padding: 6px;
	padding: 0.428571429rem;
}
button,
input {
	line-height: normal;
}
textarea {
	font-size: 100%;
	overflow: auto;
	vertical-align: top;
}

/* Reset non-text input types */
input[type="checkbox"],
input[type="radio"],
input[type="file"],
input[type="hidden"],
input[type="image"],
input[type="color"] {
	border: 0;
	border-radius: 0;
	padding: 0;
}

/* Buttons */ 
.menu-toggle,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	cursor: pointer;
}
button[disabled],
input[disabled] {
	cursor: default;
}
 
}
.bypostauthor cite span {
	color: #fff;
	background-color: #21759b;
	background-image: none;
	border: 1px solid #1f6f93;
	border-radius: 2px;
	box-shadow: none;
	padding: 0;
}

/* Responsive images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

/* Make sure videos and embeds fit their containers */
embed,
iframe,
object,
video {
	max-width: 100%;
}
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}

/* Images */
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
} 
.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
}
.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-style: italic;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #757575;
}
img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.entry-content dl.gallery-item {
	margin: 0;
}
.gallery-item a,
.gallery-caption {
	width: 90%;
}
.gallery-item a {
	display: block;
}
.gallery-caption a {
	display: inline;
}
.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}
.gallery .gallery-icon img {
	height: auto;
	max-width: 90%;
	padding: 5%;
}
.gallery-columns-1 .gallery-icon img {
	padding: 3%;
}

/* Navigation */
.site-content nav {
	clear: both;
	line-height: 2;
	overflow: hidden;
}
#nav-above {
	padding: 24px 0;
	padding: 1.714285714rem 0;
}
#nav-above {
	display: none;
}
.paged #nav-above {
	display: block;
} 
.nav-single + .comments-area,
#comment-nav-above {
	margin: 48px 0;
	margin: 3.428571429rem 0;
}

/* Author profiles */
.author .archive-header {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.author-info {
	border-top: 1px solid #ededed;
	margin: 24px 0;
	margin: 1.714285714rem 0;
	padding-top: 24px;
	padding-top: 1.714285714rem;
	overflow: hidden;
}
.author-description p {
	color: #757575;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
}
.author.archive .author-info {
	border-top: 0;
	margin: 0 0 48px;
	margin: 0 0 3.428571429rem;
}
.author.archive .author-avatar {
	margin-top: 0;
}


/* =Basic structure
-------------------------------------------------------------- */

/* Body, links, basics */
html {
	font-size: 87.5%;
}
body {
	font-size: 14px;
	font-size: 1rem;
	font-family: Arial, sans-serif;
	text-rendering: optimizeLegibility;
	color: #352321;
	background:#eaded2;
	min-width:1024px;
} 
a {
	outline: none;
	color: #552a25;
}
a:hover {
	color: #b04f00;
	text-decoration:none;
}

/* Assistive text */
.assistive-text,
.site .screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
}
.main-navigation .assistive-text:focus {
	background: #fff;
	border: 2px solid #333;
	border-radius: 3px;
	clip: auto !important;
	color: #000;
	display: block;
	font-size: 12px;
	padding: 12px;
	position: absolute;
	top: 5px;
	left: 5px;
	z-index: 100000; /* Above WP toolbar */
}

/* Page structure */  

/* Header */
.site-header {
	padding: 79px 0 0; 
	display: inline-block; 
}
.site-header h1,
.site-header h2 {
	text-align: center;
}
.site-header h1 a,
.site-header h2 a {
	color: #515151;
	display: inline-block;
	text-decoration: none;
}
.site-header h1 a:hover,
.site-header h2 a:hover {
	color: #21759b;
} 
.header-image {
	margin-top: 24px;
	margin-top: 1.714285714rem;
}

/* Navigation Menu */
.main-navigation {
  margin: 55px 0 0 91px;
  text-align: center;
  float: left;
}
.main-navigation li {
	margin-top: 24px;
	margin-top: 1.714285714rem;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.42857143;
}
.main-navigation a { 
	background:url(img/menusep.png) no-repeat center right;
	padding-right: 30px;
}
.main-navigation li:last-child a{background:none;}
.main-navigation a:hover,
.main-navigation a:focus {
	color: #21759b;
}
.main-navigation ul.nav-menu,
.main-navigation div.nav-menu > ul {
	display: none;
}
.main-navigation ul.nav-menu.toggled-on,
.menu-toggle {
	display: inline-block;
}

/* Banner */
section[role="banner"] {
	margin-bottom: 48px;
	margin-bottom: 3.428571429rem;
}

/* Sidebar */
.widget-area .widget { 
	margin-bottom: 30px; 
}   
.widget-area .widget a {
	color: #552a25;
}
.widget-area .widget a:hover {
	color: #b04f00;
	text-decoration:none;
} 
 


/* =Main content and comment content
-------------------------------------------------------------- */

.entry-meta {
	clear: both;
}
.entry-header {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.entry-header img.wp-post-image {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.entry-header .entry-title {
	color:#562803;
	font-size: 20px; 
	line-height: 1.2;
	font-weight: normal;
}
.entry-header .entry-title a {
	text-decoration: none;
}
.entry-header .entry-format {
	margin-top: 24px;
	margin-top: 1.714285714rem;
	font-weight: normal;
}
.entry-header .comments-link {
	margin-top: 24px;
	margin-top: 1.714285714rem;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	color: #757575;
}
.comments-link a,
.entry-meta a {
	color: #757575;
}
.comments-link a:hover,
.entry-meta a:hover {
	color: #21759b;
}
article.sticky .featured-post {
	border-top: 4px double #ededed;
	border-bottom: 4px double #ededed;
	color: #757575;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 3.692307692;
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
	text-align: center;
}
.entry-content,
.entry-summary,
.mu_register {
	line-height: 1.714285714;
}
.entry-content h1,
.comment-content h1,
.entry-content h2,
.comment-content h2,
.entry-content h3,
.comment-content h3,
.entry-content h4,
.comment-content h4,
.entry-content h5,
.comment-content h5,
.entry-content h6,
.comment-content h6 {
	margin: 24px 0;
	margin: 1.714285714rem 0;
	line-height: 1.714285714;
}
.entry-content h1,
.comment-content h1 {
	font-size: 21px;
	font-size: 1.5rem;
	line-height: 1.5;
}
.entry-content h2,
.comment-content h2,
.mu_register h2 {
	font-size: 18px;
	font-size: 1.285714286rem;
	line-height: 1.6;
}
.entry-content h3,
.comment-content h3 {
	font-size: 16px;
	font-size: 1.142857143rem;
	line-height: 1.846153846;
}
.entry-content h4,
.comment-content h4 {
	font-size: 14px;
	font-size: 1rem;
	line-height: 1.846153846;
}
.entry-content h5,
.comment-content h5 {
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
}
.entry-content h6,
.comment-content h6 {
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.846153846;
}
.entry-content p,
.entry-summary p,
.comment-content p,
.mu_register p {
	color:#352321;
	font-size:12px;
	line-height: 1.6;
	margin-bottom: 22px;
}  
.entry-content ol,
.comment-content ol,
.entry-content ul,
.comment-content ul,
.mu_register ul {
	margin: 0 0 24px;
	margin: 0 0 1.714285714rem;
	line-height: 1.714285714;
}
.entry-content ul ul,
.comment-content ul ul,
.entry-content ol ol,
.comment-content ol ol,
.entry-content ul ol,
.comment-content ul ol,
.entry-content ol ul,
.comment-content ol ul {
	margin-bottom: 0;
}
.entry-content ul,
.comment-content ul,
.mu_register ul {
	list-style: disc outside;
}
.entry-content ol,
.comment-content ol {
	list-style: decimal outside;
}
.entry-content li,
.comment-content li,
.mu_register li {
	margin: 0 0 0 36px;
	margin: 0 0 0 2.571428571rem;
}
.entry-content blockquote,
.comment-content blockquote {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
	padding: 24px;
	padding: 1.714285714rem;
	font-style: italic;
}
.entry-content blockquote p:last-child,
.comment-content blockquote p:last-child {
	margin-bottom: 0;
}
.entry-content code,
.comment-content code {
	font-family: Consolas, Monaco, Lucida Console, monospace;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
}
.entry-content pre,
.comment-content pre {
	border: 1px solid #ededed;
	color: #666;
	font-family: Consolas, Monaco, Lucida Console, monospace;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.714285714;
	margin: 24px 0;
	margin: 1.714285714rem 0;
	overflow: auto;
	padding: 24px;
	padding: 1.714285714rem;
}
.entry-content pre code,
.comment-content pre code {
	display: block;
}
.entry-content abbr,
.comment-content abbr,
.entry-content dfn,
.comment-content dfn,
.entry-content acronym,
.comment-content acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
.entry-content address,
.comment-content address {
	display: block;
	line-height: 1.714285714;
	margin: 0 0 24px;
	margin: 0 0 1.714285714rem;
}
img.alignleft,
.wp-caption.alignleft {
	margin: 12px 24px 12px 0;
	margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
}
img.alignright,
.wp-caption.alignright {
	margin: 12px 0 12px 24px;
	margin: 0.857142857rem 0 0.857142857rem 1.714285714rem;
}
img.aligncenter,
.wp-caption.aligncenter {
	clear: both;
	margin-top: 12px;
	margin-top: 0.857142857rem;
	margin-bottom: 12px;
	margin-bottom: 0.857142857rem;
}
.entry-content embed,
.entry-content iframe,
.entry-content object,
.entry-content video {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.entry-content dl,
.comment-content dl {
	margin: 0 24px;
	margin: 0 1.714285714rem;
}
.entry-content dt,
.comment-content dt {
	font-weight: bold;
	line-height: 1.714285714;
}
.entry-content dd,
.comment-content dd {
	line-height: 1.714285714;
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.entry-content table,
.comment-content table {
	border-bottom: 1px solid #ededed;
	color: #757575;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	margin: 0 0 24px;
	margin: 0 0 1.714285714rem;
	width: 100%;
}
.entry-content table caption,
.comment-content table caption {
	font-size: 16px;
	font-size: 1.142857143rem;
	margin: 24px 0;
	margin: 1.714285714rem 0;
}
.entry-content td,
.comment-content td {
	border-top: 1px solid #ededed;
	padding: 6px 10px 6px 0;
}
.site-content article {  
	padding-bottom: 24px; 
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}
.page-links {
	clear: both;
	line-height: 1.714285714;
}
footer.entry-meta {
	margin-top: 24px;
	margin-top: 1.714285714rem;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	color: #757575;
}
.single-author .entry-meta .by-author {
	display: none;
}
.mu_register h2 {
	color: #757575;
	font-weight: normal;
}


/* =Archives
-------------------------------------------------------------- */

.archive-header,
.page-header {
	margin-bottom: 48px;
	margin-bottom: 3.428571429rem;
	padding-bottom: 22px;
	padding-bottom: 1.571428571rem;
	border-bottom: 1px solid #ededed;
}
.archive-meta {
	color: #757575;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	margin-top: 22px;
	margin-top: 1.571428571rem;
}

/* =Single audio/video attachment view
-------------------------------------------------------------- */

.attachment .entry-content .mejs-audio {
	max-width: 400px;
}

.attachment .entry-content .mejs-container {
	margin-bottom: 24px;
}


/* =Single image attachment view
-------------------------------------------------------------- */

.article.attachment {
	overflow: hidden;
}
.image-attachment div.attachment {
	text-align: center;
}
.image-attachment div.attachment p {
	text-align: center;
}
.image-attachment div.attachment img {
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 100%;
}
.image-attachment .entry-caption {
	margin-top: 8px;
	margin-top: 0.571428571rem;
}


/* =Aside post format
-------------------------------------------------------------- */

article.format-aside h1 {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
article.format-aside h1 a {
	text-decoration: none;
	color: #4d525a;
}
article.format-aside h1 a:hover {
	color: #2e3542;
}
article.format-aside .aside {
	padding: 24px 24px 0;
	padding: 1.714285714rem;
	background: #d2e0f9;
	border-left: 22px solid #a8bfe8;
}
article.format-aside p {
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	color: #4a5466;
}
article.format-aside blockquote:last-child,
article.format-aside p:last-child {
	margin-bottom: 0;
}


/* =Post formats
-------------------------------------------------------------- */

/* Image posts */
article.format-image footer h1 {
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	font-weight: normal;
}
article.format-image footer h2 {
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
}
article.format-image footer a h2 {
	font-weight: normal;
}

/* Link posts */
article.format-link header {
	padding: 0 10px;
	padding: 0 0.714285714rem;
	float: right;
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
	font-weight: bold;
	font-style: italic;
	text-transform: uppercase;
	color: #848484;
	background-color: #ebebeb;
	border-radius: 3px;
}
article.format-link .entry-content {
	max-width: 80%;
	float: left;
}
article.format-link .entry-content a {
	font-size: 22px;
	font-size: 1.571428571rem;
	line-height: 1.090909091;
	text-decoration: none;
}

/* Quote posts */
article.format-quote .entry-content p {
	margin: 0;
	padding-bottom: 24px;
	padding-bottom: 1.714285714rem;
}
article.format-quote .entry-content blockquote {
	display: block;
	padding: 24px 24px 0;
	padding: 1.714285714rem 1.714285714rem 0;
	font-size: 15px;
	font-size: 1.071428571rem;
	line-height: 1.6;
	font-style: normal;
	color: #6a6a6a;
	background: #efefef;
}

/* Status posts */
.format-status .entry-header {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.format-status .entry-header header {
	display: inline-block;
}
.format-status .entry-header h1 {
	font-size: 15px;
	font-size: 1.071428571rem;
	font-weight: normal;
	line-height: 1.6;
	margin: 0;
}
.format-status .entry-header h2 {
	font-size: 12px;
	font-size: 0.857142857rem;
	font-weight: normal;
	line-height: 2;
	margin: 0;
}
.format-status .entry-header header a {
	color: #757575;
}
.format-status .entry-header header a:hover {
	color: #21759b;
}
.format-status .entry-header img {
	float: left;
	margin-right: 21px;
	margin-right: 1.5rem;
}


/* =Comments
-------------------------------------------------------------- */

.comments-title {
	margin-bottom: 48px;
	margin-bottom: 3.428571429rem;
	font-size: 16px;
	font-size: 1.142857143rem;
	line-height: 1.5;
	font-weight: normal;
}
.comments-area article {
	margin: 24px 0;
	margin: 1.714285714rem 0;
}
.comments-area article header {
	margin: 0 0 48px;
	margin: 0 0 3.428571429rem;
	overflow: hidden;
	position: relative;
}
.comments-area article header img {
	float: left;
	padding: 0;
	line-height: 0;
}
.comments-area article header cite,
.comments-area article header time {
	display: block;
	margin-left: 85px;
	margin-left: 6.071428571rem;
}
.comments-area article header cite {
	font-style: normal;
	font-size: 15px;
	font-size: 1.071428571rem;
	line-height: 1.42857143;
}
.comments-area cite b {
	font-weight: normal;
}
.comments-area article header time {
	line-height: 1.714285714;
	text-decoration: none;
	font-size: 12px;
	font-size: 0.857142857rem;
	color: #5e5e5e;
}
.comments-area article header a {
	text-decoration: none;
	color: #5e5e5e;
}
.comments-area article header a:hover {
	color: #21759b;
}
.comments-area article header cite a {
	color: #444;
}
.comments-area article header cite a:hover {
	text-decoration: underline;
}
.comments-area article header h4 {
	position: absolute;
	top: 0;
	right: 0;
	padding: 6px 12px;
	padding: 0.428571429rem 0.857142857rem;
	font-size: 12px;
	font-size: 0.857142857rem;
	font-weight: normal;
	color: #fff;
	background-color: #0088d0;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #009cee, #0088d0);
	background-image: -ms-linear-gradient(top, #009cee, #0088d0);
	background-image: -webkit-linear-gradient(top, #009cee, #0088d0);
	background-image: -o-linear-gradient(top, #009cee, #0088d0);
	background-image: linear-gradient(top, #009cee, #0088d0);
	border-radius: 3px;
	border: 1px solid #007cbd;
}
.comments-area .bypostauthor cite span {
	position: absolute;
	margin-left: 5px;
	margin-left: 0.357142857rem;
	padding: 2px 5px;
	padding: 0.142857143rem 0.357142857rem;
	font-size: 10px;
	font-size: 0.714285714rem;
}
.comments-area .bypostauthor cite b {
	font-weight: bold;
}
a.comment-reply-link,
a.comment-edit-link {
	color: #686868;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
}
a.comment-reply-link:hover,
a.comment-edit-link:hover {
	color: #21759b;
}
.commentlist .pingback {
	line-height: 1.714285714;
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}

/* Comment form */
#respond {
	margin-top: 48px;
	margin-top: 3.428571429rem;
}
#respond h3#reply-title {
	font-size: 16px;
	font-size: 1.142857143rem;
	line-height: 1.5;
}
#respond h3#reply-title #cancel-comment-reply-link {
	margin-left: 10px;
	margin-left: 0.714285714rem;
	font-weight: normal;
	font-size: 12px;
	font-size: 0.857142857rem;
}
#respond form {
	margin: 24px 0;
	margin: 1.714285714rem 0;
}
#respond form p {
	margin: 11px 0;
	margin: 0.785714286rem 0;
}
#respond form p.logged-in-as {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
#respond form label {
	display: block;
	line-height: 1.714285714;
}
#respond form input[type="text"],
#respond form textarea {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.714285714;
	padding: 10px;
	padding: 0.714285714rem;
	width: 100%;
}
#respond form p.form-allowed-tags {
	margin: 0;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #5e5e5e;
}
.required {
	color: red;
}


/* =Front page template
-------------------------------------------------------------- */

.entry-page-image {
	margin-bottom: 14px;
	margin-bottom: 1rem;
}
.template-front-page .site-content article {
	border: 0;
	margin-bottom: 0;
}
.template-front-page .widget-area {
	clear: both;
	float: none;
	width: auto;
	padding-top: 24px;
	padding-top: 1.714285714rem;
	border-top: 1px solid #ededed;
}
.template-front-page .widget-area .widget li {
	margin: 8px 0 0;
	margin: 0.571428571rem 0 0;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.714285714;
	list-style-type: square;
	list-style-position: inside;
}
.template-front-page .widget-area .widget li a {
	color: #757575;
}
.template-front-page .widget-area .widget li a:hover {
	color: #21759b;
}
.template-front-page .widget-area .widget_text img {
	float: left;
	margin: 8px 24px 8px 0;
	margin: 0.571428571rem 1.714285714rem 0.571428571rem 0;
}


/* =Widgets
-------------------------------------------------------------- */

.widget-area .widget ul ul {
	margin-left: 12px;
	margin-left: 0.857142857rem;
}
.widget_rss li {
	margin: 12px 0;
	margin: 0.857142857rem 0;
}
.widget_recent_entries .post-date,
.widget_rss .rss-date {
	color: #aaa;
	font-size: 11px;
	font-size: 0.785714286rem;
	margin-left: 12px;
	margin-left: 0.857142857rem;
}
#wp-calendar {
	margin: 0;
	width: 100%;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	color: #686868;
}
#wp-calendar th,
#wp-calendar td,
#wp-calendar caption {
	text-align: left;
}
#wp-calendar #next {
	padding-right: 24px;
	padding-right: 1.714285714rem;
	text-align: right;
}
.widget_search label {
	display: block;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
}
.widget_twitter li {
	list-style-type: none;
}
.widget_twitter .timesince {
	display: block;
	text-align: right;
}


/* =Plugins
----------------------------------------------- */

img#wpstats {
	display: block;
	margin: 0 auto 24px;
	margin: 0 auto 1.714285714rem;
}
 
	.author-avatar {
		float: left;
		margin-top: 8px;
		margin-top: 0.571428571rem;
	}
	.author-description {
		float: right;
		width: 80%;
	}
	#main {
		margin: 10px 25px;
		width: 95%;
		display: flex;
		align-content: center;
    	justify-content: center;
	}
	.site-content {
		float: left;
	  	width: 70%;
		min-width: 300px;
	  	padding: 10px;
		margin: 10px;
	}
	
	.site-content.fullwidth {width:100%;}
	
	body.template-front-page .site-content,
	body.attachment .site-content,
	body.full-width .site-content {
		width: 100%;
	}

/*	.site {width: 1100px;} */
	
	#secondary .widget-area {
		float: right;
		width: 26%;
		min-width: 150px;
		padding: 10px 6px 6px 6px;
	}
	.site-header h1,
	.site-header h2 {
		text-align: left;
	}
	.site-header h1 {
		font-size: 26px;
		font-size: 1.857142857rem;
		line-height: 1.846153846;
		margin-bottom: 0;
	}
	.main-navigation ul.nav-menu,
	.main-navigation div.nav-menu > ul { 
		display: inline-block !important;
		text-align: left;
		width: 100%;
	}
	.main-navigation ul {
		margin: 0;
		text-indent: 0;
	}
	.main-navigation li a,
	.main-navigation li {
		display: inline-block;
		text-decoration: none;
	}
	.main-navigation li a {
		border-bottom: 0;
		color: #3b1915;
		line-height: 1; 
		white-space: nowrap;
		font-size: 15px;
	}
	.main-navigation li a:hover,
	.main-navigation li a:focus {
		color: #b04f00;
		text-decoration:underline;
	}
	.main-navigation li {
		margin: 0 19px 0 0; 
		position: relative;
	}
	.main-navigation li:last-child { margin:0;}
	.main-navigation li ul {
		margin: 0;
		padding: 0;
		position: absolute;
		top: 100%;
		z-index: 1;
		height: 1px;
		width: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
	}
	.main-navigation li ul ul {
		top: 0;
		left: 100%;
	}
	.main-navigation ul li:hover > ul,
	.main-navigation ul li:focus > ul,
	.main-navigation .focus > ul {
		border-left: 0;
		clip: inherit;
		overflow: inherit;
		height: inherit;
		width: inherit;
	}
	.main-navigation li ul li a {
		background: #efefef;
		border-bottom: 1px solid #ededed;
		display: block;
		font-size: 11px;
		font-size: 0.785714286rem;
		line-height: 2.181818182;
		padding: 8px 10px;
		padding: 0.571428571rem 0.714285714rem;
		width: 180px;
		width: 12.85714286rem;
		white-space: normal;
	}
	.main-navigation li ul li a:hover,
	.main-navigation li ul li a:focus {
		background: #e3e3e3;
		color: #444;
	} 
	.menu-toggle {
		display: none;
	} 
	#respond form input[type="text"] {
		width: 46.333333333%;
	}
	#respond form textarea.blog-textarea {
		width: 79.666666667%;
	}
	.template-front-page .site-content,
	.template-front-page article {
		overflow: hidden;
	}
	.template-front-page.has-post-thumbnail article {
		float: left;
		width: 47.916666667%;
	}
	.entry-page-image {
		float: right;
		margin-bottom: 0;
		width: 47.916666667%;
	}
	.template-front-page .widget-area .widget,
	.template-front-page.two-sidebars .widget-area .front-widgets {
		float: left;
		width: 51.875%;
		margin-bottom: 24px;
		margin-bottom: 1.714285714rem;
	}
	.template-front-page .widget-area .widget:nth-child(odd) {
		clear: right;
	}
	.template-front-page .widget-area .widget:nth-child(even),
	.template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets {
		float: right;
		width: 39.0625%;
		margin: 0 0 24px;
		margin: 0 0 1.714285714rem;
	}
	.template-front-page.two-sidebars .widget,
	.template-front-page.two-sidebars .widget:nth-child(even) {
		float: none;
		width: auto;
	}
	.commentlist .children {
		margin-left: 48px;
		margin-left: 3.428571429rem;
	} 
.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}
h1, h2, .topdivs, .main-navigation li a, .topmenu a, .widget-title, .recent-posts-extended, .bottomcont_d, .bottomcont_d a, .pgcont, .pgcont a, .tiger, .tiger a, .sidebarleft li a  {font-family:Roboto, Arial}

.logo {}
.site-header h2 {
  font-size: 23px;
  width: 248px;
  font-weight: 500;
  padding: 37px 14px 0;
  line-height: 21px;
  text-shadow: 1px 1px 1px #F1EBCD;
  color: #6B2013;
}

.topdivs {
  font-size:15px;
  padding: 40px 4px 0 44px;
  line-height: 17px;}
.topdivs span{font-size:12px;}

.icfrst {background:url(img/icfrst.png) no-repeat 20px 43px;}
.icscnd {background:url(img/icscnd.png) no-repeat 20px 43px;} 
.site-header .logo, .site-header div {float:left;}

.topmenu {
  position: fixed;
  width: 100%;
  z-index: 999;}
  .menu-verhnee-menyu-container {
  background: url(img/topmenu.png) repeat-x top center;
  min-height: 65px;
  width: 100%; }
.topmenu ul {
  width: 960px;
  margin: 0 auto;}
.topmenu ul li {  float: left; margin: 19px 2px;   position: relative;}
.topmenu ul li a {
  color: #eaded2;
  text-decoration: none;
  margin: 0 23px 0 0;
  padding: 2px 15px;
  
}
.topmenu ul li a:after {
  content:'';
  background: url(img/topmensep.png) no-repeat center right;
  position: absolute;
  width: 32px;
  height: 13px;  
  }
.topmenu ul > li.current-page-ancestor > a, .topmenu ul > li.current-menu-item > a {
color:#DC9458;
border: 1px solid #DC9458;' 
} 
.topmenu ul li ul li.current-menu-item a {border:0;}
.topmenu ul li a:hover {color:#DC9458; }
.topmenu ul li:last-child a {background:none;}
.topmenu ul li ul { 
display:none;
  width: 250px; 
  position: absolute; 
  left: -30px;
  z-index: -999;
}
.topmenu ul li ul li a:after{ display:none; } 
.topmenu ul li:hover ul, .topmenu ul li ul:hover  {
  display: inline-block;
  }
.topmenu ul li ul li{
  padding: 14px 0; margin:0;
  width: 250px;
  background: #542b1f;}
.topmenu ul li ul li:first-child{ padding:40px 0 14px 0;}
.topmenu ul li ul li:last-child{ background:url(img/submenubg.png) repeat-x bottom left;
  padding-bottom: 30px;}
.topmenu ul li ul li a{
  background: none;
  padding: 0 30px;}
.menu-item-has-children {
  padding-bottom: 35px;
}
.banner_big {background:url(img/banner_big.png) no-repeat; width:300px; height:97px; display: block;}
.banner_big:hover {background:url(img/banner_big_h.png) no-repeat;}

.widget-title {
  color: #562803; 
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 15px;
}
.recent-posts-extended li:hover{
  border: 1px solid #e9bf9a;
  }
.recent-posts-extended li{
  border: 1px solid #dad1ca;
  background: #f7eee5;
  margin-bottom: 11px;
  padding: 8px 20px;
  line-height: 1.5;
}

.yearwid {
  color: #eaded2;
  background: #552a25;
  padding: 0px 7px;
  font-size: 9px;
  display: table;}
  
.rpwe-title {
  font-weight: 500;
  font-size: 13px;
  padding: 10px 0;}
  
.allwid {
  background: #f7eee5;
  padding: 4px 19px;
  font-size: 11px;}
  
.site-info {
  font-size: 11px;
  line-height: 1.8;
  color: #5c4b49;
  padding: 0px 0 18px;}
.ussdis{
background: url(img/ussdis.png) no-repeat;
width:156px;
height:43px;
  display: block;
  float: left;
  margin-right: 27px;}
.bottomcont {  
	background: url(img/molot.png) no-repeat;
	padding-top: 108px;
	position: relative;
	width: 940px;
  margin: 0 auto 31px;
}
.bottomcont_d {
	float:left;
	margin-right:52px;
	color:#3e2918;
}
.bottomcont_d:nth-child(2), .pgcont:nth-child(2) { font-size:14px; }
.bottomcont_d:nth-child(3), .pgcont:nth-child(3)  { font-size:18px; }
.bottomcont_d:nth-child(4) a, .pgcont:nth-child(4)  a{ font-size:12px; }
.bottomcont_d span{
	font-size:11px;
  display: block;
  margin-bottom: 9px;
}
.tiger {
	width:300px;
	right: 0;
	top: -8px;
	position: absolute;
	height: 90px;
}
.intiger {
	background:#f7eee5 url(img/tiger.png) no-repeat bottom center;  
	position: absolute;
	bottom:0;
	width:300px;
	padding: 16px 0px 18px;
}
.tiger a {
  padding: 0 0 0 97px;
  font-size: 14px;
}
.tiger span {
  padding: 4px 50px 0 96px;
  font-size: 11px;
  display: block;
}

/* Обычная страница */
.main-navigation.notmain {
	width: 1032px;
	margin: 0 auto;
	float: none;
	background:url(img/mainmenubg.png) no-repeat;   
	padding: 42px 0 47px;
  }
.main-navigation.notmain ul{text-align:center;}

.widget-area.sidebarleft{
width:200px; 
float:left;
padding: 1px 15px 0 0;}

.sidebarleft li {line-height: 2.4;
  padding: 0 12px;
  margin-bottom: 3px;} 
.sidebarleft li.current_page_item {  background: #5f3228;}
.sidebarleft li.current_page_item a{color:#fff; text-decoration:none;}
.withleftsidebar  {
  width: 700px;
  border-left: 2px solid #e4d5c6; 
  padding: 0 0 0 30px;
  margin-top: 36px;
  position: relative;
  min-height: 500px;}
.withleftsidebar .entry-content p {font-size:13px;}
 
.kama_breadcrumbs, .kama_breadcrumbs a {color:#856e66;font-size:11px;  margin-bottom: 10px;}
.kama_breadcrumbs span  i{  padding: 0 11px; } 

.banner_mini {
background:url(img/banner_mini.png) no-repeat;
  width: 300px;
  height: 61px;
  display: block;
  position: absolute;
  right: 0;
  top: -65px;
}
.fullwidth .banner_mini {
  right: 24px;
  top: -27px;
}
.banner_mini:hover {background:url(img/banner_mini_h.png) no-repeat;}

.fullwidth {width:960px;position: relative;}
.pgcontm {width: 335px; float: left;	color:#3e2918;}
.pgcont span{
	font-size:11px;
  display: block; 
} 
.pgcont  {
  margin-bottom: 20px;
}

.modal_l {width:220px; height:36px; background:url(img/modal_l.png) no-repeat;display:block;margin-top: 15px;}
.modal_l:hover {background:url(img/modal_lh.png) no-repeat;}


.archive article {
  display: inline-block;
  height: 200px;
}
.archive article .entry-title a{ 
  color: #fff;
  text-decoration: underline;
  font-family: roboto;}
.archive article .entry-title a:hover{text-decoration:none; color:#e0ac51;} 
.archive article .entry-title { 
  margin: 15px 0 0;
}
.archive article .entry-content p{color:#fff;}
.archive article .entry-content {
  float: left;
  width: 580px;
  background: #63342d;
  padding: 0 30px;
  height: 199px;}
.archive article img{
  float: left;
  width: 300px;
  height: 199px;
} 
.inews article {
  display: inline-block;
  background:url(img/dotted.png) repeat-x top left;
  width: 935px;
  height:auto;
  padding: 12px 0 35px;
}
.inews article:last-child {
  background:url(img/dotted.png) repeat-x top left,url(img/dotted.png) repeat-x bottom left;}
.inews article .entry-title a{ 
  color: #552a25;
  text-decoration: underline;
  font-family: roboto;
  font-size: 15px;
  font-weight: 500;
  display: block;
  margin: 10px 0;}
.inews article .entry-title a:hover{text-decoration:none; color:#b04f00;} 
.inews article .entry-title { 
  margin: 15px 0 0;
}
.inews article .entry-content p{color:#55403a;}
.inews article .entry-datetime .yearwid{
  padding: 2px 5px;
  font-size: 12px; 
  margin-top: 3px; 
  height: auto;}
.inews article .entry-datetime {
	float:left;
  padding: 16px 20px;
}
.inews article .entry-content {
  float: right;
  padding: 0 30px 0 0;
  background: none;
  width: 780px;
  height: auto;
}

.single  .entry-header{
  margin-top: 24px;
}

.posts-navigation {
  background: #f7ede4;
  border-bottom: 1px solid #bea9a1;
  font-family: roboto;
}


.nav-previous  a{
	float: left; 
	color:#202020;
	font-size:14px;
  padding: 5px 22px 5px 16px;

}
.nav-next a{
	float: left;
	color:#552a25;
	font-size:18px;
}

.prev.page-numbers, .next.page-numbers {display:none;}

.nav-links {
  font-family: roboto;
  padding: 9px 0;}
.page-numbers.current {
border:2px solid #7e2d23;
color:#7e2d23;
  padding: 2px 7px; 
}
a.page-numbers {color:#202020; 
  padding: 2px 7px;}
  
.inewssingle {width:585px; float:left;}
.fullwidthsidebar {margin-top:50px;}

.inewssingle .rpwe-time {float:left;}
.inewssingle .entry-header {
  display: inline-block;
  margin-bottom: 15px;
}
.inewssingle .entry-title{
  margin-bottom: 11px;
}
.inewssingle .yearwid {float:left;
  font-size: 11px;
  padding: 1px 4px;
  margin: 1px 8px 0;}

  
.inews article .entry-afimg img{
	float:left; 
  width: 250px;
  height: 155px;
  border: 6px solid #f9f0e6;
}

.inews article .entry-title.afimg a{  margin: 0 0 10px;}
.inews article .entry-title.afimg { margin: 0 }
.inews article .entry-content.afimg {
  float: left;
  padding: 0 15px 0 30px;
  background: none;
  width: 460px;}
  
.inews article .worktime.afimg {
  float: left;
  color: #704337;
  font-family: Roboto;
  font-weight: bold;
  font-size: 17px;
  width: 165px;
  line-height: 1.4;}
  
.inews article.afimg{
  padding: 20px 0;
  margin-bottom: 15px;}
  
.mainpageslider{
  background:url(img/sliderbg.png) no-repeat center center;
  width: 1100px;
  margin: 0 auto;
  padding: 70px 0 90px;
  position: relative;
  }
.mainpageslider #meteor-slideshow {
  padding: 70px 0 92px;
  margin: 0 auto;
  width: 962px !important;
}

/* Модальное окно */
#modal_form {
	width: auto; 
	height: auto; 
	background: #fff;
	position: fixed; 
	left: 50%;
	transform: translate(-50%);
	display: none;  
	opacity: 0;  
	z-index: 1005;  
    padding: 25px 25px 25px 25px;
	font-family:roboto; 
	color: #513c2a;
} 
#modal_form #modal_close {
	width: 16px;
	height: 16px;
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	display: block;
	background:url(img/modalclose.png) no-repeat center center;
} 
#overlay {
	z-index: 1000;  
	position: fixed; 
	background-color: #381e1a; 
	opacity: 0.85; 
	width: 100%; 
	height: 100%; 
	top: 0; 
	left: 0; 
	cursor: pointer;
	display: none; 
}
#modal_form h2{
  font-size: 24px;
}
#modal_form h3{
  font-weight: 500;
  line-height: 1.2;
  font-size: 18px;
  margin-bottom: 11px;
}
#modal_form p{
  font-size: 13px;
}
#modal_form p:nth-child(4){
  margin-bottom: 32px;
}
#modal_form input, #modal_form select, #modal_form textarea{
  border-radius: 0 0;
  border: 1px solid #cbc1bf;
  background: #f8f0ee;
  color: #513c2a;
  margin: 10px 0 17px;
}
#modal_form textarea{
  width: 360px;
  height: 125px;
  resize: none;
}
#modal_form .wpcf7-submit{
  border: 3px solid #513c2a;
  text-transform: uppercase;
  padding: 10px 40px;
  font-size: 16px;
  font-weight: 700;
  background: #fff;
}
#modal_form .wpcf7-submit:hover{
  background: #513c2a;
  color:#fff;
}


.swiper-container {
	  width: 920px;
	  height: 280px;
	  margin: 0 auto;
	  overflow: hidden;
	  padding: 0 20px;
}
.swiper-slide img {
	margin-left: -40px;
} 
.swiper-slide {
	text-align: center;
	font-size: 18px; 
	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center; 
}

div.wpcf7-validation-errors {display:none!important;}

#modal_form select{
  height: 32px;
} 
html, body {height: 100%;} 
#wrapfo{
  min-height: 100%;
  height: 100%;
  height: auto !important;
	margin: 0 auto -242px;
}
#wrapfode{
 height: 242px;}
 
 footer[role="contentinfo"] { 
	clear: both;  
  background: #eaded2 url(img/botbg.png) bottom repeat-x;   height: 242px;
} 

.site-info {
	width: 940px;
  margin: 75px auto 0;}
   