html {height: 100%;}
body {
  margin: 0;
  font-family:Verdana, Geneva, sans-serif;
  font-size: 13px;
  color: #fff;
	height: 100%;
}
body.mceContentBody { background-image: none; background-color: #2c394d;}
body.mceContentBody table td { color: #fff;}
p { margin: 0 0 8px 0;}
p:last-child { margin: 0;}
img { border: none; }
a {color: #5caed4; text-decoration: none;}

/* ТАБЛИЦЫ */
table {border-collapse: collapse; border-color: #8e9eb3;}
table thead tr {
	text-align: center;
	background: #4b688b;
	color: #c7e4fa;
	letter-spacing: 0.06ex;
	vertical-align: center;
	border-color: #8e9eb3;
}
table tr:nth-child(even) {background: none;}
table.no-zebra tr:nth-child(even) {background: none;}
table td {border-color: #8e9eb3;}

/* ФОРМЫ и КНОПКИ */
button.button {margin-top: 10px;}
input, textarea, div.cck_forms input.inputbox, div.cck_forms textarea.inputbox, div.cck_forms select.inputbox, div.cck_forms button.inputbox {border: solid 1px #a8a8a8 !important; border-radius: 4px; padding: 5px;}
input:hover, select:hover, textarea:hover { box-shadow: 0 0 12px #ebebeb inset;}
select {border: solid 1px #a8a8a8; border-radius: 4px; padding: 4px}
input.button {padding: 3px; margin-right: 5px;}
input.button:hover { box-shadow: 0px 0px 4px #a0a0a0;}
input.button:active { box-shadow: none;}
.login-fields label {display: inline-block; width: 130px;}
.login-fields input {margin-bottom: 10px;}
fieldset {padding: 0; margin:0; border: none; text-align: left;}
label#jform_email-lbl {display: block; margin-bottom: 10px;}
/* /ФОРМЫ и КНОПКИ */

@font-face {
    font-family: 'MyFont_Bold';
    src: url('../fonts/avantgardegothicc-bold-webfont.eot');
    src: url('../fonts/avantgardegothicc-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/avantgardegothicc-bold-webfont.woff') format('woff'),
         url('../fonts/avantgardegothicc-bold-webfont.ttf') format('truetype'),
         url('../fonts/avantgardegothicc-bold-webfont.svg#AvantGardeGothicCBold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MyFont';
    src: url('../fonts/avantgardegothicc-webfont.eot');
    src: url('../fonts/avantgardegothicc-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/avantgardegothicc-webfont.woff') format('woff'),
         url('../fonts/avantgardegothicc-webfont.ttf') format('truetype'),
         url('../fonts/avantgardegothicc-webfont.svg#AvantGardeGothicCRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

#top-bgr {
	position: absolute;
	top: 0;
	left: 0;
	height: 108px;
	background: url(../images/top-bgr.png) repeat-x bottom;
	width: 100%;
	opacity: 0.95;
}
#page_wrapper{ 
	position: relative;
	margin: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	min-height: 650px;
	min-width: 1050px;
}

#top {position: relative; height: 100px; margin: 0 80px;}
#logo {position: absolute; z-index: 2; top: 20px; left: 0;}

#right-top {
  position: absolute;
  z-index: 2;
  top: 23px;
  right: 0;
}
#right-top div {display: inline-block;}
#right-top .psm_link {vertical-align: top;}
#right-top .psm_link a:hover {border-bottom: 1px solid #959595; }
#right-top .mod-languages {margin-top: 1px;}
#right-top .mod-languages li {margin: 0;}
.mod-languages li a {
	/*
	background: #0b4786;
	padding: 3px 1px 4px 5px;
	color: #fff;
	text-transform: uppercase;
	font-size: 11px;
	*/
	margin-left: 4px;
}
.mod-languages li a img {box-shadow: 0 0 2px #999999;}
.mod-languages li.lang-active a {/*background: #BDBDAE;*/ opacity: .3; box-shadow: none;}
/*.mod-languages li:last-child a {padding-right: 5px;}*/

#info {
  position: relative;
  height: auto;
  margin: 0 auto;
  padding: 50px 80px 160px;
  max-width: 1100px;
}

#breadcrumbs { width: 100%; height: auto;  font-size: 10px; margin: -4px 0 6px 0; }
.showHere { color: #9a9a9a; }

#content {
  position: relative;
  height: auto;
  padding: 30px 40px;
  margin: 0;
  line-height: 1.3;
}
#content a, .mceContentBody a {color: #5caed4; text-decoration: none; /*border-bottom: 1px dashed #3581a4;*/}
#content a:hover, #footer a:hover, .mceContentBody a:hover { color:#539db6; text-decoration: none; border-bottom: 1px dotted #539db6;}
#content a.a_image, .mceContentBody a.a_image { border: none; }

#content h2, .mceContentBody h2 {font-family: MyFont; font-size: 23px; color: #ffb464; padding: 0 0 8px; margin: 0 0 25px 0; font-weight: normal; border-bottom: 1px solid #7e899a;}
#content h2 a, .mceContentBody h2 a { color: #e87a1c; text-decoration: none; }
#content h2 a:hover, .mceContentBody h2 { text-decoration: none; color: #ecb280; border: none; text-shadow: #d6d6d6 0 0 1px;}

#content h3, .mceContentBody h3 {font-family: MyFont; margin: 0 0 2px 0; color: #93bce6; font-size: 17px; font-weight: normal; }
#content h4, .mceContentBody h4 {font-family: MyFont; margin: 0 0 2px 0; color: #af5100; font-size: 15px; font-weight: normal; }
#content h5, .mceContentBody h5 {font-family: MyFont; margin: 0 0 2px 0; color: #797979; font-size: 13px; font-weight: normal; }
#content ul li, .mceContentBody ul li {margin-bottom: 4px;}

/*ul.actions {float: right; list-style: none; margin: -21px 0 0 0; padding: 0;}*/
.item-separator { height: 0px; } /* промежуток между материалами в блоге */

.blog .items-row {margin-top: 35px;}
.blog .items-row:first-child {margin-top: 0;}

p.readmore { margin-top: 15px; }
#content p.readmore a {font-family: KabelBookCRegular,Verdana, Geneva, sans-serif; font-size: 13px; padding: 5px 12px; color: #8fa4ae; border-radius: 2px; box-shadow: inset 0px 0px 3px #c7c7c7; }
#content p.readmore a:hover { border: none; color: #acc3cd; box-shadow: 0px 0px 2px #bab9b9;}
#content p.readmore a:active {color: #8fa4ae; box-shadow: inset 0px 0px 3px #c7c7c7;}

#main_btm_bgr {
  position: relative;
  z-index: -1;
  height: 170px;
  width: 962px;
  background-image: url(../images/main_btm.png);
  background-repeat: no-repeat;
}

#footer{
  position: fixed;
	bottom: 0;
	margin: 0;
	width: 80%;
	padding: 14px 10%;
	background: #fff;
	color: #323232;
	opacity: .90;
	box-shadow: 0px 0px 25px #000;
	font-size: 12px;
	font-family: MyFont;
}
#footer a { color: #3f91bb; text-decoration: none; }

/* ---------------- СИСТЕМНЫЕ СТИЛИ (Joomla 3) ------------ */

/* TOOLTIPS */
.tooltip {
	position: absolute;
	z-index: 1030;
	display: block;
	visibility: visible;
	font-size: 11px;
	line-height: 1.4;
	opacity: 0;
	filter: alpha(opacity=0);
}
.tooltip.in {
	opacity: 0.8;
	filter: alpha(opacity=80);
}
.tooltip-inner {
	max-width: 200px;
	padding: 8px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	background-color: #000;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
/* /TOOLTIPS */

/*  ССЫЛКИ АДМИНА (изменить)  */
.items-row {position: relative;}
.items-row:first-child {margin-top: 0;}
.item-page {position: relative;}
.icons a {position: absolute; right: 0px; top: 5px; z-index: 12; font-size: 18px;} 
ul.actions, ul.dropdown-menu {list-style: none; margin: 0; padding: 0;}
span.icon-cog {display: none;}

/* АВТОРИЗАЦИЯ + ADMIN-FORM (редактор на фронте) */
.login, .logout {margin-top: 15px;}
.control-group {margin-bottom: 8px;}
.control-label { margin-bottom: 3px; }
.controls {}
#remember {margin: 0; vertical-align: middle;}
#jform_publish_down_img {
	width: 18px;
	height: 18px;
	margin-left: 3px;
	background: url(../../system/images/calendar.png) no-repeat;
	cursor: pointer;
	vertical-align: middle;
}
#jform_publish_up_img {
	width: 18px;
	height: 18px;
	margin-left: 3px;
	background: url(../../system/images/calendar.png) no-repeat;
	cursor: pointer;
	vertical-align: middle;
}
.nav-tabs {display: none;}
.btn-toolbar {margin-bottom: 15px;}
.btn-toolbar .btn-group {display: inline-block;}
#jform_title {width: 400px;}
#jform_articletext_parent {margin-bottom: 15px;}
#editor-xtd-buttons {display: none;}
#jform_tags_chzn, #jform_tags_chzn input {width: 200px !important;}
.active-result {color: #000;}

/* ГЛАВНАЯ СТРАНИЦА И т.д. */
.home-text {
	box-sizing: border-box; 
	width: 700px;
	margin: -30px auto 30px;
	background: url(../images/home-bgr.png) center top;
	padding: 25px;
	border-radius: 7px;
	/*border: 1px solid #20324d;*/
}

.home-table img {transition: all .2s; -moz-transition: all .2s; -webkit-transition: all .2s; -o-transition: all .2s; box-shadow: 0px 0px 6px #00142a; border-radius: 6px;}
.home-table img:hover {box-shadow: 0px 0px 15px #00142a; opacity: 1;}
.home-table img:active {box-shadow: 0px 0px 2px #00142a;}

/* RAPID CONTACT */
#content .rapid_contact td {font-size: 13px; font-style: italic; line-height: 2;}

/* КАРТА */
.cont-map {margin: 15px -20px -35px;}

/* ЯНДЕКС-МЕТРИКА СЧЁТЧИК */
.counter {opacity: .9;}