/**
*	CSS Pour les pages concernant le bon de travail
*
**/

.state{
	position: relative;
	margin-right: 30px;
	margin-bottom: 10px;
  	color: #444;

  	height: 20px;
  	padding: 0px 5px;

	/* bord arrondie */
 	border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;

}

.clearfix{
	clear: both;
}

.header_module{
	  border-bottom: 1px solid #ddd;
	  background-color: #F0F0F0;
}

.header_module:not(.first){
	border-top: 1px solid #ddd;
}

.box{
	display: block;
	position: relative;
	line-height: 20px;
    padding: 15px 8px 15px 15px;
    width: 96%;
    margin: 10px 50px 10px 0px;
    color: #666666;
    border-radius: 2px;
}

.box-erreur{
    background-color: rgba(252, 202, 193, 0.9);
    border: 1px solid #E18B7C;
}
.box-erreur p::before{
	content: 'Erreur ! ';
	font-weight: bold;
}

.box-info{
	background-color: rgba(222, 238, 255, 0.9); 
    border: 1px solid #AFD3F2;
}
.box-info p::before{
	content: 'Information ! ';
	font-weight: bold;
}

.close-box{
	position: absolute;
	right: 5px;
	top: 5px;
	width: 20px;
	cursor: pointer;
}

/******************************* ONGLET ***********************************/

#onglets{
	width: 100%;
	padding-left: 0px;
	float: left;
	margin-top: 10px;
}

#onglets li{
	text-align: center;
	margin-left: 10px;
	margin-top: 5px;
	float: left;
	border-bottom: 0px;
}

#onglets li:first-child{
	margin-left: 0px;
}

#onglets li:hover{
	background-color: transparent;
}

#onglets li a{
	 letter-spacing: 0px;
  	font-size: 1em;
  	border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  	padding: 5px 20px;
  	background-color: transparent;
  	border: 1px solid #1abc9c;
  	font-weight: bold;
  	color: #1abc9c;

  	-webkit-transition: all 500ms;
  	-o-transition: all 500ms;
  	transition: all 500ms;
}

#onglets li a:hover{
	background-color: #1abc9c;
	color: white;
}

#onglets li.selected a{
	background-color: #1abc9c;
	color: white;
} 

.onglet{
	float: left;

	margin-top: 20px;
	padding-bottom: 80px;

  	width: calc(100% - 30px);
  	width: -webkit-calc(100% - 30px);
  	width: -moz-calc(100% - 30px);
}

.onglet li{
	border-bottom: 0px;
	float: left;
	background-color: white;
}

.onglet li:hover{
	background-color: transparent;
}

#info_comp li:nth-child(4){
	width: 100%;
	float: left;
	margin-top: 20px;
}

.textarea_bt{
	height: 100px;
	margin-left: 10px;
	margin-top: 10px;
	border: 1px solid #009ac1;
	color: #444;

	
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	
}

.textarea_bt[disabled=disabled]{
	border: 1px solid #999;
	color: #444;
    background-color: #D8D8D8;
}

#commentaire textarea{
	margin-top: 10px;
	border-radius: 2px;
	width: 70%;
	height: 105px;
	line-height: 20px;
}

#commentaire .info_module{
	width: 40%;
}

a.trash {
    background: url('../icone/trash.png') 50% 50% no-repeat;
    background-size: 20px;
    width: 20px;
    height: 20px;
    display: block;
    cursor: pointer;
}

/********************************** EDIT ***********************************/

.input_edit{
	width: 200px;
	border: 1px solid #009ac1;
	padding: 5px;
	margin-left: 0px;

	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
}

.input_date{
	width: 50px;
}

select{

	-moz-appearance: none;
	border-radius: 2px;
	padding: 0px 10px;
}

.select_edit{
	height: 29px;
	border: 1px solid #009ac1;
}

.table_bt{
	width: 80%;
	font-size: 1.1em;
}

