/** Native elements 
**********************************************/
body {
	padding: 0;
	margin: 0;
	color: #716a56;
	background: #f7f6ed;
	font-family: Arial, Verdana, "Bitstream Vera Sans", "Lucida Grande", sans-serif;
	font-size: .8em;
	line-height: 1.1;
}
a {
	color: #708da9;
	text-decoration: none;
}
a:hover,a:focus {
	color: #b3aa93;
}
h1, h2, h3, h4, h5, h6 {
	margin:.5em 0;
}
p, ul, ol {
	margin:1em 0;
}
h1 {
	color: #708192;
	font: bold 1.8em "Lucida Grande", "Lucida Sans", Lucida, Arial, Verdana, "Bitstream Vera Sans", sans-serif;
}
h2 {
	margin: 0;
	padding: 1em 0 0 0;
	color: #708192;
	font: bold 1.5em "Lucida Grande", "Lucida Sans", Lucida, Arial, Verdana, "Bitstream Vera Sans", sans-serif;
}
h3 {
	color: #708192;
	padding: 1em 0;
	font: bold 1.3em "Lucida Grande", "Lucida Sans", Lucida, Arial, Verdana, "Bitstream Vera Sans", sans-serif;
}
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 {
	color: white;
	background: #b5c3ce;
}
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: #f3f4ec;
	color: #726234;
}
dd {
	margin: 0 0 15px 170px;
	padding: 10px;
}
q {
	font-style: italic;
}
kbd {
	font-size: 1em;
	font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
}
pre,code {
	font-size: .9em;
	font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
	color: #546C91;
	margin: 0;
	padding: .5em;
}
/** Form 
**********************************************/
fieldset {
	background: #F5F3EE;
}
label,.labelmargin {
	display: inline-block;
	width: 200px;
	margin-right: 20px;
	margin-bottom: 1em;
	vertical-align: top;
	text-align: right;
	vertical-align: top;
}	
#sidebar label {
	width: auto;
	display: inline;
	margin: 0;
}
label.autowidth {
	width: auto;
	line-height: 1.5em;
}
.labelised {

	color: #7A7571;
	font-weight: 700;
	font-size: .9em;
	line-height: 1.3em;
}
.shorttextfield, textarea#body  {
	width:400px;
}
.tinytextfield  {
	width:200px;
}
.label-leftmargin {
	margin-left:220px !important; 
	/* same as label width + margin */
}
.textfield,.shorttextfield,textarea, input, .tinytextfield {
	border: 1px solid gray;
	color: #929CB1;
}

button#cboxClose {margin:0;padding:0}

input,textarea { /* inline-block already */
	vertical-align: top;
}
input[type='checkbox'], input[type='radio'] {
	border:0;
	background: none;
}
input.submitbut, input[type="submit"] {
	background-color: #eee;
    box-shadow: 0 0 1px 1px #F6F6F6 inset;
    margin: 0;
    padding: 0.1em 1em;
    border: 1px solid #A4C8DF;
    border-radius: 2px 2px 2px 2px;
    color: #215374;
    cursor: pointer;
}
#main-container input.submitbut, #main-container input[type="submit"], #comments-view input.submitbut, #comments-view input[type="submit"] {
	margin-left:70%;
	margin-bottom: 2em;
}
input.submitbut:hover, input[type="submit"]:hover {
	background-color: #D1D3EF;
	color:#000;
}
.center {text-align:center}

/** Header 
**********************************************/
#header {
	background: #a8c4e2;;
	color: white;
	padding: 20px;
	height: 70px;
}
#header h1 {
	margin: 1em 0.5em;
	float: right;
	color: white;
}

/** Menu 
**********************************************/
#menu ul {
	color: #7e9bb8;
	background-color: #41505F;
	text-align: center;
	padding: 12px 15px;
	margin: 0;
	list-style: none;
}
#menu li {
	display: inline;
}
#menu ul a {
	color: #7e9bb8;
	padding: 6px 15px;
	line-height: 1.5;
	font-size: 1em;
	font-weight: bold;
	text-decoration: none;
	text-transform: capitalize;
}
#menu ul a.actif,#menu a:hover,#menu a:focus {
	background: #eaeef1;
	color: #4D585F;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

/** Content 
**********************************************/
#content {
	color: #363B29;
	background: #f3f4ec;
	width: 100%;
}
#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: white;
	float: left;
	width: 64%;
	margin: 12px 0.5%;
	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: #b5c3ce;
}
.internal-nav a {
	color: white;
	padding:1em 2em;
}
.internal-nav a:hover {
	color: #222;
	background: #D7E1E8;
}
.internal-nav li {
	list-style: none;
	display: inline;
}
.internal-content {
	padding: 1em;
	background: #f7f8f3;
	border: 1px solid #dee1cd;
}

/** Sidebar 
**********************************************/
#sidebar {
	background: white;
	color: #848e98;
	float: left;
	width: 28%;
	padding: 1.5%;
	margin: 12px 0.5%;
}
#sidebar div h3 {
	margin: 0;
	padding: 0.25em 0;
}
#sidebar ul,#sidebar li {
	list-style: none;
	margin: 0;
	padding: 0;
}

#sidebar li {
	font-size: 0.85em;
	padding: 0;
	margin: 0.1em 0 0 1em;
}
#sidebar li:before {
	content: " - ";
}
#sidebar a {
	color: #363B29;
}
#sidebar a:hover,#sidebar a:focus {
	color: #b3aa93;
}
#sidebar div {
	background: #f2f2f2;
	border-top: 1px dashed #d3cfc5;
	border-bottom: 1px dashed #d3cfc5;
	padding: 1em;
	margin: 10px 0;
}

/** Filters 
**********************************************/
div#filtertheme,div#filterlevel,div#filterscale,div#filterpriority {
	background: #eaeef1;
	color: #716a56;
	font-weight: bold;
}
div#filtertheme a,div#filterlevel a,div#filterscale a,div#filterpriority a
	{
	color: #7d9bba;
	font-weight: normal;
}
div#filtertheme h3,div#filterlevel h3,div#filterscale h3,div#filterpriority h3
	{
	color: #7d9bba;
}

/** Footer 
**********************************************/
#footer {
	color: white;
	border-top: 1px solid white;
	background: #c1ced8;
	text-align: center;
	padding: 15px 20px;
	font-size: .85em;
	clear: both;
}
#footer p {
	margin: .5em 0;
}

/** 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: #b5c3ce;
	margin:0 0.5em;
	padding:0.5em;
	color:white;
}
.spacer {
	clear: both;
	visibility: hidden;
}
.readmore {
	float: right;
	font-size: 11px;
	margin: 1em 0;
}


/** Breadcrumb
**********************************************/
#breadcrumb ul {
	margin: 0;
	padding: 0;
	font-family: "Verdana", sans-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;
}

/** Dashboard 
**********************************************/
.table_dashboard td {
	padding:1em 2em;
}

.table_dashboard .no-value {
	padding-bottom:.8em;
}

.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;
	min-width:200px /** fix bug on IE8 */
}

.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;
}
.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;
}

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;
	*/
}
.map {
	width:100%;
	height: 300px;
	border:1px solid #333;
}
#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;
}