﻿
body {
	margin: 0;
	padding: 0;
	color: #000000
	background:#EFEFDF;
	font: 73% Arial, Verdana, Geneva, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	margin-bottom: 0.5em;
	font-family:Georgia, "Times New Roman", Times, serif;
}



h1 { font-size: 1.3em; }

h2 { font-size: 1.2em; }

h3 { font-size: 1.1em; }

h4 { font-size: 1em; }

h5, h6 { font-size: 0.95em; }

p {
	margin-top: 0.5em;
	margin-bottom: 0.9em;
}

a {
	text-decoration: none;
	font-weight: bold;
}

a:link { color:#D17921; }

a:visited { color: #D17921; }

a:hover {
	color:#D17921;
	text-decoration: underline;
}

fieldset { border: 1px solid #ccc; }

pre {
	background-color: #eee;
	padding: 0.75em 1.5em;
	font-size: 12px;
	border: 1px solid #ddd;
}

table { /* make <td> sizes relative to body size! */ font-size: 1em; }

.form-item label {
	font-size: 1em;
	color: #222;
}

.item-list .title {
	font-size: 1em;
	color: #222;
}

.links {
	margin-bottom: 0em;
	margin-top: 0.2em;
	font-size:.95em;
        color: #AA5500;
}

.comment .links { margin-bottom: 0em;}

/*
** Page layout blocks / IDs
*/
#header, #content { width: 100%; }

#header {
	position:relative;
	background:#C5E18A url(img/header_bg.png) no-repeat;
	/* height:116px; */
	overflow:hidden;
}

#logo {
	float:left;
	margin:10px 0 0 30px;
	padding-bottom:15px;
}

#logo img {
	padding: 0;
	border: 0;
	margin:0;
}

#sub_header {
	position:relative;
	height:50px;
	background:url(img/sub_header.png) left top repeat-x;
	padding:4px 5px;
	margin:0 0 15px 0;
}

#sub_header .content {
	padding:2px 0 0 0;
	color:#ccc;
}

#sub_header .block a { color:#fff; }

#sub_header .block {
	color:#fff;
	margin:0 350px 0 30px;
	padding:5px 0 0 0;
}

#sub_header .block-title {
	float:left;
	width:150px;
	text-align:right;
	margin:0 20px 30px 0;
	color:#99CA30;
	padding:0;
}

#secondary {
	padding:0;
	margin:0;
	position:absolute;
	right:20px;
	top:10px;
	font-size:12px;
	color:#0053A0;
}

#secondary li { padding:0 6px 0 8px; }

#secondary a {
	padding: 7px 0;
	margin:0;
	font-size: 11px;
	font-weight:normal;
	color:#344A04;
}

#secondary a:hover, #secondary a.active {
	text-decoration:underline;
	color:#344A04;
}

#secondary ul.links li { border-left: 1px solid #344A04; }

ul.links li { border-left: 1px solid #ccc; }

ul.links li a { margin-left:2px; }

ul.links li.first { border-left: none !important; }

ul.links li.last { padding-right:0 !important; }

#primary {
	position:absolute;
	bottom:0;
	right:10px;
}

#primary li {
	border:none !important;
	margin-left:2px;
	padding:10px 0px; /* set to 0 in IE fix */
	float:left; /* float is nececcary! for correct tabs*/
}

#primary a {
	background:#9ACA31;
	padding:10px;
	font-size: 14px;
	font-weight:bold;
	color:#fff;
	margin-left:2px; /*to equalize with li margin */
}

#primary a:hover, #primary a.active {
	background:#2E2E2E url(img/tab.png) top left repeat-x;
	text-decoration:none;
}

ul.links li.first {
	border: none;
	padding-left:0 !important;
}

ul.links li.last { padding-right:0 !important; }

#search {
	position:absolute;
	right:10px;
	top:10px;
	vertical-align:middle;
	padding:6px 15px;
	background:url(img/search.png);
	z-index:2;
}

#search label {
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:1.3em;
}

