/*body {
	background-color:#f0f1f5;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
	background-color:#f0f1f5;
}
*/
html, body{
	font-size: 12px;
}

h3{
	margin-top:10px;
}
[draggable] {
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  /* Required to make elements draggable in old WebKit */
  -khtml-user-drag: element;
  -webkit-user-drag: element;
}
.table-striped > tbody > tr:nth-of-type(2n+1).table_titre, .table-striped .table_titre{
	background-color:#e5e5ec;
}

#niveau_password
{
    background-image: url("img/bg_password_score.jpg");
    background-repeat:repeat-y;
    background-position: 0 0;
    position:absolute;
    width: 100px;
    z-index: 0;
    border:1px solid black;
    text-align:center;
    margin-left:5px;
}
.navbar {
	min-height: 40px;
}
.navbar-btn{
	margin:0px;
}
.navbar-right{
	margin: 0px;
}
.navbar-text{
	margin-top: 11px;
	margin-bottom: 11px;
}

.dropdown-menu{
	font-size:12px;
}
.navbar-nav > li > a{
	padding-top: 10px;
	padding-bottom: 10px;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus{
	background-color:#e6e6e6;
	border-color: #adadad;
}
.navbar-default .navbar-nav > li.dropdown > a:hover, .navbar-default .navbar-nav > li.dropdown > a:focus{
	background-color:transparent;
}

.maison_edit{
	position:absolute;
	right:0px;
	left:0px;
	text-align:center;
	padding-top: 15px;
	padding-bottom:15px;
	margin-bottom: 60px;
	background-color:#ddd;
}
.maison_edit canvas{
	
}
#maison_quadrillage{
	display:inline;
	position:absolute;
	background-image:url('img/quadrillage.png');
}
.maison_edit canvas:hover{
	cursor:crosshair;
}

.btn-tools{
	position:absolute;
	top: 20px;
	left: 20px;
	width: 150px;
}
.btn-tools .btn{
	width: 100%;
	margin-bottom: 15px;
}
.container{
	position:relative;
}

.button_generer_bon_commande {
	margin-top: 10px;
	text-align:right;
}

#edition_fiche_technique textarea{
	height: 80px;
}

.upload_photos{
	margin-top: 10px;
	border: 1px dashed black;
	background-color:#f4f4f4;
	min-height: 80px;
	width: 100%;
	border-radius: 5px;	
	position:relative;
}
.upload_photos.dragging{
	border-color:green;
	background-color:#dfd;
}
.upload_photos .upload_title{
	padding: 1px 5px;
	background-color:#ddd;
	position: absolute;
	border-radius: 5px;
	display:inline;
	top: -7px;
	left: -10px;
	border: 1px solid silver;
	font-size: 0.8em;
	font-style: italic;	
}

.input-xs{
	height: 22px;
    padding: 2px 5px;
    font-size: 12px;
    line-height: 1.5; //If Placeholder of the input is moved up, rem/modify this.
    border-radius: 3px;
}

.input-group-xs>.form-control,
.input-group-xs>.input-group-addon,
.input-group-xs>.input-group-btn>.btn {
    height: 22px;
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
}

.small-padding .help-block{
	margin-top: 0px;
	margin-bottom: 1px;
}

.form-group{
	margin-bottom: 8px;
}

.small-padding {
	margin-bottom: 3px;
}

.img_conents{
	margin: 15px;
}


.upload_photos .clearfix{
	margin-bottom:10px;
}

.img.deleting{
	border: 2px solid red;
}

.img.deleting a.delete_image{
	color:red;
	font-size: 32px;
	margin-top: 1px;
	margin-right: 8px;
}

.img .img_zoom:hover{
	cursor: zoom-in;
}

.btn_upload_photo{
	display:block;
	height: 50px;
	width: 50px;
	text-align:center;
	vertical-align: middle;
	float:left;
	margin: 3px;
	
}

.btn_upload_photo i{
	font-size: 24px;
	margin-top: 6px;
}

.img {
	display:block;
	width: 50px;
	height: 50px;
	text-align:center;
	vertical-align: middle;
	float:left;
	margin: 3px;
	padding: 0px;
	height: 50px;
	border: 1px solid black;
	border-radius: 5px;
	overflow:hidden;
	position: relative;
}
.img a.delete_image{
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 10;
	padding-right: 2px;
	padding-left: 2px;
	color: #844;
}
.img a.delete_image:hover{
	color: red;
}

