/*
 * Auteur : Adrien DEPROST
 * Date de création : 03/05/2025
 *
 * Licence :
 * Ce fichier est sous licence propriétaire, sauf indication contraire.
 * Toute utilisation, modification ou distribution de ce fichier 
 * est interdite sans l'autorisation écrite préalable de l'auteur.
 * 
 * Historique des modifications :
 * 20261024 Adrien DEPROST : style du menu tooltip de ligne pour l'outline (.outline-row-tooltip)
 * 20261024 Adrien DEPROST : style actif dropdown navigation (souligné en bleu sans fond)
 * 20260101 Adrien DEPROST : ajout des classes predictive-list pour la saisie prédictive
 * 20250503 Adrien DEPROST : ajout classe liste-row pour gérer les clics gauches et droits
 * 20250503 Adrien DEPROST : création
 *
 * -----------------------------------------------------------------------------
 */


/* Modul App - Workspace */

.icon-help {
	background-image: url(../themes/images/help.png);
}

/******************************************/


.liste-row {
	cursor: pointer;
}

.password-voir {
	cursor: pointer;
	background-color: var(--color-secondary);
	color: white;
}

.badge {
	font-size: 1rem;
}

/* SAISIE PREDICTIVE */
.predictive-list {
	max-height: 200px;
	overflow-y: auto;
	/*border: 1px solid #ced4da;*/
	border-radius: 0.25rem;
	background-color: white;
	z-index: 1000;
}

.predictive-list .list-group-item {
	cursor: pointer;
	padding: 0.5rem 1rem;
}

.predictive-list .list-group-item:hover {
	background-color: #f8f9fa;
}


.boxed {
	background-color: #FFF;
	border-bottom: 5px solid var(--color-primary);
	border-radius: 5px;
	border-top: 5px solid var(--color-primary);
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
	margin: 25px auto;
	max-width: 1200px;
	height: auto;
}


.text-justify {
	text-align: justify !important;
}

.blue {
	color: #0077b3;
}


main {
	background-color: #ffffff;
}


/* From Modul App Theme Forest */
/* Add here all your CSS customizations */



.contact {
	color: white;
	font-size: 26px;
	font-weight: bold;
}

.site-title {
	position: absolute;
	bottom: 0;
	font-weight: 900;
	color: white;
	font-size: 120%;
}


/* Quote on home page */
.quote-image-container {
	margin-left: 20px;
	width: 162px;
	border: 1px solid #ddd;
	border-radius: 157px;
	float: right
}

.quote-image {
	border-radius: 150px;
	margin: 7px 8px;
	width: 145px;
	height: 145px;
}

.quote-container {
	font-size: 24px;
	line-height: 30px;
	margin-bottom: 10px
}

.leemble-thumbnail-img {
	width: 60px;
	height: 60px;
	background: #ffffff
}

/* Miscelaneous */
.requis {
	color: #FF6600;
}

.doc-admin {
	border-right-style: solid;
	border-right-color: #0077b3;
	padding-right: 15px;
}

.li-version {
	list-style-type: none;
}

/* Card admin feature colors */
.gold {
	color: #fcca03;
}

.blue {
	color: #0077b3;
}

.orange {
	color: #d01515;
}

.grey {
	color: #808080;
}

.light-grey {
	color: #ddd;
}

.inverted {
	color: #FFF;
	display: inline-block;
	padding-left: 10px;
	padding-right: 10px;
}


@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 300;
	src: local('Open Sans Light'), local('OpenSans-Light'), url(fonts/OpenSans-Light.woff) format('woff');
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: local('Open Sans'), local('OpenSans'), url(fonts/OpenSans.woff) format('woff');
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 600;
	src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(fonts/OpenSans-Semibold.woff) format('woff');
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	src: local('Open Sans Bold'), local('OpenSans-Bold'), url(fonts/OpenSans-Bold.woff) format('woff');
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 800;
	src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(fonts/OpenSans-Extrabold.woff) format('woff');
}

@font-face {
	font-family: 'Shadows Into Light';
	font-style: normal;
	font-weight: 400;
	src: local('Shadows Into Light'), local('ShadowsIntoLight'), url(fonts/ShadowsIntoLight.woff) format('woff');
}

.featured-box a:hover {
	text-decoration: none;
}

.prix_col {
	text-align: center;
	font-variant: small-caps;
	font-weight: bold;
	margin: 20px 0;
	border: 1px solid #EFEFEF;
	border-right: 0;
}

.prix_col:last-child {
	border-right: 1px solid #EFEFEF
}

