/** Native elements 
**********************************************/
body {
	padding: 0;
	margin: 0;
}
a, a:visited {
	color: #0F2DDB;
	text-decoration: none;
}
a:hover,a:focus {
	color: #193593;
}
a.button:visited {
	color:#444444;
}

h1, h2, h3, h4, h5, h6 {
	margin:.5em 0;
}
p, ul, ol {
	margin:1em 0;
}
h1 {
	font-size:2em;
}
h2 {
	margin: 0;
	padding: 1em 0 0 0;
}
h3 {
	padding: 1em 0;
}
nav {
	width:100%;
}
hr {
	height: 1px;
	border: 0;
	color: #d8d9cf;
	background-color: #d8d9cf;
	clear:both;
}

table {
	border-collapse: collapse;
	width: 100%;
	margin: 15px 0;
	border-top: 1px solid #e0ded9;
	border-bottom: 1px solid #e0ded9;
}
thead td {
	font-weight: bold;
}
td {
	padding: 5px 6px;
	background: #f1f1ff;
	border-bottom: 1px solid #FFF;
}

img {
	border: none;
	max-width: 100%;
	height: auto;
}
dl {
	margin:1em 0;
	padding: 0;
}
dt {
	width: 160px;
	float: left;
	padding: 10px 0;
	padding-left: 10px;
	background-color: #898888;
	color:white;
}
dd {
	margin: 0 0 15px 170px;
	padding: 10px;
}
q {
	font-style: italic;
}
kbd {
	font-size: 1em;
	font-family: courier, Geneva, Helvetica, serif;
}
pre,code {
	font-size: .9em;
	color: #546C91;
	margin: 0;
	padding: .5em;
}


/** Forms elements
**********************************************/

input[type="text"], input[type="password"], input[type="email"], textarea, select {
	display:inline-block;
	}
fieldset {}
label,.labelmargin {
	display: inline-block;
	width: 200px;
	margin-right: 20px;
	margin-bottom: 1em;
	vertical-align: top;
	text-align: right;
	vertical-align: top;
}	
label.autowidth {
	width: auto;
	line-height: 1.5em;
}
.labelised {
	color: #7A7571;
	font-weight: 700;
	font-size: .9em;
	line-height: 1.3em;
}
.shorttextfield, .textfield, textarea#body  {
	width:35% !important;
}
.tinytextfield  {
	width:200px;
}
.label-leftmargin {
	margin-left:220px !important; 
	/* same as label width + margin */
}
.textfield,.shorttextfield,textarea, input, .tinytextfield {
}
input,textarea { /* inline-block already */
	vertical-align: top;
}
input[type='checkbox'], input[type='radio'] {
	border:0;
	background: none;
}

#main-container input.submitbut, #main-container input[type="submit"], #comments-view input.submitbut, #comments-view input[type="submit"] {
	margin-left:70%;
	margin-bottom: 2em;
}

/** Header 
**********************************************/
header {
	background: #898888;
	color: white;
	padding: 20px;
	height: 70px;
}
header h1 {
	float: right;
	color: white;
}
header img {
	margin-left: 20px;
}

/** Menu 
**********************************************/
#menu ul {
	color: #7e9bb8;
	background-color: #564E4E;
	text-align: left;
	padding: 12px 15px 12px 20px;
	list-style: none;
	margin:0;
}
#menu li {
	display: inline;
}
#menu ul a {
	color: #fff;
	padding: 14px 8px;
	line-height: 1.5;
	font-size: 1em;
	font-weight: bold;
	text-decoration: none;
}
#menu ul a.actif,#menu a:hover,#menu a:focus {
	background:#F7F6ED;
	color: #333;
}

/** Content 
**********************************************/
#content {

}
#content p,#content li {
	line-height: 1.25;
	text-align: justify;
}
#printer,.switchnav {
	float: right;
	padding: 1em 0;
	margin: 0.2em;
}

/** Main 
**********************************************/
#main-container {
	background: #f7f6ed;
	float: left;
	width: 64%;
	margin: 0 0.5% 0 0;
	padding: 1.5%;
}
#main-container p img {
	margin:5px;
}
#main ul, #main ol {
	margin-left: 2em;
}
.chapo {
	color:#41505F;
}
.internal-nav {
	text-align: center;
	padding: 0.1em;
	background: #564E4E;
}
.internal-nav a {
	color: white;
	padding:1em 2em;
}
.internal-nav a:hover, .internal-nav a.active {
	color: #222;
	background: #eee;
}
.internal-nav li {
	list-style: none;
	display: inline;
}
.internal-content {
	padding: 1em;
	background: #f7f8f3;
	border: 1px solid #dee1cd;
}

