body { font-family: Calibri, sans-serif; table-layout: fixed;}
title {width: auto;}
a {text-decoration: none; color: none; cursor: pointer;}

#menuOut {position: absolute; left: 0; width: 100%;}
#mainContainer {width: 99vw;}

.dataTables_wrapper .dataTables_filter input {margin-right: 10px;}

*, *:before, *:after, .fiche_contact, .PanneauA {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

table.Tableau{padding-left: 5px; padding-right: 5px;}
.dt-buttons{margin-left: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;}

table th, table td {
	padding:5px 5px;
	position:relative;
	vertical-align:middle;
	text-align: left;
}

table td p {
  margin: 0px;
}

table th {padding-right: 20px !important}

.case {padding: 2px; margin-right: 10px; vertical-align: middle; white-space: nowrap;}

button, checkbox {
	bottom:1px;
  cursor:pointer;
  margin-right:2px;
  position:relative;
  padding:2px 5px;
  border-radius:3px;
  font-size:1em;
	transition:all .3s ease-in-out;
}

h1 { width: 100%; padding-left: 5%; padding-right: 5%; position: sticky; top: 50px; left: 0; z-index: 5; font-size: 30px; }
h2 {padding-left: 5px; font-size: 18px; text-align: right;}
#plus, .plus {cursor: pointer; padding-right: 5%;}
.box {width: 500px; max-width: 90%;}

/*Elements de formulaires*/
input, select, textarea, .box-button,
.select2-dropdown, .select2-close-mask, 
.customSelect .select2-selection, .ql-editor
	{padding: 3px; margin: 0; font-size: 13px; 
		border: none; /*border-radius: none !important; */ }
form select option, select option, customOption {font-size: 13px;}
.select2-container--open, .ql-tooltip{
z-index: 9999999999;
}
.ql-tooltip.ql-hidden{z-index: 0;}

[disabled], .customSelect[aria-disabled="true"]
	{border: 0px !important; background-color: rgba(0,0,0,0) !important;}

.box-button:disabled {display: none;}
input[type="email"]:disabled {cursor: pointer;}
.titre, input .titre, .cont .titre, 
.select2-container--default .select2-selection--single .titre {font-size: 20px; font-weight: bold;}
.cont {/*display: inline-block; */ float: left; width: auto; min-width: 25%; 
		padding: 2px; margin: 0; overflow: hidden; vertical-align: middle; flex-grow: 1;flex-shrink: 0;}		
.plus, .taBouton {cursor: pointer;}
.liste {min-height: 150px; max-height: 300px; overflow: auto;}

[class^='select2'] {
 /* border-radius: 0px !important; 
  margin-bottom: 0 !important; */
  padding-bottom: 0 !important;
}

li[data-dtr-index] {line-height: 150%;}

select [disabled]
{
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
}

input[type=date]:disabled, input[disabled]  {appearance: none;-webkit-appearance: none; -moz-appearance: none;}
input[type=date]:disabled::-webkit-calendar-picker-indicator,
input[type=date]:disabled::-webkit-clear-button,
input[type=date]::-webkit-inner-spin-button,
input[type=date]::-webkit-outer-spin-button 
 { 
  -webkit-appearance: none;
  display: none;
}

.select2-container--disabled .select2-selection__arrow {display: none;}

textarea, form textarea, .ql-editor { width: 100%; vertical-align: middle; resize: none;}

.colCache {display: inline-block; margin: 0; padding: 5px; max-height: 40px; overflow:hidden; width: 100%}

.colCom{padding: 0px;}

.Panneau { width: auto; max-width: 380px; height: auto; left: -500px; top: 70px;
  overflow: auto; 
  /*resizable: both;*/
	transition: all 1s, resize 0s;
	background-color: rgba(0,0,0,0.0); position: absolute;
	display: flex; flex-direction: column; justify-content: flex-start;
	}
	
.PanneauA {width: 420px; max-width: 99vw; height: 80vh;
	overflow: auto; resize: both;
	transition: left 0.7s, top 0.7s, right 0.7s;
	padding: 3px; position: fixed; top : 12vh;
  display: flex; flex-direction: column; justify-content: flex-start; flex-wrap: nowrap;}
  .PanneauA, #filtres {
		-webkit-box-shadow: 3px 5px 12px 5px rgba(0,0,0,0.75);
		-moz-box-shadow: 3px 5px 12px 5px rgba(0,0,0,0.75);
		box-shadow: 3px 5px 12px 5px rgba(0,0,0,0.75);
  }
  
  .filtre {
		-webkit-box-shadow: 1px 1px 1px 1px rgba(0,0,0,0.75);
		-moz-box-shadow: 1px 1px 1px 1px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 1px 1px rgba(0,0,0,0.75);
    margin-left: 2px;
	}

