/* ===========================================================
 * Filename: main.css
 * Description: Règles générales
 * =========================================================== */


/* Body and structure
-------------------------------------------------- */

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  background-color: white;
  margin: 0 auto; /* zéro ou une autre valeur */
  padding: 0;
  width: 100%;
  min-height: 100%;
}

tbody {
  font-size: 0.9em;
}

body.login .btn.btn-primary {
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.33);
  border: 1px solid #980b0e;
  background: -moz-linear-gradient(top, #e0242a 0%, #b91e23 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e0242a), color-stop(100%, #b91e23));
  background: -webkit-linear-gradient(top, #e0242a 0%, #b91e23 100%);
  background: -o-linear-gradient(top, #e0242a 0%, #b91e23 100%);
  background: -ms-linear-gradient(top, #e0242a 0%, #b91e23 100%);
  background: linear-gradient(to bottom, #e0242a 0%, #b91e23 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e0242a', endColorstr='#b91e23', GradientType=0);
}

body.login input[type='submit'] {
  display: block;
  margin: 0 auto;
}

.login .errors {
  list-style: none;
  margin-left: 0;
  font-style: italic;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 17.5px
}

h2 small {
  font-size: 15px;
}

h2.page-header {
  margin-top: 0px;
}

.ui-widget.ui-widget-content a {
  color: #005580;
}

#main-content {
  margin-top: 55px;
}

@media (min-width: 768px) and (max-width: 900px) {
  #main-content {
    margin-top: 100px;
  }
}

/* On règle la navbar en mode "super sleek"
-------------------------------------------------- */

body > .navbar {
  font-size: 12px;
}

.navbar-fixed-top .navbar-right {
  margin-right: 0;
}

/* TomSelect remplace le <select> original par un wrapper (.ts-wrapper) qui reçoit
   la classe .focus au focus : le sélecteur ci-dessus ne matche donc plus. */
#nav-main-search-form .ts-wrapper.focus {
  width: 300px;
}

/* Le wrapper TomSelect impose une min-height de 36px et hérite de la taille
   de police 14px de .form-control, ce qui le rend plus haut que les boutons
   voisins (loupe et "Avancée", en 12px comme le reste de la navbar). Plutôt
   que d'essayer de faire correspondre police/line-height (peu fiable), on
   fixe une hauteur identique à celle des .btn-default (34px, cf. Bootstrap
   .btn : padding 6px 12px + line-height 1.42857 + bordures) en box-sizing
   border-box, et on centre le contenu verticalement avec flex. */
#nav-main-search-form .ts-wrapper {
  min-height: 0;
  height: 34px;
  box-sizing: border-box;
}

#nav-main-search-form .ts-control {
  background: #fff;
  padding: 6px 12px;
  border-color: #ccc;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  align-items: center;
}

#nav-main-search-form .ts-control input {
  font-size: 12px;
}

/* .input-group-btn est une cellule de tableau (Bootstrap) qui adopte déjà les
   34px de la cellule TomSelect, mais les <button>/<a> qu'elle contient
   gardent leur hauteur intrinsèque (~33.6px) et restent simplement centrés
   verticalement dedans : d'où l'écart résiduel. On leur donne la même
   hauteur explicite qu'au champ de recherche (height:100% ne se résout pas
   de façon fiable sur un <button> dans une cellule de tableau). */
#nav-main-search-form .input-group-btn .btn {
  box-sizing: border-box;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Le caret natif de TomSelect (menu déroulant) n'apporte rien dans ce champ
   de recherche libre : on le supprime et on récupère l'espace réservé entre
   le texte et le bord droit du champ. */
#nav-main-search-form .ts-wrapper.single .ts-control {
  --ts-pr-caret: 0px;
}

#nav-main-search-form .ts-control:after {
  display: none;
}

/* Style de la page d'erreur
-------------------------------------------------- */

body.error {
  background-color: #ecf0f1;
}

body.error h1 {
  margin-bottom: 50px;
}

body.error .well {
  background-color: #bdc3c7;
}

.actions-dispo {
  width: 100%;
}

#dossiers-ajout-dossier, #ets-ajout-ets {
  width: auto;
  float: right;
}