/** Sidebar 
**********************************************/
aside {
	background: white;
	color: #848e98;
	float: left;
	width: 28%;
	padding: 1.5%;
	margin: 12px 0.5%;
}
aside div h3 {
	margin: 0;
	padding: 0.25em 0;
	font-size: 1.4em;
}
asider ul, aside li {
	list-style: none;
	margin: 0;
	padding: 0;
}
aside li {
	font-size: 0.85em;
	padding: 0;
	margin: 0.1em 0 0 1em;
}
aside li:before {
	content: " - ";
}
aside div {
	padding: 1em;
	margin: 10px 0;
	background:#eee;
}
aside label {
	width: auto;
	display: inline;
	margin: 0;
}

/** Filters 
**********************************************/
div#filtertheme,div#filterlevel,div#filterscale,div#filterpriority {
	background:#eee;
}
div#filtertheme a,div#filterlevel a,div#filterscale a,div#filterpriority a
{
}
div#filtertheme h3,div#filterlevel h3,div#filterscale h3,div#filterpriority h3
{
}

/** Footer 
**********************************************/
footer {
	color: white;
	background: #898888;
	text-align: center;
	padding: 15px 20px;
	font-size: .85em;
	clear: both;
}
footer p {
	margin: .5em 0;
}
footer a, footer a:visited {
	color:#444;
}
footer a:hover {
	color:#222;
}

/** Miscellaneous 
**********************************************/
.highlight{
  background-color: yellow;
}

.odd { 
	background-color: #F9F9F9;
}
.actif {
	font-weight: bold;
}
.next,.previous {
	margin-top: 12px;
	text-align: right;
	width: 40%;
	display: inline;
}
.nextprev {
	text-align: center;
	margin: .3em 0 2em;
}
.published_by,.filter_info {
	color: #b1b2a8;
	font-size: 0.85em;
}
img#securityimg {
	vertical-align: bottom;
	border: 1px solid #777;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}
.error,.confirm,.info {
	margin: 1em 1em;
	padding: 1em;
	font-size: 0.85em;
}
.error {
	color: red;
	background: #f6ded7;
	border: 1px solid #ec9981;
}
.confirm {
	color: white;
	background: #a8c4e2;
	border: 1px solid #87a4c2;
}
.info {
	color: #7d9cbe;
	background: #e8edf1;
	border: 1px solid #adc8e6;
}
.pagination {
	margin: 1.2em;
}
.pagination a {
	background:#898888;
	margin:0 0.5em;
	padding:0.5em;
	color:white;
}
.spacer {
	clear: both;
	visibility: hidden;
}
.readmore {
	float: right;
	font-size: 11px;
	margin: 1em 0;
}
.center {text-align:center}


/** Breadcrumb
**********************************************/
#breadcrumb ul {
	margin: 0;
	padding: 0;
	font-family: serif;
	font-size: 0.9em;
	border-bottom: 1px dotted #e3e2e2;
}
#breadcrumb ul li {
	display: inline;
	text-align: center;
	padding: 2px;
	margin: 0;
	color: gray;
}

/** Project indicator 
**********************************************/
.good {
	background-color: #5be810;
	color: #333;
}
.warn {
	background-color: #e88610;
	color: #333;
}
.bad {
	background-color: #fc2916;
	color: #fff;
}


div.progressbar {
	margin:1em;
	display: inline;
}
div.progressbar span:first-child {
	-webkit-border-top-left-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-bottomleft: 3px;
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
	border-left:1px solid #ccc;
}
div.progressbar span:last-child {
	-webkit-border-top-right-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
	-moz-border-radius-topright: 3px;
	-moz-border-radius-bottomright: 3px;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	border-right:1px solid #ccc;
}
div.progressbar span {
	display:inline-block;
	width:11px;
	height:7px;
	background-color: #ddd;
	border-right:1px solid #fff;
	border-bottom:1px solid #ccc;
	border-top:1px solid #ccc;
	/**
	-moz-box-shadow: 0 0 5px #888;
	-webkit-box-shadow: 0 0 5px #888;
	box-shadow: 0 0 5px #888;
	*/
}
div.progressbar span.completed {
	background-color: #FF8D1C;
	/**  do not remove
	-moz-box-shadow: 0 0 5px #555;
	-webkit-box-shadow: 0 0 5px #555;
	box-shadow: 0 0 5px #555;
	*/
}

