/**
*	Framework CSS 
*	Defini quelques classes & comportements par defaut
*/
ul {
	list-style: none;
}
body,table { line-height:1.9em;}
h1, h2{
	-webkit-font-smoothing: antialiased;
	text-shadow: 0 1px 0 white;	
}
ul, ol {margin-top:5px;}


h1 { font-size:2em; margin:0 0 1em 0}
h2 { font-size: 1.4em }
h3 { font-size: 1.2em }

.clear { clear:both; }
.hidden { display:none; }

.red { color: red }
.green { color: green }
.image { display:inline-block }
.selected { font-weight :bold }



/* Menu */
#menu li { float:left; margin-right:20px }



/* Tables */
th { text-align:left; font-weight:bold; font-size:1.1em }
table { /*margin-bottom:1.4em;*/ margin-bottom:0; width:100%; }
table th { background-color:#AAA; color:#FFF }
table td { background-color:#EEE }
table tr.odd td { background-color:#FBF9F4; }

fieldset { margin-bottom: 15px; width:97%; margin-left:auto; margin-right:auto;padding:0 10px;}
fieldset legend { 
	font-size: 0.9em; 
	font-weight:normal;
}
fieldset.searchEngineFieldset { width:100% }

div.viewHalfBloc { float:left; width:49% }

form.inlineForms ul li { float:left; margin-right:10px; }

/* Forms */
input, select { width: 120px }

/* Lists */
ul.formList { list-style-type :	none; }
ul.formList li { margin-bottom :5px; float : left; width: 100%; }
ul.formDates li input { width: 75px }
ul.masterList li { margin-bottom: 10px }
ul.selectionElement { margin:0 }
ul.selectionElement li.disabled-reponse-mere{
	background : #FEFEFE;
	opacity: 1;
}
ul.searchFilterList li { float:left; margin-right: 20px;  }

ul.selectionElement li.disabled-reponse-mere:hover{
	cursor:default;
}


ul.formInline li{ 
	float: left;
	width: auto; 
	margin-right: 20px; 
}


/**
 * Fiche contact, bloc informations 
 */
#blocContactInformations .colonneDroite ul.formList li label { width:105px }
#blocContactInformations .colonneDroite ul.formList li ul.selectionElement { margin-left:105px }
#blocContactInformations div.colonneDroite {width:450px; float:left; margin-left:25px }

/* time picker */
/* css for timepicker */
.ui-timepicker-div .ui-widget-header{ margin-bottom: 8px; }
.ui-timepicker-div dl{ text-align: left; }
.ui-timepicker-div dl dt{ height: 25px; }
.ui-timepicker-div dl dd{ margin: -25px 0 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }

thead { font-weight:bold }

table tr.tabFirstLine, table tr.tableFirstLine td { background-color:#AAA; color:#FFF }

a img{border : 0;}
a{
	color : #9999CC;
 
}
a:hover{text-decoration : underline; }
a.active{ color : #ED9623; }
ul.listeLettres li a.enabled { font-weight:bold }

#searchLoader {
	background-image: url('../img/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	height:470px
}

.pointer{
	cursor:pointer;
}
ul{padding:0;}
ul li{
	list-style-type:none;
}

.wauto,.formList label.wauto{width:auto;}

/**
*	Form Configuration
*/


input.checkbox, input.radio{width:auto;margin:0 5px;}

input.password, input.text{
	height:20px;
	padding-left: 5px;
}

select{ height: 22px; }
select.selectMultiple{ height: auto; }
select option{ height: 20px; } 

input.password, input.text, textarea, select{
	border:1px solid #999;
	vertical-align:middle;
}

.formList label{
	width:105px;
	float:left;
	margin-left: 5px;
	
}

/**
*	General Classes
*/
.left{float:left;}
.right{float:right;}
.clear{clear:both;}
.hidden{display:none;}
.textLeft{text-align:left;}
.textCenter{text-align:center;}
.textRight{text-align:right;}
.bold{font-weight:bold;}
.odd{ background: #f5f4f4;}
.italic{ font-style: italic; }
.encadre{
   -moz-border-radius: 4px 4px 4px 4px;
    background: #EEEEEE;
    border: 1px solid #DEDFDE;
    padding: 0 10px;
    margin:0;
    margin-bottom: 10px;
}
.w100, .w100.btn{ width: 100%; }
.w50 { width:50% }

/**
*	Fields size
*/
label.sizeMini, input.sizeMini, select.sizeMini{ width: 30px; }
label.sizeSmall, input.sizeSmall, select.sizeSmall{ width: 75px; }
label.sizeNormal, input.sizeNormal, select.sizeNormal{ width: 120px; }
label.sizeLarge, input.sizeLarge, select.sizeLarge{ width: 200px; }
label.sizeBig, input.sizeBig, select.sizeBig{ width: 290px; }


.numeric{ text-align: right; }

/**
*	Project styles
*/
#container{
	margin-bottom:60px;
}

.home #main{margin-top: 44px;}

/**
*	Blocs
*/
.bloc{
/*	margin-bottom:20px;*/
	padding-bottom:16px;
	margin-bottom:4px;
}
.bloc-placeholder{
	border: 2px dashed #DDD;
	position: relative;
	margin: 0 0 10px 20px;
	padding: 0;
	float:left;
	width: 456px;
}

.bloc .bloc_content{
	box-shadow: 0 0 4px #C0C0C0;
	padding: 10px 5px;
	
}
.bloc .bloc_content.no-padding{ padding: 0; }
.bloc .bloc_content.no-padding .content{ height: 340px; }
.bloc .bloc_content .content.sizeDouble{ height: 697px; }
.bloc .bloc_content .ui-tabs .ui-tabs-panel{
	height: 263px;
	clear: both;
	overflow: auto;
}
.bloc .bloc_content .content.sizeDouble .ui-tabs-panel{ height: 650px;}

.bloc .bloc_content .content.sizeAuto{ height:auto; }


.bloc .bloc_content h1, 
.bloc .bloc_content h2,
.bloc .bloc_content h3,
.bloc .bloc_content p{ margin:0;}





.bloc .bloc_content .content{
	overflow-y: auto;
	height: 310px;	
	clear:both;
}
.bloc .bloc_content h2{
	margin: -10px 0 15px -5px;
	font-size:1em;
	line-height: 2.2em;
	float: left;
	width:100%;
	
}
.bloc .bloc_content h2 span.titre{
	float:left;
	background: #F3F3F3;
	padding-left: 10px;
	border: 1px solid #D8D3C1;
	border-width: 0 1px 1px 0;
	border-radius: 0 0 6px 0;
	padding: 0px 10px;
}
.bloc .bloc_content h2 span.icon{
	padding-left:35px;
}


.bloc .bloc_content h2 span.tools{
	float: left;		
	height: 27px;
	overflow: hidden
}
.bloc .bloc_content h2 span.tools a{
	float: left;
	margin-top: 3px;
	margin-left:5px;
}
.bloc .bloc_content h2 span.tools a.expand,
.bloc .bloc_content h2 span.tools a.dragHandler{
	height: 20px;
	width: 18px; 
	overflow:hidden;
	cursor: move;
}

.bloc .bloc_content h2 span.tools a.expand{
	cursor:pointer;	
}

.search_contact .bloc .bloc_content .content{ height: 270px; }
.search_contact .bloc .bloc_content .content.sizeDouble{ height: 614px;}


/**
*	Tables
*/
table {
    font-size: 1em;
    line-height: normal !important;
    border-spacing:0;
    width:100%;
}
table th {
    padding: 5px;
    text-align: left;
}
table td{
    padding: 5px;	
}
table tr.even td{background:white;}
table tr td a{text-decoration:none;}



/**
*	Login Styles
*/	
#loginZone{margin-top:50px;width:400px;float:left;}

#loginZone form{
	float:left;
	width:400px;
}

#loginZone form ul{
	width: 332px;
	margin-left: 30px;
	float: left;
	padding: 0;
}

#loginZone form ul li{
	margin-top: 15px;
	float: left;
	width: 358px;
}

#loginZone #lostPwd{
	float: right;
	margin-top: 10px;
}
#loginZone #lostPwd,#loginZone #lostPwd a{
	color: #BBB;
	text-shadow: 0 1px 0 white;
	-webkit-font-smoothing: antialiased;
}
#loginZone #lostPwd a{
	font-weight:bold;
	color:#999;
	text-decoration:none;
}
#loginZone #lostPwd a:hover{text-decoration: underline;}

