@charset "UTF-8";

html {font-size: 16px; }
body {background: #fff; padding: 0; font-family: "PT Sans", Tahoma, sans-serif; font-size: 1em; }


/* Компактная шапка с анимированным фоном */
#header {
    padding: 5px 0 0;
    position: relative;
    /* Убираем background отсюда */
    min-height: 80px;
}

#header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Переносим градиент сюда и добавляем анимацию */
    background: linear-gradient(135deg, #e3f2fd 0%, #f9fbfc 50%, #e3f2fd 100%);
    z-index: -1;
    animation: cloudFloat 25s ease-in-out infinite;
}

@keyframes cloudFloat {
    0%, 100% { 
        transform: translate(0, 0);
    }
    25% { 
        transform: translate(-10px, 5px);
    }
    50% { 
        transform: translate(15px, -3px);
    }
    75% { 
        transform: translate(-5px, 8px);
    }
}

/* Крупный логотип в круглой форме */
#logo {
    margin: 0;
    overflow: hidden;
    color: #4c8fc4;
    display: flex;
    flex-flow: row;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 15px 0; 
    min-height: 90px;
	padding-left: 50px;
}

#logo .emblem {
    float: left;
    margin-right: 25px; /* Увеличил отступ */
}

#logo img {
    display: inline-block;
    max-height: 100px; /* Увеличил размер */
    width: 100px; /* Увеличил размер */
    border-radius: 50%;
    border: 4px solid #4fa3f7; /* Увеличил границу */
    padding: 8px; /* Увеличил padding */
    background: #fff;
    box-shadow: 0 4px 20px rgba(79, 163, 247, 0.3); /* Усилил тень */
    transition: all 0.3s ease;
    object-fit: cover;
}

#logo img:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(79, 163, 247, 0.5); /* Усилил тень при hover */
}

#logo .content {
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    padding: 8px 20px; /* Увеличил padding */
}

#logo p {
    margin: 0; 
    line-height: 1.2em; /* Увеличил межстрочный интервал */
}

#logo .title {
    font-size: 1.8em; /* Увеличил шрифт */
    font-weight: bold;
    color: #004d99;
    line-height: 1.2em;
    margin: 8px 0 5px; /* Увеличил отступы */
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.15); /* Усилил тень */
    position: relative;
}

#logo .title::after {
    content: "";
    display: block;
    width: 70px; /* Увеличил линию */
    height: 3px; /* Увеличил толщину */
    background: linear-gradient(90deg, #4fa3f7, #8fd3fe);
    margin-top: 8px; /* Увеличил отступ */
    border-radius: 2px;
    animation: expandLine 1.5s ease forwards;
}

@keyframes expandLine {
    0% { width: 0; opacity: 0; }
    100% { width: 70px; opacity: 1; }
}

#logo .subtitle {
    font-size: 1em; /* Увеличил шрифт */
    color: #666;
    font-weight: 400;
    letter-spacing: 0.4px;
}

/* Компактные контакты справа */
#header .contacts {
    display: block;
    clear: both;
    margin: 0 auto 0;
    font-size: 0.85em;
    line-height: 1.2em;
    vertical-align: middle;
    text-align: center;
    position: relative;
    z-index: 2;
}

#header .contacts p {
    margin: 2px 10px; 
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

#header .contacts p:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

/* Компактная верхняя панель */
#top_bar {
    position: relative;
    padding: 2px 0;
    z-index: 3;
}

.mod_buttons {
    text-align: center;
    position: relative;
    z-index: 10;
    display: block;
    vertical-align: top;
    margin: 0 auto 3px;
}

.mod_buttons img {
    max-height: 20px;
}

.mod_buttons a {
    opacity: 0.7;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
}

.mod_buttons a:hover {opacity: 1; }

.lng_select {display: inline-block; margin-right: 20px;}
.lng_select a {margin-right: 3px;}
.lng_select a:last-child {margin-right: auto;}
.lng_select .active {pointer-events: none;font-weight: 600;}

.mod_buttons .wep_toggle {
    opacity: 1;
    color: #4c8fc4;
    margin: 0;
    white-space: nowrap;
    text-decoration: none;
    font-size: 0.9em;
}

.mod_buttons .wep_toggle i {
    display: inline-block;
    vertical-align: middle;
    font-size: 20px;
}

.mod_buttons .wep_toggle span {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    line-height: 1.1;
}

/* Компактный поиск */
.search_field {
    position: relative;
    display: block;
    margin: 3px 0;
}

.search_form {
    border: 1px solid #4c8fc4;
    transition: all 0.2s ease;
}

.search_form:hover {
    box-shadow: 0 0 8px rgba(76, 143, 196, 0.2);
    transform: scale(1.01);
}

.search_form input[type="search"] {
    border: 0;
    outline: none;
    font-style: oblique;
    display: block;
    width: 100%;
    height: 28px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 0.85em;
}

.search_form .submit {
    border: none;
    padding: 0;
    width: 25px;
    line-height: 25px;
    position: absolute;
    right: 0;
    text-align: center;
    border-radius: 0;
    font-size: 14px;
    color: #9ed6ed !important;
    cursor: pointer;
    top: 0;
    bottom: 0;
    background: none !important;
}

