/*   
Theme Name: NYT Theme
Theme URI: https://md7.info
Description: Individual WP Theme
Author: Phoenix
Author URI: https://md7.info
Version: 1.0
*/

@font-face {
    font-family: 'Izvestija';
    font-style: normal;
    font-weight: 400;
    src: local('Izvestija'), local('Izvestija-Regular'),
    url(/wp-content/themes/nyt/fonts/izvestija_fd79773479c006d01d30ae4a6341820f.woff) format('woff'),
    url(/wp-content/themes/nyt/fonts/izvestija_fd79773479c006d01d30ae4a6341820f.ttf) format('truetype');
}



/* default styles for images alignment */

img.alignright {
    float: right;
    margin: 0 0 1em 1em;
}

img.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignright {
    float: right;
}

.alignleft {
    float: left;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}



/* общие стили */

body {
    background-repeat: repeat;
    background-color: #fff;
    background-image: url(images/paper_2X.png);
    color:#333;
}
a {
	color:#222;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color:#222;
}
a:visited {
	color:#222;
	text-decoration: none;
}
img {
    filter: grayscale(100%);
}

h1 {
	font-family: 'IBM Plex Serif', serif;
	font-size: 3.5rem;
}
h2 {
	font-family: 'IBM Plex Serif', serif;
	font-size: 3.0rem;
}
h3 {
	font-family: 'IBM Plex Serif', serif;
	font-size: 2.5rem;
}
h4 {
	font-family: 'IBM Plex Serif', serif;
	font-size: 2.0rem;
}
h5 { 
	font-family: 'IBM Plex Serif', serif;
	font-size: 1.5rem;
}
h6 { 
	font-family: 'IBM Plex Serif', serif;
	font-size: 1.0rem;
}
/* header */

.header_wrapper {
    min-height: 100px;
}

.header_wrapper img {

    width: 100%;
    height: 40px;
    margin-top: 20px;
}

.header_image {
    text-align: center;
    float: right;
}
.zeitung_slogan a, .zeitung_slogan a:hover, .zeitung_slogan a:visited{
	color:#333;
	text-decoration: none;
}
.columnist {

    font-size: 14px;
    line-height: 1;
    color: #333;
    text-decoration: none;
    margin-top: -10px;
    display: block;
    padding: 5px;
    width: 150px;
}

.columnist:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}



/*.header_image a:hover {
  text-decoration: underline;
}*/

.zeitung_slogan {

    /*font-family: 'MedievalSharp', cursive;*/
    /*font-family: 'Deutsch Gothic', arial;*/
    font-family: 'Izvestija', arial;
    text-align: center;
    font-size: 4em;
    font-weight: 900;
}

.header_wrapper .container {
    border-bottom: 2px solid #333;
}



/*.header_meta .container {

    border-bottom: 2px solid #333;

}
*/

.header_menu .container {
    border-bottom: 1px solid #ccc;
}



/* menu */

.nyt_menu {
    text-align: center;
    margin-bottom: 0;
}

.nyt_menu li {
    text-align: center;
    display: inline-block;
    list-style: none;
    margin: 5px;
}

.nyt_menu li a,
.nyt_menu li a:visited {
    color: #333;
    text-decoration: none;
    padding: 5px;
}

.nyt_menu li a:hover {
    background-color: #333;
    color: #fff;
}


/* menu dropdown */

.nyt_menu li ul.sub-menu {
    position: absolute;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 99;
    display: none;
}

.nyt_menu li.menu-item-has-children:hover ul.sub-menu {
    display: block;
    background: #eff2f3;
    margin: 0 0 1.5rem 0;
}

.nyt_menu li.menu-item-has-children:hover ul.sub-menu li {
    /*width: 100%;*/
    display: block;
    border-bottom: 1px solid #ccc;
    padding: 5px 0;
}

.nyt_menu li.menu-item-has-children:hover ul.sub-menu li a {
    width: 100%;
    color: #333;
    display: block;
    padding: 5px 0;
}

.nyt_menu li.menu-item-has-children:hover ul.sub-menu li a:hover {
    background-color: #333;
    color: #fff;
}


.nyt_menu li.menu-item-has-children:after {
	/*font-family: "FontAwesome";
	content: "\f0d7";*/
	color: #333;
	content: "+";
}


