@keyframes spin {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

.spin {
  animation: spin 1s linear infinite;
}

/* ========================== TAG OVERLOAD ==============================*/
body{
	margin: 0;
	font-family: var(--font-sans-serif);
	font-size: 16px;
	line-height: 20px;
	color: black;
  padding-bottom: 20px;
  padding-top: 130px;
}

@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
	body{
		font-size:18px;
		padding-top: 0px;
	}
}

header{
	border-bottom:3px solid grey;
		position: fixed;
		z-index:1;
		width: 100%;
		top: 0;

}
@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
	header{
		position: static;
		width: 100%;
		top: auto;
	}
}

#affichage:-webkit-full-screen {
  background-color: #333;
  color: white;
  height: 100%;
  overflow-y: auto;
  width: 100%;
}

#affichage:-ms-fullscreen {
  background-color: #333;
  color: white;
  height: 100%;
  overflow-y: auto;
  width: 100%;
}

#affichage:-moz-full-screen {
  background-color: #333;
  color: white;
  height: 100%;
  overflow-y: auto;
  width: 100%;
}

#affichage:fullscreen {
  background-color: #333;
  color: white;
  height: 100%;
  overflow-y: auto;
  width: 100%;
}

header, #nav, .autComRoot {
  z-index: 999;
}

td{
	vertical-align:top;
}

nav{
  position: fixed;
  z-index:1;
  top: 53px;
  width: 100%;
  height: 77px;
  background: #E9E9E9;
  overflow-y: hidden;

}
@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
	nav{
		position: static;
		top: auto;
		width: 100%;
		height: auto;
		background: none;
	}
}

h1{font-size:26px}
h2{font-size:16px; margin: 20px 0 5px 0}
h3{font-size:16px}
h4{font-size:16px; margin: 0}
@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
	h1{font-size:20px}
	h2{font-size:18px}
	h3{font-size:18px}
	h4{font-size:18px; margin: 0}
}

h1 .material-icons {
  font-size: 32px;
}

section{
  box-sizing: border-box;
	text-align:left;
	width: 100%;
}


section > h1:nth-of-type(n+2){margin-top:40px}

section .marge{margin:5px;}
section .decale{margin:5px 5px 5px 15px;}
@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
	section{
		min-width:initial;
		width:100%;
	}

}

input[type="email"],
input[type="password"],
input[type="tel"],
input[type="text"],
select,
textarea,
div.wysiwyg {
	background:#FAFBF9;
  border: 0;
  border-bottom: 1px solid lightgrey;
	color:#0A5AD2;
  font-family: inherit;
	font-weight: bold;
	font-size: 16px;
  padding: 2px;
}

input[disabled],
input[readonly],
textarea[disabled],
textarea[readonly] {
  cursor: not-allowed;
  pointer-events: none;
}

textarea {
  margin-bottom:0; /* ne pas changer sinon vérifier l'autocompleteur dans avant vente'*/
}

.ck-content {
  background-color: #FAFBF9;
  color: #0A5AD2;
  font-family: var(--font-monospace);
  font-size: 14px;
  min-height: 400px;
  overflow-x: hidden;
}

textarea.ck-content {
  width: 100%;
}

.ck-sticky-panel .ck-sticky-panel__content {
  top: 130px !important;
}

.page-link {
  min-width: 40px;
}

/* ========================== UTILITAIRES ==============================*/

.w40 { width: 40px; }
.w50 { width: 50px; }
.w50 { width: 50px; }
.w60 { width: 60px; }
.w80 { width: 80px; }
.w100 { width: 100px; }
.w120 { width: 120px; }
.w140 { width: 140px; }
.w150 { width: 150px; }
.w160 { width: 160px; }
.w180 { width: 180px; }
.w200 { width: 200px; }
.w220 { width: 220px; }
.w240 { width: 240px; }
.w250 { width: 250px; }

.noResult{
	font-style:italic;
	font-weight:bold;
	text-align:center;
	color:orange;
}

.selected,
.userColor{color:orange}
.userColor .material-icons { color: black; }