label {font-size: 12px; white-space: nowrap;} 	
.dataTables_filter label {font-size: 18px; font-weight: bold;}
	
.fiche{
  /**flex: 1 1 150px; **/
  overflow-y: auto; display: flex; flex-direction: column; padding: 5px; min-height: 26%;}
.champs-evts{margin: 4px;}
.comm {flex-grow: 1;
  flex-shrink: 1;
  max-height: 75%;
  min-height: 150px;
  flex-direction: column;
  padding: 2px;
  padding-bottom: 15px;
  margin-bottom: 10px;
  overflow-y: hidden;}
.ql-container {overflow-y: auto;}
.comm textarea, .ql-editor {flex-grow: 1; overflow-y: auto;}
.pref {display: flex; flex-direction: row; padding: 5px; justify-content: space-around; flex-wrap: wrap;}

.tabs {display : none;}
.tabs.active  {display: block;}
.taBouton.active {cursor: default;}

/*Pour le menu */
.bar {position: fixed; top: 0; width: 100%; left:0; height: 50px; padding-left: 1em;}
.navbar { font-size: 11px; border: none; padding-bottom: 10px; position: fixed; top: 0; width: 100%; z-index: 10;}
.main-nav { list-style-type: none; display: none; position: absolute; right: 0; top: 50px; 
			width: auto; height: auto;  z-index: 800;}
.actif { display: block;}
.main-nav li { margin: 3px auto; padding: 8px;}
.nav-links, .logo {
    text-decoration: none;
    display: inline-block;
    font-size: 22px;
    margin-top: 10px;
    margin-right: 20px;
}
.navbar-toggle {
    position: absolute;
    top: 0.5em;
    right: 1em;
    cursor: pointer; 
    font-size: 24px;
}

.menuItem { padding: 3px; position: relative;}
#context { padding: 3px; position: fixed; width: 260px; height: auto; }
.subItem {padding: 3px; display: none; position: relative; right: 0;/*position: absolute;  left: 99%; top: 0; width: 200px;*/}
.subItem.active{display: block;}
.subItem .menuItem {padding-left: 10px; margin-bottom: 2px;}
/*.menuItem:hover .subItem, .menuItem:active .subItem, .menuItem a:active .subItem, .subItem:hover{display: block;}*/

button.box-button.plus{
  font-size: 30px;
}

div.filtres{display: none; position: fixed; bottom: -150vh; left: 0; height: fit-content; width: fit-content; max-width: 99vw;
  transition: all ease 0.3s; padding: 2px;}
div.filtres.active{display: block;bottom: 12px;}
div.filtres .contTri, .contMode{display: flex; justify-content: space-around; align-items: center; padding: 10px;}
.contChamps, .contBouton{flex-wrap: wrap; flex-grow: 1; text-align: center;}
div.filtres button{margin: 10px;}
label.filtre{padding: 5px;}

@-webkit-keyframes spin {
  0%   { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@-moz-keyframes spin {
  0%   { -moz-transform: rotate(0deg); }
  100% { -moz-transform: rotate(360deg); }
}
@-ms-keyframes spin {
  0%   { -ms-transform: rotate(0deg); }
  100% { -ms-transform: rotate(360deg); }
}

@keyframes spin {
  from {
      transform:rotate(0deg);
  }
  to {
      transform:rotate(360deg);
  }
}

@media screen and (min-width: 768px) {
	h1 {position: sticky; font-size: 40px}
	.bar {padding: 1em; height: 50px;}
    .navbar {
        display: flex;
        justify-content: space-evenly;
        padding-bottom: 0;
        height: 50px;
        align-items: center;
    }
    .main-nav {
    	width: 100%;
    	position: relative;
    	top: 0;
        display: flex;
        margin-left: 100px;
        margin-right: 50px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .main-nav li { margin: 0;}
    .nav-links {margin-left: 20px;}
    .logo {margin-top: 0;}
   .navbar-toggle {display: none;}
    .logo:hover, .nav-links:hover {color: rgba(255, 255, 255, 1);}
}