/* menu on scroll */

.header_menu.sticky {
    background: white;
    z-index: 9999;
    background-image: url(images/paper_2X.png);
    background-repeat: repeat;
    -webkit-box-shadow: 0px 9px 19px -9px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 9px 19px -9px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 9px 19px -9px rgba(0, 0, 0, 0.75);
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%
}



/*.sticky + .main_content {
  padding-top: 102px;
}*/


/* header date */

.site_date {
    text-align: center;
    margin-top: 18px;
}

.news_day,
.news_month,
.news_year,
.date_separator {

    display: block;
    font-size: 2.5em;
    font-weight: 900;
    font-family: 'Izvestija', arial;
    line-height: 1;
}

.news_month,
.news_year,
.date_separator {
    font-size: 1.2em;
    display: inline;
}



/* left sidebar */

#left_sidebar {
    border-right: 1px solid #ccc;
    padding-right: 10px;
}

#right_sidebar {
    border-left: 1px solid #ccc;
    padding-left: 10px;
}

.posts_ul li {

    list-style: none;
    clear: both;
}
.posts_ul li::after {
    content: " ";
    display: block;
    clear: both;
}
.posts_ul li a {
    color: #333;
    text-decoration: none;
}

.posts_ul li a:hover {
    text-decoration: underline;
}

.widget_article_title {
    font-family: 'IBM Plex Serif', serif;
    font-size: 2.0rem;
    text-align: justify;
    font-weight: 900;
}

.posts_ul li p {
    text-align: justify;
}



/* main content */

.main_content {
    margin-top: 10px;
}



/* sub content */

.sub_content img {
    width: 100%;
    height: auto;
}

.sub_content a {
    text-decoration: none;
}

.sub_content .article_title {
    font-family: 'IBM Plex Serif', serif;
    font-size: 1.5rem;
    text-align: justify;
    font-weight: 900;
    color: #333;
    text-decoration: navajowhite;
}

.sub_content p {
    text-align: justify;
}



/* виджет с миниатюрами */

.miniatures img {

    display: inline-block;
    float: left;
    padding-right: 10px;

    padding-top: 10px;
}



/*.miniatures p {

    float: left;
    display: inline;

}
.miniatures img {

    float: left;
    display: inline;

}
.miniatures h4.widget_article_title {
  display: block;
}*/


/* footer */

#footer table {
    width: 100%;
}

.footer_widgets .container {
    border-top: 1px solid #ccc;
    margin: 10px auto;
}

/* sidebar titles */

#left_sidebar h3,
#right_sidebar h3,
#main_content h3,
#single_sidebar h3,
#page_sidebar h3,
.razdely h3 {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    font-size: 16px;
    display: block;
    padding: 5px;
    font-family: 'IBM Plex Serif', serif;
    clear: both;

}

.widget_4_columns h3,
#footer_left h3,
#footer_right h3,
#footer_center_left h3,
#footer_center_right h3,
.zeitung_social_block h3 {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #333;
    line-height: 0.1em;
    margin: 10px 0 20px;
}
.zeitung_social_block h3 {
    font-size: 2rem;
}
.widget_4_columns h3 span,
#footer_left h3 span,
#footer_right h3 span,
#footer_center_left h3 span,
#footer_center_right h3 span {
    background: #eff2f3;
    padding: 0 10px;
    font-family: 'Izvestija', arial;
}

#footer_left h3 span,
#footer_right h3 span,
#footer_center_left h3 span,
#footer_center_right h3 span,
#footer_center_right h3 span a {
    font-size: 20px;
    color: #333;
    text-decoration: none;
}



/* rss widget */

.rsswidget img {
    display: none;
}

.rsswidget {
    color: #333;
    text-align: center;
    text-decoration: none;
}



/* footer copyright */

.footer_copy .container {
    border-top: 1px solid #ccc;
    min-height: 30px;
    text-align: left;
}
.footer_copy_text {
	margin: 5px 0;
}

