.block-best-content {
    overflow: hidden;
}

table i {
    color: #fff;
}

table i:hover {
    color: #ccc;
}

nav[aria-labelledby="system-breadcrumb"] {margin-bottom: 1rem;}
nav ol {margin: 0; padding: 0;}
nav ol li
{
    display: inline;
    margin-right: 5px;
}
/*nav ol li.last {display: block;}*/
/*.text-secondary nav ol li.last {display: inline;}*/

.display-none {display: none;} /* nah */
.width730 {width: 730px;} /* view-term! */

.sitemap .placeholder {display: none;}
.text-align-justify {text-align: justify;}
.text-align-center {text-align: center;}
.text-align-right {text-align: right;}
.usefull-links-more
{
    display: none;
}

.tooltip-inner {max-width: 500px;}

#language {margin: 0; padding: 0;}
#language li {display: inline;}
#language li a.language-link
{
    color: rgba(255,255,255,.5);
    padding: .75rem .5rem;
}
#language li a.language-link:hover,
#language li a.language-link:focus
{
    color: rgba(255,255,255,.75);
    text-decoration: none;
}

#myadmin, 
#message_list
{
    z-index: 666;
    position: fixed;
    border: 1px solid black;
    background-color: silver;
    font-size: 1rem;
    padding: .25rem;
#    display: none;
}
#myadmin {bottom: 0; right: .1rem; border-bottom: none}
#message_list {top: 0; left: .1rem; border-top: none;}
#message_list .visually-hidden {display: none;}
#edit-preview {display: none;}

/* hacks */
/* https://stackoverflow.com/questions/1014861/is-there-a-css-parent-selector */
/*li:has(a[href="/kv/o_pravitelstve_rk/koordinacionnye-i-sovesatel"]) {display: none;}*/
/*li:has(> a[href="/kv/o_pravitelstve_rk/koordinacionnye-i-sovesatel"]) {display: none;}*/
/*a[href="/kv/o_pravitelstve_rk/koordinacionnye-i-sovesatel"] {display: none;}*/
/* ... */

#front_media_main iframe {margin: 0 auto;}
#front_media_main p {margin: 0 auto;}

.swiper-container {
  background: transparent;
}
.swiper-slide {
  background-size: contain;
  background-repeat: no-repeat;
}

.swiper-wrapper-main {
  /*height: 720px;*/
  height: 550px;
}
@media screen and (max-width: 768px){
  .swiper-wrapper-main {
    height: 450px;
  }
}
@media screen and (max-width: 400px){
  .swiper-wrapper-main {
    height: 250px;
  }
}

.hide{
    display: none;
}

select .option_bold{
    font-weight: bold;
}

/* <subscribe> */
.subscribe form
{
    width: 100%;
}
.subscribe input[type="email"]
{
    padding1: .5em;
    width: 100%;
}
.subscribe input[type="submit"],
{
    width: 100%;
}
.subscribe input[type="radio"],
.subscribe input[type="radio"]:checked
{
    height: 20px;
    width:  20px;
    margin-right: 5px;
}
.subscribe #subscribe_setting #periodic
{
    margin-left: 30px;
}
.subscribe #subscribe_setting span
{
    line-height: 20px;
    vertical-align: top;
}
/* </subscribe> */

.media_filter,
.news_filter,
.subscribe
{
    background: #f4f7fb;
    padding: 20px 30px;
    border: 1px solid #dee2e6;
    border-radius: 2px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color:#404456;
    width: 100%;
    margin: 0 auto;
}

.media_filter{
	margin-bottom:20px;
}

.news_filter,
.subscribe
{
    font-size: 1rem;
    width: 100%;
    margin: 0;
}

.media_filter .filter_title,
.news_filter .filter_title,
.subscribe .subscribe_title
{
    color:#404456;
    font-size:22px;
    font-weight:bold;
    text-transform: uppercase;
}

.media_filter form button:last-child,
.news_filter form button:last-child{
    margin-top:15px;
}

.media_filter .form-group,
.news_filter .form-group{
    width:100%;
}

.media_filter label,
.news_filter label{
    font-size:14px;
}

.media_tabs{
    /*
        position: absolute;
        right: 0;
        top: 0;
    */
    width: auto;
    font-size: 14px;
    font-weight: normal;
    /*margin-right:15px;*/
    margin-bottom: 0;
    list-style: none;
    padding: 0;
}

.media_tabs li{
    display: inline-block;
    margin:0 15px;
    cursor:pointer;
    padding-bottom:5px;
}

.media_tabs li.active{
    border-bottom:4px solid #0077b1;
}

.page-item:last-child .page-link, .page-link.first{
    border: 1px solid #dee2e6 !important;
}
.page-item:last-child .page-link{
    border-radius: 0 3px 3px 0;
}

