/*
# -- BEGIN LICENSE BLOCK ---------------------------------------
#
# This file is part of Dotclear 2.
#
# Copyright (c) 2003-2010 Olivier Meunier & Association Dotclear
# Licensed under the GPL version 2.0 license.
# See LICENSE file or
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK -----------------------------------------
*/
body {
	font: 62.5%/1.5em "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;
	color : #000;
	background : #fff;
	margin : 0;
	padding : 0;
}
body.auth {
	background-image: none;
}

a img,:link img,:visited img { border:none }

a, a:link, a:visited {
	color : #06c;
	text-decoration : none;
	border-bottom : 1px dotted #f90;
}
a:hover, a:active, a:focus {
	
}

h1, h2, h3, h4, h5, h6, p {
	margin-top : 0;
	margin-bottom: 0.6em;
}

h2 {
	font-family : Arial,Helvetica,sans-serif;
	color : #069;
	font-size : 1.4em;
	padding: 4px 0;
}

h3 {
	font-family : Arial,Helvetica,sans-serif;
	color : #333;
	font-size : 1.2em;
}

p, div.p {
	margin : 0 0 1em 0;
}

hr {
	height : 1px;
	border-width : 1px 0 0 0;
	border-color : #999;
	border-style : solid;
}

pre, code {
	font: 100% "Andale Mono","Courier New",monospace;
}
pre {
	white-space: pre;
	white-space: -moz-pre-wrap;
	white-space: -hp-pre-wrap;
	white-space: -o-pre-wrap;
	white-space: -pre-wrap;
	white-space: pre-wrap;
	white-space: pre-line;
	word-wrap: break-word;
}


/* LAYOUT
-------------------------------------------------------- */
/* General font-size */
#top, #info-box, #main, #main-menu, #footer {
	font-size: 1.1em;
}

#top {
	margin : 0;
	padding : 0;
	background : transparent url(head-bg.png) repeat-x;
}
#top h1 {
	padding : 0;
	margin : 0;
	height : 58px;
	text-indent : -1000px;
	background : transparent url(head-logo.png) no-repeat 0 0;
}
#top h1 a {
	position: absolute;
	top: 3px;
	left: 0;
	width: 130px;
	height: 35px;
	border: none;
	outline: none;
}

#info-box {
	position : absolute;
	right : 10px;
	top : 3px;
	margin : 0;
	padding : 3px 3px 4px 15px;
	color: #fff;
}
#info-box div {
	margin: 0; padding: 0;
}
#info-box div div {
	display: inline;
}
#info-box>form>div {
	line-height: 18px;
}
#info-box select {
	width : 160px;
}
#info-box a.logout {
	font-weight : bold;
	color: #fff;
}

#wrapper {
	background: transparent url(page-bg.png) repeat-y top left;
	width: 100%;
}
#main {
	width : 100%;
	float : right;
	margin-left : -155px;
	margin-top : 0;
}

#content {
	margin-left : 155px;
	margin-bottom : 10px;
	padding-top : 1px;
	margin-right : 15px;
}

#main-menu {
	width : 135px;
	float : left;
	margin-top : 0;
	margin-bottom : 10px;
}
#main-menu h3 {
	margin : 0 0 0.5em 0;
	padding : 0 0 0 5px;
	text-transform: uppercase;
	color: #7e7d77;
}
#main-menu ul {
	margin : 0 0 1em 4px;
	padding : 0;
	list-style : none;
}
#main-menu li {
	display : block;
	margin : 0.5em 0 0 5px;
	padding : 2px 0 1px 20px;
	background-repeat: no-repeat;
	background-position: 0 0;
}
#main-menu a {
	font-weight : bold;
}
#main-menu .active a {
	border-bottom-style: solid;
}
#main-menu #dashboard-menu li {
	margin-left: 0;
}
#main-menu #menu-new-post a {
	padding : 2px;
	background: #7e7d77;
	color: #fff;
	border: 1px solid #7e7d77;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
#main-menu #menu-new-post a:hover, #main-menu #menu-new-post a:focus {
	background: #666;
}

