/*
Скин администраторского интерфейса для работы на авторской системе управления сайтом LabCMS Александра Левина aka Loki.
http://www.labcms.ru/
loki_angel@mail.ru
Автор - Муштат Дмитрий
http://www.mushtat.ru/
mushtat@gmail.com

Содержание:

 0 - Сброс стилей для HTML5;
 
 1 - Глобальные стили;
 
	1.1 - Ссылки;
	1.2 - Выделение;
	1.3 - Кнопки;
	
 2 - Шапка;
 
 	2.1 - Навигационное меню;
	
 3 - Основное содержимое;
 	3.1 - Левая колонка;
	3.2 - Правая колонка;
	
 4 - Футер;

*/


/*-----------------Сброс CSS стилей для HTML5-------------------------*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}                  
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
    display:block;
}

/*------------- 1.Глобальные стили -----------------*/

body {
	color: #444;
	background: #EAEAEA;
	text-shadow: 0 0px 1px #FFFFFF;
	font: 12px/1.8 Arial, Helvetica Neue, sans-serif;
	transition: all 0.5s ease;
}

/*------------- 1.1 Ссылки -----------------*/

a:hover, a:active {
	color:#cb6400;
	outline: none;
}
a, a:active, a:visited {
	text-decoration:none;
}

a {
	color:#444;
	font-weight:bold;
	
}

a:hover {
	color:#cb6400;
}

/*------------- 1.2 Выделение -----------------*/

::-moz-selection{
	background: #CCC;
	color:black;
	text-shadow: none;
}

::-o-selection{
	background: #CCC;
	color:black;
	text-shadow: none;
}

::selection {
	background:#CCC; 
	color:black;
	text-shadow: none;
} 
a:link {
	-webkit-tap-highlight-color: #6dad54;
}

/*------------- 1.3 Кнопки -----------------*/

form input[type="text"], form input[type="email"], form input[type="password"], form select, form textarea {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #CCC;
	padding: 4px 5px;
}

input[type="button"], input[type="submit"], input[type="reset"], input[type="file"], button {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #444;
	background: #888;
	-webkit-box-shadow: inset 0 1px 2px rgba(255, 255, 255, .6),inset 0 -5px 15px rgba(0, 0, 0, .3),1px 1px 1px #CCC;
	-moz-box-shadow: inset 0 1px 2px rgba(255, 255, 255, .6),inset 0 -5px 15px rgba(0, 0, 0, .3),1px 1px 1px #CCC;
	box-shadow: inset 0 1px 2px rgba(255, 255, 255, .6),inset 0 -5px 15px rgba(0, 0, 0, .3),1px 1px 1px #CCC;
	font: 11px Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: white;
	vertical-align: middle;
	margin: 0 3px 2px 1px;
	cursor: pointer;
	text-align: center;
	padding: 6px 8px;
	text-shadow: 1px 1px 1px #555;
	width: auto;
	overflow: visible;
	line-height: 110%;
}

input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="file"]:hover, button:hover {
	background:#999;
}

input[type="button"]:active, input[type="submit"]:active, input[type="reset"]:active, input[type="file"]:active, button:active {
	position: relative; top: 1px;
} 

/*--------------------- 2. Шапка --------------------*/

#top {
	background: -webkit-gradient(linear,0 0,0 bottom,from(#2C2C2C),to(#222));
	background: -moz-linear-gradient(#2C2C2C,#222);
	background: linear-gradient(#2C2C2C,#222);
	height: 50px;
	color: #CCC;
	border-bottom: 1px solid black;
	background: #2C2C2C;
	min-width: 960px;
}

#logo {
	margin-left:15px;
	line-height:50px;
	text-shadow: 0 0px 1px #AAA;
	font-size:25px;
	color: #AAA;
	font-weight:normal;
}

a#logo:hover{
	color:#ccc
}

#logo span {
	font-family: Arial, Helvetica Neue, sans-serif;
	font-weight:bold;
	color:#EEE;
}

#view-site {
	position:absolute;
	top:15px;
	color: #AAA;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: normal;
	border: 1px solid #444;
	padding: 0px 3px;
	margin-left: 10px;
	background: #333;
}

#view-site:hover {
	color:#EEE;
}

#login-info {
	position:absolute;
	top:15px;
	right:10px;
}

