body{
	padding-top: 90px;
	/*background:#FFFFFF;*/
	background: repeating-linear-gradient(
	  45deg,
	  #FCFCFC,
	  #FCFCFC 5px,
	  #FAFAFA 5px,
	  #FAFAFA 10px
	);
	font-size:14px;
}

h2, h3, h4{
	margin-top:0;
}

h2{
	font-size:180%;
}

h2 small{
	font-size:80% !important;
}

/********************************************************************************************
 **	NAVBAR
 *******************************************************************************************/

.navbar{
	padding:0;
	z-index:99999;
}

.navbar-brand img{
  max-height:50px;
	padding:0.2rem 0.5rem;
	margin:0;
}
.navbar .dropdown-header{
	background:#727B84;
	color:#FFFFFF;
	text-transform:uppercase;
	margin:10px 0;
}

#logout{
	line-height:50px;
	padding:0.2rem 0.5rem;
	margin:0;
}
#logout a{
	display:table-cell;
	vertical-align:middle;
}
#sidebar{
	border:1px solid #EEEEEE
}
.card-header,
#sidebar h3.dropdown-header{
	font-weight:bold;
	font-size:14px;
	background:#333333;
	color:#EEEEEE;
	text-transform:uppercase;
	padding:.5rem 1.5rem;
	padding-right:0;
	margin-right:0;
	text-align:left;
}
#sidebar h4.dropdown-header{
	font-weight:bold;
	font-size:12px;
	background:#EEEEEE;
	text-transform:uppercase;
	padding-right:0;
	margin-right:0;
}

.card,
.card-group,
.card-header{
	border-radius:0 !important;
}

#menu-principal{
	line-height:50px;
}
#menu-principal .nav-item{
	padding:0 1rem;
}
#menu-principal .dropdown-menu{
	margin-top:0;
	border:0px solid transparent;
	background:#343A40;
	border-radius:0;
	padding-top:0;
	padding-bottom:0;
}
#menu-principal .dropdown-menu a{
	line-height:1.5;
	color:#FFFFFF;
}
#menu-principal .dropdown-menu a:hover{
	background:#5e646b;
}
#menu-principal .dropdown-menu a:last-child{
	padding-bottom:10px;
}

.btn-group a i,
#menu-principal .nav-item a i{
	padding-right:5px;
}

#menu-events a{
	border-left:1px solid #6C757D;
}
#menu-events a:first-child{
	border-left:0px solid transparent;
}

/** FOOTER **/
.row.return{
	margin-bottom:60px;
}

/** LISTINGS **/

table{
	margin-top:10px;
	background:#FFFFFF;
}

/** ROWS **/

table .bg-light th,
table .bg-light td{
	vertical-align:middle;
}

/** CELLS **/

table th,
table td{
	padding:5px 10px !important;
	vertical-align:middle !important;
}
table.tablesorter th,
table.tablesorter td{
	padding:5px 10px 5px 20px !important;
}
table#evenements td{
	vertical-align:top !important;
}
table#evenements .table-active td{
	padding:5px 2px !important;
	vertical-align:middle !important;
}
table#evenements .table-active td.title{
	padding:5px 10px !important;
	vertical-align:middle !important;
}
table th.etat,
table td.etat{
	padding:5px 2px !important;
	width:200px;
}
table th.action,
table td.action{
	padding:5px 2px !important;
	text-align:right;
}
table th.pre-action,
table td.pre-action{
	padding:5px 2px !important;
	text-align:left;
}
table th.action-toggle,
table td.action-toggle{
	text-align:center;
	width:30px;
}
table th.action-toggle2,
table td.action-toggle2{
	text-align:center;
	width:80px;
}
table th.action-small,
table td.action-small{
	width:30px;
}
table th.documents,
table td.documents{
	text-align:right;
}
table th.documents2,
table td.documents2{
	width:180px;
	text-align:left;
}
table td.etat-inscription{
	width:180px;
}
table td.presence{
	width:250px;
}


/** DATATBLE **/

