/*
# -- BEGIN LICENSE BLOCK ---------------------------------------
#
# This file is part of Dotclear 2.
#
# Copyright (c) 2003-2013 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 -----------------------------------------
*/

/* ------------------------------------------------------------------ html */
html {
	font-size: 62.5%;
}
body {
	font: 1.2rem/1.5 Arial,Helvetica,sans-serif;
	color: #333;
	background: #fff;
	margin: 0;
	padding: 0;
}

a, a:link, a:visited {
	color: #2373A8;
	text-decoration: none;
	border-bottom: 1px dotted #f90;
}
a:hover, a:active, a:focus {
	text-decoration: underline;
}
a img, a:link img, a:visited img { 
	border:none;
}

h1, h2, h3, .as_h3, h4, h5, h6, p {
	margin-top: 0;
	margin-bottom: 1rem;
}
h2 {
	color: #666;
	font-size: 1.8rem;
	padding: 0 0 1.8rem;
	font-weight: normal;
}
h2 a:link, h2 a:visited {
	color: #666;
	border-color: #000;
}
.page-title {
	color: #d30e60;
}
.page-title img {
	padding-left: .6rem;
	vertical-align: middle;
}
#content > h2 {
	padding: 0 1.8rem .6rem;
	margin: 0 -1.8rem 1rem;
	background: #fff url(bg_h2.png) repeat-x center bottom;
}
h3, .as_h3 {
	color: #575859;
	font-size: 1.4rem;
}
h4 {
	font-size: 1.1em;
	color: #575859;
}
h5 {
	font-size: 1em;
	color: #575859;
}
#entry-sidebar h5 {
	font-weight: normal;
	color: #333;
}
.entry-status label img {
	padding-left: .4rem;
	vertical-align: text-top;
}
p, div.p {
	margin: 0 0 1em 0;
}
hr {
	height: 1px;
	border-width: 1px 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;
}
abbr {
	cursor: help;
}

/* LAYOUT
-------------------------------------------------------- */
/* header */
#header {
	background: #575859;
	position: relative;
	border-bottom: 4px solid #A2CBE9;
	width: 100%;
}
#prelude {
	line-height: 1.9;
	margin: 0;
	padding: 0;
	overflow: hidden;
	position: absolute;
	top: 3em;
	left: 0;
	background: #A2CBE9;
	width: 14.5em;
	}
#prelude li {
	list-style-type: none;
	margin: 0;
	background:transparent;
}
#prelude li a {
	padding-left: 1.6rem;
	background: #A2CBE9;
	color: #000;
	border-bottom-color: #A2CBE9;
}
#top {
	margin: 0;
	padding: 0;
	width: 14.5em;
	float: left;
}
#top h1 {
	padding: 0;
	margin: 0;
	height: 3.6rem;
	text-indent: -1000px;
}
#top h1 a {
	position: absolute;
	top: 0;
	left: 0;
	width: 17.4rem;
	height: 3.6rem;
	border: none;
	color: #fff;
}
#top h1 a:link {
	background: transparent url(dc_logos/b-dotclear120.png) no-repeat 0 6px;
}
#top h1 a:hover, #top h1 a:focus {
	background: transparent url(dc_logos/b-dotclear120.png) no-repeat 0 -94px;	
}
#info-boxes {
	font-size: 1em;
	line-height: 3em;
}
#info-box1 {
	margin: 0;
	padding: 0 3px 0 1.8rem;
	color: #fff;
	display: inline-block;
}
#info-box2 {
	margin: 0;
	padding: 0 1.3em 0 0;
	color: #fff;
	float: right;
	text-align: right;
}
#info-box1 p {
	margin: 0;
	display: inline;
}
#info-box1 select {
	width: 14.5em;
}
#info-box1 a img, #info-box2 a img {
	vertical-align: middle;
	padding-left: .3em;
	}