table th{
	font-size: 1em;
	height: 40px;
}

thead tr{
	background: #ffb058;
	color: white;
}

a.fdTableSortTrigger {
    color: white;
}

.table_bt thead th:first-child{
	border-radius: 2px 0px 0px 0px;
}

.table_bt thead th:last-child{
	border-radius: 0px 2px 0px 0px;
}bt

.table_bt td{
	height: 30px;
	text-align: center;
}

.t_add{
	width: 50px;
	cursor: pointer;
}

#tech{
	background: url('../icone/add_user.png') 50% 50% no-repeat;
	background-size: 20px;
}

.add_row{
	display: none;
	 position: absolute;
  
	top: 55%;
  
	right: 25%;
	width: 50%;
  	margin-bottom: 50px;
	padding: 10px 10px;
  	box-shadow: 0px 0px 10px #999;
  	-moz-box-shadow: 0px 0px 10px #999;
  	-webkit-box-shadow: 0px 0px 10px #999;
	/* border: 1px solid #ddd; */
  
	background-color: #E5E5E5;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  
	/* text-align: center; */
  
	/* height: 300px; */
}

.add_row h6{
	color: #AAA;
 	margin-bottom: 10px;
  	font-size: 1.3em;
}

.block{
	display: block;
}

.add_row input{
	width: 100%;
}

.add_row input[type=submit]{
	font-size: 1.1em;
	color: white;
	margin-top: 10px;
	width: 50px;

	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
}

#resultat_tech li{
	height: 30px;
}

.table_bt tr:nth-child(even){
	background-color: #F0F0F0;
}

select[name=state]{
	margin-left: 30px;
  	position: relative;
  	margin-top: 0px;
  	top: initial;
  	right: initial;
}

.resultat{
	padding-left: 0px;
	height: 250px;
	overflow-y: scroll;
	width: 100%;
	line-height: 30px;
}

.resultat li{
	width: 100%;
	height: 30px;
	padding-left: 10px;
}

.resultat li:hover{
	background-color: #C7EDEF;
}

input#filesP {
    /*border: 1px solid#ACACAC;*/
    /*border-radius: 5px;*/
    padding-left: 0px;
}

/* Bouton ajout compteur de la page edit_bt et add_bt */
#add_compteur{
	font-size: 1em;
	width: 150px;
}

.textarea_edit{
	border: 1px solid #009ac1;
}

/********************************* ADD ************************************/

.input_add{
	width: 200px;
	border: 1px solid #1ef281;
	height: 30px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
}

.input_add:focus{
	outline-color: #1ef281;
}

.add{
	border: 1px solid #1ef281;
	height: 30px;
}

.add:focus{
	outline-color: #1ef281;
}

/*.textarea_bt_add{
	width: 80%;
	height: 100px;
	
	margin-left: calc(10% - 30px);
	margin-left: -webkit-calc(10% - 30px);
	margin-left: -moz-calc(10% - 30px);

	border: 1px solid #1ef281;
	color: #444;

	/*border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;*/
}*/



#resultat_equip{
  	display: none;
  	font-size: .8em;
}

#resultat_equip li:hover{
	background-color: #C7EDEF;
}

#resultat_demandeur{
	display: none;
}

ul#resultat_demandeur.equip_ask{
	top:138px;
}

#resultat_demandeur li:hover{
	background-color: #C7EDEF;
}

.result_search{
	background-color: #fff;
  	z-index: 10;
  	position: absolute;
  	top: 35px;
  	right: 0px;
  	min-width: 200px;
  	line-height: 30px;
  	padding: 0px;
  	border-radius: 2px;
  	box-shadow: 0px 2px 4px rgba(0, 0, 0, .2);
}

.result_search li{
	padding-left: 10px;
	border: 0px;
	padding-bottom: 10px;
}


.textarea_add{
	border: 1px solid #1ef281;
}

.textarea_add:focus{
	outline-color: #1ef281;
}