#ets-filtrer {
  margin: 10px 0;
}

#dossiers-filtrer {
  margin: 0 10px;
}

.floating_right {
  float: right;
}

/* Style du pied de page
-------------------------------------------------- */
footer {
  color: #999;
  font-size: .9em;
  background-color: #f4f4f4;
  padding: 10px 20px;
}

footer a {
  color: #404040;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.ui-dialog { z-index: 1000 !important;}

/* Formulaire
-------------------------------------------------- */

form select {
  box-sizing: border-box;
}

textarea {
  width: 100%;
  box-sizing: border-box;
}

/* Formulaire d'ajout de news */

form#etablissement dt,
form#etablissement dd {
  line-height: 30px;
}
/* Tableau des rubriques ICPE : colonnes en pourcentage (table-layout: fixed) pour
   que la largeur reste fluide et tienne dans la colonne (col-lg-6) sans jamais
   dépasser sur "Données prévention". Les <input>/<select> (form-control, width:100%)
   remplissent alors naturellement leur cellule.
   .table-scroll-x reste un filet de sécurité (overflow ne s'applique pas de façon
   fiable sur un <table> lui-même) pour les très petites largeurs. */
form#etablissement .champs_icpe {
  table-layout: fixed;
  width: 100%;
}
form#etablissement .table-scroll-x {
  overflow-x: auto;
  width: 100%;
}


/* Fil d'actualité */

ul#index-newsfeed li .valeur {

  margin-bottom: 3px;
}

ul#index-newsfeed li .date {

  color: #999;
  white-space: nowrap;
  text-align: right;
  margin-bottom: 0;
}

/* Groupement de communes */
#liste_villes option[disabled] {
  color: #ccc;
}

/* Onglets horizontaux */

ul#onglets_horizontaux {
  margin: 0;
  border-bottom: 1px solid #cfcfcf;
  margin-bottom: 1em;
  padding-bottom: .5em;
}

ul#onglets_horizontaux li {

  display: inline;
}

ul#onglets_horizontaux li a {

  /*color: #949494;*/
  color: inherit;
  font-size: 1.2em;
  line-height: 1.05em;
  text-decoration: none;
  padding: 0 9px 0 6px;
  border-right: 1px dotted #818183;
}

ul#onglets_horizontaux li:first-child a {

  padding-left: 0;
}

ul#onglets_horizontaux li a:hover {

  text-decoration: underline;
}

ul#onglets_horizontaux li a {

  position: relative;
  top: -1px;
}

ul#onglets_horizontaux .selection_onglets_hor a {

  font-weight: bold;
  color: inherit;
}

/* Liste d'informations */

.liste_informations li,
.liste_informations dt,
.liste_informations dd {

  padding: 1em 0 1em 0;
  border-top: 1px solid #e9e9e9;
  overflow: hidden;
}

.liste_informations li:last-child {

  border-bottom: 1px solid #e9e9e9;
  margin-bottom: 15px;
}