/** Directory - yellowpages
**********************************************/

.map {
	width:100%;
	height: 300px;
	border:1px solid #333;
}
.map img {
	max-width:none;
}

/** Dashboard 
**********************************************/

.table_dashboard td {
	padding:0.5em 2em;
}

.dashboard-indicator-label, .dashboard-indicator-tendency  {
	display:inline-block;
}


/** datavisualisation type */
.dashboard-indicator-gauge {
	float: left;
	padding: 0px;
	text-indent: 0px;
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 0px;
}

.dashboard-indicator-raw {
	display:inline-block;
	padding: 0px;
	width:125px;
	text-align: center;
	position: relative;
}

.dashboard-indicator-raw .unit {
	display: block;
	color:#AFAFAF;
	font-size: 0.85em;
}

.dashboard-indicator-raw span.value, .dashboard-indicator-raw span.no-value {
	font-size:1.9em;
	line-height:0.0em;
	color: #3A91A5;
	font-weight: bold;
}

.dashboard-indicator-gauge .cursor {
	position: relative;
	top: -6px !important;
	margin-left: 0;
	z-index: 100;
}

.dashboard-indicator-gauge .value {
	display:none;
}

div.indicator-info-container {
	position: relative;
}

div.indicator-info:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 18px;
		left: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent; 
    border-right:10px solid #F2F6F9;   
}
div.indicator-info {
	display: none;
	position: absolute;
	top: -15px;
	left: 120px;
	width: 200px;
	padding:1em;
	border: 1px solid #ccc;
	background-color: #F2F6F9;
	color: #666;
	text-align: left;
	-moz-box-shadow: 5px 5px 5px #888;
  -webkit-box-shadow: 5px 5px 5px #888;
  box-shadow: 5px 5px 5px #888;
  z-index: 99;
}
div.indicator-info p {
	margin:0;
	padding:.2em 0;
	border-bottom: 1px dotted #ccc;
	font-size: .9em;
}
.valuecomment {
	margin-left: 2em;
	position:relative;
}
.valuecomment div.cont {
	padding:1em;
	margin:0 0 0 1em;
	display: none;
	position: absolute;
	left:-340px;
	top:0;
	color:white;
	background-color: #000;
	opacity:.7;
	width:300px;
	font-size: 11px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

/** Password strength
**********************************************/

#pwd-complexity {
	width: 200px;
	padding: 3px 0;
	color: #000;
	text-align: center;
	display:inline-block;
	margin-left:2em;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.default{background-color:#E0E0E0;}
.weak{background-color: #FF5353;}
.strong{background-color: #FAD054;}
.stronger{background-color: #93C9F4; }
.strongest{background-color: #86ED7B;}


/** Workgroups specifics 
**********************************************/

.task_out_date {
	background: #f7f8f3;
}
.post-content {
    margin-left: 130px;
    min-height: 130px;
}
.blocksujet {
    min-height: 120px;
}
.blocksujet,.task_in_date {
	background: white;
}
.workshop_auth_sujet {
    float: left;
    width: 120px;
}
.workshop_date_sujet {
    border-bottom: 1px dotted gray;
    color: gray;
    float: right;
    font-size: 0.85em;
}
a.edit_topic {
    /**  do not remove
    background: url("../images/edit_topic.png") no-repeat scroll 0 0 transparent;
    width: 20px;
    */
    font-size:.9em;
    margin:0 .5em;
    display: block;
    float: right;
    height: 20px;
    padding: 0;
}
/**  do not remove
a.edit_topic span {
    display: none;
} */
#reponse {
	margin-bottom: 15px;
	padding: 1em;
}
#reponse > div {
	margin-left: 220px;
    background-color: #fff;
}
.task_meta {
    float: left;
    font-weight: bold;
    margin-right: 1em;
    text-align: right;
    width: 16%;
}
.task_meta p {
    margin: 0;
    padding: 0;
    text-align: right;
}
.task_content {
    border-left: 1px dotted gray;
    margin-left: 20%;
    padding: 0 1em;
}
.task_content h3, .task_content p {
    margin: 0;
}
.task_content p {
    color: #857D71;
}
.task_in, .task_out {
    clear: both;
    margin: 0.4em 0;
    min-height: 50px;
}
/** do not remove
.task_in {
    background: url("../images/cal_in.png") no-repeat scroll 17% top transparent;
}
.task_out {
    opacity: 0.5;
}
.task_out:hover {
    opacity: 1;
}
*/
.task_common {
	color:#ccc;
	font-style: italic;
	height: 16px;
	font-size: .85em;
	display: block;
}
a.dlfile {
	background: url("../images/dl.png") transparent no-repeat;
	display: block;
	width: 16px;
	height: 16px;
	float: right
}
a.dlfile span {
	display: none
}

.user_profile {
	width: 50px;
	display: block;
}
.img_desc {
	margin-top: 4px;
}
.buttonmargin {
 margin:1em 0;
}

/* Comments
-------------------------------------------------------- */
#add-comment-form {
	width:97%;
}
#anchor-comment,#anchor-post-comment {
	border-bottom: 2px solid #eee;
	margin: 0.5em 1em;
	display: inline-table;
	padding: 0;
	float: right;
}
#anchor-comments:before {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.comment {
	padding: 1em;
	width: 95%;
	position: relative;
	border-bottom: 1px solid #ccc;
	min-height: 55px;
}
.comment .avatar {
	height: 50px;
	left: 10px;
	position: absolute;
	width: 50px;
	top: 15px;
}
.avatar img {
	max-height: 50px;
	max-width: 50px;
}
.comment .name {
	margin-left: 100px;
	color: #939393;
}
.comment .date {
	font-size: 10px;
	padding: 0;
	position: absolute;
	right: 15px;
	top: 10px;
	color: #bbb;
}
div.comment > div.body {
	line-height: 1.2;
	margin-left: 100px;
}
.to-moderate {
	background-color: #FFE293 !important;
}
p.moderation {
	color: #FFBB00;
	font-size: 11px;
	margin-left: 100px;
}


/* Specific pages items
**********************************************/

#logon {
	padding: 2em;
}