#info-boxes a {
	font-weight: bold;
	color: #fff;
	border-bottom-color: #ccc;
	margin-left: .3em;
	margin-right: .3em;
	white-space: nowrap;
	font-weight: normal;
}
#info-box1 a {
	margin-left: 1.33em;
}
#info-box2 a.active {
	border-bottom-color: #fff;
	margin: 0;
	padding: 1.2em .5em;
	background-color: #fff;
	color: #333;
	font-weight: bold;
}
#info-box2 span {
	color: #999;
}
/* main blocks */
#wrapper {
	width: 100%;
}
#main {
	width: 100%;
	float: right;
	margin-left: -14.5em;
	margin-top: 0;
	background: #fff url(bg_menu.png);
}
#content {
	margin: 0 0 0 14.5em;
	padding: .9rem 1.8rem 1.8rem;
	background: #fff;
}
	/* Micro clearfix thx to Nicolas Gallagher */
	#content:before, #content:after {content:"";display:table;}
	#content:after {clear:both;}
/* -------------------------------------------------- layout - multipart */
.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: 47%;
	margin-left: 2%;
	float: left;
}
.two-cols .col70{
	width: 68%;
	margin-left: 0;
	float: left;
}
.col30 {
	width: 28%;
	margin-left: 2%;
	float: left;
}
.two-cols .col:first-child,
.two-cols .col30.first-col {
	margin-left: 0;
	margin-right: 2%;
}
.two-cols .col:last-child,
.two-cols .col70.last-col {
	margin-left: 2%;
	margin-right: 0;
}
/* -------------------------------------------------------------- layout - onglets */
.part-tabs ul {
	padding: .5em 0 .3em 1.2rem;
	border-bottom: 1px solid #ddd;
}
.part-tabs li {
	list-style: none;
	margin: 0;
	display: inline;
}
.part-tabs li a {
	padding: .5em 2em;
	margin-right: -1px;
	border: 1px solid #aaa;
	border-bottom: none;
	text-decoration: none;
	color: #333;
	background-color:#E4E0EC;
}
.part-tabs li a:hover, .part-tabs li a:focus {
	color: #000;
	background: #fff;
	border-bottom-color: #fff;
}
.part-tabs li.part-tabs-active a {
	background: #fff;
	font-weight: bold;
	border-bottom-color: #fff;
	padding-bottom: .7rem;
}
/* ------------------------------------------------------------------ main-menu */
#main-menu {
	width: 14.5em;
	float: left;
	margin:0;
	padding-top: 4.5em;
	padding-bottom: 1em;
	background: #f7f7f7;
}
#main-menu h3 {
	margin: 0;
	padding: 1.2rem 0 1rem 2.2rem;
	text-indent: -1.6rem;
	color: #666;
	font-size: 1.4rem;
}
#main-menu h3 img[alt="cacher"] {
	vertical-align: top;
}
#main-menu ul {
	margin: 0 0 1.8rem 0;
	padding: 0;
	list-style: none;
}
#main-menu li {
	display: block;
	margin: 0.5em 0 0;
	padding: .3rem 0 0 30px;
	background-repeat: no-repeat;
	background-position: 8px .3em;
}
#main-menu li.active {
	background-color: #fff;
}
#main-menu a {
	color: #333;
	border-bottom-color: #ccc;
}
#main-menu .active a {
	border-bottom: none;
	color: #d30e60;
}
#main-menu .active {
	font-weight: bolder;
}
#search-menu {
	padding: .3rem .4rem 0;
	font-size: 100%
}
#search-menu p {
	display: inline-block;
	border: 1px solid #999;
	border-radius: .6em;
	position: relative;
	height: 2rem;
	overflow: hidden;
}
#search-menu #q {
	width: 12rem;
	border-bottom-left-radius: .6em;
	border-top-left-radius: .6em;
	background: transparent url(search.png) no-repeat 4px center;
	text-indent: 18px;
	height: 2rem;
	padding: 0 2px; 
	border: none;
}
#search-menu input[type="submit"] {
	padding: 0 0.3rem;
	background: #dfdfdf;
	border-color: #999;
	color: #444;
	border-bottom-right-radius: .6em;
	border-top-right-radius: .6em;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	text-shadow: none;
	height: 2rem;
	border: none;
	border-left: 1px solid #aaa;
	font-size: 1rem;
}
#search-menu input[type="submit"]:hover,
#search-menu input[type="submit"]:focus {
	background: #575859;
	color: #fff;
}
#favorites-menu, #blog-menu, #system-menu, #plugins-menu {
	border-bottom: 1px dashed #A2CBE9;
}
#favorites-menu h3 {
	color: #000;
	font-variant: small-caps;
	padding-top: .6rem;
}
/* ------------------------------------------------------------------ footer */
#footer {
	clear: both;
	padding: .6rem 1.2rem .6rem 0;
	text-align: right;
	border-top: .1rem solid #ccc;
}
#footer p {
	margin: 0;
	padding: 0 1em;
	font-size: 1em;
}
#footer p span.credit {
	font-size: 1rem;
	font-weight: normal;
}
/* ---------------------------------------------------------------------------- auth.php */
#login-screen {
	display: block;
	width: 18em;
	margin: 1.5em auto 0;
	font-size: 1.4rem;
}
#login-screen h1 {
	text-indent: -2000px;
	background: transparent url(dc_logos/w-dotclear240.png) no-repeat top left;
	height: 66px;
	margin-bottom: .5em;
	margin-left: 0;
}
#login-screen fieldset, #login-screen .fieldset {
	border: 1px solid #A8DC26;
	padding: 1em 1em 0 1em;
	border-radius: 4px;
	background: #fff;
}
#login-screen legend {
	border: 1px solid #A8DC26;
}
#login-screen input[type=text], #login-screen input[type=password], #login-screen input[type=submit] {
	width: 100%;
}
#login-screen #issue {
	margin-left: 1.5rem;
	font-size: 1.2rem;
}
#login-screen #issue strong {font-weight: normal;}


