/*
font-family: 'Roboto', sans-serif;
font-family: 'Roboto Condensed', sans-serif;
*/

body { font-size: 17px; color: #000; font-weight: 300; background-color: #fff; }

.wrapper { position: relative; }

.debug { background-color: RGBa(0,0,0,0.2) !important; outline: 1px dotted #FF0000 !important; }

.vertfix { display: inline-block; vertical-align: middle; height: 100%; width: 0; }

.container { padding: 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: #e95f40; }
.module-letters .letter-button.active { background-color: #d85a3d; }


/* HEADER LINE -------------------------------------------------------------- */

.tmpl-header-line {
	position: relative;
	background-color: #502113;
	font-size: 106%;
	z-index: 50;
}

.tmpl-header-line > * { }

.tmpl-mainnav { position: relative; float: left; margin-left: 16px; margin-right: 16px; }
.tmpl-mainnav a:link,
.tmpl-mainnav a:visited {
	display: block;
	float: left;
	width: 24px;
	height: 64px;
	background-position: center center;
	background-repeat: no-repeat;
}
.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-mainnav a:hover { }

@media(min-width: 768px){ /* кроме мобильной версии */
	.tmpl-mainmenu { position: relative; font-family: 'Roboto Condensed', sans-serif; height: 64px; float: left; }
	.tmpl-mainmenu .navbar { min-height: inherit; border: none; 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.devider { height: 64px; width: 1px; background-image: url("../images/menu-devider.png"); background-position: 0 center; background-repeat: no-repeat; }
	.tmpl-mainmenu ul.navbar-nav > li.devider:last-child { display: none; }
	
	.tmpl-mainmenu ul.navbar-nav > li.directly-active,
	.tmpl-mainmenu ul.navbar-nav > li.indirectly-active { background-color: #e04e39; }
	
	.tmpl-mainmenu ul.navbar-nav > li > a { text-align: left; padding: 0 12px; cursor: pointer; border: none; height: 64px; font-size: 106%; font-weight: 400; color: #fff !important; }
	.tmpl-mainmenu ul.navbar-nav > li > a > span { display: inline-block; vertical-align: middle; }
	.tmpl-mainmenu ul.navbar-nav > li > a.hover { height: 72px; padding-bottom: 8px; border-radius: 0; }

	.tmpl-mainmenu ul.navbar-nav > .active > a { background-color: #502113; color: #fff !important; }
	.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: #502113; color: #fff !important; text-shadow: none; }

	.tmpl-mainmenu .dropdown-menu { width: 296px; border: none; border-radius: 0; padding: 0; background-color: #502113; }
	.tmpl-mainmenu .dropdown-menu > li { padding: 0 20px; }
	.tmpl-mainmenu .dropdown-menu > li:hover { background-color: #61372a; }
	.tmpl-mainmenu .dropdown-menu > li > a { text-align: left; color: #fff; padding: 12px 0; border: none; cursor: pointer; border-bottom: 1px dashed RGBa(255,255,255,0.5); font-weight: 400; white-space: normal; line-height: 1.1; }
	.tmpl-mainmenu .dropdown-menu > li > a:hover,
	.tmpl-mainmenu .dropdown-menu > li > a:focus { background: none; }
	.tmpl-mainmenu .dropdown-menu > li:last-child > a { border-bottom: none; }

	.tmpl-mainmenu .navbar-collapse:not(.in) .dropdown:hover > .dropdown-menu { display: block; }
}
@media(min-width: 768px) and (max-width: 1359px){ /* десктоп, планшет */
	.tmpl-mainmenu  { height: 48px; }
	.tmpl-mainmenu ul.navbar-nav > li.devider { height: 48px; }
	.tmpl-mainmenu ul.navbar-nav > li > a { height: 48px; padding: 0 6px; }
	.tmpl-mainmenu ul.navbar-nav > li > a.hover { height: 56px; }
	.tmpl-mainmenu .navbar-collapse:not(.in) .dropdown:hover > .dropdown-menu { display: block; }
		
	.tmpl-mainmenu .dropdown-menu { width: 260px; }
}
@media(max-width: 767px){ /* Мобильная версия */
	.tmpl-mainmenu { }
	.tmpl-mainmenu .navbar { margin-left: 0; min-height: 48px; margin-bottom: 0; background: #593b30; border: 0; }
	.tmpl-mainmenu ul.navbar-nav { margin: 0; }
	.tmpl-mainmenu ul.navbar-nav > li.devider { display: none; }
	.tmpl-mainmenu ul.navbar-nav > li > a { color: #fff; text-align: left; border-bottom: 1px solid RGBa(0,0,0,0.16); margin: 0; }
	.tmpl-mainmenu .navbar-toggle { float: left; padding: 16px; margin: 0; }
	.tmpl-mainmenu .navbar-toggle:focus { outline: none; }
	.tmpl-mainmenu .navbar .navbar-collapse { padding: 0; }
	.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-search-link { float: left; width: 48px; height: 48px; background-image: url("../images/ico-search2.png"); background-repeat: no-repeat; background-position: center center; border-right: 1px dotted #fff; }
	.tmpl-mainmenu .navbar-toggle .icon-bar { background-color: #fff; box-shadow: 1px 2px 0px RGBa(0,0,0,0.2); }
	.tmpl-mainmenu .navbar-brand,
	.tmpl-mainmenu .navbar-brand:hover, 
	.tmpl-mainmenu .navbar-brand:focus { color: #fff; font-weight: 400; text-decoration: none; padding-left: 0; line-height: 48px; padding: 0; text-shadow: 1px 2px 0 RGBa(0,0,0,0.2); }
	
	.tmpl-mainmenu ul.navbar-nav > li:hover > a,
	.tmpl-mainmenu ul.navbar-nav > .active > a:hover,
	.tmpl-mainmenu ul.navbar-nav > .active > a:focus { }
	.nav .open > a, .nav .open > a:hover, .nav .open > a:focus { background: transparent; border: none; }
	.tmpl-mainmenu .dropdown-menu { position: relative; float: none; top: auto; background-color: RGBa(0,0,0,0.16) !important; margin: 0; padding: 0; }
	.tmpl-mainmenu .dropdown-menu > li > a { color: #fff; padding: 6px 16px; white-space: normal; }
	.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.16); }
}

.tmpl-social { position: relative; float: right; line-height: 64px; margin-right: 24px; }
.tmpl-social img { margin: 0 2px; }
.tmpl-social img:hover { opacity: 0.8; }

.tmpl-version { float: right; background-image: url("../images/ico-look.png"); background-repeat: no-repeat; background-position: 8px center; padding-left: 42px; padding-right: 8px; color: #fff; cursor: pointer; font-weight: 600; width: 310px; line-height: 64px; }


/* HEADER -------------------------------------------------------------- */

.tmpl-header { position: relative; height: 224px; background-color: #fff; box-shadow: 0 0 16px RGBa(80,33,19,0.21); margin-top: 16px; z-index: 1; }

.tmpl-logo { position: absolute; top: 24px; left: 24px; bottom: 24px; width: 222px; border-right: 1px dotted #d8a466; }
.tmpl-logo img { border: none; max-height: 100%; max-width: 100%; }

.tmpl-sitename-body {
	position: relative;
	margin-left: 277px;
	margin-right: 326px;
	margin-top: 16px;
	font-family: 'Roboto Condensed', sans-serif;
	z-index: 20;
}

.tmpl-sitename { display: table-cell; padding-left: 26px; height: 132px; margin-top: 16px; vertical-align: middle; font-size: 200%; padding: 0; font-weight: 700; color: #502113; line-height: 1; text-align: center; width: 709px; }
.tmpl-sitename .tmpl-sub { font-size: 50%; margin-bottom: 8px; color: #6e625d; font-weight: 400; text-transform: none; }
.tmpl-sitename .tmpl-small2 { font-size: 65%; margin-bottom: 8px; text-transform: none; }
.tmpl-sitename .tmpl-small { font-size: 50%; margin-top: 8px; color: #6e625d; font-weight: 400; text-transform: none; }
.tmpl-sitename a { text-decoration: none; color: #593b30; }

.tmpl-infoline { position: relative; margin-top: 8px; margin-bottom: 16px; font-weight: 400; }
.tmpl-infoline .tmpl-address-list { float: left; }
.tmpl-infoline .tmpl-address { padding: 0 0 0 24px; background: url("../images/ico-address.png") no-repeat 0 center; line-height: 20px; color: #c7c4c2; }
.tmpl-infoline .tmpl-address p { margin: 0; }
.tmpl-infoline .tmpl-address a { display: block; background: url("../images/address-arrow.png") no-repeat right center; text-decoration: none; color: #c7c4c2; padding-right: 16px; }
.tmpl-infoline .tmpl-contacts-list { float: left; margin-left: 16px; }
.tmpl-infoline .tmpl-phone { padding: 0 0 0 24px; background: url("../images/ico-phone.png") no-repeat 0 center; line-height: 30px; color: #c7c4c2; margin-left: 8px; }
.tmpl-infoline .tmpl-email { padding: 0 0 0 24px; background: url("../images/ico-email.png") no-repeat 0 center; line-height: 30px; color: #502113; margin-left: 8px; }
.tmpl-infoline .tmpl-email a { color: #502113; }

.tmpl-contacts { position: absolute; top: 32px; font-family: 'Roboto Condensed', sans-serif; right: 0; width: 310px; z-index: 20; }
.tmpl-contacts .citem { display: block; height: auto; padding-top: 8px; padding-bottom: 8px; color: #502113; padding-left: 30px; background-repeat: no-repeat; background-position: 0 8px; font-weight: 400; border-bottom: 1px dotted #e8c8a3; margin-right: 16px; }
.tmpl-contacts .citem a { color: #502113; text-decoration: none; }
.tmpl-contacts .citem b { font-weight: inherit; color: #e04e39; }
.tmpl-contacts .citem:first-of-type { border-top: 1px dotted #e8c8a3; }
.tmpl-contacts .citem:nth-child(2) { margin-top: 8px; }
.tmpl-contacts .citem > span { display: inline-block; vertical-align: middle; }
.tmpl-contacts .citem.phone { background-image: url("../images/ico-phone.png"); color: #6e625d; }
.tmpl-contacts .citem.email { background-image: url("../images/ico-email.png"); }
.tmpl-contacts .citem.priem { background-image: url("../images/ico-priem.png"); }
.tmpl-contacts .citem.worktime { background-image: url("../images/ico-regim.png"); }
.tmpl-contacts .citem.phones { background-image: url("../images/ico-phone.png"); }

a.tmpl-priemnaya { position: absolute; display: block; right: 0; bottom: -8px; background-color: #e04e39; background-image: url("../images/priemnaya-arrow.png"); background-repeat: no-repeat; background-position: 270px center; width: 312px; height: 48px; font-size: 117%; color: #fff; padding-left: 24px; text-decoration: none; z-index: 10; }
a.tmpl-priemnaya:hover { text-decoration: none; }
.tmpl-priemnaya-right { position: absolute; right: -15px; bottom: -8px; height: 67px; width: 15px; background-image: url("../images/priemnaya-right.png"); background-repeat: no-repeat; background-position: 0 0; z-index: 10; }
@media (max-width: 1359px) {
	a.tmpl-priemnaya { background-position: 200px center; width: 220px; height: 48px; }
}
@media (max-width: 767px) {
	a.tmpl-priemnaya { position: relative; right: auto; bottom: auto; margin: 0 auto 12px; max-width: 100%; }
}

.tmpl-page { margin-top: 0; padding: 24px 0 16px 0; }


/* LEFTSIDE ------------------------------------- */

.tmpl-leftside { margin: 0 0 16px 0; }

.tmpl-leftmenu { margin: 0; margin-bottom: 16px; font-family: 'Roboto Condensed', sans-serif; }
.tmpl-leftmenu ul.nav { border-radius: 0; }
.tmpl-leftmenu ul.nav { }
.tmpl-leftmenu ul.nav a { padding: 8px 16px; }
.tmpl-leftmenu ul.nav > li { margin-bottom: 8px; }
.tmpl-leftmenu ul.nav > li > a { cursor: pointer; color: #623b2a; border-radius: 0 12px 12px 12px; font-size: 153%; font-weight: 400; background-color: #f5dab3; box-shadow: 0 4px 0 #d8a466; background-image: url("../images/angle_16_white.png"); background-repeat: no-repeat; background-position: 0 0; background-size: 14px 14px; }
.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 { }
.tmpl-leftmenu ul.nav > li.directly-active > a,
.tmpl-leftmenu ul.nav > li.indirectly-active > a { }
.tmpl-leftmenu ul.nav > li:hover, 
.tmpl-leftmenu ul.nav > li:focus { }
.tmpl-leftmenu ul.nav > li:hover > a, 
.tmpl-leftmenu ul.nav > li:focus > a { background-color: #e95f40; color: #fff !important; text-shadow: none; }
.tmpl-leftmenu ul.nav > li > ul { position: absolute; visibility: hidden; padding: 0; margin: 0; top: 0; width: 360px; background-color: #e95f40; border-radius: 0 12px 12px 12px; z-index: 500; margin-left: 1px; }
.tmpl-leftmenu ul.nav > li > ul > li { position: relative; list-style: none; margin: 0; padding: 0 20px; }
.tmpl-leftmenu ul.nav > li > ul > li:first-child { }
.tmpl-leftmenu ul.nav > li > ul > li:last-child { border: none; }
.tmpl-leftmenu ul.nav > li > ul > li:hover { background-color: RGBa(255,255,255,0.16); }
.tmpl-leftmenu ul.nav > li > ul > li > a { display: block; font-family: 'Roboto', sans-serif; color: #fff; text-decoration: none; cursor: pointer; padding: 10px 0; border-bottom: 1px dashed RGBa(255,255,255,0.5); }
@media(min-width: 768px) and (max-width: 1359px){ /* десктоп, планшет */
	.tmpl-leftmenu ul.nav > li > ul { width: 304px; }
}

.tmpl-search { position: relative; background-color: #fff; margin-bottom: 16px; border: 1px solid #d3d0ce; }
.tmpl-search:before { content: ""; display: block; width: 8px; height: 8px; position: absolute; left: -1px; top: -1px; background-image: url("../images/angle_8_form.png"); background-repeat: no-repeat; background-position: 0 0; z-index: 2; }
.tmpl-search input { float: left; line-height: 40px; border: none; background-color: #fff; background-image: url("../images/ico-search.png"); background-repeat: no-repeat; background-position: 8px center; padding: 0 8px 0 40px; width: 210px; }
.tmpl-search input:focus, .tmpl-search input:active { outline: none !important; }
.tmpl-search .tmpl-btn { float: right; width: 72px; text-align: center; line-height: 24px; background-color: #502113; color: #fff; font-size: 93%; padding: 0; margin: 8px 8px 0 0; cursor: pointer; }
.tmpl-search .tmpl-btn:hover { background-color: #61372a; }


/* CONTENT ------------------------------------- */

.tmpl-content { margin: 0 0 16px 0; }

.tmpl-contentblock { margin-bottom: 16px; }

.tmpl-contentblock.grafik { margin-bottom: 24px; }
.tmpl-contentblock.grafik table { border: none; width: 100%; border-collapse: collapse; font-weight: 400; }
.tmpl-contentblock.grafik table td { border: none; width: 50%; vertical-align: top; padding: 5px 3px; }
.tmpl-contentblock.grafik table td:first-of-type { color: #968781; }
.tmpl-contentblock.grafik table td p {  margin: 0; }
.tmpl-contentblock.grafik table tr:hover { background-color: #f2ece5; }

.tmpl-contentblock.grafik2 { margin-bottom: 24px; }
.tmpl-contentblock.grafik2 table { border: none; width: 100%; border-collapse: collapse; font-weight: 400; }
.tmpl-contentblock.grafik2 table td { border: none; width: 50%; vertical-align: top; border-bottom: 1px solid #e2dedd; padding: 5px 3px; }
.tmpl-contentblock.grafik2 table td:first-of-type { color: #968781; }
.tmpl-contentblock.grafik2 table td p {  margin: 0; }
.tmpl-contentblock.grafik2 table td a { display: block; text-decoration: none; color: #502113; }
.tmpl-contentblock.grafik2 table tr:hover { background-color: #f2ece5; }

.tmpl-pathway {  
	color: #808080;
	font-size: 90%;
    padding: 0;
	margin-bottom: 8px;
}
.tmpl-pathway a:link,
.tmpl-pathway a:visited { color: #e95f40; text-decoration: underline; }
.tmpl-pathway a:hover { color: #e95f40; }

.maintitle {
	display: block;
	position: relative;
    font-size: 141%;
	margin-bottom: 16px;
	font-family: 'Roboto Condensed', sans-serif;
	padding: 0 0 8px 0;
	color: #e95f40;
	border-bottom: 1px solid #e95f40;
    font-weight: 400;
}
.maintitle .small { display: block; color: #502113; font-size: 66%; font-weight: 600; }
.maintitle a.rss { display: inline-block; width: 16px; height: 100%; float: right; background: url('../images/ico-rss.png') 0 center no-repeat; line-height: inherit; text-decoration: none !important; }

.tmpl-maintitle { font-family: 'Roboto Condensed', sans-serif; font-size: 165%; color: #e95f40; text-transform: uppercase; font-weight: 700; padding: 0 0 8px; line-height: 1; margin: 0 0 12px; border-bottom: 2px solid #e95f40; }

form.question { font-size: 14px; }
form.question input[name="keystring"] { width: 90px; }

.print_version_button { display: none; }

.tmpl-vote { color: #623b2a; }
.tmpl-vote .plg-polls .plg-answer input[type="checkbox"] { margin: 0 10px 0 0; display: none; }
.tmpl-vote .plg-polls .plg-answer input[type="checkbox"] + label { display: inline-block; cursor: pointer; line-height: 20px; vertical-align: top; margin: 0; font-weight: 400; }
.tmpl-vote .plg-polls .plg-answer input[type="checkbox"] + label:before { display: inline-block; content: ""; border: 2px solid #fff; box-shadow: 0 0 4px #e95f40; border-radius: 50%; cursor: pointer; width: 16px; height: 16px; margin: 0 12px -3px 0; }
.tmpl-vote .plg-polls .plg-answer input[type="checkbox"] + label:hover:before { background: #ffeed8; }
.tmpl-vote .plg-polls .plg-answer input[type="checkbox"]:checked + label:before { background: #e95f40; }
.tmpl-vote .plg-polls .plg-answer input[type="checkbox"]:checked + label { }
.tmpl-vote  .plg-button { float: right; background-color: #e95f40 !important; border-radius: 0 0 6px 6px !important; font-family: 'Roboto Condensed', sans-serif; font-size: 118%; font-weight: 400; text-transform: uppercase; background-image: url("../images/angle_16_white.png") !important; background-repeat: no-repeat !important; background-position: 0 0 !important; background-size: 8px 8px !important; }

.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 #817069; color: #623b2a; }
.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-size: 110%; font-weight: 400; color: #623b2a; }
.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: #bc9d78; font-size: 90%; margin-top: 10px; }

a.allitems { float: right; font-family: 'Roboto Condensed', sans-serif; color: #fff; font-weight: 400; font-size: 118%; text-transform: uppercase; padding: 12px 8px; text-align: center; text-decoration: none; margin: 0; min-width: 150px; background-color: #e95f40; border-radius: 0 0 6px 6px; background-image: url("../images/angle_16_white.png"); background-repeat: no-repeat; background-position: 0 0; background-size: 8px 8px; margin-bottom: 8px; }


.tmpl-slider { position: relative; margin: 0 0 32px 0; }
.tmpl-slider #slider { border-radius: 0; box-shadow: none; height: 478px; border: 2px solid #f5ebe1; }
.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 { background-color: RGBa(50,127,194,0.8); color: #fff; font-size: 18px; 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; border: 2px solid #f96944; margin: 0 2px; }
.tmpl-slider .theme-default .nivo-controlNav a.active { background: #f96944; }
.tmpl-slider .nivo-directionNav .nivo-prevNav { width: 19px; height: 32px; background-image: url("../images/slider-arrow-left.png"); background-position: center center; opacity: 0.7; }
.tmpl-slider .nivo-directionNav .nivo-nextNav { width: 19px; height: 32px; background-image: url("../images/slider-arrow-right.png"); background-position: center center; opacity: 0.7; }


/* photogallery */
.tmpl-photos { position: relative; margin: 0 -8px; }
.tmpl-photos .tmpl-photo-item { display: inline-block; vertical-align: top; width: 232.5px; margin: 0 8px 16px; text-align: center; overflow: hidden; }
.tmpl-photos .tmpl-photo-item .image { display: block; text-align: center; }
.tmpl-photos .tmpl-photo-item img { max-width: 100%; }
.tmpl-photos .tmpl-photo-item .title { display: block; margin-top: 5px; text-align: center; font-size: 94%; line-height: 1.1; font-weight: 400; }
@media (min-width: 1024px) and (max-width: 1359px) { /* Десктоп 2 */
	.tmpl-photos .tmpl-photo-item { width: 223.3333px; }
}
@media (min-width: 768px) and (max-width: 1023px) { /* Планшет */
	.tmpl-photos .tmpl-photo-item { width: 243.99px; }
}
@media (max-width: 767px){
	.tmpl-photos { margin: 0; }
	.tmpl-photos .tmpl-photo-item { width: 100%; margin: 0 0 16px; }
}

/* videogallery */
.tmpl-video-list { position: relative; margin: 0 -8px; }
.tmpl-video-list .tmpl-video { display: inline-block; vertical-align: top; width: 232.5px; margin: 0 8px 16px; text-align: center; }
.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 (min-width: 1024px) and (max-width: 1359px) { /* Десктоп 2 */
	.tmpl-video-list .tmpl-video { width: 223.3333px; }
}
@media (min-width: 768px) and (max-width: 1023px) { /* Планшет */
	.tmpl-video-list .tmpl-video { width: 243.99px; }
}


.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; }
.tmpl-banners img { margin: 0 8px 8px 0; max-width: 100%; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: 'Roboto Condensed', sans-serif; }
.tmpl-contentblock h1 { border-bottom-color: #000; font-size: 30px; text-align: center; }
.tmpl-contentblock cite { display: block; background: #f2f2f3; padding: 16px; font-weight: 400; }
.tmpl-contentblock h2 { font-size: 24px; font-weight: 400; }
.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: 8px solid #a87f52; margin: 0 0 8px 0; padding: 0 0 0 16px; }
.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: #a87f52; color: #fff; margin: 0 8px 0 0; border-radius: 50%; line-height: 32px; width: 32px; text-align: center; }
.tmpl-contentblock h3 { font-size: 118%; font-weight: 400; color: #a87f52; }
.tmpl-contentblock a { color: #e95f40; text-decoration: none; }
.tmpl-contentblock a:hover { text-decoration: underline; }
.tmpl-contentblock table.styled { width: 100%; border-collapse: collapse; }
.tmpl-contentblock table.styled td { border: 1px solid #000; text-align: center; padding: 16px; }
.tmpl-contentblock table.styled th { background: #f2f2f3; text-align: center; border: 1px solid #000; padding: 16px; }

.tabs { position: relative; margin: 0; }
.tabs > ul { width: 100%; margin: 0 0 16px 0; padding: 0; border-bottom: 2px solid #e95f40; }
.tabs > ul > li { list-style: none; float: left; margin-right: 8px; }
.tabs > ul > li > a { display: block; font-family: 'Roboto Condensed', sans-serif; font-size: 118%; font-weight: 400; text-transform: uppercase; padding: 10px 10px; text-decoration: none; cursor: pointer; border-bottom: none; color: #fff; background-color: #623b2a; background-image: url("../images/angle_16_white.png"); background-repeat: no-repeat; background-position: 0 0; background-size: 8px 8px; }
.tabs > ul > li > a.active { background-color: #e95f40 !important; }
.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: 0; }


/* RIGHTSIDE -------------------------------- */

.tmpl-rightside { margin: 0 0 16px 0; }


.scroll-pane {
	position: relative;
	height: 230px;
	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 { max-height: 170px; }
.scroll-pane .tmpl-scrollitem .title { margin-top: 5px; line-height: 1.1; color: #502113; font-size: 90%; }
.scroll-pane .jspCap { display: none }
.scroll-pane .jspHorizontalBar { height: 8px; background: none; }
.scroll-pane .jspTrack { background: #f2ece5; border-radius: 4px; }
.scroll-pane .jspDrag { border-radius: 4px; background-color: #502113; }
.scroll-l, .scroll-r { position: absolute; top: 0; 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"); }

.scroll-pane.banners { height: 120px; margin-left: 30px; margin-right: 30px; margin-bottom: 16px; }
.scroll-pane.banners table { border: none; width: 100%; border-collapse: collapse; }
.scroll-pane.banners table td { border: none; vertical-align: middle; padding: 0; }
.scroll-pane.banners table td p {  margin: 0; }
.scroll-pane.banners a { text-decoration: none !important; }
.scrollb-l, .scrollb-r { position: absolute; top: 0; width: 16px; height: 100px; cursor: pointer; background-position: center center; background-repeat: no-repeat; }
.scrollb-l { left: 0; background-image: url("../images/scroll-arrow-l.png"); }
.scrollb-r { right: 0; background-image: url("../images/scroll-arrow-r.png"); }

.map-block { position: relative; width: 100%; margin-bottom: 0; }
.map-block .map-title { position: absolute; top: 16px; left: 45%; padding: 2px 15px; margin: 0 0 0 32px; font-family: 'Roboto Condensed', sans-serif; font-size: 180%; color: #fff; z-index: 2; background-color: #502113; }
.map-block #map { position: relative; width: 100%; height: 336px; z-index: 1; }
.map-block #map ymaps[class^="ymaps-2-1-"][class$="-controls__control"] { left: 45% !important; margin-left: 32px !important; }
.tmpl-bottom-contacts { position: absolute; top: 16px; left: 16px; height: 302px; width: 45%; background: #fff; margin-bottom: 16px; z-index: 2; }
.tmpl-bottom-contacts-content { position: relative; padding: 16px; }
.tmpl-bottom-contacts b { color: #502113; }
.tmpl-bottom-contacts a { text-decoration: none; color: #502113; }


/* FOOTER ---------------------------------- */

.tmpl-footer {
	position: relative;
	background-color: #502113;
	height: 65px;
}

.tmpl-footer .container { position: relative; }

.tmpl-saveus {
	position: absolute;
	height: 100%;
    color: #e95f40;
    cursor: pointer;
    padding: 0 80px 0 16px;
}

.tmpl-saveus .stxt { display: inline-block; line-height: 65px; vertical-align: top; }
.tmpl-saveus .stxt span { }
.tmpl-saveus .img-i { display: inline-block; width: 24px; height: 65px; 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: 65px; vertical-align: middle; }
.ftxt a { color: #fff; text-decoration: underline; }
.ftxt .row.counter { padding: 0 0 0 32px; }

.tmpl-saveus-btn { background-color: #e95f40 !important; }


@media (min-width: 1024px) and (max-width: 1359px) {

	body { font-size: 13px; }
	
}

/* Десктоп и меньше */
@media (max-width: 1359px) {
		
	.tmpl-mainnav a:link,
	.tmpl-mainnav a:visited {			
		height: 48px;
	}

	.tmpl-social { line-height: 48px; margin-right: 16px; }
	
	.tmpl-version { padding-left: 34px; line-height: 48px; background-size: 22px auto; width: auto; }
	
	.tmpl-header { height: 204px; }
	
	.tmpl-logo { top: 16px; left: 16px; bottom: 16px; width: 170px; }
	.tmpl-logo img { width: 155px; margin-top: 20px; }
	
	.tmpl-sitename-body { margin-left: 202px; margin-right: 234px; }
	.tmpl-sitename { width: 508px; }

	.tmpl-infoline table td { padding: 2px 16px 2px 0; }
	.tmpl-infoline { margin-top: 8px; margin-bottom: 8px; }
	.tmpl-infoline .tmpl-address { padding-left: 20px; line-height: 20px; }
	.tmpl-infoline .tmpl-phone { line-height: 24px; }
	.tmpl-infoline .tmpl-email { line-height: 24px; }
	
	.tmpl-sitename { height: 116px; }
	
	.tmpl-contacts { width: 218px; }
	.tmpl-contacts .citem { padding-left: 26px; }
	
	.tmpl-slider #slider { height: 340px; }
	
	.tmpl-search { }
	.tmpl-search input { line-height: 32px; background-size: 16px auto; padding: 0 4px 0 32px; width: 140px; }
	.tmpl-search .tmpl-btn { width: 62px; line-height: 24px; margin: 4px 4px 0 0; }
	
	.scroll-pane { height: 180px; }
	.scroll-pane .tmpl-scrollitem img { max-height: 130px; }
	.scroll-l, .scroll-r { height: 130px; }
	
	.map-block #map { height: 360px }
	.tmpl-bottom-contacts { height: 328px; }
	
	.tmpl-footer-content { left: 240px; }
	
}

@media (min-width: 768px) and (max-width: 1023px) {
	
	.tmpl-sitename-body { margin-right: 16px; }
	.tmpl-sitename { height: 172px; width: 550px; }
	.tmpl-sitename .tmpl-sub { margin-bottom: 0; }
	.tmpl-sitename .tmpl-small { margin-top: 0; }
	
	.tmpl-contacts { width: 192px; }
	
	.tmpl-search input { width: 165px; }
	
	.tmpl-slider #slider { height: 280px; }
		
}

@media (max-width: 1023px) {
	
	body { font-size: 13px; }
	
	.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; }	

	.map-block { height: auto; }
	.tmpl-bottom-contacts { position: relative; left: auto; top: auto; margin-top: 16px; height: auto; width: auto; }
	
}

@media (max-width: 767px) {
	
	.row { margin: 0; }
	.container { padding: 0; }
	.container.page { padding-left: 8px; padding-right: 8px; }
	.row > div[class^="col-"] { padding-left: 0; padding-right: 0; }
	
	.tmpl-header-line { margin-bottom: 16px; }

	.tmpl-header { height: auto; }
	.tmpl-logo { position: relative; top: auto; left: auto; bottom: auto; width: auto; border-right: none; padding: 16px 0; text-align: center; }
	.tmpl-logo img { max-width: 100%; }
	
	.tmpl-sitename-body { margin: 0; }
	.tmpl-sitename { display: block; height: auto; text-align: center; margin-bottom: 16px; width: auto; }
	
	.tmpl-content { margin: 0 0 16px 0; }
	
	.tmpl-content .tmpl-item img { float: none; margin: 0 8px 16px 0; text-align: center; max-width: 100%; }
	
	.tmpl-slider #slider { height: auto; }
	
	.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;
}