@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;600;700;900&display=swap');

:root{
	--purewhite:#fefefe;
	--white:#f0f0f0;
	
	--lightorange:#f7bf7a;
	--orange:#e09e50;
	--darkorange:#c78e48;

	--lightblue:#8cbdb9;
	--darkblue:#2d3e4e;
	
	--smoothgrey: #929292;
	--lightgrey: #656565;
	--grey: #454545;
	--darkgrey: #353535;
	
	--lightyellow: #eee8e1;
	--yellow: #f2d19d;
	--darkyellow: #cd4d24;
	
	--red: #af1818;
	
	--brown: #dcd0a6;
	
	--black: #232323;
}

a {
	text-decoration: none !important;
	color: var(--darkyellow);
	font-weight: 600;
}
a:hover {
	text-decoration: none;
	border-bottom: 3px solid var(--darkgrey) !important;
	color: var(--black);
}

body {
	width: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Quicksand', sans-serif;
	font-weight: 400;
	background-color: var(--lightyellow);
	font-size: 16px !important;
}


/***** H1-H4 ******/

h1, h2, h3, h4 {
	font-family: 'Raleway', sans-serif;
}
h2 { font-size: 2em; }
h2 { font-size: 1.6em; font-weight: 900; line-height: 1.6em; }
h3 { font-size: 1.35em; }
h4 {
	font-size: 1.25em;
	/* background-color: var(--yellow); */
	/* padding: 5px; */
	color: var(--black);
	font-weight: 600;
	border-radius: 15px;
}

b, strong {
  font-weight: 700 !important;
}

@media (max-width:601px) {
	p, .btn-primary  { font-size: 1.15rem; }
	
	h1 { font-size: 1.7rem; }
	h2 { font-size: 1.5rem; }
	h3 { font-size: 1.4rem; }
	h4 { font-size: 1.3rem; margin-top: 20px; }
}


/***** HEADER & FOOTER ******/

header, footer {
    width: 100%;
    margin: 0;
    padding: 20px;
    background-color: var(--brown);
}
header { 
	display: flex;
	justify-content: space-between;
}
header h1 {
    font-weight: 900 !important;
    /* color: var(--darkyellow); */
}
header a {
	color: var(--darkgrey);
	text-decoration: none !important;
}
footer a {
    text-decoration: none !important;
    color: var(--darkyellow) !important;
}
header a:hover {
	color: var(--darkyellow);
	border-bottom: none !important;
	text-decoration: none !important;
}
footer a:hover {
	border-bottom: 3px solid var(--darkyellow) !important;
	color: var(--darkyellow) !important;
}

footer p {
	padding: 0 !important;
	margin: 0 !important;
	font-weight: 600;
}


/***** MENU APP ****/

.menuApp {
	position: fixed;
	bottom: 0;
	width: 100%;
	/* height: 50px; */
	padding: 15px 0;
	/* background-color: var(--darkyellow); */
	background-color: var(--brown);
	/* text-align: center; */
}

.phonelink a { color: var(--black); }
.phonelink a:hover, .selected a {
	color: var(--darkyellow);
	text-decoration: none;
	border-bottom: none !important;
}

/***** NAV ******/

.ajouter > a {
	padding: 13px 19px;
	border-radius: 25%;
	background-color: var(--white);
	font-size: 1.4em;
	max-width: 60px;
	display: inline-block;
}
.ajouter a { color: var(--darkyellow); }
.ajouter a:hover, .selection a {
	color: var(--black);
	text-decoration: none;
	border-bottom: none !important;
}

/***** INSIDE PAGES ******/

.contenuPage { min-height: 70vh; }

#attFormulaire {
    margin-top: -16px;
    min-height: 600px;
    background-color: rgba(0, 0, 0, 0.2);
}
#attFormulaire img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 250px;
}

#menuFormulaires { min-height: 600px; }

