/*
font-family: 'Roboto', sans-serif;
font-family: 'Roboto Condensed', sans-serif;
*/

body { font-family: 'Geometria', 'Arial', sans-serif; font-size: 16px; color: #000000; font-weight: 300; background-color: #fff; background-image: url(/images/bg.png); }

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

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

.container { padding: 0;}

@media (max-width: 767px) {
	.row { margin: 0; }
	.container.page { padding-left: 8px; padding-right: 8px; }
	.row > div[class^="col-"] { padding-left: 0; padding-right: 0; }
}

a { text-decoration: none; }
a:hover { text-decoration: none; }
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: #1093d2;*/ color: #fff !important; }
.module-letters .letter-button.active { /*background-color: #1093d2; */}

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


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

.tmpl-header-wrapper { /*background-image: url(/images/header-bg.png);*/ background-repeat: no-repeat; background-position: top -25px center; background-size: auto 215px; }

.tmpl-header-line { color: #fff; padding-top: 20px; padding-bottom: 20px; font-size: 93%; line-height: 1; }
.tmpl-header-line > * { display: flex; align-items: center;  }
.tmpl-header-line .img-wrap { margin: 0 5px; }
.tmpl-header-line .address { font-style: italic; font-weight: 500; }
.tmpl-header-line .social a img { height: 28px; width: 28px; margin: 0 3px; }
.tmpl-header-line .social a:hover img { opacity: 0.8; }
.tmpl-header-line .tmpl-version { cursor: pointer; font-weight: 400; }

.tmpl-header { display: flex; align-items: flex-end; margin-bottom: 20px; }
.tmpl-header .sitename-wrapper { display: flex; align-items: flex-end; }
.tmpl-header .tmpl-logo img { max-height: 125px; max-width: 300px; margin-right: 15px; }
.tmpl-header .tmpl-sitename { line-height: 1.2; }
.tmpl-header .tmpl-sitename a { font-size: 180%; text-transform: uppercase; color: #db2a1a; font-weight: 700; }
.tmpl-header .tmpl-sitename a .tmpl-small { color: #004d8c; font-size: 63%; line-height: 1; text-transform: none; margin-bottom: 5px; }

.tmpl-header .tmpl-contacts { display: flex; justify-content: center; align-items: center; width: 500px; height: 180px; text-transform: uppercase; color: #004c8b; font-weight: 500; font-size: 120%; padding: 20px; background-color: #fff; box-shadow: 6px 8px 9px 4px rgba(65, 51, 135, 0.28); }
.tmpl-header .tmpl-contacts a { color: inherit; }
/* .tmpl-header .tmpl-contacts .img-wrap { margin-right: 5px; width: 40px; display: inline-block; text-align: center; vertical-align: middle; } */
.tmpl-header .tmpl-contacts .img-wrap { margin-right: 5px; width: 40px; display: flex; align-items: center; justify-content: center; }
.tmpl-header .tmpl-contacts .img-wrap img { width: 25px; }
.tmpl-header .tmpl-contacts .wrapper > * { display: flex; align-items: center; padding: 2px 0; }
.tmpl-header .tmpl-contacts .timetable img { width: 30px; }
.tmpl-header .tmpl-contacts .timetable { font-size: 70%; line-height: 1.1; margin-top: 10px; }

@media (max-width: 1919px) {
    .tmpl-header-wrapper { background-size: 100%; background-position: top -10px center; }
    .tmpl-header-line { padding-top: 15px; padding-bottom: 15px; }
    .tmpl-header-line .social a img { height: 23px; width: 23px; }
    .tmpl-header .tmpl-logo img { max-height: 100px; max-width: 250px; }
    .tmpl-header .tmpl-sitename a { font-size: 160%; }
    .tmpl-header .tmpl-contacts { width: 400px; height: 150px; font-size: 100%; }
    .tmpl-header .tmpl-contacts .img-wrap { width: 35px; }
    .tmpl-header .tmpl-contacts .img-wrap img { width: 20px; }
    .tmpl-header .tmpl-contacts .timetable img { width: 25px; }
}
@media (max-width: 1359px) {
    .tmpl-header-wrapper { background-position: top center; }
    .tmpl-header-line { padding-top: 10px; padding-bottom: 10px; }
    .tmpl-header .tmpl-logo img { max-height: 70px; max-width: 130px; }
    .tmpl-header .tmpl-contacts { width: 300px; height: 110px; padding: 10px; font-size: 86%; }
    .tmpl-header .tmpl-contacts .img-wrap { width: 30px; } 
    .tmpl-header .tmpl-contacts .timetable { margin-top: 5px; }
}
@media (max-width: 1023px) {
    .tmpl-header-wrapper { background-position: top center; }
    .tmpl-header .tmpl-contacts { width: 250px; font-size: 80%; }
    .tmpl-header .tmpl-contacts .img-wrap { width: 30px; } 
    .tmpl-header .tmpl-contacts .img-wrap img { width: 15px; } 
    .tmpl-header .tmpl-contacts .timetable img { width: 20px; }
}
@media (max-width: 767px) {
    header { display: flex; flex-direction: column-reverse; }
    .tmpl-header-wrapper { background-image: none!important; }
    .tmpl-header-line, .tmpl-header .tmpl-contacts  { display: none; }
    .tmpl-header { margin-bottom: 0; }
    .tmpl-header .sitename-wrapper { flex-direction: column; align-items: center; margin-top: 15px; text-align: center; /*border-bottom: 3px solid #db2a1a; */}
    .tmpl-header .tmpl-sitename { margin-top: 10px; }
}


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

.tmpl-mainmenu { display: flex; align-items: center; justify-content: flex-start; font-size: 106%; font-weight: 500; line-height: 1; text-transform: uppercase; color: #fff; /*background-image: url(/images/menu-bg.png);*/ height: 57px; box-shadow: 6px 8px 9px 4px rgba(65, 51, 135, 0.28); height: auto; }
.tmpl-mainmenu .navbar { padding: 0; }
.tmpl-mainmenu ul.navbar-nav > li { position: relative; }
.tmpl-mainmenu ul.navbar-nav > li > a { color: inherit; height: 57px; text-shadow: 3px 4px 5px rgba(65, 51, 135, 0.14); }
.tmpl-mainmenu .navbar-nav .nav-link { padding: 0 15px; display: flex; align-items: center; text-align: center; }

.tmpl-mainmenu .navbar-nav .nav-link.hover, .tmpl-mainmenu .navbar-nav .nav-link:hover, .tmpl-mainmenu .navbar-nav .directly-active .nav-link  { /*background-color: #1093d2;*/ }
.tmpl-mainmenu .navbar-nav .nav-link:focus { outline: none;  }
.tmpl-mainmenu .dropdown-menu { position: absolute; top: 95%; left: 0; right: 0; border: none; /*background-color: #1093d2;*/ border-radius: 0; font-size: 90%; font-weight: 300; z-index: 99; width: 350px; color: #fff; padding: 5px 0 0 0; }
.tmpl-mainmenu .dropdown-item:hover, .tmpl-mainmenu .dropdown-item:focus { background-color: RGBa(255,255,255,0.3); }
.tmpl-mainmenu .dropdown-menu > li { display: block; padding: 0 15px; }
.tmpl-mainmenu .dropdown-menu > li > a { color: inherit; display: block; padding: 12px 0; border: none; cursor: pointer; border-top: 1px dashed #fff; white-space: normal; color: #fff; }
.tmpl-mainmenu .navbar-collapse:not(.in) .dropdown:hover > .dropdown-menu { display: block; }

.tmpl-search { height: 57px; width: 57px; background-image: url("/images/ico-search.png"); background-repeat: no-repeat; background-position: center center; cursor: pointer; }
#search { position: absolute; overflow: hidden; width: 0; height: 57px; background: #fff; left: 57px; opacity: 0; border: 1px solid #ccc; z-index: 10; }
#search input { height: 57px; padding: 0 10px; margin: 0; background: none; border: none; color: #565656; font-size: 113%; font-weight: 300; }
#search input:focus, #search input:active { outline: none; }

@media (max-width: 1919px) {
    .tmpl-mainmenu { font-size: 88%; }
    .tmpl-mainmenu, .tmpl-mainmenu ul.navbar-nav > li > a, #search, #search input { height: 44px; }
    #search { left: 44px; }
    .tmpl-search { height: 44px; width: 44px; }
    .tmpl-mainmenu .dropdown-menu { width: 320px; }
}
@media (max-width: 1359px) {
    .tmpl-mainmenu, .tmpl-mainmenu ul.navbar-nav > li > a, #search, #search input { height: 32px; }
    .tmpl-mainmenu .navbar-nav .nav-link { padding: 0 10px; }
    #search { left: 32px; }
    .tmpl-search { height: 32px; width: 32px; background-size: 15px; }
    .tmpl-mainmenu .dropdown-menu { width: 280px; }
    .tmpl-mainmenu .dropdown-menu > li > a { padding: 10px 0;}
}
@media (max-width: 1023px) {
    
}
@media (max-width: 767px) {
    .tmpl-mainmenu { /*background-color: #4f4d98;*/ box-shadow: none; border: none; justify-content: flex-start; padding-left: 0; padding-right: 0; height: auto; background-image: none; }
    .tmpl-mainmenu .navbar { justify-content: flex-start; width: 100%; }
    .tmpl-mainmenu .navbar .navbar-brand { color: inherit; font-weight: 400; }
    .tmpl-mainmenu .navbar .navbar-toggler:focus { outline: none; }
    .tmpl-mainmenu .navbar .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");}
    .tmpl-mainmenu .navbar-nav .nav-item.directly-active .nav-link,
    .navbar-expand-sm .navbar-nav .nav-link { padding: 10px 15px; border-top: 1px solid RGBa(0,0,0,0.16); }
    
    .tmpl-search-link { background-image: url(/images/ico-search2.png); background-repeat: no-repeat; background-position: center center; height: 48px; width: 48px; border-right: 1px dotted #fff; }
    
    .tmpl-mainmenu .dropdown-menu { position: relative; background-color: RGBa(0,0,0,0.1) !important; margin: 0; padding: 0; border-bottom: none; box-shadow: none; width: 100%; }
    .tmpl-mainmenu .dropdown-menu > li { display: block; width: 100%; background-image: none; padding: 0 20px; }
    .tmpl-mainmenu .dropdown-menu > li > a { color: #fff; border: none;  }
    .tmpl-mainmenu .dropdown-menu > li > a:before { content: "\00BB"; margin-right: 8px; }
    .tmpl-mainmenu .dropdown-menu > li > a:hover, 
	.tmpl-mainmenu .dropdown-menu > li > a:focus { background-color: RGBa(0,0,0,0.1); }
    .tmpl-mainmenu .navbar-collapse:not(.in) .dropdown:hover > .dropdown-menu { display: none; }
    .tmpl-mainmenu .navbar-collapse:not(.in) .dropdown:hover > .dropdown-menu.show { display: block; }
}



/* EVENTS SWIPER ------------------------------------------------ */

.tmpl-events { position: relative; height: 100%; overflow: hidden; margin-top: 30px; margin-bottom: 40px; }
.tmpl-events .swiper-container { width: 100%; height: 100%; }
.tmpl-events .swiper-scrollbar-drag { background-color: #d81100; }
.tmpl-events .swiper-wrapper { justify-content: space-between; padding-bottom: 25px; }
.tmpl-events .swiper-wrapper .swiper-slide a { position: relative; display: block; box-shadow: 2px 3px 6px 1px rgba(70, 52, 136, 0.35);  }
.tmpl-events .swiper-wrapper .swiper-slide a img { width: 100%; height: 310px; object-fit: cover;  }
/*.tmpl-events .swiper-wrapper .swiper-slide a:hover { text-decoration: none; }*/

@media (max-width: 1919px) {
    .tmpl-events { margin-top: 20px; margin-bottom: 30px; }
    .tmpl-events .swiper-wrapper .swiper-slide a img { height: 240px; }
}
@media (max-width: 1359px) {
    .tmpl-events { margin-top: 20px; }
/*    .tmpl-events .swiper-wrapper .swiper-slide a img { height: 300px; }*/
}
@media (max-width: 1023px) {
    
}
@media (max-width: 767px) {
    .tmpl-events { margin-top: 0; padding-top: 20px; }
}

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


.tmpl-leftmenu { font-size: 106%; line-height: 1.2; color: #fff; text-transform: uppercase; }
.tmpl-leftmenu > ul { margin: 0; padding: 0; list-style-type: none; }
.tmpl-leftmenu > ul > li > a { color: inherit; font-weight: 400; padding: 16px 16px 16px 10px; display: block; /*background-color: #970e84;*/ margin-bottom: 8px; }
.tmpl-leftmenu > ul > li.submenu-exist > a { background-image: url(/images/ico-arrowright.svg); background-repeat: no-repeat; background-position: right 5px center; background-size: 10px; }
.tmpl-leftmenu > ul > li { position: relative; }
.tmpl-leftmenu > ul > li.directly-active > a, .tmpl-leftmenu > ul > li.indirectly-active > a { /*background-color: #c811af;*/ }
.tmpl-leftmenu > ul > li:hover > a, .tmpl-leftmenu > ul > li:focus > a, .tmpl-leftmenu > ul > li.directly-active:hover > a, .tmpl-leftmenu > ul > li.indirectly-active:hover > a  { cursor: pointer; /*background-color: #c811af;*/ color: #fff; }

.tmpl-leftmenu ul ul { padding: 0; list-style-type: none; visibility: hidden; position: absolute; width: 304px; /*background-color: #c811af;*/ color: #fff; top: 0; display: block; z-index: 500; }
.tmpl-leftmenu ul ul > li { padding: 0 16px; }
.tmpl-leftmenu ul ul > li > a  { color: inherit; display: block; font-weight: 300; padding: 14px 0; border-bottom: 1px dashed #fff; position: relative; }
.tmpl-leftmenu ul ul > li:last-child > a { border-bottom: none; }
.tmpl-leftmenu ul ul > li:hover { background-color: RGBa(255,255,255,0.3); }

@media (max-width: 1919px) {
    .tmpl-leftmenu { font-size: 90%; }
    .tmpl-leftmenu > ul > li > a { margin-bottom: 6px; }
}
@media (max-width: 1359px) {
    .tmpl-leftmenu { font-size: 85%; margin-right: -15px; }
    .tmpl-leftmenu > ul > li > a { margin-bottom: 4px; padding: 12px 15px 12px 12px; background-size: 5px; }
}


/* CONTENT ON MAIN  ------------------------------------- */

.tmpl-contentmain-wrapper { margin-top: 30px; }

.tmpl-contentmain { background-color: #fff; box-shadow: 2px 3px 6px 1px rgba(70, 52, 136, 0.28); padding: 40px; margin-bottom: 20px; display: flex; align-items: flex-start; }
.tmpl-contentmain .direktor { flex: 1; text-align: center; color: #002370; padding-right: 70px; background-image: url(/images/border-right.png); background-repeat: no-repeat; background-position: top right; line-height: 1.2; }
.tmpl-contentmain .direktor img { width: 250px; height: 250px; object-fit: cover; border-radius: 50%; border: 1px solid #c7c7c7; padding: 8px; margin-bottom: 25px; }
.tmpl-contentmain .direktor p { font-size: 100%; margin-bottom: 0; }
.tmpl-contentmain .direktor h2 { font-size: 113%; font-weight: 500; }
.tmpl-contentmain .text { margin-left: 30px; flex: 4; }
.tmpl-contentmain .text h2 { color: #002370; font-size: 125%; text-transform: uppercase; font-weight: 700; margin-bottom: 15px; }
.tmpl-contentmain .text p { font-size: 100%; color: #484758; font-style: italic; line-height: 1.2; font-weight: 400; }

@media (max-width: 1919px) {
    .tmpl-contentmain { padding: 30px; }
    .tmpl-contentmain .direktor { padding-right: 40px; background-size: auto 230px; }
    .tmpl-contentmain .direktor img { width: 190px; height: 190px; padding: 5px; margin-bottom: 20px; }
    .tmpl-contentmain .text { margin-left: 20px; }
    .tmpl-contentmain .text p { font-size: 94%; }
}
@media (max-width: 1359px) {
    .tmpl-contentmain { padding: 20px; }
    .tmpl-contentmain .direktor { padding-right: 25px; background-size: auto 140px; }
    .tmpl-contentmain .direktor img { width: 150px; height: 150px; margin-bottom: 15px; }
    .tmpl-contentmain .text { margin-left: 20px; }
}
@media (max-width: 1023px) {
    .tmpl-contentmain.greetings { padding: 15px; flex-direction: column; }
    .tmpl-contentmain .direktor {padding-right: 0; padding-bottom: 15px; background-image: url(/images/border-bottom.png); background-size: 240px auto; background-position: center bottom; width: 100%; }
    .tmpl-contentmain .direktor img { width: 130px; height: 130px; }
    .tmpl-contentmain .text { margin-left: 0; margin-top: 20px; }
}
@media (max-width: 767px) {
    .tmpl-contentmain {  padding: 15px 5px; }
    .tmpl-contentmain .direktor {   }
    .tmpl-contentmain .direktor img { width: 200px; height: 200px; }
    
}

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

.tmpl-news { padding: 20px 0 40px; }
.tmpl-news .tmpl-items { display: flex; flex-wrap: wrap; justify-content: space-between; }
.tmpl-news .tmpl-item { background-color: #fff; padding: 30px 30px 0 30px; line-height: 1; flex: 0 0 32%; max-width: 32%; color: #3b4256; margin-bottom: 30px; display: flex; flex-direction: column; justify-content: flex-start; box-shadow: 0 3px 7px RGBa(59, 66, 86,0.15); }
.tmpl-news .title { font-size: 125%; font-weight: 500; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tmpl-news .short { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;}
.tmpl-news .short.fix { -webkit-line-clamp: 10; }
.tmpl-news .date { font-size: 100%; color: #a6a6a6; display: flex; flex-grow: 1; align-items: flex-end; margin-top: 15px; }
.tmpl-news .image { overflow: hidden; margin-bottom: 15px; }
.tmpl-news .image img {  height: 240px; width: 100%; object-fit: cover; transition: all 1s ease-out; }
.tmpl-news .tmpl-item:hover .image img { transform: scale(1.05); }
.tmpl-button { display: inline-block; /*background-color: #1093d2;*/ text-transform: uppercase; font-size: 113%; color: #fff; line-height: 1; padding: 15px 60px; font-weight: 500; }
.tmpl-button:hover { /*background-color: #349fd2;*/ color: #fff; }


.news-toolbar { position: relative; display: flex; align-items: center; justify-content: flex-end; margin-right: -6px; }
.news-toolbar .item { background-position: 0 center; background-repeat: no-repeat; color: #afb1b7; padding: 20px 0 20px 10px; margin: 0 6px; }
.news-toolbar .date { margin: 0 6px; }
.news-toolbar .category { margin: 0 6px; flex-grow: 1; }
.news-toolbar .category a { color: #afb1b7; }
.news-toolbar .item .img-wrap { margin-right: 6px; margin-top: -2px; }
.news-toolbar .item.views { display: flex; align-items: center; }
.news-toolbar .item.share { color: #3b4256; cursor: pointer; display: flex; align-items: center; }
.news-toolbar .share-panel { position: absolute; top: 60%; right: 0; width: 126px; padding: 4px; border: 1px solid #ccc; text-align: center; display: none; background-color: #fff; z-index: 100; }

@media (max-width: 1919px) {
    .tmpl-news .tmpl-item { padding: 20px 20px 0 20px; }
    .tmpl-news .title { margin-bottom: 15px; }
    .tmpl-news .image img {  height: 200px; }
    .tmpl-button { padding: 10px 50px; font-size: 106%; }
    .news-toolbar .item { padding: 15px 0 15px 5px; }
}
@media (max-width: 1359px) {
    .tmpl-news .tmpl-item { padding: 10px 10px 0 10px; }
    .tmpl-news .title { font-size: 107%; }
    .tmpl-news .date { font-size: 90%; }
    .tmpl-news .image img {  height: 153px; }
}
@media (max-width: 1023px) {
    .tmpl-news .tmpl-item { flex: 0 0 49%; max-width: 49%; margin-bottom: 20px;}
    .tmpl-news .tmpl-item:last-of-type { display: none; }
}
@media (max-width: 767px) {
    .tmpl-news .tmpl-item { flex: 0 0 100%; max-width: 100%; margin: 5px 0; }
    .tmpl-news .tmpl-item .image img { height: auto; max-height: 260px; }
    .tmpl-button { display: block; padding: 10px; margin-top: 15px; }
}

/* FORM BLOCK  ------------------------------------- */

.tmpl-form-wrapper { /*background-image: url(/images/form-bg.png);*/ background-repeat: no-repeat; background-size: contain; background-position: center
    center; padding-top: 30px; padding-bottom: 30px; background-size: auto; }
.tmpl-form { /*background-color: rgba(92, 96, 169, 0.6);*/ padding: 35px 40px; color: #fff; }
.tmpl-form .comment { margin-bottom: 20px; }
.tmpl-form .title { font-size: 163%; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
#feedbackForm { display: flex; flex-wrap: wrap; }
#feedbackForm .block { display: flex; flex-direction: column; flex: 1; justify-content: space-between;  }
#feedbackForm .block1 { margin-right: 10px; height: 220px; }
#feedbackForm .block2 { margin-left: 10px; }
#feedbackForm input  { height: 50px; }
#feedbackForm textarea { height: 220px; }
#feedbackForm input, #feedbackForm textarea { padding: 15px; line-height: 1.2; border: 1px solid transparent; outline: none; }
#feedbackForm label.error { display: none !important; }
#feedbackForm input.error, #feedbackForm textarea.error { border-color: #CC0000 !important; }
#feedbackForm .tmpl-buttons { flex: 0 0 100%; display: flex; margin-top: 15px; }
#feedbackForm .tmpl-alert { flex: 1; margin-right: 10px; }
#feedbackForm .tmpl-button, #feedbackForm .cms-alert { height: 50px; display: flex; align-items: center; justify-content: center; }
#feedbackForm .cms-alert { width: 100%; text-align: center; background-color: rgba(92, 96, 169, 0.5); }
#feedbackForm .tmpl-button {  background-color: #e02b68; font-size: 125%; font-weight: 700; line-height: 1; color: #fff; text-transform: uppercase; flex: 1; margin-left: 10px; padding: 0; cursor: pointer; }

@media (max-width: 1919px) {
    .tmpl-form-wrapper { padding-top: 20px; padding-bottom: 20px; background-size: auto 100%; }
    .tmpl-form { padding: 30px; }
    .tmpl-form .title { margin-bottom: 5px; }
    #feedbackForm .block1, #feedbackForm textarea { height: 170px; }
    #feedbackForm input { height: 40px; }
    #feedbackForm input, #feedbackForm textarea { padding: 10px; }
    #feedbackForm .tmpl-button, #feedbackForm .cms-alert { height: 40px; }
    #feedbackForm .tmpl-button { font-size: 106%; }
}
@media (max-width: 1359px) {
    .tmpl-form-wrapper { padding-top: 15px; padding-bottom: 15px; }
    .tmpl-form { padding: 20px; }
    .tmpl-form .comment { margin-bottom: 10px; line-height: 1.1; }
    #feedbackForm .block1 { height: 110px; width: 50%; }
	#feedbackForm textarea { width: 100%; height: 100%; }
    #feedbackForm input { height: 30px; }
    #feedbackForm input, #feedbackForm textarea { padding: 5px; }
    #feedbackForm .tmpl-button, #feedbackForm .cms-alert { height: 30px; }
}
@media (max-width: 1023px) {
    .tmpl-form-wrapper { background-image: none!important; }
}
@media (max-width: 767px) {
    .tmpl-form-wrapper {  padding-top: 0; padding-bottom: 0; }
    .tmpl-form { padding: 20px 10px; }
    #feedbackForm { flex-direction: column; }
    #feedbackForm .block1 { height: auto; }
	#feedbackForm .block1, #feedbackForm textarea {  width: 100%; }
    #feedbackForm .block { margin: 0; }
    #feedbackForm input { height: 40px; margin-bottom: 15px; }
    #feedbackForm input, #feedbackForm textarea { padding: 10px; }
	#feedbackForm textarea { height: 100px; }
    #feedbackForm .tmpl-buttons { flex-direction: column-reverse; }
    #feedbackForm .tmpl-button, #feedbackForm .cms-alert { height: 40px; }
    #feedbackForm .tmpl-button { margin-bottom: 15px; margin-left: 0; flex: unset; }
    #feedbackForm .tmpl-alert { margin-right: 0; }
}


/* SOCIAL BLOCK  ------------------------------------- */

.tmpl-contentmain.socblock { padding: 35px 50px; font-size: 163%; font-weight: 700; text-transform: uppercase; color: #2b89c8; display: flex; align-items: center; }
.tmpl-contentmain.socblock p { margin: 5px 20px 0 0; }
.tmpl-contentmain.socblock img { height: 45px; width: 45px; margin: 0 5px; }
.tmpl-contentmain.socblock a:hover img { opacity: 0.8; }

@media (max-width: 1919px) {
    .tmpl-contentmain.socblock { padding: 30px 40px; }
    .tmpl-contentmain.socblock img { height: 38px; width: 38px; }
}
@media (max-width: 1359px) {
    .tmpl-contentmain.socblock { padding: 20px 30px; }
    .tmpl-contentmain.socblock p { margin: 5px 10px 0 0;}
    .tmpl-contentmain.socblock img { height: 28px; width: 28px; margin: 0 2px;}
}
@media (max-width: 1023px) {
    
}
@media (max-width: 767px) {
    
}

/* GALLETY ON MAINPAGE ------------------------------------ */

.tmpl-gallery { padding: 20px 0; position: relative; height: 100%; overflow: hidden; }
.tmpl-gallery .swiper-wrapper { justify-content: space-between; padding-bottom: 20px; padding-top: 20px; }
.tmpl-gallery .swiper-scrollbar-drag { background-color: #d81100; }
.tmpl-gallery .swiper-wrapper .swiper-slide a { position: relative; display: block; overflow: hidden; }
.tmpl-gallery .swiper-wrapper .swiper-slide img { width: 100%; height: 220px; object-fit: cover; transition: all 1s ease-out; }
/* .tmpl-gallery a:hover img { transform: scale(1.04); } */
.tmpl-gallery .tmpl-button { margin-top: 30px; }

@media (max-width: 1919px) {
    .tmpl-gallery .swiper-wrapper { padding-top: 10px; }
    .tmpl-gallery .swiper-wrapper .swiper-slide a img { height: 184px;}
    .tmpl-gallery .tmpl-button { margin-top: 25px; }
}
@media (max-width: 1359px) {
    .tmpl-gallery .swiper-wrapper .swiper-slide a img { height: 162px;}
    .tmpl-gallery .tmpl-button { margin-top: 20px; }
}
@media (max-width: 1023px) {
    
}
@media (max-width: 767px) {
    
}

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

.tmpl-contentmain.banners {margin-top: 50px; text-align: center;position: relative; padding: 25px 30px; flex-wrap: wrap; justify-content: center; margin-bottom: -30px;}
.tmpl-contentmain.banners img { border: 0; margin: 8px; max-width: 300px; }

@media (max-width: 1919px) {
    .tmpl-contentmain.banners { padding: 20px 30px; }
}
@media (max-width: 1359px) {
    .tmpl-contentmain.banners { padding: 15px 20px; }
}

/* FOOTER ---------------------------------- */


.tmpl-footer { /*background-image: url(/images/footer-bg.png);*/ background-repeat: no-repeat; color: #fff; font-weight: 400; font-size: 94%; padding-top: 210px; background-position: center top;  }
.tmpl-footer a { color: #fff; }

.tmpl-footer .block1 { display: flex; align-items: center; padding-bottom: 20px; }

.tmpl-footer .tmpl-contacts { flex: 2; }
.tmpl-footer .tmpl-contacts > * { display: flex; align-items: center; padding-top: 5px; padding-bottom: 5px; }
.tmpl-footer .tmpl-contacts .img-wrap { width: 25px; margin-right: 10px; text-align: center;}

.tmpl-map { flex: 1; padding: 0 40px; }
.tmpl-map img { display: block; margin-bottom: 5px; }
.tmpl-map a { display: block; font-size: 125%; font-weight: 700; }

.tmpl-bottommenu { flex: 3; }
.tmpl-bottommenu ul { list-style-type: none; padding: 0; }
.tmpl-bottommenu ul a:hover { color: #c8c8cb; }
.tmpl-bottommenu ul li { max-width: 300px; }
.tmpl-bottommenu ul.first { display: flex; justify-content: space-between; margin-bottom: 0; }
.tmpl-bottommenu ul.first > li { margin: 0 10px; }
.tmpl-bottommenu ul.first > li > a { color: #c8c8cb; display: block; font-size: 125%; font-weight: 700; padding-bottom: 10px; }
.tmpl-bottommenu ul.first ul > li > a { display: block; padding-bottom: 10px; }

@media (max-width: 1919px) {
    .tmpl-footer { padding-top: 180px; background-size: auto 100%; }
    .tmpl-bottommenu ul.first ul > li > a { padding-bottom: 5px; }
    .tmpl-map { padding: 0 25px;}
    .tmpl-map img { height: 120px; }
    .tmpl-bottommenu { flex: 3; }
}
@media (max-width: 1359px) {
    .tmpl-footer { padding-top: 150px; }
    .tmpl-footer .block1 { align-items: flex-start; }
    .tmpl-footer .tmpl-contacts { margin-right: 30px; }
}
@media (max-width: 1023px) {
    .tmpl-bottommenu { flex: 4; }
}
@media (max-width: 767px) {
    .tmpl-footer { padding-top: 0; background-color: #272b42; margin-top: 30px; background-position: top -260px center; }
    .tmpl-footer .block1 { align-items: stretch; }
    .tmpl-footer .block1, .tmpl-bottommenu ul { flex-direction: column; }
    .tmpl-footer .tmpl-contacts { margin-right: 0; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2);}
    
    .tmpl-bottommenu { padding: 20px 0; }
    .tmpl-bottommenu ul.first > li { margin-bottom: 10px;}
/*    .tmpl-bottommenu ul.first > li > a { padding-bottom: 0; }*/
}

.tmpl-footer .block2,.tmpl-footer .block3 { display: flex; align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.2); 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; }

@media (max-width: 767px) {
    .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-content { margin-top: 30px; margin-bottom: -20px; }

.tmpl-title { color: #545684; font-size: 140%; font-weight: 500; margin-bottom: 10px; line-height: 1.1; text-transform: uppercase; }
.tmpl-title.main { color: #002370; font-size: 180%; font-weight: 700; margin-bottom: 10px; line-height: 1.1; text-transform: uppercase; }
.allitems { display: inline-block; color: #545684; font-size: 94%; font-weight: 400; line-height: 1; margin-bottom: 20px; }
.allitems:hover { color: #545684;  opacity: 0.8; }
.date { font-size: 94%; font-weight: 400; }

.tmpl-pathway { font-weight: 400; font-size: 94%; padding: 0; margin-bottom: 10px; color: #b2a7a4; }
.tmpl-pathway a:link,
.tmpl-pathway a:visited { color: #007fc2; text-decoration: underline; }
.tmpl-pathway a:hover { color: #11435d; }

.tmpl-contentblock { background-color: #fff; color: #000; box-shadow: 2px 3px 6px 1px rgba(70, 52, 136, 0.25); padding: 40px 70px; font-weight: 400; border-radius: 4px; line-height: 1.2; }
/*.tmpl-contentblock img { max-width: 100%; }*/
.print_version_button { display: none; }

.tmpl-contentblock h1 { font-size: 175%; margin-bottom: 15px; padding: 0; font-weight: 400; color: #f03e80;; }
.tmpl-contentblock cite { display: block; background: #f2f2f3; padding: 30px; font-weight: 400; }
.tmpl-contentblock h2 { font-size: 150%; 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 { list-style: none; border-left: 5px solid #f03e80;; margin: 0 0 8px 0; padding: 0 0 0 16px; }*/
.tmpl-contentblock ul > li { margin: 0 0 8px 20px; padding: 0; }
.tmpl-contentblock ol { counter-reset: li;  margin: 0; padding: 0; }
.tmpl-contentblock ol ol { margin: 0 0 0 32px 0; }
/*.tmpl-contentblock ol > li { list-style: none; margin: 0 0 8px 0; }*/
/*.tmpl-contentblock ol > li:before { content: counter(li); counter-increment: li; display: inline-block; background: #f03e80;; color: #fff; margin: 0 8px 0 0; border-radius: 50%; line-height: 32px; width: 32px; text-align: center; }*/
.tmpl-contentblock h3 { font-size: 150%; font-weight: 400; color: #f03e80;; }
.tmpl-contentblock a { color: #194580; text-decoration: none; }
.tmpl-contentblock a: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; border: 1px solid black;  }
.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; }

.cms-material-list .tmpl-item { display: block; border-bottom: 1px dotted #d3d3d3; margin-bottom: 20px; color: inherit; text-decoration: none; }
.cms-material-list .tmpl-item img { display: none; }
.cms-material-list .title { font-size: 112%; font-weight: 500; margin-bottom: 15px; line-height: 1.1; }
.cms-material-list .short { line-height: 1.2; margin-bottom: 15px; }
.cms-material-list .date { color: #a4a4a4; font-weight: 400; font-size: 87%; margin-bottom: 20px; }

@media (max-width: 1919px) {
    .tmpl-content { margin-top: 30px; margin-bottom: -20px; }
    .tmpl-contentblock { padding: 30px; }
    .date { font-size: 85%; }
}
@media (max-width: 1359px) {
    .tmpl-content { margin-top: 20px; }
    .tmpl-contentblock { padding: 30px 20px; }
    .allitems { margin-bottom: 15px; }
}
@media (max-width: 1023px) {
    .tmpl-content { margin-top: 30px; margin-bottom: 30px; }
/*    .tmpl-contentblock table { width: 100%!important; overflow: scroll; display: block; }*/
}
@media (max-width: 767px) {
    
}


/* photogallery */

.tmpl-photos { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; grid-gap: 20px; }
.tmpl-photos .tmpl-photo-item img { width: 100%; height: 180px; 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; grid-gap: 15px; }
    .tmpl-photos .tmpl-photo-item img { height: 165px; }
}
@media (max-width: 1359px) {
	.tmpl-photos { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 1023px) {
    .tmpl-photos { grid-template-columns: 1fr 1fr; }
	.tmpl-photos .tmpl-photo-item img { height: 170px; }
}
@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 1fr; grid-gap: 20px; }
.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: 1919px) {
	.tmpl-video-list { grid-template-columns: 1fr 1fr 1fr 1fr; grid-gap: 15px; }
}
@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: #e02b68!important; }


/*
@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; }


