/*!
Theme Name: theme_53news
Theme URI: https://underscores.me/
Author: Dmitry_V
Author URI: http://wp-laba.ru
Description: Сайт 53 Новости
Version: 1.0.0
Tested up to: 7.4
Requires PHP: 7.3
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.

theme_53news 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/
*/


.rank-math-breadcrumb a, .rank-math-breadcrumb span {
    color: #979797;
    font-size: 12px;
}
.play_icon {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -30px;
    width: 60px;
    height: auto;
    z-index: 9999;
}

.post__top img.post_video_picture {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: .3s;
    bottom: 0;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 4;
}
.video {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
}
.video iframe, .video object, .video embed{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.site-main {
    overflow: hidden;
    width: 100%;
}

#load_more_gs{
    width: 53px;
    padding:50px 0;
    margin:0 auto;
}

.cssload-container{
    position:relative;
}

.cssload-whirlpool,
.cssload-whirlpool::before,
.cssload-whirlpool::after {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgb(255,255,255);
    border-left-color: rgb(0,225,255);
    border-radius: 974px;
    -o-border-radius: 974px;
    -ms-border-radius: 974px;
    -webkit-border-radius: 974px;
    -moz-border-radius: 974px;
}

.cssload-whirlpool {
    margin: -24px 0 0 -24px;
    height: 49px;
    width: 49px;
    animation: cssload-rotate 1150ms linear infinite;
    -o-animation: cssload-rotate 1150ms linear infinite;
    -ms-animation: cssload-rotate 1150ms linear infinite;
    -webkit-animation: cssload-rotate 1150ms linear infinite;
    -moz-animation: cssload-rotate 1150ms linear infinite;
}

.cssload-whirlpool::before {
    content: "";
    margin: -22px 0 0 -22px;
    height: 43px;
    width: 43px;
    animation: cssload-rotate 1150ms linear infinite;
    -o-animation: cssload-rotate 1150ms linear infinite;
    -ms-animation: cssload-rotate 1150ms linear infinite;
    -webkit-animation: cssload-rotate 1150ms linear infinite;
    -moz-animation: cssload-rotate 1150ms linear infinite;
}

.cssload-whirlpool::after {
    content: "";
    margin: -28px 0 0 -28px;
    height: 55px;
    width: 55px;
    animation: cssload-rotate 2300ms linear infinite;
    -o-animation: cssload-rotate 2300ms linear infinite;
    -ms-animation: cssload-rotate 2300ms linear infinite;
    -webkit-animation: cssload-rotate 2300ms linear infinite;
    -moz-animation: cssload-rotate 2300ms linear infinite;
}



@keyframes cssload-rotate {
    100% {
        transform: rotate(360deg);
    }
}

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

.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;
}

.post-single__panel-left a{
    text-decoration: none;
    color: #444444;
    line-height: 1.3;
}

.post-single img {
    -o-object-fit: cover;
       object-fit: cover;
    /*max-width: 100%;*/
    /*margin-bottom: 20px;*/
    /*height: auto;*/
}

.likely{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.home-page__post-big {
     height: 342px;
}

.post-single__gallery-nav .img{
    height: 130px;
}

body.single main{
    overflow: initial;
}

.likely{
    position: -webkit-sticky;
    position: sticky;
    top: 50px;
    padding-bottom: 50px;
}

.likely__button {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.site-main{
    flex: 0 0 calc(100% - 322px);
    max-width: calc(100% - 322px);
}

@media (max-width: 991px) {
    .site-main{
        flex: 0 0 100%;
        max-width: 100%
    }
}

.post-single__gallery-nav img{
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    margin: 0!important
}

.calendar{
    position: relative;
}

.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;
}

#mistape_dialog h3 {
    color: #444;
}

.post__content {
    background: linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0) 90%);
    padding-top: 50px;
}

@media (max-width: 767px) {
    .post-single h1 {
        font-weight: 500;
        font-size: 22px;
        line-height: 120%;
        margin-top: 0;
    }
    .post-single__action .comment__title{
        margin-top: 6px;
    }
}

/*

*/

