.stat_centr_wr .font_os,
.stat_centr_wr,
.stat_centr_wr p {
    font-size: 17px;
    line-height: 1.5;
    word-wrap: break-word;
}

.stat_centr_wr p,
.stat_centr_wr figure,
.stat_centr_wr figure figcaption,
.stat_centr_wr ol,
.stat_centr_wr ul {
    font-family: 'Open Sans', sans-serif;
}

.stat_centr_wr h1,
.stat_centr_wr h2,
.stat_centr_wr h3,
.stat_centr_wr h4,
.stat_centr_wr h5,
.stat_centr_wr h6,
.stat_centr_wr .st-name,
.stat_centr_wr p.style_subtitle {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 700;
}

.stat_centr_wr p {
    margin-bottom: 1.2em;
}

.stat_centr_wr .font_os > :last-child {
    margin-bottom: 0;
}

.stat_centr_wr .font_os p:empty {
    display: none;
}

.stat_centr_wr p .text-tiny {
    font-size: .7em;
}

.stat_centr_wr p .text-small {
    font-size: .85em;
}

.stat_centr_wr p .text-big {
    font-size: 1.4em;
}

.stat_centr_wr p .text-huge {
    font-size: 1.8em;
}

.font_os {
    overflow-x: hidden;
}

.a-intext > div {
    margin-bottom: 1.2em;
}

.font_os > br:first-child,
.stat_centr_wr p + br {
    display: none;
}

.stat_centr_wr h1.st-name {
    font-size: 37px;
    line-height: 1.1;
    margin-bottom: 15px;
    margin-top: -6px;
}

.stat_centr_wr p.style_subtitle {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 20px;
}

.stat_centr_wr h2,
.stat_centr_wr h3 {
    font-size: 22px;
    margin: 1.5em 0 .7em;
}

.stat_centr_wr ul,
.stat_centr_wr ol {
    font-size: 17px;
    line-height: 1.5;
    word-wrap: break-word;
}

.stat_centr_wr a {
    text-decoration: none;
    font-weight: 700;
}

img {
    max-width: 100%;
}

.font_os p + img,
.font_os img + img {
    display: block;
    margin: 20px auto;
    width: 100% !important;
    height: auto !important;
}

.font_os a > img {
    height: auto;
    display: block;
    margin: 20px auto;
    width: 100%;
}

.font_os figure a img {
    margin: 0;
}

/*main-photo*/

.main_photo_material:hover p.na_pravax_foto {
    color: white;
    background-color: rgba(6, 27, 53, .59);
    font-size: 12px;
    line-height: 25px;
    font-weight: 400;
}

.main_photo_back {
    background-color: #e3eaef;
    padding: 0 20px 20px 20px;
    margin: 0;
    color: #131920;
    border-radius: 0 0 8px 8px;
}

.with-gallery .main_photo_back {
    border-radius: 0;
    padding: 0 20px;
}

.main_photo_back_opinion {
    padding-top: 20px;
}

.slider_gallery .main_photo_back {
    padding: 20px 20px 0;
}

.main_photo_back_opinion .description_main_photo:empty,
.main_photo_back_opinion .author_main_photo:empty {
    display: none;
}

.main_photo_bottom {
    border-bottom: 1px solid #dedddd;
}

.stat_centr_wr .description_main_photo,
.template-1 .stat_centr_wr .description_main_photo,
.fancybox-caption__body h6.fancybox-caption__body {
    font-weight: 400;
    font-style: italic;
    font-size: 14px;
    line-height: 1.3em;
    margin: 0;
    padding-bottom: 4px;
    word-break: break-word;
}

.stat_centr_wr .description_main_photo p {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3em;
    margin: 0;
    padding-bottom: 0;
}

.stat_centr_wr .author_main_photo,
.template-1 .stat_centr_wr .author_main_photo,
.fancybox-caption__body p.fancybox-caption__body,
.in-material-carousel .carousel-text .carousel-item-author,
.carousel-author {
    font-size: 12px;
    line-height: 1.3em;
    margin: 0;
    font-weight: 400;
}

