/*
font-family: 'Golos Text', sans-serif;
*/

body,html { font-family: 'Golos Text', 'Arial', sans-serif; font-size: 16px; color: #0f294e; font-weight: 400; background-color: #fff; }

@media (max-width: 1359px) { 
    body,html { font-size: 14px; }
}

.tmpl-site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.main-content { flex-grow: 1; }

.debug { background: RGBa(0,0,0,0.2); outline: 1px dotted #FF0000; }

.mb { margin-bottom: 40px !important; }

.container { padding: 0; position: relative; }

@media (max-width: 1919px) {
    .row { margin-left: -12px; margin-right: -12px; }
    .row > [class^="col-"], .row .col { padding-left: 12px; padding-right: 12px; }
    .mb { margin-bottom: 24px!important; }
}
@media (max-width: 1359px) {
    .row { margin-left: -8px; margin-right: -8px; }
    .row > [class^="col-"], .row .col { padding-left: 8px; padding-right: 8px; }
    .mb { margin-bottom: 24px!important; }
}
@media (max-width: 767px) {
	.row { margin: 0; }
	.container.page { padding-left: 8px; padding-right: 8px; }
	.row .col, .row > [class^="col-"] { padding-left: 0; padding-right: 0; }
}

a { text-decoration: none; color: #2d4c78; }
a:hover { text-decoration: none; color: #102a4f; }
p { margin: 0 0 12px 0; }

.module-letters #sendForm .field input[type="radio"] + label:before, 
.module-letters #sendForm .field input[type="checkbox"] + label:before { margin-bottom: -1px; }
.module-letters .letter-button,
.module-letters #sendForm .file-upload { background-color: #0050b2; color: #fff !important; }
.module-letters .letter-button.active { background-color: #0050b2; }

/* polls */
.plg-polls .plg-answer input[type="checkbox"] + label:hover:before { background:  #0050b2; }
.plg-polls .plg-answer input[type="checkbox"]:checked + label:before { background:  #0050b2; box-shadow: 0 0 0 2px #0050b2; }
.plg-polls .plg-answer input[type="checkbox"]:checked + label { color: #0050b2; }
.plg-polls .plg-answer.result .result-line { background-color: #c1d3ea; }
.plg-polls .plg-button { background-color:  #0050b2; border-radius: 0; }
.plg-polls .plg-button:hover { background-color: #4e8ad3;}




/* HEADER LINE -------------------------------------------------------------- */

.tmpl-header-line { position: relative; background-color: #f4f7fb; color: #0f294e; line-height: 1.2; font-weight: 400; font-size: .9rem; }
.tmpl-header-line .row > * { height: 54px; display: flex; align-items: center; position: relative; }
.tmpl-sites a { display: flex; align-items: center; }
.tmpl-sites .img-wrap { display: block; }
.tmpl-sites .img-wrap svg { height: 20px; margin-right: 10px; }
.tmpl-sites .img-wrap path { fill: #91a8c7; }

.tmpl-social > div { display: flex; }
.tmpl-social a { display: flex; width: 20px; height: 20px; margin: 0 8px; }
.tmpl-social a > img { height: 100%; width: 100%; object-fit: contain; flex-shrink: 0; opacity: .6; }
.tmpl-social a:hover > img { opacity: 1; } 

.tmpl-version { color: #333333; gap: 12px; }
.tmpl-version:hover { color: #0050b2; }
.tmpl-version .switch-view { position: relative; flex-shrink: 0; width: 28px; height: 16px; background-color: #0050b2; border-radius: 9px; cursor: pointer; transition: 0.3s; }
.tmpl-version .switch-view::after {  position: absolute; top: 1px; left: 1px; right: 1px; bottom: 1px; transition: inherit; content: ""; width: 14px; height: 14px; background-color: #fff; border-radius: 50%; }

@media (max-width: 1919px) {
    .tmpl-header-line .row > * { height: 50px; }
    .tmpl-social a { width: 18px; height: 18px; }
}
@media (max-width: 1359px) {
    .tmpl-version .switch-view { border-radius: 7px; width: 24px; height: 14px; }
    .tmpl-version .switch-view::after { width: 12px; height: 12px; }
}
@media (max-width: 1023px) {}
@media (max-width: 767px) {}


.tmpl-sites .sites-menu { display: none; position: absolute; top: 100%; z-index: 1100; padding-top: 15px; width: 350px; }
.tmpl-sites .sites-menu .wrapper { background-color: #ebf3ff; color: #fff; position: relative; border-radius: 10px; }
.tmpl-sites .sites-menu .wrapper:after { bottom: 100%; left: 20%; border: solid transparent; content: ""; height: 0; width: 0; position: absolute; pointer-events: none; border-bottom-color: #ebf3ff; border-width: 12px; }
.tmpl-sites .sites-menu a { display: block; padding: 10px 15px; border-bottom: 1px solid rgba(255,255,255, .2); line-height: 1; font-size: .9rem; color: #0252a8;  }
.tmpl-sites .sites-menu a:hover { opacity: .8; }
.tmpl-sites .sites-menu a:last-of-type { border-bottom: none; }

@media (max-width: 1919px) {
    .tmpl-sites .sites-menu { width: 330px; }
    .tmpl-sites .sites-menu { padding-top: 12px; }
    .tmpl-sites .sites-menu .wrapper:after { border-width: 10px; }
}
@media (max-width: 1359px) {
    .tmpl-sites .img-wrap img { height: 20px; }
    .tmpl-sites .sites-menu { width: 230px; }
    .tmpl-sites .sites-menu { padding-top: 10px; }
    .tmpl-sites .sites-menu .wrapper:after { border-width: 8px; }
}



/* HEADER -------------------------------------------------------------- */

.tmpl-header { position: relative; padding: 20px 0; height: 155px; background-color: #292b78; }
.tmpl-header .row { flex-wrap: nowrap; }
.tmpl-header-bg {
    position: absolute;
    top: -20px;
    bottom: -20px;
    left: 0;
    width: 300px;
    background-image: url(/images/medved.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 230px auto;
}
.tmpl-sitename-block {
    display: flex;
    align-items: center;
    margin-left: 270px;
}
.tmpl-sitename-block .tmpl-logo { position: relative; }
.tmpl-sitename-block .tmpl-logo img { max-width: 95px; max-height: 95px; margin-right: 20px; }
.tmpl-sitename-block .tmpl-sitename {
    color: #fff;
    line-height: 1.2;
    font-weight: 400;
    position: relative;
    font-size: 1.625rem;
    text-transform: none;
    color: #fff;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
}
.tmpl-sitename-block .tmpl-sitename a { color: inherit; }
.tmpl-sitename-block .tmpl-sitename .tmpl-small {
    color: rgba(255,255,255,.9);
    /*font-size: 1.3rem;*/
    text-transform: none;
    /*font-weight: 400;*/
}

.tmpl-button {
    font-size: .9rem;
    font-weight: 500;
    color: #fff;
    /*background-color: #ffcdc1;*/
    background-color: #292b78;
    text-transform: uppercase;
    display: flex;
    border-radius: 10px;
    padding: 15px 20px 15px 70px;
    min-width: 160px;
    width: 100%;
    text-align: left;
    line-height: 1.2;
    background-image: url(/images/ico-message-w.svg);
    background-repeat: no-repeat;
    background-position: left 25px center;
    background-size: 24px;
    margin: 6px 0;
}
.tmpl-button:hover { background-color: #ffbfaf; }


@media (max-width: 1919px) {}
@media (max-width: 1359px) {
    .tmpl-header { height: 145px; }
    .tmpl-header-bg {
        background-size: 200px auto;
    }
    .tmpl-sitename-block {
        margin-left: 240px;
    }
    .tmpl-sitename-block .tmpl-logo img { max-width: 80px; max-height: 80px; margin-right: 15px; }
    .tmpl-sitename-block .tmpl-sitename { font-size: 1.3rem; }
    .tmpl-button { padding: 15px 20px 15px 50px; background-size: 20px; background-position: left 15px center; }
}
@media (max-width: 1023px) {
    .tmpl-header { height: auto; }
    .tmpl-sitename-block { margin-left: 0; }
}
@media (max-width: 767px) {
    .tmpl-header .row { flex-wrap: wrap; }
    .tmpl-sitename-block { flex-direction: column; }
    .tmpl-sitename-block .tmpl-logo img { margin-right: 0; margin-bottom: 15px; }
    .tmpl-sitename-block .tmpl-sitename { text-align: center; margin-bottom: 20px; }
}


/* MENU-MAIN -------------------------------------------------------------- */

.tmpl-menu-main-wrapper { }
.tmpl-menu-main { position: relative; display: flex; align-items: center; background-color: #f4f7fb; border-radius: 10px; transition: background-color; transition-duration: .3s; }
.tmpl-menu-main.hover { background-color: #ebf3ff; }

.tmpl-menu-main .tmpl-search-link { flex-shrink: 0; width: 64px; height: 64px; background-image: url("/images/ico-menu-search.svg"); background-repeat: no-repeat; background-position: center; cursor: pointer; transition: .2s; }
.tmpl-menu-main .tmpl-search-link:hover { opacity: .85; }
.tmpl-menu-main .navbar {
    padding: 0;
    position: static !important;
    width: 100%;
}

.tmpl-menu-main ul.navbar-nav {
    width: 100%;
}
.tmpl-menu-main ul.navbar-nav > li { position: static !important; flex-grow: 1; margin: 0 8px; }

.tmpl-menu-main ul.navbar-nav > li > a {
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: #0252a8 !important;
    font-size: 1rem;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    line-height: 1.1;
    height: 64px;
    padding: 0 16px;
    cursor: pointer;
}
.tmpl-menu-main ul.navbar-nav > li.submenu-exist > a { padding-right: 20px; }
.tmpl-menu-main ul.navbar-nav > li.submenu-exist > a::after {
    position: relative;
    margin-left: 8px;
    margin-top: 2px;
    font-family: 'Font Awesome 5 Free';
    content: "\f107";
    font-weight: 700;
    font-size: .66rem;
}

.tmpl-menu-main .dropdown-menu { /*clip: rect(auto, auto, 0, auto); transition-property: clip; transition-duration: .7s; transition-timing-function: linear;*/ background-color: #ebf3ff; display: block; visibility: hidden; opacity: 0; padding: 0; margin: 0; transition: 0.3s; position: absolute; top: 90%; left: 0; right: 0; float: left; border: none; padding: 8px 0; border-bottom: 10px solid #ebf3ff; font-size: .92rem; z-index: 99; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; }
.tmpl-menu-main .navbar-collapse .dropdown:not(.onMobile):hover > a { opacity: .8; }
.tmpl-menu-main .navbar-collapse .dropdown:not(.onMobile):hover > .dropdown-menu { /*clip: rect(auto, auto, 20rem, auto);*/ visibility: visible; opacity: 1; transform: translateZ(0); }
.tmpl-menu-main .dropdown-menu > li.dropdown-item { display: inline-block; width: 33%; padding: 0 16px; vertical-align: top; }
.tmpl-menu-main .dropdown-menu > li.dropdown-item > a { position: relative; display: block; text-align: left; color: #0252a8; padding: 12px; cursor: pointer; border-bottom: 1px dashed #d9e1ea; white-space: normal; line-height: 1.1; }
.tmpl-menu-main .dropdown-menu > li.dropdown-item:hover { background-color: #ebf3ff; }

.tmpl-menu-main button.navbar-toggler { border-radius: 0; padding: 0; border: none;}
.tmpl-menu-main button.navbar-toggler:focus { outline: none; }
.tmpl-menu-main button.navbar-toggler .nav-icon-wrapper { display: flex; align-items: center; justify-content: center; height: 64px; width: 64px; }
.tmpl-menu-main button.navbar-toggler .nav-icon { width: 30px; height: 24px; position: relative; cursor: pointer; display: inline-block; }
.tmpl-menu-main button.navbar-toggler .nav-icon span { background-color: #0252a8; position: absolute; border-radius: 2px; transition: .3s cubic-bezier(.8, .5, .2, 1.4); width: 100%; height: 4px; }
.tmpl-menu-main button.navbar-toggler .nav-icon span:nth-child(1) { top: 0; left: 0; }
.tmpl-menu-main button.navbar-toggler .nav-icon span:nth-child(2) { top: 10px; left: 0; opacity: 1; }
.tmpl-menu-main button.navbar-toggler .nav-icon span:nth-child(3) { bottom: 0; left: 0; }
.tmpl-menu-main button.navbar-toggler[aria-expanded="true"] .nav-icon span:nth-child(1) { transform: rotate(45deg); top: 10px; transition-delay: 50ms; }
.tmpl-menu-main button.navbar-toggler[aria-expanded="true"] .nav-icon span:nth-child(2) { opacity: 0; }
.tmpl-menu-main button.navbar-toggler[aria-expanded="true"] .nav-icon span:nth-child(3) { transform: rotate(-45deg); top: 10px; transition-delay: 50ms; }

.tmpl-menu-main .navbar-brand { color: #0252a8; text-transform: uppercase; flex: 1; height: 64px; align-items: center;padding: 0; margin: 0;}


@media (max-width: 1919px) {
    .tmpl-menu-main ul.navbar-nav > li > a { padding: 0 10px; }
    .tmpl-menu-main ul.navbar-nav > li.submenu-exist > a { padding-right: 15px; }
}
@media (max-width: 1023px) {
    .tmpl-menu-main.hover { background-color: #f4f7fb; }
    .tmpl-menu-main .tmpl-search-link { width: 50px; height: 50px; border-right: 1px dotted #8a949e;  }
    .tmpl-menu-main .navbar { width: 100%; }
/*    .tmpl-menu-main ul.navbar-nav { padding-bottom: 1.2rem; }*/
    .tmpl-menu-main ul.navbar-nav > li > a { height: auto; height: 48px; /*color: #fff !important;*/ }
    .tmpl-menu-main ul.navbar-nav > li.submenu-exist > a::after { /*top: 16px;*/ }
    .tmpl-menu-main .dropdown-menu { background-color: #f4f7fb; position: static; display: none; visibility: visible; opacity: 1; width: 100%; transform: translateZ(0); border: none; margin-left: 0; margin-right: 0; }
    .tmpl-menu-main .dropdown-menu.show { display: block; }
    .tmpl-menu-main .dropdown-menu::after { /*left: 32px;*/ display: none; }
    .tmpl-menu-main .dropdown-menu .dropdown-item { margin: 0 !important; white-space: normal; width: 100% !important; }
    .tmpl-menu-main .dropdown-menu .dropdown-item:hover,
    .tmpl-menu-main .dropdown-menu .dropdown-item:focus { background-color: RGBa(255,255,255,0.2); }
    .tmpl-menu-main .dropdown-menu > li.dropdown-item > a { padding: 12px 0; }
}


/* GLAVA BLOCK ------------------------------------ */

.tmpl-glava { border: 1px solid #d7e0ec; border-radius: 10px; padding: 25px; line-height: 1.2; }
.tmpl-glava img { width: 100%; object-fit: cover; margin-bottom: 20px; }
.tmpl-glava h2 { font-size: 1.4rem; color: #0050b2; font-weight: 500; }
.tmpl-glava h3 { font-size: 1.1rem; color: #333333; flex: 1; margin-bottom: 20px; font-weight: 300; }
.tmpl-glava .tmpl-button { width: auto; flex-grow: 1; }
.tmpl-glava .tmpl-button.v2 { background-color: #f4f7fb; background-image: url(/images/ico-calendar.svg); color: #0050b2; }
.tmpl-glava .tmpl-button.v2:hover { background-color: #ebf3ff; }

@media (max-width: 1919px) {
    .tmpl-glava { padding: 16px; }
    .tmpl-glava .tmpl-button.v2 { padding: 15px 15px 15px 50px; background-position: left 15px center; background-size: 20px; font-size: .85rem; }
}
@media (max-width: 1359px) {
    .tmpl-glava { padding: 10px; }
    .tmpl-glava img { margin-bottom: 20px; }
    .tmpl-glava h2, .tmpl-glava h3, .tmpl-glava .tmpl-button { margin: 0 10px; margin-bottom: 10px; }
}
@media (max-width: 1023px) {
    .tmpl-glava img { max-width: 400px; }
}
@media (max-width: 767px) {
    .tmpl-glava img { max-width: 100%; }
}


/* LEFT MENU ------------------------------------ */

.tmpl-leftmenu { background-color: #f4f7fb; border-radius: 10px; padding: 16px; }
.tmpl-leftmenu ul { list-style-type: none; padding: 0; margin: 0; }
.tmpl-leftmenu > ul > li > a { display: block; position: relative; line-height: 1.2; font-weight: 400; color: #0252a8; padding: 16px 40px 16px 16px; border-bottom: 1px dashed #d9e1ea; }
.tmpl-leftmenu > ul > li > a .arrow { position: absolute; right: 0; bottom: 0; top: 0; width: 40px; background: url(/images/arrow-down.svg) no-repeat center right 10px; background-size: 9px; }
.tmpl-leftmenu > ul > li > a .arrow.wide { width: 100%; }
.tmpl-leftmenu > ul > li > a .arrow.up { background-image: url(/images/arrow-up.svg); }
.tmpl-leftmenu > ul > li > a .arrow:hover { cursor: pointer; }
.tmpl-leftmenu > ul > li:last-of-type > a { border-bottom: none; }

.tmpl-leftmenu > ul > li > a:hover, .tmpl-leftmenu > ul > li > a.hover, .tmpl-leftmenu > ul > li.indirectly-active > a, .tmpl-leftmenu > ul > li.directly-active > a { background-color: #ebf3ff; }

.tmpl-leftmenu ul ul { display: none; padding: 15px 0; margin: 0; border-bottom: 1px dashed #d9e1ea; }
.tmpl-leftmenu ul ul > li > a { display: block; padding: 7px 25px 7px 35px; color: inherit; background-image: url(/images/arrow-right.svg); background-repeat: no-repeat; background-position: center left 20px; background-size: 6px; line-height: 1.2; font-size: .9rem; position: relative; color: #456b95; }
.tmpl-leftmenu ul ul > li > a .arrow { position: absolute; right: 0; bottom: 0; top: 0; width: 40px; background: url(/images/arrow-up.svg) no-repeat center; }
.tmpl-leftmenu ul ul > li > a .arrow.up { transform: rotate(180deg); }
.tmpl-leftmenu ul ul > li > a:hover, .tmpl-leftmenu ul ul > li > a.active { color: #0252a8; }

@media (max-width: 1919px) {
    .tmpl-leftmenu > ul > li > a { padding: 13px 40px 13px 13px; }
    .tmpl-leftmenu ul ul > li > a { padding: 6px 25px 6px 35px; }
}
@media (max-width: 1359px) {
    .tmpl-leftmenu { padding: 10px; }
    .tmpl-leftmenu > ul > li > a { padding: 10px 25px 10px 10px; }
    .tmpl-leftmenu > ul > li > a .arrow, .tmpl-leftmenu ul ul > li > a .arrow { width: 25px; }
    .tmpl-leftmenu ul ul { padding: 10px 0; }
    .tmpl-leftmenu ul ul > li > a { display: block; padding: 5px 15px 5px 20px; }
    .tmpl-leftmenu ul ul > li > a { background-position: center left 10px; }
}


/* SLIDER ------------------------------------- */

.tmpl-mainnews { border-radius: 10px; overflow: hidden; }
.tmpl-mainnews .swiper-slide a { position: relative; display: block; overflow: hidden; height: 380px; }
.tmpl-mainnews .swiper-slide a img { width: 100%; height: 100%; object-fit: cover; }
.tmpl-mainnews .swiper-slide .info { position: absolute; top: 0; bottom: 0; right: 0; left: 0; background-image: linear-gradient(to top, rgba(0, 0, 30, .4) 0%, rgba(0, 0, 30, .2) 40%, rgba(0, 0, 30, 0) 50%); color: #fff; padding: 40px; font-weight: 400; line-height: 1.2; display: flex; flex-direction: column; justify-content: flex-end; }
.tmpl-mainnews .swiper-slide .category { font-size: 1rem; margin-bottom: 15px; }
.tmpl-mainnews .swiper-slide .title { font-size: 1.2rem; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tmpl-mainnews .swiper-slide .date { font-size: .9rem; }
.tmpl-mainnews .swiper-button-prev { background-image: url(/images/prev.svg); }
.tmpl-mainnews .swiper-button-next { background-image: url(/images/next.svg); }
.tmpl-mainnews .swiper-button-next, .tmpl-mainnews .swiper-button-prev { background-size: 35px 50px; }

@media (max-width: 1919px) {
    .tmpl-mainnews .swiper-slide a { height: 335px; }
    .tmpl-mainnews .swiper-slide .info { padding: 30px; }
    .tmpl-mainnews .swiper-slide .category { margin-bottom: 10px; }
    .tmpl-mainnews .swiper-slide .title { font-size: 1.1rem; }
    .tmpl-mainnews .swiper-button-next, .tmpl-mainnews .swiper-button-prev { background-size: 30px 45px; }
}
@media (max-width: 1359px) {
    .tmpl-mainnews .swiper-slide a { height: 290px; }
    .tmpl-mainnews .swiper-slide .info { padding: 25px; }
}
@media (max-width: 1023px) {
    .tmpl-mainnews .swiper-slide a { height: 290px; }
}
@media (max-width: 767px) {
    .tmpl-mainnews { margin-bottom: 20px; }
    .tmpl-mainnews .swiper-slide a { height: 60vw; }
    .tmpl-mainnews .swiper-button-next, .tmpl-mainnews .swiper-button-prev { background-size: 25px 40px; }
    .tmpl-mainnews .swiper-button-prev { left: 0; }
    .tmpl-mainnews .swiper-button-next { right: 0; }
}


/* CALENDAR ------------------------------------------------ */

.cal-title { color: #0252a8; background-color: #f4f7fb; padding: 0 10px; font-size: 1rem; text-transform: uppercase; display: flex; justify-content: center; align-items: center; font-weight: 400; margin-bottom: 2px; height: 48px; border-radius: 10px 10px 0 0; }
#cal { padding: 16px; font-weight: 400; height: 330px; font-size: 1rem; background-color: #f4f7fb; border-radius: 0 0 10px 10px; }
#cal .table { border: 0; color: #463d3c; width: 100%; border-collapse: collapse; margin-bottom: 0; }
#cal td { text-align: center; padding: 7px; border: none; }
#cal th { padding: 3px 7px; font-weight: 500; border-top: 1px dashed #d9e1ea; }
#cal .table .curr { background: #d8e6fc; color: #fff; }
#cal .table .curr a { color: #463d3c; }
#cal .table .weekend { color: #0252a8; }
#cal .table .weekend a { color: #0252a8; }
#cal .table td a { text-decoration: none; color: #463d3c; text-decoration: none; }
#cal .table td[id^="td_"]:not(.curr):hover { box-shadow: inset 0 0 0 2px #0252a8; }
#cal .table td.marked { background-color: #dcdcdd; }
#cal .monthName { margin: -12px 0 -12px 0; padding: 0 0 12px 0; text-align: center; color: #0252a8; background-color: transparent; line-height: 46px; font-weight: 400; text-transform: uppercase; width: 100%!important; }
#cal .monthName a { color: #3d3e3f; text-decoration: none; }
#cal .next, #cal .next a { float: right; color: #fff; margin: 0 8px 0 0; }
#cal .prev, #cal .prev a { float: left;  color: #fff; margin: 0 0 0 8px; }
#cal pre { background: none; font-size: 12px; }

@media (max-width: 1919px) {
    #cal { padding: 10px; height: 285px; font-size: 1rem; }
    #cal .monthName { margin: -8px 0 -12px 0; }
    #cal td { padding: 3px 7px; }
}
@media (max-width: 1359px) {
    .cal-title { height: 38px; }
    #cal { padding: 5px; height: 250px; }
    #cal .monthName { margin: 0 0 -12px 0; line-height: 35px; }
    #cal td, #cal th { padding: 3px; text-align: center; }
}
@media (max-width: 1023px) {
    #cal { height: 250px; }
    #cal .table { display: table; }
}


/* BANNERS ------------------------------------- */

.tmpl-banners { position: relative; text-align: center; }
.tmpl-banners img { margin: 0 8px 8px 0; max-width: 100%; }

.tmpl-banners.top .col-xl-3.col-md-4 > * { min-height: 100%!important; min-width: 100%!important; }

@media (max-width: 1023px) { 
	.tmpl-banners.top .col-xl-3.col-md-4 > * { height: 350px!important; margin-top: 10px; }
}


/* NEWS ------------------------------------- */

.tmpl-allnews { }

.cms-material-list { position: relative; }
.cms-material-list .tmpl-item { border: 1px solid #d7e0ec; background-color: #fff; display: flex; padding: 25px; text-decoration: none; line-height: 1.3; margin-bottom: 1.2rem; border-radius: 10px; transition: background-color .3s linear; }

.cms-material-list .tmpl-item img { width: 210px; height: 100%; margin: 0 25px 0 0; flex-shrink: 0; }
.cms-material-list .tmpl-item .info { flex-grow: 1; display: flex; flex-direction: column; }
.cms-material-list .tmpl-item:hover .title { }
.cms-material-list .tmpl-item:hover { /*background-color: #f4f7fb;*/ }

.cms-material-list .tmpl-item .title { color: #0252a8; text-decoration: none; font-weight: 400; font-size: 1.13rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cms-material-list .tmpl-item .short { color: #0f294e; margin: 10px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .96rem; }
.cms-material-list .tmpl-item .wrapper { display: flex; justify-content: space-between; }
.cms-material-list .tmpl-item .date,.cms-material-list .tmpl-item .category { color: #a7a8ab; font-size: .9rem; margin-top: 10px;  }

.cms-material-list .tmpl-item .event-info {
    display: flex;
    align-items: center;
    margin-top: 10px;
    font-size: .9rem;
}
.cms-material-list .tmpl-item .event-info .info-status {
    display: flex;
    align-items: center;
    color: #a7a8ab;
    margin-right: 16px;
    flex-shrink: 0;
}
.cms-material-list .tmpl-item .event-info .info-status .marker {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fd9980;
    margin-right: 5px;
}
.cms-material-list .tmpl-item .event-info .info-status.active {
    color: inherit;
}
.cms-material-list .tmpl-item .event-info .info-status.active .marker {
    background-color: #42ce49;
}
.cms-material-list .tmpl-item .event-info .info-date {
    flex-grow: 1;
    color: #a7a8ab;
    text-align: right;
}

.cms-material-list .tmpl-item .event-files {
    display: flex;
    align-items: center;
    margin-top: 10px;
    font-size: 1rem;
}
.cms-material-list .tmpl-item .event-files .info-file {
    display: flex;
    align-items: center;
    margin-right: 24px;
    flex-shrink: 0;
    text-decoration: underline;
}
.cms-material-list .tmpl-item .event-files .info-file.inactive {
    color: rgba(0,0,0,.6);
}
.cms-material-list .tmpl-item .event-files .info-file .file-ico {
    margin-right: 5px;
    font-size: 1.4rem;
}


@media (max-width: 1919px) {
    .cms-material-list .tmpl-item { padding: 20px; }
    .cms-material-list .tmpl-item img { width: 180px; margin: 0 20px 0 0; }
}
@media (max-width: 1359px) {
    .cms-material-list .tmpl-item { padding: 10px; }
    .cms-material-list .tmpl-item img { width: 150px; margin: 0 10px 0 0; }
    .cms-material-list .tmpl-item .wrapper { display: block; }
    .cms-material-list .tmpl-item .category { margin-bottom: 5px; }
    .cms-material-list .tmpl-item .date { margin-top: 5px; }
}
@media (max-width: 767px) {
    .cms-material-list .tmpl-item { display: block; }
    .cms-material-list .tmpl-item img { width: 100%; margin: 0 0 15px 0; height: auto; }
    .cms-material-list .tmpl-item .event-info,
    .cms-material-list .tmpl-item .event-files {
        flex-direction: column;
        align-items: start;
    }
    .cms-material-list .tmpl-item .event-info .info-status,
    .cms-material-list .tmpl-item .event-files .info-file {
        margin-right: 0;
        margin-bottom: 4px;
    }
}

.tmpl-event-additional {
    border: 1px solid #d7e0ec;
    background-color: #fff;
    padding: 25px;
    margin: 1.2rem 0;
    border-radius: 10px;
}


/* INFO ------------------------------------- */

.tmpl-additional .item { margin-bottom: 20px; }
.tmpl-additional .item a { display: flex; background-color: #f4f7fb; border-radius: 10px; color: #0252a8; padding: 45px 25px; height: 100%; line-height: 1.3; justify-content: center; text-align: center; align-items: center; transition: background-color .3s linear; }
.tmpl-additional .item a:hover { background-color: #ebf3ff; }

@media (max-width: 1919px) {
    .tmpl-additional .item { margin-bottom: 15px; }
    .tmpl-additional .item a { padding: 35px 25px; }  
}
@media (max-width: 1359px) {
    .tmpl-additional .item a { padding: 25px; }
}


/* SUBFOOTER + FOOTER + MAP------------------------------------ */

.map-block { position: relative; width: 100%; background-color: #fff; }
.map-block #map { position: relative; height: 380px; width: 100%; z-index: 1; }
.map-block #map ymaps[class^="ymaps-2-1-"][class$="-controls__control"] { left: 50% !important; margin-left: 32px !important; }
.map-block .map-title { position: absolute; top: 16px; left: 50%; padding: 8px 16px; margin: 0 0 0 32px; font-size: 1.1rem; font-weight: 400; background-color: #f4f7fb; color: #0050b2; z-index: 2; }
.tmpl-bottom-contacts { display: flex; position: absolute; top: 16px; left: 16px; height: 348px; width: 50%; background-color: rgba(255,255,255,.88); margin-bottom: 16px; border: 1px solid #e0e2ea; z-index: 2; }
.tmpl-bottom-contacts-content { position: relative; padding: 30px; }
.tmpl-bottom-contacts-content a { color: #6489BC; }
.tmpl-bottom-contacts-content > * { display: flex; align-items: center; padding-top: 5px; padding-bottom: 5px; }
.tmpl-bottom-contacts-content .img-wrap { width: 25px; margin-right: 10px; text-align: center; }
.tmpl-bottom-contacts-content .sitename { font-size: 1.05rem; font-weight: 500; }

@media (max-width: 1023px) {
	.map-block { height: auto; }
	.map-block .map-title { left: 0; margin-left: 10px }
	.map-block #map ymaps[class^="ymaps-2-1-"][class$="-controls__control"] { left: 0 !important; margin-left: 16px !important; }	
	.tmpl-bottom-contacts { position: relative; left: auto; top: auto; height: auto; width: auto; margin-bottom: 0; }
}
@media (max-width: 320px) {
	.map-block #map { height: 200px }
}


.tmpl-footer { background-color: #f4f7fb; color: #0252a8; font-size: .95rem; font-weight: 400; }
.tmpl-footer a { color: #0252a8; } 
.tmpl-footer .block2, .tmpl-footer .block3 { display: flex; align-items: center; padding: 20px 0; }

.tmpl-footer .block2 > * { cursor: pointer; display: flex; align-items: center; margin-right: 30px; }
.tmpl-footer .block2 .img-wrap { display: inline-block; }
.tmpl-footer .block2 .img-wrap img { margin: 0 7px; }

.tmpl-footer .block3  { justify-content: space-between; border-top: 1px dashed #d9e1ea;  }

@media (max-width: 1919px) {
    .tmpl-bottommenu ul.first ul > li > a { padding-bottom: 5px; }
    .tmpl-bottommenu { flex: 3; }
}
@media (max-width: 1359px) {
    .tmpl-footer .block1 { padding-top: 30px; }
    .tmpl-footer .block2, .tmpl-footer .block3 { padding: 15px 0;}
}
@media (max-width: 1023px) {
    .tmpl-subfooter { padding: 5px 0; }
    .tmpl-footer .block1 { padding-top: 20px; padding-bottom: 10px; }
    .tmpl-footer .block2, .tmpl-footer .block3 { padding: 10px 0;}
}
@media (max-width: 767px) {
    .tmpl-subfooter { padding: 10px 0; }
    .tmpl-footer .block1 { align-items: stretch; }
    .tmpl-footer .block1, .tmpl-bottommenu ul { flex-direction: column; }
    .tmpl-contacts { margin-right: 0; padding-bottom: 20px; border-bottom: 1px solid #666c7b; }
    .tmpl-bottommenu { padding: 20px 0; }
    .tmpl-bottommenu ul.first > li { margin-bottom: 10px;}
    .tmpl-footer .block2, .tmpl-footer .block3 { flex-direction: column; align-items: flex-start; }
    .tmpl-footer .block2 > *, .tmpl-footer .block3 > * { padding-top: 5px; padding-bottom: 5px; margin-right: 0; }
    .tmpl-footer .block2 .img-wrap { width: 40px; text-align: center; }
}



/* CONTENT ------------------------------------- */

.tmpl-page { padding: 0; margin-bottom: 32px; }

.maintitle { color: #000; font-size: 1.6rem; line-height: 1.2; position: relative; }

.allitems { display: inline-block; color: #0043ad; font-size: 1.13rem; font-weight: 400; line-height: 1; margin-top: 20px; text-decoration: underline; }
.allitems:hover { color: #03204f;  opacity: 0.8; }

.tmpl-pathway { font-weight: 500; font-size: .9rem; padding: 0; margin-bottom: 10px; color: #b2a7a4; }
.tmpl-pathway a:link,
.tmpl-pathway a:visited { color: #1f2e57; text-decoration: underline; }
.tmpl-pathway a:hover { color: #11435d; }

.tmpl-contentblock { background-color: #fff; color: #000; margin: 10px 0; font-weight: 400; line-height: 1.3; }
.print_version_button { display: none; }

.tmpl-contentblock h1 { font-size: 1.5rem; margin-bottom: 15px; padding: 0; font-weight: 400; color: #0050b2; }
.tmpl-contentblock cite { display: block; background: #f2f2f3; padding: 30px; font-weight: 400; }
.tmpl-contentblock h2 { font-size: 1.3rem; font-weight: 400; margin: 1rem 0; }
.tmpl-contentblock ul { margin: 0; padding: 0 }
.tmpl-contentblock ul ul { margin: 0 0 0 32px 0; }
.tmpl-contentblock ul > li { margin: 0 0 8px 20px; padding: 0; }
.tmpl-contentblock ol {  margin: 20px; padding: 0; }
.tmpl-contentblock ol ol { margin: 0 0 0 32px 0; }

.tmpl-contentblock h3 { font-size: 1.2rem; font-weight: 400; color: #0050b2; }
.tmpl-contentblock a:not(.tmpl-item) { color: #0050b2; text-decoration: none; }
.tmpl-contentblock a:not(.tmpl-item):hover { text-decoration: underline; } 
/* .tmpl-contentblock table { border-collapse: collapse; width: 100%; } */
.tmpl-contentblock table { border-collapse: collapse; border: none; }
/* .tmpl-contentblock table td { text-align: center; padding: 10px; } */
.tmpl-contentblock table td, .tmpl-contentblock table th { text-align: center;  }
.tmpl-contentblock table th { background: #f2f2f3; text-align: center; }


.doctable { width: 100%; border-collapse: collapse; }
.doctable td { border: 1px solid #000; text-align: center; padding: 16px; }
.doctable th { background: #f2f2f3; text-align: center; border: 1px solid #000; padding: 16px; }
.editlog { margin-top: 30px; text-align: right; }


/* PAGINATION */
.page_numbering {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.page_numbering > a {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 28px;
    width: 28px;
    color: #0050b2 !important;
    font-weight: 400;
    font-size: .88rem;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid #0050b2;
}
.page_numbering > a:hover {
    background-color: #eee;
    text-decoration: none !important;
}
.page_numbering > a.active {
    background-color: #0061d9;
    color: #fff !important;
}


/* photogallery */

.tmpl-photos { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-gap: 15px; }
.tmpl-photos .tmpl-photo-item img { width: 100%; height: 200px; object-fit: cover; }
.tmpl-photos .tmpl-photo-item .title { margin-top: 5px; text-align: center; font-size: 88%; line-height: 1.1; font-weight: 400; }

@media (max-width: 1919px) {
    .tmpl-photos { grid-template-columns: 1fr 1fr 1fr 1fr; }
    .tmpl-photos .tmpl-photo-item img { height: 190px; }
}
@media (max-width: 1359px) {
    .tmpl-photos { grid-template-columns: 1fr 1fr 1fr; }
    .tmpl-photos { grid-gap: 10px; }
    .tmpl-photos .tmpl-photo-item img { height: 170px; }
}
@media (max-width: 1023px) {
    .tmpl-photos { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 767px) {
	.tmpl-photos { grid-template-columns: 1fr; }
    .tmpl-photos .tmpl-photo-item img { height: auto; max-height: 400px; }
}

/* videogallery */
.tmpl-video-list { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-gap: 15px; }
.tmpl-video-list .tmpl-video img { width: 100%; }
.tmpl-video-list .tmpl-video .title { display: block; margin-top: 5px; text-align: center; font-size: 88%; line-height: 1.1; font-weight: 400; }

@media (max-width: 1359px) {
	.tmpl-video-list { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 767px) {
	.tmpl-video-list { grid-template-columns: 1fr; }
}

#saveus-window .saveus-footer .saveus-btn { background-color: #0050b2!important; }


.tmpl-news-filter {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.tmpl-news-filter > label {
    flex-shrink: 0;
    margin-right: 12px;
    margin-bottom: 0;
    color: #3d3e3f;
    font-size: .875rem;
}
.tmpl-news-filter .input-group { 
    max-width: 200px;
}
.tmpl-news-filter .input-group-text {
    cursor: pointer;
    background-color: #f4f7fb;
}
.tmpl-news-filter .input-group-text:hover {
    background-color: #ebf3ff;
}
.tmpl-news-filter .btn {
    margin-left: 12px;
    background-color: #f4f7fb;
    border: 1px solid #ced4da;
}
.tmpl-news-filter .btn:hover {
    background-color: #ebf3ff;
}
@media (max-width: 767px) {
    .tmpl-news-filter {
        flex-direction: column;
        align-items: flex-start;
    }
    .tmpl-news-filter .input-group { 
        margin: 8px 0;
    }
    .tmpl-news-filter .btn {
        margin-left: 0;
    }
}

/*
@media (max-width: 1919px) {
    
}
@media (max-width: 1359px) {
    
}
@media (max-width: 1023px) {
    
}
@media (max-width: 767px) {
    
}
*/

/* TABLE SCROLLING---------------------------- */


@media (max-width: 1023px) {
  table {
    overflow: auto;
    display: block;
	width: 100%!important;
  }
}


/* Admin FIX ------------------------------  */


.x-window,
.x-window *,
.x-window *:before,
.x-window *:after,
.kl83-ui,
.kl83-ui *,
.kl83-ui *:before,
.kl83-ui *:after { 
	-webkit-box-sizing: content-box; 
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

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


