.secondary_page .inner_content img {
    max-width: 100%;
    margin-bottom: 20px;
    height: auto!important;
}

.overflow_block {
    overflow-x: auto;
    text-align: center;
}

.overflow_block > table {
    display: inline-block;
    text-align: left;
}

.shadow_slider {
    -webkit-box-shadow: 0px -1px 25px 0px rgba(220,221,223,1);
    -moz-box-shadow: 0px -1px 25px 0px rgba(220,221,223,1);
    box-shadow: 0px -1px 25px 0px rgba(220,221,223,1);
    background-color: #fafafa;
}

/* одна новость */

.block_name.fp_title {
    color: #1a479f;
    font-weight: bold;
    font-size: 20px;
}

.img_title {
    color: #8c8e8f;
    font-size: 14px;
} 

.social_icons_c {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    float: left;
    width: 50px;
    margin-top: 10px;
    margin-left: -85px;
    margin-bottom: 40px;
    padding-top: 20px;
}

.social_icons_c > div {
    margin-bottom: -3px;
}

.print_icon {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    font-size: 0px;
    background: url(/desimages/print_ico.png) no-repeat center #fff;;
}


/*.print_icon:hover {
    background-image: url(/desimages/hover_print_ico.png);
}*/


.inner_content {
    padding-top: 40px;
    padding-bottom: 40px;
}

.inner_view {
    margin-top: 30px;
}

.inner_view .text {

}

.secondary_page .first_page_media_item {
    height: 245px;
    min-height: 245px;
}

.news_view_left_col {
    float: left;
    width: calc(100% - 310px);
    padding-right: 80px;
}

.news_view_left_col.wide {
    float: none;
    padding-right: 0;
    width: 100%;
}

.news_view_right_col {
    width: 310px;
    float: left;
}

.secondary_page .news_list_date {
    color: #fff;
    background: #f6a83d;
    padding: 2px 7px;
    display: inline-block;
}

.img_text {
    margin-bottom: 26px;
}

/* список новостей */

.news_list_photo {
    /*float: left;*/
    margin-right: 25px;
    position: relative;
}

.inner_content .news_list_photo img {
    max-width: 270px;
}


