/* Stysheet JMG */
@import 'cookies.css';
@import 'navigation-desktop.css';
@import 'navigation-mobile.css';
@import 'mediaqueries.css';
@import 'caroussel.css';

/* Bases */

html {scroll-behavior: smooth}

/* Img protect */
img {pointer-events: none;}
.flexbox-galerie > div img {pointer-events: all;}

/* intro */
.intro_box {
margin-bottom: 25px;
width: 100%;
height: 45vw;
background-repeat: no-repeat;
background-size: 100% 100%;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
.intro_box > div {
background-color: rgba(170, 39, 45, 0.75);
width: 85%;
padding: 25px;
text-align:center;
}
.intro_box > div h1 {
color: white;
font-weight: 400;
}
.intro_box > div h2 {
color: white;
font-weight: 400;
font-style: oblique;
}

/* Cuisines Connectées Intro */
.intro2_box {
margin-bottom: 25px;
width: 100%;
height: 45vw;
background-repeat: no-repeat;
background-size:cover;
display: flex;
}
.connected-img {background-image: url(../images/cuisine/connected-fridge.jpg);}

/* Styles */
h1 {color: #3d3d3b;}
a {color: #aa272d;}
.red {background-color: #aa272d; color: #FFF;}
.dark-gray {background-color: #3d3d3b;}
.medium-gray {background-color: #b2b2b2;}
.light-gray {background-color: #f2f2f2;}
p, ul {font-size: 18px}
bold {font-weight:600; color:#aa272d}
hr {border-top: 2px solid #aa272d !important}

/* Button */
.btn-primary {
color: #fff;
background-color: #aa272d !important;
border-color: #aa272d !important;
}
.btn-primary:hover {
background-color: black !important;
border-color: black !important;
}
/* Jumbotron */
.jumbotron {border-radius: 0;}

/* Call to Action */
.call-to-action {
color: #fff;
background-color: #aa272d;
border-color: #aa272d;
font-size: 28px;
font-weight: 700;
text-transform:uppercase;
text-align:center;
padding: 15px;
border-radius: 5px;
position:absolute;
width: 20%;
top:40%;
left:40%;
z-index: 100;
}
.call-to-action:hover {
background-color: black;
border-color: black;
}
/* Call to Action */
.call-to-action-small {
color: #fff;
background-color: #aa272d;
border-color: #aa272d;
font-size: 22px;
font-weight: 700;
text-align:center;
padding: 15px;
border-radius: 5px;
margin: 25px auto;
}
.call-to-action-small:hover {
background-color: black;
border-color: black;
color: white;
text-decoration: none;
}

/* Card */
.card {
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
min-width: 0;
word-wrap: break-word;
background-color: #fff;
background-clip: border-box;
border: 1px solid #aa272d;
border-radius: 0.25rem;
margin-bottom: 25px;
}
.card-body {
height: auto;
}

/* Partenaires */
.banner-partner {margin: 50px 0 100px 0;}
.partner {
height: 100px;
line-height: 100px;
margin: 15px;
text-align: center;
}

/* Sponsors */
.sponsor {
width: 100%;
padding: 20px 0;
background-color: #aa272d;
color: white;
font-size: 2em;
font-weight: bolder;
text-align: center;
margin: 100px 0;
}
.flex-sponsor {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.flex-sponsor > div {
width: 250px;
padding: 15px;
margin: 10px;
text-align: center;
font-size: 16px;
}
.sponsor-img {
background-color: #FFFFFF;
height: 120px;
padding-bottom: 10px;
line-height: 120px;
margin-bottom: 20px;
}

/* Documents */
.doc {
height: auto;
margin: 15px;
text-align: center;
background-color: #f2f2f2;
padding-top: 15px;
padding-bottom: 15px;
}

/* Formulaire */
.form-control {
display: block;
width: 100%;
padding: 0.375rem 0.75rem;
font-size: 1rem;
line-height: 3;
background-color: #f2f2f2;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-form {
color: #fff;
background-color: #3d3d3b;
border-color: #3d3d3b;
}

/* Flexbox encadré processus */
.redbox {
background-color:#aa272d;
width: 100%;
padding: 25px;
color: white;
margin: 50px 0;
}
.flexbox-process {
display: flex;
flex-wrap:wrap;
justify-content: center;
}
.flexbox-process > div {
width: 160px;
height:fit-content;
margin: 15px 30px 15px 0;
text-align: center;
color: white;
border: solid 2px white;
border-radius: 5px;
}
.flexbox-process > div:last-child {margin-right:0}
.num {
font-size: 24px;
font-weight: 800;
}

/* Flexbox galeries */
.flexbox-galerie {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-start;
}
.flexbox-galerie > div {
width: 180px;
height: auto;
border: 1px solid #aa272d;
margin: 15px 30px 15px 0;
}
.flexbox-galerie > div:last-child {margin-right:0}

/* Banner Electrolux */
.banner_electrolux {
display: flex !important;
align-items: stretch;
margin: 20px 0;
}
.banner_electrolux > div {
background-color: white;
}

/* Slides Partenaires */
/* Make the image fully responsive */
.carousel-inner img {
width: 100%;
height: 100%;
}

.flex-container {
display: flex;
flex-wrap: wrap;
justify-content: start;
gap: 20px;
}

.flex-container > div {
height: 50px;
line-height: 50px;
width: 120px;
text-align: center;
background-color: white;
border: 1px solid #aa272d;
border-radius: 0.25rem;
}

/* Offres */
.offres {
width: 350px;
margin: 20px;
}
.titre-offres {
text-align: center;
margin-bottom: 20px;
}
#prix {
font-weight: 700;
color: #aa272d;
}
.card-title{
font-weight: 700;
}
.commander {
position: relative;
bottom: 20px;
margin-top: 40px;
}
.card-img-top {
width: 350px !important;
max-width: 100% !important;
}

/* Call Dépannage */
.call {
display: none; /* Le div est initialement caché */
position: relative;
top: -200px;
left: calc(100% - 250px);
opacity: 0; /* Transparent au début */
transition: top 0.25s ease-out, opacity 0.25s ease-out; /* Animation pour le mouvement et la transparence */
z-index:2000;
}
.call.show {
display: block; /* Affiche le div */
top: 50px;
opacity: 1; /* Entièrement visible */
}
.depannage {
width:200px;
height:200px;
background-color:#aa272d;
color: white;
border-radius: 50%;
box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.2);
position:fixed;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-items: center;
}
.depannage > div {
text-align: center;
margin: auto;
}
.depannage > div p {
color: white;
font-weight: 600;
}
.alert {
padding: 0 !important;
margin-bottom: 0 !important;
border: none;
}
.close2 {
float:none !important;
font-size: 16px !important;
font-weight: 400 !important;
text-shadow: none !important;
opacity: 1 !important;
}
.close2:hover {
cursor:pointer;
color: black !important;
}
.alert-dissmissible {padding-right: 0 !important}
.depannage-mobile {
position: fixed;
top:0;
left:0;
width: 100%;
z-index: 1000;
margin-bottom:50px;
background-color: #aa272d;
color: white;
font-weight: 600;
padding: 10px;
}

/* Annonces */
.annonce {
width: 600px;
position: absolute;
top: 25vh;
left: calc(50% - 300px); 
}
@media screen and (max-width: 600px) {
.annonce {
width: 90vw;
left: 5%;
}
}

/* Offre MA */
.offrema {
position: relative;
padding-top: 50px;
}

/* Flexbox Services */
.flexbox-services {
display: flex;
flex-wrap: wrap;
width: 100%;
align-items: center;
justify-content: space-between;
margin-bottom: 100px;
}
.flexbox-services > div {
margin-top: -190px;
padding: 25px;
width: 280px;
height: 280px;
border-radius: 50%;
background-color: white;
text-align: center;
display: flex;
align-items: center;
box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.2);
}

