body {
	padding:15px 0 25px 0;
	/* background:#FFF1CB; */
	background:linear-gradient(to right, #FFF1CB, #F9DDCA);
}
body.body-ted {
	/* background:#af002e; */
	background:linear-gradient(to right, #FFF1CB, #F9DDCA);
}
body.body-gab {
	/* background:#E49E56; */
	background:linear-gradient(to right, #FFF1CB, #F9DDCA);
}

/* BG types */
.dtc, .dtc .input-group-addon, .dtc .input-group-addon:first-child{
	background-color:#def0ff;
}
	/* sauf .card */
	.dtc .card .input-group-addon, .dtc .card .input-group-addon:first-child{
		background-color:#FFF !important;
	}

.gabsi-bg-highlight, .gabsi-bg-highlight #gabsi-section .input-group-addon{
	background-color:#FFF1F1 !important;
	/* background-color:#FFECEC !important; */
}
	.dtc .gabsi-bg-highlight, .dtc.gabsi-bg-highlight,  .dtc .gabsi-bg-highlight #gabsi-section .input-group-addon{
		background-color:#EEFFEC !important;
		/* background-color:#FFECEC !important; */
	}

.drag-placeholder{
	background:rgba(0, 88, 255, 0.16);
}

header, #main, nav, main{
	width:100%;
	max-width: 1250px;
	margin: auto;
	background:#FFF;
}
main{
	background:transparent;
}

#main{
	padding-bottom:25px;
}


header h4{
	line-height:.8;	
}
header .dropdown-menu{
	width:260px;	
}

.navbar-expand-lg .navbar-nav .nav-link{
	padding-right:1.5rem;
}

.breadcrumb {
    padding: 0 0 8px 25px;
    border-radius: 0;
}

.small-caps {
    font-variant: small-caps;
}

.ocr-high{
	background-color:#f0c18f;
}

/* modals */
.modal-open{ overflow-y: auto;} /* background scrollable */
#doc-modal {
    pointer-events: none;
}
	#doc-modal .modal-dialog {
		max-height: 80%;
	}
	#doc-modal .ui-draggable-handle {
		cursor:move;
	}



/* -------- FORMS ----- */

/* FORM CONTROL CLASS */
.form-control, .custom-select{
	font-size:13px;
}

.form-container form > div{
	padding:0 25px;
}
	
	/* input label */
	.input-group-addon{
		border: none;
		padding:5px;
	}
	.input-group-addon:first-child{
		min-width:120px;
		background: #FFF;
		border: none;
		padding:5px 0 0;
	}
		.child-form .input-group-addon:first-child{min-width:100px;}
	
	/* input after a checkbox */
	input[type="checkbox"] + .input-group-addon{
		border: none;
		background: #FFF;
		padding-left:20px;
	}
	
	
	/* form list or fieldset section */
	.form-section{
		margin-bottom:1.7rem;
	}
		.form-section p{
			font-size:18px;
			margin-bottom:.5rem;
			font-variant:small-caps;
			font-family: Georgia;
		}
			.form-section > p > a{
				float:right;
				/* font-variant: small-caps; */
			}
		form-section hr{
			margin: .3rem 0 .3rem;
		}
	
	.form-container .small {
		color: #666666;
		font-size: 13px;
	}
	
	
/* inMail form */
#mail-send-overlay{
	background:rgba(255,255,255,.9);
	font-size:30px;
	text-align:center;
	padding-top:20%;
	position: absolute;
	width:100%;
	height:100%;
	z-index:99;
	
	display:none;
}
	
	
/* TABS */
.nav-tabs .nav-link{
	color: #6c757d;
}
.nav-tabs .nav-link.active{
	color: #007bff;
}


/* select 2*/
.select2-container{
	padding:0;
	border:none;
	height:38px;
	width:455px;
}
	#stats-wrapper .select2-container{
		width:800px !important;
		/* height:30px; */
	}
	#stats-wrapper .select2-container--default, #stats-wrapper .select2-selection--multiple{
		min-height:40px;
	}

.select2-container .select2-choice{
	padding: .375rem .75rem;
	height:38px;
	/* border-radius:0 4px 4px 0; */
}
	


/* ----- FRONT-END -------- */
/* #div-sections {margin-bottom:20px;} */
.jumbotron {
	padding: 3rem 0;
}
@media (max-width: 992px) {
	h1{font-size:24px;}
	#div-sections {flex-direction: inherit !important; width:100%;margin-bottom:0;}
	#docs h5{font-size:16px;}
	.jumbotron {
		padding-bottom:0;
	}
}