table.datatable th{
	text-transform:uppercase;
}
table.datatable th,
table.datatable td{
	font-size:12px;
	padding:0;
}
table.datatable td{
	padding:0 5px !important;
}

/** BOUTONS **/

table th.action a,
table td.action a{
	color:#000000;
}
table th .btn,
table td .btn{
	border:1px solid #DAE0E5 !important;
	margin:0 1px;
	font-size:12px;
	padding:8px;
	line-height:12px;
}
table th .btn.hidden,
table td .btn.hidden{
	visibility:hidden;
}


table.tablesorter thead tr .header {
	background-image: url(../img/sorter-dark/bg.gif);
	background-repeat: no-repeat;
	background-position: center left;
	cursor: pointer;
	padding-left:20px;
}
table.tablesorter .header.headerSortUp {
	background-image: url(../img/sorter-dark/asc.gif);
	background-repeat: no-repeat;
}
table.tablesorter .header.headerSortDown {
	background-image: url(../img/sorter-dark/desc.gif);
	background-repeat: no-repeat;
}
table.tablesorter .subItem{
	padding-left:40px;
}
table.tablesorter .date{
	width:250px;
	font-weight:bold;
}

table#parametres th,
table#parametres td{
	vertical-align:middle;
}

table#etablissements td{
	border:0px solid transparent;
}
table#inscriptions-datatable .table-danger,
table#inscriptions-datatable .table-danger td,
table#etablissements .table-danger,
table#etablissements .table-danger td{
	background:transparent;
}
table#inscriptions-datatable .table-danger td,
table#etablissements .table-danger .participant{
	text-decoration:line-through;
	color:#FF0000;
}
table#inscriptions-datatable .action-hide-danger a,
table#etablissements .action-hide-danger a{
	visibility:visible;
}
table#inscriptions-datatable .table-danger .action-hide-danger a,
table#etablissements .table-danger .action-hide-danger a{
	visibility:hidden;
}

table#tarifs th.empty-cell,
table#champs th.empty-cell,
table#profils th.empty-cell{
	border:0px solid transparent;
	background:transparent;
}
table#tarifs th.head-event,
table#champs th.head-event,
table#profils th.head-event{
	background:#333333;
	color:#FFFFFF;
	text-align:center;
	border-left:1px solid #FFFFFF;
	border-right:1px solid #FFFFFF;
}
table#profils th.public{
	border-left:1px solid #FFFFFF;
}
table#profils td.public{
	border-left:1px solid #EEEEEE;
}
table#profils th.private{
	border-right:1px solid #FFFFFF;
}
table#profils td.private{
	border-right:1px solid #EEEEEE;
}

table th.action-toggle.priorite .toggle.btn,
table td.action-toggle.priorite .toggle.btn,
table th.action-toggle2 .toggle.btn,
table td.action-toggle2 .toggle.btn {
  width:70px !important;
}

.toggle.btn {
  width:30px !important;
  height:24px !important;
	min-width:30px !important;
  min-height:24px !important;
}
#evenements .toggle.btn ,
.event-header .toggle.btn {
  width:60px !important;
}
.toggle-on.btn,
.toggle-off.btn,
.toggle-handle.btn,
.toggle.btn {
	padding:3px 7px;
	font-size:10px;
}
.toggle-on.btn,
.toggle-off.btn,
.toggle-handle.btn {
	border:0px solid transparent !important;
}

table.tablesorter .toggle.btn,
table.tablesorter .toggle.btn .btn{
	border:1px solid transparent !important;
}
.toggle.btn i{
   font-size:10px
}
.toggle-handle {
    background: #FFFFFF;
}
.toggle-on.btn{
	padding-left:0;
}
.toggle-off.btn{
	padding-right:0;
}

#todo{
	display:none;
}

.bulk_inscription{
	margin-left:20px;
}
.bulk_participant{
	margin-left:40px;
}
.btn-light{
  border:1px solid #DDDDDD;
  background:#DEDEDE;
}

.btn-file {
  position: relative;
  overflow: hidden;
}

.btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  background: red;
  cursor: inherit;
  display: block;
}

.form-footer{
	margin-bottom:30px;
}
/*
.form-check-input{
	margin-left:0;
}
*/

.badge{
	padding:5px 10px;
	color:#FFFFFF;
}

.btn-group .btn-secondary.focus,
.btn-group .btn-secondary:focus,
.btn-group .btn-secondary.active,
.btn-group .btn-secondary:active{
    box-shadow: none !important;
}

select.atelier{
	width:80%;
}

.input-group{
	margin-bottom:2px;
}

.color div{
	display:block;
	width:30px;
	height:30px;
	border:1px solid #DDDDDD;
	border-radius:50px;
}

/****************************************************************************************************
 ** COLOR PICKER
 ***************************************************************************************************/

/********************************************************************************************
 **	BUTTONS
 *******************************************************************************************/

.btn{
	margin:2px;
}

.btn-group .btn{
	margin:0;
}

/********************************************************************************************
 **	ALERTS
 *******************************************************************************************/

.alert{
  display: flex;
  width: 100%;
  padding: 0;
}
.alert-light{
  border: 1px solid #EEEEEE;
}
.alert-no-border{
  border: 0px solid transparent !important;
}
.alert div{
  display: flex;
  align-items: center;
  column-gap: 10px;
}
.alert div i,
.alert div p{
  padding: 10px 10px 10px 20px;
}
.alert div i{
  font-size: 24px;
  width: 25px;
  padding: 10px 10px 10px 20px;
}
.alert-no-border div i{
  padding: 10px 0;
}

/********************************************************************************************
 **	DATEPICKERS
 *******************************************************************************************/

.ui-datepicker{
	width:350px !important;
}
.ui-datepicker .ui-datepicker-calendar{
	width:345px !important;
}
.ui-datepicker .ui-datepicker-calendar td{
	padding:1px !important;
}
.ui-widget-header .ui-icon {
  background-image: url(../img/ui-icons_222222_256x240.png);
}

/** MODALES **/

.modal-lg,
.modal-xl {
  max-width:800px;
}


/********************************************************************************************
 **	SYNCHRONISATION
 *******************************************************************************************/

#webservices hr{
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}


/********************************************************************************************
 **	LISTE ATELIERS
 *******************************************************************************************/

.liste-ateliers{
	list-style: none;
	padding: 0;
	margin: 0 0 25px 0;
}
.liste-ateliers li{
	width: 100%;
	border: 1px solid #DDD;
	border-radius: 5px;
	box-shadow: 0 0 10px #DDD;
	background:#FFF;
	padding: 15px;
	display: grid;
	grid-template-areas: 
		"title more"
		"content content";
	grid-template-columns: auto 150px;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.liste-ateliers li h5{
	margin-bottom: 0;
	font-size: 16px;
	grid-area: title;
}
.liste-ateliers li a{
	grid-area: more;
	justify-self: end;
}
.liste-ateliers li .slide-content{
	display: none;
	opacity: 0;
	transition: all 0.5s ease-in-out;
	grid-area: content;
	padding-top: 15px;
}

/** STRUCTURES ****************************************************************************/

tbody.structure th{
	background-color: rgba(0, 0, 0, .075);
}

tbody.structure th > div{
	display: grid;
	column-gap: 10px;
}

tbody.structure:not(.has-bulk) th > div{
	grid-template-areas: 
		"address contribution";
	grid-template-columns: auto 120px;
	justify-content: space-between;
}
tbody.structure.has-bulk th > div{
	grid-template-areas: 
		"bulk address contribution";
	grid-template-columns: 20px auto 120px;
}

tbody.structure.has-bulk th > div > .bulk{
	grid-area: bulk;
}
tbody.structure th > div > .coordonnees{
	grid-area: address;
}
tbody.structure th > div > .contribution{
	grid-area: contribution;
	justify-self: end;
    align-self: center;
}
tbody.structure th > div > .contribution span{
	margin: 0 !important;
}