/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/


/* YM */

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: url(../img/background.png);
    background-size: cover;
    box-sizing: border-box;
}

.overflow {
    overflow:hidden;
}

.yann {
    width: 100%;
    overflow: hidden;
}

.direct {
    font-size: 0.85rem;
    padding: 10px;
}

main {
    margin-bottom: 50px;
}

main.plain {
    background: #f8f8f8;
}

#bottom-wizard {
    padding: 10px 0 45px 0;
    text-align: center;
}

.owl-carousel {
    z-index: unset;
}

.carousel {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.carousel-inner {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 0 0 100%;
    max-width: 100%;
    height: 100vh; /* Make sure the carousel items take full viewport height */
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire area without stretching */
    display: block;
}

.carousel-control {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #f8f8f8;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.form-control-textarea {
    width: 100%;
    height: 100%!important;
}


/* Media Query pour ajuster la hauteur du carousel sur les appareils mobiles */
@media (max-width: 768px) {

    .carousel-item {
        margin-top:-100px;
    }
}

.footer-home {
    width: 100%;
    position: absolute;
    bottom: 70px;
    left: 0;
    background: #f8f8f8;
    background: rgba(255,255,255, 0.5);
}

.nav-footer-container {
	font-size: 1.1rem;
}

.copyright-home-container {
    background: #42414d;
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.service:hover {
  -webkit-box-shadow: 0 2px 40px #e0e5f0;
  -moz-box-shadow: 0 2px 40px #e0e5f0;
  box-shadow: 0 2px 40px #e0e5f0;
  -webkit-transform: translateY(-3px);
  -moz-transform: translateY(-3px);
  -ms-transform: translateY(-3px);
  -o-transform: translateY(-3px);
  transform: translateY(-3px);
}

#bg {
    background: #f8f8f8 url(../img/bg/bg-escouade-web-1920x920.jpg) no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.before-map {
	box-shadow: rgba(0, 0, 0, 0.5) 2px 2px 20px;
}

#map_contact {
	max-height: 292px;
}

.contact_padding{
	padding-top: 35px;
}

.box_support {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	border-radius: 5px;
	background-color: #fff;
	padding: 25px;
	text-align: center;
	margin-bottom: 25px;
	border: 1px solid #d9e1e6;
	box-shadow: 0 2px 40px #e0e5f0;
}

.box_support i {
	font-size: 42px;
	font-size: 2.625rem;
	color: #3f9fff;
}

.btncontact {
  margin:20px 0;
}

.btncontact:hover {
  background: #0073e5;
}

.btncontact a {
  padding:10px;
  color: #fff;
}