#search .form-text {
	border: 1px solid #99CA30;
	font-size: 1.2em;
	height: 21px;
	vertical-align: middle;
	width: 175px;
	padding: 3px 5px 0 5px;
	margin:0;
}

#mission {
	background-color: #369;
	padding: 1.5em 2em;
	color: #fff;
}

#mission a, #mission a:visited {
	color: #9cf;
	font-weight: bold;
}

.site-name {

	margin: 0;
	padding: 20px 0 5px 0px;
	font-size: 3.3em;
	font-family:Impact, "Arial Black", Arial, Helvetica, sans-serif;
}
.site-name a {
padding:0 0 0 20px;
}

.site-name a:link, .site-name a:visited { color: #fff; }

.site-name a:hover { text-decoration: none; }

.site-slogan {
	font-size: 1.2em;
	color: #000;
	display: block;
	margin: 0;
	font-weight: bold;
	float:left;
	padding:0 0 20px 23px;
	
}

#main {
	/* padding in px not ex because IE messes up 100% width tables otherwise */
  padding: 0 15px;
	text-align:left;
}

#mission, .node .content, .comment .content { line-height: 1.4; }

#help {
	font-size: 0.9em;
	margin-bottom: 1em;
}

.breadcrumb {
	padding: 0.3em;
	font-size:0.95em;
	color:#99CA30;
	border: 1px solid #ccc;

}

.breadcrumb a { color:#99CA30; }

.messages {
	background-color: #eee;
	border: 1px solid #ccc;
	padding: 0.3em;
	margin-bottom: 1em;
}

.error { border-color: red; }

#footer {
	padding: 15px;
	font-size: 0.9em !important;
	text-align:right;
	vertical-align:bottom;
	color:#ccc;
	background:url(img/footer.png) top left repeat-x;
	margin:15px 0 0 0;
}

#footer a { color:#fff; }

#footer .links { margin-bottom:5px; }

#author_link {
	text-align:right;
	padding:.5em 0 0 0;
}

/*
** Common declarations for child classes of node, comment, block, box, etc.
** If you want any of them styled differently for a specific parent, add
** additional rules /with only the differing properties!/ to .parent .class.
** See .comment .title for an example.
*/
.title, .title a {
	font-weight: bold;
	font-size: 1.4em;
	color: #D17921;
	margin: 0 auto 0 auto;  /* decrease default margins for h<x>.title */
}

.feed-item-title a { color:#000; }

.block { margin-bottom:1.5em; }

#center .date {
	font-size:.8em;
	color:#6a6a6a;
}

.submitted {
	color: #999;
	font-size: 1em;
}

.links li.first { padding-left:0; }

.links a {
	font-weight: normal;
	color:#000;
}

.block, .box { padding: 0; }

.block .title { margin-bottom: .25em; }

.box .title { font-size: 1.1em; }

.node .title { font-size: 1.1em; }

.node { margin: .5em 0 1em 0;
        border: 2px solid #ddd; 
        padding: .5em;
}

#center .node { padding-bottom:1.5em; }

.sticky {
	padding-bottom:1em;
	border-bottom:1px dotted #E0E4E7;
}

.node .content, .comment .content { 
    
    margin: .5em 0 .5em 0; 
    font-size: 1.1em;
    

}

.node .taxonomy {
	color: #AA5500;
	font-size: 1em;
	padding: 1.5em;
}

.node .picture {
	border: 1px solid #ddd;
	float: right;
	margin: 0.5em;
}

.comment {
	border: 1px solid #abc;
	padding: .5em;
	margin-bottom: 1em;
}

.comment .title a {
	font-size: 1.1em;
	font-weight: normal;
}

.comment .new {
	text-align: right;
	font-weight: bold;
	font-size: 0.8em;
	float: right;
	color: red;
}

.comment .picture {
	border: 1px solid #abc;
	float: right;
	margin: 0.5em;
}

/*
** Module specific styles
*/
#aggregator .feed-source {
	background-color: #eee;
	border: 1px solid #ccc;
	padding: 1em;
	margin: 1em 0 1em 0;
}