.clientColor{ color:#0A5AD2;}
.i{ font-style:italic}
.b{ font-weight:bold}
.c{ text-align:center}
.r{ text-align:right}
.l{ text-align:left}
.ib{display:inline-block; vertical-align: top;}
.cb{clear:both}
.cp{cursor:pointer}
.cph{cursor:pointer}
.cph:hover{background:#fff3e0}
.dn{display:none}
.ma{margin-left:auto;margin-right:auto;}
.nw{white-space:nowrap;}
.fr{float: right;}

.max {
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
	width: 100%;
}
.cadre{
	background:#E9E9E9;
	padding:10px;
	border-radius:16px;
}

button.cadre {
  border: none;
  font-size: 16px;
}

.cadreHorizon{
	background:#E9E9E9;
	padding:0 15px;
	border-radius:16px;
}
.decaleHeader{
	position:absolute;
	margin-top:-145px;
}
.pager{
	text-align:center;
	margin:0 0 30px 0;
	max-width:1000px;
}
.standard{
	margin: 5px 0;
    border-bottom: 1px solid green;
}
.info{
	color:green;
	font-style:italic;
}
.barreEtat{
	text-align:center;
	border-radius:10px;
}
.alternator .alternated:nth-child(2n){
	background:#dbe6f6;
}
.cliquable{
	color:orange;
	cursor:pointer;
}
.notice{color:green}
.warning{color:orange}
.fatal{color:red}
.logoBg{
	background:#0d67b5;
	background: linear-gradient( to left, #3b8edf, #ffffff);
}
.logo{
	height:50px;
	background-image:url("icones/logo_big.png");
	background-repeat:no-repeat;
}
@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
	.logo{
		height:30px;
		background:url("icones/logo_big.png") no-repeat;
	}
}
.scroll{overflow:auto;}
.pager span{ cursor:pointer}
.pagerCurrent{font-weight:bold; color:#d58a00; text-decoration:underline}
.discrete{
	font-size:14px;
	font-style:italic;
	color:grey;
}
.ancreUser{
	font-size: 14px;
    margin-top: 10px;
}
.ancreUser a{
	color:#4045c7;
}

ul.largeUl li{
	list-style: none;
	height:45px;
}
.titleIcone{
	margin:0 10px 0 0;
}
.icone{
	display:inline-block;
	width:16px;
	height:16px;
}
.icone.gagnee{ background-image: url("icones/Accept.png")	}
.icone.perdue{ background-image: url("icones/Delete.png")	}
button.but{
	padding: 3px;
    height: 26px;
}
.bouton{
	padding:3px 8px 3px 24px;
	background-repeat: no-repeat;
	background-size:15px;
	background-position: 5px 2px;
	background-color:#E9E9E9;
	border:2px solid #bbbbbb;
	border-radius:15px;
	color:green;
	font-size:12px;
	line-height:13px;
}

.bouton:hover{
	background-color:#dedede;
	border-color:#8da78d;
	cursor:pointer;
}

.bouton.text{
	padding:3px 8px 3px 8px;
}
.bouton.noText{
	padding:0;
	width:29px;
	height:23px;
	margin:0 0 0 2px;
	border-radius:10px;
	background-color:lightgrey;
}
.paiement .bouton.noText{
	width:120px;
}
.bouton.valider{ background-image: url("icones/Accept.png")	}
.bouton.annuler,
.bouton.fermer{ background-image: url("icones/Delete.png")	}
.bouton.supprimer{ background-image: url("icones/poubelle.png")	}
.bouton.imprimer{ background-image: url("icones/Impression.png")	}
.bouton.observations{ background-image: url("icones/comments.png")	}
.bouton.mail{ background-image: url("icones/Mail.png")	}
.bouton.ticket{ background-image: url("icones/ticket.png")	}
.bouton.intervention{ background-image: url("icones/intervention.png")	}
.bouton.connaissance{ background-image: url("icones/connaissance.png")	}
.bouton.avantVente{ background-image: url("icones/avantVente.png")	}
.bouton.client{ background-image: url("icones/client.png")	}
.bouton.deconnexion{ background-image: url("icones/Power.png")	}
.bouton.oeil{ background-image: url("icones/oeil.png")	}

.zzz{
	height: 18px;
    margin: 0 3px -4px 0;
}

.bouton.create,
.bouton.deconnexion,
.bouton.profile,
.bouton.supprimer {
	float: right;
}
.bouton.oeil {
	margin-top:10px;
}

.listeIcone li{
	list-style: none;
}

ul.fichier,
ul.contrat{
	-webkit-padding-start: 0;
}

ul.fichier li,
ul.contrat li{ list-style: none;}
ul.contrat li{
	border-radius:8px;
	border:2px solid grey;
	margin:0 0 10px 0;
	padding:5px;
}
ul.fichier li{ height:27px;}

ul.fichier .bouton{
	float: right;
}
/* miniPopUp */
.miniPopUpBack{
    position: fixed;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 1;
    opacity: 0.6;
}
.miniPopUp{
	  position: fixed;
    max-width: 1240px;
    min-width: 960px;
    border: 3px solid #d0d0d0;
    border-radius: 10px;
    background: #ececec;
    padding: 10px;
    z-index: 1;
    margin: 10px auto;
    left: 0;
    right: 0;
    max-height: 400px;
    overflow: auto;
}
@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
	.miniPopUp{
		position: fixed;
		width:auto;
		border: 3px solid #d0d0d0;
		border-radius: 10px;
		background: #ececec;
		padding: 10px;
		z-index: 1;
		margin:auto;
		left: 0;
		right: 0;
		top:0;
		bottom:0;

		overflow: auto;
	}
}
.miniPopUp.error{
	border-color:orangered;
}
.miniPopUp .fermer{
	position:absolute;
	right:0;
	margin: 0 7px 0 0;
}


/* legende */
.legendeContainer{
	vertical-align:top;
	display:inline-block;
	margin:0 0 5px 0;
}
.legendeContainer h1{
	display:block;
	margin:5px 0 10px 0;
}
.legendeContainer .legende{
	display:inline-block;
}
.caseLegende{
	display:inline-block;
	height:20px;
	width:20px;
	margin:0 5px -4px 0;
	border-radius:8px;
    padding: 0 1px 0 0;
    text-align: center;
}
.textLegende{
	display:inline-block;
	margin-right:10px;
}
@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
	.legendeContainer .legende{
		display:block;
		margin:0 0 5px 0;
	}
	.caseLegende{
		height:20px;
		width:60px;
	}
}


/* formulaires de recherche */
.formulaires{
	vertical-align:top;
	display:inline-block;
	margin:0 20px 5px 0;
}
.formulaires h1{
	margin:5px 0 10px 0;
	display:block;
}

.formulaires h1,
.legendeContainer h1 {
  font-size: 22px;
}

@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
	.formulaires input[type=text]{
		font-size:18px;
	}
}


