body {
  font-size: 13px !important;
  padding-top: 20px;
  padding-bottom: 20px;
}

* {
	outline: none !important;
}


/* ----- navigation ----- */

.navbar {
  background-color: #ffffff;
  margin-bottom: 0px;
  min-height: 20px;
  padding: 0px;
}

.navbar-nav > li > a,
.navbar-nav > li > a:focus {
  background-color: #fafafa;
  color: #444444;
  margin-right: 2px;
  padding: 7px 10px 5px 10px;
  text-decoration: none;
}

.navbar-nav > li > a:hover {
  background-color: #eeeeee;
  color: #444444;
  margin-right: 2px;
  padding: 7px 10px 5px 10px;
  text-decoration: none;
}

.navbar-nav > li > a.active,
.navbar-nav > li > a.active:focus,
.navbar-nav > li > a.active:hover {
  background-color: #32565f;
  /*background: linear-gradient(#90af59, #32565F);*/
  color: #ffffff !important;
}

.dropdown-menu {
	--bs-dropdown-spacer: 0rem;
	--bs-dropdown-font-size: 14px;
	border-radius: 0px 0px 5px 5px;
	border-top: 0px;
}

.navbar-nav > li:hover .dropdown-menu {
  background-color: #eeeeee;
}

.subnav {
  background-color: #32565f;
  color: #ffffff;
  margin-bottom: 20px;
}
	
.subnav ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

.subnav li {
	position: relative;
	z-index: 102;
	display: inline-block;
	width: auto;
}
	
.subnav a {
	color: #aaaaaa;
	display: block;
	width: auto;
	text-decoration: none;
  padding: 7px 10px 5px 10px;
}
	
.subnav a:hover,
.subnav a:active {
	color: #dddddd;
}

.subnav a.here:link,
.subnav a.here:visited {
	color: #ffffff;
}
	
.subnav br,
.topnav br {
	clear: both;
}



/* ----- connexion ----- */

.logo {
	display: block;
	margin: 20px auto;
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}

.form-signin .checkbox {
  font-weight: normal;
}

.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}

.form-signin .form-control:focus {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}


/* ----- Filtres ----- */

.filtre {
  background-color: #fafafa;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 15px;
	position: relative;
}

.dt-container .row:first-child {
  background-color: #fafafa;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 15px;
	position: relative;
	margin-left: 0px;
	margin-right: 0px;
}

.dt-search {
  margin: 15px 0px 15px 0px;
	text-align: left !important;
}

.dt-search input {
	min-width: 250px !important;
}

.dt-length {
  margin: 15px 0px 15px 0px;
	text-align: right !important;
}

.dt-length select {
	min-width: 110px !important;
}

fieldset .dt-container .row:first-child {
  border: 0px solid #dddddd;
  margin-bottom: 5px;
}

fieldset .dt-search {
  margin: 0px 0px 15px -15px;
}

fieldset .dt-length {
  margin: 0px -15px 15px 0px;
}

.filtre.avance {
	padding: 5px 0px;
}

.filtre.avance .row {
  margin: 10px 0px;
}

.filtre.avance div span {
  display: inline-block;
  margin-right: 10px;
  text-align: left;
}

.filtre.avance div .logique {
  width: 70px;
}

.filtre.avance div .logique select {
  width: 70px;
}

.filtre.avance div .parenthese select {
  width: 60px !important;
}

.filtre.avance div .champ select {
  width: 200px;
}

.filtre.avance div .operateur select {
  width: 170px;
}

.filtre.avance div .valeur input {
  width: 200px;
}

.filtre.avance div .valeur select {
  width: 200px;
}

.filtre.avance div .boutons {
  width: 100px;
}

.filtre.avance div .boutons input {
	color: #32565f;
  padding-bottom: 2px;
  padding-top: 1px;
}

.filtre.avance div .motscles input {
	width: 180px;
}

.dt-paging * {
	font-size: .875rem;
}

.pagination > .active > button,
.pagination > .active > button:focus,
.pagination > .active > button:hover {
  background-color: #32565f;
  border-color: #32565f;
  color: #ffffff;
}

.pagination .page-link {
	color: #32565f;
}



/* ----- général ----- */

h2 {
	font-size: 18px;
	font-weight: normal;
	margin: 0px 0px 15px 0px;
}

strike {
	text-decoration-style: double;
}


/* ----- listes ----- */

.table {
	max-width: 100% !important;
	table-layout: fixed;
	--bs-table-striped-bg: #f9f9f9;
}

.table > :not(caption) > * > * {
	padding: .3rem .5rem;
}

.table tr th {
	background-color: rgba(50, 86, 95, .80) !important;
	color: #ffffff;
	font-weight: normal;
}

.table tr th,
.table tr td {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#liste-dossiers tr td:last-child {
  overflow: visible;
  text-overflow: none;
  white-space: normal;
}

fieldset .table tr th,
fieldset .table tr td {
	border-left: 0px solid #eeeeee;
	border-right: 0px solid #eeeeee;
}

