/*
Theme Name:         News Portal
Theme URI:          https://mysterythemes.com/wp-themes/news-portal
Author:             Mystery Themes
Author URI:         https://mysterythemes.com
Description:        News Portal is the free ultimate magazine theme with creative design and powerful features that allow you to quickly and easily create a newspaper & blog style website to suit your needs. It is completely built on Customizer which allows you to customize most of the theme settings easily with live previews. It is the fully widgetized theme so as to let users manage the website using the easy to use widgets. You can import the whole beautiful demo in just one click. News Portal Theme is the best choice to create a Beautiful & Powerful News/magazine/blog websites with ease.Check the demo at https://demo.mysterythemes.com/news-portal-demos/
Version:            999.5.12
Requires at least:  5.6
Tested up to:       6.9
Requires PHP:       7.4
License:            GNU General Public License v3 or later
License URI:        http://www.gnu.org/licenses/gpl-3.0.html
Text Domain:        news-portal
Tags:               news, blog, entertainment, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-colors, custom-logo, featured-image-header, footer-widgets, full-width-template, rtl-language-support, theme-options, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

News Portal is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v3 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
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, font, 
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 {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

html {
  font-size: 62.5%;
  /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
  overflow-y: scroll;
  /* Keeps page centered in all browsers regardless of content height */
  -webkit-text-size-adjust: 100%;
  /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  -ms-text-size-adjust: 100%;
  /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

*,
*:before,
*:after {
  /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
  -webkit-box-sizing: border-box;
  /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
  -moz-box-sizing: border-box;
  /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
  box-sizing: border-box;
}