/* content first letter */
.content_block p:first-of-type:first-letter,
#header_right p:first-of-type:first-letter,
#header_left p:first-of-type:first-letter,
#left_sidebar p:first-of-type:first-letter, 
#right_sidebar p:first-of-type:first-letter, 
#main_content p:first-of-type:first-letter, 
#sub_content p:first-of-type:first-letter,
#single_sidebar p:first-of-type:first-letter,
#page_sidebar p:first-of-type:first-letter, 
#cat_sidebar p:first-of-type:first-letter {
  display: block !important;
  text-shadow: 1px 1px 2px black !important;
  color: #000 !important;
  float: left !important;
  font-family: Georgia !important;
  font-size: 250% !important;
  line-height: 30px !important;
  padding-top: 10px !important;
  padding-right: 8px !important;
  padding-left: 3px !important;
}

/* yandex share */
.ya-share2 {
    float: right;
    margin: 5px 0;
}
.ya-share2__item_service_vkontakte .ya-share2__badge, 
.ya-share2__item_service_collections .ya-share2__badge, 
.ya-share2__item_service_facebook .ya-share2__badge, 
.ya-share2__item_service_odnoklassniki .ya-share2__badge,
.ya-share2__item_service_moimir .ya-share2__badge,
.ya-share2__item_service_gplus .ya-share2__badge,
.ya-share2__item_service_twitter .ya-share2__badge, 
.ya-share2__item_service_viber .ya-share2__badge,
.ya-share2__item_service_whatsapp .ya-share2__badge, 
.ya-share2__item_service_skype .ya-share2__badge,
.ya-share2__item_service_telegram .ya-share2__badge {
	background:#333 !important;
}
/* responsive menu */

a#openup {
    display: none;
}



/* wordpress calendar */

#calendar_wrap table {
    width: 100%;
}

#calendar_wrap th,
#calendar_wrap td {
    padding: 5px;
}

#calendar_wrap a {
    color: #333;
    font-weight: 900;
}



/* footer menu */

#footer .menu li {
    text-align: center;
    list-style: none;
    border-bottom: 1px dotted #ccc;
}

#footer .menu li a {
    color: #333;
    text-decoration: none;
}

#footer .menu li:hover {
    background: rgba(0, 0, 0, 0.8);
}

#footer .menu li:hover a {
    color: #fff;
}


/* single page */

.single_page_content {
    text-align: justify;
}

.single_page_title {
    font-family: 'IBM Plex Serif', serif;
    text-align: justify;
    font-size: 3.5rem;
}

hr.nyt_hr {
    overflow: visible;
    padding: 0;
    border: none;
    border-top: medium double #333;
    color: #333;
    text-align: center;
}

/*hr.nyt_hr:after {
    font-family: FontAwesome;
    content: "\f09e";
    display: inline-block;
    position: relative;
    top: -0.7em;
    font-size: 2rem;
    padding: 0 0.25em;
    background: #eef1f1;
}

hr.nyt_hr:last-child {
    display: none;
}*/
/* login form & etc. WP recall */
.recall-button.rcl-login {
    width: 100%;
    text-align: center;
}
.recall-button.rcl-register {
    width: 100%;
    text-align: center;
}
.rcl-loginform.rcl-loginform-full.panel_lk_recall .author-avatar {
    display: none;
}
.recall-button {
    width: 100%;
    text-align: center;
}
.rcl-loginform.rcl-loginform-full.panel_lk_recall .username {
    display: none;
}
.rcl-widget-buttons {
    column-count: 2;
}
.recall-button i + span {
    margin: 0;
}
.rcl-widget-button i {
    display: none;
}
/* 404 page */
.title_404 {
	text-align: center;
	color:#333;
	font-weight: 600;
	text-transform: uppercase;

}
.subtitle_404 {
	text-align: center;
	color:#333;
	font-weight: 600;
	 font-family: 'IBM Plex Serif', serif;
}

/* archive */
.archive_links {
	color: #333;
	display: block;
	text-decoration: none;
	padding: 5px;
	border-bottom: 1px solid #ccc;
}
.archive_links:hover {
	/*text-decoration: underline;*/
	color: #fff !important;
	background: #333;
}
.archive_links:visited {
	color:#333;
}