table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1) > * {
  box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-stripe), 0.03);
}

.table tr[id]:hover {
}

.table tr[id]:hover td {
	background-color: rgba(50, 86, 95, .1) !important;
	border-bottom: 1px solid #000000;
	border-top: 1px solid #000000;
	cursor: pointer;
}

.table tr.raye td {
	opacity: .30;
	text-decoration: line-through;
}

.table tr td.retard {
	color: #ff0000;
}

.table .badge {
	font-size: 10px;
	font-weight: normal;
	vertical-align: 20%;
}

.table tfoot tr td {
  font-weight: bold;
}

.table span.coul {
	border: 1px solid #dddddd;
  border-radius: 50%;
  display: inline-block;
  height: 16px;
  margin: 0px 10px 0px 0px;
  width: 16px;
}


/* ----- formulaires ----- */

fieldset {
	background-color: #fafafa;
  border: 1px solid #dddddd;
  padding: 20px 25px 25px 25px !important;
  margin: 0px 0px 20px 0px !important;
}

.tab-pane fieldset:first-of-type {
  border-top: 0px solid #dddddd;
}

fieldset p:last-child {
	margin-bottom: 0px;
}

.form-select,
.form-control {
	border: 1px solid #cccccc;
	border-radius: 6px;
  font-size: .875rem;
}

.form-control::placeholder {
	color: #aaaaaa;
}

.form-label {
  margin-bottom: .25rem;
}

.btn {
  font-size: .875rem;
  text-decoration: none;
}

.btn-primary {
	background-color: #32565F;
	border-color: #32565F;
}

.btn-primary:hover {
  background-color: #444444;
  border-color: #444444;
  text-decoration: none;
}

.btn-default {
	background-color: transparent;
	border: 1px solid #32565f;
  color: #32565f;
}

.btn-default:hover {
  background-color: rgba(50, 86, 95, .1);
  border-color: #32565f;
  color: #32565f;
  text-decoration: none;
}

fieldset .copy {
	cursor: pointer;
	position: absolute;
	right: 10px;
	top: 10px;
}

fieldset .copy:hover {
	cursor: pointer;
	color: #a90000;
	font-size: 1.50em;
}

fieldset .alert:last-child {
	margin-bottom: 10px;
}

.form-check-input:checked {
  background-color: #32565F;
  border-color: #32565F;
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: #32565F !important;
}

label:has(+ div div input:required):after,
label:has(+ div div select:required):after,
label:has(+ div div textarea:required):after {
  content: ' *';
  color: #b42a99;
}

.tox-tinymce {
  border: 1px solid #dddddd !important;
  border-radius: 6px;
}

input.negatif {
	color: #ff0000;
}

.input-group-text {
	font-size: .875rem;
  border-color: #cccccc;
}


/* ----- tinymce ----- */

.tox .tox-menubar {
  padding: 0px 3px !important;
}

.tox .tox-toolbar__group {
  padding: 0px 3px !important;
}


/* ----- dropzone ----- */

.dropzone {
  background-color: #ffffff !important;
  border: 2px dashed #cccccc !important;
  border-radius: 5px;
  height: 180px;
  margin: 15px 0px;
  width: 100%;
}

.visuels .dropzone {
  background-color: #ffffff !important;
  border: 2px dashed #cccccc !important;
  border-radius: 5px;
  height: 180px;
  width: 100%;
}

.mailings .dropzone {
  background-color: #ffffff !important;
  border: 2px dashed #cccccc !important;
  border-radius: 5px;
  height: 170px;
  margin: 15px 0px;
  width: 100%;
}

.dropzone.dz-clickable .dz-message {
  margin: 40px auto 0px auto !important;
}

.dropzone.dz-clickable .dz-message,
.dropzone.dz-clickable .dz-message * {
  background-color: transparent !important;
  color: #cccccc;
  font-size: 16px;
  font-style: italic;
}

.dropzone .dz-preview {
  margin: 1px;
  min-height: 70px;
}

.dropzone .dz-preview .dz-image {
  width: 100px;
  height: 100px;
}

.dropzone .dz-preview .dz-remove {
  font-size: 12px;
}


/* ----- mailings ----- */

#mailings tr td:nth-child(2n),
#mailings tr td:nth-child(3n),
#mailings tr td:nth-child(4n),
#mailings tr td:nth-child(5n),
#mailings tr td:nth-child(6n),
#mailings tr td:nth-child(7n),
#mailings tr td:nth-child(8n) {
	text-align: right;
}

.module .dropzone {
  background-color: #ffffff !important;
  border: 2px dashed #cccccc !important;
  border-radius: 5px;
  height: 40px;
  margin: 0px 0px 15px 0px;
  min-height: 40px;
  padding: 5px 0px;
  width: 100%;
}

.module .dropzone.dz-clickable .dz-message {
  margin: 0px auto 0px auto !important;
}

.module .panel-heading {
	background-color: #e5e5e5;
	color: #ffffff;
	font-size: 20px;
	font-weight: bold;
	padding: 5px 10px;
	text-shadow: 0px 0px 5px #bbbbbb;
}

