html {
  height: 100%;
  margin-bottom: 1px;
  margin-right: 12px;
  padding: 0px;
}

form {
  margin: 0;
  padding: 0;
}

body {
	font-family: Tahoma;
	font-size: 12px;
	font-weight: normal;
	line-height: 1.3em;
	margin: 0px 0px 0px 0px;
	color: #000000;
}

a:link, a:visited {
	text-decoration: underline;
	color: #640E51;
}
a:hover {
}

p {
	text-indent: 20px;
	text-align: justify;
}

/* Верхняя часть страницы */

div.header_logo {
/*	background: url(../images/ap_logo.gif) 70px 5px no-repeat;
	width: 600px;
	height: 67px;
*/}


div.header_logo_l {
	background: url(../images/ap_logo_l.jpg) 0 0 no-repeat;
	background-color: #ffffff;
	width: 750px;
	height: 267px;
}


div.header_logo_m {
	background-color: #ffffff;
/*	width: 245px;
	height: 267px;
*/}


div.header_logo_m_1,
div.header_logo_m_2,
div.header_logo_m_3,
div.header_logo_m_4,
div.header_logo_m_5,
div.header_logo_m_6,
div.header_logo_m_7  {
	width: 408px;
	height: 267px;
}

div.header_logo_m_1 {
	background: #ffffff url(../images/ap_logo_m_1.jpg) 0 0 no-repeat;
}

div.header_logo_m_2 {
	background: #ffffff url(../images/ap_logo_m_2.jpg) 0 0 no-repeat;
}

div.header_logo_m_3 {
	background: #ffffff url(../images/ap_logo_m_3.jpg) 0 0 no-repeat;
}

div.header_logo_m_4 {
	background: #ffffff url(../images/ap_logo_m_4.jpg) 0 0 no-repeat;
}

div.header_logo_m_5 {
	background: #ffffff url(../images/ap_logo_m_5.jpg) 0 0 no-repeat;
}

div.header_logo_m_6 {
	background: #ffffff url(../images/ap_logo_m_6.jpg) 0 0 no-repeat;
}

div.header_logo_m_7 {
	background: #ffffff url(../images/ap_logo_m_7.jpg) 0 0 no-repeat;
}

div.header_logo_r {
	background: url(../images/ap_logo_r_bg.jpg) -69px 0 repeat-x;
	background-color: #ffffff;
	height: 267px;
}

div.header_logolink {
	position: absolute;
	left: 75px;
	top: 60px;
}


div.header_logolink a {
	font-size: 9px;
	color: #666666;
	text-decoration: underline;
}


.header_u_r {
	background: url(../images/ap_header_u_r.gif) 30px 0 no-repeat;
}

div.h_pointer {
	width: 30px;
	height: 7px;
	text-align: center;
	background: url(../images/ap_h_pointer.gif) center no-repeat;
}

.h_left {
	font-family: Tahoma;
	font-size: 14px;
	font-weight:normal;
	color: #0099cc;
}

.h_right {
	font-family: Tahoma;
	font-size: 18px;
	font-weight:normal;
	color: #000000;
}

/* headers */
h1, h2, h3,
div.componentheading {
	padding: 5px;
	font-size: 18px;
	vertical-align: bottom;
	color: #333333;
	text-align: center;
	font-weight: normal;
	margin-bottom: 8px;
}

.contentheading {
	padding: 5px;
	font-size: 16px;
	vertical-align: bottom;
	color: #333333;
	text-align: left;
	font-weight: normal;
	margin-bottom: 8px;
}

/* spacers */
span.article_separator {
	display: block;
	height: 20px;
}

.article_column {
	padding-right: 5px;
}

.column_separator {
	border-left: 1px dashed #cccccc;
	padding-left: 10px;
}

td.buttonheading {

}

td.buttonheading img {
	border:none;
}

span.hasTip img {
	border:none;
}

/* Авторизация */

div.modlgn_authorization_div_main {
	margin-bottom: 40px;
	margin-top: 0px;
	padding-top: 0px;
	width: 209px;
	height: 153px;
	background: #f1f4f8 url(../images/ap_authorization.jpg) 0 0 no-repeat;
	vertical-align: bottom;
}

div.modlgn_authorization_div_head {
	padding: 5px;
	padding-top: 6px;
	padding-left: 20px;
	font-size: 18px;
	color: #333333;
	text-align: left;
	font-weight: normal;
}