#footer {
	clear : both;
	margin: 0;
	padding: 40px 0 0 0;
	background: #fff url(footer-bg.png) no-repeat top left;
}
#footer p * {
	vertical-align: bottom;
}
#footer p {
	margin: 0 15px 0 155px;;
	padding: 3px 0 20px 0;
	border-top: 1px solid #dedcd1;
	color: #93928a;
	text-align: right;
	font-size: 1.1em;
}

#debug {
	position: absolute;
	top: 0;
	width: 100%;
	height: 4px;
	background: #d99;
}
#debug div {
	display: none;
	padding: 3px 0.5em 2px;
}
#debug p {
	margin : 0.5em 0;
}
#debug:hover {
	height: auto;
}
#debug:hover div {
	display: block;
}

/* DASHBOARD */
#dashboard-main {
	float: left;
	overflow: hidden;
	padding-bottom: 1em;
	width: 66%;
}
#dashboard-main #icons {
	overflow: hidden;
	padding-bottom: 1em;
}
#dashboard-main #icons p {
	float: left;
	width: 32%;
	text-align: center;
	margin: 2em 0 0 0;
}
#dashboard-main #icons span {
	display: block;
}
#dashboard-main #icons a {
	border-bottom-width: 0;
}
#dashboard-main #icons span a {
	border-bottom-width: 1px;
}

#dashboard-main #quick {
	clear: left;
	margin-top: 2em;
}
#dashboard-main #quick h3 {
	margin-bottom: 0.2em;
	font-size: 1.4em;
}
#dashboard-main #quick p.qinfo {
	margin: -1em -1em 1em;
	padding: 1em;
	background: #ebeadd;
}

#dashboard-items {
	float: left;
	width: 31%;
	overflow: hidden;
	margin-left: 2%;
	padding-bottom: 1em;
	font-size: 1.2em;
}
#dashboard-items p img {
	vertical-align: middle;
}
#dashboard-items ul {
	display: block;
	padding-left: 1.5em;
	list-style: square;
}
#dashboard-items li {
	margin: 0.25em 0 0 0;
	color: #666;
}
#dashboard-items #news dt {
	font-weight: bold;
	margin: 0 0 0.4em 0;
}
#dashboard-items #news dd {
	font-size: 0.9em;
	margin: 0 0 1em 0;
}
#dashboard-items #news dd p {
	margin: 0.2em 0 0 0;
}
#upg-notify {
	font-size: 0.9em;
}
#upg-notify ul {
	padding-left: 15px;
}
#upg-notify li {
	color: #fff;
}

/* POST */
#entry-sidebar {
	width : 200px;
	float : right;
}
#entry-content {
	margin-right : 220px;
}
#comments {
	clear : both;
}

/* CATEGORIES */
#categories {
	margin: 1em 0 2em;
}
#categories ul {
	list-style: none;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}
#categories ul li {
	margin: 1em 0 0 0;
	padding: 5px 10px 1em 30px;
	border: 1px solid #ccc;
	background: transparent url(cat-bg.png) repeat-y top left;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
#categories ul li h4 {
	margin: 0;
}
#categories ul li h4 span {
	font-weight: normal;
}
#categories ul li p {
	margin: 0;
}
select#del_cat {
	width: 100%;
}

/* MEDIA */
#media-icon {
	float: left;
}
#media-details {
	margin-left: 70px;
}
#media-details ul {
	display: block;
	margin-left: 0;
	padding: 0;
}
#media-details li {
	list-style: square inside;
	margin: 0;
	padding: 0;
}
#media-original-image {
	overflow: auto;
}
#media-original-image.overheight {
	height: 500px;
}

#add-file-f {
	position: relative;
}
#add-file-f .more-file {
	position:absolute;
	right: 0.5em;
	background: #999;
	color: #fff;
	border: none;
}

/* Help */
#help {
	margin-top: 2em;
	background: #d6dde5;
}
#help-button {
	position: absolute;
	top: 50px;
	right: 0px;
	cursor: pointer;
	background: #06c;
	-moz-border-radius: 8px 0 0 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-bottom-left-radius: 8px;
}
.help-box {
	display: none;
}
.help-box ul {
	padding-left: 20px;
	margin-left: 0;
}
#content.with-help #help-button {
	right: 280px;
}
#content.with-help #help {
	display: block;
	position: absolute;
	top: 40px;
	right: 0;
	width: 280px;
	border-left: 1px solid #ccc;
	margin-top: 0;
	padding: 10px 0 0 0;
	overflow: auto;
}
#content.with-help .help-content {
	padding: 0 5px 1em 5px;
}