.col-md-3.prix_col {
	padding: 0;
}

.prix_col h3 {
	padding: 15px 0;
	background-color: #EEEEEE;
}

.prix_col hr {
	margin: -5px 0 10px 0;
}

/* Header */
#header {
	background: #f6f6f6;
	background: -webkit-linear-gradient(#f6f6f6, white);
	background: linear-gradient(#f6f6f6, red);
	clear: both;
	border-top: 0px solid #FFFFFF;
	margin-bottom: 40px;
	padding: 1px 0;

}

#header {
	background: #328bb8;
	clear: both;
	border-top: 5px solid f6f6f6;
	padding: 1px 0;
}

/* retouche bleu*/


/* menu couleurs */
#headerAccount a,
#headerAccount a.active {
	color: #328bb8;
}

#header nav ul.nav-main li a,
#header nav ul.nav-main ul.dropdown-menu li a {
	background-color: #ffffff !important;
	color: #328bb8;
}

#header nav ul.nav-main ul.dropdown-menu li:hover>a {
	background-color: #ffffff !important;
}

#header nav ul.nav-main ul.dropdown-menu {
	color: #0099cc;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #328bb8;
	border-color: #328bb8;
}

#header nav ul.nav-main ul.dropdown-menu:hover {
	border-color: #0099e6;
	background-color: #0099e6;
}

#header nav ul.nav-main ul.dropdown-menu:active,
#header nav ul.nav-main ul.dropdown-menu:focus {
	border-color: #0077b3;
	background-color: #0077b3;
}

#header nav ul.nav-main li.dropdown:hover ul.dropdown-menu li>a {
	background: none !important;
}

#header nav ul.nav-main li.dropdown:hover ul.dropdown-menu li>a:hover {
	background: #0099e6 !important;
}

@media (min-width: 992px) {
	#header.single-menu nav ul.nav-main li.active>a {
		border-top: 5px solid #328bb8;
	}

	#header.darken-top-border {
		border-top: 5px solid #0077b3 !important;
	}

	#header.colored .header-top {
		background-color: #328bb8;
	}

	#header.colored .header-top ul.nav-top li a:hover {
		background-color: #0099e6 !important;
	}

	#header.flat-menu nav ul.nav-main li>a,
	#header.flat-menu nav ul.nav-main li.active>a {
		color: #666;
	}

	#header.flat-menu nav ul.nav-main li.active>a {
		color: #328bb8;
		background-color: transparent !important;
	}

	#header.flat-menu nav ul.nav-main li>a:hover,
	#header.flat-menu nav ul.nav-main li.dropdown:hover a {
		color: #FFF;
		background-color: #328bb8 !important;
	}

	#header nav.mega-menu ul.nav-main li.mega-menu-item ul.dropdown-menu {
		border-top-color: #328bb8;
	}

	;
}

/* Custom table */
table {
	border-collapse: separate;
	border-spacing: 0 5px;
}

thead th {
	background-color: #328bb8;
	color: white;
}

tbody td {
	background-color: #EEEEEE;
}

tr td:first-child,
tr th:first-child {
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}

tr td:last-child,
tr th:last-child {
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
}

/*Fin  Custom table */

/* Custom Form 
 
/* Onfocus form */

.form-control {
	display: block;
	width: 100%;
	/*height: 34px;*/
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555555;
	background-color: #ffffff;
	background-image: none;
	border: 1px solid #cccccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-control:focus {
	border-color: #66afe9;
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.form-control::-moz-placeholder {
	color: #999999;
	opacity: 1;
}

.form-control:-ms-input-placeholder {
	color: #999999;
}

.form-control::-webkit-input-placeholder {
	color: #999999;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
	cursor: not-allowed;
	background-color: #eeeeee;
	opacity: 1;
}

textarea.form-control {
	height: auto;
}

/*Fin onfocus form */
#footer a {
	margin-right: 50px;
	text-decoration: underline;
}


/* Icones d'outline */
.custom-outline-icon-small {
	text-align: center;
	cursor: pointer;

}

.custom-thumb-unchecked {
	background-color: white;
	color: #328bb8;
}

.custom-thumb-unchecked:hover {
	background-color: #328bb8;
	color: white;
}

.custom-thumb-checked {
	background-color: #328bb8;
	color: white;
}


.custom-outline-thumb {
	background-color: white;
	color: #328bb8;
	text-align: center;
	cursor: pointer;
	/*padding-top:20px;*/
}

.custom-outline-thumb:hover {
	background-color: #328bb8;
	color: white;
}

