/* Цвет сайта -------------------------------------------------------- */
/* Для изменения цвета сайта, поменять следующих два значения */
.setBG		{ background-color: #4d85c5; }	/* 6 */
.setColor	{ color: #4d85c5; }

/*
font-family: 'Roboto', sans-serif;
font-family: 'Roboto Condensed', sans-serif;
*/

body { font-family: 'Roboto', sans-serif; font-size: 18px; color: #3c3c3c; font-weight: 300; background-color: #fff; }

.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; }

/* HEADER -------------------------------------------------------------- */

.tmpl-header-jumbotron {
	padding: 0;
	margin: 0 0 -13px 0;
	background-image: url("/images/header-bg1.png"); 
	background-repeat: repeat;
	height: 328px;
	padding-top: 15px;
}

.tmpl-headerline-jumbotron {
	background: #fff;
	padding: 0;
	margin: 0;

}

.tmpl-header-line > * { line-height: 40px; font-family: 'Roboto Condensed', sans-serif; color: #7890a0; }

.tmpl-address { float: left; background-image: url("/images/ico-address.png"); background-repeat: no-repeat; background-position: 0 center; padding-left: 20px; margin-right: 15px; }
.tmpl-timedate { float: left; margin-right: 15px; }
.tmpl-timedate .Time { float: left; background: url("/images/ico-time.png") no-repeat 0 center; padding: 0 15px 0 20px; }
.tmpl-timedate .Day { float: left; background: url("/images/ico-date.png") no-repeat 0 center; padding: 0 0 0 20px; }

.tmpl-language { float: right; margin-right: 15px; }
.tmpl-language a { height: 11px; display: inline-block; }

.tmpl-version { float: right; }
.tmpl-version .text { float: right; margin-right: 8px; }
.tmpl-version .btn { float: right; min-width: 40px; height: 40px; border-radius: 3px; background-position: center center; background-repeat: no-repeat; color: #fff; }
.tmpl-version .btn.look { background-image: url("/images/ico-look.png"); margin-right: 8px; padding-left: 40px; background-position: 8px center; }
.tmpl-version .btn.print { background-image: url("/images/ico-print.png"); }


.tmpl-header { position: relative; }

.tmpl-flag { position: absolute; top: 0; bottom: 0; left: -87px; right: 0; background-image: url("/images/flag.png"); background-repeat: no-repeat; }

.tmpl-title-block { position: relative; float: left; max-width: 49%; padding: 0 10px 0 32px; background-color: #fff; border-radius: 8px; border: 3px solid #eaf0f2; height: 180px; margin: 40px 0; font-family: 'Roboto Condensed', sans-serif; }
.tmpl-title-block .tmpl-mainnav { position: absolute; left: 10px; display: block; height: 100%; width: 12px; }
.tmpl-title-block .tmpl-mainnav > a { position: absolute; width: 12px; height: 12px; background-repeat: no-repeat; background-position: center center; opacity: 0.8; }
.tmpl-title-block .tmpl-mainnav > a.mhome { top: 15%; background-image: url("/images/mainnav-home.png"); }
.tmpl-title-block .tmpl-mainnav > a.mmail { top: 50%; background-image: url("/images/mainnav-mail.png"); margin-top: -6px; }
.tmpl-title-block .tmpl-mainnav > a.mmap { bottom: 15%; background-image: url("/images/mainnav-map.png"); }
.tmpl-title-block .tmpl-mainnav > a:hover { opacity: 1; }
.tmpl-title-block .tmpl-sitename-block { position: relative; display: table-row; margin: 0 10px 0 32px; }
.tmpl-title-block .tmpl-gerb { display: table-cell; height: 180px; vertical-align: middle; }
.tmpl-title-block .tmpl-gerb > span { display: inline-block; vertical-align: middle; }

.tmpl-title-block .tmpl-gerb * { display: inline; margin: 0; padding: 0; }
.tmpl-title-block .tmpl-gerb img { margin: 0 16px 0 0; border: none; }
.tmpl-title-block .tmpl-sitename { display: table-cell; height: 180px; vertical-align: middle; padding: 0; color: #c12b0e; line-height: 1.1; }
.tmpl-title-block .tmpl-sitename .tmpl-text1 { font-size: 120%; color: #76828d; }
.tmpl-title-block .tmpl-sitename .tmpl-text2 { font-size: 200%; }
.tmpl-title-block .tmpl-sitename .tmpl-text3 { font-size: 140%; }
.tmpl-title-block .tmpl-sitename .tmpl-text4 { font-size: 120%; }
.tmpl-title-block .tmpl-sitename a { text-decoration: none; color: #c12b0e; }


.tmpl-slider { position: relative; float: right; width: 49%; margin: 18px 0 0; }
.tmpl-slider #slider { border: none; border-radius: 8px; height: 225px; box-shadow: none; }
.tmpl-slider #slider img { border-radius: 8px; }
.tmpl-slider #slider .nivo-caption { top: 0; color: #fff; opacity: 1; background: RGBa(0,0,0,0.5); bottom: auto; border-radius: 8px; font-family: 'Roboto', sans-serif; font-size: 83%; padding: 8px; }
.tmpl-slider #slider.nivoSlider { margin-bottom: 0; }
.tmpl-slider .theme-default .nivo-directionNav a { opacity: 1; width: 12px; height: 30px; background-position: center center; }
.tmpl-slider .theme-default .nivo-directionNav a.nivo-prevNav { background-image: url("/images/arrow-left.png"); }
.tmpl-slider .theme-default .nivo-directionNav a.nivo-nextNav { background-image: url("/images/arrow-right.png"); }

.tmpl-slider .theme-default .nivo-controlNav { position: relative; padding: 0; margin: -30px 0 0; z-index: 100; }
.tmpl-slider .theme-default .nivo-controlNav a { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: none; border: 3px solid #fff; margin: 0 2px; vertical-align: top; }
.tmpl-slider .theme-default .nivo-controlNav a.active { background: #fff; }


/* MAINMENU ------------------------------------------------ */

.tmpl-mainmenu { font-family: 'Roboto Condensed', sans-serif; }
.tmpl-mainmenu .navbar { min-height: inherit; border-radius: 6px; border: none; }
.tmpl-mainmenu .navbar .navbar-collapse { padding: 0; }


.tmpl-mainmenu .navbar .search { display: block; float: left; height: 56px; padding: 0; margin: 0 0 0 12px; }
.tmpl-mainmenu .navbar .search .search-ico { float: left; height: 56px; width: 25px; background-image: url("/images/ico-search.png"); background-repeat: no-repeat; background-position: 0 center; }
.tmpl-mainmenu .navbar .search form { float: left; }
.tmpl-mainmenu .navbar .search input { float: left; margin: 8px 0 0 8px; background: #fff; border-radius: 6px; border: none; padding: 0 8px; font-weight: 300; height: 40px; width: 150px; }
.tmpl-mainmenu .navbar .search input:focus, .tmpl-mainmenu .navbar .search input:hover { outline: none; }
.tmpl-mainmenu .navbar .search .button { float: left; height: 40px; margin: 8px 8px 0 8px; padding: 0 8px; color: #fff; border-radius: 6px; background-color: RGBa(255,255,255,0.2); cursor: pointer; }
.tmpl-mainmenu .navbar .search .button > span { display: inline-block; vertical-align: middle; }

.tmpl-mainmenu ul.navbar-nav { }
.tmpl-mainmenu ul.navbar-nav > li { height: 56px; }
.tmpl-mainmenu ul.navbar-nav > li.devider { display: block; width: 1px; height: 40px; margin-top: 8px; border-right: 1px dotted #fff; }
.tmpl-mainmenu ul.navbar-nav > li.devider:last-child { display: none; }
.tmpl-mainmenu ul.navbar-nav > li > a { color: #fff !important; text-align: center; padding: 0 15px; cursor: pointer; border: none; height: 56px; font-size: 120%; }

.tmpl-mainmenu ul.navbar-nav > li > a > span { display: inline-block; vertical-align: middle; }

.tmpl-mainmenu ul.navbar-nav.navbar-right { margin: 0 !important; }
.tmpl-mainmenu ul.navbar-nav.navbar-right li { background: #c83852; border-radius: 6px; }
.tmpl-mainmenu ul.navbar-nav.navbar-right li > a { border-radius: 6px; }

.tmpl-mainmenu ul.navbar-nav > .active > a { background-color: RGBa(255,255,255,0.2); 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-color: RGBa(255,255,255,0.2); color: #fff; }

.tmpl-mainmenu ul.navbar-nav > .open > a, 
.tmpl-mainmenu ul.navbar-nav > .open > a:hover,
.tmpl-mainmenu ul.navbar-nav > .open > a:focus { background-color: RGBa(255,255,255,0.2); color: #fff; }

.tmpl-mainmenu .dropdown-menu { min-width: 295px; border: none; padding: 0; }
.tmpl-mainmenu .dropdown-menu > li { border-bottom: 1px solid #fff; }
.tmpl-mainmenu .dropdown-menu > li > a { text-align: left; color: #fff; padding: 8px; border: none; cursor: pointer; font-size: 120%; background-color: RGBa(255,255,255,0.2); }
.tmpl-mainmenu .dropdown-menu > li > a:hover,
.tmpl-mainmenu .dropdown-menu > li > a:focus { background: none; }
.tmpl-mainmenu .dropdown-menu > li:first-child > a { border-top: none; }
.tmpl-mainmenu .dropdown-menu > li:last-child > a { border-bottom: none; }

.tmpl-mainmenu .navbar-brand,
.tmpl-mainmenu .navbar-brand:hover, 
.tmpl-mainmenu .navbar-brand:focus { color: #fff; text-decoration: none; padding-left: 0; }

.tmpl-mainmenu .navbar-collapse:not(.in) .dropdown:hover > .dropdown-menu { display: block; }

.tmpl-mainmenu .navbar-collapse.in .navbar-nav .open .dropdown-menu { }
.tmpl-mainmenu .navbar-collapse.in .navbar-nav .open .dropdown-menu > li > a { color: #fff; padding: 5px 16px 5px 32px; }
.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 { color: #fff; background-color: RGBa(255,255,255,0.1); }


/* LEFTSIDE ------------------------------------- */

.tmpl-leftmenu { margin: 0; font-family: 'Roboto Condensed', sans-serif; margin-bottom: 16px; }
.tmpl-leftmenu ul { }
.tmpl-leftmenu .nav a { font-size: 122%; }
.tmpl-leftmenu .nav > li { margin-bottom: 4px; }
.tmpl-leftmenu .nav > li > a { color: #fff; cursor: pointer; }
.tmpl-leftmenu .nav > li > a:hover, 
.tmpl-leftmenu .nav > li > a:focus { background-color: RGBa(255,255,255,0.3); color: #fff; }
.tmpl-leftmenu .nav > li:first-child > a { border-top: none; }
.tmpl-leftmenu .nav > li:last-child > a { border-bottom: none; }
.tmpl-leftmenu ul > li > ul { position: absolute; visibility: hidden; padding: 0; margin: 0 0 0 1px; top: 0; width: 250px; box-shadow: 5px 5px 0 RGBa(0,0,0,0.3); border-radius: 0; z-index: 500;  }
.tmpl-leftmenu ul > li > ul > li { position: relative; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid #fff; }
.tmpl-leftmenu ul > li > ul > li > a { display: block; color: #fff; text-decoration: none; cursor: pointer; background-color: RGBa(255,255,255,0.3); padding: 6px 16px 6px 16px; }
.tmpl-leftmenu ul > li > ul > li > a:hover { background: none; }

.tmpl-leftside .tmpl-banner-left { position: relative; text-align: center; margin: 16px 0 16px 0; }
.tmpl-leftside .tmpl-banner-left img { border: 0; margin: 0 0 8px 0; float: left; }
.tmpl-leftside .tmpl-banner-left a { text-decoration: none; }


/* CONTENT ------------------------------------- */

.tmpl-content { margin: 0 0 16px; }

.tmpl-contentblock { margin-bottom: 16px; }

.tmpl-pathway {  
	color: #3c3c3c;
    font-size: 12px;
    padding: 0;
}
.tmpl-pathway a:link,
.tmpl-pathway a:visited { color: #3c3c3c; }
.tmpl-pathway a:hover { color: #3c3c3c; }

.tmpl-content h1,
.tmpl-rightside h1, 
.main-title {
	padding: 0 0 5px 0;
	margin: 0 0 8px 0;
	font-family: 'Roboto', sans-serif;
    font-size: 166%;
	line-height: 1.2;
    font-weight: 300;
	border-bottom: 2px solid #c4ced5;
}
.h1 > a.all,
.main-title > a.all { float: right; color: #e05543; text-decoration: none; }
.h1 > a.all:hover,
.main-title > a.all:hover { text-decoration: underline; }

.sub-title { font-size: 133%; margin: 0 0 8px 0; }

.tmpl-title1 { font-size: 133%; background: #d7d7d7; margin: 0; padding: 0 16px; line-height: 46px; font-family: 'Roboto Condensed', sans-serif; }
.tmpl-title1 .other { float: right; text-decoration: none; cursor: pointer; }

.question input[name="keystring"] { width: 90px; }

.print_version_button { display: none; }

.tabs { position: relative; margin: 0 0 16px 0; }
.tabs > ul { width: 100%; margin: 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: 'Roboto Condensed', sans-serif; text-transform: uppercase; font-size: 122%; 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 { float: left; width: 100%; padding: 16px 0 0; background: #fff; margin: 0 0 16px 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 { float: left; width: 100%; margin: 0 0 8px 0; padding: 0 0 8px 0; border-bottom: 1px dotted #c9c9c9; }
.tmpl-content .tmpl-items .tmpl-item:last-child { border: none; }
.tmpl-content .tmpl-item img { float: left; margin: 0 8px 5px 0; max-width: 177px; }
.tmpl-content .tmpl-item a.tmpl-title { display: inline; text-decoration: none; padding: 0 8px 0 0; font-weight: 400; }
.tmpl-content .tmpl-item a.tmpl-title:hover { text-decoration: underline; }
.tmpl-content .tmpl-item .tmpl-short { margin: 5px 0 0; }
.tmpl-content .tmpl-item .tmpl-date { color: #8d9aac; font-size: 88%; margin-top: 8px; }

a.allitems { float: right; color: #fff; padding: 6px 8px; font-size: 83%; text-align: center; text-decoration: none; margin: 0; min-width: 150px; }

.gallary-links { position: relative; margin: 0 0 16px 0; }
.gallary-links > a { display: inline-block; vertical-align: top; width: 170px; height: 220px; margin: 0 10px 14px 0; text-decoration: none; cursor: pointer; text-align: center; color: #4f2327; font-weight: 700; }
.gallary-links > a.active,
.gallary-links > a:hover { opacity: 0.8; }

.tmpl-albums { position: relative; }
.tmpl-albums .gallary-link a { display: block; text-decoration: underline; color: #fc8114; font-family: 'Arial Narrow', sans-serif; line-height: 1.2; font-weight: 700; margin: 0 0 8px 0; }
.tmpl-photos { position: relative; }
.tmpl-photos .tmpl-photo-item { display: inline-block; vertical-align: top; width: 200px; height: 220px; margin: 0 20px 14px 0; text-align: center; overflow: hidden; }
.tmpl-photos .tmpl-photo-item .image { display: block; width: 200px; height: 170px; overflow: hidden; }
.tmpl-photos .tmpl-photo-item img { height: 170px; }

.tmpl-video-list { position: relative; }
.tmpl-video-list .tmpl-video { display: inline-block; vertical-align: top; width: 296px; height: 250px; margin: 0 16px 16px 0; text-align: center; vertical-align: top; }
.tmpl-video-list .tmpl-video:nth-child(3n+3) { margin-right: 0; }
.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; }


/* RIGHTSIDE -------------------------------- */

.tmpl-rightside { margin: 0 0 16px 0; }

.tmpl-glava { margin: 0 0 16px 0; background: #f4f6f8; text-align: center; font-family: 'Roboto Condensed', sans-serif; font-size: 111%; }
.tmpl-glava img { margin-bottom: 8px; }
.tmpl-glava h1,
.tmpl-glava h2,
.tmpl-glava h3 { display: block; text-align: center; font-weight: 300; color: #1888b1; margin: 0; font-size: 111%; font-family: 'Roboto Condensed', sans-serif; }
.tmpl-glava a.priem { display: block; text-align: left; font-size: 122%; padding: 0 8px 0 40px; margin-top: 8px; background-image: url("/images/ico-post.png"); background-repeat: no-repeat; background-position: 8px center; color: #fff; text-decoration: none; line-height: 40px; }

.tmpl-items-anons { position: relative; background: #f7f7f7; padding: 16px; margin-bottom: 16px; font-family: 'Roboto Condensed', sans-serif; }
.tmpl-items-anons .item { border-bottom: 2px dotted #8a8a8a; padding-bottom: 8px; margin-bottom: 8px; }
.tmpl-items-anons .item a { color: #282828; }
.tmpl-items-anons .item:last-child { border: none; padding-bottom: 0; margin-bottom: 0; }

.tmpl-rightside .tmpl-banner-right { position: relative; text-align: center; margin: 16px 0 16px 0; }
.tmpl-rightside .tmpl-banner-right img { border: 0; margin: 0 0 8px 0; float: left; }
.tmpl-rightside .tmpl-banner-right a { text-decoration: none; }


.photoslider1-button { position: absolute; top: 68px; width: 16px; height: 32px; background-repeat: no-repeat; margin: 0; cursor: pointer; z-index: 10; }
.photoslider1-button.btn-left { left: 0; background-image: url("/images/slider-arrow-l.png"); }
.photoslider1-button.btn-left:hover { }
.photoslider1-button.btn-right { right: 0; background-image: url("/images/slider-arrow-r.png"); }
.photoslider1-button.btn-right:hover { }
.photoslider1-button.disabled { opacity: 0.5; }
.tmpl-photoslider1 { position: relative; width: 100%; margin: 0 0 16px 0; overflow: hidden; padding: 0; }
.tmpl-photoslider1 ul { margin: 0; padding: 0; }
.tmpl-photoslider1 ul li { display: inline-block; text-align: left; list-style: none; width: 296px; height: 168px; margin: 0 16px 0 0; }
.tmpl-photoslider1 ul li a { text-decoration: none; }
.tmpl-photoslider1 ul li img { margin: 0; }


.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; box-shadow: 0 1px 3px RGBa(0,0,0,0.22); 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-footer-block1 { position: relative; clear: both; background-image: url("/images/footer-menu1-bg.png"); background-repeat: repeat; }
.tmpl-footermenu1 { margin: 0; text-align: center; }
.tmpl-footermenu1 ul { position: relative; margin: 0; padding: 0; }
.tmpl-footermenu1 ul > li { position: relative; display: inline-block; list-style: none; padding: 0; margin: 0; vertical-align: top; }
.tmpl-footermenu1 ul > li.devider { height: 40px; width: 2px; background-image: url("/images/devider-bg.png"); background-repeat: repeat-y; }
.tmpl-footermenu1 ul > li.devider:last-child { display: none; }
.tmpl-footermenu1 ul > li.directly-active,
.tmpl-footermenu1 ul > li.indirectly-active,
.tmpl-footermenu1 ul > li:hover { background-color: RGBa(255,255,255,0.3); }
.tmpl-footermenu1 ul > li > a { display: block; line-height: 40px; padding: 0 8px; color: #fff; text-transform: uppercase; text-decoration: none; cursor: pointer; }

.tmpl-footer-block2 { position: relative; clear: both; padding: 1px 0; }
.tmpl-footermenu2 ul { display: none; }
.tmpl-footermenu2 span.directly-active ul,
.tmpl-footermenu2 span.indirectly-active ul { display: block; }
.tmpl-footermenu2 ul { 
	padding: 16px 0 8px 0; 
	margin: 0;
	column-count: 3;
    column-gap: 2em;
    -moz-column-count: 3;
    -moz-column-gap: 2em;
    -webkit-column-count: 3;
    -webkit-column-gap: 2em;
}
.tmpl-footermenu2 ul > li { display: inline-block; position: relative; list-style: none; margin: 0; padding: 0; cursor: pointer; width: 300px; }
.tmpl-footermenu2 ul > li > a { display: block; color: #fff; text-decoration: none; text-transform: uppercase; padding: 8px; }
.tmpl-footermenu2 ul > li.directly-active,
.tmpl-footermenu2 ul > li.indirectly-active,
.tmpl-footermenu2 ul > li:hover { background-color: RGBa(255,255,255,0.3); }
.tmpl-footermenu2 ul > li.devider { height: 2px; background-image: url("/images/devider-left-bg.png"); background-repeat: repeat-x; }
.tmpl-footermenu2 ul > li.devider:first-child { display: none; }


/* FOOTER ---------------------------------- */

.tmpl-footer-bg { background-image: url("/images/footer-bg.png"); background-repeat: repeat; }
.tmpl-footer {
	position: relative; 
	height: 50px;
	font-size: 88%;
}

.tmpl-saveus {
	position: absolute;
	height: 100%;
    color: #fff;
    cursor: pointer;
    padding: 0 80px 0 16px;
	cursor: pointer;
}
.tmpl-meh {
	position: absolute; 
	left: 270px;
	width: 73px;
	height: 100%;
	background: url("/images/saveus-bg.png") no-repeat 0 bottom; 
}
.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: 356px; 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: 974px) and (max-width: 1261px) {

	body { font-size: 14px; }

	.tmpl-slider #slider { height: 170px; }
	
}

/* Десктоп и меньше */
@media (max-width: 1261px) {

	.tmpl-flag { background-size: auto 220px; left: -75px; }
	.tmpl-title-block { height: 150px; margin-top: 30px; }
	.tmpl-title-block .tmpl-gerb,
	.tmpl-title-block .tmpl-sitename { height: 145px; }
	
	.tmpl-header-jumbotron {
		background-size: auto 288px;
		height: 288px;
	}
	
	.tmpl-mainmenu .navbar .search input { width: 100px; }
	.tmpl-mainmenu ul.navbar-nav > li > a { padding: 0 8px; }

	.tmpl-meh { left: 230px; background-size: 60px auto; }
	.tmpl-footer-content { left: 316px; }
}

/* Планшет */
@media (min-width: 798px) and (max-width: 973px) {
	body { font-size: 14px; }
	
	.tmpl-slider { margin-top: 30px; }
	.tmpl-slider #slider { height: 151px; }
	
	
}
/* Планшет и меньше*/
@media (max-width: 973px) {
	.tmpl-flag { left: -60px; }
	.map-block .map-title { left: 0; }
	.map-block #map ymaps[class^="ymaps-2-1-"][class$="-controls__control"] { left: 0 !important; margin-left: 26px !important; }
	
	.tmpl-mainmenu ul.navbar-nav { margin: 0; }
	.tmpl-mainmenu ul.navbar-nav > li { height: auto; }
	.tmpl-mainmenu ul.navbar-nav > li.devider { display: none; }
	.tmpl-mainmenu ul.navbar-nav > li > a { max-width: none; text-align: left; }
	
	.tmpl-mainmenu .navbar-toggle { float: left; margin-left: 8px; margin-right: 8px; }
	.tmpl-mainmenu .navbar-toggle:focus { outline: none; }
	.tmpl-mainmenu .navbar-toggle .icon-bar { background: #fff; }
	.tmpl-mainmenu .navbar .navbar-collapse { padding: 0 15px 15px; }
	.tmpl-mainmenu .navbar .navbar-form { margin: 0 -15px; border-top: none; }
	
	.tmpl-mainmenu .navbar-collapse.in .navbar-nav .open .dropdown-menu { position: relative; top: auto; float: none; box-shadow: none; }
	.tmpl-mainmenu .navbar-collapse.in .navbar-nav .open .dropdown-menu > li > a { color: #fff; padding: 6px 16px; white-space: normal; }
	.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 { color: #fff; }	
	
	.tmpl-mainmenu .dropdown-menu > li { border-bottom: none; }
	
	.tabs > ul { border: none; }
	.tabs > ul > li,
	.tabs > ul > li > a { display: block; }
	.tabs > ul > li > a { border-bottom: 1px solid #fff; }
}

/* Мобильная версия */
@media(max-width: 797px){
	body { font-size: 16px; }
	
	.container { padding: 0 15px; }
	
	.tmpl-title-block { max-width: none; width: 100%; }
		
	.tmpl-content .tmpl-item img { float: none; margin: 0 8px 16px 0; text-align: center; max-width: 100%; }
	
	.tmpl-footer-content { left: 16px; }
}

@media(max-width: 332px){
	.tmpl-gerb { display: none; }
}

/* 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; }