/* Recherche */
.avis {
  display: inline-block;
  padding: 2px 4px;
  font-size: 11.844px;
  font-weight: bold;
  line-height: 14px;
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  vertical-align: baseline;
  background-color: #999;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
span.avis + span.avis {
  margin-right: 2px;
}
.F { background-color: #8eb571; }
.D { background-color: #d15c6a; }
.R { background-color: #6779a7; }
.S { background-color: #f9cd57; }

.child {
  display: none;
  margin: -2px 0 0 25px;
  width: 605px;
}

.child > div {
  background-color: rgb(245, 245, 245);
}

.sous-child {
  display: none;
  margin: -2px 0 0 50px;
  width: 580px;
}

.sous-child > div {
  background-color: #fafafa;
}

/* Recherche de dossier & ets */

ul.recherche_liste {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

ul.recherche_liste li {
  background-color: #ebebeb;
  padding: 6px;
}

ul.recherche_liste li.slide {
  border-left: 3px dotted #aaa;
}

ul.recherche_liste li.slide + li.ui-helper-hidden {
  padding: 0;
  margin-left: 50px;
  background-color: white;
}

ul.recherche_liste li:hover {
  background-color: #f5f5f5;
}

ul.recherche_liste li.slide:hover {
  cursor: pointer;
}

ul.recherche_liste > div > ul.recherche_liste {
  padding-left: 0;
}

ul.no_slide li.slide:hover {
  cursor: default;
}

ul.no_slide li.slide {
  border-left: none;
}

ul.recherche_liste li + li, .voir-plus {
  margin-top: 3px;
}

ul.recherche_liste .active .ui-icon {
  background-position: -64px -16px;
}

div.thumbnail + div.thumbnail {
  margin-left: 5px;
}

/* 8.Etablissements */
#ligne_informations {

  margin-bottom: 15px;
}

#ligne_informations #libelle {
  font-size: 1.7em;
  position: relative;
  top: 2px;
  font-weight: normal;
  display: inline;
  line-height: 0.8em;
}

#infosEtabs {
  line-height: 20px;
}

.infosEtabs__button-link,
.infosEtabs__button-link:hover {
  text-decoration: none;
  color: black;
}

.infosEtabs__button-link .glyphicon {
  font-size: 14px;
}

#dossierInfos h4,
#dossier_Pdroite h4,
h4.h4_subtitle {
  border-top: 1px solid #e9e9e9;
  background-color: #eaeaea;
  padding: .3em;
  margin: 1em 0 1em 0;
}

h4.h4_subtitle input {
  margin-bottom: 0;
  font-size: 0.7em;
}

.nav-tabs > li.tabs-right {
  float: right;
  margin-left: 10px;
  margin-right: 0;
}

.nav-tabs > li.tabs-right > a {
  margin-right: 0;
}

/* Liste de panels en deux colonnes, utilisé notamment pour les contacts */
.panel-list {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 2vw;
}

@media (min-width: 992px) {
    .panel-list {
        grid-template-columns: 1fr 1fr;
    }
}

/* Dialog sans barre de titre */
.noTitleStuff .ui-dialog-titlebar { display: none }

/* Auto complétion  */
.ac_results {
  padding: 0px;
  border: 1px solid black;
  background-color: white;
  overflow: hidden;
  z-index: 99999
}

.ac_results ul {
  width: 100%;
  list-style-position: outside;
  list-style: none;
  padding: 0;
  margin: 0
}

.ac_results li {
  margin: 0px;
  padding: 2px 5px;
  cursor: pointer;
  display: block;
  font: menu;
  font-size: 12px;
  line-height: 16px;
  overflow: hidden
}

.ac_odd {
  background-color: #eee
}

.ac_over {
  background-color: #0a246a;
  color: white
}

.qtip-wrapper {
  z-index: 10
}

.timeEntry_control {
  vertical-align: middle;
  margin-left: 2px
}

* html .timeEntry_control {
  margin-top: -4px
}

/* Formulaire spécial : box */

.box {
  border: 1px solid #d5d5d5;
  background-color: #e6e6e6;
  padding: 4px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

/* Style du tableau des périodicités */

table.periodicite:first-child {
  margin-left: 0;
}

input.date {
  background: url("images/calendar.gif") left no-repeat;
  padding-left: 25px;
  background-position-x: 5px;
}

input.date:hover {
  cursor: pointer;
}

#save_historique_date span.ui-button-text {
  padding: 5px 2px 2px 0;
}

#save_historique_date input {
  font-size: 0.8em;
  height: 20px;
  width: 90px;
  background-color: white;
}

/* Gestion des commissions */
ul#gestionCommissionMenu {
  text-align: center;
  font-size: 1.3em;
  margin-bottom: 10px;
}

ul#gestionCommissionMenu li {
  display: inline-block;
  padding: 20px;
  margin: 0;
}

#content_commissions table > tbody > tr {
  height: 300px;
  overflow-y: none;
}

#content_commissions td {
  min-width: 150px;
}

#content_commissions td div.inner_scroll {
  height: 250px;
  overflow-y: auto;
}

ul#gestionCommissionMenu li.active {
  background-color: #eee;
}

.ui-tabs-panel, .ui-accordion, .ui-accordion-content {
  padding: 0;
}