textarea, #formulaire {
    width: 100%;
    height: 30em;
    padding: 2em;
}

#formulaire { border: 1px solid var(--darkgrey); }

.error {
	color: var(--darkyellow) !important;
	font-size: .9rem;
}

.valide {
	color: darkgreen !important;
	font-size: .9rem;
}

/* ****** BUTTONS ***** */

.btn-primary {
    background-color: var(--lightblue) !important;
    border-color: var(--darkblue) !important;
    color: var(--darkgrey) !important;
}
.btn-primary:hover {
	color: var(--white) !important;
	background-color: var(--darkblue) !important;
	border-bottom: 1px solid var(--grey) !important;
}
 
.btn-secondary { background-color: var(--smoothgrey) !important; color: var(--white) !important; }
.btn-secondary:hover {
	background-color: var(--grey) !important;
	border-bottom: 1px solid var(--grey) !important;
	color: var(--white) !important;
}

.btn-success { color: var(--white) !important; background-color: #4ca57a; }
.btn-success:hover { color: var(--white) !important; border-bottom: 1px solid var(--grey) !important; }

.btn-info { background-color: var(--yellow) !important; border: var(--yellow) !important; }
.btn-info:hover { color: var(--white) !important; background-color: var(--darkyellow) !important; border: none !important; }

.btn-warning { background-color: var(--brown); border-color: var(--brown); }
.btn-warning:hover { background-color: var(--orange) !important; border-bottom: 1px solid var(--orange) !important; }

.titreNomDuSalarie {
	display: flex;
	justify-content: space-between;
}
.titreNomDuSalarie small > a {
	margin-right: 10px;
}

/* ****** TABS ***** */

.warpper {
  display:flex;
  flex-direction: column;
  align-items: left;
}

.tab {
  cursor: pointer;
  padding: 10px 20px;
  margin: 0px 4px 0px 0px;
  background: var(--darkyellow);
  display: inline-block;
  color: #fff;
  border-radius:5px 5px 0px 0px;
  /* box-shadow: 0 0.2rem 0.2rem #333; */
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.tab-validated {
	background: #4ca57a;
}

.panels {
  background: var(--white);
  /* box-shadow: 0 .25rem 0rem #333; */
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
  min-height:200px;
  width:100%;
  /* max-width:500px; */
  border-radius: 0px 10px 10px 10px;
  overflow:hidden;
  padding:20px;
}

.panel {
  display: none;
  animation: fadein .5s;
}

@keyframes fadein {
	from {
		opacity:0;
	}
	to {
		opacity:1;
	}
}

.panel-title {
  font-size: 1.5em;
  font-weight: bold
}

.radio{
  display: none;
}

#toValidate:checked ~ .panels #toValidate-panel,
#validated:checked ~ .panels #validated-panel {
  display: block;
}
#toValidate:checked ~ .tabs #toValidate-tab {
  background: var(--white);
  color: var(--darkyellow);
	/* font-weight: bold; */
  border-top: 3px solid var(--darkyellow);
}
#validated:checked ~ .tabs #validated-tab {
  background: var(--white);
  color: #4ca57a;
	/* font-weight: bold; */
  border-top: 3px solid #4ca57a;
}

#settingsSalaries:checked ~ .panels #settingsSalaries-panel,
#settingsValidated:checked ~ .panels #settingsValidated-panel {
  display: block;
}
#settingsSalaries:checked ~ .tabs #settingsSalaries-tab {
  background: var(--white);
  color: var(--darkyellow);
  border-top: 3px solid var(--darkyellow);
}
#settingsValidated:checked ~ .tabs #settingsValidated-tab {
  background: var(--white);
  color: #4ca57a;
  border-top: 3px solid #4ca57a;
}

@media (max-width:400px) {
	.tab {
		cursor: pointer;
		padding: 5px 20px;
		margin: 0px 2px 0px 0px;
		font-size: 2rem;
	}
}

