/*Theme Name: Beruza
Author: Tames Studio
Version:02.02
Description: Beruza the theme includes two different post layouts
License: FREE*/
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%; font:inherit; vertical-align:baseline;}

/*HTML5 display-role reset for older browsers*/
html, body {color:#333; background-color:#FFF; font-family:Quicksand, Arial, Helvetica; border:0;}

/*FONTS*/
h1 {font-size:20px; margin-bottom:5px; color:#112F4D; text-shadow:2px 4px 3px rgba(0,0,0,0.3);}
h2 {font-size:18px; color:#181818; color:#555;}
h3 {font-size:17px; color:#173F66;} /*1em=16px*/
h4 {font-size:16px; color:#034B62;}/*0.938em=15px*/
h5 {font-size:15px; color:#0A4792;}/*0.875em=14px*/
h6 {font-size:14px; color:#114d84;}/*0.813em=13px*/

/*Links*/
a, a:link, a:visited{color:#444; text-decoration:none !important;}
a:hover, a:active {color:#063360; text-decoration:none !important;}

/*Dop*/
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block;}
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; border:0;}

dl {margin:1em 0;}
dt {font-weight:bold;}
dd {margin-bottom:1.5em;}
strong {font-weight:bold;}
cite,em,i {font-style:italic;}
big, .big_tag {font-size:1.1em;}
ins {text-decoration:none;}
code, pre {padding:3px 8px; color:#222; font-size:0.9em; margin:0 1px; background:#eee; font-family:Monospace,Courier; overflow:auto; line-height:1.4em;}
del, strike, s{text-decoration:line-through;}
pre {font-family:Courier, monospace;}
small {font-size:0.7em;}
abbr,acronym {border-bottom:1px dotted #444;cursor:help;}
sup,sub {height:0; line-height:1; position:relative; vertical-align:baseline; font-size:0.8em;}
sup {bottom:1ex;}
sub {top:.5ex;}
.naklon{font-style:oblique;}

/*Horizont Lines*/
hr {border:1px solid #EEE; margin-bottom:1.5em;}
#sloy{width:100%; height:auto; background-color:transparent; float:left; padding-left:5px; margin-bottom:5px;}

.hr-grey{width:100%; margin-bottom:20px;padding:0;height:50px; border:none;border-bottom:1px solid #487797;box-shadow:0 20px 20px -20px #04556F;}

/*Make Form Elements responsive*/
input, textarea, select {max-width:100%;}
input, textarea {border:0; padding:0.7em; background:#fff; font-size:1.0em; color:#222;}
input[type="submit"] {color:#222;font-weight:bold;padding:0.3em 1em;background:#f8f8f8; border:1px solid #e5e5e5; transition:all 0.2s ease;
-webkit-transition:all 0.2s ease;-moz-transition:all 0.2s ease;-o-transition:all 0.2s ease;-ms-transition:all 0.2s ease;}
input[type="submit"]:hover {color:#D11D00;background:#fff; border:1px solid #D11D00; box-shadow:inset 0.3em 0 0 #D11D00;cursor: pointer;}

/*Clearing Floats*/
.clearfix:before, .clearfix:after {content:" "; display:table;}
.clearfix:after {clear:both;}
.clearfix {*zoom:1;} /*For IE 6/7 only*/
.clear{clear:both; padding-top:15px;}

/*Basic Structure*/
#wrapper {width:100%; background-color:#fff;}
#header-wrap {height:100px;} /*background: url('images/bkg_msp_195.jpg');*/
/*#header-wrap {height:170px; background:url('images/top_msp_150.jpg'); background-repeat:repeat-x;}*/
#header {padding:1em;}

/*Header*/
.logo img{margin-left:0; margin-right:auto; margin-top:1em; display:block; overflow:hidden;}

/*Custom Image*/
.custom-image {width:220px; height:220px;}

/* Navigation Menu */
#mainnav-toggle {display:none;}
#mainnav-wrap {background-color:#FCFCFC; border-bottom:1px solid #EAEAEA;} /* #FAFAFA border-bottom:1px solid #ddd; #888*/
#mainnav-menu {float:left; /*list-style-type:none;*/ /*list-style-position:outside;*/ position: relative;}
#mainnav-menu li{float:left; position:relative;} /* border-right:1px solid #eaeaea;*/
#mainnav-menu a {display:block; padding:1.0em; text-decoration:none; font-size:14px; font-family:Quicksand, Arial, Helvetica; text-transform:uppercase;}/*font-weight:bolder;*/
#mainnav-menu a:link, #mainnav-menu a:visited {color:#222; text-decoration:none;}
#mainnav-menu a:hover {background:#fff;}
#mainnav-menu ul {position:absolute; display:none; z-index:99; background:#fff; margin-left: -1px; padding:1px; border:1px solid #ddd;}
#mainnav-menu ul li{margin:0; border:none;}
#mainnav-menu ul a {width:200px; padding:1em; float:left; font-weight:normal; box-sizing:border-box; }
#mainnav-menu ul a:link, #mainnav-menu ul a:visited {color:#333;font-size:0.9em; text-decoration:none;}
#mainnav-menu ul a:hover {background:#f8f8f8;}
#mainnav-menu li ul ul {margin:-2px 0 0; margin-left:200px;}
#mainnav-menu li:hover ul ul, #mainnav-menu li:hover ul ul ul, #mainnav-menu li:hover ul ul ul ul{display:none;}
#mainnav-menu li:hover ul, #mainnav-menu li li:hover ul, #mainnav-menu li li li:hover ul, #mainnav-menu li li li li:hover ul{display:block;}
#mainnav-menu li.current_page_item a, #mainnav-menu li.current-menu-item a, #mainnav-menu li.current_page_item ul li a, #mainnav-menu li.current-menu-item ul li a,
#mainnav-menu ul li.current_page_item a, #mainnav-menu ul li.current-menu-item a,
#mainnav-menu ul li.current_page_item ul li a, #mainnav-menu ul li.current-menu-item ul li a{text-decoration:none;}

/*ЭТО если делать индикатор в Меню на Большой Экран*/
/*li > a:after { content:  "\203A"; padding-left: 4px; font-size:20px; font-weight:bold; }
li > a:only-child:after { content: ''; }*/

/*Первый слой Контента Страниц и Постов*/
#wrap {clear:both;padding:2em 0 0; box-sizing:border-box;}
/*Цвет бэкграунда в контенте*/
#content {float:left; width:72%; padding-right:2em; box-sizing:border-box;}
#content-full p, #content p {color:#555;}
.container {max-width:1340px; width:92%; margin:0 auto; box-sizing:border-box;}
/**.page{}*/
.page p{line-height:150%;} /*мой код для Page line-height:200%;*/

/*Posts and Pages ЦВЕТ Бэкграунда Постов и страниц Здесь entry ! background-color:#98FCB4 */
.type-post{background-color:#fff; margin:0 10px; padding:10px;} /*#FAE389*/
/*.type-post, .post-content, .type-page, .type-attachment{background-color:#fff; margin:0 0 15px 0; padding:10px; border-top:1px solid #15D023;} /*#FAE389*/

/*Цвет бэкграунда в отдельной записи-посте, если нужно!*/
.post-backg{background-color:#A9C4D6!important; padding-top:5px;}

/*Texts*/
.entry {line-height:1.6em; margin:0; word-wrap:break-word;}
.entry h1 {font-size:16px; font-style:oblique;}
.entry h2 {font-size:15px;}
.entry p, .comment p{margin:0.75em 0; text-align:justify;}
.entry ul, .comment ul{list-style:square inside; margin:0 0 1.5em 2em;}
.entry ol, .comment ol{list-style:decimal inside; margin:0 0 1.5em 2em;}
.entry ol ol, .comment ol ol{list-style:upper-alpha inside;}
.entry ol ol ol, .comment ol ol ol{list-style:lower-roman inside;}
.entry ol ol ol ol, .comment ol ol ol ol{list-style:lower-alpha inside;}
.entry ul ul, .comment ul ul,.entry ol ol, .comment ol ol,.entry ul ol, .comment ul ol.entry ol ul, .comment ol ul {margin-bottom:0.2em;}

/*Это для Плагина - WP Meta and Date Remover */
.entry-meta {display:none !important;}
.home .entry-meta { display:none;}
.entry-footer {display:none !important;}
.home .entry-footer { display:none;}

/*Sidebar*/
#sidebar {float:right; width:27%;  box-sizing:border-box; background-color:#fff;} /*border-left:1px solid #e5e5e5;*/
.widget_categories { } /*Мой Код !!! .widget_categories {margin-top:25px; }*/
/*.widget_search {height:32px; }/*мой код для Поиска*/

/*Title Категорий в Sidebar*/
.widgettitle .widget_block .wp-block-group, .wp-block-group__inner-container {line-height:150%; margin-top:10px;}
.widgettitle, .wp-block-group__inner-container  h3{color:#444; font-size:15px; font-weight:normal; padding-left:5px; border-bottom:1px solid #e5e5e5; font-family: Raleway, Arial, Helvetica; } /*font-family:Arial, Tahoma, Verdana; background-color:#5E98F0!important;*/

/*aside #rss-2  .widget_rss, h3.widgettitle .rsswidget span a{color:#FFF!important;} /*aside */
/*.srr-item,.srr-title a{color:#FC6227;}*/

/*Квадратики и Цвет списков виджета в Сайдбаре*/
.widget ul li {margin-bottom:5px; padding:5px; word-wrap:break-word;}/*ЕСли ЧТо - background-color:#BBDFAC;*/
.widget ul {margin:0; padding-left:5px; color:#EC7985;}/*.widget ul {margin:0; padding:0; list-style:square inside; color:#EC7985;} */
.widget ul:hover {color:#2B9FFF;}
.widget ul .children,.widget ul .sub-menu {margin:0.5em 0 0.5em 1em; padding:0;}
.widget li a {color:#0B4D9D;}
.widget li a:hover {color:#DF564F;}
.widget select {max-width:100%;}

/* Search Form */
.search-form {display:block;position:relative;width:100%; margin-bottom:15px; padding:0;overflow:hidden;}
.search-form .screen-reader-text {display:none;}
.search-form .search-field {font-size:1.0em;color:#333; width:100%; padding-bottom:0.7em 45px 0.7em 0.7em; background:#fff; display:inline-block; margin-bottom:15px;
border:1px solid #ddd; box-sizing:border-box;}
.search-form .search-submit {position:absolute;top:0;right:0;border:none;background:transparent;padding:0.8em 0.7em 0 0;cursor: pointer;}
.search-form .search-submit .genericon-search {display:inline-block; font-size: 20px; width: 24px;height: 24px; color:#777; content: '\f400'; font-family: 'Genericons';
line-height:1; font-weight:normal; font-style:normal; vertical-align:text-bottom; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing: grayscale;}
.search-form .search-submit:hover .genericon-search {color:#333;}

/* different style for searchform in topheader */
#topheader #header-search .search-form .search-field {min-width:300px; padding:0.5em 45px 0.5em 0.8em; background:#ccc; border:none; font-size:0.9em; color:#fff;}
#topheader #header-search .search-form .search-submit {padding:0.5em 0.4em 0 0;}
#topheader #header-search .search-form .search-submit .genericon-search {width:18px;height:18px;font-size:18px;color:#ddd;}
#topheader #header-search .search-form .search-submit:hover .genericon-search {color:#fff;}

/* Text for screen readers */
.screen-reader-text {clip:rect(1px, 1px, 1px, 1px);  height:1px; width:1px; overflow:hidden;} /*position:absolute !important;*/
.screen-reader-text:focus {background-color:#f1f1f1; width:auto;border-radius:3px; box-shadow:0 0 2px 2px rgba(0, 0, 0, 0.6);clip:auto !important;
color:#21759b; display:block; font-size:0.875rem; font-weight:bold; height:auto; left:5px; line-height:normal; padding:15px 23px 14px; text-decoration:none;top:5px; z-index:100000; /* Above WP toolbar. */
}

/*Titles*/
.page-header h2{color:#215CBE; padding-bottom:12px;}
.page-title {font-size:18px; padding:4px; text-decoration:none; font-family:'Francois One', Tahoma, Verdana, Arial;  text-shadow:2px 4px 3px rgba(0,0,0,0.3);} /*  */
.page-title  {color:#E33E53!important;}

.entry-title {margin-bottom:12px; font-size:20px; font-family:'Francois One', Tahoma, Verdana, Arial; font-weight:bolder; letter-spacing:2px;} /*font-weight:bold; overflow-wrap:break-word; word-wrap:break-word*/
/*h3.entry-title{color:#2DA88F;} */
.entry-title a:link, .entry-title a:visited {color:#2E65A9; text-decoration:none;}
.entry-title a:hover span, .entry-title a:active span{text-decoration:none;}
.entry-title a:hover .subtitle, .entry-title a:active .subtitle {text-decoration:none;}

.subtitle {font-family: 'Carme', Tahoma, Verdana, Arial; font-weight:normal; font-size:0.8em; line-height:1.0em; margin-bottom:0.3em;}
.sticky {border-left:8px solid #e5e5e5;}

/*Page Links | wp_link_pages() */
.page-links {margin:0;word-spacing:1em;}

/*флажки в Языках Мой Код*/
.widget_polylang .lang-item {display:inline-block; height:24px !important; min-height:24px; margin-top:4px; padding-left:10px;}
.current-lang {border:none !important;}
.telefon{margin-top:-18px;}

/*Archive Post Layout - Это Страница с Записями Дефолт - ?? background-color:#98FCB4;?? */
.archive-post.has-post-thumbnail .post-content {border-top:none; margin-left:33%; border-left:1px solid #e5e5e5; width:67%; box-sizing:border-box;}
.archive-post.has-post-thumbnail .entry-meta-wrap {float:left; width:33%;padding:0.8em 0.8em 0; box-sizing:border-box;}
.archive-post.has-post-thumbnail .entry-meta {margin-top:1em;}
.archive-post.has-post-thumbnail .entry-meta span {display:block;padding:0.3em 0;}

/* Post Tags */
.meta-tags {margin-top:0.8em;}
.meta-tags ul {float:left;}
.meta-tags ul li {float:left;margin:0.3em 0.3em 0 0;}
.meta-tags ul li strong {line-height: 2em;margin-right:0.5em;}
.meta-tags  ul li a {display:inline-block;font-size:0.9em;font-weight:bold;padding:0.5em 1em;background:#f8f8f8;border:1px solid #e5e5e5;
transition:all 0.2s ease;-webkit-transition:all 0.2s ease;-moz-transition:all 0.2s ease;-o-transition:all 0.2s ease;-ms-transition:all 0.2s ease;}
.meta-tags  ul li a:link, .meta-tags  ul li a:visited {color:#222;text-decoration:none;}
.meta-tags  ul li a:hover, .meta-tags  ul li a:active{color:#D11D00;background:#fff;border:1px solid #D11D00;box-shadow:inset 0.3em 0 0 #D11D00;}

/* Read more Link */
.more-link {display:inline-block;font-weight:bold;margin:0.3em 0 0;padding:0.5em 1em;text-decoration:none;border:1px solid #e5e5e5;background:#f8f8f8;
transition:all 0.2s ease; -webkit-transition:all 0.2s ease;-moz-transition:all 0.2s ease;-o-transition:all 0.2s ease;-ms-transition:all 0.2s ease;}
.more-link:link, .more-link:visited {color:#222;text-decoration:none;}
.more-link:hover, .more-link:active {color:#D11D00;background:#fff;border:1px solid #D11D00;box-shadow:inset 0.3em 0 0 #D11D00;}

/* Post Navigation */
.post-navigation {margin-bottom: 2em;padding:1em;border:1px solid #e5e5e5;color:#222;background:#fff;line-height:1.5em;}
.post-navigation .nav-links:before,.post-navigation .nav-links:after {content: "";display:table;}
.post-navigation .nav-links:after {clear:both;}
.post-navigation .nav-links .nav-previous {float:left;}
.post-navigation .nav-links .nav-next {float:right;}

/*Archives and Search Heading*/
.archive-title {font-weight:bold;color:#222;padding:1em;margin-bottom:1em; border:1px solid #e5e5e5; background:#f8f8f8;line-height:1.5em;}
.archive-description {margin: -1rem 0 1rem;padding:1em;background:#fff;border:1px solid #e5e5e5;}

/*Content Pagination*/
.post-pagination {color:#222; background:#f8f8f8;margin-bottom: 2em;font-weight:bold;padding:1em;border:1px solid #e5e5e5;}
.post-pagination a {color:#D11D00; padding:0.2em 0.5em;margin-right:0.3em;display:inline-block;text-align: center;text-decoration:none;}
.post-pagination a:link, .post-pagination a:visited {color:#D11D00;}
.post-pagination a:hover {text-decoration:none;}
.post-pagination .current {padding:0.2em 0.5em;margin-right:0.3em;background:#D11D00;color:#fff;}

/*Infinite Scroll Pagination*/
.infinite-scroll .post-pagination {display:none;}
.infinite-scroll #infinite-handle span {color:#fff;background:#D11D00;display:inline-block;margin-bottom: 2em;padding:0.6em 1em;font-size:1em;font-weight:bold;text-align: center;text-decoration:none;}
.infinite-scroll #infinite-handle span:hover {background-color:#333;}

/*Breadcrumbs*/
.breadcrumbs {font-weight:bold;color:#222;padding:1em;margin-bottom:1em;border:1px solid #e5e5e5;background:#f8f8f8;line-height:1.5em;}
.breadcrumbs .trail-browse,.breadcrumbs .trail-items,.breadcrumbs .trail-items li {display:inline;line-height:1.5;}
.breadcrumbs .trail-browse {margin-right:0.5em;}
.breadcrumbs .trail-items {list-style:none;}
.breadcrumbs .trail-items li::after {padding:0 0.5em;content: "\00bb";}

.trail-separator-slash .trail-items li::after {content: "\002F";}
.trail-separator-dash .trail-items li::after {content: "\2013";}
.trail-separator-bull .trail-items li::after {content: "\2022";}
.trail-separator-arrow-bracket .trail-items li::after {content: "\003e";}
.trail-separator-raquo .trail-items li::after {content: "\00bb";}
.trail-separator-single-arrow .trail-items li::after {content: "\2192";}
.trail-separator-double-arrow .trail-items li::after {content: "\21D2";}
.breadcrumbs .trail-items li:last-of-type::after {display:none;}

.entry var, .entry kbd, .entry tt, .entry .tt_tag {font-size:1.1em; font-family:Monospace, "Courier New", Courier;}
blockquote {background:#f8f8f8; border:1px solid #e5e5e5; border-left:8px solid #e5e5e5; margin:1.2em 0; padding:0.3em 1.2em;}
blockquote cite {display:block;margin:0.5em 0 0 0.5em;color:#777;}
.entry table {width:100%; border-collapse:collapse;border-spacing:0;border:1px solid #ddd; margin:1em 0; text-align:left;}
.entry tr th,.entry thead th {background:#e5e5e5;font-weight:bold;padding:0.2em 1em;}
.entry tr td {border:none; padding:0.2em 1em;}
.entry tr.alternate td {background:transparent;}

/*Images-Gallery-Videos*/
article .wp-post-image {max-width:100%;margin:0;height:auto; vertical-align:top; box-sizing:border-box;}
article .entry .wp-post-image {margin:1.2em 2em 1em 0;height:auto;}
.entry img {max-width:100%; height:auto;}
.wp-caption {max-width:100%; height:auto;text-align: center;margin:1em 0;}
.wp-caption-text {margin:0 !important;padding:0;font-size:0.9em;text-align: center;}
.alignleft {float:left;margin:1em 2em 1em 0;}
.alignright	{float:right; margin:1em 0 1em 2em;}
.aligncenter {margin:1em auto;display:block;}

/* Make Vidoes responsive */
embed, iframe, object, video {max-width:100%;}

/*Featured Content*/
#featured-content-bg {background:#fff;padding-bottom:0.5em;border-bottom:1px solid #ddd;}
#featured-content-wrap {clear:both;padding:1.5em 0 0;}
#featured-content {margin-right: -1em;}
#featured-content .featured-post {float:left;width: 25%;padding-right:1em;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;}
#featured-content .featured-post .type-post {margin-bottom:1em;}
#featured-content .featured-post:nth-child(4n + 1) {clear:left;}
#featured-content .featured-post .featured-post-thumbnail {padding:0.8em;background:#f8f8f8; border-bottom:1px solid #ddd;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
#featured-content .featured-post .featured-post-content {padding:0.8em 1em;background:#fff;}
#featured-content .featured-post .entry-title {font-size:1.05em;}
#featured-content .featured-post .entry-title a:hover {text-decoration:none;}

/* Footer */
#footer-bg {background-color:transparent;}
#footer-wrap {background-color:#FAFAFA; min-height:60px; padding-top:5px;}
#footer {color:#487797; font-size:12px; text-align:center; padding-top:10px;}
/*#footer a {color:#ddd; }*/
#footer .credit-link a{margin: auto 0;  color:#487797;} /*margin-left: auto; margin-right: auto; width: 60%; width: 20em;*/
#footer .doplink {float:right; padding-top:8px; margin-right:10px;}
#footer .counters{position:absolute; top:-2000px; left:-2000px;} /*Спрятать счётчики  opacity:0;*/

#pochta {background-color:#eee; float:left; width:100%; min-width:250px; margin:0; padding-left:10px; padding-right:10px;}
.your-message {padding-left:10px; padding-right:10px;} /*max-width:240px;*/
/*Рассылки*/
.s2_form_widget,.emaillist {background-color:#eee; padding-left:6px;}

/*MEDIA QUERIES*/
/*<1120px*/
@media only screen and (max-width: 70em) {.container {width:94%;}
}
/*Smaller <1120px*/
@media only screen and (max-width: 65em) {
#featured-content .featured-post {width:50%;}
#featured-content .featured-post:nth-child(2n + 1) {clear:left;}
.archive-post.has-post-thumbnail .post-content, .commentlist .comment .comment-content {margin-left:0;border-left:none;border-top:1px solid #e5e5e5;width:100%;}
.archive-post.has-post-thumbnail .entry-meta-wrap, .commentlist .comment .comment-meta  {float:none;width:100%;padding:0.8em;}
.archive-post.has-post-thumbnail .entry-meta-wrap .wp-post-image {float:left; margin-right:2em; max-width:50%;}
.archive-post.has-post-thumbnail .entry-meta {margin-top:0.5em;}
.comment-meta .commentmetadata p {display:inline; padding:0 0.4em;}
}
/*Tablets(landscape) <960px*/
@media only screen and (max-width: 60em) {
.container {width:100%;}
#wrap, #custom-header-image {padding: 2em 2em 0;}
#featured-content-wrap {padding:1.5em 1.5em 0;}
#header {padding:2em;}
#content {float:none;padding-right:0;width:100%;}
#sidebar {clear:both; float:none; margin:1em 0 0; width:100%;}
.logo {float:none; width:100%; margin:0; text-align:center;}
#header-social-icons {float:none;text-align: center;margin-top:1.5em;}
#header-social-icons .social-icons-menu li {float:none;margin:0 -2px 2px 0;line-height:1.5em;}
.archive-post.has-post-thumbnail .post-content, .commentlist .comment .comment-content {width:67%; margin-left:33%; border-left:1px solid #e5e5e5; border-top:none;}
.archive-post.has-post-thumbnail .entry-meta-wrap, .commentlist .comment .comment-meta  {float:left;width:33%;padding:0.8em 0.8em 0;}
.archive-post.has-post-thumbnail .entry-meta-wrap .wp-post-image {float:none;margin-right:0;max-width:100%;}
.archive-post.has-post-thumbnail .entry-meta {margin-top:1em;}
.comment-meta .commentmetadata p {display:block;padding:0;}
#footer {padding:0 1em;}

/*Mobile Top Navigation*/
#topnav-wrap, #topnav, #topnav-menu, #topnav-menu li, #topnav-menu a, #topnav-menu ul { padding:0; position: static;float:none;display:inline;font-size:1.0em;border:none;box-shadow:none;background:none;top:0;left:0;}

#topnav {float:none;}
#topnav-toggle {float:left;margin:0; padding:0.6em 0.8em 0.7em; text-decoration:none; font-size:0.8em; color:#fff; background:none; border:none;}
#topnav-toggle:hover {cursor: pointer;background:rgba(0,0,0,0.2);}
#topnav-toggle:after {margin:0; font:normal 16px/1 Genericons; display:inline-block; content: '\f419';
-webkit-font-smoothing:antialiased; vertical-align:text-bottom;}
#topnav-menu {float:left;display:none;width:100%;}/* border-top:1px solid rgba(255,255,255,0.08);**/
#topnav-menu a {float:left;display:block; padding:0.7em 1em; text-decoration:none; font-size:0.8em; text-transform:uppercase; margin-bottom:1px;}
#topnav-menu a:hover {background:rgba(0,0,0,0.2);}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {text-decoration:none;}

/*Mobile Main Navigation*/
#mainnav {margin:1.0em 0; float:none;}
#mainnav, #mainnav-menu, #mainnav-menu li, #mainnav-menu a, #mainnav-menu ul,#mainnav-menu ul a, #mainnav-menu ul ul, #mainnav-menu li ul ul
{padding:0;position:static; float:none; display:inline; font-size:1.0em; border:none; box-shadow:none; background:none; top:0;left:0;}
#mainnav-menu li:hover ul ul, #mainnav-menu li:hover ul ul ul, #mainnav-menu li:hover ul ul ul ul,
#mainnav-menu li:hover ul, #mainnav-menu li li:hover ul, #mainnav-menu li li li:hover ul, #mainnav-menu li li li li:hover ul{display:inline;}
/*background-color:#E4F2F8;*/
#mainnav-toggle {display:block; margin:0; padding:1em; width:100%; background-color:#F8F8F8; text-decoration:none; font-size:0.9em;font-weight:bold;text-align:left;line-height:1.5;border:none;}
#mainnav-toggle:hover {cursor:pointer; background-color:#FCFCFC;} /*Цвет Выпадащего Меню в Гаджетах #32CD32 **/
#mainnav-toggle:after {color:#f44; margin:0; padding-left:6px; font:normal 24px/1 Genericons; content:'\f419'; display:inline-block; vertical-align:text-bottom;}

#mainnav-menu {background-color:#FAFAFA; width:100%; display:none; border-bottom:1px solid #e5e5e5;} /*Цвет Выпадащего Меню в Гаджетах #32CD32 **/
#mainnav-menu a {background-color:#FAFAFA; font-size:1.0em; font-weight:normal; display:block; padding:1.0em; text-decoration:none; border-top:1px solid #e5e5e5;clear:left;}/*Цвет Выпадащего Меню в Гаджетах #32CD32 **/
#mainnav-menu a:hover {background:#f8f8f8;} /*Цвет Выпадащего Меню в Гаджетах #f8f8f8 -HOVER **/
#mainnav-menu ul {float:left; padding:1em 0 ;width:100%; background:#f8f8f8; border-top:1px solid #e5e5e5;}
#mainnav-menu ul a {display:block; width:100%; padding:1em 1em 1em 2em; font-size:0.9em; font-weight:normal; border-bottom:none;}
#mainnav-menu ul a:hover {text-decoration:none;}
#mainnav-menu ul li ul {float:left;width:100%;}
#mainnav-menu ul ul a {padding-left:4em;}
#mainnav-menu ul ul ul a {padding-left:6em;}
#mainnav-menu li.current_page_item a, #mainnav-menu li.current-menu-item a {text-decoration:none;}
#mainnav-menu li.current_page_item ul li a, #mainnav-menu li.current-menu-item ul li a{text-decoration:none;}

#mainnav-menu .submenu-dropdown-toggle {float:right; display:block; margin:0; padding:1.0em;}/* padding:1.15em 1.5em;*/
#mainnav-menu .submenu-dropdown-toggle:hover {cursor:pointer;}
#mainnav-menu .submenu-dropdown-toggle:hover:before {color:#777;}
#mainnav-menu .submenu-dropdown-toggle:before {font-size:16px; color:#2E65A9; font-family:'Genericons'; content:'\f502'; text-decoration:inherit; vertical-align: middle;}
#mainnav-menu .submenu-dropdown-toggle.active:before {content:'\f50e';}
#mainnav-menu ul .submenu-dropdown-toggle {margin:-10px!important;}/*padding:0.55em 1.2em;*/
#mainnav-menu ul .submenu-dropdown-toggle:before {font-size:16px;}
}
/***/
/*Tablets (portrait)<800px*/
@media only screen and (max-width:50em) {
.archive-post.has-post-thumbnail .post-content, .commentlist .comment .comment-content {margin-left:0;border-left:none;
border-top:1px solid #e5e5e5;width:100%;}
.archive-post.has-post-thumbnail .entry-meta-wrap, .commentlist .comment .comment-meta  {float:none;width:100%;padding:0.8em;}
.archive-post.has-post-thumbnail .entry-meta-wrap .wp-post-image {float:left;margin-right: 2em;max-width:50%;}
.archive-post.has-post-thumbnail .entry-meta {margin-top:0.5em;}
.comment-meta .commentmetadata p {display:inline;padding:0 0.4em;}
.page-title {font-size:1.0em;}
.entry-title {font-size:0.8em;}
.entry h1, .comment h1 {font-size:15px;}
.entry h2, .comment h2 {font-size:14px;}
.entry h3, .comment h3 {font-size:13px;}
.entry tr th,.entry thead th {padding:0.2em 0.4em;}
.entry tr td {padding:0.2em 0.4em;}
.widgettitle .widget_block .wp-block-group, .wp-block-group__inner-container { margin-top:-10px;}
}
/*Big Screens Navi Fix >720px*/
@media only screen and (min-width: 60em) {
/*ensure #nav is visible on desktop version*/
h1 {font-size:15px;}
h2 {font-size:14px;}
h3 {font-size:13px;}
#sloy h2{font-size:14px; font-weight:bolder;}
#topnav-menu, #mainnav-menu {display:block !important;}
#mainnav-menu li.menu-item:hover a {background:#fff;}
#mainnav-menu li.menu-item:hover ul a:hover {background:#f8f8f8;}
}

/*Tablets (portrait) <640px*/
@media only screen and (max-width: 40em) {
h1 {font-size:15px;}
h2 {font-size:14px;}
h3 {font-size:13px;}
#sloy h2{font-size:14px; font-weight:bolder;}
#wrap, #custom-header-image {padding:1.5em 1.5em 0;}
#featured-content-wrap {padding:1.3em 1.3em 0;}
#header-social-icons .social-icons-menu li a {padding:0.9em;}
#header-social-icons .social-icons-menu li a:before {font-size: 20px;vertical-align: middle;}
.type-post, .type-page, .type-attachment, .widget  {margin:0 0 1.5em 0;}
.page-title .entry-title {font-size:1.0em;}
.subtitle {font-size:0.8em;}
#footer-social-icons {float:none;text-align: center;}
#footer-social-icons .social-icons-menu li {float:none;display:inline-block;margin:0 -2px 2px 0;}
#footer #footer-text {float:none;text-align: center;padding:0.7em 0 1.4em;}
}

/*Tablets (portrait) <620px*/
@media only screen and (max-width:34em) {
h1 {font-size:15px;}
h2 {font-size:14px;}
h3 {font-size:13px;}
#sloy h2{font-size:14px; font-weight:bolder;}
#featured-content .featured-post .featured-post-thumbnail {padding:0.4em;}
#featured-content .featured-post .featured-post-content {padding:0.4em 0.6em;}
#featured-content .featured-post .entry-title {font-size:1.0em;}
.archive-post.has-post-thumbnail .entry-meta-wrap .wp-post-image {max-width:45%; margin-right:1em;}
.archive-post.has-post-thumbnail .entry-meta {margin-top:0;}
.comment-meta .commentmetadata p {display:block;padding:0;}
}
/*Smartphones <480px*/
@media only screen and (max-width:30em) {
h1 {font-size:15px;}
h2 {font-size:14px;}
h3 {font-size:13px;}
#sloy h2{font-size:14px; font-weight:bolder;}
#wrap, #custom-header-image, #featured-content-wrap {padding:1em 1em 0;}
#header-social-icons .social-icons-menu li a {padding:0.7em;}
#header-social-icons .social-icons-menu li a:before {font-size:16px;}
.type-post, .type-page, .type-attachment, .widget  {margin:0 0 1em 0;}
.page-title .entry-title {font-size:1.0em;}
.subtitle {font-size:0.6em;}
.logo .site-title {font-size:1.0em;}
#topheader #header-search .search-form .search-field {min-width:0;}
.alignright, .alignleft {float:none;margin:1em 0;}
.entry-meta span, .postinfo span {display:block;}
.postinfo .meta-comments {float:none;}
/*.logo img{max-width:400px;}*/
}
/*Smartphones <450px*/
@media only screen and (max-width:28em) {
h1 {font-size:15px;}
h2 {font-size:14px;}
h3 {font-size:13px;}

#sloy h2{font-size:14px; font-weight:bolder; color:#04556F;}
.archive-post.has-post-thumbnail .entry-meta-wrap .wp-post-image {float:none;margin-right:0; max-width:100%;}
.archive-post.has-post-thumbnail .entry-meta {margin-top:1em;}
#featured-content .featured-post .type-post {border:none;}
#featured-content .featured-post .featured-post-thumbnail {padding:0; background:#fff; border:none;}
#featured-content .featured-post .featured-post-content {padding:0.4em 0.1em; border:none;}
#featured-content .featured-post .entry-title {font-size:0.95em;}
.your-message {max-width:240px;}
#pochta {max-width:240px; margin-left:-7px;}
}
/*CSS  для Плагинов*/
/* для плагина Content Views Post Grid */
h4.pt-cv-title a{color:#303030; font-weight:normal; font-family:Arial, Courier, Tahoma;}

/*Custom Title Entry Post Content Views plugin*/
/*h4.pt-cv-title ._self .cvplbd {font-size:12px !important; color:#444; font-weight:normal; text-align:left;}*/

/*для плагина Blog Designer - Post and Widget*/
/*.wpspw-post-title a {text-align: !important;}*/