.listePrescriptions li:hover {
  cursor: row-resize;
}

.classement li:hover {
  cursor: row-resize;
}

.dossierODJ:hover {
  cursor: row-resize;
}

.eventExtODJ:hover {
  cursor: move;
}

.fc-event-bg:hover {
  cursor: move;
}

.confirm-modal-hide,
#home .panel,
#mail-no-bcc,
.hidden {
  display: none;
}

.notification {
  padding: 2px 2px 2px 2px;
}
.notification a {
  color: #fff;
  text-decoration: none;
}

.pasnotification {
  padding: 2px 2px 2px 2px;
  background-color: #a9a9a9;
}
.pasnotification a {
  color: #fff;
  text-decoration: none;
}

.grey-icn-plus {
  opacity: 0.45;
  filter: alpha(opacity=45);
}

.grey-icn-plus:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}

.filter-p {
  margin-top: 10px;
}

.fc-header-right .fc-button, .fc-header-left .fc-button {
  padding: 4px 12px;
  margin-bottom: 0;
  *margin-left: .3em;
  font-size: 14px;
  line-height: 20px;
  color: #333;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  vertical-align: middle;
  cursor: pointer;
  background-color: #f5f5f5;
  *background-color: #e6e6e6;
  background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
  background-image: -o-linear-gradient(top, #fff, #e6e6e6);
  background-image: linear-gradient(to bottom, #fff, #e6e6e6);
  background-repeat: repeat-x;
  border: 1px solid #ccc;
  *border: 0;
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-bottom-color: #b3b3b3;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  *zoom: 1;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05)
}

.fc-header-right .fc-button:hover, .fc-header-left .fc-button:hover, .fc-header-right .fc-button:focus, .fc-header-left .fc-button:focus .fc-header-right .fc-button.ui-state-active {
  color: #111;
  text-decoration: none;
  background-position: 0 -15px;
  -webkit-transition: background-position .1s linear;
  -moz-transition: background-position .1s linear;
  -o-transition: background-position .1s linear;
  transition: background-position .1s linear
}

.fc-header-right .ui-corner-left, .fc-header-left .ui-corner-left {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
}

.fc-header-right .ui-corner-right, .fc-header-left .ui-corner-right {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
}

.menu-trigger {
  width: 30px;
  height: 30px;
  background: #dfe5eb;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
  padding: 5px;
  margin-top: -10px;
  margin-bottom: 10px;
}

.menu-trigger:hover {
  background-color: #99a6b4;
}

.ios_menu_style {
  background-color: rgba(53, 61, 70, 0.9);
  width: 20%;
  margin: 0;
  padding: 95px 0;
  display: table-cell;
  vertical-align: top;
  border-bottom: 2px solid #949494;
}

.ios_menu_style li, .ios_menu_style li a {
  text-decoration: none;
  list-style-type: none;
  color: #ced4da;
}

.ios_menu_style-ul {
  padding: 0;
  margin: 0;
}

.ios_menu_style li a, .ios_menu_style .nav-header {
  display: block;
  margin: 10px 25px 10px 20px;
}

.ios_menu_style li a:hover {
  color: #fff;
}

.ios_menu_style .white_link {
  color: #fff;
}

.ios_menu_style .sep, .ios_menu_style .nav-header {
  border-top: 1px solid #6b7b8d;
  padding: 10px 0 0 0;
  text-shadow: none;
}

.main-container-fluid {
  display: table-cell;
  width: 10%;
  vertical-align: top;
  padding-top: 70px;
}
.main-container-f {
  display: table-cell;
  width: 10%;
  vertical-align: top;
  padding-top: 70px;
}

.nav-header {
  display: block;
  padding: 3px 15px;
  font-size: 11px;
  font-weight: bold;
  line-height: 20px;
  color: #999;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}
.nav-tabs.nav-stacked.menu_dashboard {
  margin-left: -15px;
  margin-right: -15px;
}

.nav-tabs.nav-stacked.menu_dashboard > li > a {
  border-radius: 0px;
  border-top: 1px solid #fff;
  border-right: none;
  border-left: none;
  padding: 12px 5px 12px 15px;
  color: #555;
}

.nav-tabs-with-margin-bottom {
  margin-bottom: 20px;
}

.dashboard .panel {
  width: 100%;
  float: left;
}

@media (min-width: 768px) {
  .dashboard .panel {
    width: 49%;
  }
}

.dashboard .panel.ui-draggable-dragging {
  border-style: dashed;
  border-width: 3px;
}

.dashboard .panel-heading {
  cursor: move;
}

.dashboard .panel .glyphicon {
  cursor: pointer;
}

.dashboard .panel.folded .panel-heading {
  margin-bottom: -15px;
}

.dashboard .grid-gutter {
  width: 1%;
}

.sidebar {
  background-color: #f4f4f4;
  display: inline-block;
  min-height: 100vh;
  box-shadow: inset -3px 0px 8px -4px rgba(0, 0, 0, 0.07);
  font-size: .85em;
  padding-top: 70px;
}

.menu_dashboard a {
  border-top: none;
  border-bottom: none;
}

.menu_dashboard li:hover a {
  background: #f9f9f9;
}

.list-group {
  padding-left: 0;
  margin-left: -16px;
  margin-right: -16px;
  margin-bottom: -16px;
  margin-top: -16px;
}
.list-group-item {
  position: relative;
  display: block;
  padding: 10px 15px;
  margin-bottom: -1px;
  background-color: #fff;
  border: 1px solid #ddd;
}
.list-group-item:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.list-group-item:last-child {
  margin-bottom: 0;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}
.list-group-item > .badge {
  float: right;
}
.list-group-item > .badge + .badge {
  margin-right: 5px;
}
a.list-group-item {
  color: #555;
}
a.list-group-item .list-group-item-heading {
  color: #333;
}
a.list-group-item:hover,
a.list-group-item:focus {
  text-decoration: none;
  background-color: #f5f5f5;
}
a.list-group-item.active,
a.list-group-item.active:hover,
a.list-group-item.active:focus {
  z-index: 2;
  color: #fff;
  background-color: #428bca;
  border-color: #428bca;
}
a.list-group-item.active .list-group-item-heading,
a.list-group-item.active:hover .list-group-item-heading,
a.list-group-item.active:focus .list-group-item-heading {
  color: inherit;
}
a.list-group-item.active .list-group-item-text,
a.list-group-item.active:hover .list-group-item-text,
a.list-group-item.active:focus .list-group-item-text {
  color: #e1edf7;
}
.list-group-item-success {
  color: #3c763d;
  background-color: #dff0d8;
}
a.list-group-item-success {
  color: #3c763d;
}
a.list-group-item-success .list-group-item-heading {
  color: inherit;
}
a.list-group-item-success:hover,
a.list-group-item-success:focus {
  color: #3c763d;
  background-color: #d0e9c6;
}
a.list-group-item-success.active,
a.list-group-item-success.active:hover,
a.list-group-item-success.active:focus {
  color: #fff;
  background-color: #3c763d;
  border-color: #3c763d;
}
.list-group-item-info {
  color: #31708f;
  background-color: #d9edf7;
}
a.list-group-item-info {
  color: #31708f;
}
a.list-group-item-info .list-group-item-heading {
  color: inherit;
}
a.list-group-item-info:hover,
a.list-group-item-info:focus {
  color: #31708f;
  background-color: #c4e3f3;
}
a.list-group-item-info.active,
a.list-group-item-info.active:hover,
a.list-group-item-info.active:focus {
  color: #fff;
  background-color: #31708f;
  border-color: #31708f;
}
.list-group-item-warning {
  color: #8a6d3b;
  background-color: #fcf8e3;
}
a.list-group-item-warning {
  color: #8a6d3b;
}
a.list-group-item-warning .list-group-item-heading {
  color: inherit;
}
a.list-group-item-warning:hover,
a.list-group-item-warning:focus {
  color: #8a6d3b;
  background-color: #faf2cc;
}
a.list-group-item-warning.active,
a.list-group-item-warning.active:hover,
a.list-group-item-warning.active:focus {
  color: #fff;
  background-color: #8a6d3b;
  border-color: #8a6d3b;
}
.list-group-item-danger {
  color: #a94442;
  background-color: #f2dede;
}
a.list-group-item-danger {
  color: #a94442;
}
a.list-group-item-danger .list-group-item-heading {
  color: inherit;
}
a.list-group-item-danger:hover,
a.list-group-item-danger:focus {
  color: #a94442;
  background-color: #ebcccc;
}
a.list-group-item-danger.active,
a.list-group-item-danger.active:hover,
a.list-group-item-danger.active:focus {
  color: #fff;
  background-color: #a94442;
  border-color: #a94442;
}
.list-group-item-heading {
  margin-top: 0;
  margin-bottom: 5px;
}
.list-group-item-text {
  margin-bottom: 0;
  line-height: 1.3;
}

.deconnexion {
  color: #000;
  font-size: 10px;
  text-decoration: underline;
}

.listcom {
  margin-top: 10px;
}
.heurcom {
  color: #08c;
}
.proch-com {
  padding: 10px 10px 10px 10px;
  border-width: 1px;
  border-style: solid;
  border-color: #ddd;
  margin-top: 3px;
  border-radius: 5px;
  background-color: #fcfcfc;
}
.jourcom {
  font-size: 12px;
  color: #6e6d6d;
}

.popover {
  width: 350px;
  max-width: none;
}
.dropdown-menu {
  text-align: left;
}

.scroll-bloc-large {
  max-height: 500px;
  overflow-y: scroll;
}

.scroll-bloc-medium {
  max-height: 300px;
  overflow-y: scroll;
}

.scroll-bloc-small {
  max-height: 150px;
  overflow-y: scroll;
}

#tabPieceJointe .file {
  padding: 0 0 3px 22px;
}

#tabPieceJointe .pdf {
  background: url('../images/pdf.png') no-repeat;
}

#tabPieceJointe .doc, #tabPieceJointe .docx {
  background: url('../images/word.png') no-repeat;
}