/* ------------------------------------------------------------------ dashboard */
#dashboard-main {
	padding: 1em 0;
}
#icons {
	overflow: hidden;
	padding-bottom: 1em;
	text-align: center;
}
#icons p {
	width: 210px;
	text-align: center;
	margin: 1em 0 2em;
	padding: 1em 0;
	display:inline-block;
	vertical-align: top;
}
#icons a,
#icons a:link,
#icons a:visited,
#icons a:hover,
#icons a:focus {
	border-bottom-width: 0px;
	text-decoration: none;
}
#icons a span {
	border-bottom: 1px dotted #f90;
	color: #333;
}
#icons a img {
	padding: 2em;
	background: #eee;
	border-radius: 1.6rem;
	box-shadow: 0 3px 3px 0 #ccc;
	margin-bottom: .6rem;
}
#icons a img:hover, #icons a:focus img {
	background-color: #BBDB58;
}
#icons a:focus span, #icons a:hover span {
	text-decoration: underline;
}
#quick {
	margin-top: 2em;
}
#quick h3 {
	margin-bottom: 0.2em;
	font-size: 1.2em;
}
#quick p.qinfo {
	margin: -.7em -1em 1em;
	background: #eef url(info.png) no-repeat .2em .2em;
	border: 1px solid #99f;
	padding: .2em 1em .1em 24px;
	color: #666;
}
#dashboard-items {
	margin: 3em auto;
	display: table;
	width: 100%;
	border-collapse: collapse;
}
.db-item {
	display: table-cell;
	padding: 1em 3em;
	vertical-align: top;
	border: 1px solid #ccc;
}
#dashboard-items 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;
}
#news dt {
	font-weight: bold;
	margin: 0 0 0.4em 0;
}
#news dd {
	margin: 0 0 1em 0;
}
#news dd p {
	margin: 0.2em 0 0 0;
}

