html,body{margin:0; padding: 10px; font-family: Tahoma; font-size: 11px; background: #99cc00;}
table {border: none; border-collapse: collapse;}
a {font-size: 11px;}
img{border: none;}
/*
h1 {margin:0; padding:0;}
h2 {margin:0; padding:0;}
h3 {margin:0; padding:0;}
h4 {margin:0; padding:0;}
*/


h1.err_404  {text-align: center; color: white; font-weight: bold; margin: 30% auto;}
h1.err_404 span {display: block;}
h1.err_404 span a{font-size: 20px; color: #669900;}





.margin_top {margin-top: 30px;}
.no_materials {text-align: center;} 
.check_site{color: red;}
.check_site span {font-weight: bold;}

.stats{text-align: center; /*font-weight: bold;*/}

span.help {display: block; font-size: 8px; color: #a2a2a2;}
span.help a {font-size: 8px; color: #a2a2a2 !important; text-decoration: underline;}

#map li.first{padding: 0;}
#map li.second{padding: 0 0 0 15px;}

#site {border: none; border-collapse: collapse; width: 100%; height: 100%;}
#fix {width: 1000px; height: 1px;}

#header {height: 170px; position: relative;}
#header h1{position: absolute; top: 112px; left: 337px; font-family: Trebuchet MS; font-size: 30px; color: white;}
*:first-child+html #header h1 {top: 120px;}
#meta{padding: 15px 20px 15px 0;color:#669900; text-align: right;}
#meta a{color:white;}
#content {background: white; padding: 20px; vertical-align: top; $width: 67%;}
#content h2{margin-top: 0; font-size: 15px;}
#content h2 a{font-size: 15px; color: black; text-decoration: none;}
#content a {color: #336600; text-decoration: underline;}
#content ul.docs li{margin: 20px 0;}
#content p.pages_list{text-align: center; margin-top: 50px;}
#content p.pages_list a{color: black; font-size: 12px; margin: 0 5px;}
#content p.pages_list a.active_page{font-weight: bold; font-size: 14px;}

#content p.warning{text-align: center; color: red; margin:20px auto;}
#content p.warning a {color: red;}
#content p.err  {text-align: center; color: red; font-weight: bold;}
#content p.err  a{color: red;}
#content p.success{text-align: center; color: #336600; font-weight: bold;}
#content p.success_descr{text-align: center; font-weight: bold;}

#inner_border_left{padding: 0; width: 10px; height: 100%; background: url('../images/inner_border_left.jpg') repeat-y;}
#inner_border_right{padding: 0; width: 10px; height: 100%; background: url('../images/inner_border_right.jpg') repeat-y;}

#left {width: 190px; vertical-align: top;}
#right {width: 190px; vertical-align: top; }
#footer{text-align: center; padding: 10px 0; font-weight: bold;}
#footer a{color: black; text-decoration: none;}

p.logo {position: absolute; top: 20px; left: 50px; }


.blockheader_left {background: url('../images/corner_top_left.jpg') left #336600 no-repeat; padding: 0 0 0 30px; height: 20px; font-size: 12px; color: #CCFF00; font-weight: bold; }
.blockheader_right {background: url('../images/corner_top_right.jpg') right #336600 no-repeat; padding: 0 30px 0 30px; height: 20px; font-size: 12px;color: #CCFF00; font-weight: bold; }
.block_content{width: 100%; background: #669900; padding: 20px; border-bottom: 2px solid #336600;}
/*.block_content p{text-align: center;}*/

#statistic tr td.block_content {text-align: center;}
#user_info {width: 100%;}

#auth_form {position: relative;}
#auth_form input{margin-bottom:5px; text-align: center;}
#auth_form input.sbm {margin-left:70px; margin-bottom:0;}
#log_label{position: absolute; left: 36%; top: 5px;}
#pass_label {position: absolute; left: 34%; top: 30px;}
.authl {font-size: 10px;}
.authl a{color: #aee100;}
.authl a:hover{color: white;}

#content_nav{text-align: center;}
#content_nav a{font-size: 13px; text-decoration: underline;}


.menu {width: 100%; background: #669900;}
.menu ul{list-style-type: none; padding: 0; margin: 0;}
.menu ul li{margin: 3px 0;}
.menu ul span{color: black;}
.menu ul li a {color: #aee100; text-decoration: none;}
.menu ul li a:hover{color: white;}
.menu ul li a:active{color: white;}

#rubrics {width: 100%; background: #669900;}
#rubrics ul{list-style-type: none; padding: 0; margin: 0;}
#rubrics ul li{margin: 3px 0;}
#rubrics ul li a {color: #aee100; text-decoration: none;}
#rubrics ul li a:hover{color: white;}
#rubrics ul li a:active{color: white;}
 
#statistic {width: 100%; background: #669900;}


#regForm {margin: 0 auto;}
#regForm td{padding: 5px; font-size: 11px;}
#regForm td.field_name span{color: red;}

#regForm td.field{text-align: center;}
#regForm td.field input{padding: 2px;}

#regForm td.field_descr{font-size: 10px;}
#regForm td.form_submit{text-align: right; padding: 0 15px 0 0;}

.date {width: 25px; text-align: center;}
.date_year {width: 50px; text-align: center;}


#rePassword{margin: 0 auto;} 
#rePassword td{padding: 10px; text-align: center;}


#send_form table{margin: 0 auto;}
#send_form table td{padding: 5px;}
#send_form table td.sbm{text-align: right;}
#send_form table td textarea{width: 300px; height: 200px;}

#user {margin: 0 auto;}
#user td{padding: 10px; vertical-align: middle;}
#user td.field_name {font-weight: bold;}
#user td span{color: red;}
#user td input{padding: 2px;}
#user td.sbm{text-align: right;}



#config {margin: 0 auto;}
#config td{padding: 10px; vertical-align: middle;}
#config td.field {}
#config td.descr {font-size: 10px; width: 300px;}
#config td.sbm{text-align: right;}


#sites{margin: 0 auto;}
#sites td{border: 1px solid white; text-align: center; vertical-align: middle; min-height: 50px; font-weight: normal;}
#sites td a{color: black;}
#sites td form{margin: 5px 0;}

#sites tr .tableHeader td{font-weight: bold !important; color: black;}

#sites tr.status_0{background: #FFFF66; }
#sites tr.status_1{background: #66FF33;}
#sites td.status_1 input {margin: 5px 0;}
#sites tr.status_2, #sites tr.status_3, #sites tr.status_4,  #sites tr.status_5, #sites tr.status_6, #sites tr.status_7{background: #FF6600; }

#sites td{padding: 5px;}
#sites td.site_themes{padding: 5px; text-align: left;}
#sites td.site_geography{padding: 5px; text-align: left;}
#sites td.inner_pages{padding: 0 0 0 10px; text-align: left;}
#sites td img{vertical-align: middle; width: 16px; height: 16px;}

#review{text-align: center;}


#balance {margin: 0 auto;}
#balance td{padding: 10px; text-align: center;}
#balance td input {margin: 0 10px;}
#balance td input.int {width: 40px; text-align: center;}

.traffic_config input{font-size: 10px;}

#add_traffic table {margin: 0 auto;}
#add_traffic table td {padding: 10px; text-align: center;}
#add_traffic table td.name {text-align: right; width: 300px;}
#add_traffic table td.field {text-align: left; width: 200px;}
#add_traffic table td.field  textarea{width: 100%; height: 150px;}
#add_traffic table td.descr {font-size: 9px;text-align: left; width: 300px;}

#add_traffic table td p.descr {font-size: 9px;text-align: left; width: 300px; margin: 10px auto;}
#add_traffic table td#total_price {color:black; font-weight: bold;}
#add_traffic table td textarea {width: 300px;}
#add_traffic table td.sbm {text-align: right;}



#trafficEdit {margin: 0 auto;}
#trafficEdit td {padding: 10px; vertical-align: top;}
#trafficEdit td.name{}
#trafficEdit td.field{text-align: left;}
#trafficEdit td.field textarea{width: 400px; height: 50px;}
#trafficEdit td.descr{}
#trafficEdit td.sbmBtns{text-align: center;}

#traffic_code{margin: 0 auto;}
#traffic_code td {padding: 10px; text-align: center;}
#traffic_code td textarea {width: 400px; height: 50px;}
#traffic_code td ul{text-align: left; padding-left: 100px;}


#balance tr{width: 100%;}
#balance tr td{text-align: center;}

#allowedPaySystems {margin: 20px 0;}
#allowedPaySystems img {margin: 0 10px;}

/* Стили блоков контента*/
.news {margin-top: 30px;}
.news h4 {margin: 5px 0; font-size: 13px;}
.news h4 a{font-size: 13px;}
.news small a{font-size: 10px;}

.curent_news {margin-top: 30px;}
.curent_news h4 {font-size: 13px; color: #336600; text-decoration: underline;}
.curent_news h4 {margin: 5px 0; font-size: 13px;}
.curent_news h4 a{font-size: 13px;}
.curent_news small a{font-size: 10px;}

.faq {margin-top: 30px;}
.faq h4 {margin: 5px 0; font-size: 13px;}
.faq h4 a{font-size: 13px;}
.faq small a{font-size: 10px;}

.curent_faq {margin-top: 30px;}
.curent_faq h4 {font-size: 13px; color: #336600; text-decoration: underline;}
.curent_faq h4 {margin: 5px 0; font-size: 13px;}
.curent_faq h4 a{font-size: 13px;}
.curent_faq small a{font-size: 10px;}

.articles {margin-top: 30px;}
.articles h4 {margin: 5px 0; font-size: 13px;}
.articles h4 a{font-size: 13px;}
.articles small a{font-size: 10px;}

.curent_articles {margin-top: 30px;}
.curent_articles h4 {font-size: 13px; color: #336600; text-decoration: underline;}
.curent_articles h4 {margin: 5px 0; font-size: 13px;}
.curent_articles h4 a{font-size: 13px;}
.curent_articles small a{font-size: 10px;}

.new_message {margin-top: 30px;}
.new_message h4 form{display: inline;}
.new_message h4 span {font-weight: normal;}
.new_message h4 span a{font-weight: normal;}

.message {margin-top: 30px;}
.message h4{color: #666666;}
.message p{color: #666666;}
.message small{color: #666666;}
.message h4 form{display: inline;}
.message h4 span {font-weight: normal;}
.message h4 span a{font-weight: normal;}

