/* BLEU : var(--theme-primary) */
/* GRIS FONCE: #1c1c1c */
:root {
	--theme-primary: hsl(199, 77%, 30%);
	--theme-primary-light: hsl(200, 48%, 41%);
	--theme-dark-grey: hsl(0, 0%, 11%);
	--theme-light-grey: hsl(0, 0%, 95%);
}

body {
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.4rem;
	min-height: 100vh;
}

.full-width-grow {
	display: flex;
	flex-direction: column;
}

/* GENERAL */
#pageContent {
	flex-grow: 1;
}

/* BUTTONS */
.btn-primary {
	background-color: var(--theme-primary);
	border-color: var(--theme-primary);
	color: white !important;
	font-size: 1.3rem;
}

.btn-primary:hover {
	background-color: var(--theme-primary-light);
	border-color: var(--theme-primary-light);
	color: white;
	text-decoration: none;
}

.btn-primary:focus {
	background-color: var(--theme-primary-light);
	border-color: var(--theme-primary-light);
	color: white;
	text-decoration: none;
}

a.btn-primary {
	background-color: var(--theme-primary);
	border-color: var(--theme-primary);
	color: white !important;
	margin-top: 2rem;
	font-size: 1.3rem;
}

a.btn-primary:hover {
	background-color: var(--theme-primary-light);
	border-color: var(--theme-primary-light);
	color: white;
	text-decoration: none;
}

a.btn-primary:focus {
	background-color: var(--theme-primary-light);
	border-color: var(--theme-primary-light);
	color: white;
	text-decoration: none;
}

/* LINKS */
a {
	color: var(--theme-primary);
	text-decoration: none;
	text-decoration-color: var(--theme-primary);
}

a:hover {
	color: var(--theme-primary);
	text-decoration: underline;
	text-decoration-color: var(--theme-primary);
	text-decoration-thickness: 2px;
}

a:visited {
	color: var(--theme-primary);
	text-decoration: none;
	text-decoration-color: var(--theme-primary);
}

a:active {
	color: var(--theme-primary);
	text-decoration: none;
	text-decoration-color: var(--theme-primary);
}

/* NAVBAR */
header {
	background-color: var(--theme-dark-grey);
}

.navbar {
	background-color: var(--theme-dark-grey) !important;
}

.navbar-nav {
	margin: 10px 0 10px auto;
	font-size: 14px;
	font-weight: bolder;
	text-transform: uppercase;
}

.navbar .show {
	margin-top: 30px;
}

.navbar-toggler {
	margin: 10px 0 10px auto;
}

.navbar-brand {
	position: absolute;
	left: 0;
	background-color: var(--theme-primary);
	padding: 5px;
	top: 0;
}

.navbar-nav .active {
	text-decoration: underline;
	text-decoration-color: var(--theme-primary);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.navbar span {
	color: grey;
}

.navbar-bottom {
	background-color: black !important;
}

/* MLS-DROPDOWN */
.mls-dropdown {
	position: relative;
}

.mls-dropdown-link {
	position: relative;
}

.mls-dropdown-menu {
	text-transform: capitalize;
}

.mls-dropdown-menu.centered {
	position: absolute;
	left: 50%;
	transform: translate(-50%, -10px);
	top: 100%;
	background-color: white;
	padding: 0.75rem;
	border-radius: 0.25rem;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
	opacity: 0;
	transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
	pointer-events: none;
}

@media (max-width: 992px) {
	.mls-dropdown .mls-dropdown-menu.centered {
		display: block;
		position: relative;
		left: 0%;
		transform: translate(0);
		opacity: 1;
		pointer-events: initial;
	}

	.mls-dropdown.active2 .mls-dropdown-menu.centered {
		display: block;
		position: relative;
		left: 0%;
		transform: translate(0);
		opacity: 1;
	}
}

.mls-dropdown.active2 > .mls-dropdown-link + .mls-dropdown-menu.centered {
	opacity: 1;
	transform: translate(-50%, 0);
	pointer-events: auto;
}

/* Carousel */
section.newest-photos {
	padding: 0;
}

.mls-carousel {
	width: 100%;
	position: relative;
}

.mls-carousel > ul {
	margin: 0;
	padding: 0;
	list-style: none !important;
}

.mls-carousel-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: 200ms opacity ease-in-out;
	transition-delay: 200ms;
	z-index: 0;
}

.mls-carousel-slide[data-mls-carouselActive] {
	opacity: 1;
	z-index: 1;
	transition-delay: 0ms;
}

