/* Reset Css */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,blockquote,th,td { 
	margin:0;
	padding:0;
}
html,body {
	margin:0;
	padding:0;
	height: 100%;
	width: 100%;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img { 
	border:0;
}
address, caption, cite, code, dfn, th, var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
	font-family: Arial, Helvetica, sans-serif;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}

figure
{
	margin: 0;
	padding: 0;
}

HTML { margin: 0px; padding: 0px; width: 100%; font-size: 100%; }

HR.clear { background: none; border: 0; clear: both; display: block; float: none; font-size: 0; margin: 0; padding: 0; overflow: hidden; visibility: hidden; width: 0; height: 0; }


/**
 * GALERIES GRILLE
 */
.gallery0, .gallery1, .gallery2 {
}

/**
 * VIGNETTES GALERIE PHOTO *
 */
 
.gallery0 .thumb, .gallery1 .thumb {
	width: 80px;
	height: 80px;
	background-color: #000000;
	float: left;
	margin: 5px;
	overflow: hidden;
	border: 1px solid #000000;	
}
.gallery0 .thumb IMG, .gallery1 .thumb IMG {
	min-width: 100%;
	height: 100%;
}

.gallery2 .thumb {
	float: left;
	display: block;
	width: 101px;
	height: 112px;
	margin: 2px 7px;
	font-size: 0.8em;
	overflow: hidden;
}
.gallery2 .thumb TABLE {
	border-collapse: collapse;
	border: none;
}
.gallery2 .thumb .thumbtd { vertical-align: bottom; height: 70px; }
.gallery2 .thumb .gallerythumb {
	display: block;
	width: 98px;
	max-height: 70px;
	overflow: hidden;
	border: 1px solid black;
}
.gallery2 .thumb .gallerythumb IMG { width: 98px; }
.gallery2 .thumb .legend {
	text-align: center;
	vertical-align: middle;
	height: 30px;
}

*, *:before, *:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box; 
}


/* ÉLÉMENTS DE FORMULAIRE */

INPUT[type=text], INPUT[type=password] {
	padding:3px 5px 4px;
	color:black;
	width:190px;
}




/* LISTE DES TÂCHES */
.tasks > LI INPUT[type=text], .tasks > LI TEXTAREA {
	border: none; background-color: transparent; padding: 0px; margin: 0px; display: inline-block;
	font-family: titillium, sans-serif; font-size: 1em; border-bottom: 1px dashed silver;
	appearance:none;
	-moz-appearance:none;
	-webkit-appearance:none;
	height: 25px; vertical-align: top; resize: none;
}
.tasks > LI TEXTAREA { width: 65%; box-sizing: border-box; }
.tasks > LI:hover { background-color: rgba(255, 255, 255, 0.5); }
.tasks .taskdone { position: relative; top: -3px; }
/* aussi utilisé pour les factures */
.handle { opacity: .1; cursor: pointer; }
.handle:hover { opacity: 1; }
.placeholder { border: 1px dashed silver; background-color: rgba(255, 255, 255, 0.5); width: 70%; }

/* On cache les détails par défaut */
.task_edit_members, .taskduration.duration0 { display: none; }
/* Lorsqu'on ajoute une tâche, ces boutons ne sont pas utiles */
#task_0 .task_edit_members { display: block; }
#task_0 .taskmembers_btn.fa, #task_0 .taskduration_btn.fa { display: none; }

/* On cache les boutons par defaut */
.taskdelete_btn.fa,
	.tasksave_btn.fa,
	.taskduration_btn.fa,
	.taskmembers_btn.fa
	{ display: none; }

.tasks > LI:hover .taskdelete_btn.fa,
	.tasks > LI:hover .tasksave_btn.fa,
	.tasks > LI:hover .taskmembers_btn.fa,
	.tasks > LI:hover .taskduration_btn.fa
	{ display: inline-block; opacity: .5; }
.tasks > LI:hover .fa:hover	{ opacity: 1; }

.taskduration INPUT[type=text] {
	padding: 2px !important;
	width: 45px; text-align: right;
}