.custom-outline-thumb:hover .custom-outline-thumb-caption {
	color: white;
	font-weight: bold;
}

.custom-outline-create-thumb {
	background-color: white;
	color: #328bb8;
	text-align: center;
	cursor: pointer;
	padding-top: 20px;
}

.custom-outline-create-thumb:hover {
	background-color: #328bb8;
	color: white;
}

.custom-outline-create-thumb:hover .custom-outline-thumb-caption {
	color: white;
	font-weight: bold;
}

.custom-outline-thumb-caption {
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}


/* Sinon des conflits empechent de fonctionner...*/
.dropdown-menu-end {
	right: 0 !important;
	left: auto !important;
}

/* Les icones rondes de fonctionnalités sur la page d'accueil */

.feature-box .feature-box-icon {
	background: #CCC;
	background-color: #328bb8;
	color: #FFF;
	float: left;
	height: 35px;
	line-height: 35px;
	margin-right: 10px;
	position: relative;
	text-align: center;
	top: 5px;
	border-radius: 50%;
	width: 35px;
	height: 35px;
	min-width: 35px;
	flex: 0 0 35px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Entrée active dans le dropdown du menu de navigation : pas de fond bleu et souligné en bleu */
.biplan-header .dropdown-menu .dropdown-item.active,
.biplan-header .dropdown-menu .dropdown-item:active {
	color: var(--color-primary) !important;
	background-color: transparent !important;
	text-decoration: underline !important;
	text-decoration-color: var(--color-secondary) !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 4px;
}

.biplan-header .dropdown-menu .dropdown-item.active:hover,
.biplan-header .dropdown-menu .dropdown-item.active:focus {
	color: var(--color-secondary) !important;
	background-color: transparent !important;
}

/* Tooltip de ligne Outline (Action popover) -------------------------------------- */
.outline-row-tooltip {
	position: absolute;
	z-index: 1060;
	background: #ffffff;
	border: 1px solid #d0d7de;
	border-radius: 8px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
	padding: 5px;
	min-width: 145px;
	display: flex;
	flex-direction: column;
	gap: 1px;
	cursor: default;
	margin: 0;
	font-family: var(--font-default, "Open Sans", system-ui, sans-serif);
	animation: outlineRowTooltipFadeIn 0.12s ease-out;
}

@keyframes outlineRowTooltipFadeIn {
	from {
		opacity: 0;
		transform: scale(0.96) translateX(-3px);
	}

	to {
		opacity: 1;
		transform: scale(1) translateX(0);
	}
}

/* Flèche du tooltip pointant vers la gauche vers la cellule survolée */
.outline-row-tooltip::before {
	content: "";
	position: absolute;
	top: var(--arrow-top, 14px);
	left: -7px;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-right: 7px solid #d0d7de;
	pointer-events: none;
}

.outline-row-tooltip::after {
	content: "";
	position: absolute;
	top: calc(var(--arrow-top, 14px) + 1px);
	left: -5px;
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-right: 6px solid #ffffff;
	pointer-events: none;
}

/* Zone invisible de transition vers la gauche pour éviter les coupures de hover */
.outline-row-tooltip .outline-row-tooltip-bridge {
	position: absolute;
	top: 0;
	bottom: 0;
	left: -12px;
	width: 12px;
	background: transparent;
}

.outline-row-tooltip-item {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 9px;
	border-radius: 5px;
	border: 1px solid transparent;
	background: transparent;
	color: #334155;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	user-select: none;
	white-space: nowrap;
}

.outline-row-tooltip-item:hover {
	background-color: #f1f5f9;
	color: var(--color-primary, #0077b3);
	border-color: #e2e8f0;
}

.outline-row-tooltip-item .outline-row-tooltip-icon {
	width: 16px;
	font-size: 12px;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.outline-row-tooltip-item .outline-row-tooltip-label {
	flex-grow: 1;
	font-size: 12px;
}

.outline-row-tooltip-item.item-delete:hover {
	background-color: #fee2e2;
	color: #dc2626;
	border-color: #fca5a5;
}

.outline-row-tooltip-item.item-delete:hover .outline-row-tooltip-icon {
	color: #dc2626 !important;
}

.outline-row-tooltip-divider {
	height: 1px;
	background-color: #e2e8f0;
	margin: 3px 2px;
}

/* Icônes dans les menus déroulants désactivés */
.dropdown-item.disabled i {
	color: var(--bs-secondary-color, #6c757d) !important;
}

/* Bouton d'aide contextuelle */
i.help-button {
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease;
}
i.help-button:hover {
	transform: scale(1.15);
	opacity: 0.85;
}