div.modlgn_authorization_div_inputs {
	padding-left: 12px;
	margin-top: -2px;
	margin-bottom: -15px;
}

div.modlgn_authorization_div_inputs input {
	width: 145px;
	border: 1px solid #ccc;
	margin: 5px 0 0 0;
	font-size: 12px;
	color: #666666;
}

div.modlgn_enter_button_div {
	padding-top: 3px;
}

div#form-login-remember {
	padding-top: 5px;
	padding-left: 8px;
	padding-bottom: 5px;
}

div.modlgn_remind_div {
	font-size: 10px;
	color: #4E265E;
}

/* Вопрос-ответ */

div.moduletable_rightupmenu {
	margin-bottom: 20px;
	margin-top: 0px;
	padding-top: 0px;
	width: 209px;
	height: 27px;
	background: #f1f4f8 url(../images/ap_gray_bg.jpg) 0 0 no-repeat;
	vertical-align: bottom;
}

div.moduletable_rightupmenu table {
	height: 10px;
	padding-top: 4px;
	padding-left: 5px;
}

/* Мероприятия */

div.moduletable_measures {
	margin-bottom: 20px;
}

div.measure_box {
	border: 1px dashed #cccccc; 
	height: 230px; 
	width: 194px;
	padding: 15px;
}

div.measure_bg_1 {
	width: 61px;
	height: 250px;
	background: url(../images/ap_measure_bg_1.gif) 0 70px no-repeat;
}

div.measure_bg_2 {
	width: 34px;
	height: 250px;
	background: url(../images/ap_measure_bg_2.gif) 0 70px no-repeat;
}

div.last_updates {
	height: 250px;
	background: url(../images/ap_measure_bg_3.gif) 0 70px no-repeat;
	padding-left: 20px;
}

div.measure {
	font-size: 12px;
	color: #cccccc;
	text-align: left;
	padding-top: 15px;
}

div.measure_place {
	font-size: 12px;
	color: #555555;
	text-align: left;
	padding-top: 10px;
}

/* Последние обновления */
div.moduletable_lastupdates {
	margin-bottom: 20px;
}

div.moduletable_lastupdates h3 {
	margin-left: 25px;
	padding-top: 3px;
	text-align: left;
}


/* Главная страница */

table.blog_mainpage {
	width: 100%;
	position: relative;
	float: left;
}

td.contentheading_mainpage {
	font-size: 12px;
}

table.contentpaneopen_mainpage,
table.contentpaneopen_mainpage p {
	font-size: 11px;
	color: #999999;
	text-indent: 0px;
}

div.blog_more_mainpage {
	color: #666666;
}

div.blog_more_mainpage ul {
	width: 44%;
	list-style: none;
	padding-left: 0px;
	margin-left: 0px;
/*	margin-right: 52%;*/
}

div.blog_more_mainpage li {
	padding-bottom: 8px;
}

/* Поиск */
div.moduletable_search {
	margin-bottom: 20px;
	position: relative;
	float: left;
	margin-top: -95px;
	padding-left: 50%;
	margin-left: 0px;
	
	z-index: 2;
}

div.moduletable_mainsearch {
	margin-left: 40px;
}

div.search_search,
div.search_mainsearch {
	background: url(../images/ap_search_bg.jpg) 0 5px no-repeat;;
	height: 45px;
	width: 370px;
	border-left: #cccccc 1px dashed;
	padding-top: 29px;
	padding-left: 90px;
}

div.search_search input,
div.search_mainsearch input {
	width: 230px;
}

/* Последние комментарии */
div.moduletable_lastcomments {
	margin-bottom: 30px;
}

div.moduletable_lastcomments h3 {
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	text-align: left;
}

/* Опрос */
div.moduletable_poll {
	border-left: #cccccc 1px dashed;
}

div.moduletable_poll h3 {
	text-align: left;
	margin-bottom: 15px;
}

table.poll_poll {
	margin-top: -12px;
	font-size: 11px;
}

table.pollstableborder_poll {
	width: 190px;
}

td.sectiontableentry1_poll,
td.sectiontableentry2_poll {
	text-align: left;
	font-size: 11px;
	color: #999999;
	vertical-align: middle;
}

/* Списки разделов */
table.contentpane tr td a img {
	margin-left: 10px;
	border: 0px;
}

tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
	padding-right: 10px;
	padding-top: 5px;
	vertical-align: bottom;
	color: #666666;
}

/* Авторизация */