body {
  background: #fff;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

caption,
th,
td {
  font-weight: normal;
  text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}

blockquote,
q {
  quotes: """";
}

a:focus {
  outline: 0;
}

a:hover,
a:active {
  outline: 0;
}

a img {
  border: 0;
}



/*--------------------------------------------------------------
Typography
--------------------------------------------------------------*/
/* Ukrainian-Play */
@font-face {
  font-display: swap;
  font-family: 'Ukrainian Play';
  src: url('fonts/Ukrainian Play.eot');
  src: url('fonts/Ukrainian Play.woff') format('woff'),
    url('fonts/Ukrainian Play.ttf') format('truetype'),
    url('fonts/Ukrainian Play.svg') format('svg');
  font-weight: 400;
  font-style: normal;
}
html {
   box-sizing: border-box;
   scroll-behavior: smooth;
 }

 *,
 *::after,
 *::before {
   box-sizing: inherit;
 }

 :active,
 :hover,
 :focus {
   outline: 0;
   outline-offset: 0;
 }
p{
	padding:0 30px 20px 0;
  line-height: 1.3;
}
 button {
  cursor: pointer;
	border: none;
	outline: none
 }
button:focus {
  outline: none; /* Убирает свечение при фокусе/нажатии */
}

 button::-moz-focus-inner {
   padding: 0;
   border: 0;
	 outline: none
 }

 input,
 button,
 textarea {
   font-family: inherit;
 }

 input::-ms-clear {
   display: none;
 }

 a,
 a:visited {
  text-decoration: underline;
  outline: none;
  color:#5a5ad8;
 }

 a:hover,
 a:active,
 a:focus {
  text-decoration: none;
  outline: none;
  color:#060aca;
 }
 a img {
  border: none;
}

 ul li {
   list-style: none;
 }

body,
button,
input,
select,
textarea {
  color: #3d3d3d;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-weight: normal;
  font-family: 'Roboto', sans-serif;
  line-height: 1.3;
  margin-bottom: 15px;
  color: #365A77;
  font-weight: 600;
  text-transform: uppercase;
}
b,
strong {
  font-weight: bold;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 15px;
  font-size: 20px;
  font-style: italic;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

address {
  margin: 0 0 15px;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

sup,
sub {
  font-size: 75%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  bottom: 1ex;
}

sub {
  top: .5ex;
}

small {
  font-size: 75%;
}

big {
  font-size: 125%;
}

h1 {
  font-size: 16px;
}

h2 {
  font-size: 14px;
}

h3 {
  font-size: 12px;
}

h4 {
  font-size: 11px;
}

h5,
h6 {
  font-size: 10px;
}



/*--------------------------------------------------------------
Elements
--------------------------------------------------------------*/

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 15px;
}

ul,
ol {
  margin: 0 0 15px 20px;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li>ul,
li>ol {
  margin-bottom: 0;
  margin-left: 15px;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 15px 15px;
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
  vertical-align: middle;
}

figure {
  margin: 0;
}

table {
  margin: 0 0 15px;
  width: 100%;
  border-collapse: collapse;
}

th {
  font-weight: bold;
  border: 1px solid #CCC;
  padding: 5px 10px;
}

td {
  border: 1px solid #CCC;
  padding: 5px 10px;
}



/*--------------------------------------------------------------
Forms
--------------------------------------------------------------*/

button,
input,
select,
textarea {
  font-size: 100%;
  /* Corrects font size not being inherited in all browsers */
  margin: 0;
  /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
  vertical-align: middle;
}

.navigation .nav-links a,
.bttn,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background: #029fb2;
  color: #ffffff;
  cursor: pointer;
  /* Improves usability and consistency of cursor style between image-type 'input' and others */
  font-size: 14px;
  line-height: 13px;
  height: 33px;
  border: none;
  padding: 10px 15px;
  font-weight: 400;
  display: inline-block;
  position: relative;
  text-shadow: none;
  border: 1px solid #029fb2;
}

.navigation .nav-links a:hover,
.bttn:hover,
button,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background: #029fb2;
  color: #ffffff !important;
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
  border: 0;
  padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
  color: #666;
  border: 1px solid #ccc;
  height: 36px;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  border: 1px solid #AAA;
}

.searchform input[type="text"]:focus {
  border: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
  padding: 3px 6px;
}

textarea {
  overflow: auto;
  /* Removes default vertical scrollbar in IE6/7/8/9 */
  padding-left: 3px;
  vertical-align: top;
  /* Improves readability and alignment in all browsers */
  color: #666;
  border: 1px solid #ccc;
  height: 160px;
  max-width: 100%;
  width: 100%;
}

.no-results input[type="search"] {
  width: 45%;
}


/*--------------------------------------------------------------
Accessibility
--------------------------------------------------------------*/


/* Text meant only for screen readers */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
}

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



/*--------------------------------------------------------------
Alignments
--------------------------------------------------------------*/

.alignleft {
  display: inline;
  float: left;
  margin-right: 15px;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 15px;
}

.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}



/*--------------------------------------------------------------
Clearings
--------------------------------------------------------------*/

.np-clearfix:before,
.np-clearfix:after,
.row:before,
.row:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after,
.mt-container:after,
.mt-container:before {
  content: '';
  display: table;
}

.np-clearfix:after,
.row:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after,
.mt-container:after {
  clear: both;
}

.clear {
  clear: both;
}



/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 30px;
}

/* Make sure select elements fit in widgets */

.widget select {
  max-width: 100%;
}

.widget_search .search-field {
  float: left;
  width: 78%;
}

.widget_search .search-submit {
  background: #f54337 none repeat scroll 0 0;
  color: #ffffff;
  height: 36px;
  width: 22%;
}

.widget_archive ul,
.widget_categories ul,
.widget_recent_entries ul,
.widget_meta ul,
.widget_recent_comments ul,
.widget_rss ul,
.widget_pages ul,
.widget_nav_menu ul,
.wp-block-latest-posts,
.wp-block-archives,
.wp-block-categories,
.wp-block-page-list,
.wp-block-latest-comments {
  list-style: outside none none;
  margin: 0;
}

.wp-block-page-list ul {
  list-style: outside none none;
}

.widget_archive li,
.widget_categories li,
.widget_recent_entries li,
.widget_meta li,
.widget_recent_comments li,
.widget_rss li,
.widget_pages li,
.widget_nav_menu li,
.wp-block-latest-posts li,
.wp-block-archives li,
.wp-block-categories li,
.wp-block-page-list li,
.wp-block-latest-comments li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 5px;
  padding-bottom: 5px;
}

.widget_archive li:last-child,
.widget_categories li:last-child,
.widget_recent_entries li:last-child,
.widget_meta li:last-child,
.widget_recent_comments li:last-child,
.widget_rss li:last-child,
.widget_pages li:last-child,
.widget_nav_menu li:last-child,
.wp-block-latest-posts li:last-child,
.wp-block-archives li:last-child,
.wp-block-categories li:last-child,
.wp-block-page-list li:last-child,
.wp-block-latest-comments li:last-child {
  border: none;
}

.widget_archive a,
.widget_categories a,
.widget_recent_entries a,
.widget_meta a,
.widget_recent_comments li,
.widget_rss li,
.widget_pages li a,
.widget_nav_menu li a,
.wp-block-latest-posts li a,
.wp-block-archives li a,
.wp-block-categories li a,
.wp-block-page-list li a,
.wp-block-latest-comments li {
  color: #5f5f5f;
  font-size: 14px;
  line-height: 26px;
  padding-left: 22px;
  position: relative;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
  display: inline-block;
}

.widget a:hover,
.widget a:hover::before,
.widget li:hover::before {
  color: #029FB2;
}

.widget_archive a::before,
.widget_categories a::before,
.widget_recent_entries a::before,
.widget_meta a::before,
.widget_recent_comments li::before,
.widget_rss li:before,
.widget_pages li a:before,
.widget_nav_menu li a:before,
.wp-block-latest-posts li a:before,
.wp-block-archives li a:before,
.wp-block-categories li a:before,
.wp-block-page-list li a:before,
.wp-block-latest-comments li:before {
  color: #9f9f9f;
  content: "\f187";
  font-family: "FontAwesome";
  font-size: 13px;
  left: 0;
  position: absolute;
  top: 0px;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.widget_categories a::before,
.wp-block-categories li a:before {
  content: "\f07b";
}

.widget_recent_entries a::before,
.wp-block-latest-posts li a:before {
  content: "\f101";
}

.widget_meta a::before,
.widget_nav_menu li a:before {
  content: "\f105";
}

.widget_recent_comments li::before,
.wp-block-latest-comments li:before {
  content: "\f086";
  top: 0;
}

.widget_rss li::before {
  content: "\f09e";
  top: 0;
}

.widget_pages li a:before,
.wp-block-page-list li a:before {
  content: "\f1ea";
  top: 0;
}

.widget_search .search-field {
  width: 75%;
  float: left;
}

.widget_search .search-submit {
  height: 36px;
  width: 25%;
  background: #029FB2;
  border-color: #029FB2;
  color: #ffffff;
}

.widget_recent_entries .post-date {
  color: #8f8f8f;
  display: block;
  font-size: 11px;
  margin-top: -5px;
  padding-left: 24px;
}

.widget_nav_menu .sub-menu {
  margin-bottom: -10px;
  margin-top: 10px;
  padding-left: 10px;
}

.widget_nav_menu li::before {
  top: 0;
}

.widget_tag_cloud .tagcloud a,
.widget_tag_cloud a {
  color: #909090;
  font-size: 14px !important;
  border: 1px solid #cfcfcf;
  padding: 1px 10px;
  display: inline-block;
  margin: 0 5px 10px 0;
  border-radius: 2px;
}

.widget_tag_cloud .tagcloud a:hover,
.widget.widget_tag_cloud a:hover {
  background: #029FB2;
  color: #fff;
  border-color: #029FB2;
}

.wp-block-search__button {
  background: #333;
  border: none;
  width: 80px;
  margin: 0;
  height: 36px;
}

/*--------------------------------------------------------------
Posts and pages
--------------------------------------------------------------*/

.sticky {
  display: block;
}

h1.entry-title {
  color: #353535;
  font-weight: 600;
  margin-bottom: 0;
  padding-bottom: 0;
  text-transform: capitalize;
}

h1.entry-title a {
  color: #3d3d3d;
}

.hentry {
  margin: 0 0 15px;
}

.single .byline,
.group-blog .byline,
.posted-on,
.blog-author,
.blog-cat {
  display: inline;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
}

.cat-links {
  margin-right: 10px;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 15px 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 15px;
}

.edit-link .post-edit-link {
  background: #029fb2;
  padding: 4px 10px;
  color: #FFF !important;
  line-height: 1;
  border-radius: 3px;
  font-size: 13px;
}

.edit-link .post-edit-link:before {
  content: "\f044";
  font-family: FontAwesome;
  margin-right: 5px;
}

#blog-post article.hentry,
.search article.hentry,
.archive article.hentry,
.tag article.hentry,
.category article.hentry,
.blog article.hentry {
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.blog article.hentry:first-child {
  margin-top: 30px;
}

article.hentry .edit-link {
  display: block;
  margin-top: 20px;
}

article.hentry h1.entry-title {
  margin-bottom: 5px;
  line-height: 1.2;
}

article.hentry .entry-footer>span {
  margin-right: 15px;
  font-size: 13px;
}

.page-header .page-title {
  color: #333333;
  padding-bottom: 15px;
}

.posted-on:before {
  content: "\f073";
  font-family: FontAwesome;
  font-style: normal;
  margin-right: 5px;
}

.cat-links:before {
  content: "\f07c";
  font-family: FontAwesome;
  font-style: normal;
  margin-right: 5px;
}

.comments-link:before {
  content: "\f075";
  font-family: FontAwesome;
  font-style: normal;
  margin-right: 5px;
}

.byline:before {
  content: "\f007";
  font-family: FontAwesome;
  font-style: normal;
  margin-right: 5px;
}

.tags-links:before {
  content: "\f02c";
  font-family: FontAwesome;
  font-style: normal;
  margin-right: 3px;
}

.entry-footer .tags-links a {
  border: 1px solid #e1e1e1;
  display: inline-block;
  margin: 0 5px;
  padding: 0 10px;
}

.updated {
  display: none;
}

.published.updated {
  display: inline-block;
}

.entry-footer a {
  color: #999;
}

.entry-footer a:hover {
  color: #029fb2
}

.nav-links .meta-nav {
  display: none;
}

.nav-links .nav-previous,
.nav-links .nav-next {
  width: 50%;
  float: left;
}

.nav-links .nav-next {
  text-align: right;
  float: right;
}

.nav-links .nav-previous a:before {
  content: "\f0d9";
  font-family: FontAwesome;
  font-style: normal;
  margin-right: 5px;
}

.nav-links .nav-next a:after {
  content: "\f0da";
  font-family: FontAwesome;
  font-style: normal;
  margin-left: 5px;
}

.nav-links .nav-previous,
.nav-links .nav-next {
  float: left;
  width: 25%;
}

.nav-links .nav-next {
  float: right;
}

.nav-links .nav-next a,
.nav-links .nav-previous a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  
}
.navigation .nav-links a{
  background-color: #365A77 !important;
}
.entry-thumbnail {
  width: 38%;
  float: left;
}

.entry-excerpt {
  width: 60%;
  float: right;
}

.short-content {
  margin-bottom: 10px;
}

.short-content+.bttn {
  float: right;
}

.entry-footer {
  margin-top: 10px;
}

.full-width {
  float: none;
  width: 100%;
}



/*--------------------------------------------------------------
Asides
--------------------------------------------------------------*/

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
  display: none;
}



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

.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

#comments h2.comments-title {
  color: #333;
  display: inline-block;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  margin: 15px 0;
  padding: 8px 15px;
}

#comments h3 {
  margin: 0 0 10px;
  color: #141414;
  font-weight: 600;
  display: inline-block;
  line-height: 22px;
  font-size: 18px;
}

#commentform label {
  width: 120px;
  display: block;
}

textarea#comment {
  width: 100%;
  height: 150px;
}



/*Comment Lists*/

.comments-area ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comments-area ol.children {
  margin: 0 0 0 15px;
}

.comment-list .comment-body {
  padding: 15px;
  margin-bottom: 20px;
  background: #f9f9f9;
  border-top: 2px solid #029fb2;
}

.comment-author img {
  vertical-align: text-top;
  margin-right: 15px;
}

.comment-metadata {
  margin-top: -10px;
  padding-left: 57px;
}

.comment-content {
  padding-left: 58px;
  margin-top: 10px;
}

.comment-author .fn {
  font-style: normal;
  font-size: 16px;
  text-transform: capitalize;
  font-weight: bold;
}

.comment-author .fn .url {
  color: #333;
  padding: 0 5px;
}

.comment-author .fn .url:hover {
  color: #029fb2;
}

.comment-author .says {
  display: none;
}

.commentmetadata {
  float: right;
  font-weight: normal;
  font-size: 12px;
  font-style: italic;
  font-weight: 300;
}

.commentmetadata a {
  color: #666;
}

.commentmetadata .comment-edit-link {
  color: #01AEFD;
}

.commentmetadata+.clear {
  margin-bottom: 20px;
}

.reply .comment-reply-link {
  background: none repeat scroll 0 0 #029fb2;
  border-radius: 3px;
  color: #FFFFFF;
  font-size: 13px;
  line-height: 1;
  padding: 5px 10px;
}

#respond {
  background: #f9f9f9 none repeat scroll 0 0;
  color: #141414;
  margin-top: 40px;
  padding: 20px;
  display: none;
}

#commentform .form-submit {
  margin-bottom: 0;
}

#cancel-comment-reply-link {
  font-style: italic;
  color: #029fb2;
}

#cancel-comment-reply-link:before {
  font-family: FontAwesome;
  content: "\f057";
  margin: 0 5px 0 20px;
  font-style: normal;
  color: #029fb2;
}

.logged-in-as a {
  color: #029fb2;
}

.reply {
  margin-left: 55px;
}

/*--------------------------------------------------------------
Infinite scroll
--------------------------------------------------------------*/


/* Globally hidden elements when Infinite Scroll is supported and in use. */

.infinite-scroll .paging-navigation,


/* Older / Newer Posts Navigation (always hidden) */

.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}



/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */

.infinity-end.neverending .site-footer {
  display: block;
}

#infinite-footer {
  display: none;
}



/*--------------------------------------------------------------
Media
--------------------------------------------------------------*/

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

.wp-caption {
  margin-bottom: 15px;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 1.2% auto 0;
  max-width: 98%;
}

.wp-caption-text {
  text-align: center;
  line-height: 1.25;
  font-weight: 600;
  font-size: 12px;
}

.wp-caption .wp-caption-text {
  margin: 10px 0;
}

.site-main .gallery {
  margin-bottom: 1.5em;
}

.site-main .gallery a img {
  border: none;
  height: auto;
  max-width: 90%;
}

.site-main .gallery dd,
.site-main .gallery figcaption {
  margin: 0;
}

/* Make sure embeds and iframes fit their containers */

embed,
iframe,
object {
  max-width: 100%;
}

/*--------------------------------------------------------------
Galleries
--------------------------------------------------------------*/

.gallery {
  margin-bottom: 1.5em;
  margin-left: -2%;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
  margin-bottom: 3%;
  margin-left: 2%;
}

.site-main .gallery a img {
  max-width: none;
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 47%;
}

.gallery-columns-3 .gallery-item {
  max-width: 31.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 23%;
}

.gallery-columns-5 .gallery-item {
  max-width: 18%;
}

.gallery-columns-6 .gallery-item {
  max-width: 14.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 12.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 10.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 9.11%;
}

.gallery-caption {
  display: block;
}



/*--------------------------------------------------------------
Grid CSS
--------------------------------------------------------------*/

.mt-column-wrapper {
  margin-left: -2%;
}

.mt-column-1 {
  float: left;
  width: 98%;
  margin-left: 2%;
}

.mt-column-2 {
  float: left;
  width: 48%;
  margin-left: 2%;
}

.mt-column-3 {
  float: left;
  width: 31.33%;
  margin-left: 2%;
}

.mt-column-4 {
  float: left;
  width: 23%;
  margin-left: 2%;
}


/*--------------------------------------------------------------
Sidebar layout css 
--------------------------------------------------------------*/

#primary,
.home.blog #primary {
  float: left;
  width: 78%;
}

#secondary,
.home.blog #secondary {
  float: right;
  width: 21%;
}

/*added for latest post page*/
.home.blog.left-sidebar #primary {
  float: right;
}

/*added for latest post page*/
.home.blog.left-sidebar #secondary {
  float: left;
}

.page-template-magazine-template #primary {
  float: none;
  width: 100%;
}

.left-sidebar #primary {
  float: right;
}

.left-sidebar #secondary {
  float: left;
}

.no-sidebar #primary {
  float: none;
  width: 100%;
  margin: 0 auto;
}

/*added for latest post page*/
.home.blog.no-sidebar #primary {
  float: none;
  width: 100%;
  margin: 0 auto;
}

.no-sidebar #secondary {
  display: none;
}

.no-sidebar-center #primary {
  float: none;
  margin: 0 auto;
}

/*added for latest post page*/
.home.blog.no-sidebar-center #primary {
  float: none;
  margin: 0 auto;
}

.home.blog #content .mt-container {
  margin: 20px auto;
}

.home.blog #content #primary article:first-child {
  margin-top: 0;
}



/*--------------------------------------------------------------
COMMON CSS
--------------------------------------------------------------*/

body {
  font-weight: 400;
  overflow: hidden;
  position: relative;
  font-family: 'Roboto', sans-serif;
  line-height: 1.8;
}

.boxed_layout #page {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  width: 1200px;
  background: #ffffff;
}

body.fullwidth-layout #page {
  background: #fff none repeat scroll 0 0;
}

.mt-container {
  width: 90%;
  margin: 0 auto;
}

.hide {
  display: none;
}


/*--------------------------------------------------------------
Header CSS
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Top Header CSS
--------------------------------------------------------------*/

.np-top-header-wrap {
  background: #1a2b40 none repeat scroll 0 0;
  color: #ffff66;
  padding: 8px 0;
}

.np-top-left-section-wrapper {
  float: left;
  font-size: 12px;
}

.np-top-left-section-wrapper .date-section {
  float: left;
  margin-right: 10px;
}

.np-top-left-section-wrapper .date-section::before {
  content: "\f017";
  display: inline-block;
  font-family: FontAwesome;
  margin-right: 8px;
}

.top-navigation {
  float: left;
}

.top-navigation ul {
  list-style: outside none none;
  margin: 0;
}

.top-navigation ul li {
  border-left: 1px solid #fff;
  display: inline-block;
  line-height: 12px;
  padding: 0 10px;
}

.top-navigation ul li a {
  color: #fff;
}


.np-top-right-section-wrapper {
  float: right;
}

.np-top-right-section-wrapper .social-link {
  display: block;
  float: left;
  margin-top: -5px;
}

.np-top-right-section-wrapper .social-link a {
  color: #fff;
  display: inline-block;
  font-size: 14px;
  line-height: 12px;
  margin: 6px 0 0 14px;
}

#masthead .site-branding {
  float: left;
  margin: 20px 0;
}

#masthead .np-header-ads-area {
  float: right;
}

#masthead .np-header-ads-area .news_portal_ads_banner {
  margin: 0;
  padding: 0;
}

.top-navigation ul.sub-menu,
.footer-navigation ul.sub-menu {
  display: none;
}

/*--------------------------------------------------------------
## Menu Header CSS
--------------------------------------------------------------*/
.site-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  margin: 0;
}

.site-description {
  margin: 0;
}

.np-header-menu-wrapper {
  background: #1a2b40 none repeat scroll 0 0;
  margin-bottom: 20px;
  position: relative;
}

.np-header-menu-wrapper .mt-container {
  position: relative;
}

.np-header-menu-wrapper .mt-container::before {
  background: rgba(0, 0, 0, 0) url("assets/images/menu-shadow.png") no-repeat scroll center top;
  content: "";
  height: 38px;
  left: 50%;
  margin-left: -480px;
  opacity: 1;
  position: absolute;
  top: 100%;
  width: 960px;
}

.np-home-icon a {
  color: #fff !important;
  display: block;
  float: left;
  font-size: 14px;
  line-height: 40px;
  padding: 0 12px;
  position: relative;
}

.home .np-home-icon a,
.np-home-icon a:hover {
  background: #028a9a none repeat scroll 0 0;
}

#site-navigation {
  float: left;
}

#site-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#site-navigation ul li {
  display: inline-block;
  line-height: 40px;
  margin-right: -3px;
  position: relative;
}

#site-navigation ul li a {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  color: #fff;
  display: block;
  padding: 0 15px;
  position: relative;
  text-transform: capitalize;
}

#site-navigation ul ul.children li a {
  line-height: 25px;
  padding: 8px 15px;
}

#site-navigation ul li:hover>a,
#site-navigation ul li.current-menu-item>a,
#site-navigation ul li.current_page_item>a,
#site-navigation ul li.current-menu-ancestor>a,
#site-navigation ul li.focus>a {
  background: #028a9a;
}

#site-navigation ul.sub-menu,
#site-navigation ul.children {
  background: #029fb2 none repeat scroll 0 0;
  width: 200px;
  position: absolute;
  z-index: 99;
  left: -9999rem;
  opacity: 0;
  -webkit-transform: translateY(0.6rem);
  -ms-transform: translateY(0.6rem);
  -o-transform: translateY(0.6rem);
  transform: translateY(0.6rem);
  -webkit-transition: opacity 0.15s linear, transform 0.15s ease, left 0s 0.15s;
  -o-transition: opacity 0.15s linear, transform 0.15s ease, left 0s 0.15s;
  transition: opacity 0.15s linear, transform 0.15s ease, left 0s 0.15s;
}

#site-navigation ul li:hover>ul.sub-menu,
#site-navigation ul li:hover>ul.children,
#site-navigation ul li.focus>ul.sub-menu,
#site-navigation ul li.focus>ul.children {
  left: 0;
  opacity: 1;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: opacity 0.15s linear, transform 0.15s ease, right 0s 0.15s;
  -o-transition: opacity 0.15s linear, transform 0.15s ease, right 0s 0.15s;
  transition: opacity 0.15s linear, transform 0.15s ease, right 0s 0.15s;
}

#site-navigation ul li.focus>ul.sub-menu,
#site-navigation ul li.focus>ul.children {
  opacity: 1;
  visibility: visible;
  -transform: scale(1);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

#site-navigation ul.sub-menu li,
#site-navigation ul.children li {
  float: none;
  display: block;
  border-bottom: 1px solid #e1e1e1;
  margin: 0;
}

#site-navigation ul.sub-menu li a,
#site-navigation ul.children li a {
  line-height: 24px;
  padding: 10px 15px;
}

#site-navigation ul.sub-menu li:last-child,
#site-navigation ul.children li:last-child {
  border: none;
}

#site-navigation ul.sub-menu li ul,
#site-navigation ul.children li ul {
  right: 9999em;
  left: auto !important;
  top: 0% !important;
  -webkit-transition: opacity 0.15s linear, transform 0.15s ease, right 0s 0.15s;
  -o-transition: opacity 0.15s linear, transform 0.15s ease, right 0s 0.15s;
  transition: opacity 0.15s linear, transform 0.15s ease, right 0s 0.15s;
}


#site-navigation ul.sub-menu li:hover>ul,
#site-navigation ul.children li:hover>ul,
#site-navigation ul.sub-menu li.focus>ul,
#site-navigation ul.children li.focus>ul {
  right: -100%;
  left: auto !important;
  top: 0% !important;
  -webkit-transition: opacity 0.15s linear, transform 0.15s ease, left 0s 0.15s;
  -o-transition: opacity 0.15s linear, transform 0.15s ease, left 0s 0.15s;
  transition: opacity 0.15s linear, transform 0.15s ease, left 0s 0.15s;
}


#site-navigation ul li.menu-item-has-children>a:before,
#site-navigation ul li.page_item_has_children>a:before {
  content: "\f107";
  font-family: FontAwesome;
  position: absolute;
  right: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 12px;
}

#site-navigation ul.sub-menu li.menu-item-has-children>a:before,
#site-navigation ul.children li.page_item_has_children>a:before {
  content: "\f105";
}

#site-navigation ul#primary-menu li.menu-item-has-children a,
#site-navigation #primary-menu li.page_item_has_children a {
  padding-right: 30px;
}

.home .np-home-icon a::after,
.np-home-icon a:hover::after,
#site-navigation ul#primary-menu>li:hover>a:after,
#site-navigation ul#primary-menu>li.current-menu-item>a::after,
#site-navigation ul#primary-menu>li.focus>a:after {
  border-bottom: 5px solid #fff;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  bottom: 0;
  content: "";
  height: 0;
  left: 50%;
  position: absolute;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 0;
}
.np-header-menu-block-wrap{
  background-color: #222;
}
.np-header-menu-wrapper::before,
.np-header-menu-wrapper::after {
  background: #029fb2 none repeat scroll 0 0;
  content: "";
  height: 100%;
  left: -5px;
  position: absolute;
  top: 0;
  width: 5px;
  z-index: 99;
}

.np-header-menu-wrapper::after {
  left: auto;
  right: -5px;
  visibility: visible;
}

.np-header-menu-block-wrap::before,
.np-header-menu-block-wrap::after {
  border-bottom: 5px solid transparent;
  border-right: 5px solid #03717f;
  border-top: 5px solid transparent;
  bottom: -6px;
  content: "";
  height: 0;
  left: -5px;
  position: absolute;
  width: 5px;
}

.np-header-menu-block-wrap::after {
  left: auto;
  right: -5px;
  transform: rotate(180deg);
  visibility: visible;
}

.is-sticky .np-header-menu-wrapper {
  z-index: 99;
}

#site-navigation ul li a.sub-toggle {
  display: none;
}
/*--------------------------------------------------------------
## Header Switcher & Search CSS
--------------------------------------------------------------*/

.np-icon-elements {
  float: left;
  margin: 10px 20px 10px 0;
}

.np-icon-elements a {
  display: block;
  height: 20px;
  width: 40px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.75);
  position: relative;
  transition: .25s;
  font-size: 0;
}

.np-icon-elements a span {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background-color: #fff;
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  transition: all ease-in-out .3s;
}

.np-icon-elements a.dark-mode span {
  left: 24px;
}

.np-icon-elements a.light-mode span:after {
  height: 12px;
  width: 12px;
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
  color: #111;
  transition: all ease-in-out .3s;
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23000000' d='M9.5 14.993c-2.477 0-4.493-2.015-4.493-4.493s2.015-4.493 4.493-4.493 4.493 2.015 4.493 4.493-2.015 4.493-4.493 4.493zM9.5 7.007c-1.926 0-3.493 1.567-3.493 3.493s1.567 3.493 3.493 3.493 3.493-1.567 3.493-3.493-1.567-3.493-3.493-3.493z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M9.5 5c-0.276 0-0.5-0.224-0.5-0.5v-3c0-0.276 0.224-0.5 0.5-0.5s0.5 0.224 0.5 0.5v3c0 0.276-0.224 0.5-0.5 0.5z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M9.5 20c-0.276 0-0.5-0.224-0.5-0.5v-3c0-0.276 0.224-0.5 0.5-0.5s0.5 0.224 0.5 0.5v3c0 0.276-0.224 0.5-0.5 0.5z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M3.5 11h-3c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h3c0.276 0 0.5 0.224 0.5 0.5s-0.224 0.5-0.5 0.5z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M18.5 11h-3c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h3c0.276 0 0.5 0.224 0.5 0.5s-0.224 0.5-0.5 0.5z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M4.5 6c-0.128 0-0.256-0.049-0.354-0.146l-2-2c-0.195-0.195-0.195-0.512 0-0.707s0.512-0.195 0.707 0l2 2c0.195 0.195 0.195 0.512 0 0.707-0.098 0.098-0.226 0.146-0.354 0.146z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M2.5 18c-0.128 0-0.256-0.049-0.354-0.146-0.195-0.195-0.195-0.512 0-0.707l2-2c0.195-0.195 0.512-0.195 0.707 0s0.195 0.512 0 0.707l-2 2c-0.098 0.098-0.226 0.146-0.354 0.146z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M16.5 18c-0.128 0-0.256-0.049-0.354-0.146l-2-2c-0.195-0.195-0.195-0.512 0-0.707s0.512-0.195 0.707 0l2 2c0.195 0.195 0.195 0.512 0 0.707-0.098 0.098-0.226 0.146-0.354 0.146z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M14.5 6c-0.128 0-0.256-0.049-0.354-0.146-0.195-0.195-0.195-0.512 0-0.707l2-2c0.195-0.195 0.512-0.195 0.707 0s0.195 0.512 0 0.707l-2 2c-0.098 0.098-0.226 0.146-0.354 0.146z'%3E%3C/path%3E%3C/svg%3E");
}

.np-icon-elements a.dark-mode span::after {
  background-repeat: no-repeat;
  background-size: 12px 12px;
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  line-height: 1;
  color: #111;
  transition: all ease-in-out .3s;
  opacity: 1;
  visibility: visible;
  height: 12px;
  width: 12px;
}

.np-icon-elements a.dark-mode span:after {
  height: 10px;
  width: 10px;
  background-size: 10px 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-moon' viewBox='0 0 16 16'%3E%3Cpath d='M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278zM4.858 1.311A7.269 7.269 0 0 0 1.025 7.71c0 4.02 3.279 7.276 7.319 7.276a7.316 7.316 0 0 0 5.205-2.162c-.337.042-.68.063-1.029.063-4.61 0-8.343-3.714-8.343-8.29 0-1.167.242-2.278.681-3.286z'/%3E%3C/svg%3E");
}

.np-icon-elements a.dark-mode {
  background: #6f6f6f;
}


.np-header-search-wrapper {
  float: right;
  position: relative;
}

.search-main {
  display: block;
  line-height: 40px;
  cursor: pointer;
  color: #ffffff;
}

.search-main a,
.search-main a:focus,
.search-main a:hover {
  color: #ffffff;
  transition: all ease .3s;
}

.np-header-search-wrapper .search-form-main {
  background: #ffffff none repeat scroll 0 0;
  box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.15);
  border-top: 2px solid #029FB2;
  padding: 15px;
  position: absolute;
  right: 0;
  top: 130%;
  width: 300px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
}

.np-header-search-wrapper .search-form-main:before {
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #029FB2;
  content: "";
  position: absolute;
  right: 15px;
  top: -10px;
}

.np-header-search-wrapper .search-form-main .search-submit {
  border: medium none;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  display: inline-block;
  padding: 10px 0 10px;
  width: 20%;
  height: 36px;
  background: #029FB2;
}

.search-form-main.active-search {
  opacity: 1;
  visibility: visible;
}

.menu-toggle {
  color: #333;
  display: none;
  float: left;
  font-size: 20px;
  padding: 2px 15px;
}

.sub-toggle {
  display: none;
}


/*--------------------------------------------------------------
Ticker CSS
--------------------------------------------------------------*/

.np-ticker-block {
  border: 1px solid #e1e1e1;
  margin: 30px 0;
  position: relative;
}

.ticker-caption {
  background: #464646 none repeat scroll 0 0;
  color: #fff;
  display: block;
  float: left;
  margin-right: 20px;
  padding: 5px 15px;
}

.ticker-content-wrapper {
  display: block;
  float: left;
  width: 80%;
}

.ticker-content-wrapper .post-cats-list {
  float: left;
  margin-right: 15px;
}

.ticker-content-wrapper .lslide.active {
  height: auto !important;
}

.ticker-content-wrapper .cS-hidden {
  opacity: 1;
}

.news-ticker-title>a {
  color: #333;
  display: block;
  margin: 5px 0 0;
}

.np-ticker-block .lSAction {
  position: absolute;
  right: 10px;
  top: 5px;
}

.np-ticker-block .lSAction>a {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  display: inline-block;
  height: auto;
  margin: 0 5px !important;
  position: static;
  width: auto;
  opacity: 1;
}

.np-ticker-block .lSSlideOuter.vertical,
.np-ticker-block .lSSlideWrapper,
.np-ticker-block .lSSlideWrapper .lSFade {
  position: static;
}

.post-cats-list span {
  display: inline-block;
  vertical-align: top;
}

.post-cats-list a {
  color: #fff !important;
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-right: 5px;
  padding: 1px 12px;
  text-transform: capitalize;
}


/*--------------------------------------------------------------
Slider CSS
--------------------------------------------------------------*/

.news_portal_slider .lSAction>a {
  background: none;
}

.news_portal_featured_slider {
  margin: 0 0 25px;
}

.news_portal_featured_slider .slider-posts {
  float: left;
  width: 50%;
  margin: 0;
  padding: 0;
}

.news_portal_slider {
  float: none;
  margin-bottom: 20px;
  padding-bottom: 10px;
  width: 100%;
}

.np-single-slide-wrap,
.news_portal_carousel .np-single-post,
.news_portal_block_posts .layout3 .np-primary-block-wrap {
  position: relative;
}

.np-slide-content-wrap,
.news_portal_carousel .np-single-post .np-post-content,
.news_portal_block_posts .layout3 .np-primary-block-wrap .np-single-post .np-post-content {
  bottom: 0;
  left: 0;
  padding: 20px;
  position: absolute;
  width: 100%;
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)) repeat scroll 0 0;
}

.np-slide-content-wrap .post-title,
.news_portal_featured_posts .np-single-post .np-post-content .np-post-title,
.news_portal_carousel .np-single-post .np-post-title,
.news_portal_block_posts .layout3 .np-primary-block-wrap .np-single-post .np-post-title {
  line-height: 26px;
  margin: 5px 0;
}

.np-slide-content-wrap .post-title a,
.news_portal_featured_posts .np-single-post .np-post-content .np-post-title a,
.news_portal_carousel .np-single-post .np-post-title a,
.news_portal_block_posts .layout3 .np-primary-block-wrap .np-single-post .np-post-title a {
  color: #fff;
  font-size: 20px;
  text-transform: capitalize;
}

.np-slide-content-wrap .post-title a:hover,
.news_portal_featured_posts .np-single-post .np-post-content .np-post-title a:hover,
.news_portal_carousel .np-single-post .np-post-title a:hover,
.news_portal_block_posts .layout3 .np-primary-block-wrap .np-single-post .np-post-title a:hover {
  color: #029fb2;
}

.np-slide-content-wrap .np-post-meta span,
.np-slide-content-wrap .np-post-meta span a,
.news_portal_featured_posts .np-single-post .np-post-meta span,
.news_portal_featured_posts .np-single-post .np-post-meta span a {
  color: #cccccc;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
}

.np-slide-content-wrap .np-post-meta span,
.news_portal_featured_posts .np-single-post .np-post-meta span {
  margin-right: 15px;
}

.news_portal_featured_slider .slider-posts .lSAction {
  position: absolute;
  right: 20px;
  top: 20px;
}

.news_portal_featured_slider .slider-posts .lSAction>a {
  background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  line-height: 32px;
  margin: 0 2px;
  opacity: 1;
  position: static;
  text-align: center;
}

.news_portal_featured_slider .slider-posts .lSAction>a:hover {
  background: #029FB2;
  color: #fff;
}

.news_portal_featured_slider .featured-posts {
  float: right;
  width: 50%;
  padding: 0;
}

.news_portal_featured_slider .featured-posts .np-single-post-wrap {
  float: left;
  margin-bottom: 5px;
  padding-left: 5px;
  position: relative;
  width: 50%;
}

.news_portal_featured_slider .featured-posts .np-single-post {
  position: relative;
}

.news_portal_featured_slider .featured-posts .np-single-post .np-post-content {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)) repeat scroll 0 0;
}

.news_portal_featured_slider .featured-posts .np-single-post .np-post-content .np-post-title {
  line-height: 20px;
}

.news_portal_featured_slider .featured-posts .np-single-post .np-post-content .np-post-title a {
  font-size: 15px;
  color: #fff;
}

.news_portal_featured_slider .featured-posts .np-single-post .np-post-content .np-post-title a:hover {
  color: #029fb2;
}

.news_portal_featured_slider .featured-posts .np-single-post .np-post-meta span,
.news_portal_featured_slider .featured-posts .np-single-post .np-post-meta span a {
  font-size: 12px;
}

.np-home-top-section .news_portal_featured_posts .np-block-wrapper {
  background: #f2f2f2 none repeat scroll 0 0;
  padding: 20px;
}

.news_portal_featured_posts .np-featured-posts-wrapper {
  margin-left: -2%;
}

.news_portal_featured_posts .np-single-post-wrap {
  float: left;
  margin-left: 2%;
  width: 23%;
}

.news_portal_featured_posts .np-single-post .np-post-content {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  float: left;
  padding: 0;
  position: static;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-thumb {
  float: left;
  width: 42%;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-content {
  float: left;
  margin-left: 4%;
  width: 54%;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-title a {
  color: #333;
  font-size: 14px;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-title a:hover {
  color: #029fb2;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-title {
  line-height: 20px;
  margin: 0 0 2px;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-meta .byline {
  display: block;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-meta span,
.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-meta span a {
  color: #989898;
}


/*--------------------------------------------------------------
Block Post Widget CSS
--------------------------------------------------------------*/

.np-post-thumb,
.np-slide-thumb {
  overflow: hidden;
}

.np-post-thumb img,
.np-slide-thumb img {
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transform: scale(1) rotate(0deg);
  -ms-transform: scale(1) rotate(0deg);
  -o-transform: scale(1) rotate(0deg);
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

.np-post-thumb:hover img,
.np-slide-thumb:hover img {
  -webkit-transform: scale(1.05) rotate(1deg);
  -ms-transform: scale(1.05) rotate(1deg);
  -o-transform: scale(1.05) rotate(1deg);
  transform: scale(1.05) rotate(1deg);
  opacity: 0.8;
}

.np-home-middle-section .middle-primary {
  float: left;
  width: 67%;
}

.np-home-middle-section .middle-aside {
  float: right;
  width: 31%;
}

.np-block-title,
.widget-title,
.page-header .page-title,
.np-related-title,
.widget_block .wp-block-group__inner-container>h1,
.widget_block .wp-block-group__inner-container>h2,
.widget_block .wp-block-group__inner-container>h3,
.widget_block .wp-block-group__inner-container>h4,
.widget_block .wp-block-group__inner-container>h5,
.widget_block .wp-block-group__inner-container>h6 {
  background: #f7f7f7 none repeat scroll 0 0;
  border: 1px solid #e1e1e1;
  font-size: 16px;
  margin: 0 0 20px;
  padding: 6px 20px;
  text-transform: uppercase;
  border-left: none;
  border-right: none;
  color: #029FB2;
  text-align: left;
}

.news_portal_block_posts .np-primary-block-wrap {
  float: left;
  width: 48%;
}

.news_portal_block_posts .np-secondary-block-wrap {
  float: right;
  width: 49%;
}

.np-post-title.large-size a,
.np-post-title.small-size a {
  color: #333;
  display: block;
  font-size: 16px;
}

.np-post-title.large-size,
.np-post-title.small-size {
  margin: 15px 0 10px;
  text-transform: capitalize;
}

.np-post-meta span,
.np-post-meta span a {
  color: #a6a6a6;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  display: inline-block;
}

.np-post-meta span:hover,
.np-post-meta span a:hover,
.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-meta span:hover,
.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-meta span a:hover {
  color: #029fb2;
}

.np-post-meta span {
  margin-right: 15px;
}

.np-post-excerpt {
  margin-top: 12px;
}

.np-post-excerpt p {
  margin-bottom: 0;
}

.np-secondary-block-wrap .np-post-thumb,
.news_portal_default_tabbed .np-post-thumb {
  float: left;
  width: 30%;
}

.np-secondary-block-wrap .np-post-content,
.news_portal_default_tabbed .np-post-content {
  float: right;
  width: 66%;
}

.np-post-title.small-size {
  margin-top: 0;
}

.np-post-title.small-size {
  line-height: 22px;
  margin: 2px 0 3px;
}

.np-post-title.small-size a {
  font-size: 14px;
  font-weight: 500;
}

.np-post-title.small-size a:hover {
  color: #029FB2
}

.np-secondary-block-wrap .np-single-post,
.news_portal_default_tabbed .np-single-post,
.news_portal_default_tabbed #comments ul li {
  border-bottom: 1px solid #e1e1e1;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.np-secondary-block-wrap .np-single-post:last-child,
.news_portal_default_tabbed .np-single-post:last-child,
.news_portal_default_tabbed #comments ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.np-secondary-block-wrap .np-post-meta span,
.np-secondary-block-wrap .np-post-meta span a,
.news_portal_default_tabbed .np-post-meta span,
.news_portal_default_tabbed .np-post-meta span a,
.np-related-posts-wrap .np-post-meta span,
.np-related-posts-wrap .np-post-meta span a {
  font-size: 12px;
}

.news_portal_block_posts .layout2 .np-primary-block-wrap,
.news_portal_block_posts .layout2 .np-secondary-block-wrap {
  margin-left: -3%;
  width: 103%;
}

.news_portal_block_posts .layout2 .np-primary-block-wrap {
  margin-bottom: 10px;
}

.news_portal_block_posts .layout2 .np-primary-block-wrap .np-single-post,
.news_portal_block_posts .layout2 .np-secondary-block-wrap .np-single-post {
  display: inline-block;
  float: none;
  margin-left: 3%;
  margin-right: -4px;
  vertical-align: top;
  width: 47%;
}

.news_portal_block_posts .layout2 .np-secondary-block-wrap .np-single-post:nth-child(4) {
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 12px;
}

.news_portal_block_posts .layout3 .np-primary-block-wrap {
  width: 100%;
}

.news_portal_block_posts .layout3 .np-secondary-block-wrap {
  margin-top: 20px;
  width: 102%;
}

.news_portal_block_posts .layout3 .np-secondary-block-wrap {
  margin-left: -2%;
}

.news_portal_block_posts .layout3 .np-secondary-block-wrap .np-single-post {
  border: medium none;
  float: left;
  margin-bottom: 0;
  margin-left: 2%;
  padding: 0;
  width: 31.33%;
}

.news_portal_block_posts .layout3 .np-secondary-block-wrap .np-single-post .np-post-thumb,
.news_portal_block_posts .layout3 .np-secondary-block-wrap .np-single-post .np-post-content {
  float: none;
  width: 100%;
}

.news_portal_block_posts .layout3 .np-secondary-block-wrap .np-single-post .np-post-content {
  margin-top: 10px;
}

.news_portal_block_posts .layout4 .np-block-posts-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.news_portal_block_posts .layout4 .np-block-posts-wrapper .np-alt-grid-post {
  display: flex;
  flex-direction: column;
  width: 33.33%;
}

.news_portal_block_posts .layout4 .np-block-posts-wrapper .np-alt-grid-post .np-post-content {
  background: #f2f2f2 none repeat scroll 0 0;
  height: 242px;
  overflow: hidden;
  padding: 11px 15px 15px;
}

.news_portal_block_posts .layout4 .np-block-posts-wrapper .np-alt-grid-post:nth-child(2) {
  flex-direction: column-reverse;
}

.news_portal_block_posts .layout4 .np-block-posts-wrapper .np-alt-grid-post .np-post-content .np-post-excerpt {
  line-height: 27px;
  margin-top: 10px;
  overflow: hidden;
  height: 110px;
}


/*--------------------------------------------------------------
Featured Widget CSS
--------------------------------------------------------------*/

.middle-primary .news_portal_featured_posts .np-single-post-wrap {
  float: left;
  margin-bottom: 2%;
  margin-left: 2%;
  width: 31.33%;
}

.middle-primary .news_portal_featured_posts .np-featured-posts-wrapper {
  margin-left: -2%;
}

.middle-primary .news_portal_featured_posts .np-single-post img {
  width: 100%;
}

.middle-primary .news_portal_featured_posts .np-single-post-wrap {
  width: 48%;
}

.middle-aside .news_portal_featured_posts .np-single-post-wrap {
  margin-bottom: 20px;
  width: 98%;
}

.middle-aside .news_portal_featured_posts .np-single-post-wrap {
  width: 98%;
}

.middle-aside .news_portal_featured_posts .np-single-post-wrap:last-child {
  margin-bottom: 0;
}

.news_portal_default_tabbed ul.widget-tabs {
  margin: 0;
  list-style: none;
}

.news_portal_default_tabbed ul.widget-tabs li {
  background: #029fb2 none repeat scroll 0 0;
  display: inline-block;
  margin-right: -4px;
  padding: 5px 0;
  text-align: center;
  width: 50%;
  position: relative;
}

.news_portal_default_tabbed ul.widget-tabs li a {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
}

.news_portal_default_tabbed ul.widget-tabs li.ui-tabs-active,
.news_portal_default_tabbed ul.widget-tabs li:hover {
  background: #028A9A;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}


.news_portal_default_tabbed ul.widget-tabs li.ui-tabs-active:before,
.news_portal_default_tabbed ul.widget-tabs li:hover:before {
  border-bottom: 5px solid #fff;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  bottom: 0;
  content: "";
  height: 0;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 0;
}

.news_portal_default_tabbed .np-tabbed-section {
  margin-top: 20px;
}

.news_portal_default_tabbed .np-tabbed-section {
  border: 1px solid #e1e1e1;
  border-top: none;
  margin-top: 0;
  padding: 20px;
}

.news_portal_default_tabbed .np-post-meta span {
  margin-right: 10px;
}

.news_portal_default_tabbed #comments ul {
  margin: 0;
  list-style: none;
}

.news_portal_default_tabbed #comments ul .np-comment-avatar {
  float: left;
  width: 25%;
}

.news_portal_default_tabbed #comments ul .np-comment-desc-wrap {
  float: right;
  width: 71%;
}

.news_portal_default_tabbed #comments ul .np-comment-avatar img {
  width: 100%;
}


/*--------------------------------------------------------------
Full width Widget CSS
--------------------------------------------------------------*/

.np-block-title-nav-wrap {
  position: relative;
}

.np-block-title-nav-wrap .carousel-nav-action {
  position: absolute;
  right: 0;
  top: 0;
}

.np-block-title-nav-wrap .carousel-nav-action .carousel-controls {
  background: #333 none repeat scroll 0 0;
  color: #fff;
  display: inline-block;
  font-size: 13px;
  margin-left: 0;
  padding: 5px 13px;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.np-block-title-nav-wrap .carousel-nav-action .carousel-controls:hover {
  background: #029FB2;
}


.news_portal_carousel .np-post-meta span,
.news_portal_carousel .np-post-meta span a,
.news_portal_block_posts .layout3 .np-primary-block-wrap .np-post-meta span,
.news_portal_block_posts .layout3 .np-primary-block-wrap .np-post-meta span a {
  color: #cfcfcf;
}


/*--------------------------------------------------------------
Recent Post Widget CSS
--------------------------------------------------------------*/

.news_portal_recent_posts .np-recent-posts-wrapper ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news_portal_recent_posts .np-recent-posts-wrapper .np-single-post {
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.news_portal_recent_posts .np-recent-posts-wrapper .np-post-thumb {
  float: left;
  width: 30%;
}

.news_portal_recent_posts .np-recent-posts-wrapper .np-post-content {
  float: left;
  margin-left: 4%;
  width: 66%;
}

.mt-social-icons-wrapper {
  text-align: center;
}

.news_portal_social_media .social-link {
  display: inline-block;
  vertical-align: top;
}

.news_portal_social_media .social-link a {
  background: #029fb2 none repeat scroll 0 0;
  color: #fff;
  display: block;
  margin-right: 10px;
  padding: 7px 14px;
}

.news_portal_social_media .social-link a:hover {
  background: #028A9A;
}

.news_portal_ads_banner {
  text-align: center;
}


/*--------------------------------------------------------------
Footer CSS
--------------------------------------------------------------*/

#colophon {
  background: #000000 none repeat scroll 0 0;
  margin-top: 40px;
}

#top-footer {
  padding-top: 40px;
}

#top-footer .np-footer-widget-wrapper {
  margin-left: -2%;
}

#top-footer.footer_column_one .np-footer-widget,
#top-footer.footer_column_two .np-footer-widget,
#top-footer.footer_column_three .np-footer-widget,
#top-footer.footer_column_four .np-footer-widget {
  float: left;
  margin-left: 2%;
  width: 31.33%;
}

#top-footer .widget a,
#top-footer .widget a:before,
#top-footer .widget li:before {
  color: #cfcfcf;
}

#top-footer .widget a:hover,
#top-footer .widget a:hover:before,
#top-footer .widget li::hover:before {
  color: #029fb2;
}

#top-footer.footer_column_one .np-footer-widget {
  width: 98%;
}

#top-footer.footer_column_two .np-footer-widget {
  width: 48%;
}

#top-footer.footer_column_four .np-footer-widget {
  width: 23%;
}

#top-footer .widget-title {
  background: rgba(255, 255, 255, 0.2) none repeat scroll 0 0;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.bottom-footer {
  background: rgba(255, 255, 255, 0.1) none repeat scroll 0 0;
  color: #bfbfbf;
  font-size: 12px;
  padding: 10px 0;
}

.site-info {
  float: left;
}

#footer-navigation ul {
  float: right;
  list-style: outside none none;
  margin: 0;
}

#footer-navigation ul li {
  display: inline-block;
  vertical-align: top;
}

#footer-navigation ul li a {
  border-left: 2px solid #7f7f7f;
  color: #cfcfcf;
  margin-left: 10px;
  padding-left: 10px;
}

#footer-navigation ul li:first-child a {
  margin-left: 0;
  border-left: none;
}

#footer-navigation ul li a:hover {
  color: #029fb2;
}


/*--------------------------------------------------------------
Archive CSS
--------------------------------------------------------------*/

.archive article {
  border: none !important;
}

.np-archive-post-content-wrapper {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  position: relative;
}

.np-archive-post-content-wrapper:before {
  border-bottom: 15px solid #fff;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  content: "";
  left: 20px;
  position: absolute;
  top: -15px;
}

article.no-image .np-archive-post-content-wrapper:before {
  display: none;
}

.entry-meta>span {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  margin-right: 15px;
  text-transform: capitalize;
}

.entry-meta span a,
.entry-meta span {
  color: #767676;
  font-style: normal;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.np-archive-post-content-wrapper .entry-title {
  font-size: 20px;
  margin: 0 0 6px;
}

.np-archive-post-content-wrapper .entry-title a {
  color: #333;
}

.entry-title a:hover,
.entry-meta span a:hover,
.entry-meta span:hover {
  color: #029fb2;
}

.np-archive-more .np-button {
  background: #fafafa none repeat scroll 0 0;
  border: 1px solid #eeeeee;
  border-radius: 3px;
  color: #666666;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  ;
  padding: 4px 20px;
  text-decoration: none;
}

.np-archive-more .np-button:hover {
  background: #029fb2;
  color: #fff;
  border-color: #029FB2;
}

.np-archive-more .np-button i {
  margin-right: 8px;
}

.np-archive-grid-post-wrapper article {
  display: inline-block;
  margin-left: 3%;
  margin-right: -4px;
  width: 47%;
  vertical-align: top;
}

.np-archive-grid-post-wrapper {
  margin-left: -3%;
}

.home.archive-list article {
  border-top: 1px solid #e1e1e1 !important;
  padding-top: 20px;
  padding-bottom: 0 !important;
}

.home.archive-list article:first-child {
  border-top: none !important;
  padding-top: 0;
}

.archive.archive-list article {
  border-bottom: 1px solid #e1e1e1 !important;
  padding-top: 0 !important;
  padding-bottom: 20px !important;
}

.archive.archive-list article:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.archive-list article::after {
  clear: both;
  content: "";
  display: block;
}

.archive-list .np-article-thumb {
  float: left;
  width: 40%;
}

.archive-list .np-archive-post-content-wrapper {
  box-shadow: none;
  float: right;
  padding: 0;
  width: 57%;
}

.archive-list .np-archive-post-content-wrapper::before{
  display: none;
}

.site-mode--dark.archive-list .np-archive-post-content-wrapper {
  background: none;
}

.np-related-posts-wrap .np-post-title {
  margin: 10px 0 5px;
}

article.hentry h1.entry-title {
  font-size: 26px;
  margin: 10px 0;
}

.np-related-section-wrapper {
  margin-top: 80px;
}

.np-related-section-wrapper .np-single-post {
  float: left;
  margin-left: 2%;
  width: 31.33%;
}

.np-related-posts-wrap {
  margin-left: -2%;
}

#content {
  margin-top: 10px;
}

.home #content {
  margin-top: 0;
}

.single .post-cats-list {
  margin: 6px 0;
}

/*--------------------------------------------------------------
Error 404 css 
--------------------------------------------------------------*/

.error404 #primary {
  float: none;
  padding: 90px 0;
  width: 100%;
}

.error-404.not-found {
  border: 1px solid #e1e1e1;
  margin: 0 auto;
  max-width: 700px;
}

.error404 .page-title {
  background: #029FB2 none repeat scroll 0 0;
  color: #fff;
  font-size: 20px;
  margin: 0;
  padding: 10px 0;
  text-align: center;
}

.error-num {
  font-size: 114px;
  font-weight: 700;
  text-align: center;
}

.error-num>span {
  font-size: 34px;
  text-transform: uppercase;
}

.error404 .page-content {
  font-size: 14px;
  text-align: center;
}

.error-404 .page-header .page-title {
  color: #fff;
}

/*--------------------------------------------------------------
scroll to top css 
--------------------------------------------------------------*/

#np-scrollup {
  background-color: #029FB2;
  bottom: 20px;
  color: #ffffff;
  display: none;
  height: 40px;
  line-height: 40px;
  position: fixed;
  right: 20px;
  width: 40px;
  text-align: center;
  font-size: 16px;
  border-radius: 3px;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#np-scrollup {
  display: none;
}

#np-scrollup:hover,
#np-scrollup:focus,
#np-scrollup:active {
  color: #ffffff;
  border-radius: 100%;
}

/*--------------------------------------------------------------
Wpform css 
--------------------------------------------------------------*/

div.wpforms-container-full .wpforms-form input[type="submit"],
div.wpforms-container-full .wpforms-form button[type="submit"],
div.wpforms-container-full .wpforms-form .wpforms-page-button,
div.wpforms-container-full .wpforms-form input[type="submit"]:hover,
div.wpforms-container-full .wpforms-form button[type="submit"]:hover,
div.wpforms-container-full .wpforms-form .wpforms-page-button:hover {
  background: #029FB2;
  border: none;
  padding: 10px 20px;
}

/*--------------------------------------------------------------
Live search css 
--------------------------------------------------------------*/
.news-portal-search-results-wrap {
  padding: 15px 3px 0;
}

.np-header-search-wrapper .search-form-main .search-form label {
  border-radius: 0;
  padding: 0;
  width: 80%;
  display: inline-block;
  position: relative;
  margin-right: -4px;
}

.search-form-main .news-portal-search-posts-wrap {
  max-height: 600px;
  overflow-y: scroll;
  padding-right: 8px;
}

.news-portal-search-results-wrap .news-portal-search-article-item {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #e1e1e1;
}

.news-portal-search-results-wrap .news-portal-search-article-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-thumb-wrap {
  flex: 0 1 20%;
  margin-right: 15px;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-thumb-wrap img {
  display: block;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element {
  flex: 0 1 80%;
}

.news-portal-search-results-wrap .news-portal-search-article-item.no-img-post .news-portal-search-post-thumb-wrap {
  flex: 0;
  margin: 0;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .news-portal-search-post-title {
  margin: 0 0 6px;
  line-height: 22px;
  font-size: 14px;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .news-portal-search-post-title a {
  color: #333;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .news-portal-search-post-title a:hover {
  color: #029FB2;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .posted-on {
  font-size: 12px;
  display: block;
  margin-top: -2px;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .byline {
  display: none;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .posted-on a,
.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .posted-on::before {
  color: #909090;
  font-style: normal;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .posted-on:hover a,
.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .posted-on:hover:before {
  color: #029FB2;
}

.search-form.retrieving-posts label::before {
  content: "\f110";
  font-family: FontAwesome !important;
  font-weight: 600;
  display: inline-block;
  color: #B6B6B6;
  position: absolute;
  right: 5px;
  border-radius: 50%;
  top: 0px;
  font-size: 20px;
  -webkit-animation: tie-spin 3s infinite linear;
  animation: tie-spin 3s infinite linear;
}

@keyframes tie-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.search-results-wrap.no-posts-found h2 {
  margin: 0;
  font-size: 1.3rem;
}

.search-results-wrap.no-posts-found p {
  margin: 8px 0 0;
}

/*================================================== НАСТРОЙКИ МОЕЙ ТЕМЫ ==========================================================*/

/*=========================================== header =================================================*/
.np-logo-section-wrapper {
  padding: 0;
  background-image: image-set(
    url('img/header_2500x450.webp') type('image/webp'),
    url('img/header_2500x450.jpg') type('image/jpeg')
    );
	background-position: left top;
	background-repeat: no-repeat;
	background-size: contain;
	width: 100%;
  aspect-ratio: 2500 / 450;
  min-height: auto;  
  box-shadow: 0px 9px 11px -7px rgba(0, 0, 0, 0.75);
	position: relative;
}
.header_logo-section{
	font-family: 'Ukrainian Play', sans-serif;
	color:#fff;
	text-transform: uppercase;
	text-shadow:
    1px 1px 1px #000,
    -1px 1px 1px #000;
	transition: all .5s;
	text-align: center;
	width: 90%;
	position: absolute;
	top: 5%;
	left: 5%;
}
.header_title{
	font-size: 100px;
	letter-spacing: 20px;
	margin: 0;
}
.header_subtitle{
	font-size: 30px;
	letter-spacing: 15px;
	margin: 0;
}
.mt-header-menu-wrap{
  align-items: center;
  display: flex;
  justify-content: start;
}
/*--------------------------- меню -------------------------------*/
  .nav-wrapper {
    position: relative; /* База для позиционирования планки */
    background: #222;
    font-family: sans-serif;
    width: 92%;
    float: left;
  }

  .main-nav {
    display: flex;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1100px;
  }

  .main-nav > li > a {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    padding: 10px 25px;
    line-height: .5;
    color: #fff;
    text-decoration: none;
  }

  /* Выпадающая планка */
  .full-width-dropdown {
    position: absolute;
    left: 0;
    width: 100%;
    background: #333;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    
    /* Анимация */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease-out;
  }

  .main-nav > li:hover .full-width-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Сетка подменю */
  .grid-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 10px;    
    display: grid;
    /* 7 колонок одинаковой ширины */
    grid-template-columns: repeat(7, 1fr); 
    gap: 10px;
  }

  .grid-container a {
    color: #ccc;
    text-decoration: none;
    font-size: 10px;
    text-transform: uppercase;
    padding: 3px 0;
    transition: color 0.2s;
  }

  .grid-container a:hover {
    color: #fff;
  }
/*------------------------ блок поиска и переключения режимов ---------------------------*/
  .np-icon-elements-wrapper{
    width: 5%;
    float:right;
  }
/*------------------------ меню-бургер -------------------------------------------------*/
/* Кнопка скрыта на ПК 
.menu-burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 15px;
}

.menu-burger span {
  width: 100%;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s;
}*/
body.lock-scroll {
  overflow: hidden;
}
#nav-icon1 {
    width: 30px;
    height: 25px;
    background: transparent;
    position: relative;
    margin-left: 15px;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    display: none;
    border: none;
}
#nav-icon1 span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #fff;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}
#nav-icon1 span:nth-child(1) {
    top: 0px;
}
#nav-icon1 span:nth-child(2) {
    top: 10px;
}
#nav-icon1 span:nth-child(3) {
    top: 20px;
}
#nav-icon1.open span:nth-child(1) {
    top: 18px;
    transform: rotate(135deg);
}
#nav-icon1.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}
#nav-icon1.open span:nth-child(3) {
    top: 18px;
    transform: rotate(-135deg);
}
/*---------------------------------------------------
Главная страница
---------------------------------------------------*/

/*---------------------------------------------------
блок Slider и анонсы постов на главной
---------------------------------------------------*/
.home__block{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content:space-evenly;
	margin-top: 15px;
	background-color: #fff;
	padding: 20px 0;
	-webkit-box-shadow: inset 0px 1px 7px 1px #ccc; 
	box-shadow: inset 0px 1px 7px 1px #ccc;
  align-items: stretch;
}
.home__block-slider{
	z-index: 9;
/*	overflow: hidden;*/
	margin: 0 0 7px;
	position: relative;
}
.home_slider-img{
  position: absolute;
  top:0;
  left:0;
  z-index: 99;
}
.home__block-slider ul,
.home__block-slider li{
	padding: 0;
	margin: 0;
	list-style-type: none;
}
.home__block-slider ul{
	width: 9999px;
}

.demo {
  max-width: 810px;
  margin: 0 auto;
}

.demo ul {
    list-style: none outside none;
    padding-left: 0;
    margin-bottom:0;
}
.demo li {
    display: block;
    float: left;
    margin-right: 6px;
    cursor:pointer;
}
.demo img {
    display: block;
    height: auto;
    max-width: 800px;
    aspect-ratio: 800 / 427;
		position: relative;
}
.lightSlider__title{
	font-size: 16px;
	color:#fff;
	position: absolute;
  top: 85%;
  left: 3%;
  background: #006D80;
  padding: 5px;
}
.lSSlideOuter{
	position: relative;
}
.lSSlideOuter .lSPager.lSpg{
	display: none;
}
.home__block-posts{
	max-width: 650px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: start;
	gap:10px;
  position: relative;
}

.home_block-posts-anons{
	position: relative;
  z-index: 1;
  transition: all .5s;
}
.home_block-posts-anons:hover.home_block-posts-anons::after{
	background-color: rgba(0, 0, 0, 0);;
}
.home_block-posts-anons-title{
	position: absolute;
	top:70%;
	left:10%;
	color:#fff;
	font-weight: 600;
	text-transform: uppercase;
	background-color: #006D80;
  padding: 5px 10px;
	font-size: 12px;
	text-transform: uppercase;
  z-index: 9;
}
.home_block-posts-anons::after,
.last__category-sidebar::after,
.element-item::after,
.view__category::after{
  content: "";
  position: absolute;
  top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}
/*---------------------------------------------------
блоки primary и secondary
---------------------------------------------------*/
#primary,
#secondary{
	background-color: #fff;
	padding: 20px 20px 70px;
	-webkit-box-shadow: inset 0px 1px 7px 1px #ccc; 
	box-shadow: inset 0px 1px 7px 1px #ccc;
}
/*------------------------------------------------------------
 section section__ocenka, section__istochniki, section__metki 
----------------------------------------------------------- */
.section__ocenka,
.section__istochniki,
.section__metki,
.social-share{
	padding:15px;
}
.social-share{
	margin-bottom:30px;
}
.section__ocenka{
	text-align: left;
}
.section__ocenka em{
	font-size: 10px;
}
/*---------------------------------------------------
вывод меток
-----------------------------------------------------*/
.meta-tag{
	font-size: 10px;
	text-align: center;
}
/*---------------------------------------------------
вывод источников
-----------------------------------------------------*/
.section__istochniki{
  line-height: 1;
}
.istochnik-p{
	font-size: 10px;
  text-align: left;
  font-weight: 600;
  font-style: italic;
}

/*----------------------------------------------------
цитата
-----------------------------------------------------*/
.zhurnal__citata-block{
    width: 70%;
    margin: 20px auto;
    padding-left: 20px;
    border-left: 2px solid #04414b;
  }
  .zhurnal__citata{
    font-size: 12px;
    line-height: 1.2;
  }
	.zhurnal__citata-podpis{
    margin-top: 10px;
    text-align: right;
    font-style: italic;
    font-size: 12px;
  }
/*---------------------------------------------------
подпись изображений
----------------------------------------------------*/
  .img__podpis {
    width: 70%;
    margin: 0 auto;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 20px;
  }
/* ---------------------------------------------------
sidebar 
----------------------------------------------------*/
.sidebar-title{
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	color:#fff;
	text-align: center;
	background: #365A77;
	padding:7px 0;
}
.sidebar__rss{
  margin-bottom: 30px;
}
/*---------------------------------------------------
breadcrumbs
----------------------------------------------------*/
.breadcrumbs{
	font-size: 10px;
  padding:15px 0;

}
/*---------------------------------------------------
блок автора, написания статьи, просмотров и время прочтения
----------------------------------------------------*/
.entry-meta{
	display: flex;
	flex-direction: row;
  flex-wrap: wrap;
	justify-content: start;
	align-items: baseline;
	gap:0 20px;
	margin: 20px 0;
	font-size: 12px;
}
.entry-meta_left,
.entry-meta_right{
	display: flex;
	flex-direction: row; 
  justify-content: start;
	align-items: baseline;
	gap:0 20px;
	margin-top: 20px; 
}
/*---------------------------------------------------
меню в сайдбаре
----------------------------------------------------*/
ul#menu-sidebar_menu.sidebar__menu-category{
	line-height: 1.5;
	text-align: center;
	text-transform: uppercase;
	padding-left: 0;
	margin-left: 0;
	font-size: 12px;
	font-weight: 600;
}
ul#menu-sidebar_menu.sidebar__menu-category .menu-item a:hover{
  color: #fff;
  background: #006D80;
}
/*---------------------------------------------------
последние записи в сайдбаре
---------------------------------------------------*/
.last__category-sidebar{
	max-width: 300px;
	margin: 20px auto;
	position: relative;
}
.last__category-link:hover .last__category-sidebar::after,
.element__item-post:hover .element-item::after,
.element-item:hover .element-item::after,
.view__category:hover .view__category::after{
	background-color: rgba(0, 0, 0, 0);
	-webkit-box-shadow: inset 0px 1px 7px 1px #ccc; 
	box-shadow: inset 0px 1px 7px 1px #ccc;
}
.last__category-link:hover .category__title-link,
.element__item-post:hover .category__title-link,
.home__block-post-link:hover .home_block-posts-anons-title{
  color: #006D80;
  background: #fff;
  border: 1px solid #006D80;
}
.category__title-link{
	position: absolute;
	top:80%;
	left:10%;
  background: #006D80;
  padding: 5px;
  font-size: 10px;
  text-transform: uppercase;
  color:#fff;
}
/*---------------------------------------------------
вывод всех статей категории
----------------------------------------------------*/
.elements-gride{
	margin-top: 30px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;

}
.element-item{
	position: relative;
}
.category__title-link{
	position: absolute;
	top:80%;
	left:10%;
  background: #006D80;
  padding: 5px;
  font-size: 9px;
  text-transform: uppercase;
}

.menu-sidebar_menu .menu-item{
	margin-bottom: 7px;
}
.category_materials{
  margin: 30px 20px;
}
/*---------------------------------------------------
keytake
----------------------------------------------------*/
  .keytake {
		width: 70%;
		margin:30px auto;
    display: flex;
    flex-direction: row;
    border: 1px solid #006D80;
    background: #e6f4f7;
    border-radius: 8px;
    box-shadow: 2px 5px 8px 0 #333;
  }
  .keytake__title {
    width: 20%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
	.keytake__title-key {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    margin: 0;
    padding: 0;
    color: #cc171e;
  }
  .keytake__title-takeways {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    margin: 0;
    padding: 0;
    color: #000;
  }
	.keytake__text {
    width: 100%;
    padding: 20px;
		font-size: 10px;
    line-height: 1.2;
  }
	.keytake__text h2{
		margin:0 0 15px 0;
	}
	.site-mode--dark .keytake{
		background: #292929;
	}
	.site-mode--dark .keytake__title-key,
	.site-mode--dark .keytake__title-takeways{
		color:#fff;
	}
/*-------------------- меню содержания на страницах категорий ------------------*/
.content-categories{
  line-height: 1.35;
  font-size: 12px;
}
/*---------------------------------------------------
блок flex с изображениями в записях
----------------------------------------------------*/
  .box__post {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px dotted #292929;
  }
	.box__post-item {
    display: flex;
    flex-direction: column;
    flex-grow: 0;
    width: 160px;
    align-items: center;
    padding-top: 5px;
    margin-top: 30px;
  }
	.box__post-img {
    flex-basis: 130px;
    text-align: center;
  }
	.box__post-podpis {
    font-size: 12px;
    font-weight: 500;
    flex-grow: 1;
    text-align: center;
    margin: 5px 0;
  }
	.box__post-podpis p{
		padding: 0;
	}
/*---------------------- звезды рейтинга выстроить в ряд -----------------------------*/
.post-ratings{
  display: ruby;
}
/*---------------------------------------------------
карта сайта
----------------------------------------------------*/
.wsp-posts-list{
	margin-bottom: 20px;
}
.wsp-category-title{
	text-transform: uppercase;
}
.wsp-category-title a{
  color: #cc171e;
}
/*---------------------------------------------------
адаптивные таблицы 
----------------------------------------------------*/
.table-wrap {
	text-align: center;
	background-color: #fff;
	padding: 2rem 2rem;
	color: #000;
	width: 90%;
	margin: 0 auto;
}
.table-wrap table {
	border: 1px solid #ccc;
	width: 100%;
	margin:0;
	padding:0;
	border-collapse: collapse;
	border-spacing: 0;
}
.table-wrap table tr {
	border: 1px solid #ddd;
	padding: 5px;
}
.table-wrap table th,
.table-wrap table td {
	padding: 10px;
	text-align: center;
	border-right: 1px solid #ddd;
}
.table-wrap table th {
	color: #fff;
	background-color: #444;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 1px;
}
/*------------------------- таблица киноархива нло ------------------------------*/
.kinoarhiv-table table,
.kinoarhiv-table th,
.kinoarhiv-table td {
    border: none; /* Убирает линию */
    border-collapse: collapse; /* Убирает пустые промежутки между ячейками */
}
/*---------------------------------------------------
страница 404
----------------------------------------------------*/
.error-num{
	color:#cc171e;
}
.error-num span{
	color:#000;
}
/*---------------------------------------------------
страница результатов поиска search.php
----------------------------------------------------*/
.page-title span{
	color:#8b2020;
}
.search article.hentry{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;
}
.np-archive-post-content-wrapper .entry-meta{
	display: none;
}
.np-article-thumb{
	width: 30%;
}
.np-archive-post-content-wrapper{
	width: 65%;
}
.entry-header{
  padding:15px 30px;
}
.entry-header a{
	color:#006D80;
}
.entry-header a:hover{
	color:#8b2020;
}
.np-archive-more .np-button{
	color: #006D80;
	text-transform: uppercase;
}
.entry-content_author{
  padding:15px 30px;
}

/* ======================= автор и дата записи =================== */
.single__info{
	width: 45%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: baseline;
	font-size: 10px;
	margin-bottom: 20px;
}
.post_header-block{
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: left;
	font-size: 10px;
	text-transform: uppercase;
	margin-bottom: 20px;
	gap:0 30px;
}
.post_header-author{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap:0 10px;
}
.post_header-photo img{
	border-radius: 50%;
}
.post_header-name{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.post_header-title{
	font-size: 12px;
	letter-spacing: 1px;
	font-weight: 600;
}
.post_header-name-link{
	text-transform: capitalize;
}
/* ========================= об авторе (в записях и на страницах) ========================== */
.autor_description-block{
	margin: 30px 0;
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
}
.autor_description-photo{
	width: 20%;
	text-align: center;
}
.autor_description-photo img{
	border-radius: 50%;
}
.autor_description-text{
	width: 75%;
	display: flex;
	flex-direction: column;
	justify-content: start;
	gap:1px 0;
  font-size: 12px;
	line-height: 1.3;
}
/*=============================== об авторе (на страницах категорий) ====================================*/
.category-author-block{
  display: flex; 
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; 
  margin-bottom: 15px; 
  background: #f9f9f9; 
  border-radius: 8px;
}
.category-author-photo{
  width: 10%;
}
.category-author-photo img{
  border-radius: 50%;
}
.category-author-info{
  width: 85%;
  font-size: 10px;
  line-height: 1.2;
}
.category-author-info p{
  padding:10px 20px;
}
/* ===================== блок действий - подписка и печать - в статье ========================== */
.block_actions{
	margin:30px 0;
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: left;
	align-items: baseline;
	gap: 0 20px;
}
.page-print,
.page-subscribe{
	font-size: 10px;
  color:#365A77 !important;
	padding:10px 20px;
	border:1px solid #365A77;
	border-radius:5px;
	cursor: pointer;
	text-transform: uppercase;
  background-color: #fff;
  transition: all linear .3s;
}
.page-print:hover,
.page-subscribe:hover{
	color:#fff !important;
  border:1px solid #365A77;
  background-color: #365A77;
}
@media print {
    /* Скрываем все лишнее */
  .np-top-header-wrap,
  #masthead,
  .breadcrumbs,
  #secondary,
  .entry-header .post-cats-list,
  .entry-header .post_header-block,
  .entry-header .block_actions,
  .post-subscribe-block,
  .section__metki,
  .section__ocenka,
  .social-share,
  .entry-content_author,
  .entry-content-copyright,
  .navigation,
  .post-navigation,
  .np-related-section-wrapper,
  .heateorSssClear,
  .heateor_sss_sharing_container,
  .heateor_sss_horizontal_sharing,
  .heateor_sss_sharing_title,
  .heateor_sss_sharing_ul,
  .keytake,
  footer {
    display: none !important;
  }

    /* Растягиваем контент на всю ширину */
    body, #primary, #main {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
      }
      #primary{
        box-shadow: none;
      }

    /* Настройка шрифтов для печати */
    body {
        font-size: 12pt;
        color: black;
    }
		/* принудительная загрузка изображений при печати без Lazy Load */
		img { 
			max-width: 100% !important; 
			height: auto !important;
			display: block !important;
		}
		h1, h2, h3 {
    page-break-after: avoid; /* Заголовок не отрывается от текста */
		}
		.post-content img {
    	page-break-inside: avoid; /* Картинку не разрежет пополам при переходе на страницу */
		}
	}
	/*========================== блок подписки в конце статьи =========================*/
	.post-subscribe-block{
		display: flex;
  	flex-direction: row;
  	align-items: baseline;
  	justify-content: center;
  	margin: 30px 0;
	}
  .entry-content-copyright{
    padding:15px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }
/*========================== модальное окно подписки ======================*/
.modal-overlay {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px); /* Легкое размытие фона */
}
/* Само окно */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    position: relative;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
/* Кнопка закрытия */
.close-modal {
    position: absolute;
    right: 15px; top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
}
.close-modal:hover { color: #000; }
/* Стили формы (коротко) */
#subscribe-form input {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}
#subscribe-form button {
    width: 100%;
    padding: 10px;
    background: #029fb2; /* Твой основной цвет */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/* Общие настройки карточки */
.subscription-card {
    border-top: 5px solid #029fb2; /* Цветная полоска сверху */
    animation: slideIn 0.3s ease-out; /* Анимация появления */
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-icon {
    margin-bottom: 20px;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.modal-subtitle {
    font-size: 15px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 25px;
    padding: 0 10px;
}

/* Стилизация поля ввода */
.styled-form .input-group input {
    background: #f8f9fa;
    border: 2px solid #eee;
    transition: all 0.3s ease;
    font-size: 16px;
    outline: none;
}

.styled-form .input-group input:focus {
    border-color: #029fb2;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,123,255,0.1);
}

/* Кнопка с эффектом */
.submit-btn {
    background: linear-gradient(135deg, #029fb2 0%, #0056b3 100%);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.4);
}

.modal-footer-text {
    font-size: 11px;
    color: #999;
    margin-top: 20px;
}
/* чекбокс подтверждения */
.checkbox-group {
    margin: 15px 0;
    text-align: left;
}

.modern-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

.modern-checkbox input {
    display: none;
}

.checkbox-box {
    min-width: 20px;
    height: 20px;
    border: 2px solid #029fb2;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    background: #fff;
}

.check-icon {
    width: 14px;
    height: 14px;
    stroke: white;
    stroke-width: 3;
    fill: none;
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    transition: stroke-dashoffset 0.3s ease;
}

.modern-checkbox input:checked + .checkbox-box {
    background: linear-gradient(135deg, #029fb2, #0056b3);
    border-color: #0056b3;
    transform: scale(1.05);
}

.modern-checkbox input:checked + .checkbox-box .check-icon {
    stroke-dashoffset: 0;
}

.checkbox-text a {
    color: #029fb2;
    text-decoration: underline;
}
/* =================================== страница автора =============================== */
.author-bio{
	display: flex;
	flex-direction: row;
	justify-content:space-around;
	padding:20px 0;
	background-color: #eaeaea;
}
.author-bio-photo{
	width: 15%;
	display: flex;
	flex-direction: column;
	justify-content:flex-start;
	align-items: center;
	gap:30px 0;
}
.author-bio-photo img{
	border-radius: 50%;
}
.acf-author-description{
	width: 60%;
}
.quantity_posts{
	font-style: 16px;
	font-weight: 600;
}
.author-result{
	width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  background-color: #eaeaea;
  padding-bottom: 30px;
}

/* =========================== статус автора ============================= */
.author-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  vertical-align: middle;
  color: #fff;
	text-align: center;
}
.author-result-education,
.author-result-specialization,
.author-result-lang,
.author-result-expertise{
	border:1px solid #eaeaea;
	-webkit-box-shadow: 2px 5px 26px 3px #4a4a4a; 
	box-shadow: 2px 5px 26px 3px #4a4a4a;
	background-color: #fff;
	margin-bottom: 20px;
	border-radius: 5px;
	padding: 15px;
  width: 20%;
  font-size: 11px;
}
.author-result h3{
	padding:5px 0;
	text-align: center;
	font-size: 12px;
  margin:5px;
  color:#029fb2;
}
.author-header h1{
  color:#029fb2;
  font-size: 12px;
}
.author_title-name{
  color:#8b2020;
  font-size: 14px;
}
.author-result-education p,
.author-result-specialization p,
.author-result-lang p,
.author-result-expertise p{
	font-size: 10px;
}
/* =================== Цвета для разных статусов =========================== */
.badge-novice { background-color: #76bd1c; }
.badge-master { background-color: #f39c12; }
.badge-expert { background-color:#0033cc }
.badge-proven { background-color:#cc171e }
.badge-guru   { background-color: #e74c3c; }
/* ========== выборочный показ 10 статей на странице автора ================ */
.author-post-card{
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	margin: 20px auto;
	width: 50%;
	align-items: baseline;
	background-color: #eaeaea;
	padding:5px 0;
}
.author-post-img,
.author-post-info{
	width: 45%;
	text-align: center;
}
.author-post-info h3{
	font-size: 10px;
}
.author-post-info{
	line-height: 0.3;
}
.author_posts-list{
	margin-top:30px;
}
.author-post-img img {
  width: 100px;
  height: 67px;
  object-fit: cover; /* Сохраняет пропорции, обрезая лишнее */
  border-radius: 6px; /* Опционально: мягкие уголки */
}
/*----------------------------- контактная форма на странице Контакты ----------------------------*/
#contact-form{
	width: 30%;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  gap: 20px 0;
}
#contact-form input{
	height: 30px;
	padding:15px;
	color:#000;	
}
#contact-form textarea{
		padding:15px;
}
#contact-form input::-moz-placeholder,
#contact-form input::placeholder,
#contact-form textarea::-moz-placeholder,
#contact-form textarea::placeholder{
	  color:red; 
   }
#contact-form input:focus::-moz-placeholder,
#contact-form input:focus::placeholder,
#contact-form textarea:focus::-moz-placeholder,
#contact-form textarea:focus::placeholder { /* убрать при фокусе первоначальный текст поля */
  color: transparent;
}
.js-contact-form .submit{
	height: 50px;
	padding:15px;
	background-color: #029fb2;
	border:1px solid #029fb2;
	color:#fff;
	text-transform: uppercase;
	cursor: pointer;
  transition: all linear .3s;
}
.js-contact-form .submit:hover{
	background-color: #d1232a;
	border:1px solid #d1232a;
	color:#fff;
}
/*-------------------------------- страница политика конфиденциальности --------------------------------------*/
.privacy_block{
  display: flex;
  flex-direction: row;
  width: 80%;
  margin:0 auto;
}
.privacy_block-eng,
.privacy_block-rus{
  padding:10px;
  width: 50%;
}
.navigation .nav-links a, .bttn, button, input[type='button'], input[type='reset'], input[type='submit'], .widget_search .search-submit, .np-archive-more .np-button:hover, .widget.widget_tag_cloud a:hover{
  background-color:#365A77;
}
.site-main.page-politika h1,
.site-main.page-politika h2{
  text-align: center;
}
.site-main.page-politika h3{
  margin:30px 0;
}

/*---------------------------------------------------
footer
----------------------------------------------------*/
.site-footer{
	padding:50px 0;
	color: #fff;
}
.footer__top,
.footer__bottom{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.footer__top{
	margin-bottom: 50px;
}
.np-copyright-text{
	font-weight: 600;
}
.footer__links{
  display: flex;
  flex-direction: column;
  gap: 50px 0;
  align-items: end;
}
.footer_nav-service{
  display: inline-flex;
}
.footer_nav-service-item a{
  color:#cfcfcf;
  margin:0 10px;
}
/*---------------------------------------------------
h1 в статьях, рубриках
----------------------------------------------------*/
.entry-header h1,
.section__subscribe-zagolovok,
.page__title{
  text-align: left;
  font-size: 14px;
  color: #006D80;
}
/*----------------- линк на Телеграм на странице Автора --------------------------------*/
.author_telegram-link{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap:0 15px;
}
.category-button a{
  background-color: #365A77 !important;
}
/*------------------------------- пагинация ----------------------------------------------------*/
.page-numbers.current{
  font-size: 22px;
  color: #d1232a;
  margin:0 25px;
}
.nav-links{
  text-align: center;
  margin-top: -5px;
}
/*-------------------------------------- вывод категорий и подкатегорий -------------------------------------------------------*/
.subcategories,
.posts-list{
  width: 95%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}
.subcategory-item,
.post-item{
  max-width: 600px;
  height: auto;  
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}
.subcategory-item::after,
.post-item::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
}
.post-item h3,
.subcategory-item h3{
  position: absolute;
  top: 80%;
  left:8%;
  background-color: #fff;
  padding:5px 10px;
  font-size: 10px;
  z-index: 9;
}
.subcategory-item:hover.subcategory-item::after,
.post-item:hover.post-item::after{
    background-color: rgba(0, 0, 0, 0);
}
.subcategory-item:hover.subcategory-item h3,
.post-item:hover.post-item h3{
  background-color: #365A77;
  color:#fff;
}
/*------------------------------------------- страница sitemap ---------------------------------------*/
.filter-container {
    text-align: center;
    margin-bottom: 20px;
}
.filter-button {
    padding: 5px 8px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s;
}
.filter-button.active {
    background-color: #007bff;
    color: white;
}
.filter-button:hover {
    background-color: #0056b3;
    color: white;
}
#sitemap {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
}
.sitemap-post-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}
.sitemap-post-item img,
.gradient-box {
    width: 90px;
    height: 60px;
    margin-right: 10px;
    border-radius: 5px;
}
.gradient-box {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}
.sitemap-post-item a {
    text-decoration: none;
    font-size: 12px;
    color: #333;
    display: block;
    transition: color 0.3s;
}
.sitemap-post-item:hover {
    background-color: #f9f9f9;
}
.sitemap-post-item a:hover {
    color: #007bff;
}
@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
    }
    .filter-button {
        width: 100%;
        font-size: 14px;
    }
    #sitemap {
        max-width: 100%;
    }
    .sitemap-post-item {
        padding: 8px;
    }
    .sitemap-post-item img,
    .gradient-box {
        max-width: 40px;
        height: 40px;
    }
    .sitemap-post-item a {
        font-size: 16px;
    }
}
/*----------------------------------- pagenavi -----------------------*/
.wp-pagenavi {
	clear: both;
}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	padding: 3px 5px;
	margin: 2px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	border-color: #000;
}

.wp-pagenavi span.current {
	font-weight: bold;
  color:#d1232a;
  font-size: 16px;
}
.navigation_page{
  text-align: center;
  margin: 30px 0;
}
/*------------------------------------------------- tocbot - оглавление на странице рубрик ---------------------------------------*/
.toc:before {
        content: "Содержание:";
        display: block;
        margin-bottom: 10px;
        font-size: 10px;
        font-weight: bold;
        text-transform: uppercase;
        border-bottom: 1px dashed #dadada;
        padding-bottom: 10px;
    }

   /* .toc {
        padding: 30px;
        border: 1px solid #dadada;
        border-radius: 5px;
        background-color: #fafafa;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }*/
    .toc {
    padding: 30px;
    border: 1px solid #dadada;
    border-radius: 5px;
    background-color: #fafafa;

    overflow: hidden;
    transition: height 0.5s ease;
}

    a.toc-link {
        font-size: 80%;
        text-decoration: none;
        color: #0033CC!important;
    }

    li.toc-list-item {
        margin-top: 0;
        line-height: 1.1;
    }

    .toc-list .is-collapsible {
        margin-left: 15px;
        color: #666;
    }
    /* Стиль для скрытого состояния 
    .toc-hidden {
      display: none;
    }*/

    /* Немного стиля для кнопки */
    #toc-toggle {
      cursor: pointer;
      margin-bottom: 10px;
      padding: 5px 10px;
      border-radius: 5px;
      color: #ff0 !important;
      font-size: 9px;
    }

/*-------------------------------------------------------- ТЁМНАЯ ТЕМА .site-mode--dark ------------------------------------------*/
.site-mode--dark #primary,
.site-mode--dark #secondary{
  background-color: #222;
  -webkit-box-shadow: inset 0px 1px 7px 1px #292929;
  box-shadow: inset 0px 1px 7px 1px #292929;
}
.site-mode--dark .post-item h3,
.site-mode--dark .subcategory-item h3{
  background: #222;
}
.site-mode--dark .sitemap-post-item a{
  color:#fff;
}
.site-mode--dark .home__block{
  background-color: #222;
}
.site-mode--dark .category-author-block{
  background: transparent;
}
  #menu-sidebar-menu {
    margin: 30px auto;
    width: 90%;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
  }
/*------------ таблица в киноархиве ----------------*/
.kinoarhiv-table table{
  line-height: 0.6;
}
.category_materials{
  margin:40px 0;
  text-align: center;
}
.category_materials h3 span{
  font-size: 13px;
  color:#cc171e;
}
/*------------------ вывод категорий на главной ---------------------------*/
.cat_home_page{
  background: #fff;
  width: 70%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px 0;
}
/*-------------------------------------------------- меню в сайдбаре --------------------------------------------------*/
#menu-sidebar-menu .menu-item a{
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
}
#menu-sidebar-menu .menu-item a:hover,
#menu-sidebar-menu .menu-item a:focus{
  color:#0000FF;
  text-decoration: underline;
}
/*------------------------------------------------------- Media-query ---------------------------------------------------------------*/
@media screen and (max-width:1645px) {
  .nav-wrapper{
    width: 88%;
  }
  .np-icon-elements-wrapper{
    width: 8%;
  }
}
@media screen and (max-width:1621px) {
  .demo{
    margin-bottom: 20px;
  }
}
@media screen and (max-width:1450px){
  .category__title-link{
    font-size: 7px;
    top:75%;
  }
.category-author-block{
  justify-content: space-between;
  }
}

@media screen and (max-width:1366px) {
  .header_logo-section {
    line-height: 1.2;
    top:15%;
  }
}
@media screen and (max-width:1200px) {
  .header_logo-section{
    top:5%;
  }
  .header_subtitle{
    line-height: 0.6;
  }
  #primary,
  #secondary{
    float:none;
    width: 100%;
  }
  #primary{
    margin-bottom: 30px;
  }
  .footer__top {
    flex-direction: column;
  }
  .site-info,
  #footer-navigation ul {
    float: none;
    text-align: center;
    margin-bottom: 30px;
  }
  .footer__bottom {
    justify-content: center;
  }
  .category__title-link{
    font-size: 10px;
  }
}
@media screen and (max-width:1087px){
  .main-nav > li > a{
    padding: 10px 20px;
  }
}
@media screen and (max-width:1006px){
  .header_logo-section {
    top: 0;
  }
  .header_subtitle {
    line-height: 0.1;
  }
  .nav-wrapper{
    width: 87%;
  }
  .np-icon-elements-wrapper{
    width: 12%;
  }
  .main-nav > li > a {
    padding: 10px 13px;
  }
}
@media screen and (max-width:910px){
  .main-nav > li > a {
    padding: 10px 8px;
  }
  .header_title {
    font-size: 80px;
  }
  .header_subtitle {
    font-size: 25px;
  }  
  .grid-container {
    /* 5 колонок одинаковой ширины */
    grid-template-columns: repeat(5, 1fr); 
    gap: 10px;
  }
  .mt-header-menu-wrap{
    justify-content: space-between;
  }
}
@media screen and (max-width:870px){
  .demo {
    max-width: 700px;
  }
  .grid-container {
    /* 3 колонки одинаковой ширины */
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px;
  }
  .demo img{
    max-width: 700px;
    aspect-ratio: 700 / 374;
  }
}
@media screen and (max-width:820px) {
  .header_title {
    font-size: 80px;
  }
}
@media screen and (max-width:802px){
  .nav-wrapper {
    width: 83%;
  }
  .main-nav > li > a {
    padding: 10px 4px;
  }
}
@media screen and (max-width:768px) {
  .header_title {
    font-size: 70px;
  }
  .header_subtitle{
    font-size: 24px;
  }
  #site-navigation ul li a{
    font-size: 16px;
    text-align: center;
  }
  #nav-icon1{
    display: block;
    z-index: 100001;
  }
  .main-nav {
    display: none; /* Скрыто по умолчанию */
    position: fixed; /* Фиксируем поверх всего */
    inset: 0; /* top:0; left:0; right:0; bottom:0; */
    width: 100%;
    height: 100vh; /* Растягиваем на всю высоту экрана */
    background-color: #111; /* Обязательно непрозрачный фон */
    z-index: 100000; /* Самый высокий приоритет */
    flex-direction: column;
    padding-top: 80px; /* Отступ сверху, чтобы не перекрыть сам бургер */
    overflow-y: auto;    /*Разрешаем скролл внутри меню */
  }
  .main-nav.is-visible {
    display: flex; /* Показываем при клике */
  }
  .main-nav > li > a {
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    color:#fff;
  }
  .main-nav > li:hover .full-width-dropdown{
    text-align: center;
  }
  .demo {
    max-width: 600px;
  }
  .home__block-posts{
    justify-content: center;
  }
  .post-subscribe-block{
    flex-direction: column;
    align-items: center;
    gap:20px;
  }
  .post-subscribe-block p{
    padding: 0;
    text-align: center;
   }
}
@media screen and (max-width:704px){
  .header_title {
    font-size: 50px;
  }
  .header_subtitle{
    font-size: 22px;
    letter-spacing: 10px;
  }
  .post-subscribe-block{
    flex-direction: column;
    align-items: center;
  }
}
@media screen and (max-width:680px) {
  .np-logo-section-wrapper {
   background-image: image-set(
    url('img/header_680x279.webp') type('image/webp'),
    url('img/header_680x279.jpg') type('image/jpeg')
    );
	 width: 100%;
   aspect-ratio: 680 / 279;
   min-height: auto;
  }
  .header_logo-section {
    top: 25%;
  }
  .header_title {
    font-size: 54px;
  }
}
@media screen and (max-width:670px){
  .nav-wrapper{
    width: 75%;
  }
  .np-icon-elements-wrapper{
    width: 22%;
  }
  .demo {
    display: none;
  }  
}
@media screen and (max-width:612px){
  .header_title {
    font-size: 46px;
  }
  .entry-content_author{
    padding: 15px 0;
  }
  .entry-content-copyright{
    flex-direction: column;
    align-items: center;
  }
  .autor_description-block{
    margin: 30px 0;
    flex-direction: column;
    align-items: center;
  }
  .autor_description-text{
    width: 95%;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }
  .category-author-block{
    flex-direction: column;
    gap:30px 0;
    padding-top: 20px;
  }
}
@media screen and (max-width:568px) {
   .header_title {
    font-size: 40px;
    letter-spacing: 12px;
  }
  .header_subtitle{
    letter-spacing: 7px;
    font-size: 18px; 
  }
  .fa-brands, .fab {
  font-size: 20px;
  letter-spacing: 15px;
  }  
  .grid-container {
    /* 2 колонки одинаковой ширины */
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px;
  }
}
@media screen and (max-width:480px){
.category-author-info{
  width: 95%;
}
.category-author-photo img{
  max-width: 150px;
  height: auto;
}
}
@media screen and (max-width:437px) {
  .header_title {
    font-size: 36px;
   }
  .header_subtitle{
    letter-spacing: 3px;
    font-size: 16px; 
  }
}
@media screen and (max-width:414px){
  .header_logo-section {
    top: 15%;
  }
}
@media screen and (max-width:390px) {
  .header_title {
    letter-spacing: 6px;
  }
  .header_subtitle{
    letter-spacing: 2px; 
  }
}
@media screen and (max-width:366px){
  .nav-wrapper{
    width: 70%;
  }
  .np-icon-elements-wrapper{
    width: 27%;
  }
}