/* Цвет сайта -------------------------------------------------------- */
/* Для изменения цвета сайта, поменять следующих два значения */
.setBG		{ background-color: #3b6798; }	/* 16 */
.setColor	{ color: #3b6798; }

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

body, html { font-family: 'Roboto', sans-serif; font-size: 18px; color: #282828; font-weight: 300; background-color: #fff; }

.tmpl-site { position: relative; }

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

.vertfix { display: inline-block; vertical-align: middle; height: 100%; width: 0; }

.jumbotron { line-height: inherit; font-size: inherit; }
.jumbotron p { font-weight: 300; font-size: inherit; }

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

.spoiler-h2 { color: #428bca; display: block; padding: 10px; padding-left: 45px; background-image: url(images/ico-arrowdown.png); background-repeat: no-repeat; background-position: left 10px center; border: 1px solid #e8ecef; border-radius: 10px; background-color: #f4f5f6;  }
.spoiler-h2.up { background-image: url(images/ico-arrowup.png); }
.spoiler-h2:hover { cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14), 0 0 2px rgba(0, 0, 0, 0.1);}
.spoiler-body { display: none; margin: 15px 0; padding: 10px; background-color: #e1e7ee; border-radius: 10px; }

.custom-banner { display: block; width: 285px; height: 193px; background-repeat: no-repeat; background-position: 0 0; margin: 0 0 16px 0; }
.custom-banner.t1 { background-image: url("images/banner-bg.png"); }

.module-letters .letter-button,
.module-letters #sendForm .file-upload { background-color: #3b6798; }
.module-letters .letter-button.active { background-color: #3b6798; }

.plg-polls .plg-answer input[type="checkbox"] + label:hover:before { background: #3b6798; }
.plg-polls .plg-answer input[type="checkbox"]:checked + label:before { background: #3b6798; box-shadow: 0 0 0 2px #3b6798; }
.plg-polls .plg-answer input[type="checkbox"]:checked + label { color: #3b6798; }
.plg-polls .plg-answer.result .result-line { background-color: #708fb1; }
.plg-polls .plg-button {  background-color: #3b6798; border-radius: 0; }
.plg-polls .plg-button:hover { background-color: #708fb1 }

.print_version_button { float: none; text-align: right; }


header { position: relative; }

.tmpl-header-bg1 { position: absolute; left: 0; width: 15px; height: 240px; background-image: url("images/header-bg-left.png"); background-repeat: no-repeat; background-position: 0 0; }
.tmpl-header-bg2 { position: absolute; left: 15px; right: 15px; height: 240px; background-image: url("images/header-bg.png"); background-repeat: repeat-x; background-position: 0 0; }
.tmpl-header-bg3 { position: absolute; right: 0; width: 15px; height: 240px; background-image: url("images/header-bg-right.png"); background-repeat: no-repeat; background-position: 0 0; }
.tmpl-header-bg4 { position: absolute; top: 40px; left: 0; right: 0; height: 200px; background-image: url("images/header-bg2.png"); background-repeat: repeat-x; background-position: 0 0; border-radius: 14px 14px 0 0; }
.tmpl-header-bg5 { position: absolute; top: 40px; left: 0; right: 0; height: 200px; background-image: url("images/header-bg3.png"); background-repeat: no-repeat; background-position: right 0; }
.tmpl-header-bg6 { position: absolute; top: 195px; left: 0; right: 0; height: 21px; background-image: url("images/header-bg4.png"); background-repeat: no-repeat; background-position: center 0; }


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

.tmpl-header-line {
	position: relative;
}

.tmpl-header-line > * { line-height: 40px; font-family: 'Roboto Condensed', sans-serif; color: #fff; }

.tmpl-address { float: left; background-image: url("images/ico-address.png"); background-repeat: no-repeat; background-position: 0 center; padding-left: 24px; }

.tmpl-timedate { float: left; margin-right: 0; margin-left: 32px; }
.tmpl-timedate .Time { float: left; background-image: url("images/ico-time.png"); padding: 0 15px 0 20px; background-repeat: no-repeat; background-position: 0 center; }
.tmpl-timedate .Day { float: left; background-image: url("images/ico-date.png"); padding: 0 0 0 20px; background-repeat: no-repeat; background-position: 0 center; }

.tmpl-language { float: left; margin-left: 32px; }
.tmpl-language a { display: inline-block; text-decoration: none; }

.tmpl-version { float: right; padding-left: 36px; width: 304px; padding-right: 8px; cursor: pointer; background-image: url("images/ico-look.png"); background-repeat: no-repeat; background-position: 8px center; background-color: RGBa(255,255,255,0.3); border-radius: 0 0 12px 12px; }


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

.tmpl-header { position: relative; height: 155px; }

.tmpl-mainnav { position: relative; float: left; width: 16px; height: 155px; margin-right: 22px; }
.tmpl-mainnav > span { position: absolute; margin: auto; top:0; bottom: 0; height: 96px; }
.tmpl-mainnav a:link,
.tmpl-mainnav a:visited {
	display: inline-block;
	width: 16px;
    height: 16px;
	margin-bottom: 24px;
	background-position: center center;
	background-repeat: no-repeat;
}
.tmpl-mainnav a:last-child { margin-bottom: 0; }
.tmpl-mainnav a.home { background-image: url("images/ico-mhome.png"); }
.tmpl-mainnav a.mail { background-image: url("images/ico-memail.png"); }
.tmpl-mainnav a.map { background-image: url("images/ico-mmap.png"); }

.tmpl-sitename-body {
	position: relative;
	float: left;
	z-index: 20;
}
.tmpl-gerb { display: table-cell; height: 155px; vertical-align: middle; }
.tmpl-gerb * { display: inline; margin: 0; padding: 0; }
.tmpl-gerb img { margin: 0 16px 0 0; border: none; }
.tmpl-sitename { display: table-cell; height: 155px; vertical-align: middle; font-size: 250%; padding: 0; font-family: 'Lora', serif; }
.tmpl-sitename .tmpl-sub { font-size: 35%; text-transform: uppercase; }
.tmpl-sitename .tmpl-small { font-size: 55%; }
.tmpl-sitename a { text-decoration: none; color: #fff; }

.tmpl-contacts { position: absolute; right: 0; top: 8px; background-color: #fff; border-radius: 12px; height: 140px; width: 304px; font-family: 'Lora', serif; }
.tmpl-contacts .phone { margin-top: 20px; padding: 0 16px 0 38px; color: #62546a; background: url("images/ico-phone.png") no-repeat 8px center; }
.tmpl-mainmenu .phone > span { display: table-row; }
.tmpl-contacts .phone .small { display: table-cell; vertical-align: middle; width: 80px; height: 50px; }
.tmpl-contacts .phone .big { display: table-cell; vertical-align: middle; height: 50px; font-size: 233%; }
.tmpl-contacts .email { padding: 0 16px 0 38px; color: #62546a; width: 304px; height: 50px; background: url("images/ico-email.png") no-repeat 8px center; }
.tmpl-contacts .email > span { display: inline-block; vertical-align: middle; }


/* MAINMENU ------------------------------------------------ */

.tmpl-mainmenu { position: relative; font-family: 'Lora', serif; border-radius: 12px; margin-top: 21px; }
.tmpl-mainmenu .navbar { min-height: inherit; border: none; margin-left: 48px; margin-bottom: 0; z-index: 9; }
.tmpl-mainmenu .navbar .navbar-collapse { padding: 0; }

.tmpl-mainmenu ul.navbar-nav { }
.tmpl-mainmenu ul.navbar-nav > li { }
.tmpl-mainmenu ul.navbar-nav > li > a { color: #fff !important; text-align: center; padding: 0 16px; cursor: pointer; border: none; height: 48px; font-size: 122%; font-weight: 300; }
.tmpl-mainmenu ul.navbar-nav > li > a > span { display: inline-block; vertical-align: middle; }

.tmpl-mainmenu ul.navbar-nav > .active > a { color: #fff; }
.tmpl-mainmenu ul.navbar-nav > li:hover > a,
.tmpl-mainmenu ul.navbar-nav > .active > a:hover,
.tmpl-mainmenu ul.navbar-nav > .active > a:focus { background-image: url("images/topmenu-hover.png"); background-repeat: repeat; color: #fff; text-shadow: none; height: 48px;  }

.tmpl-mainmenu ul.navbar-nav.navbar-right { margin: 0 !important; }
.tmpl-mainmenu ul.navbar-nav.navbar-right li { }
.tmpl-mainmenu ul.navbar-nav.navbar-right li > a { background-color: #cb283b; color: #fff !important; border-radius: 8px; text-transform: uppercase; }

.tmpl-mainmenu .dropdown-menu { min-width: 295px; border: none; padding: 0; border-radius: 0 3px 3px 3px; }
.tmpl-mainmenu .dropdown-menu > li { }
.tmpl-mainmenu .dropdown-menu > li > a { text-align: left; color: #fff; padding: 8px 16px; border: none; cursor: pointer; border-bottom: 1px solid RGBa(255,255,255,0.3); font-weight: 300; background-image: url("images/topmenu-hover.png"); background-repeat: repeat; white-space: normal; }
.tmpl-mainmenu .dropdown-menu > li > a:hover,
.tmpl-mainmenu .dropdown-menu > li > a:focus { background-image: none; background-color: transparent !important; }
.tmpl-mainmenu .dropdown-menu > li:first-child > a { border-radius: 0 3px 0 0; }
.tmpl-mainmenu .dropdown-menu > li:last-child > a { border-bottom: none; border-radius: 0 0 3px 3px; }

.tmpl-mainmenu .navbar-collapse:not(.in) .dropdown:hover > .dropdown-menu { display: block; }

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


.tmpl-page { margin-top: 0; padding-top: 16px; padding-left: 0; padding-right: 0; padding-bottom: 16px; background: #fff; }


/* LEFTSIDE ------------------------------------- */

.tmpl-leftside { margin: 0 0 16px 0; }

.tmpl-leftmenu { font-family: 'Lora', serif; margin: 0; margin-bottom: 16px; padding: 12px 0; border-radius: 12px; }
.tmpl-leftmenu ul.nav { border-radius: 0; }
.tmpl-leftmenu ul.nav { }
.tmpl-leftmenu ul.nav a { font-size: 111%; font-weight: 300; padding: 8px 16px; }
.tmpl-leftmenu ul.nav > li { }
.tmpl-leftmenu ul.nav > li > a { cursor: pointer; color: #fff; padding-left: 16px; margin: 0 16px; background-image: url("images/menu-arrow.png"); background-repeat: no-repeat; background-position: 0 center; border-bottom: 1px dashed #e1e1e1; }
.tmpl-leftmenu ul.nav > li:last-child > a { border-bottom: none; }
.tmpl-leftmenu ul.nav > li.directly-active,
.tmpl-leftmenu ul.nav > li.indirectly-active { background-image: url("images/leftmenu-hover.png"); }
.tmpl-leftmenu ul.nav > li.directly-active > a,
.tmpl-leftmenu ul.nav > li.indirectly-active > a { color: #fff !important; }
.tmpl-leftmenu ul.nav > li:hover, 
.tmpl-leftmenu ul.nav > li:focus { background-image: url("images/leftmenu-hover.png"); background-repeat: repeat; }
.tmpl-leftmenu ul.nav > li:hover > a, 
.tmpl-leftmenu ul.nav > li:focus > a { color: #fff !important; text-shadow: none; }
.tmpl-leftmenu ul.nav > li > ul { position: absolute; visibility: hidden; padding: 0; margin: 0; top: 0; width: 312px; box-shadow: 5px 5px 0 #e9e9e9; border-radius: 0 3px 3px 3px; z-index: 500; margin-left: 1px; }
.tmpl-leftmenu ul.nav > li > ul > li { position: relative; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid #fff; background-image: url("images/leftmenu-hover.png"); background-repeat: repeat; }
.tmpl-leftmenu ul.nav > li > ul > li:first-child { border-radius: 0 3px 0 0; }
.tmpl-leftmenu ul.nav > li > ul > li:last-child { border: none; border-radius: 0 0 3px 3px; }
.tmpl-leftmenu ul.nav > li > ul > li:hover { background-image: none; }
.tmpl-leftmenu ul.nav > li > ul > li > a { display: block; color: #fff; font-size: 105%; text-decoration: none; cursor: pointer; padding: 9.5px 16px; }


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

.tmpl-content { margin: 0; }

.tmpl-contentblock { margin-bottom: 16px; }

.tmpl-pathway {  
	color: #808080;
	font-size: 100%;
    padding: 0;
	margin-bottom: 8px;
}
.tmpl-pathway a:link,
.tmpl-pathway a:visited { color: #808080; }
.tmpl-pathway a:hover { color: #808080; }

.maintitle {
	padding-bottom: 4px;
	margin-bottom: 12px;
    font-size: 155%;
	line-height: 1.2;
	border-bottom: 2px solid #c2c2c2;
    font-weight: 300;
}
.maintitle > a.all { float: right; color: #fff; text-decoration: none; text-transform: none; cursor: pointer; }
.maintitle > a.all:hover { text-decoration: underline; }

/*form.question { font-size: 14px; }*/
.question input[name="keystring"] { width: 90px; }

/* .print_version_button { display: none; } */


.tmpl-slider { position: relative; margin: 0 0 32px 0; }
.tmpl-slider #slider { border: none; border-radius: 0; box-shadow: none; height: 360px; }
.tmpl-slider #slider .line { position: absolute; top: 10px; bottom: 10px; left: 10px; right: 10px; border: 2px solid #fff; z-index: 100; }
.tmpl-slider #slider .nivo-caption { color: #fff; font-weight: 400; padding: 8px 26px 32px; opacity: 1; text-decoration: none; }
.tmpl-slider #slider .nivo-caption a { text-decoration: none; border-bottom: none; color: #fff; }
.tmpl-slider #slider .nivo-caption a:hover { border-bottom: 1px dotted #fff; }
.tmpl-slider #slider.nivoSlider { margin-bottom: 0; }
.tmpl-slider #slider img { }
.tmpl-slider .theme-default .nivo-controlNav { position: absolute; left: 30%; right: 30%; padding: 0; margin: 8px 0 0; z-index: 101; }
.tmpl-slider .theme-default .nivo-controlNav a { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: none; margin: 0 2px; opacity: 0.7; }
.tmpl-slider .theme-default .nivo-controlNav a.active { opacity: 1; }


.tabs { position: relative; margin: 0; }
.tabs > ul { width: 100%; margin: 0 0 16px 0; padding: 0; border-bottom: 2px solid #d7d7d7; }
.tabs > ul > li { list-style: none; display: inline-block; }
.tabs > ul > li > a { display: inline-block; font-family: 'Lora', serif; font-size: 111%; padding: 5px 10px; text-decoration: none; cursor: pointer; border-bottom: none; color: #fff; }
.tabs > ul > li > a.active { background: #d7d7d7 !important; color: #282828; }
.tabs > ul > li > a:hover { }
.tabs > ul > li > a.active { }
.tabs > .tab { display: none; position: relative; float: left; width: 100%; background: #fff; margin: 0; padding: 16px 0 0; }

.tmpl-lastdoc { margin: 0; padding: 5px 0 5px 5px; }
.tmpl-lastdoc .lastdoc1, .tmpl-lastdoc .lastdoc2 { padding: 2px 0 0 26px; min-height: 21px; }
.tmpl-lastdoc .lastdoc1 { background: url("cms_images/ico_doc4.png") 0 center no-repeat; }
.tmpl-lastdoc .lastdoc1 a, .tmpl-lastdoc .lastdoc2 a { color: #49759f; text-decoration: underline;  }
.tmpl-lastdoc .lastdoc1 .date, .tmpl-lastdoc .lastdoc2 .date { color: #a9abad; }

.tmpl-content .tmpl-items { position: relative;  }
.tmpl-content .tmpl-item { display: flex; width: 100%; margin: 0 0 8px 0; padding: 0 0 8px 0; border-bottom: 1px dotted #8d9aac; }
.tmpl-content .tmpl-items .tmpl-item:last-child { border: none; }
.tmpl-content .tmpl-item img { margin: 0 8px 0 0; width: 250px; height: 150px; object-fit: cover; }
.tmpl-content .tmpl-item .tmpl-title { display: inline; padding: 0 8px 0 0; font-size: 111%; font-weight: 400; }
.tmpl-content .tmpl-item:hover { text-decoration: none; }
.tmpl-content .tmpl-item:hover .tmpl-title { text-decoration: underline; }
.tmpl-content .tmpl-item .tmpl-short { margin: 5px 0 0; color: #000; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; }
.tmpl-content .tmpl-item .tmpl-date { color: #666; font-size: 90%; margin-top: 5px; }

a.allitems { float: right; color: #fff; padding: 6px 8px; text-align: center; text-decoration: none; margin: 0; min-width: 150px; }


/* photogallery */
.tmpl-photos { position: relative; }
.tmpl-photos .tmpl-photo-item { display: inline-block; vertical-align: top; width: 230px; height: 220px; margin: 0 20px 16px 0; text-align: center; overflow: hidden; }
.tmpl-photos .tmpl-photo-item .image { display: block; width: 100%; height: 170px; overflow: hidden; }
.tmpl-photos .tmpl-photo-item img { height: 170px; }
.tmpl-photos .tmpl-photo-item .title { display: block; margin: 5px 0 0; text-align: center; }

/* videogallery */
.tmpl-video-list { position: relative; }
.tmpl-video-list .tmpl-video { display: inline-block; vertical-align: top; width: 285px; height: 250px; margin: 0 16px 16px 0; text-align: center; vertical-align: top; }
.tmpl-video-list .tmpl-video img { width: 285px; box-shadow: 0 0 2px RGBa(0,0,0,0.6); }
.tmpl-video-list .tmpl-video .title { display: block; margin: 5px 0 0; text-align: center; }


.tmpl-content .page_numbering a { float: none; display: inline-block; background: #007cc3; line-height: 28px; width: 28px; padding: 0; font-size: 13px; font-weight: bold; border-radius: 3px; text-align: center; color: #fff; border: none; margin: 0 2px 0 0; }
.tmpl-content .page_numbering a.active { background: #0069a5; line-height: 28px; border: none; }

.tmpl-banners { position: relative; text-align: center; margin-bottom: 8px; }
.tmpl-banners img { margin: 0 8px 8px 0; }


/* RIGHTSIDE -------------------------------- */

.tmpl-rightside { margin: 0 0 16px 0; }

.tmpl-glava-photo { position: relative; text-align: center; }
.tmpl-glava-photo img { margin-bottom: 8px; max-width: 100%; }
.tmpl-glava { margin: 0 0 16px 0; text-align: center; font-family: 'Roboto Condensed', sans-serif; font-size: 111%; }
.tmpl-glava img { max-width: 100%; }
.tmpl-glava h1,
.tmpl-glava h2,
.tmpl-glava h3 { display: block; text-align: center; font-weight: 300; margin: 0; font-size: 111%; font-family: 'Roboto Condensed', sans-serif; }
.tmpl-glava > a { display: block; text-align: left; padding: 8px 8px; color: #fff; text-decoration: none; border-radius: 3px; margin-bottom: 1px; background-repeat: no-repeat; background-position: 8px center; }
.tmpl-glava > a.grafic { background-image: url("images/ico-grafic.png"); padding-left: 40px; }
.tmpl-glava > a.priem { background-image: url("images/ico-priem.png"); padding-left: 40px; }
.tmpl-glava > a.blog { background-image: url("images/ico-blog.png"); padding-left: 40px; }
.tmpl-glava > a.abaut { background-image: url("images/ico-abaut.png"); padding-left: 40px; }


.tmpl-rightmenu { margin: 0; font-family: 'Lora', serif; margin-bottom: 16px; padding: 0; }
.tmpl-rightmenu .menu-header { background-color: #d9d9d9; padding: 8px 16px 20px; font-size: 111%; border-radius: 12px 12px 0 0; margin-bottom: -12px; }
.tmpl-rightmenu ul.nav { border-radius: 0; border-radius: 12px; background-color: #f0f0f0; }
.tmpl-rightmenu ul.nav a { font-size: 111%; font-weight: 300; padding: 8px 16px; }
.tmpl-rightmenu ul.nav > li { border-bottom: 1px solid #fff; }
.tmpl-rightmenu ul.nav > li:last-child { border-bottom: none; }
.tmpl-rightmenu ul.nav > li > a { cursor: pointer; padding-left: 16px; margin: 0; }
.tmpl-rightmenu ul.nav > li:hover, 
.tmpl-rightmenu ul.nav > li:focus { }
.tmpl-rightmenu ul.nav > li:hover > a, 
.tmpl-rightmenu ul.nav > li:focus > a { text-shadow: none; }


.scroll-pane {
	position: relative;
	height: 250px;
	margin-bottom: 16px;
	overflow: auto;
}
.scroll-pane.photo { margin-left: 30px; margin-right: 30px; }
.scroll-pane table td { vertical-align: top; border: none; }
.scroll-pane .tmpl-scrollitem { margin-right: 8px; }
.scroll-pane .tmpl-scrollitem img { height: 170px; object-fit: cover;}
.scroll-pane .tmpl-scrollitem .title { margin-top: 8px; font-family: 'Roboto Condensed', sans-serif; line-height: 1.1; color: #483b3f; font-size: 94%; font-weight: 400; }
.scroll-pane .jspCap { display: none }
.scroll-pane .jspHorizontalBar { height: 8px; background: none; }
.scroll-pane .jspTrack { background: none; border-radius: 0; }
.scroll-pane .jspDrag { background-color: RGBa(0,0,0,0.3); border-radius: 4px; }
.scroll-l, .scroll-r { position: absolute; top: 16px; width: 16px; height: 180px; cursor: pointer; background-position: center center; background-repeat: no-repeat; }
.scroll-l { left: 0; background-image: url("images/scroll-arrow-l.png"); }
.scroll-r { right: 0; background-image: url("images/scroll-arrow-r.png"); }

.map-block { position: relative; width: 100%; height: 305px; margin-bottom: 16px; }
.map-block .map-title { position: absolute; top: 10px; left: 50%; line-height: 32px; padding: 0 15px; margin: 0 0 0 10px; color: #fff; z-index: 2; }
.map-block #map { position: relative; width: 100%; height: 305px; z-index: 1; }
.map-block #map ymaps[class^="ymaps-2-1-"][class$="-controls__control"] { left: 50% !important; margin-left: 26px !important; }
.tmpl-bottom-contacts { position: absolute; top: 10px; left: 10px; height: 285px; width: 50%; background: #fff; margin-bottom: 16px; z-index: 2; }
.tmpl-bottom-contacts-content { position: relative; padding: 16px; }
.tmpl-bottom-contacts .tmpl-bottom-addr { padding: 0 0 0 25px; margin: 10px 0 10px 0; background: url("images/bottom-address.png") no-repeat 0 center; line-height: 20px; color: #7890a0; }
.tmpl-bottom-contacts .tmpl-bottom-fax { padding: 0 0 0 25px; margin: 0 0 10px 0; background: url("images/bottom-fax.png") no-repeat 0 center; line-height: 20px; color: #7890a0; }
.tmpl-bottom-contacts .tmpl-bottom-mail { padding: 0 0 0 25px; margin: 0 0 10px 0; background: url("images/bottom-email.png") no-repeat 0 center; line-height: 20px; color: #7890a0; }
.tmpl-bottom-contacts span { color: #282828; }
.tmpl-bottom-contacts a { text-decoration: none; color: #7890a0; }


.tmpl-footermenu-container { }
.tmpl-footermenu { margin: 0; text-align: center; }
.tmpl-footermenu ul { position: relative; margin: 0; padding: 0; }
.tmpl-footermenu ul > li { position: relative; display: inline-block; list-style: none; padding: 0; margin: 0; vertical-align: top; }
.tmpl-footermenu ul > li.directly-active,
.tmpl-footermenu ul > li.indirectly-active,
.tmpl-footermenu ul > li:hover { background-color: RGBa(255,255,255,0.3); }
.tmpl-footermenu ul > li > a { display: block; line-height: 40px; padding: 0 8px; color: #fff; text-transform: uppercase; text-decoration: none; cursor: pointer; }


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

.tmpl-footer-bg { 
	background-image: url("images/footer-bg.png"); 
	background-repeat: repeat; 
}
.tmpl-footer {
	position: relative; 
	height: 50px;
	font-size: 77%;	
}

.tmpl-saveus {
	position: absolute;
	height: 100%;
    color: #fff;
    cursor: pointer;
    padding: 0 80px 0 16px;
	cursor: pointer;
}
.tmpl-meh {
	position: absolute; 
	left: 270px;
	width: 16px;
	height: 100%;
	background: url("images/footer-meh.png") no-repeat 0 0; 
}
.tmpl-saveus .stxt { display: inline-block; line-height: 50px; vertical-align: top; }
.tmpl-saveus .stxt span { border-bottom: 1px dotted #fff; }
.tmpl-saveus .img-i { display: inline-block; width: 14px; height: 50px; background: url("images/saveus_i.png") no-repeat 0 center; margin: 0 8px; vertical-align: top; }

.tmpl-footer-content { position: absolute; left: 300px; height: 100%; right: 16px; }
.ftxt { position: relative; display: table-row; margin: 0; padding: 0; color: #fff; text-align: left; }
.ftxt .row { position: relative; display: table-cell; height: 50px; vertical-align: middle; }
.ftxt a { color: #fff; }
.ftxt .row.counter { padding: 0 0 0 32px; }


/* Десктоп */
@media (min-width: 976px) and (max-width: 1332px) {

	body { font-size: 14px; }
	
	.navbar { background: none !important; }
			
	.tmpl-banners img { max-width: 212px; }
	
}

/* Десктоп и меньше */
@media (max-width: 1332px) {
	
	.tmpl-timedate,
	.tmpl-language { margin-left: 16px; }
	
	.tmpl-slider #slider { height: 320px; }
	
	.tmpl-version { width: 212px; }
	
	.tmpl-contacts { width: 212px; }
	.tmpl-contacts .phone .small { width: 60px; }
	.tmpl-contacts .phone .big { font-size: 170%; }
	.tmpl-contacts .email { width: 212px; }
	
	.tmpl-content .tmpl-item img { width: 170px; height: 130px; }
	
	.tmpl-mainmenu ul.navbar-nav > li > a { padding: 0 8px; }
	
	.tmpl-slider #slider { height: 256px; }
	
	.tmpl-meh { left: 230px; }
	.tmpl-footer-content { left: 280px; }
	
}

/* Планшет */
@media (min-width: 800px) and (max-width: 975px) {

	.navbar { background: none !important; }
	.tmpl-mainmenu ul.navbar-nav > li > a { padding: 0 8px; }
	
	.tmpl-banners img { max-width: 235px; }
	
	.tmpl-slider #slider { height: 280px; }
	
	.ftxt { margin-left: 310px; }
	
}

/* Планшет и меньше*/
@media (max-width: 975px) {

	body { font-size: 13px; }
	
	.map-block .map-title { left: 0; }
	.map-block #map ymaps[class^="ymaps-2-1-"][class$="-controls__control"] { left: 0 !important; margin-left: 16px !important; }	

	.map-block { height: auto; }
	.tmpl-bottom-contacts { position: relative; top: 10px; left: auto; top: auto; margin-top: 16px; height: auto; width: auto; border: 1px solid #f1f1f1; box-shadow: 5px 5px 0 #e9e9e9; }
	
}

/* Мобильная версия */
@media(max-width: 799px){
	
	.container { padding: 0 16px; }
	
	.tmpl-header-bg1 { height: 100%; }
	.tmpl-header-bg2 { height: 100%; }
	.tmpl-header-bg3 { height: 100%; }
	
	.tmpl-header-line { margin-bottom: 16px; }
	
	.tmpl-header { height: auto; }
	
	.tmpl-sitename-body { float: none; }
	.tmpl-gerb { display: block; height: auto; text-align: center; }
	.tmpl-gerb img { margin: 0 0 16px 0; }
	.tmpl-sitename { display: block; height: auto; text-align: center; margin-bottom: 16px; }
	
	.tmpl-mainmenu { margin-bottom: 16px; border-radius: 0; }
	.tmpl-mainmenu .navbar { margin-left: 0; }
	.tmpl-mainmenu ul.navbar-nav { margin: 0; padding-bottom: 16px; }
	.tmpl-mainmenu ul.navbar-nav > li > a { max-width: none; text-align: left; border-radius: 0; padding: 0 16px; margin-bottom: 0; border-bottom: 1px dashed #ccc; }
	.tmpl-mainmenu ul.navbar-right > li > a { border-bottom: none; }
	
	.tmpl-mainmenu .navbar-toggle { float: left; padding: 16px; margin: 0; }
	.tmpl-mainmenu .navbar-toggle:focus { outline: none; }
	.tmpl-mainmenu .navbar-toggle .icon-bar { background: #fff; }
	.tmpl-mainmenu .navbar .navbar-collapse { padding: 0; }
	
	.tmpl-mainmenu .navbar .navbar-form { margin: 0; padding: 0; border-top: none; }
	
	.tmpl-mainmenu .dropdown-menu { border-radius: 0; }
	.tmpl-mainmenu .dropdown-menu > li:first-child > a { border-radius: 0; }
	.tmpl-mainmenu .dropdown-menu > li:last-child > a { border-radius: 0; }
	
	.tmpl-mainmenu .navbar-brand,
	.tmpl-mainmenu .navbar-brand:hover, 
	.tmpl-mainmenu .navbar-brand:focus { color: #fff; text-decoration: none; padding-left: 0; text-transform: uppercase; line-height: 48px; padding: 0; }
	
	.tmpl-mainmenu ul.navbar-nav > li:hover > a,
	.tmpl-mainmenu ul.navbar-nav > .active > a:hover,
	.tmpl-mainmenu ul.navbar-nav > .active > a:focus { }
	
	.tmpl-mainmenu .navbar-collapse.in .navbar-nav .open .dropdown-menu { position: relative; top: auto; }
	.tmpl-mainmenu .navbar-collapse.in .navbar-nav .open .dropdown-menu > li > a { color: #fff; padding: 6px 16px; }
	.tmpl-mainmenu .navbar-collapse.in .navbar-nav .open .dropdown-menu > li > a:before { content: "\00BB"; margin-right: 8px; }
	.tmpl-mainmenu .navbar-collapse.in .navbar-nav .open .dropdown-menu > li > a:hover, 
	.tmpl-mainmenu .navbar-collapse.in .navbar-nav .open .dropdown-menu > li > a:focus { }
	
	.tmpl-content { margin: 0 0 16px 0; }
	
	.tmpl-slider #slider { height: auto; }
	
	.tabs > ul > li { display: block; }
	.tabs > ul > li > a { display: block; float: none; }
	
	.tmpl-content .tmpl-item { display: block; }
	.tmpl-content .tmpl-item img { width: 100%; height: auto; margin-bottom: 5px; }
	
	
	.tmpl-footer-content { left: 16px; }
	
}

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


.iframe-fix {
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 20px;
}

.iframe-fix iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}#search-document {
	display: block;
	border: 1px solid RGBa(0,0,0,0.2);
	padding: 16px 16px 0 16px;
	margin-bottom: 16px;
	border-radius: 2px;
	/*display: none;*/ /*!!!!!!!!!!!!!!!!!!!!*/
}

#search-document .slide-block { margin-bottom: 16px; display: none; }

#search-document * { box-sizing: border-box; font-weight: inherit; }

#search-document .search-title { position: relative; margin-bottom: 16px; font-weight: 400; }
#search-document .search-title #hidden-form { float: right; font-size: 88%; cursor: pointer; opacity: 0.7; }
#search-document .search-title #hidden-form:hover { opacity: 1; }

#search-document .field { position: relative; float: left; width: 100%; margin-bottom: 16px; }
#search-document .field.srch_text { width: 70%; margin-right: 1%; }
#search-document .field.srch_number { width: 29%; }

#search-document .field.srch_dates { width: 29%; margin-right: 1%; }
#search-document .field.srch_category { width: 70%; }


#search-document .field input[type="text"],
#search-document .field input[type="file"],
#search-document .field select,
#search-document .field textarea { width: 100%; border-radius: 3px; border: 1px solid #b5b5b5; padding: 3px 5px; height: 32px; outline: none !important; }

#search-document .field input[type="text"]#dates { position: relative; background: url("cms_images/calendar.png") no-repeat 5px center #fff; padding-left: 25px; }

@media (max-width: 975px) {
	#search-document .field.srch_text { width: 100%; margin-right: 0; }
	#search-document .field.srch_number { width: 100%; }
	
	#search-document .field.srch_dates { width: 100%; margin-right: 0; }
	#search-document .field.srch_category { width: 100%; }
}