/*------------------------------------------------------------------------------
===================
f!uXish CSS Styles
===================

Author: flux

[Admin]

stylesheets list:

reset:          Mayer's reset css: reset browser base settings

layout:         template and layout
common:         common rules

typography:     text blocks style
colors:         elements colors

forms:          input, textareas and others form elements
globals:        global elements

plugins list:

960:            960.gs grid layout
960_fluid:      960.gs fluid grid layout

extras:         site specific element
utils:          useful css classes
messages:       formats error, warning, notice and succeess messages
ie:             useful hacks for IE Browsers
-------------------------------------------------------------------------------*/

/* reset browsers style settings */
@import url('plugins/reset/reset.css');

/* template layout */
@import url('layout.css');

/* fonts and colors settings */
@import url('typography.css');
@import url('colors.css');

/* imports common style ruleset */
@import url('forms.css');
@import url('common.css');
@import url('globals.css');


/* Plugins */

    /* 960.gs grid layout*/
    @import url('plugins/960/960.css');
    
    @import url('plugins/extras/extras.css');
    @import url('plugins/utils/utils.css');
    @import url('plugins/messages/messages.css');
    @import url('plugins/ie/ie.css');
    


/* ===== VARIOUS ===== */
.buttonbar input {
	padding: .3em;
	background: #bdbdbd url(../imgs/buttonsh.png) repeat-x top center;
}
.buttonbar input:hover {
	padding: .3em;
	background: #d3d3d3 url(../imgs/buttonsh2.png) repeat-x top center;
}

/* ===== LINKS GENERAL ===== */

#admin-content a:link, #admin-content a:visited {
    color: #666666;
	border-bottom: 1px dotted #666666;
}


/* ===== HEADERS TAGS AND PARAGRAPH ===== */

h1{
    padding-top: 30px;
    letter-spacing: 0.2em;
}

h2 {
    margin-bottom: 10px;
	border-bottom: 1px solid #ddd;
}

#admin-content p{
    font-size: 82.5%;
    line-height: 1.2em;
    margin: 0.5em 0;
}


/* DIV CONTAINER ALL ADMIN DIV BLOCK */
#cpmain { padding: 10px }



/* ===== SMALL NAVBAR (home and logout links) ===== */
ul#admin-small-nav {
	font-size: 72.5%;
	float: right;
	list-style-type: none
}

ul#admin-small-nav li { 
    display: inline; 
    margin: 5px 
}

ul#admin-small-nav li a { 
    outline: none;
}



/* ===== TAB MENU ===== */
ul#admin-tabmenu {
	text-align: center;
	margin: 1em;
	padding: .5em;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb
}

ul#admin-tabmenu li {
	display: inline;
	font-weight: normal;
	text-decoration: none
}

ul#admin-tabmenu li a {
	line-height: 2em;
	font-weight: normal;
	text-decoration: none;
    padding: 0.5em;
    margin: 0.2em;
	outline: none;
	
	color: #222;
	background-color: #fff;
}

ul#admin-tabmenu li a:hover {
	color: black;
	font-weight: normal;
	background-color: #ddd
}

ul#admin-tabmenu a#admin-tab-current {
	font-weight: bold;
	background-color: #d0e86f
}


/* ===== submenu ====== */

#admin-submenu {
	/*background: #eee; */
	border-bottom: 1px solid #ddd; 
	text-align:center;
	padding: .5em .3em .5em;
	margin-top: 10px;
}

#admin-submenu li {
	display:inline; 
	font-size: 92.5%;
	margin: 14px 1px;
}

#admin-submenu li a {
	padding: .5em 2em .6em;
	color: #000;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;  
	font-weight: normal;
	outline: none;
}

#admin-submenu li a:hover {
	padding: .5em 2em .6em; 
	background: #fff;
	border-bottom: 1px solid #fff;
	border-top: 3px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;  
	text-decoration:none;
}

#admin-submenu li a.active {
	color: #000;
	font-weight: bold;
	border-top: 3px solid #666;
	padding: .5em 2em .6em;
	border-left: 1px solid #bbb;
	border-right: 1px solid #bbb;
}



/* ===== MAIN MENU ITEM ===== */
#admin-content { padding: 1em }

.admin-mainmenu-item {
	display: block;
	margin-top: 30px;
	margin-left: 30px;
	padding: 1em;
	clear: both;
}