/* POPUP */
body.popup #wrapper {
	background-position : -130px 0;
}
body.popup #top h1 {
	background-position : -130px 0;
}
body.popup #main {
	margin-left : -35px;
}
body.popup #content {
	margin-left : 35px;
}
body.popup #footer {
	background-position: -130px 0;
}
body.popup #footer p {
	margin-left: 35px;
	border: none;
}

/* CLASSES
-------------------------------------------------------- */
a.button, a.back {
	padding : 2px;
	background: #e2dfca;
	border: 1px solid #e2dfca;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	cursor: pointer;
	outline: none;
}
a.button:hover, a.button:focus, a.back:hover, a.back:focus {
	border-color: #ccc;
}
h2 a.button {
	color: #333;
	font-weight: normal;
}
a.back:before {
	content: "\ab\a0";
}

.help-content dt {
	font-weight: bold;
	color: #666;
	margin: 0;
}
.help-content dd {
	margin: 0.3em 0 1.5em 0;
}

.clear {
	clear : both;
}
.lclear {
	clear : left;
}
div.clearer {
	height : 1px;
	font-size : 1px;
}

.hide {
	display : none;
}

.right {
	text-align : right;
}

.frame-shrink {
	border: 1px solid #666;
	padding: 0.5em;
	margin-bottom: 1em;
	height: 120px;
	overflow: auto;
}

.grid {
	background: transparent repeat url('grid.png') 0 0;
}

.line p {
	margin : 0;
}

div.error, p.error, div.message, p.message, div.static-msg, p.static-msg {
	padding: 0.5em 0.5em 0.5em 40px;
	margin-bottom: 1em;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}
p.error, p.message, p.static-msg {
	padding-top: 1em;
	padding-bottom: 1em;
}
div.error, p.error {
	background: #e5bfbf url(msg-error.png) no-repeat 5px 5px;
	color: #600;
}
div.message, p.message, div.static-msg, p.static-msg {
	background: #666 url(msg-std.png) no-repeat 5px 5px;
	color: #fff;
}
div.message a, p.message a, div.static-msg a, p.static-msg a {
	color: #fff;
}

.offline {
	color : #666;
}

ul.nice {
	margin: 1em 0;
	padding: 0 0 0 2em;
	list-style: square;
}
ul.nice li {
	margin:0;
	padding: 0;
}

.three-cols {
}
.three-cols .col {
	width : 32.3%;
	float : left;
	margin-left : 1%;
}
.three-cols .col:first-child {
	width : 33.3%;
	margin-left : 0;
}

.two-cols {
	position : static;
}
.two-cols .col {
	width : 49%;
	margin-left : 1%;
	float : left;
}
.two-cols .col:first-child {
	width : 50%;
	margin-left : 0;
}

.comment {
	border-top : 2px solid #ccc;
	margin-bottom : 1em;
	padding : 2em 0 1em 0;
	position : relative;
}
.comment form p {
	margin : 0;
	position : absolute;
	top : 2px;
	right : 0;
}


.part-tabs {
	float: left;
	width: 100%;
	background: transparent url(tab-bg.png) repeat-x bottom;
	margin-bottom: 2em;
}
.part-tabs ul {
	margin: 0;
	padding: 10px 10px 0;
	list-style: none;
}
.part-tabs li {
	float: left;
	background: transparent url(tab-n-l.png) no-repeat top left;
	margin: 0 3px 0 0;
	padding: 0 0 0 5px;
}
.part-tabs a {
	display: block;
	background: transparent url(tab-n-r.png) no-repeat top right;
	padding: 1px 10px 1px 5px;
	border: none;
	outline: none;
}
.part-tabs li.part-tabs-active {
	background-image: url(tab-c-l.png);
}
.part-tabs li.part-tabs-active a {
	background-image: url(tab-c-r.png);
	padding-bottom: 2px;
	font-weight : bold;
}
.part-tabs li.part-tabs-link {
	background-image: url(tab-l-l.png);
}
.part-tabs li.part-tabs-link a {
	background-image: url(tab-l-r.png);
}