.underHeader{
	background: lightgrey;
	padding:0 0 0 5px;
	margin:0 0 10px 0;
}


.label{
	display:inline-block;
	font-weight:bold;

}
.ligneLabel{
	margin:20px 0 0 0;
	font-weight:bold;
}
@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
	.label{width:100px}
}

.formRecherche{
	margin:2px 0 0 0;
	display:inline-block;
}
.formRecherche .id{				width: 100px}
.formRecherche .CT_NUMClient{	width: 200px}
.formRecherche .autre{			width: 150px}
@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
	.formRecherche .id{				width: 60px}
	.formRecherche .CT_NUMClient{	width: 120px}
	.formRecherche .autre{			width: 100px}
}

.cadreClient{
	padding:10px;
	margin:0 0 20px 0;
}

.ficheClient h2 .material-icons {
  color: #333;
  font-size: 40px;
}

.ficheClient h2.cph:hover{
	background:#fff3e0;
	border-radius:20px;
}
.ficheClient h2.cph{
	height:40px;
	margin:0;
	padding:0;
}
.ficheClient h2, .ficheClient h3{
	text-align:left;
	font-size: 26px;
	margin:0 5px 15px 5px;
	padding:0 0 5px 0;
}
.ficheClient h3{
	text-align:left;
	font-size: 16px;
	margin:3px;
	padding:0;
}

.ficheClient .pager{
	margin:5px 0 0 0;
	text-align:center;
	max-width: inherit;
}
.ficheClient .pager p{
	margin:0;
}

.ficheClient hr{
	border:none;
	height:2px;
	margin:8px 0;
	background: linear-gradient( to right, #777, #fff);
}
.ficheClient .icone{
    width: inherit;
    height: inherit;
	margin-bottom:-10px;
}

@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
	.infosPreview{
		float:left;
	}
}

#checkMkFrame {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 130px;
}

#checkMkFrame iframe {
  border: none;
  height: calc(100vh - 134px);
  width: 100%;
}

#otherBcs{
	display:none;
	float: right;
	margin:0 0 20px 0;
}

/* ========================== RESPONSIVE ==============================*/
/* ========================== RESPONSIVE ==============================*/
/* ========================== RESPONSIVE ==============================*/

.listeContainer{
	width:980px; /* ie 1000-scrollbar */
	margin:auto;
	overflow:auto;
	padding:10px;
}
.sendDocument iframe{
	width: 99%;
	margin: auto;
	display: block;
	height: 1250px;
}
.sendDocument input[type=submit]{
	font-size: 26px;
    font-weight: bold;
    padding: 10px 60px;
    display: block;
    margin: 60px auto 100px auto;
}
.sendDocument .label{
	width:50px;
}
.sendDocument input[type=text]{
	width:1130px
}
.sendDocument textarea{
	width:100%;
	height:300px;
}