.admin-mainmenu-item img { padding-right: 1em }

.admin-mainmenu-item .admin-icon-descr {
	font-size: 80%;
	font-style: italic
}



/* ===== ADMIN ENTRY ===== */

input#subject {
	width: 100%;
	font-size: 1.3em;
	color: #333333;
	font-weight: bold;
}

textarea{
    width: 100%;
    font-size: 1.2em;
}

textarea .code {
	font-family: Lucida Console, Monaco, monospace;
}

#admin-entry-categories ul {
	display:block;
	list-style-type: none;
	/*margin-right: 10px;*/
	padding-left: 1em;
	font-size: 12px;
}

#admin-bbcode-toolbar p { display: inline }

#admin-bbcode-toolbar select { width: 10em; }

#admin-content fieldset {
    width: 98.5%;
/*    padding-right: 1em;*/
}


/* ===== ADMIN TABLE ===== */

table { 
    width: 100%;
    border-collapse: collapse;
}

#admin-content table a:link, #admin-content table a:visited {
	border-bottom: none;
}

#admin-content table a:hover {
	border-bottom: none;
}

#admin-content .enabled td {
	background: #ddffdd;
} 

#admin-content td.main_cell {
	width: 30%;
	text-align: left;
	font-weight: bold
}

#admin-content th {
	font-size: 0.75em;
	font-style: italic;
	text-align: left;
	border-bottom: solid 2px black;
	padding: 4px;
}

/* ===== ADMIN INPUTS & OTHERS ===== */

input.maxsize, select.maxsize { width: 100% }

#admin-bbcode-toolbar {
	/*padding-right: 0.7%;*/
	border: none;
}

#admin-bbcode-toolbar legend { display: none }

#admin-content ul { margin-left: 2em }


#admin-entry-uploader iframe {
	border: none;
	width: 99%;
	margin: auto;
	height: 11em;
}

#plugin-table-body td {
	padding: 1em .6em;
}

#admin-drafts {
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	padding: 0.5em !important /* ie6 hack */;
	padding: 0.5em 0.5em 1.5em 0.5em;
	color: #555;
	background-color: #ddd;
	overflow: auto;
}

#admin-drafts p {
	font-weight: bold;
	float: left;
	padding: 0;
	margin: 0;
}

#admin-content #admin-drafts ul {
	margin: 0; padding: 0;
}

#admin-drafts li {
	float:left;
	list-style-position: inside;
	margin: 0; padding-left: 1em;
}


/* ===== PREVIEW SETTINGS ===== */

#post-preview { text-align: center; }
#post-preview .entry { 
    margin: 0 120px;
    padding: 2em;
    text-align: justify;
    border: 1px dashed #d3d3d3;
}

#post-preview h3{ color: #666666; }

#post-preview a:link, #post-preview a:visited {
	border-bottom: 1px dotted #666666;
}

#post-preview a:hover {
	border-bottom: 1px dotted #d3d3d3;
}

#post-preview ul { text-align: justify; font-size: 82.5%; line-height: 1.4em; }

#post-preview ol { text-align: justify; font-size: 82.5%; line-height: 1.4em; }

#post-preview p {
    margin-top: 1.2em;
    text-align: justify;
}



/* ===== UPLOAD PANEL ===== */
#admin-uploader-filelist {
	margin: 1em auto;
}

#admin-uploader-thumbs {
	list-style-type: none;
}

#admin-uploader-thumbs li.thumb {
	float:left;
	width: 110px;
	height: 110px;
	padding: 1em 4px;
	margin: 1em;
}


/* (applies only to the inline version */
#upload {
	margin-top: .5em
}


/* ===== THEME PANEL ===== */

#current-theme h5, 
#available-themes h5 {
	font-size: 1em;
	margin-bottom: 1em;
}

#current-theme {	
	margin-bottom: 4em;
	overflow:hidden;
}


#current-theme img { 
	float:left;
	border: 1px solid #ddd;
	margin-right: 2em;
}

#available-themes {
	clear: both;
}


#available-themes img {
	border: 1px solid #eee
}

#available-themes ul {
	list-style-type: none;
	margin: 0;
}

#available-themes ul li {
    margin-top: 10px;
	float: left;
	padding: 1em;
	border: 1px solid #fff;
	text-align: center;
	width: 45%;
}