/* ****** NDF / FKM ***** */

.notesDeFrais {
	border-radius: 8px;
	background-color: var(--white);
	padding: 12px 12px 1px 12px;
}

.notesDeFraisNEW {
	border-radius: 8px;
	/* background-color: var(--lightyellow); */
	background-color: var(--white);
	padding: 12px 12px 1px 12px;
}

.heuresPUBEUR {
	border-radius: 8px;
	background-color: var(--white);
	padding: 12px 12px 1px 12px;
}

.fraisDeKM {
	border-radius: 8px;
	background-color: var(--white);
	padding: 12px 12px 6px 12px;
}

.fraisDeKMnew {
	border-radius: 8px;
	/* background-color: var(--lightyellow); */
	background-color: var(--white);
	padding: 12px 12px 6px 12px;
}

.remboursement {
		padding: 15px 10px 10px 10px;
		color: var(--darkblue);
}

.btn-danger {
	color: var(--white) !important;
  border-radius: 5px;
	width: 70px;
}
.btn-danger:hover { color: var(--white) !important; border-bottom: 1px solid var(--grey) !important; }

.categorie {
	/* color: var(--white); */
    padding: .5rem 0;
    /* border-radius: 8px; */
	color: var(--black);
	font-size: 2rem;
	text-align: center;
}

#displayNameSalarie, #displayNameSalarieTRAITE, #displaySalarieName, #displayNameSalarieArchived, #displayDate {
	color: var(--white) !important;
	background-color: var(--darkyellow);
	padding: 8px 12px;
	display: inline;
	border-radius: 5px;
}
#displayNameSalarie i, #displaySalarieName i, #displayNameSalarieArchived i {
	margin-top: 4px;
}
#displayNameSalarie span, #displaySalarieName span, #displayNameSalarieArchived span {
	padding: 2px 5px;
	background: var(--white);
	border-radius: 3px;
}

.infoNom {
	color: var(--white);
    padding: .25em;
    border-radius: 8px;
	background-color: var(--darkyellow);
	font-size: 2em;
	font-weight: 600;
	max-width: 80px;
}

.descriptif {
	color: var(--black);
	padding: 10px;
	border-radius: 8px;
	background-color: var(--lightyellow);
	/* display: inline-block !important; */
	/* max-width: 450px; */
}

.nomPrenom {
	font-size: 1.85rem;
}

#displayAllNames .descriptif { padding: 18px }
#displayAllNames .nomPrenom { font-size: 1.2rem }

.btn-continue {
    padding: .9em .5em;
    border-radius: 5px;
	color: var(--white);
	background-color: var(--yellow);
	display: block;
	text-align: center;
	font-size: 1.2rem;
	/* max-width: 100px; */
}
.btn-continue:hover {
	color: var(--yellow);
	border-bottom: 1px solid var(--white) !important;
	background-color: var(--black);
}

.btn-continue-marie {
    /* padding: 3px 8px; */
    border-radius: 5px;
	color: var(--white);
	background-color: var(--lightblue);
	display: block;
	text-align: center;
	font-size: 1.2rem;
	/* padding: 17px 12px; */
	padding: .9em .5em;
	max-width: 100%;
}
.btn-continue-marie:hover {
	color: var(--yellow);
	border-bottom: 1px solid var(--grey) !important;
	background-color: var(--grey);
}

.btn-continue-rejected {
    /* padding: 3px 8px; */
    border-radius: 5px;
	color: var(--white);
	background-color: #db7a7a;
	display: block;
	text-align: center;
	font-size: 1.2rem;
	padding: 17px 12px;
	max-width: 100%;
}
.btn-continue-rejected:hover {
	color: var(--white);
	border-bottom: 1px solid #cc5b5b !important;
	background-color: #cc5b5b;
}

