
:root {
	--suivi-color-gray: #ddd;
	--suivi-color-blue: #0070c0;
	--suivi-color-green: #34d186;
	--suivi-color-yellow: #c6bf2b;
	--suivi-color-red: #ff0000;
	--suivi-color-orange: #ffc000;
	--suivi-color-purple: #953ccd;
	--suivi-color-purple-light: #d5a7f3;
}

body {
	font-family: Arial, Helvetica, sans-serif;
}
button, input[type="button"], input[type="submit"], .btn {
	font-family: Arial, Helvetica, sans-serif;
}
h1 { font-family: Arial, Helvetica, sans-serif; letter-spacing: unset; font-size: 24px; }
h2 { font-family: Arial, Helvetica, sans-serif; letter-spacing: unset; }
h3 { font-family: Arial, Helvetica, sans-serif; letter-spacing: unset; }

main {
	margin: 0 auto;
	max-width: 1200px;
}

textarea { min-height: 120px; }

header .welcome { font-size: 12px; height: 30px; padding: 0 10px; display: flex; justify-content: space-between; align-items: center; margin: 0 auto; max-width: 1200px; background-color: #000; color: #fff; border-radius: 0 0 6px 6px; }
header .welcome a { color: #fff; }
header .logo { height: 60px; margin: 10px 0; }

ul.errorBloc, ul.error {
	padding:10px 10px;
	margin:12px 0 8px 0;
	font-size:14px;
	background-color: #c00;
	color:#fff;
	border-radius: 8px;
}
ul.errorBloc li, ul.error li {
	display:list-item ;
	list-style:square;
	margin-left:15px;
	padding:3px 0px;
	letter-spacing: 0.4pt;
}

ul.error.error-system {	background-color: #500;}
ul.error.error-msg {	background-color: #c00;}
ul.error.error-warn {	background-color: #e84;}
ul.error.error-info {	background-color: #59b;}

ul.msg-error li, .error span, label.error, .error {color:#a00; border-color:#a00}
ul.error-msg.error a {color:#caf;}
ul.error-msg.error a:hover {color:#fcf; text-decoration: underline;}

.portal-cards { display: flex; justify-content: center; }
.portal-cards > a { display: flex; flex-direction: column; flex: 1 1 33.3333333%; height: 120px; border-radius: 6px; border: 1px solid #000; margin: 5px; }
.portal-cards > a > figure { flex: 1 1 100%; display: flex; justify-content: center; align-items: center; }
.portal-cards > a > figure > i { font-size: 38px; }
.portal-cards > a > label { color: #fff; background-color: #000; font-size: 16px; padding: 8px 12px; text-align: center; }

@media all and (max-width: 800px) {
	.portal-cards { flex-direction: column; }
	.portal-cards > a { flex: 1 1 120px; }
}

.cards-list {}
.cards-list.grid { display: flex; flex-direction: row; justify-content: center; flex-wrap: wrap; }
.cards-list.grid > .card { flex: 1 1 calc(33.333333% - 10px); max-width: calc(33.333333% - 10px); min-width: 250px; }
.cards-list:empty { display: flex; justify-content: center; align-items: center; height: 150px; }
.cards-list:empty::before { content: 'Aucun résultat'; font-size: 20px; }
.cards-list > .card {
	display: flex;
	flex-direction: column;
	margin: 5px;
	border-radius: 5px;
	background-color: #fbfbfb;
	border: 1px solid var(--color, #aaa);
	overflow: hidden;
}
.cards-list > .card > header { display: flex; flex-direction: row; align-items: center; background-color: var(--color, #aaa); padding: 10px; }
.cards-list > .card > header > h2 { margin: 0; color: #fff; font-size: 18px; line-height: 1; text-align: center; width: 100%; flex: 1 1 100%; }
.cards-list > .card > header > .hour { margin-left: auto; font-size: 14px; color: #fff; font-weight: bold; }
.cards-list .col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.cards-list .row {
	display: flex;
	flex-direction: row;
}
.cards-list .row > * {
	flex: 1 1;
}
.cards-list .info { padding: 10px; }
.cards-list .info label { font-weight: bold; margin-right: 4px; line-height: 1.3em; }
.cards-list .info label.ico > i { display:inline-block; width: 16px; text-align: center; }
.cards-list .info .highlight { color: #105dc6; font-weight: bold; }
.cards-list .row > nav { padding: 10px; max-width: 140px; align-items: stretch; }
.cards-list .row > nav > .btn { text-align: center; margin-bottom: 4px; }

.cards-list > .card-separator > h3 { text-align: center; margin: 20px 0 0 0; }

.cards-list.filtered > .card-separator { display: none; }
.cards-list.filtered > .card.off { display: none; }
.cards-list > .card > .state { background-color: #eee; padding: 5px; font-size: 14px; font-weight: bold; text-align: center; color: #666; border-bottom: 1px solid #ddd; }
.cards-list > .card > .state > * { display: block; text-align: center; }
.cards-list > .card > .state > .time { font-size: 9px; color: #999; margin-top: 2px; }

.cards-list.vehicles > .card.vehicle { --color: #000; }
.cards-list.vehicles > .card.vehicle > figure { height: 160px; position: relative; }
.cards-list.vehicles > .card.vehicle > figure > .pictures  { height: 100%; width: 100%; }
.cards-list.vehicles > .card.vehicle > figure > .pictures .splide__track  {  height: 100%; width: 100%; }
.cards-list.vehicles > .card.vehicle > figure > .pictures .splide__list  {  height: 100%; width: 100%; }
.cards-list.vehicles > .card.vehicle > figure > .pictures .splide__pagination  { bottom: unset; top: 0.5em; }
.cards-list.vehicles > .card.vehicle > figure > .pictures img  { display: block; height: 100%; width: 100%; object-fit: cover; }
.cards-list.vehicles > .card.vehicle > figure > h4  { position: absolute; bottom: 0; left: 0; width: 100%; margin: 0; text-align: center; padding: 12px; background: rgba(0, 0, 0, 0.2); color: #fff; text-shadow: 1px 1px solid rgba(0, 0, 0, 0.2); font-size: 16px; font-weight: bold; }

.cards-list.vehicles > .card.vehicle > nav > .btn { width: 100%; text-align: center; border-radius: 0; }
.cards-list.vehicles > .card.vehicle > nav > .unavailable { display: block; font-size: 16px; padding: 0.8em 1.3em; text-align: center; background-color: #ccc; color: #999; }

@media all and (max-width: 600px) {
	.cards-list.vehicles > .card.vehicle { flex: 1 1 100%; width: 100%; max-width: unset; }
}

.garage-dashboard .filter { padding: 5px; }
.garage-dashboard .filter .filter-matriculation { background-color: #fff; border: 1px solid #666; text-align: center; font-size: 18px; text-transform: uppercase; }

main.announcer-import form { display: block; max-width: 740px; margin: 40px auto; padding: 30px; background: #eee; align-items: center; }
main.announcer-import form article { margin-bottom: 20px; }
main.announcer-import form article > label { display: block; font-size: 16px; margin-bottom: 10px; }
main.announcer-import form > nav { margin-top: 40px; text-align: center; }
main.announcer-import .format .col { font-family: Arial; font-weight: bold; display: inline-block; padding: 4px; margin: 3px; background: #eee; border: 1px solid #666; border-radius: 4px; color: #666; }

.filters { border: 1px solid #000; border-radius: 7px; margin: 10px 5px; }
.filters > header { display: flex; background-color: #000; color: #fff; margin: 0; height: 38px; cursor: pointer; }
.filters > header > .filters-toggle { flex: 0 0 40px; margin-left: auto; height: 100%; width: 40px; display: flex; justify-content: center; align-items: center; }
.filters > header > .filters-toggle > i { font-size: 18px; cursor: pointer; }
.filters > header > h4 { color: inherit; margin: 0; padding: 10px; font-size: 18px; }

.filters .filters-container-flex { display: flex; flex-wrap: wrap; }
.filters .filters-container-flex .filter { padding: 5px; display: flex; flex-direction: column; margin-right: 20px; }
.filters .filters-container-flex .filter > div { display: flex; flex-direction: column; }

.stateFlag {
	position: relative;
	display:inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	font-size:12px;
	background: var(--state-color, var(--suivi-color-gray));
	vertical-align: middle;
	line-height: 20px;
	text-align: center;
	color: #fff;
	font-style: normal;
	text-decoration: none;
	cursor: pointer;
}


.stateFlag.monthState-flag.state-notSent { --state-color: var(--suivi-color-orange); }
.stateFlag.monthState-flag.state-sentPartially { --state-color: var(--suivi-color-yellow); }
.stateFlag.monthState-flag.state-toCheck { --state-color: var(--suivi-color-blue); }
.stateFlag.monthState-flag.state-validated { --state-color: var(--suivi-color-green); }
.stateFlag.monthState-flag.state-issue { --state-color: var(--suivi-color-red); }

/* Listes
---------------------------------------------------------------------- */
.app-List {position:relative; margin: 0 0 20px 0; padding:0; background: #f0f0f0; clear:both}
.digiForm .app-List { width: 100%; position:relative; }
.app-List header {padding-left:0px;}
.app-List table { width: 100%; border:none; border-spacing: 0; border-collapse: collapse; }
.app-List table td { margin:0; }
.app-List table tr.noresult { display:none; }
.app-List table tr.noresult td {
	padding:30px;
	font-weight: bold;
	font-size:14px;
	text-align: center;
	color:#d00;
}
.app-List table tr.headcols td, .app-List thead th { /* titre */
	height:24px;
	font-size:14px;
	padding:10px 8px;
	line-height: 16px;
    background: #f0f0f0;
    color:#000;
    text-align: left;
    cursor: pointer;
}
.app-List table tr.headcols td.on { background: #444; color:#fff; }
.app-List table tr.headcols td:hover { background: #444; }
.app-List table tr.headcols td i { padding:0 4px 0 8px; float:right; }
.app-List table tr.headcols td.action i { float: none; }
.app-List table tr td, .app-List table tr th  {
	height:30px;
	padding:3px 8px;
	font-size:12px;
	line-height: 16px;
	background: #fff;
	border-bottom: 1px solid #ddd;
}
.app-List table tr th  {
    white-space: nowrap;
}
.app-List table tr td.link { font-weight: bold; cursor: pointer; }
.app-List table tr td.link-sec { cursor: pointer; }
.app-List table tr td.link:hover,
.app-List table tr td.link-sec:hover { text-decoration: underline;}
.app-List table tr.search td { height:36px; }
.app-List table tr.search td input { height:22px; border:1px solid #ccc; font-size:11px; line-height: 14px; padding:2px 3px; width:97%}
.app-List tbody th,
.app-List table tr .action {	text-align: center; }
.app-List tbody i,
.app-List table tr td.action i { padding:0 8px; color:#555; font-size: 14px; }
.app-List table tr:nth-child(even) td,
.app-List table tr:nth-child(even) th { background: #f0f0f0; }
.app-List > div { padding:0; text-align: right; }
.app-List select { line-height: 14px; height:auto; padding:0; margin:2px; width:auto; }
.app-List header div span { display: inline-block; padding-right: 30px; font-size: 11px; line-height: 24px; vertical-align: middle; }
.app-List header > div:first-child {
    vertical-align: middle;
	margin: 0;
	padding: 3px 8px;
	height:34px;
	display: block;
}
.app-List header aside { float:right; height:28px; }
.app-List header aside > div{
	display: inline-block;
	padding-right: 20px;
	padding-left: 20px;
	height: 28px;
	border-left:1px solid #ccc;
	margin-left: 20px;
	border-right:1px solid #ccc;
	margin-right: 20px;
}
.app-List .pagination {text-align: right;}
.app-List .pagination .btn-grp {justify-content: center;}
.app-List .pagination .btn-grp .btn.inv {background: #000; color:#fff;}
.app-List tbody th u {font-weight: normal; margin:0 5px;}
.app-List tbody th u:hover {text-decoration: none;}
.app-List tbody th u,
.app-List tbody th i,
.app-List .action i { cursor: pointer;}
.app-List table tbody tr:hover:nth-child(odd) td, .app-List table tbody tr:hover:nth-child(odd) th {background: #fafaff;}
.app-List table tbody tr:hover:nth-child(even) td, .app-List table tbody tr:hover:nth-child(even) th {background: #f0f0f5;}
.app-List table tr.new td {	background: #efe;}
.app-List table tr.dragging td {	opacity: 0.9; background:#fee; }
.app-List .lineDrag { z-index:2; position:absolute; width:auto; height:auto; opacity: 0.9; cursor: move;}

.app-List table tbody tr td.price {
	text-align: right;
	padding-right: 20px;
}
.app-List td.price.credit {color:#00c;}
.app-List td.price.debit {color:#c00;}
.app-List table tbody tr td.subtotal{
	color:#000;
	text-align: right;
	background: #eee;
}
.app-List table tr td.total, .app-List table tbody tr:hover td.total {
	text-align: right;
	background-color: #000;
	color:#fff;
	font-weight: bold;
}
.app-List table tr td.total.time {text-align: left;}

.app-List table tr td span.hierarchy {font-size:10px; color:#777;}

.app-List > header { background-color: #000; color: #fff; }

.dropdown-select .btn {
	background-color: #F5F5F5;
	background-image: linear-gradient(to bottom, #f8f8f8, #E0E0E0);
	border: solid 1px;
	border-top-color: currentcolor;
	border-right-color: currentcolor;
	border-bottom-color: currentcolor;
	border-left-color: currentcolor;
	line-height: 14px;
	font-weight: bold;
	display: inline-block;
	text-align: center;
	vertical-align: top;
	border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
	border-radius: 3px 3px 3px 3px;
	font-size: 12px;
	padding: 7px 13px;
	min-height: 32px;
	color: #555;
	white-space: nowrap;
	cursor: pointer;
}

select.dropdown,
.dropdown-select select {
	display: none;
}
.dropdown-select {
	position:relative;
}
.dropdown-select > div > span {
	display:inline;
	flex:1;
	align-self: center;
}
.dropdown-select > div > span img {
	max-width: 100%;
}

.dropdown-select > div > i {
	padding-left:3px;
	vertical-align: middle;
	margin:0px;
}
.dropdown-select > div > i[class] {
	margin:0px;
	margin-right: 5px;
	align-self: center;
}
.dropdown-select > div {
	background: linear-gradient(to bottom, #f8f8f8, #eaeaea);
	border-radius: 8px;
	cursor: pointer;
	font-weight: normal;
	display: inline-flex;
	white-space: nowrap;
	font-size: 12px;
	margin: 0;
	overflow: hidden;
	padding: 6px 8px;
	vertical-align: middle;
	width: 100%;

}


.dropdown-select ul {
	position:absolute;
	top:30px;
	display:none;
	z-index:1000;
}
.dropdown-select ul li {
	background-color:#f2f2f2;
	border-style:solid;
	cursor: pointer;
	border-width:1px 0px;
	border-radius: 5px;
	width: auto;
	border-color:#fff #fafafa #ddd;
	vertical-align:middle;
	padding:5px 12px;
	font-size:11px;
}
.dropdown-select ul li img {
	max-width: 100%;
}

.dropdown-select ul li:hover,
.dropdown-select ul li.selected {
	background-color:#ececec;
	position:relative;
}
.dropdown-select ul li:hover::after,
.dropdown-select ul li.selected::after {
	opacity: 0.15;
	transition: opacity 0.1s ease-in-out 0s;
	content:"";
	position:absolute;
	top:0; left:0; width:100%;height:100%; background: #fff;
}


/* Popin confirm
------------------------------ */
.confirmPop {
	position:absolute;
	width:280px;
	height: auto;
	min-height: 60px;
	border:2px solid #000;
	border-radius: 5px;
	background: #555;
	font-size:12px;
	text-align: center;
	padding:20px;
	z-index:11000;
}

.confirmPop span {
	color:#fff;
	font-weight: bold;
	text-align: center;
	display:block;
}

.confirmPop .btOk, .confirmPop .btCancel {
	margin: 10px 20px 0px 20px;
	min-width: 75px;
}

.btn.big {
	padding: 10px 20px;
	font-size: 24px;
	border-radius: 0;
}
.btn.small {
	padding: 3px 8px;
	font-size: 12px;
	border-radius: 0;
	text-transform: none;
}
.btn > i { margin-right: 6px; }


nav.actions { text-align: center; padding: 20px 10px; }
nav.actions.right { text-align: right; }
nav.actions .btn { display: inline-block; margin: 4px; }


.notif {padding:10px; font-size:12px; border-radius: 5px; text-align: center; min-height: 80px; flex:1; display:flex; flex-direction: column; justify-content: center;}
.notif.simple {text-align: left; min-height: unset; display:block;}
.notif.info {background:#74c9da; border:1px solid #4983a0; color:#fff;}
.notif.warn {background:#e84; border:1px solid #e6723f; color:#fff; }
.notif.msg {background:#cf8ef9; border:1px solid #9666b4;  color:#fff;}
.notif.ok {background:#96c964; border:1px solid #679a45; color:#fff; }
.notif.danger {background:#db7575; border:1px solid #a55858;  color:#fff;}
.notif.system {background:#500; border:1px solid #a55858;  color:#fff;}
.notif.big {font-size:15px;}
.notif.ico {text-align: left; display:flex; align-items: center; flex-direction: row;}
.notif.ico > i {font-size:24px; width:40px;}
.notif.ico > div {text-align: left;}

.digi-notifs {
	position:fixed;
	z-index: 21000;
	top: 0;
	left:0;
	width: 100%;
	background: #fff;
	border-radius: 5px;
	border-bottom: 1px solid #ddd;
}
.digi-notifs.notif-report .notif {text-align: left;}
.digi-notifs.notif-report {
	max-height: 60vh;
	top:20vh;
	width:70vw;
	left:15vw;
	padding:20px;
	background: rgba(255,255,255,0.8);
	border:1px solid #eee;
	border-radius: 10px;
	overflow-y:auto;
}
.digi-notifs .notif {
	margin: 5px;
	min-height: 60px;
	font-size: 14px;
	padding: 10px 30px;
	position: relative;
	display:flex; flex-direction: column; justify-content: center;
}
.digi-notifs .notif .close {
	position: absolute;
	top: calc(50% - 15px);
	right: 5px;
	font-size: 24px;
	color: #aaa;
}
.digi-notifs.notif-report  .notif .close {top: 15px;}


.rent-formula { display: flex !important; flex-direction: row; align-items: stretch; justify-content: center; flex-wrap: wrap; padding: 5px; }
.rent-formula > .formula { flex: 1 1 50%; max-width: 50%; margin: 0; padding: 5px; height: auto; }
.rent-formula > .formula > input { display: none; }
.rent-formula > .formula > .formula-inner { display: flex; flex-direction: column; background-color: #fbfbfb; --color: #444; border: 1px solid var(--color); border-radius: 5px; height: 100%; opacity: 0.5; transition: all 0.4s ease; }
.rent-formula > .formula > input:checked + .formula-inner { opacity: 1; --color: #0070c0 }
.rent-formula > .formula > .formula-inner > header { background-color: var(--color); padding: 10px 5px; font-size: 16px; margin-bottom: 10px;  }
.rent-formula > .formula > .formula-inner > header > h4 { padding: 0; margin: 0; color: #fff; text-align: center; font-size: 16px; }
.rent-formula > .formula > .formula-inner .description { font-size: 12px; padding: 0 5px 5px 5px; }
.rent-formula > .formula > .formula-inner .price { display: inline-block; font-size: 24px; text-align: center; padding: 5px 5px 10px 5px; margin-top: auto; color: var(--color); font-weight: bold; }

@media all and (max-width: 600px) {
	.rent-formula > .formula { flex: 1 1 100%; width: 100%; max-width: unset; }
}
