* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%; /* Définit la hauteur à 100% du viewport */
}

body {
	color: #566787;
	background: #f3ede3;
	font-family: "Libre Baskerville", serif;
	font-size: 15px;
}

h1,h2,h3,h4,h5 {
	margin: 15px;
	text-align:center;
	font-weight:bold;
}

#monDiagnosticHeading {	
	background-color: #379D8A;
}

#monDiagnosticHeading h3 {	
	color:white;
}

.btn {
	border-radius: 30px; /* Bouton arrondi */
	transition: all 0.3s ease;
	background-color: #379D8A;
	color: white;
	font-weight: bold;
	font-size: 1.4em;
}

#container_questionnaire_index .btn {
	background-color: #E3C0AA;
	color: black;
}

.btn:hover {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre sur le bouton */
}

.btn:active {
	transform: scale(0.95);
}

/* Page d'accueil */

#index_accueil_body {
	display: flex;
    flex-direction: column;
    background-image: url('/images/background_accueil.jpg');
    background-size: cover;
}

.container_header h1 {
    text-align: center;
    margin-top: 40px;
    font-size: 3em;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    animation: glow 6s infinite alternate;
    color: white;
}

.container_main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0.9; /* Prend toute la hauteur restante si le parent utilise Flexbox */
    height: auto;
    gap: 25px; 
}

/*** Cards ***/

.card-text {
	text-align: justify;
}
	
.album .btn-group {
	width: 80%;
}

#monDiagnostic p{
	text-align:justify;
	padding:1rem;
}

#diagnosticContentRoutine {
	margin-left:0 !important;
	margin-right:0 !important;
}

#answers {
	padding-bottom:5em;
}

#resultQuestionnaire {
	display: none;
	height: 100%;
}

@media (min-width: 0px) {
    .album .container,.album .container-lg,.album  .container-md,.album  .container-sm,.album  .container-xl {		
		max-width: 748px;
		font-size: 14px;
    }
	
	#resultQuestionnaire h3 {
		font-size: 1.25rem;
	}
	
	#diagnosticContent .diagnosticContentColumn {
		width: 100%!important;
		 display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	
	video {
		width:100%;
	}
	
	#index_accueil_body .card-img-top {
		width: 100%;		
		display: none;
	}
	
	#index_accueil_body .btn {
		font-size:1.2em;
	}	

	.img-logo-diagnostics {
		width: 40%;
		height: auto;
	}
	
	#img_header {
		width: 70%;
		height: auto;
	}
	
	#img_footer {
		width: 30%;
		height: auto;
	}
}

@media (min-width: 768px) {
    .album .container,.album .container-lg,.album  .container-md,.album  .container-sm,.album  .container-xl {		
		max-width: 758px;
		font-size: 14px;
    }
	
	.album .btn {
		font-size: 14px;
	}
	
	video {
		width:80%;
	}
	
	#index_accueil_body .card-img-top {
		display: block;
	}
	
	#index_accueil_body .btn {
		font-size:1em;
	}
	
	.img-logo-diagnostics {
		width: 20%;
	}
	
	#img_header {
		width: 30%;
	}
	
	#img_footer {
		width: 10%;
	}
}

@media (min-width: 992px) {
    .album .container,.album .container-lg,.album  .container-md,.album  .container-sm,.album  .container-xl {
		font-size: 14px;
    }
	
	.album .btn {
		font-size: 12px;
	}		
	
	#resultQuestionnaire h3 {
		font-size: 1.75rem;
	}
	
	#diagnosticContent {
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		margin-right: -15px;
		margin-left: -15px
	}
	
	#diagnosticContent .diagnosticContentColumn {
		width: 50%!important;
	}
}

@media (min-width: 1200px) {
    .album .container,.album .container-lg,.album  .container-md,.album  .container-sm,.album  .container-xl {
		max-width: 1140px;
		font-size: 15px;
    }
	
	.album .btn {
		font-size: 14px;
	}
}

@media (min-width: 1600px) {
	.album .container,.album .container-lg,.album  .container-md,.album  .container-sm,.album  .container-xl {
		max-width: 1540px;
		font-size: 16px;
    }
}