div.moduletable_login {
	margin-bottom: 30px;
}

div.moduletable_login h3 {
	text-align: left;
	margin-bottom: 5px;
}

div.moduletable_login ul {
	list-style: none;
}

p#form-login-username,
p#form-login-password {
	text-indent: 0px;
	padding: 0px;
}

/* Меню пользователя */

div.module_usermenu {
	margin-bottom: 30px;
}

div.module_usermenu h3 {
	font-family: Tahoma;
	font-size: 14px;
	font-weight: bold;
	color: #333333;
	text-decoration: none;
}

div.moduletable_mainpage{
	margin-bottom: 20px;
}

/* Избранные статьи */

div.moduletable_poparticles {
	width: 203px;
}

div.moduletable_poparticles h3 {
	color: #ffffff;
	text-decoration: underline;
	text-align: left;
	padding-top: 20px;
	padding-left: 10px;
	background: #41cbed url(../images/ap_blue_window.jpg) 0 0 no-repeat;
	width: 188px;
	height: 30px;
	margin-bottom: -12px;
}

div.moduletable_poparticles div {
	margin-top: 0px;
	background: #E97BD1 url(../images/ap_blue_window.jpg) 0 -48px no-repeat;
	width: 203px;
	padding-bottom: 10px;
}

div.moduletable_poparticles div div {
	padding-left: 0px;
}

ul.mostread_poparticles {
	margin-top: 0px;
	margin-bottom: -10px;
}

ul.mostread_poparticles li{
	text-align: left;
    list-style: none;
    padding: 1px 10px 3px 16px;
    margin: 6px;
	margin-left: -45px;
    background: url(../images/ap_blue_window_mark.gif) 10px 9px no-repeat;
}

ul.mostread_poparticles li a:link, ul.mostread_poparticles li a:visited {
	text-decoration: underline;
	font-weight: normal;
	color: #ffffff;
	font-size:11px;
}
ul.mostread_poparticles li a:hover {
}

/* Статьи */
.small,
.createdate,
.modifydate {
	font-size: 11px;
	color: #821369;
}

/* Дизайнер */
div.designer {
	margin-top: 10px;
	padding-top: 0px;
	padding-left: 0px;
	width: 209px;
	height: 27px;
	background: #f1f4f8 url(../images/ap_gray_bg.jpg) 0 0 no-repeat;
	vertical-align: bottom;
}

div.designer div {
	padding-top: 4px;
	padding-left: 20px;
}

/***************/

div.module_menu {
	width: 226px;
	background: #FFE4FA url(../images/ap_gray_window.jpg) 0 0 no-repeat;
	color: #640E51;
	margin-bottom: 20px;
}

div.module_menu div {
	padding: 15px;
	background: none;
	margin-top: 0px;
}
div.module_menu div div {
	padding: 0px;
	background: none;
}
div.module_menu div div div {
	padding: 0px;
	background: none;
}

div.module_menu div div div div {
	padding: 0;
	background: none;
}

div.module_menu ul {
	margin: 10px 0;
	padding-left: 0px;
	margin-top: -15px;
}

div.module_menu ul li {
	list-style: none;
	padding-top: 10px;
}

div.module_menu a:link, div.module_menu a:visited{
	text-decoration: underline;
	font-weight: bold;
	color: #6E636C;
	font-size:14px;
}
div.module_menu a:hover{
}

div.moduletable_usermenu {
	border-left: #cccccc 1px dashed;

}

div.moduletable_usermenu h3 {
	text-align: left;
	margin-bottom: -10px;
}

div.moduletable_usermenu ul li.item20{
	text-align: left;
	list-style: none;
	padding: 3px 10px 3px 25px;
	margin: -3px;
	margin-left: -35px;
	background: url(../images/ap_your_data.gif) 5px 4px no-repeat;
}
div.moduletable_usermenu ul li.item51,
div.moduletable_usermenu ul li.item52{
	text-align: left;
	list-style: none;
	padding: 3px 10px 3px 25px;
	margin: -3px;
	margin-left: -35px;
	background: url(../images/ap_plus.gif) 5px 4px no-repeat;
}
div.moduletable_usermenu ul li.item53{
	text-align: left;
	list-style: none;
	padding: 3px 10px 3px 25px;
	margin: -3px;
	margin-left: -35px;
	background: url(../images/ap_key.gif) 5px 4px no-repeat;
}

