@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');

:root {
	--img-logo: url('../images/interface/logo.png');
	--btn-bg: repeating-linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.05),
		rgba(255, 255, 255, 0.05) 1px,
		transparent 1px,
		transparent 3px
	);
	--couleur-accent: #b3c618;
	--couleur-accent-leger: #acb93e;
}

[hidden] {
	display: none;
}
body {
	background-image: url(../images/interface/absurdidad.png);
}

#all {
	padding-top: 2em;
}

.navbar.no-margin {
	margin-bottom: 0;
}

.corps .nav-pills > li > a:hover {
	background-color: #616161;
}

.soussousmenu .nav-pills > li > a,
.soussousmenu .nav-pills > li > a:hover,
.soussousmenu .nav-pills > li > a:focus,
.nav-tabs > li > a,
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
	background: none;
	border: none;
	margin-right: 0;
	color: #fff;
}

/*.alert {
	position: fixed;
	top: -5px;
	left: 50px;
}*/

.pointer {
	cursor: pointer;
}
.c-move {
	cursor: move;
}

.btn-primary {
	background-color: var(--couleur-accent);
}

.glyph-danger {
	color: #d9534f;
}
.glyph-success {
	color: #5cb85c;
}
.glyph-warning {
	color: #f0ad4e;
}
.glyph-info {
	color: #5bc0de;
}

#connexion {
	margin-top: 4em;
	float: none;
}

.badge {
	color: #616161;
}
.badge-white {
	color: #fff;
}
.suivi .badge {
	font-weight: normal;
	color: #fff;
	background-color: #777;
}

.lignes_cat {
	margin: 5px 0;
}
.lignes_cat:hover {
	background: hsl(67, 78%, 80%);
}

.table tbody tr.success > td {
	background-color: var(--couleur-accent-leger);
	color: #e7e7e7;
}

.table-hover tbody tr.success:hover > td,
.table tbody tr.success > td:hover {
	background-color: #afb580;
}

#ajaxified_wrapper {
	position: relative;
}
#ajaxified_processing {
	width: 90%;
	left: 5%;
	margin-left: 0;
	top: 2em;
	margin-top: 0;
	font-size: 2em;
	background-color: var(--couleur-accent-leger);
	background-image: var(--btn-bg);
	color: #fff;
	border-radius: 0.2em;
}

h4,
.h4 {
	font-size: 17px;
}

/* .table-hover tbody tr:hover > td, .table-hover tbody tr:hover > th */

/***** Header *****/
header {
	background-color: #dadada;
	border-top: 2px solid var(--couleur-accent);
	border-bottom: 2px solid #fff;
	margin-bottom: 0;
}
header:before {
	content: '';
	display: block;
	background-color: var(--couleur-accent);
	border-bottom: 3px #fff solid;
	height: 9px;
	width: 100%;
}
header:after {
	content: '';
	display: block;
	background-color: #616161;
	border-bottom: 1px solid #ffffff;
	height: 9px;
	width: 100%;
}

header #logo {
	background-color: transparent;
	background-image: var(--img-logo);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: scroll;

	display: block;
	float: left;
	height: 50px;
	margin: 0 40px 0 0;
	overflow: hidden;
	width: 240px;
}

header .glyphicon {
	font-size: 0.9em;
}

header #logo:hover {
	opacity: 0.5;
}

header .container .nav {
	padding-top: 9px;
}

header #usermenu {
	margin-top: 10px;
}

header .container > ul li,
header #usermenu,
.soussousmenu ul > li {
	background-color: #999;
	background-image: var(--btn-bg);
	/*height: 30px;*/
	margin-right: 1px;
}

.soussousmenu ul > li.active,
header .container > ul li.active,
header .container > ul li:hover,
.soussousmenu ul > li:hover {
	background-color: var(--couleur-accent-leger);
}

header.navbar .container .nav {
	margin: 0;
}

header.navbar .container .nav > li > a,
header #usermenu > li > a,
.soussousmenu ul > li > a {
	color: #fff;
	padding: 5px 10px 6px;
	display: block;
	text-shadow: none;
	background-color: none;
}

.soussousmenu ul > li > a:hover,
.soussousmenu ul > li > a:focus,
header #usermenu > li > a:hover,
header #usermenu > li > a:focus,
header.navbar .container .nav > li > a:focus,
header.navbar .container .nav > li > a:hover,
header.navbar .container .nav > .active > a,
header.navbar .container .nav > .active > a:hover,
header.navbar .container .nav > .active > a:focus {
	color: #fff;
	background: none;
}

header .container > ul li#last {
	margin-left: 40px;
}

#sousheader {
	background: #616161;
	border-bottom: 1px #fff solid;
	height: 9px;
}