@media (min-width: 1900px) {
    .album .container,.album .container-lg,.album  .container-md,.album  .container-sm,.album  .container-xl {
        max-width: 1840px;
		font-size: 18px;
    }
	
	.album .btn {
		font-size: 16px;
	}
}

/*** Modifications page accueil du questionnaire ***/
#container_questionnaire_index {
	border-radius: 20px; /* Coins arrondis pour le conteneur */
	background-color: #ffffff;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn_index_accueil {
    padding: 15px 25px;
    font-size: 1.5em;
    cursor: pointer;
    border: none;
    background-color: #E3C0AA;
    color: #000;
    border-radius: 20px;
    box-shadow: rgba(125, 157, 144, 0.8) 0px 7px 29px 0px;
    font-family: "Libre Baskerville", serif;
}

.btn_index_accueil:hover {
    box-shadow: rgba(100, 100, 111, 0.6) 0px 7px 29px 0px;
    transform: scale(1.1);
    transition-duration: 0.4s;
}

/* Page de diagnostic */

.text-intro-diagnostic {
	font-size: 1.3em;
	text-align: center;
}

/*** Modifications page du questionnaire ***/
/* Modifications des choix de réponses */
.question {
	text-align: center;
	vertical-align: middle;
}

.options {
	font-size:12px;
}

.btn-retour {
	border: none;
	transition: all 0.3s ease;
	background-color: #7d9d90;
	color: #fff;
	font-weight: bold;
	font-size: 1.4em;
	padding: 10px;
	position: fixed;
	bottom: 0;
	left: 0;
	text-align: center;
	width: 100%;
}

.reponse {
	width: 400px;
	font-size: 1.4em !important;
	margin: 15px;
	padding: 35px;
	border: none;
	border-radius: 30px;
	background-color: #E3C0AA;
	color: black;
	font-weight: bold;
	font-size: 1.2em;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre sur le bouton */
}

.reponse:hover {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); /* Ombre sur le bouton */
}

.reponse:active {
	transform: scale(0.95);
}