#tabPieceJointe .odt {
  background: url('../images/libreoffice.png') no-repeat;
}

#tabPieceJointe .png,
#tabPieceJointe .jpg,
#tabPieceJointe .jpeg,
#tabPieceJointe .gif,
#tabPieceJointe .bmp {
  background: url('../images/image.png') no-repeat;
}

#tabPieceJointe .zip,
#tabPieceJointe .rar {
  background: url('../images/zip.png') no-repeat;
}

#tabPieceJointe .txt {
  background: url('../images/text.png') no-repeat;
}

#tabPieceJointe .msg {
  background: url('../images/msg.png') no-repeat;
}

/* Fix provenant d'un problème IE11 / bootstrap*/
#geoportail-container img, #geoconcept-container img {
  max-width: none;
}
#geoportail-container .ol-full-screen {
  right: 9px; top: 49px;
}
#geoportail-container div[id^=GPelevationPathPanel-] {
  top: -75px;
}
#ign-accordion select[name='FORMAT_COUCHECARTO'] {
  width: fit-content;
}
#ign-accordion form {
  margin: 0;
}

#geoconcept-container label {
  display: inline;
}

#geoconcept-container .mapLayerControl {
  right: 0;
  background-color: #ccc;
  border: 1px solid #ccc;
}

a.alerte-link:hover {
  cursor: pointer;
}