#available-themes ul li:hover {
	background: #eee;
	border: 1px solid #ddd;
}

/* ===== WIDGET PANEL ====== */

#admin-widgetset-list {
	width: 30em;
}

#admin-widgetset-list ul {
	list-style-type: none;
	margin: 0;
	margin-bottom: 2em;
	text-align: left;
}

li.admin-widgetset {
	padding: .5em;
	margin-bottom: 2em;
	border: 1px solid #ddd;
}

#available-widgets {

	float:right;
	border: 2px dashed #ddd;
	background: #f5f5f5;
	padding: 1em;
	width: 30%;
	z-index: 1000;
	position: relative;
	text-align: left;
}

#widget-trashcan {
	background-color: #a22;
	color: #ddd;
	font-weight: bold;
	padding: 2em;
	text-align: center;
	border: 4px dashed #ddd;
	margin: 2em;
}

#available-widgets ul, .admin-widgetset ul {
	padding-left: 0;
	margin-left: 0;
}


li.widget-instance,
li.widget-class {
	cursor: move;
	border: 1px solid #bbb;
	margin: 2px;
	padding: .5em;
	height: 30px;
	background-color: white;
	list-style-type: none;
}


.admin-widgetset h3 {
	margin-bottom: 1em;
	padding: .3em;
	font-size: 1.5em;
	border: 1px solid #ddd;
	background: #b0d80f url(../imgs/header-back.jpg) repeat-x center top;
	color: #666;
}

#available-widgets h2 {
	cursor: move;
	color: white;
	margin-bottom: 1em;
	padding: .3em;
	border: 1px solid #ddd;
	background: #ddd;
	color: #666;
}

.widget-instance .textinput {
	padding: .4em;
	background: transparent;
	font-weight: bold;
	font-style: oblique;
	color: blue;
	border: #fff 2px solid;
	text-align: right;
}

.widget-instance .textinput:hover {
	border: #d0e86f 2px solid;
	background-color:#d0e86f;
}


.widget-instance .textinput:focus {
	font-style: normal;
	border: #d0e86f 2px solid;
	background-color:#d0e86f;
	text-align: left;
}


.widgetname a, 
.widgetname a:link,
.widgetname a:visited {
	color: #ddd;
}

.widget-placeholder {
	padding: .5em;
	font-style: oblique;
	text-align: center;
	border: 1px dashed #ddd;
}

.widget-dragger {
	text-align: left;
	z-index: 1000;
	padding: .5em;
	height: 30px !important;
}


/* ===== CONFIG PANEL ===== */

#admin-config dl {
	margin-bottom: 4em;
}

#admin-config dt {
    width: 33%;
    text-align:right;
    margin-top: 1.8em;
    line-height: 1.5em;
    font-weight: bold;
}

#admin-config dt label {
	padding-top: .2em;
}

#admin-config dd {
    margin-left: 35%;
    margin-top: -1.7em;
    line-height: 1.5em;
}


#admin-config dd p {
    margin: 0;
}


#admin-config dd input{
	margin-bottom: .2em;
}

.textinput, .bigtextinput, .smalltextinput {
	padding: .5em;
}

.textinput:focus, .bigtextinput:focus, .smalltextinput:focus {
	font-weight: bold;
}

#admin-config input.textinput ,
#admin-config select.textinput {
	width: 20em;
}


#admin-config input.bigtextinput {
	width: 30em;
}


#admin-config input.smalltextinput {
	width: 5em;
}

/* ===== SPECIAL HOVERS ====== */
a.link-disable, 
a.link-delete, 
a.link-enable,
a.link-general {
	padding: .5em;
}

#admin-content td.main-cell a.link-general {display:block}

#admin-content a.link-disable:hover, #admin-content a.link-delete:hover {
	background-color: #ff6a6a;
	color: white;
}
#admin-content a.link-enable:hover {
	background-color: #bcee68;
	color: #666666;
}

#admin-content a.link-general:hover, #admin-content .main-cell a:hover {
	background-color: #dddddd;
	color: #666666;
}




/* ===== NOTIFICATIONS ===== */
.draft { background-color: lightgrey }

/* (already defined in common, here we put just some tuning settings) */
#admin-content ul.msgs {
	margin-left: 0em;
	margin-bottom: 2em;
	padding: 1em 2em
}
