/* Размещение блоков */

body {
	padding: 10px;
}

#main {
	min-height: 541px;
}

#sidebar {
	width: 220px;
	float:left;
}

#content {
	margin-left: 230px;
}

footer {
	
}

/* Оформление главных блоков */

body {
	background: #fafafa;
}

#sidebar header, #left_menu, #user_menu, #left_calendar, #birthday, #content, body > footer, div.simple {
	background: #f3f3f3;
	padding: 7px;
	border: 3px solid #dddddd;
}

#sidebar header, #left_menu, #user_menu, #content, #left_calendar, #birthday {
	margin-bottom: 10px;
}

header h1 {
	font-weight: bold;
	text-align: center;
	text-shadow: 2px 2px 0 white, 2px 2px 2px black;
}

body > footer {
	text-align: center;
	clear: both;
}

#left_menu li:hover {
	background: #fcfcfc;
}

/* Стандартные элементы */

html {
	font: 12px "Courier New";
	color: black;
}

p, li {
	margin: 2px 0;
}

a {
	color: black;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.2em;
}

a:hover {
//	padding-left: 10px;
}

h1, h2, h3, h4 {
	color: black;
	margin: 5px 0;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 18px;
}

h4 {
	font-size: 16px;
}

/* Класс таблиц simple */

table {
	border-collapse: separate;
	border-spacing: 1px;
}

table.simple {
	background: #dddddd;
}

.key {
	text-align: right;
	vertical-align: middle;
	font-weight: bold;
	background-color: #dddddd;
	padding: 4px;
}

.key2 {
	font-weight: bold;
	background-color: #dddddd;
	padding: 4px;
}

th {
	background-color: #dddddd;
	font-weight: bold;
	vertical-align: middle;
}

th a {
	border: none;
}

th a:hover {
	border: none;
}

td, th {
	padding: 2px;
}

.row0:hover, .row1:hover, .row2:hover, .row3:hover, .row4:hover {
	cursor: pointer;
	background: #ffffdd;
}

.row0 {
	background-color: #fcfcfc;
}

.row1 {
	background-color: #f7f7f7;
}

.row2 {
	background-color: rgb(253, 114, 114);
}

.row2:hover {
	background-color: rgba(253, 114, 114, 0.5);
}

.row3 {
	background-color: rgb(250, 199, 106);
}

.row3:hover {
	background-color: rgba(250, 199, 106, 0.5);
}

.row4 {
	background-color: rgb(157, 221, 157);
}

.row4:hover {
	background-color: rgba(157, 221, 157, 0.5);
}

/* Стили статьи */

article {
	
}
article > header > p {
	background-color: #dadada;
	padding: 3px;
}

div.text img {
	margin: 0 10px;
	border: 2px solid white;
}

.text ul {
	list-style-image: url(../images/template/ul_marker.png);
	margin-left: 20px;
}

/* Error */

.error {
	color: #cc0000;
	font-weight: bold;
}

.search_box {
	//margin-top: 10px;
	//margin-bottom: 8px;
	line-height: 2.5;
}

.search {
	background: #FFffee;
	border: 2px solid #Dddddd;
	border-radius: 5px;
	padding: 3px;
}

.search a, .full_tag_open a, a.b0{
	border: none;
}

.button_image {
	position: relative;
	top: 3px;
	margin-top:-5px;
}

/*  Простые стили */

.c {
	text-align: center;
}

.r {
	text-align: right;
}

.l {
	text-align: left;
}

.red {
	color: red;
}

.green {
	color: green;
}

.date {
	font-weight: bold;
	font-size: 10px;
}

.b, strong {
	font-weight: bold;
}

.i {
	font-style: italic;
}

.s14 {
	font-size: 14px;
}

a.button {
	background-color: #fafafa;
	padding: 7px 0;
	font-weight: bold;
	color: black;
	text-shadow: none;
	width: 120px;
	display: inline-block;
	text-align: center;
	margin-right: 5px;
	border: 2px solid #dddddd;
	cursor: pointer;
}

a.buttonXLS {
	background-color: #fafafa;
	padding: 7px 0;
	font-weight: bold;
	color: black;
	text-shadow: none;
	width: 40px;
	display: inline-block;
	text-align: center;
	margin-right: 5px;
	border: 2px solid #dddddd;
	cursor: pointer;
	float:right;
}

a.button:hover, a.buttonXLS:hover {
	border: 2px solid #dadada;
	background-color: #dadada;
	box-shadow: 0 0 5px 2px white;
}

label.column {
	white-space: nowrap;
}

label.column:hover {
	cursor: pointer;
}

img.loop {
	cursor: pointer;
	border-radius: 5px;
	border: 2px solid white;
}

.list {
	position: absolute;
	background: white;
	border: 1px solid #7f9db9;
	display: none;
	z-index: 100;
}

.list li {
	cursor: pointer;
	padding: 3px;
}

.list li:hover {
	background: #316ac5;
	color: white;
}

.vertical_separator {
	width: 1px;
	height: 30px;
	display: inline-block;
	margin-top: -16px;
	margin-right: 5px;
	position: relative;
	top: 12px;
	background-color: #dddddd;
	border: 1px solid #fcfcfc;
}

.horizontal_separator {
	width: 100%;
	height: 1px;
	display: inline-block;
	background-color: #dddddd;
	border: 1px solid #fcfcfc;
}

ul.simple li {
	margin: 5px 0;
}

.welcome_div {
	width: 48%;
	margin: 5px;
	display: inline-block;
}

.welcome_div h3 {
	text-align: center;
}

.no-border, .no-border:hover {
	border: none;
}

.tab {
	padding: 1px;
	border: 2px solid #dddddd;
	display: inline-block;
	margin-bottom: 5px;
}

.border-div {
	border: 2px solid #ddd;
	background-color: #fafafa;
	padding: 5px;
	margin-bottom: 10px;
}

.hidden-print {
	display: none;
}

@-webkit-keyframes pulsate {
	50% { color: white; text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 8px #fff; }
}

@keyframes pulsate {
	50% { color: white; text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 8px #fff; }
}

.attention {
	color: red;
	-webkit-animation: pulsate 1.2s linear infinite;
	animation: pulsate 1.2s linear infinite;
}

table.simple caption {
    font-size: 18px;
    margin: 5px;
}