/* ------------------------------------------------------------------ post */
#entry-wrapper {
	float: left;
	width: 100%;
	margin-right: -18em;
}
#entry-content {
	margin-right: 19em;
	margin-left: 0;
}
.multi-part {
	padding-left: 1.2rem;
}
#entry-content label {
	text-transform: uppercase;
	font-weight: bold;
	margin-top: 2em;
}
#entry-sidebar {
	width: 17em;
	float: right;
}
#entry-sidebar input[type="text"],
#entry-sidebar select {
	width: 14em; /* to prevent inline with label */
}
.box {
	border-bottom: 1px solid #ddd;
	margin-bottom: 1em;
}
#comments {
	clear: both;
}
/* ------------------------------------------------------------------ categories */
#categories {
	margin: 1em 0 2em;
}
#categories ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#categories li {
	margin: .5em 0;
	padding: .3em 1.5em;
	border: 1px solid #ccc;
	border-left: 1em solid #E5E3DA;
	border-radius: .3em;
}
#categories h4 {
	margin: 0;
}
#categories h4 span {
	font-weight: normal;
}
#categories li p {
	margin: 0;
}
select#del_cat {
	width: 100%;
}
/* ------------------------------------------------------------------ media */
#media-icon {
	float: left;
}
#media-details {
}
.near-icon {
	margin-left: 70px;
	margin-bottom: 3em;
}
#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;
}
.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;
}
/* ------------------------------------------------------------------ preferences */
#my-favs ul {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
	line-height: 1.2;
}
#my-favs li {
	display: block;
	float: left;
	width: 164px;
	margin-top: 1em;
	margin-bottom: 1.5em;
}
#my-favs label {height: 2.5em;width:140px;margin-top:.3em;}
#my-favs label input {display:inline;}
#my-favs img {
	display: block;
}
#my-favs input.position {
	margin: 0 0 .4em .2em;
}
#available-favs input, #available-favs label, #available-favs label span {
	white-space: normal;
	display: inline;
}
#default-favs h3 {
	margin-top: 2em;
	margin-bottom: 1em;
}
.fav-list {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
}
.fav-list li {
	line-height: 2;
	margin-left: 0;
	padding-left: 0;
	position: relative;
}
.fav-list img {
	vertical-align: middle;
	margin-right: .2em;
}
#available-favs label span.zoom {
	display: none;
}
#available-favs li:hover label span.zoom {
	display: block;
	position: absolute;
	bottom: 0;
	left: 10em;
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	padding: .2em;
	border-radius: .5em;
}
/* -------------------------------------------------------------------- Themes */
#themes {
	margin: 0;
	width: 100%;
	padding: 0;
}
#themes h3 {
}
#themes div.theme-details {
	border-top: 1px solid #ccc;
	padding: 12px;
	display: inline-block;
	vertical-align: top;
	width: 284px;
}
.current-theme {
	background: #eef;
}
#themes div.theme-details:hover {
	background: #f0f0f0;
}
#themes div.theme-details div.theme-shot {
}
#themes div.theme-details div.theme-shot img {
	display: block;
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
}
#themes div.theme-details div.theme-info {
}
#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 {
}
#themes-actions {
	border-bottom: 1px solid #999;
	margin-bottom: 3em;
}
.theme-css {
	display: block;
}

/* Themes list, JS version */
#themes-wrapper {
	display: table;
}
#themes-wrapper #themes {
	display: table-cell;
	vertical-align: top;
	padding-left: 1em;
}
#theme-box {
	display: table-cell;
	vertical-align: top;
	padding: 1rem 0; 
	width: 312px;
	background: #eef;
	border: 1px solid #ccc;
	border-radius: 3px;
}
#theme-box div.theme-shot img {
	display: block;
	margin: 0 16px;
	width: 280px;
	height: 245px;
	border: 1px solid #ccc;
}
#theme-box div.theme-info {
	margin: 1em 16px;
}
#theme-box h4 {
	color: #000;
}
#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 {
	padding: 0 16px;
}
#themes div.theme-details-js {
	float: left;
	width: 120px;
	height: 150px;
	margin: 0 12px 24px;
	padding: 12px 12px 0;
	text-align: center;
	background: #f3f3f3;
	border: 1px solid #ddd;
	cursor: pointer;
	border-radius: 4px;
}
#themes div.theme-details-js label {
	cursor: pointer;
}
#themes div.theme-details-js.theme-selected {
	background: #ddd;
	border: 1px solid #999;
}
#themes div.theme-details-js div.theme-shot img {
	width: 120px;
	height: 105px;
	border: 1px solid #fff;
}
/* ----------------------------------------------------------  Plugins list */
#plugins td.action {
	vertical-align: middle;
}