/**
*	Boutons & messages
*	From twitter bootstrap
*/

a.btn{text-decoration:none;color:#333;}
.btn.danger,
.message.danger,
.btn.danger:hover,
.btn.error,
.message.error,
.btn.error:hover,
.btn.success,
.message.success,
.btn.success:hover,
.btn.info,
.message.info,
.btn.info:hover,
.btn.warning,
.btn.warning:hover {
	color: white;
}

.message.danger:hover,
.message.error:hover,
.message.success:hover,
.message.info:hover{
	color:#777;
}

.btn {
	width:auto;
	cursor: pointer;
	display: inline-block;
	background-color: #EAEAEA;
	background-repeat: repeat-x;
	background-image: -khtml-gradient(linear, left top, left bottom, from(#FFFFFF), to(#EAEAEA));
	background-image: -moz-linear-gradient(top,  white, #EAEAEA);
	background-image: -ms-linear-gradient(top,  white, #EAEAEA);
	background-image: -webkit-linear-gradient(top,  #FFF, #EAEAEA);
	background-image: -o-linear-gradient(top, #FFF, #EAEAEA);
	background-image: linear-gradient(top,  #FFF, #EAEAEA);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#EAEAEA', GradientType=0);	
	padding: 5px 14px 6px;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	font-size: 11px;
	line-height: normal;
	border: 1px solid #ccc;
	border-bottom-color: #bbb;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	-webkit-transition: 0.1s linear all;
	-moz-transition: 0.1s linear all;
	-ms-transition: 0.1s linear all;
	-o-transition: 0.1s linear all;
	transition: 0.1s linear all;
	color: white;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}


.btn.danger,
.btn.error{
	background-color: #c43c35;
	background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
	background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: linear-gradient(top, #ee5f5b, #c43c35);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	border-color: #c43c35 #c43c35 #882a25;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.btn.warning{
	background-color: #f5a11b;
	background-image: -khtml-gradient(linear, left top, left bottom, from(#ffd021), to(#f5a11b));
	background-image: -moz-linear-gradient(top, #ffd021, #f5a11b);
	background-image: -ms-linear-gradient(top, #ffd021, #f5a11b);
	background-image: -webkit-linear-gradient(top, #ffd021, #f5a11b);
	background-image: -o-linear-gradient(top, #ffd021, #f5a11b);
	background-image: linear-gradient(top, #ffd021, #f5a11b);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd021', endColorstr='#f5a11b', GradientType=0);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	border-color: #F5A11B #F5A11B #F5A11B;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);	
}
.btn.success{
	background-color: #57a957;
	background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957));
	background-image: -moz-linear-gradient(top, #62c462, #57a957);
	background-image: -ms-linear-gradient(top, #62c462, #57a957);
	background-image: -webkit-linear-gradient(top, #62c462, #57a957);
	background-image: -o-linear-gradient(top, #62c462, #57a957);
	background-image: linear-gradient(top, #62c462, #57a957);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	border-color: #57a957 #57a957 #3d773d;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.btn.info{
	background-color: #339bb9;
	background-image: -khtml-gradient(linear, left top, left bottom, from(#5bc0de), to(#339bb9));
	background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
	background-image: -ms-linear-gradient(top, #5bc0de, #339bb9);
	background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
	background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
	background-image: linear-gradient(top, #5bc0de, #339bb9);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	border-color: #339bb9 #339bb9 #22697d;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

.btn:active {
	-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn.disabled {
	cursor: default;
	background-image: none;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
	filter: alpha(opacity=65);
	-khtml-opacity: 0.65;
	-moz-opacity: 0.65;
	opacity: 0.65;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.btn[disabled] {
	cursor: default;
	background-image: none;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
	filter: alpha(opacity=65);
	-khtml-opacity: 0.65;
	-moz-opacity: 0.65;
	opacity: 0.65;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.btn.large {
	font-size: 15px;
	line-height: normal;
	padding: 9px 14px 9px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}
.btn.small {
	padding: 7px 9px 7px;
	font-size: 11px;
}

.btn.add{
	margin-bottom: 10px;	/* Voir si on fait un autre style ou pas. */	
}


:root .message, :root .btn {
	border-radius: 0 \0;
}
button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
	padding: 0;
	border: 0;
}
.close {
	float: right;
	color: #000000;
	font-size: 12px;
	font-weight: bold;
	line-height: 13.5px;
	text-shadow: 0 1px 0 #ffffff;
	filter: alpha(opacity=20);
	-khtml-opacity: 0.2;
	-moz-opacity: 0.2;
	opacity: 0.2;
	text-decoration:none;
}
.close:hover {
	color: #000000;
	filter: alpha(opacity=40);
	-khtml-opacity: 0.4;
	-moz-opacity: 0.4;
	opacity: 0.4;
}

/**
*	messages
*/
.message {
	position: relative;
	padding: 5px 14px;
	margin: 10px 0;
	
	color: #404040;
	background-color: #eedc94;
	 /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fceec1', endColorstr='#eedc94', GradientType=0);*/
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	border-color: #eedc94 #eedc94 #e4c652;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	border-width: 1px;
	border-style: solid;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.message.no-margin{ margin: 0; }
.message .close {
	*margin-top: 3px;
	/* IE7 spacing */

}
.message h5 {
	line-height: 18px;
}
.message p {
	margin-bottom: 0;
}
.message div {
	margin-top: 5px;
	margin-bottom: 2px;
	line-height: 28px;
}
.message .btn {
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}/*
.message {
	background-image: none;
	background-color: #fdf5d9;
	
	
	border-color: #fceec1;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	margin-bottom: 0;
    margin-top: 0;
    padding: 5px 14px;
}*/
.message ul, .message p {
	margin-right: 30px;
}
.message ul {
	margin-bottom: 0;
}
.message li {
	color: #404040;
}
.message .alert-actions {
	margin-top: 5px;
}
.message.error, .message.success, .message.info {
	color: #404040;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.message.error {
	background-color: #fddfde;
	border-color: #fbc7c6;
}
.message.success {
	background-color: #d1eed1;
	border-color: #bfe7bf;
}
.message.info {
	background-color: #ddf4fb;
	border-color: #c6edf9;
}
.message.margin{
	margin:10px 0;
}

/**
*	/boutons & messages
*/

/**
*	Messages d'erreur lies au validate
*/
.formList input.error, .formList select.error{border:1px solid red;}
.formList label.errorTipsy{
	margin-left : 5px;
	text-indent : -4000px;
	background : url('../img/error.png') top left no-repeat;
	width : 16px;
	height : 16px;
	display : inline-block;
	float : none;
}



/**
*	nav and menus
*/
 
#header{ margin-bottom: 10px; }
#footer{ 
	left: 0;
	margin: 0 auto;
	min-width: 700px;
	width: 100%;
	background: none repeat scroll 0 0 #666766;
	/*border-top: 1px solid #DBAE4E;*/
	bottom: 0;
	/*box-shadow: 2px -3px 5px #C5C5C5, -3px 0 5px #CDCDCD;*/
	height: 30px;
	position: fixed;
	right: 0;
	z-index: 9999;
}
#footer p{
	line-height: 30px;
	color:white;	
	margin:0 10px;	
}
#footer p a.mediactive{
	color :  #ED9623;
}
	
#nav ul.jd_menu{
	float: left; 
	margin: 0;
	border-right: 1px solid #DADADA; 
}

#nav ul.jd_menu li{ float : left; height: 65px;}
#nav ul.jd_menu li a{
	display: block;
	padding: 40px 5px 0 5px;
	margin: 0 5px;
}

#nav #utilisateurInformation{
	border-left:1px solid #C1C1C1;
	height:65px;
	float:right;	
	padding: 0 10px;
}

 
/**
*	Drag and drop
*/
.dragList {
 	border:1px solid grey;
 	float:left;
 	height:300px;
	width:48%;
	margin-right:3%;
	overflow-y: auto;
	margin-bottom: 0;
}
.bloc .bloc_content .content .dragList{ height: 225px; }

.dragList.last{ margin-right: 0; }

.dragList li{
 	background-color: #EEE;
    background-image: url('../img/dragHandler.png');
    background-repeat: no-repeat;
    background-position: 3% 50%;
    margin: 2px;
    padding: 5px 5px 5px 28px;
    cursor: move;}

ul.listeLettres li, #tagsFilter a.letterTag {
 	float : left;
 	margin-right : 8px;
 	font-weight : bold;
}


/*selection d'elements*/

ul.formList li .selectionElement li, .selectionElement li{
	float:left;
	width:auto;
	margin: 0 2px 2px 0;
}
ul.formList li .selectionElement li a.iconDelete, .selectionElement li a.iconDelete{
	cursor: pointer;
}