.ligneElement{
  background: #f0f0f0;
  background: linear-gradient(to bottom, white, #f0f0f0);
	text-align:left;
	line-height:18px;
	border-radius:18px;
	margin:0 0 2px 0;
	display:block;
}

.responsive{
	margin:0;
	padding:5px 0 0 5px;
}
.responsive .ellipse{
	white-space:nowrap;
	overflow:hidden;
	text-overflow: ellipsis;
	padding:0;
}

.responsive .bouton{
	padding:0px 8px 0 8px;
	float: right;
	height:17px;
	font-size:12px;
	line-height:18px;
}

.responsive .w50,
.responsive .w60,
.responsive .w80,
.responsive .w100,
.responsive .w120,
.responsive .w150,
.responsive .w160,
.responsive .w200,
.responsive .w250,
.responsive .w300,
.responsive .wDate,
.responsive .id,
.responsive .titre,
.responsive .CT_NUMClient,
.responsive .CT_NUM,
.responsive .temps,
.responsive .ville,
.responsive .assignatedMailUser,
.responsive .dateIntervention,
.responsive .date,
.responsive .categorie,
.responsive .contact,
.responsive .mailUser,
.responsive .etat,
.responsive .pertinence,
.responsive .creditTemps,
.responsive .CT_CLASSEMENT,
.responsive .priorite,
.responsive .CT_CONTACT,
.responsive .typeContrat,
.responsive .nature,
.responsive .type,
.responsive .nomSite,
.responsive .nomJob,
.responsive .dureeJob,
.responsive .enCours,
.responsive .succes,
.responsive .resultat,
.responsive .dateExecution,
.responsive .groupe,
.responsive .user,
.responsive .pcQuota,
.responsive .detailConso,
.responsive .consoTotaleEtQuota,
.responsive .boutonDv{
	display:inline-block;
}





.responsive .temps,

.responsive .priorite{						width:10px;		} /* */


.responsive .w50,
.responsive .type,
.responsive .creditTemps,
.responsive .pertinence{					width:50px;		} /* */

.responsive .id { width: 60px; }
.responsive .w60 { width:60px; } /* */


.responsive .w80,
.responsive .contact,
.responsive .enCours,
.responsive .succes,
.responsive .pcQuota,
.responsive .categorie{						width:80px;	} /* */

.responsive .date{							width:82px;	}

.responsive .w100,
.responsive .CT_NUMClient,
.responsive .typeContrat,
.responsive .nature,
.responsive .etat,
.responsive .dateExecution,
.responsive .date,
.responsive .dateIntervention,
.responsive .resultat,
.responsive .dureeJob{						width:100px;	} /* */


.responsive .w120,
.responsive .assignatedMailUser,
.responsive .CT_CLASSEMENT,
.responsive .CT_CONTACT{					width:120px;		}

.responsive .w150,
.responsive .mailUser,
.responsive .consoTotaleEtQuota{			width:150px;	} /* */

.responsive .w160 { width: 160px; }

.responsive .w200,
.responsive .groupe,
.responsive .user,
.responsive .nomSite,
.responsive .nomJob,
.responsive .ville{							width:200px;	}/* */


.responsive .w250{							width:250px;	}/* */

.responsive .w300,
.responsive .titre,
.responsive .detailConso{					width:300px;	} /* */


.responsive.connaissance .titre{			width:620px;	}



.responsive .groupe,
.responsive .titre,
.responsive .nomSite,
.responsive .consoTotaleEtQuota,
.responsive .quota
{					font-weight:bold; }
.responsive .etat,
.responsive .dateExecution,
.responsive .date,
.responsive .dateIntervention{
	text-align:center;
}
.responsive .consoTotaleEtQuota,
.responsive .pcQuota,
.responsive .detailConso{
	text-align:right;
}


/* cas particuliers: on affiche pas certaines infos des tickets et inters dans la fiche client */
.cadreClient .responsive .CT_NUMClient,
.cadreClient .responsive .dateIntervention ,
.cadreClient .responsive .contact
{ display:none}

@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
	.listeContainer{
		width:99%;
		margin:auto;
		padding:0;
		overflow:hidden;
	}
	.ligneElement{
		border-radius:5px;
		display:block;
		width:100%;
		margin:0 auto 5px auto;
		padding:1px 0 0 0;
	}
	.responsive{
		padding:2px 3px 1px 3px;
	}
	/* ligne */
	.responsive.connaissance .titre,

	.responsive .nomJob{
		display:block;
		width:100%;
	}
	/* ligne discrete */

	.responsive .dateExecution ,

	.responsive .enCours ,
	.responsive .resultat
	{
		display:block;
	}
	/* gauche */
	.responsive .id
	{
		float:left;
		width:17%;
	}
	.responsive .titre
	{
		float:left;
		width:80%;
	}
	.responsive .CT_NUM
	{
		float:left;
		width:90%;
	}


		/* gauche  */
	.responsive .date,
	.responsive .categorie,
	.responsive .dateIntervention,
	.responsive .ville,
	.responsive .dureeJob,
	.responsive .nomSite
	{
		float:left;
		width: auto;
	}

	/* droite */

	.responsive .pertinence,
	.responsive .etat,
	.responsive .creditTemps
	{
		float: right;
		text-align:right;
		width:15%;
	}
	/* droite */

	.responsive .CT_NUMClient,
	.responsive .CT_CLASSEMENT,
	.responsive .mailUser,
	.responsive .resultat,
	.responsive .nature
	{
		float: right;
		text-align:right;
		width:auto;
	}


	/* tailles */
	.responsive .dateIntervention,
	.responsive .date
	{
		width:95px;
	}
	/* Discret */
	.responsive .nature,
	.responsive .CT_NUMClient,
	.responsive .CT_CLASSEMENT,
	.responsive .mailUser,
	.responsive .date,
	.responsive .categorie,
	.responsive .dateIntervention,
	.responsive .ville,
	.responsive .etat,
	.responsive .dateExecution ,
	.responsive .dureeJob ,
	.responsive .enCours ,
	.responsive .resultat {
		font-size:14px;
		font-style:italic;
		color:grey;
	}

	/* OFF */
	.responsive .assignatedMailUser,
	.responsive .typeContrat,
	.responsive .date,
	.responsive .CT_CONTACT,
	.responsive .priorite,
	.responsive .type,
	.responsive .contact{
		display:none;
	}

}