select.l10n option {
	padding-left: 16px;
}
option.avail10n {
	background: transparent url(../images/check-on.png) no-repeat 0 50%;
}
/* ------------------------------------------------------------------ contextual help */
#help {
	margin-top: 4em;
	background: #f5f5f5;
	z-index: 100;
}
#help-button {
	background: transparent url(../images/page_help.png) no-repeat 6px center;
	position: absolute;
	top: 3.6rem;
	right: 0px;
	padding: 0 2rem 0 3rem;
	cursor: pointer;
	color: #2373A8;
	line-height: 4.2rem;
}
#help-button span {
	padding: .6rem 0 .1rem 0;
	border-bottom: 1px solid #2373A8;
}
.help-box {
	display: none;
}
.help-box ul {
	padding-left: 20px;
	margin-left: 0;
}
#content.with-help #help-button {
	right: 28.2rem;
	background-color: #f5f5f5;
	position: fixed;
	border-top: 2px solid #FFD478;
	border-left: 2px solid #FFD478;
	border-bottom: 2px solid #FFD478;
	border-bottom-left-radius: 1rem;
	border-top-left-radius: 1rem;
}
#content.with-help #help {
	display: block;
	position: absolute;
	top: 3.6rem;
	right: 0;
	width: 28rem;
	border-left: 2px solid #FFD478;
	border-top: 2px solid #FFD478;
	margin-top: 0;
	padding: 10px 0 0 0;
	overflow: auto;
}
#content.with-help .help-content {
	padding: 0 5px 1em 5px;
}
.help-content dt {
	font-weight: bold;
	color: #626262;
	margin: 0;
}
.help-content dd {
	margin: 0.3em 0 1.5em 0;
}
/* ------------------------------------------------------------------ popups */
body.popup #wrapper, body.popup #top {
	width: 100%;
	padding: 0;
}
body.popup #wrapper {
	float: none;
	margin:0;
	display: block;
}
body.popup h1, body.popup #top {
	margin: 0;
	border-bottom: 1px solid;
	font-weight: normal;
	color: #fff;
	background: #575859;
	font-size: 1.5em;
	text-indent: .6rem;
	line-height: 1.3em;
}
body.popup #main {
	margin-bottom: 1em 0;
}
body.popup #content {
	margin: 0;
	padding: .6rem 0 !important;
}
body.popup #content h2 {
	margin: 0 0 1em;
}
body.popup #footer p {
	border: none;
}
/* ------------------------------------------------------------------ messages */
div.error, p.error, 
div.message, p.message, 
div.static-msg, p.static-msg {
	padding: 0.5em 0.5em 0.5em 48px;
	margin-bottom: 1em;
	border-radius: 8px;
}
p.error, p.message, p.static-msg {
	padding-top: 1rem;
	padding-bottom: 1rem;
}
div.error, p.error {
	background: #ffdec8 url(msg-error.png) no-repeat .7em .7em;
	color: #000;
}
div.message, p.message, 
div.static-msg, p.static-msg {
	background: #666 url(msg-std.png) no-repeat .7em .7em;
	color: #fff;
}
div.message a, p.message a, 
div.static-msg a, p.static-msg a {
	color: #fff;
}
/* ------------------------------------------------------------------ navigation */
.anchor-nav {
	background: #575859;
	color: #fff;
	padding: .4rem 1.2rem;
	float: right;
}
.nav_prevnext {
	margin-bottom: 2em;
	color: #fff;
}
.nav_prevnext a, a.back {
	border: 1px solid #ddd;
	padding: .2rem 2rem;
	border-radius: 1rem;
	background-color: #f0f0f0;
}
a.back:before {
	content: "\ab\a0";
}
a.onblog_link {
	color: #333;
	float: right;
	border: 1px solid #eee;
	padding: .2rem 2rem;
	border-radius: 1rem;
	background-color: #ffe;
}
/* ------------------------------------------------------------------ debug */
#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;
}
/* -------------------------------------------------------------------- CLASSES COMMUNES */

.no-margin, #entry-content label.no-margin {
	margin: 0;
}
.border-top {
	border-top: 1px solid #999;
	padding-top: 1em;
	margin-top:	1em;
}
/* paragraphe pour bouton Nouveau bidule */
p.top-add {
	text-align: right;
	margin: 0;
	}