.fancybox-caption__body p.fancybox-caption__body {
    font-weight: 100;
}

.description_video_in_text {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3em;
    margin: -20px 0 20px;
    background-color: #131920;
    padding: 19px;
}

.description_video_in_text p {
    font-size: 13px;
    line-height: 1.3em;
    margin-bottom: 0;
    color: #fff;
}

.parent_frontnews {
    width: 100%;
    color: white;
    background-color: #31aa51;
    text-align: center;
    font-size: 15px;
    padding: 5px 5px 5px;
    margin-bottom: 0;
    margin-top: 50px;
    line-height: 1.4;
}

.main_photo_material {
    z-index: 500;
}


.stat_centr_wr .gallery_section ul,
.stat_centr_wr .slider_gallery ul {
    margin: 0;
}

.line_before {
    background-color: #e3eaef;
    height: 20px;
    width: 100%;
}

.gal_foto_conteiner .line_before {
    width: calc(100% + 20px);
    margin-left: -10px;
}

.gal_block:only-child {
    margin-top: 0;
}

.gal_block:nth-child(2) {
    margin-top: -20px;
    z-index: 600;
}

.slider_gallery .gal_block:nth-child(2) {
    margin-top: 0;
    min-height: 0;
}

.gal_foto_conteiner > div {
    padding: 0 10px;
}

.gal_block .v_decription_gal_yes {
    background-color: #e3eaef;
    padding: 20px 20px 0;
}

.gal_block .v_decription_gal_no {
    background-color: #e3eaef;
    padding: 20px;
}

.gal_block .v_decription:empty {
    display: none;
}

.gallery_section .galery li.main_for_video a,
.slider_gallery .galery li.main_for_video a {
    display: inline;
}

.main_photo_back p:only-child {
    padding-bottom: 0;
}

.description_main_photo:empty {
    padding-bottom: 0;
}

/*End of main-photo*/

/*Фото внутри текста*/
.photo_gor img {
    width: 100% !important;
    height: auto !important;
}

.stat_centr_wr ul li .plit_block {
    margin: 20px 0;
}

.photo_ver img {
    width: 100% !important;
    height: 100% !important;
}

.photo_in_text_down {
    background-color: #e3eaef;
    padding: 19px;
}

.photo_small_div_left.min,
.photo_small_div_right.min {
    width: 110px;
}

.photo_small_div_left .photo_small img,
.photo_small_div_right .photo_small img,
.template-1 .stat_centr_wr .photo_small_div_left .photo_small img,
.template-1 .stat_centr_wr .photo_small_div_right .photo_small img {
    width: 100%;
    height: auto;
    margin: 0;
}

.stat_centr_wr p img {
    max-width: 100%;
    height: auto;
    width: 100%;
    margin: 20px 0;
    display: block;
}

.plit_block .row:before {
    content: normal;
    display: table;
}

/*End of Фото внутри текста*/

/*-------------------*/

.stat_centr_wr .inform_top_line p {
    font-size: 14px;
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 10px;
    float: left;
    line-height: 40px;
    font-weight: 400;
}

.stat_centr_wr .author_photos {
    display: block;
    padding: 0 20px 20px;
    margin-bottom: 20px;

    font-weight: 400;
    font-size: 13px;
    line-height: 1.3;
    text-align: left;
    color: #fff;
    background-color: #1e2023;
}

.stat_centr_wr div[id^="adfox"] {
    display: block;
    margin: 20px auto;
    width: 100%;
    max-width: 100%;
}

/*-------------------*/

/*Carousel*/

.in-material-carousel {
    margin-bottom: 20px;
    line-height: 0;
}

.in-material-carousel .carousel {
    position: relative;
    display: block;
    cursor: pointer;
    width: 100%;
    background-color: #e3eaef;
}

.in-material-carousel .carousel:before {
    content: "";
    display: block;
    padding-top: 62.5%;
}

.in-material-carousel .carousel-inner {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
}

.in-material-carousel .item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #131920;
}