.taskduration { display: inline-block; }
.task_members { list-style-type: none; list-style-position: inside; display: inline-block; }
.task_members LI {
		display: inline-block; cursor: default;
		background-color: silver;
		padding: 3px; border-radius: 8px; margin-right: 2px; height: 15px;
		font-size: 0.6em; color: white; line-height: 8px; text-align: center;
}
.task_edit_members { margin-left: 65%; }
.task_edit_members LABEL { color: white; }
.taskadd_btn { margin-left: 17px; margin-top: 5px; display: block; }
/* COULEURS DES PUCES, DEPUIS GOOGLE AGENDA
	Remplacer _n par le numéro du compte quand il sera créé
*/
/* Adrien */
.customer_1 { background-color: rgb(159, 198, 231) !important; }
/* Julien */
.customer_2 { background-color: rgb(251, 233, 131) !important; color: black !important; /* SI LE TEXTE N'EST PAS VISIBLE EN BLANC */ }
/* Adeline */
.customer_3 { background-color: rgb(246, 145, 178) !important; }
/* Sylvain */
.customer_17 { background-color: rgb(73, 134, 231) !important; }
/* Aurélie */
.customer_20 { background-color: rgb(185, 154, 255) !important; }
/* Dom */
.customer_19 { background-color: rgb(250, 87, 60) !important; }
/* Guillaume */
.customer_21 { background-color: rgb(172, 114, 94) !important; }
/* Chloé */
.customer_47 { background-color: #ADFF2F !important; color: black !important;}
/* Jean-Pierre */
.customer_n { background-color: silver !important; /* SUR GOOGLE ROUGE COMME DOM DONC J'AI MIS GRIS À LA PLACE */ }
/* Boss */
.customer_n { background-color: #16A765 !important; }


/** COMPTABILITE **/
/* GENERAL / CATALOGUE */
.comptabilite LABEL { display: inline-block; text-align: right; width: 130px; margin-right: 4px; vertical-align: top; margin-top: 2px; }
.comptabilite LABEL:after { content: " :"; }
.comptabilite INPUT[type=text], .comptabilite TEXTAREA {
	font-family: titillium, sans-serif; font-size: 1em; border: 1px solid black; background-color: white;
	padding: 1px 3px; margin-bottom: 4px;
	appearance:none;
	-moz-appearance:none;
	-webkit-appearance:none;
}
.comptabilite INPUT[type=text] { width: 250px; }
.comptabilite TEXTAREA { width: 450px; resize: none; line-height: 1.1em; }
.bottombuttons { text-align: right; }

/* FACTURES / DEVIS */
#orderform INPUT[type=text] { width: 100px; }
#orderform TD { vertical-align: top; }
#orderform .reference { width: 110px; }
#orderform .quantity { width: 65px !important; text-align: right; }
#orderform INPUT[type=text]:disabled { border-color: silver; color: silver; }
#orderform THEAD TH { border-bottom: 1px solid silver; font-weight: bold; }
#orderform TFOOT TH { padding-top: 10px; }
.comptabilite TD.label { text-align: right; }
.comptabilite TD.label LABEL { display: inline; width: auto; text-align: auto; }
.comptabilite .locked { opacity: .5; }

/* BULLE EXPORT PDF*/
#pdf_settings {
	position: absolute; z-index: 2; display: none;
	padding: 15px; 
	border: 1px solid silver; border-radius: 15px;
	background-color: white;
	font-size: 0.8em;
	-webkit-box-shadow: 0px 0px 15px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow:    0px 0px 15px 0px rgba(50, 50, 50, 0.5);
	box-shadow:         0px 0px 15px 0px rgba(50, 50, 50, 0.5);
}
#pdf_settings LABEL { width: 130px; }
#pdf_settings LABEL#action_label { width: 60px; }
#pdf_settings .close_btn { position: absolute; top: -6px; right: -6px; cursor: pointer; font-size: 1.3em; }
.arrow_right_wrapper {
	position: absolute; right: -11px; top: 50%; margin-top: -10px;
	width: 11px; height: 19px;
	overflow: hidden;
}
.arrow_right {
	position: absolute; width: 12px; height: 12px; top: 3px; left: -8px;
	border: 1px solid silver; background-color: white;
	transform:rotate(45deg);
	-ms-transform:rotate(45deg);
	-webkit-transform:rotate(45deg);
}

/**
 * FORMULAIRE DE CONTACT
 */

.contactform input, .contactform textarea {border: 1px solid #cccccc; background-color: #ffffff; margin-left: 2px; margin-bottom: 3px; }
.contactform input { height: 20px; width: 200px;}
.contactform textarea {height: 60px; width: 250px; }
.contactform .contactsubmit {margin-left: 152px; width: 60px; height: 25px;}
.contactform label { width: 150px; float: left; text-align: right; line-height: 22px; }

/* fond */

BODY {
	background-image: url('images/bg.jpg');
	background-size: cover;
	font-family: 'titillium';
}

A { color: black; text-decoration: none; }

/* Header */

HEADER {
	width: 100%;
	height: 230px;
	background-image: url('images/header.jpg');
	position: relative;
	box-shadow: 0px 0px 10px rgb(153, 153, 153);
}

header h1{
	font-size: 3em;
	font-weight: bold;
	position: absolute;
	right: 300px;
	line-height: 195px;
	letter-spacing: 15px;
	text-shadow: 0px 0px 8px rgb(255,255,255);
}

#menu{
	position: absolute;
	bottom: 0px;
	width: 100%;
	height: 35px;
	line-height: 35px;
	background-color: rgba(255,255,255,0.6);
	border-top: 1px solid rgb(163, 163, 163);
	border-bottom: 1px solid rgb(163, 163, 163);
	overflow: hidden;
	padding-left: 350px;
}

#menu a{
	color: black;
	text-decoration: none;
	text-shadow: 0px 2px 2px rgb(155, 155, 155);
	-webkit-transition: all 0.3s linear 0s;
	-moz-transition: all 0.3s linear 0s;
	-ms-transition: all 0.3s linear 0s;
	-o-transition: all 0.3s linear 0s;
	transition: all 0.3s linear 0s;
}