.search_form .submit:hover {color: #4c8fc4 !important;}

@media only screen and (min-width: 992px) {
    .mod_buttons {
        text-align: right;
        margin-bottom: 8px;
    }
    .lng_select {
        display: block;
        margin-right: auto;
    }
    #header .contacts {
        margin: 0 0 8px;
        text-align: right;
    }
    #header .contacts p {
        margin: 0 auto;
    }
}

/* Компактное главное меню */
#main_menu {
    margin: 8px 0 0;
    position: relative;
    z-index: 2;
}

#main_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#main_menu li {
    display: inline-block;
    position: relative;
}

#main_menu a {
    display: block;
    padding: 5px 10px;
    line-height: 1em;
}

#main_menu .level_0 > li {
    padding: 0 3px;
}

#main_menu .level_0 > li > a {
    color: #4c8fc4;
    font-weight: 600;
    padding: 10px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.7);
    margin: 0 1px;
    font-size: 0.9em;
}

#main_menu .parent > a:after {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 3px 0 3px;
    border-color: #555 transparent transparent transparent;
}

#main_menu .level_0 ul {
    font-size: 0.85em;
}

#main_menu .level_1 a {
    text-decoration: none;
    padding: 6px 8px;
}

#menu_toggle {display: none;}

@media only screen and (min-width: 768px) {
    #top_bar {
        position: relative;
        text-align: right;
        padding: 5px 0 0;
    }
    
    #main_menu .parent:hover > ul {display: block; }
    
    #main_menu .level_0 {
        display: block !important;
        text-align: center;
    }
    
    #main_menu .level_0 ul {
        border: solid 1px #aaa;
        background: #f2f6fa;
        width: 220px;
        z-index: 100;
        text-align: left;
        display: none;
        position: absolute;
        top: 0;
        left: 100%;
        border-radius: 4px;
    }
    
    #main_menu .level_0 > li:last-child ul {left: initial;right: 100%;}
    #main_menu .level_0 > li:last-child > ul {left: initial;right: 0;}
    
    #main_menu .level_0 > li:hover > a {
        background: #4c8fc4;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(76, 143, 196, 0.25);
    }
    
    #main_menu .level_0 > li:hover > a:after {border-top-color: #fff; }
    
    #main_menu ul.level_1 {
        top: 100%;
        left: 0;
    }
    
    #main_menu .level_1 li {
        display: block;
        border-bottom: solid 1px #ddd;
    }
    
    #main_menu .level_1 li:last-child {border-bottom: none; }

    #main_menu .level_1 li:hover > a {background: #84c0f2; color: #fff; }
    
    #main_menu .level_1 .parent > a {padding-right: 20px;}
    #main_menu .level_1 .parent > a:after {
        position: absolute;
        right: 8px;
        top: 50%;
        margin-top: -3px;
        border-width: 3px 0 3px 5px;
        border-color: transparent transparent transparent #555;
    }
    
    #main_menu .level_1 .parent:hover > a:after {border-color: transparent transparent transparent #fff;}

    #main_menu .right ul {right: 100%; left: auto;}
    #main_menu .right .level_1 {right: 0;left: auto;}
    #main_menu .right .level_1 li > a {padding-left: 20px; padding-right: 8px;}
    #main_menu .right .level_1 .parent > a:after {
        position: absolute;
        left: 5px;
        right: auto;
        border-width: 3px 5px 3px 0;
        border-color: transparent #555 transparent transparent;
    }
    
    #main_menu .right .level_1 .parent:hover > a:after {border-color: transparent #fff transparent transparent;}
}

@media only screen and (max-width: 767px) {
    #header .search_field {margin: 0 15px}
    #header .contacts {display: none;}
    
    #top_bar {
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        padding: 0 25px;
    }
    
    .mod_buttons {margin: 0 auto 8px;}
    
    #main_menu {
        position: fixed;
        display: none;
        top: 0;
        left: 0;
        right: 0;
        height: auto;
        max-height: 100vh;
        z-index: 9000;
        overflow-y: auto;
        margin: 0 auto;
        background: #eff5f9 url(/files/template4/img/tiled_bg.png) repeat 50% 50%;
    }
    
    #main_menu a {text-decoration: none; }		

    #main_menu li {display: block;}
    #main_menu a {color: #333;}
    
    #main_menu .level_0 {
        display: block;
        clear: both;
        overflow-y: auto;
        border-bottom: solid 4px #4c8fc4;
    }
    
    #main_menu .level_0 > li {border-bottom: solid 1px #9ed6ed;}

    #main_menu .level_1 {margin-left: 12px;margin-bottom: 12px;}
    
    #main_menu .level_1 ul {
        border-left: 1px solid #9ed6ed;
        margin-left: 8px;
        margin-bottom: 8px;
        padding-left: 2px;
    }
    
    #menu_toggle {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        height: 36px;
        line-height: 36px;
        width: 36px;
        font-size: 18px;
        padding: 0;
        text-align: center;
        border-radius: 0 0 8px 0;
        z-index: 9100;
    }
    
    #menu_toggle:before {content: "\f0c9";font-family: 'FontAwesome';}
    
    .menu_toggled #main_menu {display: block;opacity: 1;}
    .menu_toggled #menu_toggle {left: initial; right: 0;border-radius: 0 0 0 8px;}
    .menu_toggled #menu_toggle:before {content: "\f00d";}

    .mod_buttons .wep_toggle span {display: none;}
}

