/*
 * Demande de support : bulle du pied de page, formulaire, ecran de gestion.
 */

/* Bulle du pied de page */
.footer .k-menu .support-bulle .glyphicons-conversation {
	color: #4A79F4;
}
.footer .k-menu .support-bulle:hover .glyphicons-conversation {
	color: #2554d4;
}

/* Pendant la capture d'ecran (fwMB.supportCapturer) : elements que
   kendo.drawing.drawDOM rendrait a tort. Le lien d'evitement (RGAA 12.7) est
   place a top: -100px, hors ecran, et elargissait l'image vers le haut. */
.support-capture-en-cours .skip-link {
	display: none !important;
}

/* Formulaire */
.support-form {
	width: 620px;
	max-width: 90vw;
}
.support-form ul.forms {
	list-style: none;
	margin: 0;
	padding: 0;
}
.support-form ul.forms > li {
	margin: 0 0 12px 0;
}
.support-form ul.forms > li > label:first-child {
	display: block;
	margin: 0 0 4px 0;
	font-weight: bold;
}
.support-form select,
.support-form input[type=text],
.support-form textarea {
	width: 100%;
	box-sizing: border-box;
}
.support-form textarea {
	resize: vertical;
	min-height: 110px;
}
.support-capture-cadre {
	margin: 0 0 6px 0;
	padding: 4px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background-color: #fafbfc;
	max-height: 220px;
	overflow: auto;
	text-align: center;
}
.support-capture-apercu {
	max-width: 100%;
	height: auto;
}
.support-capture-absente {
	display: block;
	padding: 18px 8px;
	color: #6b7280;
	font-style: italic;
}
.support-erreur {
	color: #b42318;
	margin: 0 0 8px 0;
}
.support-contexte {
	margin: 0;
	font-size: 0.85em;
	color: #6b7280;
}

/* Ecran de gestion : fil d'echanges */
.ds-fil {
	padding: 8px;
}
.ds-message {
	margin: 0 0 10px 0;
	padding: 8px 12px;
	border-radius: 8px;
	max-width: 85%;
	white-space: pre-wrap;
	word-wrap: break-word;
}
.ds-message .ds-message-entete {
	display: block;
	margin: 0 0 4px 0;
	font-size: 0.8em;
	color: #6b7280;
	white-space: normal;
}
.ds-message.ds-sens-demandeur {
	background-color: #f1f3f6;
	margin-right: auto;
}
.ds-message.ds-sens-support {
	background-color: #eaf1ff;
	margin-left: auto;
}
/* Note interne : jamais envoyee au demandeur */
.ds-message.ds-interne {
	background-color: #fff8e1;
	border: 1px dashed #e0c36a;
	color: #5c4b12;
}
.ds-message.ds-systeme {
	background-color: transparent;
	border: none;
	font-style: italic;
	color: #6b7280;
	max-width: 100%;
	text-align: center;
}
.ds-message .ds-mail-non-envoye {
	color: #b42318;
}
/* Verrou informatif : un agent instruit deja ce ticket (ds_data.agent, TTL
   applique) -- purement visuel, ne bloque aucune action du consultant. */
.ds-agent-en-cours {
	margin: 0 0 10px 0;
	padding: 8px 12px;
	background-color: #fff8e1;
	border: 1px dashed #e0c36a;
	color: #5c4b12;
	font-weight: bold;
	border-radius: 6px;
}
.ds-repondre textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 80px;
}
.ds-contexte table {
	border-collapse: collapse;
	width: 100%;
}
.ds-contexte td {
	padding: 2px 8px 2px 0;
	vertical-align: top;
	word-break: break-all;
}
.ds-contexte td:first-child {
	color: #6b7280;
	white-space: nowrap;
	word-break: normal;
}
.ds-contexte h4 {
	margin: 12px 0 4px 0;
}
.ds-contexte img {
	max-width: 100%;
	height: auto;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
}
