:root {
	--bs-nav-tabs-link-active-bg: #fafafa;
	--bs-pagination-font-size: .875rem;
}

body {
  font-size: .875rem;
  padding-bottom: 20px;
  padding-top: 10px;
}

* {
	outline: none !important;
}


/* ----- container ----- */

.row {
  margin-right: -10px;
  margin-left: -10px;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
  padding-right: 10px;
  padding-left: 10px;
}


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

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

.navbar-nav > li > a,
.navbar-nav > li > a:focus {
  background-color: #f5f5f5;
	border-radius: 10px 10px 0px 0px;
  color: #444444;
  margin-right: 2px;
  padding: 7px 15px 5px 15px;
}

.navbar-nav > li > a:hover {
  background-color: #eeeeee;
	border-radius: 10px 10px 0px 0px;
  color: #444444;
  margin-right: 2px;
  padding: 7px 15px 5px 15px;
}

.navbar-nav > li > a.active,
.navbar-nav > li > a.active:focus,
.navbar-nav > li > a.active:hover {
  /*background-color: #682c90;*/
  background: linear-gradient(#b42a99, #682c90);
  color: #ffffff !important;
}


@media (min-width: 768px) {

	.navbar-nav > li > a {
	  color: #444444;
	  font-size: 11px;
		padding: 7px 15px 5px 15px !important;
	  text-align: center;
	}

	.navbar-nav > li > a .fa-solid,
	.navbar-nav > li > a .fa-regular {
		display: block;
	  font-size: 2.1em;
	  text-align: center;
	}

	.navbar-nav .open .dropdown-menu > li > a {
	  color: #777;
	}

}

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

.subnav li {
	position: relative;
	z-index: 102;
	display: inline-block;
	margin-left: 0px;
	width: auto;
}
	
.subnav a {
	color: #ba94d3;
	display: block;
	width: auto;
	text-decoration: none;
	padding: 7px 9px 7px 9px;
}
	
.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 ----- */

.form-signin {
	font-size: 16px;
  margin: 0 auto;
  max-width: 400px;
  padding: 15px;
  text-align: center;
}


.form-signin .img-fluid {
	margin: 50px auto 20px auto;
	width: 150px;
}

.form-signin input[type="email"] {
  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;
}


/* ----- Texte ----- */

.modal-body h2 {
	font-size: 18px;
	font-weight: normal;
	text-transform: uppercase;
}

hr {
	margin-bottom: 15px;
	margin-top: 15px;
}


/* ----- 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 {
  padding: 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;
}

.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: 170px;
}

.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: #dc0064;
  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: #682C90;
  border-color: #682C90;
}


/* ----- textes ----- */

h1 {
	color: #682c90;
	font-size: 28px;
	margin: 5px 0px 15px 0px;
}


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

.table {
	max-width: 100% !important;
	table-layout: fixed;
}

.table > thead > tr > th {
  border-bottom: 0px;
}

.table tr th {
	color: #a11e10;
	font-weight: normal;
}

.table tr th,
.table tr td {
	border: 1px solid #eeeeee;
	font-size: 13px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/*
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 {
	border-bottom: 1px solid #333333;
	border-top: 1px solid #333333;
}

.table tr[id]:hover td {
	background-color: rgba(104, 44, 144, .1) !important;
	cursor: pointer;
}

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

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

.label {
	font-weight: normal;
}

#listcontacts {
	/*margin-top: 10px;*/
}

#listcontacts .panel-default > .panel-heading {
  color: #333;
  background-color: #e5e5e5;
}


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

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

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;
}

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

.btn {
  font-size: .875rem;
}

.btn-primary {
	background-color: #682c90;
	border-color: #682c90;
}

.btn-primary:hover {
  background-color: #b42a99;
  border-color: #b42a99;
}

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

.btn-default:hover {
  background-color: transparent;
  border-color: #212529;
  color: #212529;
}

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: #682c90;
  border-color: #682c90;
}

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

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

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


/* ----- Panels ----- */

.panel-default > .panel-heading {
  background-color: #fafafa;
  color: #444444;
  font-weight: bold;
}


/* ----- Dropzone ----- */

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

.visuels .dropzone {
  background-color: #ffffff !important;
  border: 2px dashed #cccccc !important;
  border-radius: 5px;
  min-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 {
	left: 50%;
  margin: 0px;
	position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.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: 5px;
}

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


/* ----- Highcharts ----- */

.highcharts-background {
  fill: transparent;
}

.highcharts-container hr {
	border-color: #cccccc;
	margin-bottom: 0px;
	margin-top: 0px;
}

.highcharts-container table tr td {
	padding: 2px 10px;
}


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


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

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

.visuels > div.main > img {
	border: 2px solid #a90000;
  padding: 2px;
}

.visuels > div.main > a {
	color: #a90000;
}

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

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


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

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

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


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

.nav-tabs {
  border-bottom: 0px solid #DDD;
}

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

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

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

.tab-pane {
}


/* ----- 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%;
}
