﻿body {
	margin: 0;
	background: #DEFFDE;
}

#container {
	background: #0000FF;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 0;
}
/* Блок сверху */

.upper_line {
	background: #77CC00;
	height: 100px;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 30;
}

.upper_line_content {
	font-family: Arial;
	margin: 0;
	padding-left: 20px;
}

#upper_line1 {
	margin: 5px 0 10px 0;
	font-size: 30px;
	font-weight: bold;
}

#upper_line2 {
	font-size: 18px;
}


/* Блок слева */

.left-menu { 
    background: #77CC00;
	font-family: Arial;
	font-size: 0.9em;
    float: left;
	height: 100%;
	left: 0;
	padding: 0 0 5px 0;
	position: fixed;
	top: 100px;
    width: 200px;
	z-index: 10;
}

.left-menu a:link { text-decoration: none; color: #000000 } 
.left-menu a:visited { text-decoration: none; color: #000000 } 
.left-menu a:active { text-decoration: none; font-weight: bold }
.left-menu a:hover { }


.menu-block {
	background: #55CC00;
	border: 1px solid #FFFFFF;
	border-radius: 15px 15px 15px 15px;
	box-shadow: 0px 1px 1px #878857, inset 0px 0px 1px #dcdd89, inset 0px 1px 0 #dcdd89;
	margin: 0 0 50px 10px;
	padding: 5px;	
    width: 85%;	
}

.menu-item {
	margin: 5px 0 5px 0;
	border-radius: 15%;
	width: 100%;	
}

.menu-item :hover {
	background-color: #77CC00;
}

.menu-item  a {
	display: block
}

.menu-item-lib {
	margin-left: 20px;
	width: 91%;
}

.login-input {
	width: 170px;
}

/* Содержание */

.contents {
	background: #DEFFDE;
	left: 0;
	height: 100%;
	margin: 0;
	min-width: 600px;
/*	top: 100px; */
	z-index: 0;
}

.contents-line {
	float: left;
	padding: 10px 0 10px 5px;
	width: 99%;
}

.counter {
	font-size: 0.8em;
	margin: 10px 0 10px 0;
}

.link {
	float: right;
	position: relative;
	width: 10%;
}

.edit, .delete {
	float: left;
}

.wrapper {
	padding: 10% 0 10% 0;
	position: relative;
}

.name {
	font-style: italic;
	display: inline;
}

.body {
	display: inline;
}

.odd{
	background: #DEFFDE;
}

.even{
	background: #D0FFD0;
}

.bold {
	font-weight: bold;
}

.title {
	font-weight: bold;
	text-align: center;
	margin: 100px 0 10px 0;
	padding: 5px 0 5px 0;
	width: 100%;
}

/* index */

#updates {
	background: #DEFFDE;
	padding-left: 210px;
}

.update {
	margin: 15px 0 10px 0;
}

.update-day {
	margin-bottom: 5px;
	font-style: italic;
}

.update-data {
	margin: 5px 0 5px 0;
}

/* head */

.head {
	background: #DEFFDE;
	height: 100%;
	z-index: 3;
}

#head_info {
	background: #DEFFDE;
	padding-left: 210px;
}

.label-head {
	margin: 0 0 10px 0;
}

.upper {
	display: block;
}

#type_selector {
	border-radius: 5px;
	margin: 5px 0 5px 0;
}

#author {
	border-radius: 5px;
	margin: 5px 0 5px 0;
	width: 220px;
}

input .file {
	border-radius: 5px;
	margin: 5px 0 5px 0;
	width: 500px;
}

input .button {
	margin: 5px 0 5px 0;
	border-radius: 5px;
	width: 100px;
}

textarea[name="data"] {
	border-radius: 5px;
	height: 100px;
	width: 500px;	
}

textarea[name="description"] {
	border-radius: 5px;
	height: 130px;
	width: 500px;	
}

#login {
	background: #55CC00;
	border: 1px solid white;
	border-radius: 15px;
	margin: 0 5px 0 5px;
	padding: 15px 5px 0 5px;

}

.button {
	background: #77CC00;
	border: 1px solid #878857;  
	border-radius: 10px;
	box-shadow: 0px 1px 1px #878857, inset 0px 0px 1px #dcdd89, inset 0px 1px 0 #dcdd89;  
	color: #000;
	font-size: 0.9em;  
	margin: 0 5px 0 5px;  
	padding: 5px 7px;
	outline: none;
	text-decoration: none;
	text-shadow: 0px 1px 1px rgba(255,255,255,1);
} 
  
.button:hover {
  background: -moz-radial-gradient(#0F0, #77CC00);
  background: -ms-radial-gradient(#0F0, #77CC00);
  background: -o-radial-gradient(#0F0, #77CC00);
  background: -webkit-radial-gradient(#0F0, #77CC00);
}

.left-menu-button {
	margin: 10px 0 10px 30px; 
	text-align: center;
	width: 140px;
}

.a-button {
    display: inline-block;
	width: 125px;
}

/* head */

.head_element {
	margin: 15px 0 0 0;
}

.head-image {
	float: left;
	margin: 10px;
}

.head-info {
	width: 100%;
}

/* materials */

.items {
	padding-left: 200px;
}

.item {
	display: inline-block;
	padding: 10px 0 10px 0;
	width: 100%;
}

.item-image {
	margin: 10px;
	float: left;
	width: 200px;

}

.new {
	color: #FF0000;
	margin-left: 5px;
	font-size: 0.8em;
	font-weight: bold;
}

.no-image {
	border: 1px dotted #FFFFFF;
	background: #F0F0F0;
	height: 200px;
	text-align: center;
}

.no-image-text {
	margin-top: 80px;
}

.item-body1 {
}

.item-body2 {
	display: block;
	float: left;
	margin-right: 20px;
	padding-left: 5px;
	width: 85%;
}

.item-author1 {
	font-style: italic;
	margin-right: 5px;
	padding-left: 5px;
}

.item-author2 {
	display: inline;
	font-style: italic;
	margin-right: 5px;
}

.item-name1 {
	display: inline;
}

.item-name2 {
	display: inline;
}


.item-description {
	margin: 10px 0 10px 0;
}

.item-link1 {
	margin: 10px 0 10px 0;
}

.item-link2 {
	float: right;
	padding: 10px 0 10px 0;
	text-align: center;	
	width: 10%;
}

.left {
	float: left;
	display: block-inline;
	width: 100%;
}

.edit_buttons {
	margin: 0 10px 0 10px;
}

.border {
	border-bottom: 1px solid #FFFFFF;
}


/* statistics */

.stats {
	padding-left: 220px;
}

.stats h3 {
    text-align: center;
}

.stats div {
    margin-bottom: 10px;
}

/* modal windows */

#edit-window {
	border: 4px solid white;
	border-radius: 15px;
	background: #55FF55;
	display: none;	
	left: 50%;	
	padding: 10px;
	position: absolute;
	width: 500px;
	z-index: 1000;
}

.edit-window-layer {
	margin: 0 5px 5px 0;
}

.down-buttons {
	margin: 15px 0 0 0;
	text-align: center;
}

#wait {
	border: 4px solid white;
	border-radius: 15px;
	background: #55FF55;
	display: none;	
	left: 50%;	
	padding: 10px;
	position: absolute;	
	text-align: center;
	top: 100px;	
	width: 300px;
	z-index: 1000;
}

#notfound {
	padding-left: 210px;
	margin-top: 110px;
}