.secondary_page .news_list_title > span {
    padding-bottom: 4px;
    text-decoration: none;
    background-image: linear-gradient(transparent 2px, #f8b555 2px, #f8b555 4px, transparent 4px),
                      linear-gradient(transparent 2px, #fff 2px, #fff 4px, transparent 4px);
    background-size: 0% 6px, 100% 6px;
    background-position: 0 bottom, 0 bottom;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease-in-out;
    border-bottom: 6px solid transparent;
}

.secondary_page .news_list_one > a:hover .news_list_title > span,
.secondary_page .media_item:hover .news_list_title > span {
    background-size: 100% 6px;
}

.browse-view .list-view .news_bg {
    width: 100%;
    max-width: 270px;
    height: 212px;
    margin-right: 25px;
    flex-shrink: 0;
}

.browse-view .grid-view .news_bg {
    max-width: 100%;
    width: 100%;
    height: 212px;
    margin-bottom: 20px;
}

.browse-view .list-view .news_bg .news_list_photo,
.browse-view .grid-view .news_bg .news_list_photo {
    width: 100%;
    height: 212px;
}

.photo_view {
    width: 19px;
    height: 19px;
    background: url('/desimages/photo.svg') no-repeat center bottom;
}

.photo_view.active {
    background: url('/desimages/no_photo.svg') no-repeat center bottom;
}

.column_view {
    width: 19px;
    height: 19px;
    background: url('/desimages/list_ico.png') no-repeat center bottom;
}

.column_view.active {
    background: url('/desimages/list_ico_active.png') no-repeat center bottom;
}

.colage_view {
    width: 19px;
    height: 19px;
    background: url('/desimages/grid_ico.png') no-repeat center bottom;
}

.colage_view.active {
    background: url('/desimages/grid_ico_active.png') no-repeat center bottom;
}

.browse-view .no_pic .news_list_photo_box {
    display: none;
}

.browse-view .grid-view {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.browse-view .grid-view .news_list_one {
    width: calc(33.333% - 20px);
    margin-left: 10px;
    margin-right: 10px;
}

.browse-view .grid-view .news_list_one .news_short_text {
    display: none;
}

.browse-view .grid-view .news_list_one > a {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
            margin-bottom: 17px;
}


.browse-view .grid-view .news_list_one .news_text {
    margin-top: 8px;
}

.inner_content .browse-view .grid-view .news_list_photo img {
    max-width: 100%;
}

/* список фото/видео */

.soc_media_item {
    height: 180px;
    max-width: 360px;
}

.soc_media_item img {
    max-width: 360px;
    max-height: 180px;
}

.media_image {
/*    height: 284px;*/
    padding-bottom: 78%;
    max-width: 360px;
}

.media_item {
    width: calc(33.33% - 20px);
}

.slider_photo_popup {
    position: relative;
}

.ph_prev,
.ph_next {
    position: absolute;
    top: 0;
    bottom: 0;
    display: block;
    width: 50px;
    height: 100%;   
    margin: auto;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;    
}

.ph_prev {
    left: 0px;
    background: url(/desimages/photo_prev.png) no-repeat center;
}

.ph_prev:hover {
    background-image: url(/desimages/photo_prev_hover.png);
}

.ph_next {
/*    right: -50px;*/
    right: 0;
    background: url(/desimages/photo_next.png) no-repeat center;
}

.ph_next:hover {
    background-image: url(/desimages/photo_next_hover.png);
}

.parent_popup img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.modal-backdrop {
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.3;
}

.close {
    font-size: 1rem;
}

.close_modal {
    display: inline-block;
    width: 17px;
    height: 17px;
    width: 30px;
    height: 30px;
    background: url(/desimages/all_index_close_info.svg) no-repeat;
}

/*.modal-header .close:hover .close_modal {
    background-image: url(/desimages/all_index_close_info_hover.svg);
}*/


.modal-header {
    padding: 1rem;
    border: none;
}

.modal-header .close {
    width: auto;
    height: auto;
}

.modal-header button:focus {
    outline: none;
}

.modal-header .close {
    margin: 0 0 0 auto;
    padding: 0;
}

.modal-dialog {
    max-width: 1035px;
}

.modal-content {
    border-radius: 0;
    border: none;
}

.modal-body {
    padding: 0 3.25rem 3rem;
}

.modal-body.photo_body {
    padding: 0 3.125rem 3rem;
}


.video_title,
.photo_title {
    margin-top: 1.5rem;
    font-size: 1.25rem;
}

.video_description, 
.photo_description {
    margin-top: 1.25rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.video_add {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.video_add iframe,
.video_add video,
.video_add object {
    position: absolute;
    top: 0;
    left: 0;    
    width: 100%;
    height: 100%;
}

/* одно фото */

.slider_photo_inner_box .slider_prev {
    left: -30px;
    background: url(/desimages/slider_prev.png) no-repeat left center;
}

.slider_photo_inner_box .slider_next {
    right: -30px;
    background: url(/desimages/slider_next.png) no-repeat right center;
}

.slider_photo_inner_box .slick-list {
    margin: 0 -10px;
}

.slider_photo_inner_box .slick-slide {
    outline: none;
}

.photo_item::after,
.news_list_photo::after {
    content: '';
    display: block;
    background-color: rgba(0, 0, 0, 0.15);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: all 0.2s, color 0.2s;
    -o-transition: all 0.2s, color 0.2s;
    transition: all 0.2s, color 0.2s;
}


.photo_item_box:hover .photo_item::after,
.news_list_one:hover .news_list_photo::after,
.item_box:hover .first_page_media_item::after  {
    background-color: rgba(0, 0, 0, 0);
}

.photo_link_ico {
    width: 63px;
    height: 63px;
    background: url(/desimages/photo_link_ico.png) no-repeat right center;
    right: 30px;
    bottom: 30px;
}