.dropdown-menu {
	padding: 0;
	margin-top: -2px;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
	background-color: hsl(67, 78%, 44%);
	background-image: linear-gradient(
		to bottom,
		hsl(67, 78%, 44%),
		hsl(67, 78%, 38%)
	);
}

#ConteneurLangues {
	background: url(../images/menu/conteneur_langues.png) no-repeat 0% 0%;
	width: 560px;
	height: 47px;
	padding-top: 7px;
	float: left;
}
#ConteneurLangues img {
	margin-top: 11px;
	margin-left: 13px;
}

/***** Sous-menu *****/

#sousmenu {
	background: #616161 url(../images/interface/fond_sous_menu.png) repeat-x;
	height: 40px;
	padding: 5px 0;
}

#sousmenu .nav-header,
#sousmenu .nav .nav-header {
	background: none;
	padding: 5px 0;
	margin-right: 20px;
	font-weight: bold;
	color: #fff;
	text-shadow: none;
	text-transform: uppercase;
}

#sousmenu .nav-header:hover,
#sousmenu .nav .nav-header:hover {
	background: none;
	text-shadow: 0 1px 0 hsla(0, 0%, 100%, 0.5);
}

#sousmenu .nav > li {
	float: left;
	background-color: #999;
	background-image: var(--btn-bg);
	height: 30px;
	margin-right: 1px;
	padding: 0;
}

#sousmenu .nav > li.pull-right {
	float: right;
	margin-left: 10px;
}

#sousmenu .nav > li > a {
	display: block;
	margin: 0;
	padding: 5px 20px 6px;
	color: #fff;
	text-shadow: none;
}
#sousmenu .nav > li > a.btn {
	color: inherit;
}

#sousmenu .nav > li:hover,
#sousmenu .nav > li.active {
	background-color: var(--couleur-accent-leger);
}

#sousmenu .nav > li > a:hover,
#sousmenu .nav > li > a:focus,
#sousmenu .nav > li.active a {
	background: none;
}

/***** Sous-sous-menu *****/

.soussousmenu {
	height: 48px;
	padding-top: 6px;
	background: url(../images/interface/fond_sous_sous_menu.png) repeat-x;
	margin-top: -2em;
	margin-bottom: 1em;
}
/* .soussousmenu.affix-top {
	margin-bottom: -48px;
} */
.soussousmenu.affix {
	top: 0;
	z-index: 666;
	margin-top: 0;
	width: 100%;
}

/***** Nouvelle fiche *****/
.form-horizontal .form-actions {
	padding: 10px;
	background-color: #e6e6e6;
}
.form-group-sm .control-label,
.form-group-sm .form-control-static {
	padding-top: 6px;
}
#cotations .control-label,
.cotations .control-label {
	font-weight: normal;
}

#categories_fiches {
	margin: 0 20px;
	background: #616161;
}
#modeles_fiches {
	margin: 0 20px;
}

/***** Tableaux *****/

.dataTables_wrapper tr {
	cursor: pointer;
}

.dataTables_wrapper thead {
	background: #cccccc;
	border-top: 1px solid #b7b7b7;
	border-bottom: 1px solid #b7b7b7;
}

.dataTables_wrapper thead th {
	color: #000;
	border-right: 1px #fff solid;
	text-align: center;
	padding: 10px;
}

.dataTables_wrapper tbody td {
	border-right: 1px solid #fff;
}

.dataTables_wrapper tbody .odd {
	background-color: #e8e8e8;
}

.dataTables_wrapper tbody .even {
	background-color: hsl(0, 0%, 92%);
}

.dtsb-searchBuilder {
	border: 1px solid black;
    padding: 5px 10px;
    border-radius: 5px;
}

.pagination {
	margin: 0;
}
.pagination > li > a,
.pagination > li > span {
	padding: 5px 12px;
	background-color: #999;
	background-image: var(--btn-bg);
	color: #fff;
	border-color: #fff;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li.active > a:focus,
.pagination > li.active > span:focus,
.pagination > li.active > a,
.pagination > li.active > span {
	background-color: var(--couleur-accent-leger);
	color: #fff;
}
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
	background-color: #ccc;
	color: #fff;
}

/**** *****/

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.active.disabled,
.btn-primary.disabled,
.btn-primary[disabled] {
	background-color: var(--couleur-accent-leger);
}
.btn-primary.active.disabled,
.btn-default.disabled.active {
	opacity: 1;
}

.btn-default {
	background-color: #999999;
}

.btn-success {
	background-color: #589482;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
	background-color: #80b3a3;
}