/* categories sidebar */
#cat_sidebar ul li {
	padding: 5px;
	border-bottom:1px solid #ccc;
	display: block;
	margin-bottom: 0;
	text-align: center;
}
#cat_sidebar ul li a {
	color:#333;
	text-decoration: none;
}
#cat_sidebar ul li:hover {
	background:#333;
}
#cat_sidebar ul li:hover a {
	color:#fff;
}
.razdely_article_titles {
	color:#222;
	text-decoration:none;
	font-family: 'IBM Plex Serif', serif;
}
.razdely_article_titles h4 {
    font-size: 20px;
}
.razdely_article_titles:hover {
	text-decoration:underline;
	color:#222;
}
.razdely_article_titles:visited {
	color:#222;
	text-decoration:none;
}
.razdely_block {
    box-sizing: border-box;
    width: 50%;
    display: block;
    float: left;
}
.razdely_block:after {
	content: " ";
	display: block;
	clear: both;
}
/* cf7 */
#nyt_cf7.container {
    width: 100%;
}
#nyt_cf7 .wpcf7-form-control.wpcf7-text, 
#nyt_cf7 .wpcf7-form-control.wpcf7-textarea {
    background: transparent;
    border: 2px dotted #ccc;
    width: 100%;
    border-radius: 5px;
} 
#nyt_cf7 .wpcf7-form-control.wpcf7-text:focus, 
#nyt_cf7 .wpcf7-form-control.wpcf7-textarea:focus {
	border: 2px dotted #333;
} 
#nyt_cf7 .wpcf7-form-control.wpcf7-submit {

}

/* pagination */
.navigation {
    display: block;
    text-align: center;
    margin: 20px auto;
}
.pages {
    padding: 5px 7px;
    color: #fff;
    background: #333;
}
.page-numbers {
    background: #333;
    padding: 5px 7px;
    color: #fff !important;
    
}
.page-numbers.current {
    text-decoration: underline;
}
.page-numbers:hover {
    text-decoration:none;
    opacity: 0.8;
}

/* search */
#searchform .screen-reader-text {
    display: none;
}
#searchform input {

    margin: 10px 0;
    width: 100%;

}
#searchform input[type="text"] {
    background: transparent;
    border: 2px dotted #ccc;
}


/* beadcrumbs */
#nyt_breadcrumbs {
	display: block;

}
#nyt_breadcrumbs:after {
	content: " ";
	clear: both;
	display: block;
}
#nyt_breadcrumbs li {
    list-style: none;
    float: left;
    border: 2px dotted #ccc;
padding: 5px;
margin-right: 5px;
}

/* social icons widget */
.social_ul li {
    list-style: none;
    float: left;
padding: 5px;
font-size: 25px;
}
.social_ul li:hover {
    opacity: 0.8;
}
/* comments */

#md7_comments h2 {
    display: block;
    text-align: center;
    color: #fff;
    background: #333;
    padding: 5px;
}

#md7_comments .comment_list {
    border: 2px dotted #ccc;
    padding: 10px;
}

#md7_comments .comment_list a {
    color: white;
}

#md7_comments .comment {
    background: transparent;
    margin: 10px 0;
    border-radius: 5px;
    border-bottom: 2px dotted #333;
    padding: 15px 0;
}

#md7_comments .comment:last-child {
    border-bottom: none !important;
}

#md7_comments .comment-content {
    font-size: 1.3em;
    text-align: justify;
    margin: 10px 0;
}

#md7_comments .reply a {
    display: block;
    color: white;
    background: #333;
    max-width: 100px;
    text-align: center;
    padding: 5px;
}

#md7_comments .reply a:hover {
    opacity:0.8;
}

#md7_comments .comment-metadata {
    background: #333;
    max-width: 300px;
    padding: 5px;
    display: inline-block;
}

#md7_comments .comment-metadata a {
    color: #fff;
}

#md7_comments .comment-metadata::before {
    font-family: FontAwesome;
    content: '\f017';
    color: #fff;
    padding: 5px;
}

#md7_comments #submit {
    background: #333;
    color: #fff;
    border: none;
    /*padding: 10px 20px;*/
}

#md7_comments #submit:hover {
    opacity:0.8;
}

#md7_comments label {
    display: none;
}

#md7_comments #reply-title {
    display: block;
    text-align: center;
    color: #fff;
    background: #333;
    padding: 5px;
    margin: 10px 0;
    font-size: 20px;
    font-family: 'IBM Plex Serif', serif;
}

#md7_comments #comment {
    width: 100%;
    border: 2px dotted #ccc;