#login-info a {
	color:#AAA;
	padding: 4px 10px 4px 25px;
	background: url(/skins/admin/images/user.gif) 5px 4px no-repeat;
	background-position: 4px 4px;
	text-shadow: none;
}

#login-info a:hover {
	color:#FFF;
	text-decoration:underline;
}

/*--------------------- 2.1 Навигационное меню --------------------*/

#topmenu {
	background: #888;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#888), to(#666));
	background: -moz-linear-gradient(#888, #666);
	background: linear-gradient(#888, #666);
	border-top: 1px solid #AAA;
	border-bottom: 1px solid #444;
	height: 36px;
	line-height: 36px;
	min-width: 960px;
	position: relative;
	z-index: 1;
}

.current, nav ul li:hover {
	background: url(/skins/admin/images/overlay.png);

}

nav ul li.current a, nav ul li:hover {
	background: url(/skins/admin/images/overlay.png);
	-webkit-box-shadow: inset 0 3px 20px rgba(0, 0, 0, .2);
	-moz-box-shadow: inset 0 3px 20px rgba(0, 0, 0, .2);
	box-shadow: inset 0 3px 20px rgba(0, 0, 0, .2);
	color: #EEE;
}

nav a:hover {
	color:#FFF;
}

nav ul.main-menu{
	margin-left:40px;
	float:left;
	text-transform: capitalize;
}

nav ul.user-menu{
	float:right;
	margin-right:15px;
}

nav ul li {
	display:inline;
	padding:10px 0 10px 0;
}

nav ul li.msg {
	background: none;
}

nav ul li a {
	color: #EEE;
	padding:10px;
	font-weight:normal;
}

nav ul li img {
	margin-right:5px;
	vertical-align: middle;
}

/*--------------------- 3. Основное содержимое --------------------*/

section#content {
	max-width:1300px;
	min-width:900px;
	overflow: hidden;
}

article, aside {
	min-height:90%;
	margin:15px;
	-webkit-box-shadow: 3px 3px 0 #DDD;
	-moz-box-shadow: 3px 3px 0 #DDD;
	box-shadow: 3px 3px 0 #DDD;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #AAA;
	background: white;
	padding: 20px;
	margin-bottom: 15px;
}

article{
	overflow: hidden;
}

section.warning {
	border:1px solid #ff0000;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin-bottom: 15px;
}
section.warning  h3{
	color:white;
	background:#ff2828 url(/skins/admin/images/warning-small.png) no-repeat;
	background-position:5px 5px;
	padding:5px 5px 5px 30px;

}
section.warning  p {
	padding:5px;
}
/*--------------------- 3.1 Левая колонка --------------------*/

#left {
	float:left;
	width:300px;
}

aside {
	color:#333;
	padding: 0px;
	margin-bottom:0px;
}

aside.search{
	padding: 20px;
	margin-bottom:0px;
}

aside h3{
	color:#555;
	font-size:14px;
	padding:2px 5px 0 5px;	
	-webkit-border-radius: 5px 5px 0px 0px;
	-moz-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px;
	background:#F4F4F4;
	background-position: 240px 5px;
}


aside h3.info {
	background:#deecff url(/skins/admin/images/info-small.png) no-repeat;
	background-position: 240px 5px;
}

aside h3.attention {
	background: #FEF592 url(/skins/admin/images/attention-small.png) no-repeat;
	background-position: 240px 5px;
}

aside #guide, aside#new_version p{
	padding:15px;
}

aside #guide p {
	padding-bottom:4px;
}

label {
	font: 11px Tahoma,sans-serif;
	color: #777;
	font-weight: bold;
	margin: 0 0 3px 2px;
	display: block;
}

/*--------------------- 3.2 Правая колонка --------------------*/

.breadcrumb {
	top:-9px;
	position:relative;
	margin-left: 20px;
}

article h1 {
	color:#444;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font-family: Tahoma;
	font-weight: normal;
	background: #F4F4F4;
	padding: 1px 10px;
	margin-bottom: 15px;
	font-size: 21px;
}

article h2 {
	color: #902452;
	font-size: 18px;
}

.statistics, .main {
	padding-right:15px;
}

.left {
	float:left;
}

div ul li{
	margin-left:15px;
	list-style:none;
}

.main table td.child{
	padding-left:30px;	
}