/* Адаптивность для мобильных */
@media only screen and (max-width: 699px) {
    #logo {
        text-align: center;
        margin-top: 8px;
        display: block;
        flex-direction: column;
        min-height: 60px;
    }

    #logo .emblem {
        float: none;
        text-align: center;
        margin-right: 0;
        margin-bottom: 8px;
    }

    #logo .emblem img {
        max-height: 50px;
        width: 50px;
    }

    #logo .title {
        font-size: 1.2em;
    }

    #logo .subtitle {
        font-size: 0.8em;
    }

    #logo .content {
        padding: 2px 10px;
    }

    #header {
        padding: 3px 0 0;
        min-height: 70px;
    }

    #header::before {
        animation-duration: 25s;
    }

    #header .contacts p {
        margin: 1px 5px;
        padding: 3px 8px;
        font-size: 0.8em;
    }
}

@media only screen and (min-width: 992px) {
    #header .contacts {
        margin: 0 0 8px;
        text-align: right;
    }

    #logo .title {
        font-size: 1.5em;
    }

    #logo {
        min-height: 65px;
    }
}

.page_default #header {
    border-bottom: solid 1px rgba(204, 204, 204, 0.3);
}

/* Остальные стили остаются без изменений */
.fs-contact-card {
    max-width: 320px;
    padding: 12px 16px;
    border: 1px solid #0077cc;
    border-radius: 10px;
    background: rgba(0, 119, 204, 0.04);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.fs-contact-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #005fa3;
}

.fs-contact-card i {
    margin-right: 6px;
    color: #0077cc;
    font-size: 14px;
}

.fs-contact-link {
    color: #005fa3;
    text-decoration: none;
    transition: 0.2s;
}

.fs-contact-link:hover {
    text-decoration: underline;
}

.contacts {
    font-size: 15px;
    line-height: 1.6;
}

.contacts i {
    margin-right: 6px;
    color: #0077cc;
}

.contacts a {
    color: #0077cc;
    text-decoration: none;
    transition: 0.2s;
}

.contacts a:hover {
    text-decoration: underline;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.button:hover:before {
    left: 100%;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 143, 196, 0.4);
}

/* ... остальной CSS код остается без изменений ... */

#intro {/* min-height: 300px; */background: #e8f0f6;background-size: cover;}

#main_slider {position: relative; }
#main_slider .owl-main .item {background-position: 25% 50%;background-repeat: no-repeat;background-size: cover;position: relative;max-height: 400px;padding-bottom: 34.25%;/* height: 100%; */}

#main_slider .owl-main .content {position: absolute; left: 0; right: 0; bottom: 0; width: 100%; background-color: rgba(0,0,0,1); color: #eee; padding: 15px; opacity: 0.6; }

#main_slider .owl-main a {color: inherit; }
#main_slider .owl-main h3 {margin: 0 0 5px; font-size: 18px; }
#main_slider .owl-main p {margin: 0; }

#main_slider .owl-nav {position: absolute;top: 50%;margin-top: -32px;left: 0;right: 0;}
#main_slider .owl-nav button {height: 64px;border: none;position:absolute;outline: none;font-size: 64px;line-height: 64px;color: #fff;}
#main_slider .owl-prev {left: 10px;}
#main_slider .owl-next {right: 10px;}

#main_slider .owl-dots {position: absolute;bottom: 5px;right: 25%;padding: 0 15px;}
#main_slider .owl-dot {width: 15px;height: 15px;border-radius: 100%;border: solid 1px #eee;margin: 0 4px;opacity: .75;outline: none;}
#main_slider .owl-dot:hover, #main_slider .owl-dot.active {background: #4c8fc4; }
#main_slider .owl-dot:hover {opacity: 1; }

#main_banner {text-align: center;margin: 0 auto 45px;}
#main_banner .banner {display: inline-block;max-width: 100%;position: relative;color: #111;text-decoration: none;background: #f5f5f5 url(/files/template4/img/tiled_bg.png) repeat 50% 50%;}
#main_banner .banner img {max-width: 100%; max-height: 100%;width: auto; height: auto;}
#main_banner .banner.bg {display: inline-flex; flex-flow: column; align-content: center; justify-content: center; width: 100%;/* min-height: 150px; */background-position: 50% 50%;background-repeat: no-repeat;background-size: cover;}
#main_banner .banner .content {margin: auto;padding: 30px;min-width: 100%;}
#main_banner .banner .annotation {font-weight: 500;font-size: 1.25em;line-height: 1.1;}

#hot_links {margin: 5px 0 15px;}
#hot_links .row {margin: 0; }		
#hot_links .row > div {padding: 0;}
#hot_links .item {display: block;height: 68px;background: #ff5050;margin: 5px 5px; padding: 10px 15px;line-height: 44px;font-size: 24px;text-transform: uppercase;border-radius: 5px;color: #fff;text-decoration: none;opacity: .85;}
#hot_links .item > span {line-height: 1.1em; display: inline-block; vertical-align: middle; }
#hot_links .item:hover {opacity: 1; }
#hot_links .row > div:nth-child(2n+2) .item {background: #f5a71e; }
#hot_links .row > div:nth-child(3n+3) .item {background: #00d048; }
#hot_links .row > div:nth-child(4n+4) .item {background: #47bcf3; }