background: no-repeat;
}
#md7_comments #comment:focus {
    border: 2px dotted #333;
}
#md7_comments .comment-author {
    background: #333;
    max-width: 200px;
    padding: 5px;
    color: #fff;
    display: inline-block;
}

#md7_comments .comment-author::before {
    font-family: FontAwesome;
    content: '\f007';
    color: #fff;
    padding: 5px;
}

#md7_comments .edit-link {
    background: #fff;
    padding: 5px 10px;
    margin-left: 5px;
}
.comment-edit-link {
    color: #333 !important;
}
.logged-in-as a {
    color: #333 !important;
}
.ct_comment_info {
    display: none;
}

.contact_info {
    display: block;
    margin:0 auto;
    border:2px dotted #ccc;
    text-align: center;
    color:#333;
    font-size: 16px;
    font-family: 'IBM Plex Serif', serif;
    padding: 10px 0;
    margin-bottom: 20px;
}
.cf_address:after {
    font-family: "FontAwesome";
    content:"\f041";
    margin-right: 5px;
}
.cf_phone:after {
    font-family: "FontAwesome";
    content:"\f095";
    margin-right: 5px;
}

.zeitung_post_block.with_one_image img {

    width: 100%;
    height: auto;

}
.fa.fa-vk {
    font-size: 30px !important;
}
.fa.fa-twitter {

    font-size: 28px;

}
.social_ul {
    display: inline;
}
.yandex_dzen {
    width: 25px;
    height: auto;
    margin-top: 11px;
}
.single_miniature {
    text-align: center;
}
/* media queries */
@media screen and (min-width:0px) and (max-width:1100px) {

    .header_menu .container {
        border-bottom: none;
    }
    #main_content img {
        width: 100%;
        height: auto;
    }
    .miniatures img {
        width: 110px !important;
        height: 110px !important;
    }
    div.container_nyt_menu {
        height: auto;
        border-bottom: 0;
    }
    div.container_nyt_menu ul {
        display: none;
        height: auto;
    }
    div.container_nyt_menu li {
        width: 100%;
        float: left;
        position: relative;
        margin: 0;
    }
    div.container_nyt_menu a {
        text-align: left;
        width: 100%;
        display: block;
        border-bottom: 1px solid #555;
        text-indent: 25px;
        padding: 5px 0;
        color:#333;
    }
    .header_menu.sticky div.container_nyt_menu li, .header_menu.sticky div.container_nyt_menu a {
    	color:#fff;
    }
    div.container_nyt_menu a:hover {
        background: rgba(0, 0, 0, 0.8);
        color: #fff;
    }
    .header_wrapper .container {
        border-bottom: none;
    }
    .header_menu.sticky {
        background: #333333;
    }
    a#openup span:after {
        content: "\f0c9";
        font-family: "FontAwesome";
        color: #fff;
        float: right;
        text-indent: -25px;
    }
    a#openup {
        display: block;
        background-color: #333;
        width: 100%;
        position: relative;
        clear: both;
        color: #fff;
        text-decoration: none;
        text-align: left;
    }
    a#openup:hover {
        background: #333;
    }
    div.container_nyt_menu:after,
    .nyt_menu:after {
        clear: both;
    }
    #left_sidebar {
        border-right: none;
        padding-right: 0;
    }
    #right_sidebar {
        border-left: none;
        padding-left: 0;
    }

    .site_date {
        display: none;
    }
    .header_image {
        display: none;
    }
    /* dropdown menu */
    .nyt_menu li ul.sub-menu li {
	    list-style: none;
	    color: #333;
	}
	.nyt_menu li ul.sub-menu li a{
	    color: #333;
	}

    .header_menu.sticky .ubermenu-target-title.ubermenu-target-text {
        color:#fff !important;
    }
    .header_menu.sticky .ubermenu-sub-indicators .ubermenu-has-submenu-drop > .ubermenu-target::after {
        color:#fff !important;
    }
    .header_menu.sticky ul li ul li .ubermenu-target-title.ubermenu-target-text {
        color:#333 !important;
    }
    .header_menu.sticky ul li ul li:hover .ubermenu-target-title.ubermenu-target-text {
        color:#fff !important;
    }
}


.kk-star-ratings.rgt {
    float: unset !important;
}

.crf_form_holder input[type="submit"] {
    padding: unset !important;
}