.btn-danger {
	background-color: #c72b10;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.btn-danger.disabled,
.btn-danger[disabled] {
	background-color: #ed3c1d;
}

.btn-info {
	background-color: #fdb381;
	color: #555555;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.btn-info.disabled,
.btn-info[disabled] {
	background-color: #fedac3;
	color: #555555;
}
.label-info {
	background-color: #fedac3;
	color: #555555;
}

.contre {
	margin-top: 10px;
}

.navbar-inner {
	background-color: #dadada;
}

.green {
	color: green;
	font-weight: bold;
}
.red {
	color: red;
	font-weight: bold;
}
.orange {
	color: orange;
	font-weight: bold;
}

/*
th.sorting { background:url(../images/interface/fond_tri.png) -382px bottom no-repeat; }
th.sorting_asc { background:url(../images/interface/fond_tri.png) 0px bottom no-repeat; }
th.sorting_desc { background:url(../images/interface/fond_tri.png) -775px bottom no-repeat; }
*/
.visu_fiche h4,
.cotations h4 {
	text-align: center;
	padding: 5px 0;
}
.visu_fiche .col-md-6 h4,
.cotations h4 {
	background: #d9d9d9;
	color: #555;
}
.visu_fiche .form-horizontal .control-label,
.visu_fiche .libelle,
.cotations .libelle {
	border-bottom: 1px dashed #555555;
	border-right: 1px dashed #555555;
	padding-bottom: 5px;
	padding-right: 8px;
	padding-top: 0;
	text-align: right;
	color: #333333;
	margin-bottom: 1em;
}
.visu_fiche .valeur,
.cotations .valeur {
	padding-bottom: 5px;
	border-bottom: 1px solid transparent;
	margin-bottom: 1em;
}
.cotations fieldset {
	border: 1px solid #808080;
	margin-bottom: 10px;
	padding-top: 20px;
}

.img-tab {
	max-width: 75px;
}
#photos .thumbnail {
	max-width: 300px;
}
.photobloc input {
	width: 140px;
}

.flex-row {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}
.flex-row [class*="col-"] {
	float: none;
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: auto;
}

#photos .thumbnails.flex-row .thumbnail {
	height: calc(100% - 21px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
#photos .thumbnails.flex-row .magPop {
	flex: 1 0 auto;
	align-items: center;
	display: flex;
}
#photos .thumbnails.flex-row .caption {
	flex: 0 0 auto;
}

.fiche {
	height: 60px;
	width: 85px;
	padding: 5px;
	margin: 5px;
	line-height: 1.2;
	font-size: 0.9em;
	color: #fff;
	background: #999a93;
	cursor: pointer;
	transition: all 0.2s ease;
}
.fiche:hover,
.fiche.active {
	background: #747473;
}
.fiche.x2 {
	height: 130px;
	width: 180px;
	background: var(--couleur-accent-leger);
	font-size: 1.5em;
}
.fiche.x2:hover {
	background: var(--couleur-accent);
}

#id_cat_fiche option,
#selectPat option {
	padding-left: 10px;
}
#id_cat_fiche .parent,
#selectPat .parent {
	font-weight: bold;
	padding-left: 0px;
	font-size: 1.2em;
}
#id_cat_fiche .parent.sub,
#selectPat .parent.sub {
	font-weight: bold;
	font-style: italic;
	padding-left: 5px;
	font-size: 1em;
}

#cotation .validation {
	clear: both;
	font-style: italic;
}
#cotation .validation br:first-child {
	display: none;
}

body.dragging,
body.dragging * {
	cursor: move !important;
}
.dragged {
	position: absolute;
	opacity: 0.5;
	z-index: 2000;
}
li.placeholder {
	background: green;
	min-height: 4em;
}
li.placeholder:before {
	position: absolute;
	content: 'Placer ici';
	color: #fff;
}
.legende {
	background: #000000;
	color: #ffffff;
	margin-top: -92px;
	opacity: 0.2;
	transition: opacity 0.3s ease;
	z-index: 321;
}
.legende:hover {
	opacity: 1;
}
.btn-move {
	cursor: move;
}
.btn-remove {
	cursor: pointer;
}
.select_tableaux .col-xs-4 .nav {
	max-height: 760px;
	overflow-y: auto;
	overflow-x: hidden;
}

#liste_date {
	margin-top: 20px;
	margin-bottom: 20px;
	border: 1px solid #b3c618;
	border-radius: 5px;
	padding: 10px;
}

.ligne-date {
	display: flex;
	align-items: center;
	margin-top: 15px;
	margin-bottom: 15px;
}

/** calendrier **/
.interventions_legende {
	margin-top: 10px;
	margin-bottom: 10px;
}
.item-legend {
	margin-top: 4px;
}

.item-legend-color {
	height: 20px;
	width: 20px;
	margin-right: 5px;
	border: 1px solid black;
	float: left;
}

.echarts {
	margin-bottom: 1em;
}

.num-version {
	pointer-events: none;
	margin:5px;
	text-align: right;
	font-style: italic;
	/* border-top: 1px solid var(--couleur-accent-leger); */
	/* color: var(--couleur-accent-leger)!important; */
	font-size:0.8em;
}