.page-item_active .page-link{
    border:0;
}

.media_list_body{
    margin-bottom:20px;
}

.media_item{
    border-bottom:1px solid #404456;
    padding:15px 0;
}

.media_category{
    display: flex;
    align-items: center;
    margin-bottom:15px;
}

.media_item .media_category .marker{
    width:10px;
    height:10px;
    border-radius:50%;
}
.media_item .media_category .category_name{
    font-size:12px;
    font-weight: 600;
    margin-left:10px;
}

.media_item .item_title{
    font-size:14px;
    font-weight: 600;
    color:#404456;
}

.media_item .item_create{
    font-size:12px;
    color:#767d87;
    margin-top:10px;
}

.media_item .media_category.green_category .marker{
    background:#43a035;
}
.media_item .media_category.red_category .marker{
    background:#c1272b;
}
.media_item .media_category.blue_category .marker{
    background:#3f8ad7;
}
.media_item .media_category.green_category .category_name{
    color:#43a035;
}
.media_item .media_category.red_category .category_name{
    color:#c1272b;
}
.media_item .media_category.blue_category .category_name{
    color:#3f8ad7;
}

#front_media_block2-tab_images .row div{
    margin-bottom:10px;
}

#front_media_block2-tab_mediaprojects a{
    color:#fff;
}



.image_title{
    font-size:14px;
}
.image_title a{
    color:#fff;
}

.image_title_block{
    width: 100%;
    background: rgba(0,0,0,0.6);
}

@media only screen and (max-width: 768px) {
    #front_media_block2-tab_video .modal .modal-content iframe {
        width: auto;
    }
}

@media only screen and (max-width: 992px) {
    .navbar-nav {
        flex-direction: row;
    }

    .navbar-nav .nav-link {
        padding: 0.4rem !important;
    }
}

.media_video_modal{
    background: rgba(0,0,0,0.7);
}

.media_video_modal .modal-dialog{
    width:100%;
    max-width: 100%;
}

.media_video_modal .modal-dialog .modal-content{
    border-radius: 0;
    background: #000;
    color: #fff;
    padding-bottom: 0px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: inherit;
}

.media_video_modal .video_block{
    display: flex;
    justify-content: center;
}

.media_video_modal .media_info{
    width:100%;
    height: 400px;
    background: #f4f7fb;
    position: relative;
    right: 0;
    top: 0;
    padding:15px 10px;
}

@media screen and (max-width: 767px){
    .media_video_modal .media_info{
        height: auto;
        margin-bottom:30px;
    }
}

.media_video_modal .media_info .modal_logo{
    width:100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.media_video_modal .media_info .modal_logo img{
    width:55px;
    margin-right: 10px;
}
.media_video_modal .media_info .modal_logo .logo_name{
    color:#767d87;
    margin-top: -5px;
}
.media_video_modal .media_info .modal_logo .logo_name .big{
    font-size: 23px;
    line-height: 28px;
}
.media_video_modal .media_info .modal_logo .logo_name .small{
    font-size:12px;
    font-weight: 600;
}
.media_video_modal .media_info .media_item{
    border-bottom: 0;
}

.media_video_modal .video_block iframe{
    margin:0;
}

.media_video_modal .modal-dialog .modal-content .container{
    /*display: flex;*/
}

.media_video_modal .modal-dialog .modal-content iframe{
    height: 400px;
}

.media_video_modal .modal-dialog .modal-header{
    border:0;
}

.play_video{
    width:250px;
    height: 150px;
    background: url(../img/play_button.png);
    position: absolute;
    left:50%;
    top:50%;
    margin-left:-125px;
    margin-top:-75px;
}

.dropdown .dropdown-menu a.active
{
    color: white !important;
    background-color: #0077b1;
}

.dropdown .dropdown-menu li{
    padding: 0 !important;
}

.dropdown .dropdown-menu li.active {
    border: none !important;
    background-color: #0077b1;
}

.dropdown .dropdown-menu li.active a {
    color: white !important;
}

#mainKun.active{
	display:block !important;
}

.banner_list{
	display:flex;
	justify-content:space-between;
	margin-top:10px;
}

.banner_list .banner_block{
	/*min-height:200px;*/
	background-color:#0077b1;
	display:flex;
	justify-content:center;
	align-items:center;
	font-size:24px;
	color:#fff;
	padding:0/* 15px*/;
	margin-top:10px;
}

.hr-navbar {
    border-top: 1px solid rgba(0,0,0,.1)
}

.hr-clear {
    padding-top: 10px;
    clear: both;
}

.press-news-image {
    max-width: 60%;
    float: left;
    padding-right: 15px;
}

@media (max-width: 992px) {
    .hr-clear {
        padding-top: 0px;
    }

    .press-news-image {
        max-width: 100%;
        float: none;
        padding-right: 0px;
    }
}