/* @media (max-width: 992px){
	.jumbotron {
		padding: 4rem 2rem 0;
	}
	#div-sections {margin-bottom:0;}
} */


/*   -------  DOCS   ----- */
#doc-cards{padding:0 15px;}
/* @media (min-width: 576px) { #doc-cards{column-count: 2;} } */
/* @media (min-width: 768px) { ... } */
/* @media (min-width: 992px) { #doc-cards{column-count: 3;} } */
@media (min-width: 1250px) { #doc-cards{padding:0; /* column-count: 4; */} }

#doc-cards .card{
	border-width:3px;
}

#doc-cards h5{
	margin-top:2em;
}
#doc-cards .card{
	margin-bottom:1em;
}

#doc-cards .card-header{
	font-weight:bold;
}
#doc-cards .card-header:hover{
	cursor:pointer;
	opacity:.6;
}

/* form section (exp : etat civil) */
#doc-cards .form-group{
	margin: 0 0 .4em ;
	padding:0;
}
#doc-cards .form-row{
	margin: 0;
}

#doc-cards .form-control, #doc-cards .form-control-plaintext {
	padding: .25em .5em;
}

.custom-file-input ~ .custom-file-label::after {
    content: "Téléverser";
}

/* section badges (ext) : no display*/
#doc-cards .badge {
	display:none;
}

/* admin readonly */
#doc-cards div.is-admin-readonly [type="submit"], #doc-cards div.is-admin-readonly .card-footer{
	display:none;
}

[data-admin-valid-error]{
	text-decoration:none !important;
	color:red !important;
}

.doc-section-need{
	color:#dc3545;
	margin-bottom:1rem;
	padding:0 !important;
}


/* ---- CONVENTION (form) ----*/

/* section titles */
.conv-section{ 
	margin-bottom:1.7rem;
}
	/* section titles */
	.conv-section > p{ 
		text-decoration:underline;
	}

.conv-form-txt{
	/* color:var(--indigo); */
}
.conv-form-txt span{
	display:inline-block;
	min-width:120px;
	color:#212529;
}

#convention-form .form-group{
	margin: 0 0 0.3em;
}

.conv-save-btn{
	position:absolute;
	right:0;
	z-index:10;
}
.conv-save-btn.scrolled{
	position:fixed;
	top:20px;
	
}
@media (min-width: 1250px) {.conv-save-btn.scrolled{right:10%;} }



/* --------- DATATABLES -------- */
.dataTables_length, .dataTables_info{
	float:left;
	padding-left:.5rem;
}
.dtsb-searchBuilder{
	padding-left:.5rem;
}

/* --------- SIGNATURE -------- */
#sign-slot-list .form-group{
	border-width:3px !important;
}

[data-sign-open]{
	cursor:pointer;
}

/* --------- EXPORTS -------- */
#export_panel{
	padding-top:20px;
}	

	#export_panel > div > div{
		padding-bottom:35px;
		margin-right:0;
	}
	#export_panel > div > div h3{
		padding-bottom:5px;
		margin-left:10px;
		border-bottom:2px solid #EEF;
		font-size:1.3rem;
	}
	#export_panel  > div > div  form{
		padding:10px;
	}
	#export_panel   > div > div > div:nth-child(odd) form{
		background-color: #EEF;
	}
	/* #export_panel   > div > div  form > div{
		display:inline-block;
	} */
		/* #export_panel   > div > div   form > div:nth-child(1){
			width:597px;
		} */
			#export_panel input[type="date"]{
				max-width:160px;
			}
		/* #export_panel   > div > div   form > div:nth-child(2){
			vertical-align:top;
			height:100%;
		} */
		
/* --------- CASH -------- */
[data-cash-validate="1"]{
	color:#dc3545;
}



/* --------- AGENDA -------- */
.fc-timeGridWeek-view tr:nth-child(3){
	height:100%;
}
.fc-timeGridWeek-view tr:nth-child(4){
	display:none;
}
.fc-timegrid-axis-cushion{
	display:none;
} 


.fc-daygrid-event-harness > a > div{
	border-left:4px solid !important;
	background-color: #FDC7C757  !important;
	margin-bottom:3px;
}
	.fc-daygrid-event-harness > a > div > h4, .fc-daygrid-event-harness > a > div > p{
		margin:0;
		padding:5px;
	}

.fc-h-event{
	border:0 !important;
	background-color: #DDD !important;
	cursor:pointer;
}
.fc-h-event:hover{
	opacity:.7;
}