p.top-add a {
	padding: .3em 1em .3em .5em;
	font-weight: bold;
}
p.top-add a img {
	padding-right: .3em;
	vertical-align: middle;
}
/* Si quelque chose a besoin d'être caché sauf pour les revues d'écran */
.hidden {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
    }
.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;
}
.offline {
	color: #666;
}
ul.nice {
	margin: 1em 0;
	padding: 0 0 0 2em;
	list-style: square;
}
ul.nice li {
	margin:0;
	padding: 0;
}
.zip-dl {
	background: transparent url(package.png) no-repeat 0 50%;
	padding: 5px 0 5px 20px;
}
/* pas trouvé dans le code */
.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;
}
.distrib img {
	display: block;
	float: right;
	margin-top: -1em;
}
/* TABLES
-------------------------------------------------------- */
table {
	font-size: 1.2rem;
	border-collapse: collapse;
	margin: 0 0 1em 0;
}
tr.line:hover {
	background: #f3f3f3;
}
caption {
	color: #333;
	font-weight: bold;
	text-align: left;
	margin-bottom: .5em;
}

th, td {
	border-width: 0 0 1px 0;
	border-style: solid;
	border-color: #e3e3e3;
	padding: .4rem .5rem;
	vertical-align: top;
}
th {
	text-align: left;
	border-bottom-color: #aaa;
}
.noborder td, td.noborder, .noborder th, th.noborder {
	border-width: 0 0 1px 0;
	border-color: #ddd;
	line-height: 2.4rem;
	padding-bottom: 0;
}
.noborder p {
	margin-bottom: 0;
}
table .maximal, table.maximal {
	width: 100%;
}
table .minimal {
	width: 1px;
}
table .nowrap {
	white-space: nowrap;
	vertical-align: top;
}
table.settings, table.prefs {
	width: 80%;
	border: 1px solid #999;
	margin-bottom: 3em; 
}
table.settings th, table.prefs th {
	background: #eef;
}
table.settings th:first-child, table.prefs th:first-child {
	width: 20%;
}
table.settings th + th, table.prefs th + th {
	width: 30%;
}
table.settings th + th + th, table.prefs th + th + th {
	width: 10%;
}
table.settings th:last-child, table.prefs th:last-child {
	width: 40%;
}
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: middle;
}
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, .fieldset {
	display: block;
	margin: 0 0 1em 0;
	padding: 1em 0.5em;
	border-width: 1px 0;
	border-style: solid;
	border-color: #ccc;
	background: #f5f5f5;
}
.fieldset {
	background: #eef;
}
legend {
	font-weight: bold;
	padding: 0.2em 0.6em;
	border-width: 1px;
	border-style: solid;
	border-color: #333;
	background: #fff;
	margin-bottom: 0.5em;
	border-radius: 3px;
}
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: #666 #ccc #ccc #999;
}
input.invalid, textarea.invalid, select.invalid {
	border: 1px solid red;
	background: #fff; 
	color: red;
	box-shadow: 0 0 0 1px rgba(218, 62, 90, 0.3)
}
input, textarea, select, option {
	font: 100% "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;
}
input[type=text], input[type=password], textarea {
	padding: 2px 0;
	margin-right: .3em;
}
textarea {
	padding: 2px 0;
}
input[type=checkbox], input[type=radio], input[type=file] {
	border: none;
	margin: 0;
	padding: 0;
	background: transparent;
}
label {
	display: block;
}
label input, label select, label span {
	display: block;
}
p.form-note {
	font-style:italic;
	margin-top: -.7em;
	color: #666;
}
span.form-note {
	font-style:italic;
	font-weight: normal;
	text-transform: none;
	color: #666;
}
p.form-note.warn, p.form-note.info, p.warning {
	font-style: normal;
	padding: .2em 1em .1em 24px;
}
p.form-note.warn, p.warning {
	background: #ffd url(warning.png) no-repeat .3em .3em;
	border: 1px solid #f0c020;
}
p.form-note.info {
	background: #f5eaff url(info.png) no-repeat .3em .2em;
	border: 1px solid #ddbaff;
}
.form-note a {border-bottom: 1px solid #ddbaff;}

label.ib {
	display: inline-block;
}
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%;
	resize: vertical;
}
label.required {
	font-weight: bold;
}
label.required abbr {
	color: #dd0000;
	font-size: 1.3em;
}
label.inline {
	display: inline;
}
p.field {
	position: relative;
	
}
p.field label {
	display: block;
	width: 14em;
}
p.field input, p.field select {
	display: inline;
	position: absolute;
	left: 14.5em;
	top: 0;
}
label .maximal, textarea.maximal, input.maximal {
	width: 100%;
}
textarea.maximal {
	resize: vertical;
}