.in-material-carousel .item img,
.template-1 .stat_centr_wr .in-material-carousel .item img {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.in-material-carousel ol {
    padding-left: 0;
    text-align: center;
    width: 60%;
    margin-left: -30%;
}

.in-material-carousel .carousel-indicators {
    bottom: -60px !important;
}

.in-material-carousel .carousel-indicators li {
    border: 2px solid #e3eaef;
    margin-bottom: 0;
    width: 12px;
    height: 12px;
}

.in-material-carousel .carousel-indicators li.active {
    width: 12px;
    height: 12px;
    margin: 0;
    background-color: #4c9be2;
    border: 2px solid #4c9be2;
}

.in-material-carousel .carousel.fade {
    opacity: 1;
}

.in-material-carousel .carousel.fade .item {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity .7s;
    z-index: 0;
}

.in-material-carousel .carousel.fade .item.active {
    position: relative;
    opacity: 1;
    z-index: 1;
}

.in-material-carousel .carousel-control {
    z-index: 2;
    background-image: none;
}

.in-material-carousel .carousel-control:hover .arrows,
.in-material-carousel .carousel-control:focus .arrows {
    background-color: rgba(0, 0, 0, 0.3);
}

.in-material-carousel .carousel-control:active .arrows {
    background-color: rgba(0, 0, 0, 0.5);
}

.in-material-carousel .arrows.arrow-next,
.in-material-carousel .arrows.arrow-prev {
    position: absolute;
    width: 52px;
    height: 52px;
    top: 50%;
    margin-top: -26px;
}

.in-material-carousel .arrows.arrow-next {
    background: url(/themes/default/front/img/right-shop.svg) no-repeat;
    background-position: center;
    background-size: 19px 32px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.in-material-carousel .arrows.arrow-prev {
    background: url(/themes/default/front/img/left-shop.svg) no-repeat;
    background-position: center;
    background-size: 19px 32px;
    left: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.in-material-carousel a,
.in-material-carousel a:hover,
.in-material-carousel a:active,
.in-material-carousel a:focus {
    color: #fff !important;
}

.in-material-carousel ol li::before {
    display: none;
}

.in-material-carousel .carousel-text {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(36, 37, 39, 0.5);
    width: 100%;
    color: #fff;
    padding: 5px;
    font-weight: 400;
    font-style: italic;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
}

.in-material-carousel .carousel-text span {
    padding: 0 5px;
}

.in-material-carousel .carousel-text .carousel-item-author {
    color: #ddd;
    white-space: nowrap;
    font-style: normal;
}

.in-material-carousel .carousel-text:empty {
    display: none;
}

.stat_centr_wr .in-material-carousel .carousel-indicators {
    display: none;
}

.carousel-author {
    padding-top: 5px;
}

/*End of Carousel*/

/* Form in news ------------- */

.order_feedback {
    display: block;
    margin: 20px 0;
}

.order_feedback p {
    font-size: 16px;
}

.form_container {
    display: block;
    margin: 20px 0;
    background-color: #e3eaef;
    padding: 12px;
    position: relative;
}

.customer-select {
    background-color: #fff;
    padding: 40px;
    margin-bottom: 40px;
}

.stat_centr_wr .customer-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.stat_centr_wr .customer-select h4,
.stat_centr_wr .customer-select h4 p {
    font-size: 21px;
    line-height: 1.4;
    text-align: left;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
}

.customer-select img {
    width: auto;
    height: 80px;
    max-width: 30%;
    object-fit: contain;
    margin: 0 -20px 0 20px;
    flex: 1 1 auto;
}

.order_profile {
    padding: 0 40px;
}

.order_profile h5 {
    font-weight: 700;
    font-size: 16px;
}

.order_profile label,
.order_profile input {
    width: 100%;
}

.order_profile label {
    margin-top: 25px;
}

.order_profile label span {
    font-style: italic;
}

.order_profile input,
.order_feedback input[type="submit"] {
    height: 44px;
    line-height: 24px;
    font-weight: 700;
    padding: 10px;
    background-color: #fff;
    outline: none;
    border-radius: 7px;
    border: 1px solid transparent;
}

.order_profile input:hover,
.order_profile input:focus {
    border: 1px solid #184a79;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.order_feedback input[type="submit"] {
    width: 190px;
    margin: 40px auto 28px;
    padding: 11px 0 9px;
    display: block;
    font-size: 21px;
    text-transform: uppercase;
    font-weight: 400;
    transition: .2s;
    color: #fff;
}

.order_feedback input[type="submit"]:hover {
    -webkit-box-shadow: inset 0 0 200px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 0 200px 0 rgba(0, 0, 0, .15);
}

.order_feedback input[type="submit"]:active {
    -webkit-box-shadow: inset 0 0 200px 0 rgba(0, 0, 0, .3);
    box-shadow: inset 0 0 200px 0 rgba(0, 0, 0, .3);
    transform: translateY(2px);
}

.success_form {
    position: absolute;
    bottom: 40px;
    left: calc(50% - 100px);
    width: 200px;
    padding: 120px 15px 15px;
    background-color: #fff;
    border: 2px solid #41d04d;
    text-align: center;
    font-size: 19px;
    line-height: 1.2;
    color: #41d04d;
    -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, .3);
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, .3);
}

.success_form:before {
    content: url(/themes/default/front/img/ok-green.png);
    position: absolute;
    top: 17px;
    left: 53px;
}

.form_container .vue-captcha {
    margin: 20px auto 50px;
}

.form_container .vue-captcha .content-text input {
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .customer-header {
        flex-direction: column-reverse;
        justify-content: flex-end;
    }

    .customer-select {
        padding: 5vw !important;
    }

    .customer-select h4 {
        text-align: center;
    }

    .customer-select img {
        margin: 0 auto 10px;
        max-width: 70%;
        flex: 0 1 auto;
    }

    .order_profile {
        padding: 0 !important;
    }
}

/* End of Form in news ------------- */

.main-photo-single {
    position: relative;
    display: block;
    cursor: pointer;
    width: 100%;
}

.main-photo-single:before {
    content: '';
    display: block;
    padding-top: 66.67%;
}

.main-photo-single-in {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
}

.main-photo-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.stat_centr_wr figure,
.stat_centr_wr figure.image,
.stat_centr_wr figure.media,
.stat_centr_wr figure.table {
    margin: 1.875em 0;
    max-width: 100% !important;
}

.stat_centr_wr figure > figcaption {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    font-style: italic;
    text-align: left;
    word-break: break-word;
}

.stat_centr_wr figure.image > figcaption {
    padding: 5px 0 0 5%;
}

.stat_centr_wr figure img {
    max-width: 100%;
    height: auto;
    display: block;
    width: 100%;
}

footer figure.image {
    margin: 10px 0 0 0;
}

@media (min-width: 768px) {
    .stat_centr_wr figure.image.image-style-align-center {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-align: end;
        align-items: flex-end;
    }

    .stat_centr_wr figure.image.image-style-align-center img,
    .stat_centr_wr figure.image.image-style-align-center > a {
        max-height: 640px;
        max-width: 65%;
        min-width: 65%;
        margin: 0;
    }

    .stat_centr_wr figure.image.image-style-align-center > a > img {
        max-width: 100%;
    }

    .stat_centr_wr figure.image.image-style-align-center > figcaption {
        -ms-flex-positive: 1;
        flex-grow: 1;
        padding: 0 0 0 8px;
    }

    figure.image.image-style-align-center {
        display: block;
    }

    figure.image.image-style-align-center > figcaption {
        padding: 8px 0 0 5%;
    }
}

.stat_centr_wr figure.image.image-style-align-left,
.stat_centr_wr figure.image.image-style-align-right {
    width: 30% !important;
    margin-top: 7px;
}

.stat_centr_wr figure.image.image-style-align-left {
    margin-right: 20px;
    float: left;
}

figure.image.image-style-align-right {
    margin-left: 20px;
    float: right;
}

.stat_centr_wr figure.image.image-style-align-left > figcaption,
.stat_centr_wr figure.image.image-style-align-right > figcaption {
    padding: 8px 0 0 0;
}

.pro-spravka {
    margin: 30px 0 30px 5%;
    padding: 15px 0;
    width: 95%;
}

.pro-spravka h3.head {
    font-weight: 700;
    font-size: 17px;
    margin: 0 0 7px 0;
}

.pro-spravka h3 {
    font-size: 20px;
    margin: 0 0 10px 0;
}

.pro-spravka div p {
    font-size: 15px;
    font-style: italic;
    margin: 0;
}

.pro-spravka h3:empty {
    display: none;
}

.stat_centr_wr blockquote {
    position: relative;
    margin: 30px 0 30px 5%;
    padding: 0 40px;
    word-wrap: break-word;
    text-align: left;
}

.stat_centr_wr blockquote p {
    font-style: italic;
    padding-top: 10px;
}

.stat_centr_wr blockquote:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 30px;
    height: 30px;
    background-image: url(/themes/default/front/img/quotes.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

.stat_centr_wr .app_in_text ul,
.stat_centr_wr .app_in_text ol {
    display: block;
    margin: 0 0 20px 5%;
    padding-left: 20px;
}

.stat_centr_wr .app_in_text ul li {
    list-style: none;
    margin-bottom: 7px;
    position: relative;
}

.stat_centr_wr .app_in_text ol li {
    list-style-type: none;
    margin-bottom: 7px;
    position: relative;
}

.stat_centr_wr .app_in_text ul li:before {
    content: '';
    position: absolute;
    top: 9px;
    left: -20px;
    width: 10px;
    height: 10px;
    background-image: url(/themes/default/front/img/li-circle.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

.stat_centr_wr .app_in_text ol {
    list-style-type: none;
    counter-reset: num;
}

.stat_centr_wr .app_in_text ol li::before {
    content: counter(num) '.';
    counter-increment: num;
    padding-right: 6px;
    margin-left: -40px;
    font-weight: 700;
    text-align: right;
    display: inline-block;
    width: 40px;
}

.stat_centr_wr .raw-html-embed {
    margin: 1.875em 0;
    overflow: hidden;
}

.vk-embed {
    position: relative;
    display: block;
    cursor: pointer;
    width: 100%;
}

.vk-embed:before {
    content: '';
    display: block;
    padding-top: 66.67%;
}

.vk-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stat_centr_wr .instagram-media {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.stat_centr_wr table {
    margin: 0;
    width: 100%;
    border-collapse: collapse;
}

.stat_centr_wr th,
.stat_centr_wr td {
    font-size: 14px;
    line-height: 1.4;
    padding: 10px;
    word-wrap: break-word;
    vertical-align: middle;
    text-align: left;
}

.center,
.stat_centr_wr th.center,
.stat_centr_wr td.center {
    text-align: center;
}

.stat_centr_wr th {
    font-weight: 700;
}

.stat_centr_wr table caption {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    padding-top: 0;
    caption-side: top;
}

.stat_centr_wr figure.table {
    overflow-x: auto;
}

.pro-spravka {
    border-top: 1px solid #00add9;
    border-bottom: 1px solid #00add9;
}

.pro-spravka h3.head {
    color: #00add9;
}

.stat_centr_wr blockquote {
    border-top: 2px solid #8ba4bc;
}

.stat_centr_wr blockquote p {
    font-style: italic;
    color: #8ba4bc;
}

.pro-content .stat_centr_wr ul li:before {
    color: #8ba4bc;
}

@media (max-width: 670px) {
    .stat_centr_wr h1.st-name {
        font-size: 33px;
        margin-top: 0;
    }
}

@media (max-width: 500px) {
    .stat_centr_wr p,
    .stat_centr_wr ul,
    .stat_centr_wr ol {
        font-size: 17px;
    }

    .stat_centr_wr h1.st-name {
        font-size: 29px;
        margin-top: 0;
    }

    .stat_centr_wr p.style_subtitle {
        font-size: 22px;
    }

    .stat_centr_wr h2 {
        font-size: 25px;
    }

    .stat_centr_wr h3 {
        font-size: 21px;
    }

    .stat_centr_wr figure > figcaption {
        font-size: 13px;
    }

    .stat_centr_wr figure.image.image-style-align-left,
    .stat_centr_wr figure.image.image-style-align-right {
        width: 40% !important;
    }
}

.other-page h3 {
    font-weight: 700;
    font-size: 2em;
    margin: 0 0 .7em;
}

.other-page h4 {
    font-weight: 700;
    font-size: 18px;
    margin: 1em 0 .7em;
}

.other-page p,
.other-page ol,
.other-page ul,
.other-page li,
.other-page th,
.other-page td {
    font-size: 15px;
    line-height: 1.4;
}

.other-page ul {
    list-style-type: disc;
}

.other-page p,
.other-page ol,
.other-page ul,
.other-page li {
    margin-bottom: 10px;
}

.other-page ol > li,
.other-page ul > li {
    margin-top: 10px;
}

.other-page ol {
    list-style: none;
    counter-reset: cupcake;
    padding-left: 32px;
}

.other-page ol li {
    counter-increment: cupcake;
}

.other-page ol li:before {
    content: counters(cupcake, ".") ". ";
}

.other-page ol li:before {
    font-weight: 700;
}

.other-page .raw-html-embed {
    margin: 0;
}

.stat_centr_wr.ad-board h3 {
    font-size: 16px;
    font-weight: 700;
    padding: 15px;
    margin-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.stat_centr_wr.ad-board p {
    font-size: 16px;
    padding: 1.2em 15px;
    margin: 0;
}

.stat_centr_wr.ad-board h3 ~ p:last-child {
    border-radius: 0 0 8px 8px;
}

.ad-board .main-photo-single:before {
    content: '';
    display: block;
    padding-top: 40%;
}

.ad-board .main-photo-single {
    overflow: hidden;
    border-radius: 8px;
}

.ad-board .main-photo-single-in:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .3);
}

.main-photo-title-box {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding-top: 7%;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}

.stat_centr_wr .main-photo-title-box h1 {
    text-align: center;
    margin-bottom: 25px;
}

.classified-modal {
    text-align: center;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    bottom: 0 !important;
}

.classified-modal:before {
    display: inline-block;
    vertical-align: middle;
    content: ' ';
    height: 100%;
}

.classified-modal .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    max-width: 500px;
}

.classified-modal .modal-header {
    padding: 30px 30px 0;
    border-bottom: none;
}

.classified-modal .modal-title {
    font-size: 22px;
    line-height: 1.1;
}

.classified-modal .close {
    margin: 0;
    top: 15px;
    right: 15px;
}

.classified-modal .modal-body {
    padding: 30px;
    font-size: 15px;
}

.classified-modal .modal-body p,
.classified-modal .modal-body ol,
.classified-modal .modal-body ul,
.classified-modal .modal-body li {
    margin-bottom: 10px;
}

.classified-modal .modal-body p:last-child {
    margin-bottom: 0;
}

.classified-modal .modal-body ol,
.classified-modal .modal-body ul {
    -webkit-padding-start: 30px;
    padding: 0 0 0 30px;
}

.classified-modal .modal-body ul li {
    list-style-type: disc;
}

.classified-modal .modal-body a {
    font-weight: 700;
}

@media screen and (max-width: 767px) {
    .classified-modal .modal-dialog {
        width: calc(100% - 25px);
    }
}

@media (max-width: 500px) {
    .main-photo-title-box {
        padding-top: 0;
    }
}

@media (max-width: 360px) {
    .stat_centr_wr .main-photo-title-box h1 {
        margin-bottom: 15px;
    }

    .classified-modal .modal-header {
        padding: 15px 15px 0;
    }

    .classified-modal .modal-body {
        padding: 15px;
    }

    .classified-modal .modal-title {
        width: calc(100% - 30px);
    }

    .classified-modal .close {
        top: 18px;
    }
}

.stat_centr_wr.ad-board h3 {
    color: #fff;
    background-color: #184a79;
}

.stat_centr_wr.ad-board p {
    background-color: #e3eaef;
    border-top: 1px solid #fff;
}

.stat_centr_wr .main-photo-title-box h1 {
    color: #fff;
}

.button-classified {
    border: 1px solid #fff;
    color: #fff;
    background-color: transparent;
}

.button-classified:hover {
    background-color: rgba(255, 255, 255, .3);
}

/*Theme footer container*/

.context-news-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 30px 0;
    width: 100%;
    position: relative;
}

.share_comment-btn_block,
.template-1 .share_comment-btn_block {
    flex-direction: column;
}

.article-col .social-likes,
.template-1 .article-col .social-likes {
    justify-content: center;
}

.template-1 .soc-author-block {
    justify-content: center;
}

@media (min-width: 455px) {
    .share_comment-btn_block {
        flex-direction: row;
    }

    .article-col .social-likes {
        justify-content: center;
    }
}

@media (min-width: 520px) {
    .template-1 .share_comment-btn_block {
        flex-direction: row;
    }

    .template-1 .article-col .social-likes {
        justify-content: start;
    }

    .template-1 .soc-author-block {
        justify-content: space-between;
    }
}

.h2-title {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
}

.h2-title a {
    text-decoration: underline;
}


/*.context-news-container .theme_mark:hover {
    background-color: #3287D3;
}

.context-news-container .theme_mark:active {
    background-color: #1C76C7;
}

.context-news-container .theme_mark a {
    color: #fff;
}*/

.context-news-rows {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-positive: 1;
    flex-grow: 1;
    width: 100%;
}

.context-news-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-align: baseline;
    align-items: baseline;
    padding: 5px 0;
}

.context-news-date {
    max-width: 70px;
    min-width: 70px;
    font-size: 13px;
    margin-right: 10px;
    white-space: nowrap;
    font-family: 'Roboto';
}

.context-news-title {
    -ms-flex-positive: 1;
    flex-grow: 1;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    /*overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;*/
}

@media (max-width: 575px) {
    .context-news-row {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    /*.context-news-title {
        text-overflow: inherit;
        white-space: normal;
        margin-bottom: 2px;
    }*/

}

/*End of Theme footer container*/

.other-channels,
.other-channels p {
    font-size: 15px;
    /*margin-top: 20px;*/
    line-height: 1.5;
    word-wrap: break-word;
    font-style: italic;
}

/*Содержание для гороскопа*/

.font_os > .raw-html-embed:first-of-type {
    margin-top: 0;
}

.horoscope-table-of-contents .row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.h-znak-box {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.horoscope-table-of-contents .d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}

.horoscope-table-of-contents .flex-wrap {
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
}

.horoscope-table-of-contents {
    margin-bottom: 10px;
    padding: 0 15px 15px;
}

.h-znak-box {
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
    min-height: 1px;
    padding-right: 5px;
    padding-left: 5px;
}

.horoscope-table-of-contents img {
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    margin: 0 0 10px 0;
    transition: transform .1s;
}

.h-znak-box:hover img {
    transform: scale(1.05);
}

.horoscope-znak {
    text-align: center;
}

.horoscope-znak-name {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: #184a79;
    transition: color .1s;
}

.h-znak-box:hover .horoscope-znak-name {
    color: #00add9;
}

.horoscope-znak-period {
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
    color: #8ba4bc;
}

.stat_centr_wr .horoscope_text .raw-html-embed {
    margin: 1.5em 0 0.7em 0
}

.stat_centr_wr .horoscope_text .raw-html-embed h2 {
    margin: 0;
}

@media (min-width: 400px) {
    .h-znak-box {
        cursor: pointer;
        margin-top: 15px;
        margin-bottom: 15px;
        position: relative;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media (min-width: 576px) {
    .h-znak-box {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/*end of Содержание для гороскопа*/

.video-embed-wrapper,
.youtube-embed-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    height: 0;
    background-color: #000;
}

.video-embed-wrapper > iframe,
.youtube-embed-wrapper > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*Блок с эмоциями*/

.w-100 {
    width: 100% !important;
}

.reactions-box {
    padding: 15px;
    height: 72px;
    transition: height .15s ease;
}

.reactions-box:has(.reaction-select),
.reactions-box:has(.reaction-count) {
    height: 92px;
}

.reactions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 30px;
}

.reactions-button,
.svg-icon.reactions-icon {
    border-radius: 21px;
}

/*Geometria*/
.reaction-icon-box,
.svg-icon.reactions-icon {
    height: 42px;
    width: 42px;
}

/*End of Geometria*/

.reactions-button {
    display: flex;
    flex-direction: column;
    position: relative;
    background: none;
    height: 42px;
    padding: 0;
    outline: none;
    margin: 0;
    transition: width .1s ease, transform .15s ease, box-shadow 0s ease;
}

.reactions .reactions-button:not(:last-child){
    margin-right: 10px;
}

.reaction-icon-box {
    z-index: 1;
    position: relative;
    transition: transform .15s ease;
}

.svg-icon.reactions-icon {
    position: relative;
    display: block;
    transition: transform .15s ease;
}

.reaction-panel .for-phone .reactions-button {
    transition: all .15s ease;
}

/*.reactions .reactions-button:hover {
    transform: translateY(-3px);
}*/

.reactions .reactions-button:hover .reactions-icon {
    transform: scale(1.15);
}

.reactions-button:active .reactions-icon {
    transform: scale(1);
    transition: transform .05s ease;
}

.buttons-count {
    width: 42px;
    height: 62px;
    padding: 0;
    background-color: transparent;
    border: 2px solid transparent;
    border-radius: 21px;
    font-size: 10px;
    line-height: 1;
    text-align: center;
    transition: .15s ease;
}

.buttons-count {
    display: block;
}

.reaction-panel .buttons-count {
    background-color: #e3eaef;
}

.reaction-select.reactions-button .buttons-count {
    font-weight: 700;
}

.reactions-icon-title {
    position: absolute;
    top: -8px;
    left: 50%;
    padding: 0 6px;
    font-size: 11px;
    line-height: 18px;
    pointer-events: none;
    white-space: nowrap;
    border-radius: 3px;
    opacity: 0;
    color: #fff;
    background-color: #30353b;
    transform: scale(0) translate(-50%, 10px);
    transition: transform .15s ease, opacity .35s ease;
    transform-origin: 0 0;
}

.reactions-button:hover .reactions-icon-title {
    opacity: 1;
    transform: scale(1) translate(-50%, -17px);
}

.reaction-select.reactions-button .buttons-count,
.reaction-count.reactions-button .buttons-count {
    position: absolute;
    top: 0;
    left: 0;
    min-width: auto;
    padding: 42px 0 0 0;
    transition: .15s ease;
}

.reaction-select.reactions-button .buttons-count,
.reaction-count.reactions-button .buttons-count {
    background-color: #fff;
}

.reaction-count.reactions-button:not(:first-child) .buttons-count,
.reaction-select.reactions-button:not(:first-child) .buttons-count {
    background-color: #fff6c6;
}

.reaction-count.reactions-button:first-child .buttons-count,
.reaction-select.reactions-button:first-child .buttons-count {
    background-color: #c9e9a6;
}

.reaction-count.reactions-button:last-child .buttons-count,
.reaction-select.reactions-button:last-child .buttons-count {
    background-color: #ffc5c5;
}

.reaction-select.reactions-button:not(:first-child) .buttons-count {
    border: 2px solid #ffe65b;
}

.reaction-select.reactions-button:first-child .buttons-count {
    border: 2px solid #64c100;
}

.reaction-select.reactions-button:last-child .buttons-count {
    border: 2px solid #ff5a5a;
}

/*Geometria*/

.share_comment-btn_block {
    flex-direction: column;
}

.share_comment-btn_block .soc-author-block {
    margin-bottom: 5px;
}

.share_comment-btn_block + .down_material_add {
    margin-top: 5px
}

@media (min-width: 500px) {
    .share_comment-btn_block {
        flex-direction: row;
    }

    .share_comment-btn_block .soc-author-block {
        margin-right: 5px;
        margin-bottom: 0;
    }
}

@media (max-width: 351px) {
    .reactions {
        width: 100%;
        justify-content: space-between;
    }

    .reactions .reactions-button:not(:last-child) {
        margin-right: 0;
    }
}

/*End of Geometria*/


/*End of Блок с эмоциями*/
