/* Reset Styles */
html, body, h1, img, div, textarea, select, table, tbody, th, td, input , label {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: normal;
border: 0 none;
font-size: 100%;
font-family: Arial;
}

html, body {
height: 100%;
background-color: #fff;
}

/* Страница Login */

.back {
background: #222;
height: 100%;
}

/* Кнопки */
input.btn {
	font-size: 13px;
	text-align:center;
	color: #fff;
	background: #09c;
	border-radius: 2px;
	border: 1px solid #09c;
	cursor: pointer;
}
input.btn:hover {
	background: #18a2cf;
}
input.btn:active {
	background: #0790be;
}

/* Верхняя белая полоса */
.whiteband {
	height: 82px;
	background: #fff;
	padding: 34px;
}

/* Логотип в верхней белой полосе */
.whiteband img {
	display: block;
	margin: 0 auto;
	background: transparent;
}

/* Треугольник */
.enter .triangle {
	position: absolute;
	top: 0;
	left: 173px;
	border: 16px solid #333;
	border-top: 16px solid white;
}

/* Верхняя черная полоса */
.upperband {
	height: 60px;
}

/* Меню авторизации */
.enter {	
	position: relative;
	width: 368px;
	height: 194px;
	margin: 0 auto;
	padding-top: 45px;
	border-left: 1px solid #444;
	border-right: 1px solid #444;
	border-bottom: 1px solid #444;
	background: #333;
}

/* Поля авторизации */
div.enter input[type=text], div.enter input[type=password] {
	width: 228px;
	height: 18px;
	margin: 15px auto 15px 60px;
	padding: 5px 10px;
	background: #fff;
	border: 1px solid #444;
	text-align: left;
	font-size: 15px;
	color: #444;
}

/* Кнопка "Войти" */
.enter input.btn {
	padding: 6px 14px;
	margin: 15px auto auto 153px;
}



div.speedme {
	height: 23px;
	/*background: url('/static/img/speedme-logo.png');*/
}

/* Левый блок */
.left {
	position: fixed;
	height: 100%;
	width: 240px;
	float:left;
	background: bottom 100px left 30px no-repeat,#222;
}

/* Правый блок */
.right {
	margin-left: 240px;
	height: 100%;
}

/* Название сайта */
.sitename {
	padding: 21px 10px 0 30px;
	height: 39px;
}
.sitename a:link {
	position: absolute;
	text-decoration: none;
	font-size: 15px;
	color: #999;
}
.sitename a:visited {
	color: #999;
}
.sitename a:hover {
	color: #fff;
}
.sitename a:active {
	color: #fff;
}

/* Шапка */
.header {
	height: 60px;
	background: #222;
}

/* Кнопка "Выход" */
.header input.btn {
	position: relative;
	float: right;
	padding: 6px 13px;
	margin: 15px 45px 15px 15px;
}

/* Строка приветствия */
.username {
	position: relative;
	float: right;
	text-align: right;
	margin-top: 15px;
	padding-top: 6px;
	font-size: 15px;
	color: #999;
}

/* Меню */
.menu {
	position: fixed;
	width: 240px;
	float: left;
	background: transparent;
	padding-top: 20px;
	border-top: 1px solid #444;
}

.menu div {
	position: relative;
	display: block;
	font-size: 15px;
	height: 30px;
	padding: 10px 10px 0 30px;
}

div.menu div.enable {
	height: 30px;
	background: url(/static/adm/img/arrow.png) no-repeat;
}

div.menu div.enable a {
	color: #fff;
}

/* Ссылки в меню */
div.menu a {
	text-decoration: none;
	color: #999;
}
.menu a:hover {
	color: #fff;
}

div.aFilter{
	margin-top: 150px;
	margin-left: 20px;
}
div.aFilter p{
	color: #fff;
}
input.filterBtn {
	padding: 2px 13px;
	background: #bbb;
	cursor: pointer;
}

/* Основной блок с таблицей записей */
.content {
	-moz-box-sizing: border-box; 
	box-sizing: border-box;
	background: #fff;
	padding: 25px 45px 30px 30px;
	min-width: 750px;
}

.content h1 {
	background: transparent;
	font-size: 30px;
	font-weight: normal;
	color: #999;
	padding-right: 20px;
	margin-bottom: 20px;
}