/* Themes list */
#themes {
	border-bottom: 1px solid #ccc;
	margin: 1em 0;
}
#themes div.theme-details {
	clear: left;
	border-top: 1px solid #ccc;
	padding: 1em 0;
}
#themes div.theme-details:hover {
	background: #eee;
}
#themes div.theme-details div.theme-shot {
	float: left;
}
#themes div.theme-details div.theme-shot img {
	display: block;
	width: 57px;
	height: 50px;
	border: 1px solid #ccc;
}
#themes div.theme-details div.theme-info {
	margin-left: 67px;
}
#themes div.theme-details div.theme-info span.theme-desc {
	display: block;
}
#themes div.theme-details div.theme-info span.theme-version {
	color: #666;
}
#themes div.theme-details div.theme-actions {
	margin-left: 67px;
}
/* Themes list, JS version */
#themes-wrapper {
}
#theme-box {
	border: 1px solid #999;
	border-left: none;
	padding: 5px;
	float: right;
	height: 400px;
	width: 300px;
	overflow: auto;
}
#theme-box div.theme-shot img {
	display: block;
	margin: 0 0 0 10px;
	width: 280px;
	height: 245px;
	border: 1px solid #ccc;
}
#theme-box div.theme-info {
	margin: 1em 0 0 10px;
}
#theme-box h3 {
	margin: 0;
}
#theme-box div.theme-info span {
	display: block;
}
#theme-box span.theme-version {
	color: #666;
}
#theme-box span.theme-parent-ok {
	color: #666;
}
#theme-box span.theme-parent-missing {
	color: #c00;
	font-weight:bold;
}
#theme-box div.theme-actions {
	margin-left: 10px;
}
#themes-wrapper #themes {
	border: 1px solid #999;
	overflow: auto;
	height: 400px;
	padding: 5px;
	margin: 0;
}
#themes div.theme-details-js {
	float: left;
	width: 120px;
	height: 150px;
	margin: 0 10px 20px;
	padding: 10px 10px 0;
	text-align: center;
	background: #f3f3f3;
	border: 1px solid #f3f3f3;
	cursor: pointer;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
#themes div.theme-details-js label {
	cursor: pointer;
}
#themes div.theme-details-js.theme-selected {
	background: #ebe9dd;
	border: 1px solid #999;
}
#themes div.theme-details-js div.theme-shot img {
	width: 120px;
	height: 105px;
	border: 1px solid #fff;
}
#themes div.theme-details-js h3 {
	font-size: 90%;
	font-family: inherit;
	font-weight: normal;
	margin: 0;
	padding: 0;
}

/* Plugins list */
#plugins td.action {
	vertical-align: middle;
}
#plugins td form input.activate, table.plugins form input.delete {
	padding: 1px;
	background: none;
	font-weight: normal;
	border-color: #f90;
}
#plugins td form input.delete {
	font-weight: bold;
	color: #c00;
}

.media-list {
	position : static;
}
.media-col-0 {
	clear: left;
}
.media-item {
	position: relative;
	border-top: 1px solid #ccc;
	margin-bottom: 1em;
	padding: 5px 0;
}
div.media-list .media-item {
	width: 49%;
	float: left;
	margin-right: 1%;
}
a.media-icon {
	display: block;
	border-bottom: none;
	float: left;
}
.media-icon img {
	display: block;
}
.media-item ul {
	display: block;
	list-style: none;
	margin: 0 0 0 60px;
	padding: 0;
}
li.media-action {
	display: block;
	position: absolute;
	top: 5px;
	right: 5px;
	height: 16px;
}
li.media-action a {
	border: none;
}
li.media-action form {
	display: inline;
}
li.media-action input {
	border: none;
}

.zip-dl {
	background: transparent url(package.png) no-repeat 0 50%;
	padding: 5px 0 5px 20px;
}

select.l10n option {
	padding-left: 16px;
}
option.avail10n {
	background: transparent url(../images/check-on.png) no-repeat 0 50%;
}