ins img{
    width: 100%;
    height: auto;
}

/* .likely-big .likely__counter{
    display: none !important;
} */

/* head_banner */
.head_banner {
    text-align: center;
}
.head_banner ins img {
    width: auto;
    height: auto;
    max-width: 100%;
}

.sidebar_banner{
    margin-bottom: 25px;
}

.social a:hover{
    text-decoration: none !important;
}

.site-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 240px;
    top: 0;
    background: #fff;
    box-shadow: 0 0 32px -3px rgb(0 0 0 / 10%);
    transform: translate(-100%, 0);
    z-index: 999;
    transition: .3s;
    overflow: hidden;
}

.comments-area h2{
    cursor: pointer;
    margin-bottom: 0;
}

.comments-area form{
    display: none;
    margin-top: 20px;
}

.post-single img{
    border-radius: 10px;
}

body.is--fixed{
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#yandex_rtb_R-A-206868-6 .i85b989ad {
    position: relative;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-style: solid;
    cursor: default;
    width: 100% !important;
}

/**
* LongRead
 */
body.post-template-longread-tmpl {
    background: #fff;

}
.post-template-longread-tmpl .site-top.js-search__container {
    display: none;
}
.post-template-longread-tmpl .panel{
    overflow: unset;
}
.single-jumbotron {
    /*margin-bottom: 20px;*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.single-jumbotron .container {
    position: relative;
    min-height: calc(100vh - 120px);
}

.single-jumbotron__date {
    opacity: 0.5;
    color: #979797;
}

.single-jumbotron__social svg {
    width: 16px;
    height: 16px;
    margin-left: 10px;
}

.single-jumbotron__view span {
    opacity: 0.5;
    color: #979797;
}

.single-jumbotron__bottom {
    position: absolute;
    bottom: 20px;
    font-size: 14px;
    line-height: 100%;
    color: white;
    left: 15px;
    right: 15px;
}

.single-jumbotron h1 {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    font-weight: 500;
    font-size: 50px;
    color: white;
    line-height: 110%;
    font-family: Inter, 'sans-serif';
    position: absolute;
    bottom: 20%;
}

.single-jumbotron__author a{
    color: #fff;
}

.block-custom-block-images-long {
    width: 1100px;
    transform: translateX(-50%);
    position: relative;
    left: 50%;
}
.block-custom-block-images-long .img {
    width: 100%;
}
.block-custom-block-images-long img {
    width: 100%;
}

.post-template-longread-tmpl .single-jumbotron__social .likely {
    padding-bottom: 0;
}

.post-template-longread-tmpl .lwptoc_i {
    color: #333;
    background: #F4F4F4;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}
.post-template-longread-tmpl  .lwptoc_header {
    margin-bottom: 20px;
}
.post-template-longread-tmpl .lwptoc_title {
    font-weight: normal;
    font-size: 18px;
    line-height: 120%;
    color: #444444;
}

.post-template-longread-tmpl span.lwptoc_item_label {
    color: #979797;
    font-size: 14px;
}

.post-template-longread-tmpl .lwptoc-light .lwptoc_i a {
    line-height: 120%;
    color: #979797;
    text-decoration: none !important;
    margin-bottom: 10px;
    display: block;

}
.post-template-longread-tmpl .lwptoc-notInherit .lwptoc_i DIV A:hover {
    border-bottom: none !important;
}

@media (max-width: 767px) {
    .post-template-longread-tmpl h1 {
        font-weight: 500;
        font-size: 22px;
        line-height: 120%;
        margin-top: 0;
    }
    .block-custom-block-images-long {
        max-width: 100%;
        transform: translateX(-50%);
        position: relative;
        left: 50%;
    }
}

.post-single__tags {
    border-top: 0px solid #D6D6D6;
    border-bottom: 0px solid #D6D6D6;
    padding: 10px 0 10px;
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
}

.rec_logo {
    width: 80px;
    height: auto;
}

.custom_link a {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    display: block;
}

.tile_img_head {
    height: 500px;
}

.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;
}

.social img {
    width: 30px;
    height: 30px;
}

.site-footer__social img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}