.alerte-link i {
  margin-right: 5px;
}

.table-balises {
  width: 100%;
}

.table-balises, .table-balises th, .table-balises td {
  border: 1px solid #ccc;
}

.table-balises th, .table-balises td {
  padding: 5px 10px;
}

.td-balise {
  color: #666;
  font-style: italic;
  width: 40%;
}

.mail-objet-input {
  width: 85%;
}

#formAlerte hr {
  margin: 10px 0;
}

.remove-dst {
  font-size: 10px;
}

#mail-no-bcc p {
  font-style: italic;
}
.highlight {
  background-color: yellow;
}

#listePrescriptionTypeSearch > li,
#listePrescriptionType > li {
  border: 1px solid #ddd;
  border-left: 0 none;
  border-right: 0 none;
  list-style-type: none;
}

#listePrescriptionTypeSearch .noresult {
  border: 0 none;
}

dl.champ_effectif_camping dt {
  width: 225px;
  padding-right: 20px;
}

dl.champ_effectif_camping dd input {
  width: 139px;
}

#fiche_etablissement h4 {
  text-align: left;
}

#ign-accordion .row,
.date + .btn.today {
  margin-bottom: 10px;
}

#dossierInfos li:focus {
  outline: solid 2px blue;
}

.radio-controls {
  margin-left: 3rem;
}

