* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
	/* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */
	height: 100%; margin: 0 auto; padding: 0;
}

body {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	font-family: Verdana, Helvetica, Arial, sans-serif;
	color: #858585;
	/*font-size: 62.5%;		 This sets the default font size to be equivalent to 10px */
	font-size: 10px;
	margin: 0 auto;
	padding: 0;
	padding-bottom: 1px;
	height: 100%;
	background-color: #000000;
}

h1 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #aaaaaa;
	margin-top: 6px;
	margin-bottom: 12px;
	font-weight: normal;
	font-size: 2em;
}

h2 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #aaaaaa;
	font-size: 1.7em;
	margin: 0.3em 0 0.5em 0;
}

h3 {
	/* Sub-headers (also used as post headers, but defined later) */
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	margin-bottom: 3px;
	padding-bottom: 2px;
	font-size: 1.3em;
	color: #aaaaaa;
	margin-top: 20px;
}

p {
	line-height: 1.4em;
	font-size: 1.2em;
	margin-bottom: 1.5em;
}

div.news {
	line-height: 1.2em;
	font-size: 1.3em;
	margin-bottom: 1em;
	text-align:justify;
}

p.txtlnk { text-align:justify; margin:6px 0; }

table.colored {
	font-size: 1.2em;
	background-color:#000000;
}

table.colored td {
	line-height: 1.4em;
	padding: 6px;
}

table.colored th {
	background-color:#858585;
	color:#181818;
	padding:9px 6px;
}

table.colored thead {
	background-color:#181818;
	color:#858585;
	padding:9px 6px;
}

table.colored tr {
	line-height: 1.4em;
	padding: 6px;
	background-color:#393939;
}

table.colored tr:hover {
	color:#DDDDDD;
	background-color:#555555;
}

table.nohover tr:hover {
	color:#858585;
	background-color:#393939;
}

img {
	border-width: 0;
}

ul {
	list-style: disc;
	margin: 0 0 1em 2em;
	font-size: 1.2em;
}
li { line-height:normal; padding-bottom:0.3em }

ul.folder, ul.doc, ul.foto { list-style-type: none; padding: 0; margin: 0; line-height:1.5em }
ul.folder li { background: transparent url(/images/folder.gif) no-repeat; background-position: 0 0; padding-left: 22px; }
ul.foto   li { background: transparent url(/images/images.gif) no-repeat; background-position: 0 0; padding-left: 22px; }
ul.doc    li { background: transparent url(/images/doc.gif)    no-repeat; background-position: 0 0; padding-left: 22px; }

hr {
	/* Also see tweaks.css */
	border: 0 none #FFFFFF;
	border-top: 1px solid #CCCCCC;
	height: 1px;
	margin: 0;
	display: block;
	clear: both;
}

hr.dashed {
	border-top: 1px dashed #CCCCCC;
	margin: 10px 0;
}

hr.divider {
	border-top: 1px solid #000000; border-bottom: 1px solid #555555; clear:both; margin:6px 0; height: 0;
}

fieldset {
	padding: 10px;
	border: 1px solid #b9b9b9;
	background-color: #370909;
}
  
#page { height:auto !important; height:100%; min-height:100%; margin-left:-480px; left:50%; top:34px; position:absolute; width:960px; background: #292929; display:block; clear:both }
#main { padding:0; width:700px; float:right }
#content { margin: 10px; }
#sidebar { width: 250px; height:auto; float:left; padding-right: 10px; }

#btm { background: #ff6600 url(/images/footer.jpg); background-repeat:repeat-x; text-align:center; height:60px }
#btm a { text-decoration: none; color:#292929; font-weight:bold; text-transform:uppercase; margin:0 10px }
#btm a:hover { color:#ffffff }
#btm p { padding-top:20px; font-size:1.1em; line-height:normal }

#nav { background-color:#292929; clear:both; border-bottom: 1px solid #292929; border-right: 1px solid #292929; border-left: 1px solid #797979; }
#nav p {
  padding: 0px; margin: 0px; line-height:1.7em;
}
#nav a {
  background-color: #494949; display: block; color: #e2e2e2; padding: 0.4em 0.2em 0.4em 1em; font-weight:bold; text-decoration:none; margin:0 0 1px 0; border-top: 1px solid #797979; height: auto !important; height:1.8em
}
#nav .left a {
  background-color: #595959; font-size:0.9em; border-top: 1px solid #797979; height: auto !important; height:1.8em
}
#nav a:hover {
  background-color: #fc7b00; border-top: 1px solid #fc7b00;
}

#contactspan { font-size:11px; color:#666666; margin: 0; text-align:justify; line-height:normal}
.data { font-size:11px; padding-bottom: 0; text-align:justify; line-height:normal}

