.body_content{
    width: 80%;
    margin-left: 10%;
}
.main_content{
    float: right;
    position: relative;
    width: 70%;
}
.sliders{
    position: absolute;
    right: 50px;
    clear: both;
    color: white;
    text-align: center;
    width: 100px;
    height: 150px;
}
.sliders{
    color: white;
    padding-top: 50px;
    font-size: 150%;
}
.sliders>a:hover:after,a:focus:after{
    width: 0px;
} 
/*news*/

/* Стили для отдельной новости */
.post {
	overflow: hidden; 
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.post:hover{
	background-color: #e2e4e4;
}

/* Заголовок новости */
.entry-title a {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.entry-title a:hover {
    text-decoration: underline;
}
.img_slide
{
    width: 150px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.img_slide:hover
{
    transform: scale(0.9);
}

/* Дата и автор новости */
.entry-meta {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* Стили для ссылок внутри новости */
.entry-content a {
    color: #007bff;
    text-decoration: none;
}

.entry-content a:hover {
    text-decoration: underline;
}
/* Стили для изображения новости */
.post-thumbnail {
    display: inline-block; /* Изменяем на inline-block для того, чтобы можно было управлять шириной */
    margin-top: 15px;
    margin-right: 15px; /* Добавляем отступ справа для размещения слева */
    float: left; /* Выравниваем изображение слева */
    width: 100%; /* Уменьшаем ширину изображения */
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}
.entry-content {
    overflow: hidden; /* Решает проблему, когда содержимое выходит за пределы контейнера */
}
/*news*/
.menu_dop{
    margin: 0px;
    position: relative;
    overflow: auto;
    float: left;
    flex-wrap:wrap;
    right: 3.2%;
    width: 30%;
    display: flex;
    flex-direction: row;
}
h1, h2, h3, h4, h5, h6{
    clear: none;
}
.aligncenter {
    clear: none;
}
table{
    clear: none;
    width: auto;
    min-width: 70%;
}
img{
    clear: none;
    overflow: visible;
}
.ngg-galleryoverview {
    width: auto;
    min-width: 70%;
    clear: none;
}
.menu_dop>li{
    height: 40px;
    background-color: #f3f6f6;
    position: relative;
    list-style-type: none;
    width: 100%;
    border: 1px solid #e2e4e4;
}
.menu_dop>li:hover{
    background-color: #e2e4e4;
}
.menu_dop>li>a{
    color: black;
    font-weight: bold; 
    margin: 10px;
    top:25%;
}
.text_logo{
    color: rgba(27, 133, 138, 1) !important;
    border-color: rgba(27, 133, 138, 1) !important;
    color: #222;
    margin-left: 3%;
    font-size: 150%;
    position: relative;
    bottom: 70px;
    display: inline-block;
    margin-top: 45px;
}
.languages{
    float: right;
    margin: 50px;
}
/* */
a {
	position: relative;
    /* color: white; */
	cursor: pointer;
	line-height: 1; /*задаём высоту строки*/
	text-decoration: none; /*убираем подчёркивание*/

}
a:after {
	display: block;
	position: absolute;
	left: 0; /*изменить на right:0;, чтобы изменить направление подчёркивания */
	width: 0;/*задаём длинну линии до наведения курсора*/
	height: 2px; /*задаём ширину линии*/
	background-color: #00a650; /*задаём цвет линии*/
	content: "";
	transition: width 0.3s ease-out; /*задаём время анимации*/
}

a:hover:after,
a:focus:after {
	width: 100%; /*устанавливаем значение 100% чтобы ссылка подчёркивалась полностью*/
}
/* */
.main_menu{
    flex-wrap: wrap;
    margin-left: 0px;
    width: 100%;
    background-color: rgba(27, 133, 138, 1) !important;
    display: flex;
    flex-direction: row;
}
.main_header{
    flex-direction: row;
}
.main_menu>ul{
    display: flex;
    flex-direction: row;
}
.main_menu>li{
    font-weight: bold; 
    font-size: 100%;
    padding: 15px;
    list-style-type: none;
}
.main_menu>li>a{
    color: white;
}
/* .main_menu>li:hover{
    background-color: #e2e4e4;
} */
.container_for-text_logo{
    width: 300px;
    margin-left: 3%;
    position: relative;
    top: 30px;
    display: inline-block;
}
.img_2{
    width: 100%;
}
.slide_first{
    /* display: inline-block; */
    margin: 20px;
    text-align: center;
}
.panel_information{
    width: 100%;
}
.information{
    display: flex;
    flex-direction: row;
}
.li_information_1{ 
    list-style-image: url(img/li_1.png);
}
.li_information_2{ 
    list-style-image: url(img/li_2.png);
}
.li_information_3{ 
    list-style-image: url(img/li_3.png);
}
.information>li{
    margin: 10%;
}
.information_number{
    position: relative;
    bottom: 15px;
    color: rgba(163, 191, 192, 1) !important;
    font-weight: bold; 
    font-size: 350%;
}
.information_text{   
    position: relative;
    bottom: 25%; 
    font-weight: bold; 
    font-size: 150%;
}
.about-hospital_more{
    font-weight: bold; 
    font-size: 150%;
    color: #1b858a;
}
.container_branches{
    color: white;
    width: 100vh;
    background-color: rgba(27, 133, 138, 1) !important;
}
.branches_text{
    position: relative;
    top: 25px;
    font-weight: bold; 
    font-size: 250%;
    margin: 30px;
    margin-bottom: 50px;
}
.branches_panel>li{
    margin: 15px;
}
.branches_panel>li>a{
    color: white;
    position: relative;
    bottom: 10px;
}
.branches_panel{
    font-size: 150%;
}
.li_branches_1{
    list-style-image: url(img/branches/branches_li_1.png);
}
.li_branches_2{
    list-style-image: url(img/branches/branches_li_2.png);
}
.li_branches_3{
    list-style-image: url(img/branches/branches_li_3.png);
}
.li_branches_4{
    list-style-image: url(img/branches/branches_li_4.png);
}
.li_branches_5{
    list-style-image: url(img/branches/branches_li_5.png);
}
.li_branches_6{
    list-style-image: url(img/branches/branches_li_6.png);
}
.li_branches_7{
    list-style-image: url(img/branches/branches_li_7.png);
}
.li_branches_8{
    list-style-image: url(img/branches/branches_li_8.png);
}
.li_branches_9{
    list-style-image: url(img/branches/branches_li_9.png);
}
.li_branches_10{
    list-style-image: url(img/branches/branches_li_10.png);
}
.branches_foto{
    right: 30%;
    width: 55%;
    z-index: -1;
    position: absolute;
}
.img_1{
    position: relative;
    text-align: center;
}
.news_face{
    width: 30%;
    display: inline-block;
}
.photo_news{
    width: 100%;
    height: 300px;
}
.news_text_1{
    color: black;
    font-weight: bold; 
    font-size: 150%;
}
.news_text_2{
    color: black;
    font-weight: bold; 
    font-size: 150%;
}
.news_text_3{
    width: 370px;
    color: black;
    font-weight: bold; 
    font-size: 150%;
}
.galary{
    position: relative;
    margin-top: 0px;
}
.galary_text{
    font-weight: bold; 
    font-size: 250%;
}
.galary_menu{
    width: 100%;
    display: flex;
    flex-direction: row;
}
.galary_menu>li{
    font-weight: bold; 
    font-size: 150%;
    margin: 20px;
    list-style-type: none;
}
.galary_menu>li>a{
    color: #999;
}
.galary_photo-1{
    width: 100%;
    height: 350px;
}
.galary_photo-2{
    width: 100%;
    height: 350px;
}
.galary_photo-3{
    width: 100%;
    height: 350px;
}
.galary_photo-4{
    width: 79%;
    height: 170px;
}
.galary_container-1{
    width: 35%;
    display: inline-block;
}
.galary_container-2{
    width: 30%;
    display: inline-block;
}
.galary_container-3{
    position: relative;
    width: 30%;
    display: inline-block;
}
.galary_container-4{
    left: 70%;
    position: absolute;
    width: 25%;
    display: none;
}
.galary_all_photo{
    display: inline-block;
}
.galary_container{
    margin: 5px;
}
.floot_menu{
    margin-left: 7%;
    flex-wrap:wrap;
    width: 100%;
    display: flex;
    flex-direction: row;
}
.floot_menu>li{
    width: 20%;
    padding: 20px;
    border: 2px solid rgba(27, 133, 137, 0.2);
    font-weight: bold; 
    font-size: 150%;
    margin: 20px;
    list-style-type: none;
}
.floot_menu>li:hover{
    transition: all 0.1s ease-in;
    background-color: rgba(27, 133, 138, 1) !important;;
}
.floot_menu>li>a{
    color: rgba(27, 133, 138, 1);
}
.floot_menu>li:hover>a{
    transition: all 0.1s ease-in;
    color: white;
}
.flooter{
    clear: both;
    color: white;
    text-align: center;
    width: 100%;
    height: 150px;
    background-color: rgba(27, 133, 138, 1);
}
.flooter_text-1{
    color: white;
    padding-top: 50px;
    font-size: 150%;
}
.footer_text{
    position: relative;
    bottom: 20px;
}

/* ----------------------------------   Заголовок и текст статей НАЧАЛО  */
.text_site
    {
        background-color: rgba(27, 133, 138, 1) !important;
        width: 100%;
        text-align: center;
        padding-top: 10px;
        padding-bottom: 10px;
        color: white;
        font-weight: 600;
        font-size: 24px;
        /* margin-top: 40px; */
    }

    .text_text
    {
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 10px;
        margin-top: 10px;
        min-height: 250px;
    }

    .sub-menu-active:focus {
    background-color: #ededed;
}

.sub-menu > li > a {
    color: #DBDBDB;
}

.sub-menu-deactive{
    display: none;
}
/* Основной стиль для подменю */
.sub-menu {
  max-height: 0; /* Начальная высота для скрытия подменю */
  opacity: 0; /* Начальная видимость для скрытия подменю */
  overflow: hidden; /* Скрываем содержимое, выходящее за границы */
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out; /* Анимация высоты и прозрачности */
  height: auto; /* Устанавливаем высоту автоматически, если требуется */
}

/* Активное состояние подменю */
.sub-menu-active {
  max-height: 2000px; /* Устанавливаем достаточную высоту для отображения содержимого */
  opacity: 1; /* Делаем подменю видимым */
}


  .sub-menu {
    box-shadow: 0px 0px 24px 3px rgb(0 0 0 / 10%) !important;
    margin-top: 15px;
    position: relative;
    z-index: 1000;
    /* right:40%; */
    padding-right: 0px;
    list-style: none;
    display: none;
}

.sub-menu > li {
    padding: 10px;
    width: 200px;
    text-align:left;
    background-color: #dfdfdf;
    padding-top: 10px;
    padding-bottom: 10px;
    list-style-type: none;
}

.sub-menu.sub-menu-active {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: absolute;
    display: block;
    padding: 0px;
    margin-left: 0px;
}

.sub-menu > li > a {
    font-size: 16px;
    color: rgb(89, 89, 89);
}

.sub-menu > li:hover{
    background-color: #d4d4d4;
}
.sub-menu > li:hover a{
    text-shadow: black 5px;
}
.current_page_item>li>a
{
    color: #FF7F5F;
}

.menu-item-has-children>a
{
position: relative;
}
.menu-item-has-children>a:hover:after,a:focus:after {
	width: 0%; /*устанавливаем значение 100% чтобы ссылка подчёркивалась полностью*/
}
.menu-item-has-children>a::after
{
    content: "⌵";
    color: #f6f6f6;
    position: absolute;
    top: 17%;
    transform: rotate(0deg);
    left: 100%;

}
/* ----------------------------------   Заголовок и текст статей КОНЕЦ  */

/* ----------------------------------   Настройки отображения статей внутри НАЧАЛО  */
.entry-header
{ 
    margin-bottom: 6px; 
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-title {margin-left: 15px;}

.post {margin-left: 15px;}

.current-lang {background-color: #0f3484;}

.entry-content {display: none;}

.entry-title {margin-right: 10px; transition: all 0.3s;}
.entry-title>a {color: #303030; font-size: 17px;}
.entry-title>a:hover {color: #0f3484;}

.entry-date {color: #3a3a3a; transition: all 0.3s; margin-right: 15px;}
.entry-date:hover {color: #929292;}
.entry-footer {display: none;}
.byline {display: none;}

.pgntn-page-pagination-intro {display: none;}

.navigation {display: none;}

.page-numbers
{
    background-color: #0f3484;
    color: white;
    padding: 10px;
    transition: all 0.3s;
    
}

.page-numbers:hover {background-color: #245b7e;}

.current {background-color: #4a4a4a;}

.pgntn-page-pagination-block {margin-bottom: 30px; margin-top: 30px;}

/* ----------------------------------   Настройки отображения статей внутри КОНЕЦ  */
@media (max-width: 1200px)
{
    .sliders{
        display: none;
    
    }
	select {position: relative;}
	.main_content{width: 100%;}
    .menu_dop{display: none;}
    .branches_foto{
        display: none;
    }
    .languages{
        float: left;
        margin: 0px;
        margin-bottom: 5px;
    }
    .body_content{
        position: relative;
        left: 5px;
        width: 98%;
        margin-left: 0px;
    }
    .flooter{
        position: relative;
        right: 5px; 
    }
    .container_branches{
        width: 100%;
    }
    .branches_panel>li{
        position: relative;
        right:50px;
    }
    .img_1{
        display: none;
    }
    .news_face_1{
        width: 100%;
    }
    .news_face_3{
        display: none;
    }
    .news_face_2{
        display: none;
    }
    .galary_container-2{
        display: none;
    }
    .galary_container-1{
        width: 100%;
        margin: 0px;
    }
    .galary_container-3{
        display: none;
    }
    .galary_container-4{
        display: none;
    }
    .galary_menu{
        margin-left: 0px;
        flex-wrap:wrap;
        width: 100%;
    }
    .galary_menu>li{
        margin: 5px;
        font-size: 100%;
    }
    .panel_information{
        position: relative;
        left: 10px;
        margin: 0px;
    }
    .information{
        margin: 0px;
        width: 100%;
        flex-wrap:wrap;
    }
    .li_information{
        width: 100%;
    }
    .panel_information{
        width: 45%;
    }
    .floot_menu>li{
        width: 80%;
        padding: 20px;
        margin: 20px;
        margin-left: 0px;
    }
    .floot_menu{
        position: relative;
        right: 55px;
        width: 100%;
    }
    .floot_menu>li{
        width: 100%;
    }
    .main_menu{     
        width: 100%;   
        flex-wrap:wrap;
    }
    .main_menu>li{
        font-size: 100%;
    }
    .flooter_text-1{
        font-size: 14px;
    }
    .flooter{
        text-align: center;
        width: 100%;
        height: 150px;
        background-color: rgba(27, 133, 138, 1);
    }

}

@media (max-width: 555px)
{
    .header
    {
        height: 220px;
        flex-direction: column;
    }
}

@media (max-width: 368px)
{
    .header
    {
        height: 300px;
        flex-direction: column;
    }
}

@media (max-width: 290px)
{
    .header
    {
        height: 325px;
        flex-direction: column;
    }
}