.control-label.no-top-padding {
  padding-top: 0;
}

.action-buttons {
  height: fit-content;
  z-index: 10;
}

#go-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
}

#formPrescriptionEdit {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.icon-label-right {
  margin-left: .5rem;
  cursor: pointer;
}

input[type="file"].avatar-utilisateur {
  display: inline-block;
}

p.muted {
  color: #999;
}

form.checkbox--checked__label--bold div.checkbox label:has(input[checked='checked']) {
  font-weight: bold;
}

.sortTexteAppl li {
  cursor: move;
}

/* Formulaires personnalisés */
.panel.panel-formulaire-perso,
.table-wrapper .table td.colonne-edition {
  background-color: #fafafa;
}

.panel.panel-formulaire-perso .panel-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.panel.panel-formulaire-perso .panel-body.panel-body-hidden {
  display: none;
}

.panel.panel-formulaire-perso .date {
  background-color: #fff;
}

.panel.panel-formulaire-perso .form-group {
  margin-bottom: 0;
}

.add-row-button-wrapper {
  padding: 4px;
}

.table-wrapper {
  border: 1px solid black;
}

.table-wrapper .table {
  border-collapse: unset;
}

.table-wrapper .table th,
.table-wrapper .table td {
  border-right: 1px solid;
  border-color: black;
}

.table-wrapper .table tbody tr:last-child td {
  border-bottom: 1px solid;
  padding-top: 12px;
  padding-bottom: 12px;
}

.table-wrapper .table th,
.table-wrapper .table th.colonne-edition {
  background-color: #d5d5d5;
}

.table-wrapper .table .colonne-edition {
  text-align: center;
  position: sticky;
  right: 0;
  border-left: 1px solid black;
  border-right: 0;
  z-index: 3;
}

.table-wrapper .table .colonne-edition.with-shadow {
  box-shadow: -21px 3px 15px -3px rgba(0,0,0,0.2);
}

.table-wrapper .table-responsive .table td,
.table-wrapper .table-responsive .table th {
  white-space: nowrap;
  border-bottom: 0;
}

.table-wrapper .table-responsive:not(.table-tableau) .table,
.table-wrapper .table-responsive:not(.table-writable) .table {
  margin-bottom: 0;
}

.table-wrapper .table-responsive:not(.table-tableau) tbody tr:last-child td,
.table-wrapper .table-responsive:not(.table-writable) tbody tr:last-child td {
  border-bottom: 0;
}

.table-wrapper .table-responsive:not(.table-tableau) th:last-child,
.table-wrapper .table-responsive:not(.table-tableau) td:last-child,
.table-wrapper .table-responsive:not(.table-writable) th:last-child,
.table-wrapper .table-responsive:not(.table-writable) td:last-child {
  border-right: 0;
}
/* Formulaires personnalisés */

.control-label + .checkbox {
  margin-top: 0;
}

/* Ressources spécialisées */
.table-ressources-specialisees > tbody > tr > td {
  vertical-align: middle;
}
.ui-multiselect-checkboxes label > span {
  margin-left: 0.5em;
}
#resource-dossier-modal .ui-multiselect,
#resource-ets-modal .ui-multiselect {
  display: block;
}

/* Formulaire boostrap avec TomSelect */
.form-control.ts-wrapper {
    height: auto;
    padding: 0;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.form-group .ts-wrapper.multi .ts-control [data-value] {
    background-image: none;
}
.form-group .ts-wrapper.multi .ts-control>div {
    background-color: #337ab7;
    border: 1px solid #2e6da4;
}

.label-inverse {
    background-color: #333;
}

.container-fluid--content-wraper {
    display: flex;
    align-items: stretch;
}