.progress_block{
	display:block;
	width: 50px;
	text-align:center;
	vertical-align: middle;
	float:left;
	margin: 3px;
	padding: 5px;
	height: 50px;
	border: 1px solid black;
	border-radius: 5px;
}
.progress_block i{
	font-size:24px;
}
.progress{
	height: 18px;
	border: 1px solid grey;
}
.progress-bar{
	line-height: 17px;
}
.bar {
    height: 12px;
    background: green;
}

.table-bordered td.impaye {
	border:2px solid red;
}
.impaye {
	color: red;
}
.impaye .facturation_bloc_paye{
	color: black;
}

.planning {
	white-space: nowrap;
	overflow-x: scroll;
	border: 1px solid silver;
	
}
.planning-row{
	height: 70px;
}
.planning-row.row-month{
	height: 20px;
}
.planning-bloc{
	border-right:1px solid silver;
	border-bottom:1px solid silver;
	width: 80px;
	height: 70px;
	display: inline-block;
	position: relative;
}

.planning-bloc.planning-bloc_day_avalable.droppable{
	border: 2px dashed black;
	background-color: #ecf;
}

.planning-bloc.planning-bloc_day_avalable.droppable_jour_suivants{
	border: 1px dashed black;
	background-color: #e7daff;
}

.planning-bloc_conge{
	border-right:1px solid silver;
	border-bottom:1px solid silver;
	width: 20px;
	height: 70px;
	display: inline-block;
	position: relative;
	background-color: #aaa;
}
.row-month .planning-bloc_conge, .row-month .planning-bloc{
	overflow: hidden;
}

.planning-bloc_month{
	display: inline-block;
	position: relative;
	border-bottom:1px solid #aaa;
	border-right: 1px solid black;
	border-left: 1px solid black;
	text-align:center;
	height: 20px;
	overflow: hidden;
	font-weight:bold;
}

.last_day_of_month{
	border-right: 2px solid black;
}

.planning-bloc_month.impaire{
	background-color: #bbc;
}
.planning-bloc_month.paire{
	background-color: #bbd;
}

.installation{
	margin-top: 5px;
	position: absolute;
	background-color: #ccf;
	height: 60px;
	z-index: 500;
	border: 1px solid black;
	overflow:hidden;
	padding: 5px;
}

.installation.preplanif{
	cursor: move;
}
.installation.preplanif:hover{
	background-color: #bbf;
}
.installation.preplanif.dragging{
	border: 2px solid black;
	z-index: 6000;
	background-color: #aaf;
}
.installation.moved{
	background-color: #fcc;
}
.installation.moved:hover{
	background-color: #fbb;
}
.installation h5{
	font-size: 11px;
	margin: 0px;
}
.installation p{
	font-size: 11px;
	line-height: normal;
}
.planning-bloc .text_vertical{
	transform: rotate(300deg);
	transform-origin: left top 0;
	position: absolute;
	left: 15px;
	top: 55px;
}
.planning-bloc_conge .text_vertical{
	transform: rotate(270deg);
	transform-origin: left top 0;
	position: absolute;
	left: 1px;
	top: 64px;
	color:#eee;
}

.planning-nom_equipe{
	position:absolute;
	margin-left: 5px;
	margin-top: 25px;
	font-weight: bold;
}
.planning-title{
	background-color: #ccc;
}
.planning-bloc_conge.planning-title{
	background-color: #aaa;
}
.impaire .planning-bloc {
	background-color: #ddd;
}
.paire .planning-bloc {
	background-color: #eee;
}

/*#page_bon_commande{
	position: relative;
}

.button_on_tab {
	position:absolute;
	right: 0px;
	top: 0px;
}	
*/

#bloc_signature{
	display:block;
	border: 1px solid black;
	margin: auto;
	cursor: crosshair;
}

tr.paire{
	background-color: #eef;
}
tr.impaire{
	background-color: #ffe;
}

.resize-installation{
	display:none;
	height: 100%;
	width: 10px;
	font-weight: bold;
	position: absolute;
	top: 0px;
	right: 0px;
}
.resize-installation:hover{
	background-color: blue;
	cursor: col-resize;
}

.avec_infobulle{
	position: relative;
}

.avec_infobulle .infobulle{
	display:none;
}

.avec_infobulle:hover .infobulle {
	position: absolute;
	display: inline;
	top: 30px;
	left: 30px;
	border: 1px solid grey;
	padding: 8px;
	background-color: #eee;
	z-index: 10;
	white-space:nowrap;
}