/* TABLES
-------------------------------------------------------- */
table {
	font-size : 1em;
	border-collapse : collapse;
	margin : 0 0 1em 0;
}
tr.line:hover {
	background : #ddd;
}
th, td {
	border-width : 0 0 1px 0;
	border-style : solid;
	border-color : #ccc;
	padding : 3px 5px;
	vertical-align : top;
}
th {
	text-align : left;
	border-bottom-color : #666;
}

.noborder td, td.noborder, .noborder th, th.noborder {
	border-width : 0;
}

table .maximal, table.maximal {
	width : 100%;
}
table .minimal {
	width : 1px;
}

table .nowrap {
	white-space : nowrap;
}

td.status {
	vertical-align: middle;
}
td.status img {
	margin-bottom: -2px;
}
td.status a {
	border: none;
}

tr.line img.expand {
	margin-right: 10px;
	margin-bottom: -2px;
}
tr.line input {
	vertical-align: top;
}
tr.expand td {
	border-bottom: none;
}
td.expand {
	padding: 1em;
}

.dragable {
	border-collapse: separate;
}
.dragable tbody td {
	
}
.handle {
	padding : 0;
}
.handler {
	cursor : move;
	background : transparent url(drag.png) no-repeat 0 50%;
	padding-left : 15px;
}

/* FORMS
-------------------------------------------------------- */
form {
	display : block;
	margin : 0;
	padding : 0;
}

fieldset {
	display : block;
	margin : 0 0 1em 0;
	padding : 1em 0.5em;
	border-width : 1px 0;
	border-style: solid;
	border-color: #ccc;
	background: #fbfbfb;
}
legend {
	font-weight : bold;
	padding: 0.2em 0.6em;
	border-width: 1px;
	border-style: solid;
	border-color: #ccc;
	background: #fbfbfb;
	margin-bottom: 0.5em;
}
optgroup {
	font-weight : bold;
	font-style : normal;
}
option {
	font-weight : normal;
}

input, textarea, select {
	background : #f9f9f9;
	color : #000;
	border-width : 1px;
	border-style : solid;
	border-color : #000 #ccc #ccc #000;
}
input, textarea, select, option {
	font: 1em "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;
}
input[type=text], input[type=password], textarea {
	padding : 2px 0;
}
input[type=checkbox], input[type=radio] {
	border: none;
}
textarea {
	padding : 2px 0;
}
/*input[type=text]:focus, input[type=password]:focus, textarea:focus, option {
	background : #dfdcc7;
} can't select text with opera */
input[type=submit], input[type=reset], input[type=button], input.submit {
	padding : 2px 2px;
	background: #e2dfca;
	border: 1px solid #e2dfca;
	color: #333;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	cursor: pointer;
}
input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover, input.submit:hover {
	border-color: #ccc;
	color: #06c;
}

input[type=submit], input.submit {
	font-weight : bold;
}

input[type=checkbox], input[type=radio] {
	margin : 0;
	padding : 0;
	background : transparent;
}

label {
	display : block;
}
label input, label select, label span {
	display : block;
}
p.form-note {
	margin-top : -1em;
	color : #f60;
}

label.classic {
	display : inline;
}
label.classic input, label span input, label.classic select, label span select {
	display : inline;
}

label.area, p.area {
	width: inherit !important;
}
.area textarea {
	display : block;
	width : 100%;
}

label.required {
	font-weight : bold;
}
label.required:before {
	content : '* ';
	color : #c00;
}

p.field {
	position: relative;
	
}
p.field label {
	display: block;
	width: 14em;
}
p.field input, p.field select {
	display: inline;
	position: absolute;
	left: 15em;
	top: 0;
}

label .maximal, textarea.maximal, input.maximal {
	width : 100%;
}

a.form-control {
	display : none;
	font-weight: bold;
	background: url(magnifier.png) no-repeat 0 0;
	color: green;
	padding-left: 20px;
}

fieldset.constrained {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
}

#login-screen {
	display: block;
	width : 180px;
	margin : 30px auto 0;
	font-size: 1.1em;
}
#login-screen h1 {
	text-indent: -2000px;
	background: transparent url(dotclear-logo.png) no-repeat top left;
	height: 46px;
}
#login-screen fieldset {
	border: 1px solid #999;
	padding: 1em 10px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
#login-screen input[type=text], #login-screen input[type=password] {
	width: 100%;
}