#aggregator .news-item .categories, #aggregator .source, #aggregator .age {
	color: #999;
	font-style: italic;
	font-size: 0.9em;
}

#aggregator .title {
	margin-bottom: 0.5em;
	font-size: 1em;
}

#aggregator h3 { margin-top: 1em; }

#forum table { width: 100%; }

#forum td { padding: 0.5em 0.5em 0.5em 0.5em; }

#forum td.forum, #forum td.posts { background-color: #eee; }

#forum td.topics, #forum td.last-reply { background-color: #ddd; }

#forum td.container { background-color: #ccc; }

#forum td.container a { color: #555; }

#forum td.statistics, #forum td.settings, #forum td.pager {
	height: 1.5em;
	border: 1px solid #bbb;
}

#forum td .name { color: #96c; }

#forum td .links {
	padding-top: 0.7em;
	font-size: 0.9em;
}

#forum td.title a { 
     
	font-size: 1em;
}

#profile .profile {
	clear: both;
	border: 1px solid #abc;
	padding: .5em;
	margin: 1em 0em 1em 0em;
}

#profile .profile .name { padding-bottom: 0.5em; }

.block-forum h3 { margin-bottom: .5em; }

.calendar a { text-decoration: none; }

.calendar td, .calendar th {
	padding: 0.4em 0;
	border-color: #888;
}

.calendar .day-today { background-color: #69c; }

.calendar .day-today a { color: #fff; }

.calendar .day-selected {
	background-color: #369;
	color: #fff;
}

.calendar .header-week { background-color: #ccc; }

.calendar .day-blank { background-color: #ccc; }

.calendar .row-week td a:hover {
	background-color: #fff;
	color: #000;
}

/*----------block stuf ----------*/

#left .block-title {
	padding:7px 0 3px 10px;
	color:#99CA30;
	margin: 0;
	height:26px; /* necessary for IE!!!!!!! */
	background:url(img/block-header.png) top left no-repeat;
}

/* ------------------- block-user-0 ----------------- */
#block-user-0 .item-list {
	margin-top:10px;
	text-align:left;
	padding:4px 0 0 0;
}

#block-user-0 .item-list ul li { list-style-type:none; }

.user_profile label { font-weight:bold; }

.user_profile .fields { margin:1.4em 0; }

/* sidebar menu
--------------------------------------------------*/

#right li.collapsed, #right li.leaf {
	padding:0;
	line-height:1.5em;
}

#right .collapsed a, #right .leaf a {
	display:block;
	padding:4px;
	height:1%; /* IE WIN */
	text-decoration:none;
	border-bottom:1px dotted #E0E4E7;
	color:#000;
}

#right .leaf a { border-bottom:1px solid; }

#right .collapsed a:hover, #right .leaf a:hover {
	background-color:#98ABB8;
	color:#fff;
	text-decoration:none;
}

/* -------------- table view ------------------------- */
table {
	width:100%;
	margin-bottom:15px;
}

thead th {
	background:#A7D34B;
	border:1px solid #88B52D;
	padding:5px 5px;
}

tr.odd td, tr.even td {
	padding:3px 3px;
	border:1px solid #88B52D;
}