.statistics table td , .main table td{
	border: 1px solid #EEE;
	padding: 5px 10px;
}

.main table td img{
	vertical-align: middle;
}

.manage ul {
	list-style:none;
}

.manage ul li {
	display:inline;
	vertical-align: top;
	margin: 0 20px 20px 0;
}

.manage ul li a img {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: inset 0 0 15px #F4F4F4;
	-moz-box-shadow: inset 0 0 15px #F4F4F4;
	box-shadow: inset 0 0 15px #F4F4F4;
	padding: 5px;
	border: 1px solid #F1F1F1;
}

.manage ul li a img:hover{
	border:1px solid #aaa
}

.filemanager {
	margin-bottom:15px;
}

.filemanager a {
	display:block;
}

.user-search {
	float:right;
}

#user_groups ul{
    padding-left:20px;
}

#user_groups li{
    list-style:none;
}

#user_groups li.user, #user_groups li.super, #user_groups li.system, #user_groups li.unregistered, #user_groups li.registered{
  padding-left:24px;
  background:0 5px no-repeat;
}

#user_groups li.user{
    background-image:url("/skins/default/images/icons/user_small.png");
}

#user_groups li.super{
    background-image:url("/skins/default/images/icons/superadmin_small.png");
}

#user_groups li.system{
    background-image:url("/skins/default/images/icons/user_small.png");
}

#user_groups li.unregistered{
   background-image:url("/skins/default/images/icons/unregistered16.png");
}

#user_groups li.registered{
   background-image:url("/skins/default/images/icons/registered16.png");
}

#basic-accordian {
	min-width:600px;
}

.accordion_headings {
	color: #444;
	padding:5px 5px 5px 10px;
	margin-bottom:5px;
	text-transform:capitalize;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border: solid #CCCCCC 1px;
	border-radius: 5px;
	font-family: Tahoma;
	font-weight: normal;
	background: #F4F4F4;
	cursor:pointer;
}

.accordion_headings:hover {
	background: #E5E5E5;
}

.header_highlight {
	background: #E5E5E5;
}

.header_highlight:hover {
	background: #E1E1E1;
}

.accordion_child {
	padding: 15px;
	width: 100%;
}

table.accordion_child td {
	padding:0;
	border:0;
}

.accordion_child .lRow {
	vertical-align: middle;
	font-family: Arial, Helvetica Neue, sans-serif;
	border-bottom: 1px dashed;
}

.accordion_child .rRow {
	vertical-align: middle;
	width:150px;
	border-bottom: 1px dashed;
}

.accordion_child .small{
    display:block;
    font-size:80%;
   	font-family:'PT Sans Caption', Arial, Helvetica Neue, sans-serif;
}

.accordion_child .rRow input{
	width:90%;
}

/*--------------------- 4. Футер --------------------*/

footer {
	float:left;
	background: -webkit-gradient(linear,0 0,0 bottom,from(#2C2C2C),to(#222));
	background: -moz-linear-gradient(#2C2C2C,#222);
	background: linear-gradient(#2C2C2C,#222);
	color: #CCC;
	font-size: 11px;
	background: #2C2C2C;
	margin-top:20px;
	padding-bottom:20px;
	width: 100%;
}

footer .current {
	background:none;
}

#f-left {
	float:left;
	padding:20px 20px 0 20px;
}

#f-left ul li{
	display:inline;
	padding-left:5px;	
}

#f-left ul li a{
	color:#FFF;
	font-weight:normal;
}

#f-left ul li a:hover{
	color:#cb6400;
}

#f-left p{
	text-shadow:none;
	color: #999999;
	padding:15px 0 0 5px;
}

#f-right {
	float:right;
	padding:20px 20px 0 20px
}

#logo-bottom {
	text-shadow: 0 0px 1px #AAA;
	font-size:15px;
	color: #AAA;
	font-weight:normal;
}

a#logo-bottom:hover{
	color:#ccc;
	font-weight:normal;
}

#logo-bottom span {
	font-family: Arial, Helvetica Neue, sans-serif;
	font-weight:bold;
	color:#EEE;
}

a#gpl {
	color:#FFF;
	display:block;
	direction:rtl;
	font-weight:normal;
}

a#gpl:hover{
	color:#ccc
}

.icon {
  vertical-align: -16%;
}