.listeLabel,
.listeLabelManuel{
	white-space:nowrap;
	border-bottom:1px dotted grey;
}

.contacts { width: 100%; }
.contacts .listeLabel{ white-space: normal; width:75%;}
.contacts .listeLabelManuel{	width:60%;}
.contacts .listeValues { border-bottom: 1px dotted grey; text-align: center; width: 25%; }
.liensMachine .listeLabel{		width:33%;}

.contactTypeIcon {
  border-radius: 4px;
  height: 20px;
  font-size: 22px;
  margin-right: 3px;
  vertical-align: text-bottom !important;
  width: 20px;
}


@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
	.listeLabel,
	.listeLabelManuel{
		white-space:normal;
		border-width:0;
		display:block;
		width:auto;
		font-weight:bold;
	}
	.listeValues {
		display:block;
		margin:0 0 5px 0;
	}

}
.autoCompleteContainer{
	padding:5px 10px 10px 10px;
}
.autoCompleteItem .contratITGLOBAL,
.autoCompleteItem .contratITPRO,
.autoCompleteItem .contratITBASE,
.autoCompleteItem .contratITCSP,
.autoCompleteItem .contratITVDI,
.autoCompleteItem .contratSAUVEGARDE{
	padding:0 10px;
	border-radius:16px;
}
.infoCompteLabel{
	display:inline-block;
	width:200px;

}
.infoCompteValue{
}
@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
	.infoCompteLabel,
	.infoCompteValue{	display:block}
	.infoCompteValue{	margin-bottom:10px}
}

/* ============================== COULEURS ETATS ET CATEGORIE ===============================*/