#main_slider #hot_links {margin: 0; position: absolute;right: 0;top: 0;bottom: 0;z-index: 5;width: 25%;/* padding: 5px; */text-align: right;}
#main_slider #hot_links .row > div {width: 100%; float: none; }
#main_slider #hot_links .item {display: block; height: 77px; line-height: 47px; padding: 15px; }

@media only screen and (max-width: 768px) {
    #intro {background: none; }
    #main_slider #hot_links {width: auto; position: static; text-align: center; }
    #main_slider .owl-nav {right: 0; } 
}

#main {min-height: 50vh; margin: 0 0 30px; }
.page_default #main {border-top: solid 5px #eff3f8; }
/* Горячие новости */
.hot_items .item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    border: 1px solid #e8eef3;
    position: relative;
}

.hot_items .item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Картинка превью */
.hot_items .item .preview {
    display: block;
    padding-bottom: 60%;
    background-color: #cfe9fb;
    background-position: 50% 50%;
    background-size: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: 0.3s;
}
.hot_items .item:hover .preview {
    filter: brightness(0.95);
}

/* Контент */
.hot_items .item .content {
    padding: 18px 20px;
}

/* Дата */
.hot_items .item .date {
    font-size: 0.8em;
    color: #4c8fc4;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}
.hot_items .item .date::before {
    content: "🗓";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9em;
}

/* Заголовок */
.hot_items .item h3 {
    margin: 0 0 10px;
    font-size: 1.05em;
    font-weight: 600;
    line-height: 1.4;
}
.hot_items .item h3 a {
    text-decoration: none;
    color: #222;
    transition: color 0.2s ease;
}
.hot_items .item h3 a:hover {
    color: #4c8fc4;
    text-shadow: 0 0 3px rgba(76, 143, 196, 0.2);
}

/* Аннотация */
.hot_items .item .anno {
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.hot_contacts {padding: 0 0 45px;}
.hot_contacts a {display: inline-block;}

@media only screen and (max-width: 767px) {
    .hot_contacts {text-align: center;}
}

#hot_announcements {margin: 0 auto 0;background: #fff;}
#hot_announcements .item {padding: 10px 0; }
#hot_announcements .item h3 {/* display: inline; */}

#hot_news {margin: 0 0 20px;background: transparent url("/files/template4/img/tiled_bg.png") repeat 50% 50% fixed;}
#hot_news .section_title {margin-bottom: 0; }

#hot_news .read_more {margin-top: 10px; padding: 0 30px; text-align: right;}

.attention {padding: 20px 15px 35px; text-align: center; font-size: 1.2em;border: solid 3px #dfeaf3;margin-bottom: 30px;background: #f2f6fa;font-weight: 600;color: #2062a1;}

#article {padding: 15px 0 30px;word-break: break-word;}
.page_main #article {padding: 30px 0 30px;}

@media only screen and (min-width: 768px) {
    .page_default #article {padding-right: 15px; }
}

.page_title {position: relative;font-size: 2em;margin: 10px auto 20px;}
.page_title:after {height: 1px;position:absolute;display: block;content: "";left: 0;right: 0;background: #ccc;bottom: 0.6em;z-index: -1;}
.page_title h1 {color: #4c8fc4;font-size: 1em;font-weight: 600;background: #fff;display: inline-block;margin: 0;padding-right: 10px;}

.section_title {text-align: center;position: relative;line-height: 1em;border-top: solid 2px #4fadf7;margin-bottom: -15px;}
.section_title h2 {padding: 7px 15px;font-size: 1.15em;text-transform: uppercase;border-radius: 15px;background: #4c8fc4;margin: 0;display: inline-block;color: #fff;position: relative;top: -15px;line-height: 1em;font-weight: 600;text-align: center;min-width: 220px;}

.widget_title {margin: 10px auto 10px;font-size: 1.1em;font-weight: bold;text-transform: uppercase;color: #4c8fc4;}

.section_menu {margin: 0 0 30px; }
.section_menu ul {list-style: none; padding: 0; margin: 0; }
.section_menu li { }

.section_menu a {display: block; line-height: 1.2em; border-radius: 4px; }

.section_menu .level_0 {}
.section_menu .level_0 > li {margin: 0 0 5px;}
.section_menu .level_0 > li > a {padding: 10px 15px;background: #6ab1e8;border-radius: 4px;color: #fff;font-weight: 600;text-transform: uppercase;font-size: .9em;text-decoration: none;}
.section_menu .level_0 > li > a:hover,
.section_menu .level_0 > li.active > a {background: #4c8fc4; }

.section_menu .level_1 {margin: 3px 0 5px;padding: 0 7px;}
.section_menu .level_1 li {margin: 2px 0 2px;}
.section_menu .level_1 li > a {padding: 7px 10px;background: transparent url("/files/template4/img/tiled_bg.png") repeat 50% 50% fixed;font-size: .9em;color: #4c8fc4;}
.section_menu .level_1 li > a:hover {background: #c6eeff;color: #555;}

.section_menu .level_1 li.active > a {font-weight: 600;}

.section_menu .level_1 ul li {margin-left: 10px;}

.section_menu .level_2 li > a {padding: 5px 10px;font-size: .8em;}

.section_tiles {text-align: center; }
.section_tiles .item_wrapper {margin-bottom: 30px;}
.section_tiles .item {padding: 10px 10px 15px;background: #eee;height: 100%;}
.section_tiles .item:hover {background: #c6eeff;}
.section_tiles .preview {margin-bottom: 10px;}

.pagination {text-align: center;display: block;margin: 15px 0;padding: 0 15px;}
.pagination span {display: inline-block;line-height: 28px;height: 28px;width: 28px;border-radius: 4px;overflow:  hidden;vertical-align: top;margin: 0 2px;}
.pagination a:hover {background: #6ab1e8;color: #fff;}
.pagination .page_hidden {background: none;}
.pagination span a {color: inherit; display: block; text-decoration: none; }
.pagination .page_current {background: #4c8fc4;color:  #fff;}

#important_pages {text-align: center;margin-bottom: 10px;}
#important_pages ul {list-style: none; margin: 0; padding: 0; }
#important_pages li {display: inline-block;position: relative;border-right: solid 1px #dbd9d9;}
#important_pages a {display: block;padding: 10px 15px; text-decoration: none; color: #555; }
#important_pages a:hover {background: #ecf7fb; }

#important_pages li:before {content: "";display: block;position: absolute;width: 7px;background: #9ed6ed;height: 7px;border-radius: 100%;left: 100%;top: 50%;margin-top: -3px;margin-left: -3px;border: solid 1px #dbd9d9;z-index: 1;}
#important_pages li:last-child {border-right: none; }
#important_pages li:last-child:before {content: none; }

#employee_slider {padding: 0 30px;}
#employee_slider .item {position: relative; }
#employee_slider .item strong {display: block;margin: 5px 0 5px;}
#employee_slider .preview {display: block;height: 100px;width: 100px;float: left;}
#employee_slider .preview img {height: 100px;width: auto;display: inline-block;vertical-align: middle;border-radius: 10px;}

#employee_slider .content {display: block; line-height: 100px; padding: 0 10px; overflow: hidden; }
#employee_slider .content > span {display: inline-block;vertical-align: middle;line-height: 1em;}

#employee_slider .owl-nav {position: absolute;left: -20px;right: -20px;top: 50%;margin-top: -15px;}
#employee_slider .owl-nav button {display: block;height: 50px;text-align: center;position: absolute;font-size: 50px;line-height: 50px;left: 0;outline: none;color: #9ed6ed !important;}
#employee_slider .owl-nav .owl-next {right: 0; left: initial; }

.entry {padding: 0 0 30px; overflow-x: auto;}
.entry .anno {margin: 0 auto 20px; border-bottom: 1px solid #cccccc; font-style: oblique; padding: 15px 0 15px;}

.entry img {max-width: 100%; height: auto; }
.entry img[align="left"] {float: left; margin: 10px 10px 10px 0;}
.entry img[align="right"] {float: right; margin: 10px 0 10px 10px;}

.entry iframe {max-width: 100%; border: none;}

.spoiler {}
.spoiler_toggle {display: block;padding: 10px 15px;background: #6ab1e8;border-radius: 4px;cursor: pointer;text-decoration: none;color: #fff;}

.spoiler_caption h3 {margin: 0; font-size: 1.2em; }
.spoiler_content .spoiler_toggle {display: inline-block;}
.spoiler_content {display: none; }
.spoiler_content .body {background: #f8fafc;border-radius: 0 0 4px 4px;padding: 15px 15px 15px;}

.spoiler_slideup {padding-top: 5px;text-align: right;}

.spoiler.opened .spoiler_caption .spoiler_toggle, 
.spoiler_toggle:hover {background: #4c8fc4;color: #fff;text-decoration: none;}

.nav-tabs {clear: both;text-align: left;margin: 0;padding: 0;}
.nav-tabs > li {display: inline-block;line-height: 1.1em;vertical-align:  bottom;}
.nav-tabs > li > a {color: inherit;display: block;line-height: 1.1em;padding: 5px 15px;text-decoration: none;border-radius: 4px 4px 0 0;border-color: #4c8fc4;}

.nav-tabs > li > a:hover {background: #edf2f6;}
.nav-tabs > li.active > a {padding: 5px 15px;background-color: #4c8fc4;color: #fff;}

.tab-content {border-top: solid 2px #4c8fc4;padding: 15px 15px 30px;}
.tab-content > .tab-pane {display: none;}
.tab-content > .active {display: block;}

@media screen and (max-width: 991px) {
    .nav-tabs {display: flex;flex-flow: column;flex-direction: column;margin-bottom: 10px;}
    .nav-tabs > li {display: block;clear: both;width: 100%;order: 0; }
    .nav-tabs li + li {margin-top: 4px;}
    .nav-tabs > li > a {border-radius: 5px;border-left-width: 3px;padding-left: 12px;border-left-style: solid;}

    .nav-tabs > li.active {order: 1; margin-top: 5px;}
    .nav-tabs > li.active > a {padding: 8px 15px; border-left-width: 0;}

    .tab-content {padding-left: 0; padding-right: 0;}
}

.gallery {overflow: hidden; }
.gallery > .item {display: block; float: left; margin: 5px; position: relative; overflow: hidden; }
.gallery > .item > span {opacity: 0; position: absolute; bottom: 0; left: 0; right: 0; height: 22px; line-height: 22px; background: rgba(34, 101, 164, 0.75); color: #ccc; font-size: 14px; overflow: hidden; text-align: center;
    transition: opacity 0.3s ease-in; }
.gallery > .item:hover > span {opacity: 1; }

.archive_header {margin: 1.5em 0 1em; }
.archive_header.item {overflow: hidden; padding: 15px 0; }
.archive_list .item {overflow: hidden; margin-bottom: 30px; }
.archive_list .item h3 {margin-top: 0;  }
.archive_list .item .preview {display: block; float: left; background-position: 50%; background-repeat: no-repeat; background-size: cover; width: 96px; height: 96px; margin-right: 15px; }

.archive_header > span,
.archive_header > a
{display: inline-block; line-height: 32px; padding: 0 0.4em; margin-right: 0.3em; }

.archive_header > span	{font-weight: 600; background-color: #f5f5f5; }
.archive_header > a:hover {background-color: #4c8fc4; }

.archive_header .MapTabs {border-bottom: solid 2px #4c8fc4;}
.archive_header .MapTabs .tabSelect {font-weight: 600;background-color: #4c8fc4;color: #fff;}
.archive_header .MapTabs span {display: inline-block;line-height: 32px;padding: 0 7px;margin-right: 2px;cursor: pointer;}

.archive_header .MapTabsBody {}
.archive_header .MapTabsBody > span {line-height: 32px; margin-right: 0.3em; }

.archive_header .MapTabsBody > span > span {display: inline-block;padding: 0 7px;background-color: #6ab1e8;color: #fff;}
.archive_header .MapTabsBody > span > a {display: inline-block; text-decoration: underline; padding: 0 0.4em; }
.archive_header .MapTabsBody > span > a:hover {text-decoration: none;background-color: #edf2f6;}

.spoiler .content {display: none; }

.item_card {overflow: hidden; padding: 15px 0; }
.item_card h3 {margin-top: 0; }
.item_card .preview {display: block;float: left;background-position: 50%;background-repeat: no-repeat;background-size: contain;width: 96px;height: 96px;margin-right: 15px;margin-bottom: 15px;}
.item_card .content {}
.item_card .button {margin-top: 10px;}

.person .preview {margin: 0 auto 30px;}

.guestbook_post {padding: 15px 0 15px;border-bottom: dotted 1px #ccc;}
.guestbook_post h3 {margin-top: 0; }
.guestbook_post .date {font-size: 0.9em; color: #777; }

.guestbook_post .message {}
.guestbook_post .reply {margin: 15px auto;margin-left: 15px;padding: 5px 10px;border-left: 4px solid  #ccc;font-size: 0.9em;font-style: oblique;}
.guestbook_post .reply p:last-child {margin-bottom: 0;}

.page_share_buttons {padding-top: 12px;border-top: 1px solid #eff3f8;margin-top: 30px;}

button, .button {color: #fff;background: #4c8fc4;padding: 8px 14px;font-size: 12px;line-height: 12px;display: inline-block;text-decoration: none;text-transform: uppercase;border: none;cursor: pointer;}
button:hover, .button:hover {background: #6ab1e8;text-decoration: none;}
a.button {color: #fff;}

.ww_form {list-style-type: square; padding: 15px; }
.ww_form li {padding: 15px 0; border-bottom: dotted 2px #ccc; clear: both; color: #4c8fc4; }
.ww_form li > * {color: #222; }
.ww_form li:last-of-type {border-bottom: none; }

.ww_form label {display: block; margin: 0; }

.ww_form input[type="text"],
.ww_form input[type="email"],
.ww_form select,
.ww_form textarea {border: solid 2px #bbb; line-height: 1.6em;  }

.ww_form input[type="text"]:focus,
.ww_form input[type="email"]:focus,
.ww_form select:focus,
.ww_form textarea:focus {border-color: #4c8fc4; }

.ww_form input[type="text"],
.ww_form input[type="email"],
.ww_form select,
.ww_form textarea,
.ww_form .Captcha {width: 100%; font-size: 0.8em; max-width: 100%; padding: 0 0.2em; min-height: 28px; }

.ww_disabled {opacity: .5; pointer-events: none;}

[data-bind="u"] {display: none; }
[field="captcha"] {display: block; width: 100%; clear: both; margin-top: 15px;  }

@media (min-width: 768px) {
    .ww_form input[type="text"],
    .ww_form input[type="email"],
    .ww_form select {min-width: 350px; width: 50%; }
}

#sidebar {padding: 0 0;margin: 0 -15px;}
.page_default #sidebar {padding-top: 15px; }

.attention_banners {padding: 0;margin: 0 0 30px;}
.attention_banners .item {clear: both;position: relative;display: block;text-decoration: none;margin: 14px 0 14px;min-height: 60px;color: #333;}
.attention_banners .preview {position: absolute;left: 0;top: -10px;height: 78px;line-height: 64px;text-align: center;width: 78px;background: #9ed6ed;border-radius: 100%;display: inline-block;border: solid 7px #fff;font-size: 28px;vertical-align: middle;color: #fff;}
.attention_banners .content {vertical-align: middle;display: block;line-height: 38px;margin-left: 32px;padding: 10px;padding-left: 52px;background: transparent url("/files/template4/img/tiled_bg.png") repeat 50% 50% fixed;border-radius: 2px;height: 58px;overflow: hidden;}
.attention_banners .content > span {display: inline-block; line-height: 1.2em; }

.attention_banners .item:hover .preview {color: #fff;background-color: #4c8fc4;}
.attention_banners .item:hover .content {background: #9ed6ed; }

#sidebar .box {padding: 15px 15px 15px;margin-bottom: 15px;}

.new_items {}
.new_items ul {margin: 0;color: #555555;padding-left: 25px;list-style-type: square;}

.rss_news {background: #f8fafc; }
.rss_news .item {font-size: .9em;line-height: 1em;margin: 0 0 15px; word-break: break-word;}

.poll {}
.poll_answers {line-height: 1em; }
.poll_answers label {font-weight: normal; clear: both; display: block; }
.poll_answers input {display: inline-block; margin-right: 3px; }
.poll .poll_submit {margin-top: 15px;}

#footer {min-height: 300px; padding: 25px 0 30px; background: transparent url("/files/template4/img/tiled_bg.png") repeat 50% 50%; }
#footer ul {padding-left: 15px; }
#footer ul a {color: #999; font-weight: bold; }

#footer .bonus {text-align: right; }

#last_mod {margin-top: 5px; font-size: .9em; opacity: .75;}

.social_networks {margin: 0 auto 15px;}
.social_networks a {display: inline-block;width: 26px;height: 26px;line-height: 26px;color: inherit;font-size: 20px;text-align: center;opacity: .75;color: #1F62A1;}
.social_networks a:hover {opacity: 1; }

.owl-banners {}
.owl-banners.owl-carousel {padding: 0 25px; overflow: hidden;}
.owl-banners .item {}
.owl-banners .item img {width: auto;display: inline-block;vertical-align: middle;max-width: 100%;max-height: 100%;height: auto;}

.owl-banners .owl-nav {position: absolute;left: 0;right: 0;top: 50%;margin-top: -25px;}
.owl-banners .owl-nav button {display: block;height: 50px;text-align: center;position: absolute;font-size: 50px !important;line-height: 50px !important;left: 0;outline: none;color: #4c8fc4 !important;}
.owl-banners .owl-nav .owl-next {right: 0; left: initial; }

.owl-banners .owl-nav button:hover {}

#banners_slider {margin: 15px 0 30px;}
#banners_slider .owl-carousel {height: 60px; }
#banners_slider .item {line-height: 60px; }
#banners_slider .item img {max-height: 60px; }

#own_banners_slider {margin: 0 0 45px;}
#own_banners_slider .owl-carousel {height: 60px; }
#own_banners_slider .item {line-height: 60px; }
#own_banners_slider .item img {max-height: 60px; }

.popup_layer {display: block;text-align: center;position: fixed;top: 0;left: 0;right: 0;bottom: 0;background: rgba(0,0,0,.3);font-size: 0;z-index: 2100;}
.popup_layer:before {content: "";display: inline-block;width: 0;height: 100%;vertical-align: middle;}

.popup_layer .popup_window {display: inline-block;vertical-align: middle;width: 100%;font-size: 1rem;max-width: 600px;background: #fff;padding: 15px;position: relative;text-align: left;box-shadow: 0 2px 20px 4px rgba(0,0,0,.5);}
.popup_layer .popup_window .caption {margin: -15px -15px 15px;height: 40px;background: #508fc2;position: relative;text-align: left;padding: 0 20px;line-height: 40px;}
.popup_layer .popup_window .caption .close {display: block;color: #fff;width: 30px;height: 30px;position: absolute;right: 5px;top: 5px;line-height: 30px;opacity: 1;font-weight: 400;text-align: center;}

.popup_layer .popup_window .title {font-weight: 600;font-size: 1em;color: #fff;padding-right: 30px;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;}
.popup_layer .popup_window .content {padding: 5px 5px 5px;}

body {top: 0 !important;}
#google_translate_element,
.skiptranslate,
.goog-te-banner-frame {display: none !important;}

#scroll_up_button {position: fixed;bottom: 30px;right: 30px;display: none;width: 42px;height: 42px;font-size: 26px;background: #ffffff;color: #4c8fc4;line-height: 34px;opacity: 0.5;padding: 0;text-align: center;cursor: pointer;z-index: 999;border-radius: 8px;border: solid 2px #9ed7ed;}
#scroll_up_button:hover {opacity: 1;transition: opacity 0.5s ease;color: #fff;background: #9ed7ed;}

.wrapper {position: absolute; height: 100%; width: 100%; top: 0; left: 0; }

.no-gutter {margin-right: auto; margin-left: auto; }

.container.row,
[class^="col-"].row,
.no-gutter > [class*="col-"] {padding-left: 0; padding-right: 0; margin-left: auto; margin-right: auto; }

.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}

@media screen and (min-width: 768px) {
    .no-gutters [class*="col-"] {padding: 0; }
}

@media (max-width: 768px) {
    .no-gutter > [class*="col-"] {padding-right: 5px; padding-left: 5px; }
}

.tbl {border-collapse: collapse; border-spacing: 0; margin: 0.5em auto; vertical-align: middle; max-width: 100%;word-break: initial;}
.tbl thead td, .tbl th {background-color: #4c8fc4;border: 1px solid #165686;padding: 8px 6px;color:#fff;}
.tbl caption {margin-bottom: 5px;}

.tbl tr:nth-of-type(even) {background-color: #E2F3FF;}

.tbl td {border:1px solid #165686; border-bottom-width: 1px; padding: 5px;}

.tbl tr:hover {background:#F7F1C8;}
.tbl tr:hover td:hover {background: #FFF9E8;color: #000;}

.button, .hot_links .item, .attention_banners .item, #main_menu a {
    transition: all 0.3s ease-in-out;
}

#hot_links .item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.hot_items .item, .section_tiles .item {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.hot_items .item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(76, 143, 196, 0.25);
    border-color: #4c8fc4;
}

.hot_items .item .preview:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(76, 143, 196, 0.1), rgba(76, 143, 196, 0.05));
    z-index: 1;
}

.hot_items .item .news-icon {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    background: #4c8fc4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    box-shadow: 0 5px 15px rgba(76, 143, 196, 0.3);
    z-index: 2;
}

@media (max-width: 768px) {
    .hot_items .item {
        margin-bottom: 20px;
    }
    
    .hot_items .item .content {
        padding: 20px;
    }
    
    .hot_items .item h3 {
        font-size: 1.2em;
    }
    
    .hot_items .item:hover {
        transform: translateY(-5px);
    }
}

.hot_items .item .preview {
    transition: transform 0.5s ease;
}

.hot_items .item:hover .preview {
    transform: scale(1.05);
}

table {
    border-collapse: collapse;
    width: 100%;
}

table tr {
    transition: all 0.3s ease;
}

table tr:hover {
    background-color: #e6f3ff;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
}

div[style*="transition"] {
  cursor: pointer;
}
div[style*="transition"]:hover {
  background: #eef6ff;
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}































/* === Современные карточки услуг === */
.services-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.entry {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5edf5;
  box-shadow: 0 3px 10px rgba(76, 143, 196, 0.08);
  padding: 22px 24px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.entry:hover {
  transform: translateY(-5px);
  border-color: #4c8fc4;
  box-shadow: 0 8px 20px rgba(76, 143, 196, 0.15);
}

/* Аннотация */
.entry .anno {
  font-weight: 600;
  color: #004d99;
  margin-bottom: 10px;
  font-size: 1.05em;
}

/* Список параметров */
.entry ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.entry ul li {
  padding: 5px 0;
  font-size: 0.95em;
  color: #333;
  border-bottom: 1px dashed #e1e9f2;
}

.entry ul li:last-child {
  border-bottom: none;
}

/* Основной контент */
.entry .content {
  font-size: 0.95em;
  color: #444;
  line-height: 1.5;
  margin-top: 8px;
}

/* Галерея */
.entry .gallery {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.entry .gallery .item {
  display: block;
  width: calc(33.333% - 6px);
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
}

.entry .gallery .item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.entry .gallery .item:hover img {
  transform: scale(1.05);
}

/* Адаптивность */
@media (max-width: 768px) {
  .entry {
    padding: 16px;
  }
  .entry .gallery .item {
    width: calc(50% - 4px);
  }
}


/* === СТИЛЬНЫЕ КАРТОЧКИ УСЛУГ === */
.entry {
    background: #fff;
    border: 1px solid #e1ecf4;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(76, 143, 196, 0.08);
    padding: 20px 25px;
    margin: 20px 0;
    transition: all 0.3s ease;
    position: relative;
}

.entry:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(76, 143, 196, 0.15);
    border-color: #bcdaf4;
}

/* Заголовок или аннотация */
.entry .anno {
    font-size: 1.15em;
    font-weight: 600;
    color: #004d99;
    border-left: 4px solid #4c8fc4;
    padding-left: 12px;
    margin-bottom: 12px;
    line-height: 1.4em;
}

/* Список данных */
.entry ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.entry ul li {
    font-size: 0.95em;
    color: #333;
    padding: 6px 0;
    border-bottom: 1px dashed #e3eef6;
    line-height: 1.4em;
}

.entry ul li:last-child {
    border-bottom: none;
}

/* Вспомогательный контент */
.entry .content {
    margin-top: 15px;
    font-size: 0.95em;
    line-height: 1.6em;
    color: #444;
}

/* Галерея внутри карточки */
.entry .gallery {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.entry .gallery .item {
    display: block;
    width: 160px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entry .gallery .item img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.entry .gallery .item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(76, 143, 196, 0.3);
}

.entry .gallery span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(76, 143, 196, 0.75);
    color: #fff;
    font-size: 0.8em;
    padding: 4px 6px;
    text-align: center;
}

/* Анимация появления */
.entry.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.entry.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