.btn-retour {
	font-size: 1.5rem;
	padding: 6px 10px;
	border-radius: 0;
	color: var(--darkyellow);
	background-color: var(--lightyellow);
}
.btn-retour:hover {
	color: var(--block);
	border-bottom: none !important;
	/* background-color: var(--grey); */
}

.btn-300 { width: 300px !important; }

.rejected {
	background-color: #db7a7a;
	/* max-width: 80%; */
}

.linkRejected {
	background-color: #db7a7a;
	color: var(--white);
	/* max-width: 80%; */
}

.validated {
	background-color: #abe8d5;
	/* max-width: 80%; */
}

.linkValidated {
	background-color: #abe8d5;
	color: var(--lightgrey);
	/* max-width: 80%; */
}

.adjustlist {
	width: 80%;
	margin: 0 auto;
	background-color: var(--white);
	padding: 12px 12px 6px 12px;
	border-radius: 8px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.hide {
	display: none;
	visibility: hidden;
}

.listOfSalarieFound {
	z-index: 99999;
	position: absolute;
}

.searchForSalarie {
	/* float: right; */
	width: 20vw;
	margin: 0 auto;
}

.listOfSalarieFound li, .searchForSalarie li {
	list-style: none;
	margin-bottom: 3px;
}
.listOfSalarieFound li a, .searchForSalarie li a {
	background-color: var(--white);
	color: var(--darkorange);
	font-weight: bold;
}

.custom-file-upload {
	width: 100%;
	border: 2px solid var(--darkyellow);
	/* background-color: var(--lightorange); */
	color: var(--darkyellow);
	padding: 8px;
	cursor: pointer;
	text-align: center;
}
.custom-file-upload:hover {
	width: 100%;
	border: 2px solid var(--black);
	/* background-color: var(--lightorange); */
	color: var(--black);
	padding: 8px;
	cursor: pointer;
	text-align: center;
}
.custom-file-upload i {
	font-size: 1.5rem;
}
.custom-file-upload b {
	font-size: 1.5rem;
	font-weight: 600;
	padding-left: 10px;
}

@media (max-width:1200px) {
	.categorie, .infoNom {
		font-size: 1.4rem;
		padding: 1rem .05rem;
	}

	.adjustlist {
		width: 80%;
	}
}

@media (max-width:900px) {
	
	.adjustlist {
		width: 100%;
	}
}

@media (min-width:601px) {
	.charger { max-width: 80%; }
	
	.showonphone { display: none !important; visibility: hidden !important; height: 0px; }
	.hideOnScreen { display: none !important; visibility: hidden !important; height: 0px; }
}

@media (max-width:610px) {
	/* p { font-size: .8rem; } */

	.categorie, .infoNom {
		font-size: 1rem;
		padding: 1.3rem .5rem;
	}
	
	.btn-continue, .btn-continue-marie {
		/* padding: 10px 12px; */
		max-width: 100%;
	}

	.nomPrenom {
		font-size: 1.4rem;
	}
	
	.hideonphone { display: none !important; }
	.hideOnScreen { display: inline !important; visibility: visible !important; }
}


/* ****** OTHER ***** */

.spread {
	display: flex;
	justify-content: space-between;
}

.mt-50 { margin-top: 50px }

.no-gutters {
	margin-right: 1px;
	margin-left: 1px;
}

.no-gutters	> .col,
.no-gutters	> [class*="col-"] {
	padding-right: 1px;
	padding-left: 1px;
}

.pull-right { float: right; }

.clear { clear: both; }

#updated {
    font-weight: bold;
    font-style: italic;
    color: var(--lightblue);
}

.options {padding-left: 2em;}

.bold { font-weight: 900; }

.datefrais { font-style: italic; margin-top: 3px; font-size: .8rem; }

/************************
RADIO BUTTONS
************************/

input[type="radio"] {
  opacity: 0 !important;
  position: fixed !important;
  width: 0 !important;
}

#createNDF .form-check { padding-left: 0 !important; margin-bottom: 0 !important; }