#start_uploads, #cancel_uploads {background: #EDEDED !important;border:1px solid #ccc;}
#start_uploads:hover, #cancel_uploads:hover {color:#41505F;border:1px solid #ccc;text-shadow: 1px 1px 0 #FFFFFF;}
/* iphone checkbox style --  do not remove
.cb-enable, .cb-disable, .cb-enable span, .cb-disable span { background: url(../images/switch.gif) repeat-x; display: block; float: left; }
.cb-enable span, .cb-disable span { line-height: 30px; display: block; background-repeat: no-repeat; font-weight: bold; }
.cb-enable span { background-position: left -90px; padding: 0 10px; }
.cb-disable span { background-position: right -180px;padding: 0 10px; }
.cb-disable.selected { background-position: 0 -30px; }
.cb-disable.selected span { background-position: right -210px; color: #fff; }
.cb-enable.selected { background-position: 0 -60px; }
.cb-enable.selected span { background-position: left -150px; color: #fff; }
.switch label { cursor: pointer;display: inline;width:auto;margin: 0;}
p.switch {margin:0.3em;padding:0;}
*********************************************/
p.switch {text-align: center !important;margin:0.3em !important;}
p.switch label {display:none;}

#avatarcontainer {
	position: relative;
	margin:0 !important;
	padding: 0 !important;
}
#avatarcontainer img {
	margin:0;
}
#avatarcontainer p {
	background-color:#fff;
	position: absolute;
	bottom:-5px;
	left:5px;
	opacity:.7;
	font-size: 0.85em;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.delete_avatar {
	color:#A01010;
	background:transparent url("../images/delete.png") no-repeat center center;
	display:block;
	height:22px;
	width: 26px;
}
a.delete_avatar:hover {
	color:#CE1616 !important;
}
.delete_avatar span {
	display:none;
}

/* Admin and demo tools
**********************************************/
#lang_switcher {position: fixed;left: 0;bottom: 50%;background-color: #000;	opacity: 0.8;}
#lang_switcher a {color: white;	text-decoration: none}
#lang_switcher ul {	margin: 10px;padding: 0;}
#lang_switcher li {list-style: none;}
#lang_switcher li span {display: none;}
.debug_alert {background-color: yellow;	color: red;}

/* Caption on image hover - beta
**********************************************/
.imgwrapper {
	margin:0;
	overflow: hidden;
	position: relative;
}
.imgwrapper .caption 
{
	background: #000;
	color:white;
	bottom:0;
	margin:0;
	position:absolute;
	color: #fff;
	padding:.5em;
	opacity:.8;
	font-size: .9em;
	display:none;
}