tr.odd td { background:#F3FAE4; }

tr.even td { background:#E0EFC0; }

tr.odd td.active { background:#E6F2CE; }

tr.even td.active { background:#D1E8A4; }

tr.odd td a, tr.odd td { color:#6A8C22; }

tr.even td a, tr.even td, thead th a { color:#344A04 !important; }

.pager { margin-bottom:15px; }

/* sidebar menu
--------------------------------------------------*/

#left li.collapsed, #left li.leaf {
	padding:0;
	line-height:1.4em;
}

#left .collapsed a, #left .leaf a {
	display:block;
	padding:4px;
	height:1%; /* IE WIN */
	text-decoration:none;
	border-bottom:1px solid #E0E4E7;
}

#left .collapsed a:hover, #left .leaf a:hover {
	background-color:#9ACA31;
	color:#fff;
	text-decoration:none;
}

/* -------------------- layout. Floating columns technique  ------------------- */

.wrapper {
	width:967px;
	padding:0 13px;
	margin: 0 auto;
	}
	
#wrapper {
	text-align:left;
	background: url(img/body_bg.png) top center repeat-y;
}
#top-glow {background:url(img/body-glow-top.png) top center no-repeat; height:12px;}
#bottom-glow {background:url(img/body-glow-bottom.png) bottom center no-repeat; height:12px;}

#wrapper .column { float: left; }

/* 
columns widths are calculated as following: (#center + padding-left + padding-right)+(#left + padding-left + padding-right)+(#right + padding-left + padding-right) = #wrapper
If you add border-left or border-right (for eg. 1px) it should also be added into calculations as well as margins!
*/



#left {
	width: 180px;
	padding: 0 0 0 20px;
}

#right {
	width: 150px;
	padding: 0 20px 0 0;
}

#center {
	padding: 0 20px;
	width: 557px;
}

.sidebar-right #center {width:757px;}
.sidebar-left #center {width:727px;}

.no-sidebars #center {width:auto;} /* do not touch this :) */

#footer { clear: both; /* it's necessary to clear all floated columns! */ }


/*  -------- Пользовательские   --------- */


#top  {
	margin-top: -12px;
}

#top .block {
	margin-bottom: 0;
	margin-top: -1.2em;
}

#footer_2 { 
     font-size: 0.8em;
}

#bottom_top { clear: both; /* it's necessary to clear all floated columns! */ }


/* Bottom teaser
-------------------------------------------------------------- */

#bottom-teaser {
width:950px;
margin: 10px auto 10px;
}

#bottom-teaser .column {
float: left;
}

#bottom-teaser.in1 .column {
width: 100%;
}

#bottom-teaser.in2 .column {
width: 50%;
}

#bottom-teaser.in3 .column {
width: 33.3%;
}

#bottom-teaser .block {
padding-left:15px;
padding-right:15px;
}


/* Bottom region
-------------------------------------------------------------- */

#bottom-wrapper {
background-color: #f4f4f4;
border-right: 1px solid #bbb;
border-left: 1px solid #ddd;
border-top: 1px solid #ddd;
margin: 10px auto 0;
text-align: left;
width: 950px;
position: relative;
}

#bottom-wrapper h2 {
font-size: 1.3em;
padding-top: 5px;
padding-bottom: 5px;
margin-bottom: -5px;
}

#bottom-wrapper .column {
float: left;
padding-bottom: 15px;
padding-top: 5px;
}

#bottom-wrapper.in1 .column {
width: 100%;
}

#bottom-wrapper.in2 .column {
width: 50%;
}

#bottom-wrapper.in3 .column {
width: 33.3%;
}

#bottom-wrapper.in4 .column {
width: 25%;
}

#bottom-wrapper .block {
padding-left:15px;
padding-right:15px;
}

/*    BUEditor */

.editor-center-button{
text-align:center;
}
 
.editor-justify-button{
text-align:justify;
}
 
.editor-left-button{
text-align:left;
}
 
.editor-right-button{
text-align: right;
}

.vop {
	font-size: 0.9em;
	color: #f03;
}

.otv {
	background-color: #eee;
	margin-top: -1em;
	padding-left: 2em;  
	font-size: 0.9em;
	color: #036;
}

h2 { 
	text-align:center; 
}

p { 
	text-align:justify; 
}

quote {
	color: #036;
}

.field-content p {
	text-align: center;
}

.field-content h3 {
text-align: center;
}

/*         */
.content img {
  max-width: 100%;
  margin-right: 10px;
}

dt { font-weight:bold; }

#profile .profile {
  border: 1px solid #7f98a7;
  clear: none;
  float: left;
  margin-bottom: 10px;
  margin-right: 10px;
  width: 45%;
  _position: relative; /* avoid IE peekaboo bug */
  _word-wrap: break-word;
}