.form-check input[type=radio] + label {
	display: inline-block;
	background-color: #fefefe;
	color: var(--darkgrey);
	border-bottom: 3px solid var(--white) !important;
	border-radius: 0;
	font-size: 1.2em;
	line-height: 1em;
	padding: .5em;
	min-width: 100px;
	text-align: center;
}
.form-check input[type=radio] + label:hover{
	background-color: var(--yellow);
	border:none;
	cursor: pointer;
}
.form-check input[type=radio]:checked + label {
	color: var(--black);
	background-color: var(--yellow) !important;
	border-bottom: 3px solid var(--grey) !important;
}

@media only screen and (min-width: 992px) {
	.form-check input[type=radio] + label {
		width:100%;
	}
	
	.containerConn {
		width: 30% !important;
	}
	
	.container {
		margin-top: 2em;
		max-width: 75% !important;
	}
	
	.decalage { margin-left: 25px; }
}

@media (min-width: 768px) {
	.container, .container-md, container-sm { margin-top: 2em !important; }
}

/************************
PROGRESS BAR
************************/

#progresswrp, #progresswrpFKM {
	border: 1px solid #0099CC;
	padding: 1px;
	position: relative;
	height: 30px;
	border-radius: 3px;
	margin: 10px;
	text-align: left;
	background: #fff;
	box-shadow: inset 1px 3px 6px rgba(0, 0, 0, 0.12);
}

#progresswrp .progress-bar, #progresswrpFKM .progress-bar {
	height: 100%;
	border-radius: 3px;
	background-color: var(--lightblue);
	width: 0;
	box-shadow: inset 1px 1px 10px rgba(0, 0, 0, 0.11);
}

#progresswrp .status, #progresswrpFKM .status {
	top: 3px;
	left: 50%;
	position: absolute;
	display: inline-block;
	color: #000000;
}

/************************
  gallery specific CSS
************************/

.fx-gal-image-thumb img {
	width: 100%;
	cursor: pointer;
}

.fx-gal-image-thumb:hover img {
	cursor: pointer;
	transform: scale(1.1);
	transition: all 0.5s ease;
}

.fx-gal-image-thumb:focus + .fx-gal-image-big {
	display: block;
}

.fx-gal-image-big {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(5, 10, 15, 0.8);
	overflow: hidden;
	height: 100vh;
	width: 100vw;
	z-index: 999;
	transition: all 0.5s ease;
}

.fx-gal-image-big img {
	max-width: 90vw;
	max-height: 90vh;
	position: absolute;
	box-shadow: 0px 0px 800px 40px rgba(0, 0, 0, 0.9);
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

/**************************************
** Basic lightbox styles
**************************************/
.lightbox {
  /* Hide the lightbox */
  display: none;
  /* Apply basic lightbox styling */
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
}

.lightbox .textprogramme {
  /* Pad the lightbox content */
  width: 55%;
  max-height: 90vh; /* Use viewport height for consistency */
  background-color: #eee;
  padding: 2em;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  font-size: 1em;
  color: #000;
  overflow-y: auto; /* Make scrollable */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  z-index: 2; /* Above the overlay */
}

.lightbox h3 {
  color: var(--darkyellow);
  text-align: center !important;
  font-weight: 900;
  clear: both;
}

/* Show lightbox when it is target */
.lightbox:target {
  display: block;
  outline: none;
}

/* Full-screen clickable overlay */
.lightbox .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}

@media (max-width:900px) {
  .lightbox .textprogramme {
    width: 95%;
    max-height: 90vh;
    padding: 1em;
    font-size: .8rem;
    z-index: 2; /* Above the overlay */
  }
  
  .lightbox h3 {
    font-size: 1rem;
  }
  
  .mt-5 {
    margin-top: 10px !important;
  }
  
  .lightbox p,
  .lightbox .btn-primary,
  .lightbox select {
    font-size: .8rem;
  }
}