.module .panel-body {
	padding-bottom: 0px;
}

.module .emplacement {
	border: 1px solid #f9f9f9;
	min-height: 50px;
}


/* ----- sortable ----- */

.ui-sortable-handle {
	cursor: move;
}

.ui-sortable tr:hover td {
	background-color: #ffffff;
}

.ui-sortable-helper {
	background-color: rgba(250,250,250,.9);
  display: table;
	border-bottom: 1px solid #dddddd;
	border-top: 1px solid #dddddd;
}

.ui-state-highlight {
	background-color: #fcf7bd;
	border: 1px dashed #dddddd;
	border-radius: 6px;
	height: 30px;
	margin-bottom: 20px;
}

.ui-effects-transfer {
	border: 2px dotted gray;
}


/* ----- Photos ----- */

.details > div,
.visuels > div,
.marquages > div {
  margin: 0px 0px 10px 0px !important;
}

.details > div > img,
.visuels > div > img,
.marquages > div > img {
	border: 1px solid #eeeeee;
  padding: 3px;
}

.details > div.main > img,
.visuels > div.main > img,
.marquages > div.main > img {
	border-color: #163830;
}

.details > div.slide > img,
.visuels > div.slide > img,
.marquages > div.slide > img {
	border-width: 3px;
  padding: 1px;
}

.details > div.main > a,
.visuels > div.main > a,
.marquages > div.main > a {
	color: #163830;
}

.details > div > a,
.visuels > div > a,
.marquages > div > a {
	color: #777777;
	font-size: 11px;
	line-height: 16px;
	margin-right: 10px;
}

.details > div > a:hover,
.visuels > div > a:hover,
.marquages > div > a:hover {
	text-decoration: underline;
}

.mailings hr {
	margin-bottom: 12px;
	margin-top: 12px;
}

.mailings i {
	color: #999999;
}


/* ---------- Slides ---------- */

.slides {
	margin-top: 5px;
}

.slides > div {
	float: left;
	margin-left: 15px;
	width: 48%;
}

.slides > div a img {
	border: 1px solid #dddddd;
}

.slides div.opac50 {
	filter: grayscale(100%);
	opacity: .2;
}

.slides .ui-sortable-helper {
	background-color: rgba(250,250,250,.9);
  display: table;
	border-bottom: 0px solid #dddddd;
	border-top: 0px solid #dddddd;
}

.ui-state-highlight-slide {
	background-color: #fcf7bd;
	border: 1px dashed #dddddd;
	height: 30px;
	margin-bottom: 20px;
	margin-left: 15px;
	position: relative;
	width: 48%;
}


/* ---------- Cropping ---------- */

#original {
	height: auto;
	width: 100% !important;
	overflow: hidden;
}

#preview {
	width: 100% !important;
	overflow: hidden;
}


/* ----- onglets ----- */

.nav-tabs {
  border-bottom: 1px solid #ddd;
}

.nav-tabs > li > a,
.nav-tabs > li > a:focus,
.nav-tabs > li > a:hover {
  background-color: transparent;
  color: #555555;
  text-decoration: none;
  z-index: 1000;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link.active:focus,
.nav-tabs .nav-link.active:hover {
  background-color: #fafafa;
  border-bottom: 1px solid #fafafa;
  color: #555555;
  text-decoration: none;
}

.nav-tabs li .badge {
	background-color: #777777;
	color: #ffffff;
  font-size: 10px !important;
  font-weight: normal;
  margin-left: 5px;
}

.tab-pane {
}



/* ----- colonnes ----- */

.colonnes {
	column-count: 4;
}


/* ----- panels ----- */

.panel-heading strong {
	display: inline-block;
	background-color: #aaaaaa;
	border-radius: 10px;
	color: #ffffff;
	height: 20px;
	margin-right: 5px;
	text-align: center;
	width: 20px;
}

/* ----- colonnes ----- */

.columns {
	-webkit-column-width: 250px;
	-moz-column-width: 250px;
	column-width: 250px;

} 


/* ----- historiques ----- */

#historique table {
	margin: 0px 0px 10px 0px;
}

#historique table td {
	padding: 5px 30px 5px 0px;
}


/* ----- map ----- */

#gmap {
	height: 650px;
	width: 100%;
}


/* ----- agenda ----- */

div.day {
	background-image: url('/images/cal_blank.png');
	height: 48px;
	margin: 0px 5px 20px 5px;
	width: 48px;
}

div.day span.mois {
	color: #ffffff;
	display: block;
	height: 11px;
	line-height: 11px;
	text-align: center;
	width: 48px;
}

div.day span.jour {
	color: #333333;
	display: block;
	font-family: arial;
	font-size: 22px;
	height: 37px;
	line-height: 37px;
	text-align: center;
	width: 48px;
}

/* ---------- Footer ---------- */

footer {
	font-size: 9px;
	font-style: italic;
	margin-top: 20px;
	text-align: right;
}