a { text-decoration: underline; color:#e2e2e2 }
a:hover { text-decoration: none; color:#f2b136 }

a.noneUL { text-decoration: none; color:#e2e2e2 }
a.noneUL:hover { text-decoration: underline; color:#f2b136 }

h1 a, h2 a { text-decoration: none }
p.txtlnk a { text-decoration:none; color:#858585 }
p.txtlnk a:hover { text-decoration:none; color:#e2e2e2 }

#pages {
	padding-bottom: 10px;
	display:block;
	margin-left:-28px;
}
#pages ul {
	list-style-type: none;
}
#pages li {
	float: left;
	margin: 0 5px 0 0;
	display: block;
}
#pages li a {
	color: #fff;
	padding: 4px;
	border: 1px solid #ddd;
	text-decoration: none;
	background: #595959;
	float: left;
}
#pages li a:hover {
	color: #fff;
	background: #fc7b00;
	border: 1px solid #fc7b00;
}
#pages li.nolink {
	color: #CCC;
	padding: 4px;
	margin: 0 !important;
	margin: 0 5px;
}
#pages li.current {
	color: #000;
	border: 1px solid #fff;
	padding: 4px;
	background: #e2e2e2;
}

#pageslist {
	padding: 10px 0; display:block;
}
#pageslist span {
	margin: 0 5px 0 0;
}
#pageslist span a {
	color: #fff;
	padding: 4px;
	border: 1px solid #ddd;
	text-decoration: none;
	background: #595959;
}
#pageslist span a:hover {
	color: #fff;
	background: #fc7b00;
	border: 1px solid #fc7b00;
}
#pageslist span.nolink {
	color: #CCC;
	border: 1px solid #fff;
	padding: 4px;
}
#pageslist span.current {
	color: #000;
	border: 1px solid #fff;
	padding: 4px;
	background: #e2e2e2;
}

div.navblock { height:30px; display:block; clear:both; font-size: 1.15em; font-family: Tahoma, Arial, Verdana, sans-serif; }
div.navigate { margin:16px 10px 16px 10px; clear:both; font-size: 1.15em; font-family: Tahoma, Arial, Verdana, sans-serif; }

.gallery {
  zoom:1;
  width:auto;				
}
.gallery a {
  display:block;
  opacity:1;
  text-align:center;
}
.gallery a:hover {
  opacity:0.87;
}
.gallery a img {
  display: block;
  cursor:pointer;
  background-color: #595959;
  padding: 4px;
  margin:3px;
  border: 1px solid #888888;
}
.gallery img {
  display: block;
  background-color: #595959;
  padding: 4px;
  margin:3px;
  border: 1px solid #888888;
}

.poll_header { padding-bottom:6px; font: bold 12px Arial; display:block; clear:both }

table.poll_answers {
  font: 11px Arial, Helvetica, sans-serif;
}

/* Стили кнопок (ссылок) на выполнение сортировки */
.sortBlock {
	padding: 4px 0;
	display:block;
	font-size: 1.2em;
	margin-bottom:10px
}

a.descRow, a.ascRow { 
	width: 18px;
	height: 18px;
	cursor:pointer;
}

a.ascRow, a.descRow:hover { background: transparent url("/admin/images/sh.png") no-repeat; background-position: -18px -3px; }
a.descRow, a.ascRow:hover { background: transparent url("/admin/images/sh.png") no-repeat; background-position: 0 -3px; }

/*--------------------------------*/
form#myform legend {
  font-weight:bold;
  font-size: 120%; 
  letter-spacing: -1px;
  color:#666666
}
/*
form#myform label {
  font-weight:bold 
}
*/
form#myform input, form#myform textarea, form#myform select {
  border:1px solid #aaaaaa;
  padding:2px;
  background:#ffffff url(/images/inputBg.gif) top left no-repeat;
}

form#myform input:hover, form#myform textarea:hover, form#myform select:hover {
  border:1px solid #ffffff;
}

form#myform input:active, form#myform textarea:active, form#myform select:active {
  border:1px solid #ffffff;
}

form#myform input.submit {
  background:#aca788;
  border: 1px solid #999999;
}

form#myform input.submit:hover {
  background:#eae1a5;
  border: 1px solid #ffffff;
  cursor: pointer;
}

form#myform fieldset {
  padding:2%;
  border:1px solid #e3e3e3;
  margin:0;
}

p#statusgreen { font-size: 1.2em; background-color: #fff; color: #0a0; }
p#statusred { font-size: 1.2em; background-color: #fff; color: #a00; }

/********************************* LiveValidation *************************************/