div.moduletable_rightmenu ul li{
	text-align: left;
    list-style: none;
    padding: 3px 10px 3px 20px;
    margin: -3px;
	margin-left: -20px;
    background: url(../images/ap_menu_mark.gif) 5px 6px no-repeat;
}

div.moduletable_rightmenu2 ul li{
	text-align: left;
    list-style: none;
    padding: 10px 10px 3px 20px;
    margin: -3px;
	margin-left: -20px;
}

div.moduletable_topmenu {
	height: 20px;
	text-align: right;
	padding-right: 30px;
	padding-top: 5px;
	padding-bottom: -5px;
}

div.moduletable_topmenu a {
	padding-right: 20px;
	font-size: 11px;
}

div.moduletable_footer h3 {
	visibility: hidden;
	height: 0px;
	font-size: 0px;
	margin: -1px;
}

div.moduletable_footer {
	height: 30px;
	width: 480px;
	text-align: left;
	padding-right: 30px;
	padding-top: 10px;
	padding-left: 10px;
	background: #742D64;
	margin-right: 20px;
}

div.moduletable_footer a {
	padding-right: 40px;
	font-size: 11px;
	color: #ffffff;
}

ul.mark_menu_2 li{
	text-align: left;
    list-style: none;
    padding: 3px 10px 3px 20px;
    margin: -3px;
	margin-top: 6px;
	margin-left: -20px;
}

/* forms */
table.adminform textarea {
  width: 540px;
  height: 400px;
  font-size: 1em;
  color: #000099;
}

div.search input {
	width: 145px;
	border: 1px solid #ccc;
	margin: 15px 0 10px 0;
}

form#form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#form-login ul { padding-left: 20px; }

form#com-form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#com-form-login ul { padding-left: 20px; }

/* thumbnails */
div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #666; }

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC; }
div.caption p     { font-size: .90em; color: #666; text-align: center; }

/* Parameter Table */
table.paramlist {
	margin-top: 5px;
}

table.paramlist td.paramlist_key {
	width: 128px;
	text-align: left;
	height: 30px;
}

table.paramlist td.paramlist_value {
}

div.message {
	font-family : "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size : 14px;
	color : #c30;
	text-align: center;
	width: auto;
	background-color: #f9f9f9;
	border: solid 1px #d5d5d5;
	margin: 3px 0px 10px;
	padding: 3px 20px;
}



/* System Messages */
/* see system general.css */

.pagination span { padding: 2px; }
.pagination a    { padding: 2px; }

/* Polls */
.pollstableborder td {
	text-align: left;
}

/* WebLinks */
span.description {
	display:block;
	padding-left: 30px;
}

/* Frontend Editing*/
fieldset {
	border: 1px solid #ccc;
	margin-top: 15px;
	padding: 15px;
}

legend {
	margin: 0;
	padding: 0 10px;
}

td.key {
	border-bottom:1px solid #eee;
	color: #666;
}

/* Tooltips */

.tool-tip {
	float: left;
	background: #ffc;
	border: 1px solid #D4D5AA;
	padding: 5px;
	max-width: 200px;
}

.tool-title {
	padding: 0;
	margin: 0;
	font-size: 100%;
	font-weight: bold;
	margin-top: -15px;
	padding-top: 15px;
	padding-bottom: 5px;
	background: url(../../system/images/selector-arrow.png) no-repeat;
}

.tool-text {
	font-size: 100%;
	margin: 0;
}

/* System Standard Messages */
#system-message { margin-bottom: 20px; }

#system-message dd.message ul { background: #C3D2E5 url(../../system/images/notice-info.png) 4px center no-repeat;border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B; margin:0px; padding-left: 40px; text-indent:0px;}

/* System Error Messages */
#system-message dd.error ul { color: #c00; background: #E6C0C0 url(../../system/images/notice-alert.png) 4px center no-repeat; border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B; margin:0px; padding-left: 40px; text-indent:0px;}

/* System Notice Messages */
#system-message dd.notice ul { color: #c00; background: #EFE7B8 url(../../system/images/notice-note.png) 4px center no-repeat; border-top: 3px solid #F0DC7E; border-bottom: 3px solid #F0DC7E; margin:0px; padding-left: 40px; text-indent:0px;}

#syndicate{
	float:left;
	padding-left: 25px;
}

#power_by{
	float:right;
	padding-right: 25px;
}

/* Component Specific Fixes */

#component-contact table td {
	padding: 2px 0;
}