.container-questions {
	border-radius: 20px;
	background-color: #ffffff;
	/* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
	padding: 60px 100px 60px 100px;
	margin: 100px;
}

.title-question {
	color: #818182;
	font-size: 2.8em;
	margin-bottom: 3rem;
}

/*** Modifications page des résultats ***/
.produits-list-resultats {
	padding-left: 16px;
	font-weight: bold;
}

/* largeur Max 768px Téléphones pour la page d'accueil du questionnaire et la page des questions */
@media (max-width: 767px) {

	.container-questions {
		border-radius: 0px;
		background-color: #f3ede3;
		padding: 0px 10px 0px 10px;
		margin: 10px;
	}

	.title-question {
		color: #818182;
		font-size: 2.4em;
		margin-bottom: 1.5rem;
	}

	.reponse {
		font-size: 1.4em !important;
		width: 300px;
	}
	
	.title-dignostic {
		font-size: 2.2em;
		text-align: center;
		margin-bottom: 30px;
	}

	.text-intro-diagnostic {
		font-size: 1.2em;
		margin-bottom: 45px;
	}
	
	.container_header h1 {
        font-size: 2.2em;
    }

    .btn_index_accueil {
        font-size: 1.2em;
    }
}

/* largeur Max 380px Téléphones pour la page des questions */
@media (max-width: 380px) { 

	.title-question {
		color: #818182;
		font-size: 2.2em;
	}

	.reponse {
		font-size: 1.1em !important;
		padding: 25px;
	}

}

/* sample bootstrap css to be deleted as required (if not used)  */

.table-wrapper {
	background: #fff;
	padding: 20px 25px;
	margin: 30px 0;
	border-radius: 3px;
	box-shadow: 1px 1px 5px 5px rgba(0,0,0,.05)
}
.table-title {        
	padding-bottom: 15px;
	background: #435d7d;
	color: #fff;
	padding: 16px 30px;
	margin: -20px -25px 10px;
	border-radius: 3px 3px 0 0;
}
.table-title h2 {
	margin: 5px 0 0;
	font-size: 24px;
}
.table-title .btn-group {
	float: right;
}
.table-title .btn {
	color: #fff;
	float: right;
	font-size: 13px;
	border: none;
	min-width: 50px;
	border-radius: 2px;
	border: none;
	outline: none !important;
	margin-left: 10px;
}
.table-title .btn i {
	float: left;
	font-size: 21px;
	margin-right: 5px;
}
.table-title .btn span {
	float: left;
	margin-top: 2px;
}
table.table tr th, table.table tr td {
	border-color: #e9e9e9;
	padding: 12px 15px;
	vertical-align: middle;
}
table.table tr th:first-child {
	width: 60px;
}
table.table tr th:last-child {
	width: 100px;
}
table.table-striped tbody tr:nth-of-type(odd) {
	background-color: #fcfcfc;
}
table.table-striped.table-hover tbody tr:hover {
	background: #f5f5f5;
}
table.table th i {
	font-size: 13px;
	margin: 0 5px;
	cursor: pointer;
}	
table.table td:last-child i {
	opacity: 0.9;
	font-size: 22px;
	margin: 0 5px;
}
table.table td a {
	font-weight: bold;
	color: #566787;
	display: inline-block;
	text-decoration: none;
	outline: none !important;
}
table.table td a:hover {
	color: #2196F3;
}
table.table td a.select {
	color: darkcyan;
	cursor: pointer;
}
table.table td a.edit {
	color: #FFC107;
}
table.table td a.delete {
	color: #F44336;
}
table.table td i {
	font-size: 19px;
}
table.table .avatar {
	border-radius: 50%;
	vertical-align: middle;
	margin-right: 10px;
}
.pagination {
	float: right;
	margin: 0 0 5px;
}
.pagination li a {
	border: none;
	font-size: 13px;
	min-width: 30px;
	min-height: 30px;
	color: #999;
	margin: 0 2px;
	line-height: 30px;
	border-radius: 2px !important;
	text-align: center;
	padding: 0 6px;
}
.pagination li a:hover {
	color: #666;
}	
.pagination li.active a, .pagination li.active a.page-link {
	background: #03A9F4;
}
.pagination li.active a:hover {        
	background: #0397d6;
}
.pagination li.disabled i {
	color: #ccc;
}
.pagination li i {
	font-size: 16px;
	padding-top: 6px
}
.hint-text {
	float: left;
	margin-top: 10px;
	font-size: 13px;
}
    
/* Custom checkbox */
.custom-checkbox {
	position: relative;
}
.custom-checkbox input[type="checkbox"] {    
	opacity: 0;
	position: absolute;
	margin: 5px 0 0 3px;
	z-index: 9;
}
.custom-checkbox label:before{
	width: 18px;
	height: 18px;
}
.custom-checkbox label:before {
	content: '';
	margin-right: 10px;
	display: inline-block;
	vertical-align: text-top;
	background: white;
	border: 1px solid #bbb;
	border-radius: 2px;
	box-sizing: border-box;
	z-index: 2;
}
.custom-checkbox input[type="checkbox"]:checked + label:after {
	content: '';
	position: absolute;
	left: 6px;
	top: 3px;
	width: 6px;
	height: 11px;
	border: solid #000;
	border-width: 0 3px 3px 0;
	transform: inherit;
	z-index: 3;
	transform: rotateZ(45deg);
}
.custom-checkbox input[type="checkbox"]:checked + label:before {
	border-color: #03A9F4;
	background: #03A9F4;
}
.custom-checkbox input[type="checkbox"]:checked + label:after {
	border-color: #fff;
}
.custom-checkbox input[type="checkbox"]:disabled + label:before {
	color: #b8b8b8;
	cursor: auto;
	box-shadow: none;
	background: #ddd;
}

.no-underline {
	text-decoration: none !important;
}
.navbar {
	min-height: 60px;
}
.bs-icon {
	max-width: 25px;
}

.carousel-control-next {
    width:5%;
}

.carousel-control-prev {
    width:5%;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}