/* lightgrey  ------------------------------------------------------------------- */
.cloture,
.annulee,
.compteSage, /* Attention l'ordre dans le css est important !!!! compteSage doit être le premier pour laisser la priorité aux contrats et au creditImpaye */
.archivee{		background:#ACABAB; background: linear-gradient( to bottom, #eaeaea, #ACABAB)}


/* jaune  ------------------------------------------------------------------- */
.ouvert,
.materiel,
.alerte{			background:#ffcb6d; background: linear-gradient( to bottom, #ffe5b6, #ffcb6d)}

/* orange ------------------------------------------------------------------- */
.paiement .enattente,
.livraison .enattente,
.livraison .valideclient,
.enregistree,
.commander,
.contratObsolete{			background:#ffa500; background: linear-gradient( to bottom, #ffda95, #ffa500)}

.livraison .enattente,
.livraison .valideclient,
.paiement .enattente{
	color:#bf7c00;
}

/* rouge vif ------------------------------------------------------------------- */
.livraison .refuse,
.paiement .refuse,
.annulee{			background:#ff3939; background:#ff3939;}

.livraison .refuse,
.paiement .refuse{
	color:#ffffff;
}


/* rouge  ------------------------------------------------------------------- */
.enattente,
.attentetechnicien,
.logiciel,
.anormal{			background:#ff9c9c; background: linear-gradient( to bottom, #ffd9d9, #ff9c9c)}


/* vert vif  ------------------------------------------------------------------- */
.contratITGLOBAL{	background:#00e716; background: linear-gradient( to bottom, #6dff7b, #00e716)}


/* vert  ------------------------------------------------------------------- */
.contratITPRO,
.cotationOK,
.paiement .accepte,
.livraison .accepte,
.normal,
.developpement,
.preparationencours{		background:#75d07e; background: linear-gradient( to bottom, #c3f7c7, #75d07e)}

.paiement .accepte,
.livraison .accepte{
	color:#46984e;
}

.contratITBASE { background:#d0dcd1; background: linear-gradient(to bottom, #f2fff3, #d0dcd1); }
.contratITCSP { background: #94befb; background: linear-gradient(to bottom, #d2eeff, #94befb); }
.contratITVDI { background: #b8d2f8; background: linear-gradient(to bottom, #b8d2f8, #257dfc); }

/* bleu  ------------------------------------------------------------------- */
.os,
.attentecotation,
.expedition,
.compteProspect{	background:#79dcff; background: linear-gradient( to bottom, #c9f0ff, #79dcff)}


/* violet */
.contratSAUVEGARDE,
.livraisonencours,
.attentecommercial{	background:#BDBAE0; background: linear-gradient( to bottom, #edebff, #BDBAE0)}






/* AUTRES COULEURS */
.attenteclient{
	background: white;
    border: 2px solid red;
}
.cadreClient .obsolete{	background: lightgrey} /* pour les vieux contrats des fiches clients */
.creditTempsImpaye{		background: red}
/* Attention l'ordre dans le css est important !!!! compteSage doit être le premier pour laisser la priorité aux contrats et au creditImpaye */

ul.creditTemps{
	padding:0;
	margin:auto;
	list-style: none;
}
.creditTemps li{
	padding: 8px;
	margin: 4px 0;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.epuise{				background:lightgrey;}
.disponible{			background:#b8eabc;}
.disponible.entame{		background:#fed;}
.impaye,
.impaye .discrete{		background:red; color:white; font-weight:bold;}



/* ======== */
#connexion {
  margin: 40px auto 0 auto;
  max-width: 400px;
}

#connexion * { box-sizing: border-box; }
#connexion .alert { font-size: 15px; }
#connexion .card-body p { font-size: 15px; margin-top: 0; }
#connexion .card-footer { font-size: 15px; }
#connexion .card-footer a { text-decoration: none; }
#connexion .card-footer a:hover, #connexion .card-footer a:focus { text-decoration: underline; }
#connexion .card-header { font-size: 24px; }

table.avantVente,
table.commande{
  box-sizing: border-box;
	width: 100%;
}

table.avantVente {
  background-color: #E9E9E9;
  border: 8px solid #E9E9E9;
  border-radius: 0.25rem;
  border-spacing: 0;
}

table.avantVente button {
  background-color: white;
}

table.avantVente td,
table.avantVente th {
  padding: 4px 4px 3px 4px;
}

table.avantVente input,
table.avantVente textarea {
  box-sizing: border-box;
}

table.avantVente th,
table.commande th {
	font-weight:normal;
	font-style:italic;
}

.commande input[type="text"]{
	font-size:14px;
}

.avantVenteItem.current{
	background: orange;
}
textarea.avantVenteItem_dlDesign{
  box-sizing: border-box;
  height: 24px;
  margin: 0;
  min-height: 24px;
  resize: vertical;
	width: 100%;
}
.indisponible input[type="text"],
.indisponible textarea,
.indisponible select{
	background: #fff3f3;
	color:red;
}
.destockage input[type="text"],
.destockage textarea,
.destockage select{
	background:#fff4e5;
    color:#FF9800;
}

.commande .commandeItem_type{			width:89px;}
.commande .commandeItem_type.horscat{	width:89px;}
.commande .commandeItem_arRef{			width:160px;}
.commande .commandeItem_dlDesign{		width:565px;}
.commande .commandeItem_dlQte{			width:25px;}
.commande .commandeItem_dlPrixUnitaire{	width:70px;}
.commande .commandeItem_ecoTaxe{		width:40px;}
.commande .commandeItem_ht{				width:70px;}
.commande .commandeItem_ttc{			width:70px;}




.observations{
	font-style:italic;
	font-weight:bold;
}
.observationsInternes{
	width:90%;
}
/*
'transportClassique','client','transporteurClient','transportDropship','transportDropshipClientOk','transportDropshipBloque'
*/

.transportClassiqueDisplay,
.clientDisplay,
.transporteurClientDisplay,
.transportDropshipDisplay,
.transportDropshipClientOkDisplay,
.transportDropshipBloqueDisplay{color:#0A5AD2;font-weight:bold;}


#askUpdateValueContainer textarea{
	display:block;
	width: 97%;
	margin: 5px auto;
    height: 300px;
}
#askUpdateValueContainer input[type=submit],
#askUpdateValueContainer input[type=button]{
	float: right;
	margin:10px;
	padding:7px;
}
#askUpdateValueContainer input[type=submit]{font-weight:bold;}


/* admin */
.phpSessions{
	width: 380px;
}

li.openDetails{
	height:25px;
	padding:0 10px 0 0;
}
.detailOpenable{
	position:absolute;
	margin: -20px 0 0 400px;
}

.cadreStat{
	width:100%;
	min-height:1000px;
	margin:0 0 40px 0;
}

.cadreStat table th{
	background: #d1d1d1;
}

.cadreStat table td{
	padding:0 10px 0 10px;
}

.displayStatsAvantVente .bouton.text{
	width:73px;
	padding:2px 0 0 0;
}

.statsCard {
  color: black;
  margin-bottom: 24px;
}

.statsCard h3 {
  font-size: 20px;
  font-weight: bold;
}

.statsCard .card-footer {
  font-weight: bold;
}

#statsTab {
	text-align:right;
	margin:50px auto;
}
#statsTab th{
	text-align:center;
	font-size:40px;
	padding:40px;
}
#statsTab td{
	padding:4px;
}
#statsTab td:nth-child(1){
	width:60px;
}
#statsTab td:nth-child(2){
	width:200px;
	font-weight:bold;
}
#statsTab td:nth-child(3){
	width:160px;
}
#statsTab td:nth-child(4){
	width:160px;
	font-weight:bold;
}

.markdown {
  border: 1px solid transparent;
  color: #555;
  display: block;
  font-family: var(--font-monospace);
  font-size: 15px;
  height: 300px;
  line-height: 1.2;
  max-width: 100%;
  min-width: 100%;
  overflow: auto;
}

textarea.markdown {
  border-color: #0A9FD2;
  box-sizing: border-box;
  color: #0A5AD2;
  font-weight: normal;
  max-height: 600px;
  min-height: 150px;
  outline: none;
  padding: 0.2rem 0.4rem;
}

.markdown a {
  color: #0A5AD2;
  text-decoration: none;
}

.markdown a:hover,
.markdown a:focus {
  text-decoration: underline;
}

.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
  font-weight: bold;
  margin: 0.5rem 0;
}

.markdown h1 { font-size: 1.5rem; }
.markdown h2 { font-size: 1.3rem; }
.markdown h3 { font-size: 1.1rem; }

.markdown hr {
  border: none;
  border-top: 0 solid #888;
  box-sizing: content-box;
  height: 0;
  margin: 0.5rem 0;
  overflow: visible;
}

.markdown hr.size1 { border-top-width: 1px; }
.markdown hr.size2 { border-top-width: 2px; }

optgroup,
.optgroup {
  background-color: #eee;
  font-weight: bold;
}

option {
  background-color: white;
  font-weight: normal;
}

/* Responsive */

.resTogCnt{
  float:right;
  width:30px;
  line-height:0;
  margin:3px;
}

.resTogBar{
  width:30px;
  height:4px;
  margin:0 0 5px 0;
  background-color:grey;
  border-radius:2px;
}




.miniOnly{ display:none}
.maxiOnly{ display:inherit}
.ibMaxiOnly{ display:inline-block; 	margin:10px 0 0 0}
.bMiniOnly{ display:inherit; 	margin:10px 0 0 0}
@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
  .miniOnly{ display:inherit}
  .maxiOnly{ display:none}
  .ibMaxiOnly{ display:inherit}
  .bMiniOnly{ display:block}
}

/* ========================== ONGLETS ==============================*/

ul.onglets, ul.ongletsAdditional{
  background-color:#E9E9E9;
  color:#767676;
  margin:0;
  list-style-type: none;
}
ul.onglets{
  font-size:21px;
  padding:0;
  white-space: nowrap;
}
ul.ongletsAdditional{
  font-size:16px;
  padding:0 0 3px 0;
}

.onglets .selected, .ongletsAdditional .selected{
  color:orange;
}


ul.onglets li .ongletIcone {
  width:30px;
  margin:0 5px -5px 0;
}

ul.ongletsAdditional li .ongletIcone{
  width:30px;
  margin:0 5px -8px 0;
}

ul.ongletsAdditional li .bouton{
  padding:0 0 3px 0;
  margin:0 0 0 7px;
}

ul.onglets li, ul.ongletsAdditional li {

  display:inline-block;
  margin:0;
  padding:5px 5px 0 5px;
  text-transform: capitalize;
  cursor:pointer;
}

.material-icons.ongletIcone {
  color: #444;
  font-size: 32px;
  position: relative;
  top: -1px;
}

@media only screen and (max-width: 1000px){ /* ================================ 1000 [mediaQuery] */
  ul.onglets li, ul.ongletsAdditional li{
    margin:10px;
  }
}

#ongletWait{
  position:absolute;
  width:100%;
  height:100%;
  background-image: url("icones/wait.gif");
  background-repeat: no-repeat;
  background-position-x: 50%;
  background-position-y: 50%;
}

/* Autocompletion */

.autComRoot{
  position: absolute;
  background: white;
  border: 1px solid lightgrey;
}
.autoCompleteItem{
  cursor:pointer;
}
.autoCompleteItem .back.selected{
  background:lightgrey;
}
.autoCompleteItem .userColor{
  color:orange;
}
/* =====================  SAGE CSS  ===================== */

.sageCss .doPiece{
  display: inline-block;
  font-weight:bold;
  width:100px;
}

.sageCss .doRef{
  font-style:italic;
}

/* nouvelle nomenclature */
.sageFieldNameFiller{
  background:#311772;
  color:white;
  padding:3px 0 3px 0;
  margin:0;
}
.sageFieldName{
  white-space:nowrap;
  font-style:normal;
  font-weight:bold;
}
.sagePreviewTable{
  font-size:12px;
  background:white;
  border-collapse: collapse;
  width:100%;
}

/* ------ rajouter tout nouvel element ------------------------ */
.sageDO_Piece,
.sageDO_Ref,
.sageDO_Date,
.sageDO_Tiers,
.sageDL_Qte,
.sageAR_Ref,
.sageDL_Design,
.sageDL_PrixUnitaire,
.sageDL_PoidsNet,
.sageQuantiteStock,
.sageQuantiteRestante{
  padding:0 5px 0 5px;
}


.sageDL_Qte{
  min-width:40px;
  text-align:right;
}
.sageDO_Piece{
  min-width:80px;
  font-weight:bold;
}

.sageDL_PoidsNet,
.sageQteRestante,
.sageQteStock,
.sageDL_PrixUnitaire,
.sageDL_CMUP,
.sageDisplayMargePc,
.sageDisplayPrixRevient
{
  width:80px;
  text-align:right;
  padding:0 5px 0 0;
}
.sageDO_Date{
  min-width:85px;
}
.sageDO_Ref,
.sageDO_Tiers{
  min-width:150px;
  font-style:italic;
}

.sageAR_Ref{			min-width:140px;	font-weight:bold;						}
.sageLS_NoSerie{		min-width:130px;	font-style:italic;}
.sageDL_Design{			min-width:425px;	font-style:italic;					}

/* utilitares */
.sageLimited{
  padding:30px;
  text-align:center;
}

.sageComment{color:#1845ff}
.sageSeparateurJour{
  padding:15px 0 5px 5px;
}

.koFields {
  background: #ffe2e2;
  box-shadow: 0 -1px red, 0 1px red;
}

.previewHeader{
  height:90px;
}
.htmlInfos{
  font-size: 12px;
  line-height: 14px;
  float: right;
  margin:0 30px 0 0;
}
.htmlInfos .title{
  display:inline-block;
  width:100px;

}
.htmlInfos .value{
  display:inline-block;
  text-align:right;
  width:80px;
}
.previewInfo_Prpa{
  font-weight:bold;
  text-align:center;
  margin:10px;
}
.docInfos{
  position: relative;
  margin: 50px 0 0 0;
}

.nav-link .material-icons {
  font-size: 16px;
  vertical-align: text-top;
}

.nav-tabs-sm .nav-link {
  font-size: 15px;
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}

svg.stats{
  width:350px;
  height:380px;
}

svg.stats text{
  font-family:'Lucida Grande', sans-serif;
  font-size:16px;
  fill: #fff;
  stroke: #fff;
  stroke-width: 1px;
}

svg.stats .root {
  fill:#0d67b5;
}
svg.stats .root text{
  font-family:'Lucida Grande', sans-serif;
  font-size:50px;
  fill: #fff;
  stroke: #fff;
  stroke-width: 1px;
}
svg.stats .cadreTitre{
  fill: #f1f1f1;
  stroke: #a0a0a0;
  stroke-width: 1px;
}
svg.stats .barTitre{
  fill: #0d67b5;
  opacity: 0.5;
}
svg.stats .titre{
  font-family:'Lucida Grande', sans-serif;
  font-size:20px;
  font-height:20px;
  fill: #000;
  stroke: #000;
  stroke-width: 1px;
}

svg.stats .separ{
  fill:none;
  stroke:white;
  stroke-width:7px;
}
svg.stats .souche path{
  stroke:white;
  stroke-width:7px;
}
svg.stats .souche.RVD{
  fill:#bf51a0;
}
svg.stats .souche.VPC{
  fill:#9adc6c;;
}
svg.stats .souche.EA{
  fill:#f1c508;
}
svg.stats .BL{
  fill:#f1f1f1;
}
svg.stats .FA{
  fill:#67b8ff;
}
svg.stats .FC{
  fill:#0d67b5;
}

#statsInfo{
  margin: 0 0 25px 0;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
}


/* SVG */
.chart{
  margin:0 0 10px 0;
}

svg.partitionVente rect {
  stroke: #eee;
  fill: #aaa;
  fill-opacity: .8;
}

svg.partitionVente rect.parent {
  cursor: pointer;
  fill: steelblue;
}

svg.partitionVente text {
  pointer-events: none;
}