a.form-control {
	display: none;
	background: url(../images/expand.png) no-repeat .4rem center;
	padding-left: 20px;
	color: #000;
}
.constrained {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
}

/* --------------------------------------------------------------- buttons */
/* commun */
input[type=submit],
input[type=reset],
input[type=button],
a.button,
a.submit {
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	padding: .1em .5em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	border-radius: .2em;
	margin-bottom: .1em;
}
h4 a.button {font-weight: normal;}

/* validation */
input[type=submit],
input[type=button],
a.submit {
	color: #fff;
	border: 1px solid #2373A8;
	background: #2373A8;
	background: -webkit-gradient(linear, left top, left bottom, from(#2C8FD1), to(#2373A8));
	background: -moz-linear-gradient(top,  #2C8FD1,  #2373A8);
}
input[type=submit]:hover,
input[type=button]:hover,
a.submit:hover,
input[type=submit]:focus,
input[type=button]:focus,
a.submit:focus {
	background: #2373A8;
	background: -webkit-gradient(linear, left top, left bottom, from(#2373A8), to(#2C8FD1));
	background: -moz-linear-gradient(top,  #2373A8,  #2C8FD1);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#2373A8', endColorstr='#2C8FD1');
	border: 1px solid #2C8FD1;
}
/* suppression et reset */
a.button,
input[type=submit].reset,
input[type=submit].delete {
	border: 1px solid #ccc;
	background: #f5f5f5;
	color: #000;
	background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#dfdfdf));
	background: -moz-linear-gradient(top,  #f5f5f5,  #dfdfdf);
	text-shadow: none;
	}
a.button:hover,
input[type=reset]:hover,
input[type=submit].reset:hover,
input[type=submit].delete:hover,
a.button:focus,
input[type=reset]:focus,
input[type=submit].reset:focus,
input[type=submit].delete:focus {
	background: #dfdfdf;
	background: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#f5f5f5));
	background: -moz-linear-gradient(top,  #dfdfdf,  #f5f5f5);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#e5e5e5', endColorstr='#f5f5f5');
	}
a.delete,
input.delete,
input[type=submit].delete {
	color: #c00;
	padding-bottom: .2rem;
}
#entry-content .delete {
	margin-left: 1em;
}
a.delete:hover,
input.delete:hover,
input[type=submit].delete:hover,
a.delete:focus,
input.delete:focus,
input[type=submit].delete:focus {
	border-color: #c00;
}
/* finasseries */
input[type=button] {
	padding: .1em;
}
#info-box a.button {
	padding: 0 .5em;
	margin-left: 2em;
}
.button.add {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #9dce2c), color-stop(1, #8cb82b) );
	background:-moz-linear-gradient( center top, #9dce2c 5%, #8cb82b 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9dce2c', endColorstr='#8cb82b');
	background-color:#9dce2c;
	border:1px solid #83c41a;
	padding:.6rem 1.8rem;
	color: #000;
	text-shadow: 1px 1px 0 #BBDB58;
	font-weight: normal;
	font-size: 1.4rem;
}
.button.add:hover, .button.add:focus {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #8cb82b), color-stop(1, #9dce2c) );
	background:-moz-linear-gradient( center top, #8cb82b 5%, #9dce2c 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8cb82b', endColorstr='#9dce2c');
	background-color:#8cb82b;
	border:1px solid #83c41a;
}
.button-add:focus {
	outline: dotted 1px;
}

/* jQuery Autocomplete plugin */
.ac_results {
	padding: 0px;
	border: 1px dotted #f90;
	background-color: white;
	overflow: hidden;
	z-index: 99999;
}
.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}
.ac_results li {
	margin: 0px;
	padding: 2px 5px;
	cursor: default;
	display: block;
	font: menu;
	font-size: 1em;
	line-height: 16px;
	overflow: hidden;
}
.ac_loading {
	background: transparent url('loader.gif') right center no-repeat;
}
.ac_over {
	background-color: #06c;
	color: white;
}

/* ------------------------------------------------------- Filters */
#filters-form {
	border: 1px dashed #999;
	border-radius: .6rem;
	margin-bottom: 2em;
	padding: .5em 1em 0;
}
#filters-form .table {
	display: table;
	width: 100%;
	padding: 0;
	margin-bottom: 1em;
	margin-top: 1.5em;
}
#filters-form .cell {
	padding: 0 2em 0 0;
	display: table-cell;
	vertical-align: top;
}
#filters-form .filters-options {
	padding-left: 2em;
	border-left: 1px solid #ccc;
}
#filters-form label.ib, span.ib {
	width:7em;
	display: inline-block;
}
#filters-form label.ibw, span.ibw {
	width: 9em;
	display: inline-block;
}
#filters-form select {
	width: 14em;
}