#menu a:hover{
	color: #b5f26c;
	text-shadow: 0px 2px 2px rgb(0,0,0);
}

#menu li{
	display: inline-block;
	margin-left: 40px;
}

#menu li.selected a{
	color: #b5f26c;
	text-shadow: 0px 2px 2px rgb(0,0,0);
}

/* Page */

#corps{
	padding: 30px;
}

.center { text-align: center; }

.box{
	background-color: rgba(255,255,255,0.9);
	box-shadow: 0px 0px 5px rgb(50, 50, 50);
	border-radius: 4px 4px 4px 4px;
	margin: 0px;
	display: inline-block;
	text-align: left;
}

.boxtitle{
	background-color: #a5ec76;
	border-radius: 4px 4px 0 0;
	border-bottom: 1px solid rgb(200,200,200);
	padding: 5px;
	text-align: center;
	margin: 0px;
}

.boxbody{
	width: 100%;
	height: 100%;
	padding: 20px;
}

#formconnect{
	width: 400px;
	text-align: right;
}

.error{
	text-align: center;
	color: red;
	text-shadow: 0px 0px 3px rgb(255,255,255);
}

.message{
	text-align: center;
	color: #a5ec76;
	text-shadow: 0px 0px 3px rgb(255,255,255);
}

.bold{
	font-weight: bold;
}

.underline{
	text-decoration: underline;
}

.center{
	text-align: center;
}

#formadd{
	width: 900px;
}

#liste_dossier, .bigbox{
	width: 75%;
}

.tr1 TD{
	background-color: #EFEFEF !important;
}

.tr2 TD{
	background-color: #FF8E8E !important;
}

.faible{
	color: #EFEFEF;
}

.haute{
	color: red;
}

.number { text-align: right; }
TD.price:after, TH.price:after { content: "\00a0€"; }

.trdossier:hover TD, .trclient:hover TD { background-color: #cddcdf !important; cursor: pointer; }

.clos{
	display: none;
}

.fancy h2, .underline_title{
	text-align: center;
	font-weight: bold;
	font-size: 1.5em;
	border-bottom: 2px solid black;
}

.h2_details:hover, .h2_events:hover, .h2_taches:hover, .h2_pieces:hover{
	text-decoration: none;
	color: rgb(150,150,150);
	border-bottom: 2px solid rgb(150,150,150);
	cursor: pointer;
}

.h4_event_etat{
	margin-bottom: 10px;
}

.h4_event_etat:hover{
	color: rgb(150,150,150);
	cursor: pointer;
}

.fancy .pcontact{
	padding-left: 10px;
	font-weight: bold;
	font-size: 1.2em;
	border-bottom: 1px dotted black;
}

#ataches:hover{
	color: rgb(150,150,150);
}

.list_event p{
	border-bottom: 2px dashed black;
	padding-bottom: 15px;
}

.underline_title{
	text-align: center;
	font-weight: normal;
	font-size: 1.5em;
	border-bottom: 1px solid black;
	margin-bottom: 20px;
}

.details{
	display: none;
	width: 750px;
}

.dropfile{  
	border:3px dashed #CDCACA !important;	
	color:#ABA9A9 !important;	
	display:inline-block !important;	
	height:101px !important;	
	width:150px !important;	
	position:relative !important;	
	margin-bottom:6px;	
	margin-right:5px;
	text-align: center;
}

.dropfile .progress{  
	position:absolute;	
	left:0;	
	bottom:0;	
	right:0;	
	background-color:#60cf16;
	height:0;	
	color:#FFF;	
	font-weight:bold;	
	text-align:center;	
	z-index:12;	
}

.hover{
	color: #60cf16 !important;
	border-color: #60cf16 !important;
}

.hover .instructions{  
	color:#60cf16 !important;
}

.dropfile .instructions{  
	position:absolute;	
	top:50%;	
	left:0;	
	right:0;	
	font-weight:bold;	
	color:inherit;	
	font-size:11.7pt;	
	height:40px;	
	margin-top:-21px;	
	text-align:center;	
	z-index:9;	
}

.delete_pj{
	position: absolute;
	top: -3px;
	right: 3px;
}

.delete_pj:hover{
	cursor: pointer;
}

.delete_pj i{
	color: #ABA9A9;
}
#contacts_list LABEL, #formadd LABEL { display: inline-block; width: 120px; text-align: right; }
#contacts_list LABEL:after, #formadd LABEL:after { content: " :"; margin-right: 5px; }
.contact { margin-bottom: 30px; }

.h3_contact{ margin-bottom: 10px; text-decoration: underline; padding-left: 15px; }

.h3_contact:hover{ cursor: pointer; color: rgb(100,100,100); }

.h3_contact a { margin-left: 15px; }

.contact { display: none; }

.fa, .locked .fa {
	font-size: 1.4em !important;
}

#print{
	display: none;
}

.priorite_1 a{
	color: orange;
}

.priorite_2 a:not(.scroll_brief){
	color: red !important;
}

.scroll_brief{
	color: black !important;
	font-size: 0.7em !important;
}

.scroll_brief:hover{
	text-decoration: underline;
}