/*!
Theme Name: gazeta_nov
Theme URI: http://underscores.me/
Author: Dmitry_V
Author URI: http://2site.ru
Description: Онлайн газета
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ix
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, 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.

gazeta_nov is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
.kb_sep {
    color: #bababa;
    display: inline-block;
    padding-left: 6px;
    padding-right: 6px;
}
.breadcrumb a {
    margin-right: 0;
}
.breadcrumb li.active {
    color: #bababa;
}

.ix_cat_link_html{
    color: #164c7f;
    text-decoration: none;
}
.topic_term_icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    fill: #164c7f;
}
.pagination {
    text-align: center;
}

/**
адаптивное видео
 */
.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 52.2%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    border: 1px solid #ccc;
}
.wp-block-embed__wrapper iframe,.wp-block-embed__wrapper object,.wp-block-embed__wrapper embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

/* 404 */
.page404{
    background: #fff;
    text-align: center;
    padding: 40px;
    height: 40vh ;
}

.title404{
    font-weight: bold;
    font-size: 42px;
    margin-top: 50px;
}
.sub_title404{
    font-weight: bold;
    font-size: 28px;
    margin-top: 25px;
}
.link404{
    margin-top: 25px;
}
.link404 a{
    font-size: 18px;
}

.comment__form-desc {
    font-size: 12px;
    width: 100%;
    color: #bababa;
}
.mb-10 {
    margin-bottom: 10px;
}
.footer_info_block {
    font-family: Inter, Serif;
}
/**/
/*.img-svg:hover path {*/
/*    fill: #164c7f;*/
/*    !*background: #bababa;*!*/
/*}*/
.social_icons {
    display: flex;
}
.social_icons a {
    text-decoration: none;
}

/*.page-template-contacts_tpl {*/
/*    font-family: Inter, Serif;*/
/*    color: #505050;*/
/*    font-size: 18px;*/
/*}*/

.calendar{
    position: relative;
    z-index: 90;
}

.calendar__conatiner{
    position: absolute;
    top: 100%;
    background: white;
    right: 0;
    width: 320px;
    margin-top: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgb(0, 0, 0, .2);
    padding: 20px;
    display: none;
}

.calendar__conatiner .col-item{
    margin: 0 5px;
}

.calendar__conatiner .col-item:first-child{
    margin-left: 0;
}

.calendar__conatiner .col-item:last-child{
    margin-right: 0;
}

.calendar__conatiner input{
    border: 1px solid rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 35px;
    margin-top: 4px;
    padding-left: 10px;
}

.calendar .newspaper-btn {
    min-width: initial;
    width: 100%;
}

.social_icons svg:hover path:first-child{
    fill: #164c7f;
}

.mr-2  {
    margin-right: 15px;
}


.likely img{
    transition: .3s;
}
.likely img:hover {
    opacity: .8;
}

.likely .only-svg {
    position: static!important;
    display: block!important;
}

.likely svg:hover circle:first-child, .likely svg:hover path:first-child {
    fill: #164c7f;
}
.cat_arch {
    display: block;
    padding: 7px;
}
.cat_arch_item {
    margin: 10px 0;
}

@media (max-width: 780px) {
    .newspaper-social.is-block {
        display: flex;
        justify-content: center;
    }
    .likely .likely__icon {
        display: none;
    }
    .likely .likely__widget {
        text-align: center;
        margin: 0 auto;
    }
}


.footer_menu {
    padding-left: 0;
}
.footer_menu li {
    list-style: none;

}
.footer_menu li a{
    color: #1b1b1b;
    transition: color .3s;
    /*text-decoration: none;*/
}
.konkurs_wrap {
    margin-top: 25px;
}
.konkurs_banner__img {
    width: 100%;
    height: auto;
}
.konkurs_posts {
    margin-top: 15px;
}

/*comment_mess*/
.mess_area {
    position: relative;
}
.comment_mess {
    position: absolute;
    display: none;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #FFFFFF;
    text-align: center;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
}
.btn:disabled {
    cursor: inherit;
    background: #f3f3f3;
    color: #141414;
}

.banner_single_end_post img, .banner_single_end_post frame {
    max-width: 100%;
}

.voting_items {
    margin-top: 15px;
    font-size: 16px;
}

.voting_item {
    margin-bottom: 15px;
}
.voting_item__img {
    width: 100%;
    height: auto;
}
.voting_item__img img {
    width: 100%;
    margin-bottom: 0px;
}
.voting_item__title {
    width: 100%;
    text-align: center;
    font-weight: bolder;
    margin-top: 7px;
}
.voting_item__desc {
    padding: 0 7px 7px;
    margin-top: 7px;
}

.voting_item svg:not(:root).svg-inline--fa {
    overflow: visible;
}
.voting_item .svg-inline--fa.fa-w-16 {
 width: 1em;
}
.voting_item .svg-inline--fa {
 display: inline-block;
 font-size: inherit;
 height: 1em;
 overflow: visible;
 vertical-align: -0.125em;
}

.voting_item__voting_block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 7px;
    margin-top: 3px;
    border-radius: 5px;
    background: #164c7f;
    color: #ffffff;
}

.voting_block__active {
    cursor: pointer;
}

img.cat_arch_img {
    width: 100%;
}
/*.wp-block-image {*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    flex-direction: column-reverse;*/
/*}*/
/*.wp-element-caption {*/
/*    width: max-content;*/
/*}*/
.calendar {
    cursor: pointer;
}

.plus16 {
    margin-left: 15px;
}

.banner_home_instead_last_newspaper__item {
    margin-bottom: 25px;
}
.banner_home_after_main_news {
    margin-top: 25px;
}

.title_wrapper img{
    width: 16px;
    max-height: 16px;
    margin-top: -3px;
}
.wp-block-file a {
    color: #164c7f;
    font-weight: 600;
    font-size: 18px;
}

.home_banner__center {
    max-width: 100%;
}

.wp-block-image :where(figcaption) {
    margin-bottom: 15px;
    margin-top: 3px;
    font-size: 14px;
    color: grey;
    text-align: center;

}

.wp-block-image img {
    margin-bottom: 10px;
}

.wp-block-image em {
    font-style: normal !important;
}