/* ---------------------------------------------------- Pagination */
.pagination {
	height: 22px;
	margin-top: 1em;
	line-height: 22px;
	padding: 0 1rem; 
	border: 1px solid #ddd;
	overflow: hidden; 
	background: #e1e1e1; 
	background: -moz-linear-gradient(center top , #f2f2f2, #e1e1e1); 
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#e1e1e1)); 
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px; 
	border-radius: 4px; 
}
.pagination a, .pagination strong {
	height: 20px;
	border: none;
	padding: 2px 6px; 
	background-color : transparent;
	background-position : 50% 50%;
	background-repeat: no-repeat;
}
.pagination a:hover, .pagination strong {
	border-color : #ccc;
	background-color: #fff;
}

/* ---------------------------------------------------------------------------
	Media queries vite fait en attendant la reprise complète du layout
---------------------------------------------------------------------------- */
@media screen and (max-width: 920px) {
	#top, #top h1 a {width: 42px !important; height:100%; overflow: hidden;
}
	#top h1 a:link {
		background: transparent url(dc_logos/b-dotclear120.png) no-repeat -180px 6px; 
		border-right: 1px solid #ccc;
	}
	#top h1 a:hover, #top h1 a:focus {
		background: url(dc_logos/b-dotclear120.png) no-repeat -180px -94px;
		border-right: 1px solid #A2CBE9;
	}
}
@media screen and (max-width: 800px) {
	#top, #info-boxes, #info-box1, #info-box2 {
		display:inline-block;
		vertical-align:middle;
		margin:0;
		padding:0;
		line-height: 3.2rem;
	}
	#info-box1 {margin-left: 1rem;}
	#info-box1 select {width: 14rem;}
	#main-menu, #main, #content, #content h2, #entry-wrapper, #entry-sidebar, #entry-content, .two-cols .col, .two-cols .col:first-child {
    	display:block;
    	width: 98%;
    	margin:0 auto;
    	padding:0;
    	float:none;
    	text-align: left;
    	clear: both;
  	}
  	#content {
  		width: 100%;
  		padding-top: .5em;
  	}
}
@media screen and (max-width: 720px) {
	.smallscreen {display: none;}
	#help-button {width:20px; overflow: hidden;}
	#info-box2 {float:none;}
	#dashboard-items div {display: block;margin-bottom: 1em; padding: 0 1em;}
}
@media screen and (max-width: 492px) {
	#header {height:3.6rem;}
	#wrapper {font-size: 1.6rem;}
	.page-title, #info-boxes, .media-item {display: inline-block;}
	div.media-list .media-item {width: 90%; float: none}
	#info-box1 select {width: 12rem; margin-right: .6rem;}
	#info-box1 p.nomobile, label.nomobile {display: none;}
	#help-button {height:26px; width:26px; background-color: #A2CBE9; padding: 0; margin:0;font-size: 1rem;line-height: 68px}
}