.LV_valid {
    color:#ffffff;
}
	
.LV_invalid {
	color:#CC0000;
}
	
.LV_validation_message{
    font-weight:bold;
    margin:0 0 0 5px;
}
    
.LV_valid_field,
input.LV_valid_field:hover, 
input.LV_valid_field:active,
textarea.LV_valid_field:hover, 
textarea.LV_valid_field:active,
.fieldWithErrors input.LV_valid_field,
.fieldWithErrors textarea.LV_valid_field {
    border: 1px solid #00CC00;
}
    
.LV_invalid_field, 
input.LV_invalid_field:hover, 
input.LV_invalid_field:active,
textarea.LV_invalid_field:hover, 
textarea.LV_invalid_field:active,
.fieldWithErrors input.LV_invalid_field,
.fieldWithErrors textarea.LV_invalid_field {
    border: 1px solid #CC0000;
}

/************************************ HELPERS ***************************************/		

.floatRight {
  float:right;
}

.floatLeft {
  float:left;
}

.clearBoth {
  clear:both;
}

.clearLeft {
  clear:left;
}

.clearRight {
  clear:right;
}

.inline {
  display:inline;
}

.block {
  display:block;
}

.displayBlock {
  width:10em;
  float:left
}

.hidden {
  display:none;
}

.invisible {
  visibility:hidden;
}

.visible {
  visibility:visible;
}

/** margin helpers (useful for floated images) **/

.marginTop10 {
  margin-top:10px;
}

.marginRight10 {
  margin-right:10px;
}

.marginBottom10 {
  margin-bottom:10px;
}

.marginleft10 {
  margin-left:10px;
}

/** rounded raised field **/

	.raised {
	  background:transparent; margin-top:12px
	}
	.raised .b1, .raised .b2, .raised .b3, .raised .b4, .raised .b1b, .raised .b2b, .raised .b3b, .raised .b4b {
	  display:block; 
	  overflow:hidden;
	  font-size:1px;
	}
	.raised .b1, .raised .b2, .raised .b3, .raised .b1b, .raised .b2b, .raised .b3b {
	  height:1px;
	}
	.raised .b2 {
	  background:#393939; 
	  border-left:1px solid #696969; 
	  border-right:1px solid #595959;
	}
	.raised .b3 {
	  background:#393939; 
	  border-left:1px solid #595959; 
	  border-right:1px solid #393939;
	}
	.raised .b4 {
	  background:#393939; 
	  border-left:1px solid #595959; 
	  border-right:1px solid #191919;
	}
	.raised .b4b {
	  background:#393939; 
	  border-left:1px solid #494949; 
	  border-right:1px solid #191919;
	}
	.raised .b3b {
	  background:#393939; 
	  border-left:1px solid #292929; 
	  border-right:1px solid #191919;
	}
	.raised .b2b {
	  background:#393939; 
	  border-left:1px solid #191919; 
	  border-right:1px solid #191919;
	}
	.raised .b1 {
	  margin:0 5px; 
	  background:#696969;
	}
	.raised .b2, .raised .b2b {
	  margin:0 3px; 
	  border-width:0 2px;
	}
	.raised .b3, .raised .b3b {
	  margin:0 2px;
	}
	.raised .b4, .raised .b4b {
	  height:2px; margin:0 1px;
	}
	.raised .b1b {
	  margin:0 5px; background:#191919;
	}
	.raised .boxcontent, .raised .votebox {
	  display:block;  
	  background:#393939; 
	  border-left:1px solid #595959; 
	  border-right:1px solid #191919;
	  padding:6px 10px;
	}

label input.radio {
	vertical-align: text-bottom;   /* Tweak for Moz & IE to align checkboxes/radio buttons nicely */
	margin: 0 3px;
}

label {
	margin: 0 6px 0 3px;
}

/*Visible to only Opera*/
@media all and (min-width: 0) {
/*Корректно отображаем родные для браузера чекбоксы и радиогруппы, т.е. 
  восстанавливаем сброшенные ранее значения по умолчанию */
  input.radio {
	padding: 1px;
  }
  label input.radio {
	vertical-align: text-top;   /* Tweak for Opera to align checkboxes/radio buttons nicely */
  }
  button {
	padding: 2px 4px;
  }
}

input.votesubmit {
  background:#aca788;
  border: 1px solid #999999;
  color:#000000;
  padding:3px;
}

input.votesubmit:hover {
  background:#eae1a5;
  border: 1px solid #ffffff;
  cursor: pointer;
}

input.votesubmit:disabled {
  background:#666666;
  border: 1px solid #333333;
  cursor:default;
  color:#999999;
}