/* Кнопка "Добавить" */
.content input.btn {
	padding: 6px 14px;
	margin: 5px 0;
}

table.list {
	clear: both;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 15px;
}
table.list th {
	padding: 11px 13px;
	border: 1px solid #ddd;
	color: #999;
	background-color: #eee;
	text-align: left;
}
table.list td {
	padding: 11px 13px;
	border: 1px solid #ddd;
	color: #444;
	background-color: #fff;
}
table.list td.cntr {
	text-align: center;
}
table.list .img {
	padding: 8px 13px 4px 13px;
	text-align: center;
	white-space: nowrap;
}

/* Ссылки в таблице */
.content a:link {
	text-decoration: none;
	color: #09c;
}
.content a:visited {
	color: #09c;
}
.content a:hover {
	color: #444;
}
.content a:active {
	color: #444;
}


/* Страницы добавления объекта */

div#container {
	width: 702px;
	margin-top: 20px;
}

.content textarea {
	display: block;
	margin-bottom: 16px;
	height: 80px;
	width: 680px;
	padding: 4px 10px;
	border: 1px solid #ddd;
	color: #444;
	background-color: #eee;
	text-align: left;
	font-size: 15px;
}

.content select.category {
	margin-bottom: 20px;
	padding: 3px 10px;
	border: 1px solid #ddd;
	color: #444;
	background-color: #eee;
	font-size: 15px;
	width: 185px;
}

.name {
	display: block;
	float: left;
	width: 157px;
	margin-top: 5px;
	color: #444;
	background: transparent;
	font-size: 15px;
}

ul.checkboxes {
	white-space: nowrap;
	padding: 0;
	margin-bottom: 20px;
	color: #444;
	font-size: 12px;
	position: absolute;
	top: 135px;
	left: 885px;
}
ul.checkboxes li {
	display: inline;
	white-space: nowrap;
}
ul.checkboxes label {
	vertical-align: middle;
}
ul.checkboxes input {
	margin-bottom: auto;
	vertical-align: middle;
	margin-right: 5px;
}

.tags {
	float: left;
	width: 340px;
}
.tags2{
	float: left;
	width: 340px;
	margin-left: 22px;
}

.hfield {
	width: 360px;
	padding: 4px 10px;
	border: 1px solid #ddd;
	color: #444;
	background-color: #eee;
	text-align: left;
	font-size: 15px;
	margin: 0 20px 20px 0;
}
.tfield {
	width: 318px;
	padding: 4px 10px;
	border: 1px solid #ddd;
	color: #444;
	background-color: #eee;
	text-align: left;
	font-size: 15px;
	margin-bottom: 20px;
}
.cfield {
	width: 161px;
	padding: 4px 10px;
	border: 1px solid #ddd;
	color: #444;
	background-color: #eee;
	text-align: left;
	font-size: 15px;
	margin-bottom: 20px;
}

.flag {
	width: 523px;
	padding: 1px 10px;
	border: 1px solid #ddd;
	color: #444;
	background-color: #eee;
	font-size: 15px;
	margin-bottom: 20px;
}

.line {
	clear: both;
	width: 702px;
	background: #ddd;
	height: 1px;
	margin-bottom: 20px;
}

.buttons input.btn {
	float: right;
	margin: 0 15px;
}

input.btn2 {
	float: right;
	font-size: 13px;
	padding: 6px 14px;
	text-align:center;
	color: #fff;
	background: #bbb;
	border-radius: 2px;
	border: 1px solid #bbb;
	cursor: pointer;
}
input.btn2:hover {
	background: #cdcdcd;
}
input.btn2:active {
	background: #aeaeae;
}

.buttons {
	width: 700px;
	padding-bottom: 30px;
	background: transparent;
}

img.gallery {
	width: 150px;
}

div#progress {
	position: relative;
	width: 702px;
	border: 1px solid #ddd;
	height: 28px;
	margin-bottom: 20px;
}
	p.progressText {
		position: absolute;
		top: 5px;
		left: 300px;
		font-size: 13px;
		color: #ddd;
		padding: 0;
		margin: 0;
	}
	div.bar {
		height: 28px;
		background: #09c;
	}

span.normalCount {
	font-style: italic;
	font-size: 1rem;
	color: black;
}

span.exceededCount {
	font-style: italic;
	font-size: 1rem;
	color: red;
}