.mls-carousel-slide > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.mls-carousel-slide > .mls-carousel-caption {
	position: absolute;
	top: 50%;
	left: 6rem;
	transform: translatey(-50%);
	color: white;
	max-width: 750px;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.mls-carousel-slide[data-mls-carouselActive] > .mls-carousel-caption {
	opacity: 1;
}

@media (max-width: 768px) {
	.mls-carousel-slide > .mls-carousel-caption {
		left: 50%;
		transform: translate(-50%, -50%);
	}
}

.mls-carousel-slide > .mls-carousel-caption > h1 {
	font-size: 2.2rem;
	font-weight: 700;
	text-shadow: 0 2px black;
	text-transform: uppercase;
}

@media (max-width: 568px) {
	.mls-carousel-slide > .mls-carousel-caption > h1 {
		font-size: 1.8rem;
	}
}

.mls-carousel-btn {
	position: absolute;
	background: none;
	border: none;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 60px;
	width: 60px;
	font-size: 2rem;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	color: rgba(255, 255, 255, 0.5);
	border-radius: 0.25rem;
	padding: 0 0.5rem;
	background-color: rgba(0, 0, 0, 0.1);
}

.mls-carousel-btn:hover,
.mls-carousel-btn:focus {
	color: white;
	background-color: rgba(0, 0, 0, 0.2);
}

.mls-carousel-btn:focus {
	outline: 1px solid black;
}

.mls-carousel-btn.prev {
	left: 1rem;
}

.mls-carousel-btn.next {
	right: 1rem;
}

/* Sections Index */
section {
	padding-top: 60px;
	padding-bottom: 60px;
}

section h2 {
	font-weight: bolder;
	font-size: 2.5rem;
	text-align: center;
	text-transform: uppercase;
}

section h3 {
	font-weight: bolder;
	font-size: 1.5rem;
	text-transform: uppercase;
}

#qui-sommes-nous {
	text-align: center;
	font-size: 1.2rem;
	padding: 12% 0;
	background-color: var(--theme-light-grey);
}

#qui-sommes-nous .qui-sommes-nous-content {
	max-width: 775px;
	margin: 0 auto;
}

#qui-sommes-nous h2 {
	margin-bottom: 2rem;
}

#qui-sommes-nous .first-letter::first-letter {
	font-size: 8rem;
	float: left;
}

#qui-sommes-nous .qui-sommes-nous-content p:not(:last-child) {
	margin-bottom: 2.5rem;
}

#nos-produits {
	padding: 12% 0;
}

#nos-produits .row:not(:last-child) {
	margin-bottom: 2rem;
}

#nos-produits h2 {
	margin-bottom: 5rem;
}

#nos-produits p {
	margin-top: 2rem;
}

#confiance {
	padding: 0 0 12%;
}

#confiance .row {
	justify-content: center;
}

#nous-joindre {
	background-color: var(--theme-dark-grey);
	color: white;
}

#nous-joindre .nous-joindre-text {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#nous-joindre p {
	color: darkgrey;
}

/* PRODUITS */
#produits {
	background-color: var(--theme-light-grey);
	padding: 8% 0;
}

#produits-cat .col-12 {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#produits-cat .btn {
	font-size: 1.1rem;
}
/* BOITES & COFFRETS */
#boites-coffrets {
	background: url(../../img/4.jpg);
	background-position: bottom;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 12% 0;
	color: white;
	text-shadow: 0 2px black;
}

#boites-coffrets-carousel {
	padding: 8% 0;
}

#boites-coffrets-carousel h3 {
	text-align: center;
	font-weight: 700;
	margin-bottom: 4rem;
}

#boites-coffrets-carousel p {
	max-width: 700px;
	margin: 1rem auto;
	margin-top: 5rem;
	text-align: center;
	line-height: 2rem;
}

#boites-coffrets-carousel section {
	max-width: 800px;
	margin: 0 auto;
}

#boites-coffrets-carousel #main-carousel {
	padding: 0;
}

#boites-coffrets-carousel #thumbnail-carousel {
	padding: 0;
}

/* EMBALLAGES INDUSTRIELS */
#emballages-commerciaux {
	background: url(../../img/3.jpg);
	padding: 12% 0;
	background-position: bottom;
	background-repeat: no-repeat;
	background-size: cover;
	color: white;
	text-shadow: 0 2px black;
}

#emballages-texte {
	padding: 12% 0 0;
}

#emballages-texte p {
	line-height: 2.2rem;
	font-size: 1.3rem;
	max-width: 1000px;
	margin: 2rem auto;
	text-align: center;
}

