.layout-config-option-color {
	width: 24px;
	height: 24px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.1);
	display: inline-block;
}

.layout-config-colors {
	padding: 0 10px;
	margin-top: 3px;
}

.layout-config-colors .p-col-fixed {
	padding: 0.5rem;
}

.ellipsis {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.comment-container {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	max-width: 15rem;
}

span.comment-container {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	max-width: 15rem;
}

/* Allows to display tooltips on disabled components */
.ui-state-disabled {
	cursor: default;
	pointer-events: all;
}

/* Left MENU */
body .ui-button.ui-button-icon-only.menu-tab-active {
	color: white;
}

.evaluation-form {
	min-width: 20vw;
	max-width: 80vw;
}

/* Résultats d'évaluations produits par la feuille de configuration excel. Un tableau est extrait de la feuille excel et affiché à l'écran. 
On ne veut pas de bordures et on veut conserver les white-spaces. */
.evaluation-results-table td {
	border: none;
	white-space: pre-wrap;
	vertical-align: top;
}

.warning-text {
	padding: 0.5rem;
	background-color: red;
	color: white;
}
/* Clickable items mouse pointer */
.clickable {
	cursor: pointer;
}

/* DataTable numbers are aligned on the right */
.number-container {
	text-align: right;
}

/* Action buttons container for accordions */
.ui-t-accordion-actions {
	float: right;
	/* Accordions do not support the actions facet, this allows to "simulate" it by using this class on a span in the title facet */
}

.disabled {
	color: grey;
}

body .ui-datatable .ui-datatable-data>tr.disabled {
	color: grey;
}

/* FIX when buttons do not have any text in the .ui-button-text, they do not have a correct size which is visible when pointing at them or if they have siblings on the same line */
.ui-button-text:empty::before {
	content: '\a0'; /* we add the NBSP character */
}

/* FIX buttons in picklist items make the lines much bigger than regular ones */
.ui-picklist-item .ui-button {
	margin-top: -1rem; /* we compensate by -1 font-size */
	margin-bottom: -1rem;
}

/* FIX text-buttons in panels action facets are too close to the border of the panel
This is OK for icon-buttons since the icon is smaller than the button */
.ui-panel-actions>.ui-button-text-only, .ui-panel-actions>.ui-button-text-icon-left {
	margin-top: 0.4rem;
	margin-bottom: 0.4rem;
}

/* ---------- TIMELINE --------------- */
div.timeline-event {
	padding: 6px;
}

.vis-content .timeline-category-group:not(:first-child)
{
	border-top:1px solid black;
}	

.timeline-category-group {
	background: #DCDCDC;
	font-weight: bold;
}

.timeline-type-group {
	background: #DCDCDC;
	padding-left: 10px;
}

.timeline-sub-type-group {
	background: white;
	padding-left: 20px
}

.vis-item.vis-dot {
	display: none;
}

.vis-item.vis-line {
	display: none;
}

div.timeline-event-blue {
	background: #4682B4;
	border-color: #4682B4;
	color: white;
}

div.timeline-event-green {
	background: #3CB371;
	border-color: #3CB371;
	color: white;
}

div.timeline-event-purple {
	background: #663399;
	border-color: #4682B4;
	color: white;
}

.timeline-event.vis-item .vis-item-content {
	padding: 0;
}

/* ---------- DATATABLE --------------- */
body .ui-datatable:not(.ui-datatable-custom) .ui-datatable-data > tr.disabled-datatable-row {
    background-color: #F5F5F5;
    text-decoration: line-through;
}

/* ---------- EditGeneralConfig --------------- */
.display-logo-size {
	max-height: 50px;
}