#emballages-youtube-vid h3 {
	text-align: center;
	text-transform: none;
	margin: 2rem 0 4rem;
}

#emballages-youtube-vid .youtube-vid-container {
	position: relative;
	padding-bottom: 56.25%;
}

#emballages-youtube-vid iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#corrupal-polyrol {
	padding: 12% 0;
}

#corrupal-polyrol .col-12 {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#corrupal-polyrol .img-fluid {
	max-height: 350px;
}

#corrupal-polyrol h3 {
	max-width: 420px;
	text-align: center;
	margin-bottom: 2rem;
}

#corrupal-polyrol .small-logo {
	margin: 2rem 0;
	max-height: 115px;
}

#corrupal-polyrol span {
	font-weight: 700;
	margin: 2rem 0;
	font-size: 1.2rem;
}

#corrupal-polyrol .btn {
	margin-top: 0;
}

/* PRESENTOIRS */
#presentoirs {
	background: url(../../img/Manubois-Banniere-Présentoirs-copie.png);
	padding: 12% 0;
	background-position: 50% 65%;
	background-repeat: no-repeat;
	background-size: cover;
	color: white;
	text-shadow: 0 2px black;
}

#presentoirs-texte {
	padding: 12% 0;
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
	line-height: 2.2rem;
}

#presentoirs-texte span {
	font-weight: 700;
}

#presentoirs-cols {
	padding: 12% 0t;
}

#presentoirs-cols h3 {
	text-align: center;
}

/* AUTRES PRODUITS */
#autres-produits {
	background: url(../../img/1-1.jpg);
	padding: 12% 0;
	background-repeat: no-repeat;
	background-size: cover;
	color: white;
	text-shadow: 0 2px black;
}

#autres-produits-texte {
	padding: 8% 0;
}

#autres-produits-texte .contactez-nous {
	background-color: var(--theme-light-grey);
	margin-top: 4rem;
	padding: 4rem 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#autres-produits-texte p,
#autres-produits-texte h3 {
	max-width: 1000px;
	text-align: center;
	margin: 0 auto;
}

#autres-produits-pret {
	padding: 0 0 12%;
}

#autres-produits-pret .col-12 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

#autres-produits-pret p {
	text-align: center;
	margin-bottom: 4rem;
}

#autres-produits-pret .small-logo {
	height: 150px;
}

#autres-produits-pret .small-logo2 {
	height: 100px;
}

/* A PROPOS */
#a-propos {
	background: url(../../img/Manubois-Banners.png);
	padding: 8% 0;
	background-position: 50%;
	background-repeat: no-repeat;
	background-size: cover;
	color: white;
	text-shadow: 0 2px black;
}

#historique {
	padding: 8%;
}

#historique p {
	margin-bottom: 2rem;
	font-size: 1.2rem;
	line-height: 2.2rem;
}

#historique p.first-letter::first-letter {
	font-size: 8rem;
	float: left;
	margin-bottom: 2rem;
}

#historique h3 {
	padding-top: 2rem;
	margin-bottom: 1.5rem;
}

#mission {
	background: url(../../img/Manubois-Banners-2.png);
	background-position: 100% 0%;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 0;
	color: white;
}

#mission .dark-overlay {
	background-color: rgba(0, 0, 0, 0.7);
	padding: 8% 0;
}

#mission .texte {
	margin-bottom: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#mission h3 {
	margin: 1.5rem 0;
}

#mission p {
	line-height: 2.2rem;
}

#entreprises-soeurs {
	padding: 8% 0;
	text-align: center;
}

#entreprises-soeurs .col-12 {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#entreprises-soeurs h3 {
	text-transform: none;
	margin: 2rem 0;
}

/* NOUS JOINDRE */
#joindre {
	background: url(../../img/Manubois-banner-joindre.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	color: white;
	padding: 8% 0;
	text-shadow: 0 2px black;
}

#joindre-texte {
	padding: 8% 0;
}

#joindre-texte p {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
	line-height: 1.6rem;
}

#joindre-texte p:not(:last-child) {
	margin-bottom: 2rem;
}

.form-wrap {
	padding: 0 20px;
}

/* THUMBNAIL CAROUSEL */
.splide__slide {
	opacity: 0.6;
}

.splide__slide.is-active {
	opacity: 1;
}

.splide__slide img {
	width: 100%;
	height: auto;
}

#thumbnail-carousel-track {
	margin: 0 4rem;
}
