:root {
    --main-bg-color: #dae9f3;
    --main-font-color: #0268ad;
}


.background-header {
    /*background-image: url('../images/nuages.png'), linear-gradient(to bottom, var(--main-bg-color), var(--main-bg-color) 100%);*/
    background-color: var(--main-bg-color);
    background-origin: border-box;
    background-size: contain;
    background-position: bottom 70px center;
    background-repeat: no-repeat;
    max-width: 100%; 
    border-radius: 10px 10px 0 0;
}

/* CAROUSEL / SLIDESHOW */

.carousel-control-next-icon2,.carousel-control-prev-icon2{ 
    display:inline-block;
    width:20px;
    height:20px;
    background:transparent no-repeat center center;
    background-size:100% 100%;
}

.carousel-control-prev-icon2 {
    background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230268AD' 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")
}

.carousel-control-next-icon2 {
    background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230268AD' 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")
}

/* HEADER CONTENT */

.logo-eleclerc {
    z-index: 1;
    width: auto;
    height: 100%;
    background-color: white;
    align-self: flex-start
}

.logo-ecarte {
    z-index: 1;
    width: 14vw;
}

.images-container {
    position: relative;
    width: 100%;
    height: auto;
}

.images-container img {
    position: absolute;
    display: inline-block;
}

.first-balloon {
    z-index: 1;
    top: 0;
    left: 10vw;
    width: 10vw;
}

.second-balloon {
    z-index: 1;
    top: 0;
    right: 3vw;
    width: 10vw;
}

#header-title h1 {
    font-size: 1.5rem;
    color: var(--main-font-color);
}

#header-title p {
    font-size: 1.2rem;
    color: var(--main-font-color);
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

    .logo-ecarte {
        width: 50vw;
    }

    .images-container {
        display: none !important;
    }

    .nav-drill {
        margin-top: 0 !important;
        width: 100vw;
    }

    .nav-is-toggled.nav-drill {
        transform: translateX(370px) !important;;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {

    .logo-ecarte {
        width: 25vw;
    }

    .images-container {
        display: none !important;
    }

    .nav-drill {
        margin-top: 0 !important;
    }

    .nav-is-toggled.nav-drill {
        transform: translateX(370px) !important;;
    }
    
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {

    .logo-ecarte {
        width: 25vw;
    }

    .first-balloon {
        left: 5vw;
        width: 12vw;
    }
    
    .second-balloon {
        right: 3vw;
        width: 10vw;
    }

    .nav-drill {
        margin-top: 0 !important;
    }

    .nav-is-toggled.nav-drill {
        transform: translateX(370px) !important;;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {

    .logo-ecarte {
        width: 20vw;
    }

    .first-balloon {
        left: 10vw;
        width: 12vw;
    }
    
    .second-balloon {
        right: 3vw;
        width: 10vw;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    .logo-ecarte {
        width: 14vw;
    }
}

/* MENU */


.navbar-custom {
    color: var(--main-font-color) !important;
    border: none;
    padding-right: 0;
}

.navbar-arrow {
    background-color: transparent;
    border: none;
}

.custom-icon {
    height: 35px;
    width: 35px;
    display: inline-block;
    fill: #036db2; 
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#ToggleNav rect {
    fill: var(--main-font-color) !important;
}

#ToggleNav path {
    fill: var(--main-font-color) !important;
}

.custom-toggler-icon {
    background-image: url('../images/menu-icons/menu_burger.png') !important;
    margin-bottom: 5px;
}

.nav-top {
	display: flex;
    justify-content: space-between;
	z-index: 101;
	width: 100%;
	height: 50px;
}

.navbar-toggler-title {
    font-size: small
}

.nav-item-header{
    padding: .5rem 1rem;
    color: #0053A1 !important;
    font-size: 1.15rem;
}

.nav-item-link {
    border: none;
    width: 100%;
}

.nav-item {
    float: left;
    overflow: hidden;
    width: 100%;
}

.nav-item-content {
    position: absolute;
    display: none;
    left: 100%;
    top: 0;
    height: 95%;
    background-color: white;
    width: fit-content;
    box-shadow: 5px 5px 10px -4px rgba(0,0,0,0.75);
    -webkit-box-shadow: 5px 5px 10px -4px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 5px 10px -4px rgba(0,0,0,0.75);
    border-radius: 0 0 25px 0 !important;
}

.nav-link-no-cursor {
    cursor: default;
}
  
.nav-item:hover .nav-item-content {
    display: block;
    z-index: 10;
}

.nav-item.active .nav-item-content {
    display: block !important;
    z-index: 10 !important;
}

.nav-drill {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 1031;
    top: 0;
    left: -370px;
    max-width: 300px;
    height: auto;
    -webkit-overflow-scrolling: touch;
    transition: 0.45s;
	transform: translateX(0);
    background-color: white !important;
    border-radius: 0 0 25px 0 !important;
    color: black;
    box-shadow: 5px 5px 10px -4px rgba(0,0,0,0.75);
    -webkit-box-shadow: 5px 5px 10px -4px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 5px 10px -4px rgba(0,0,0,0.75);
}

::-webkit-scrollbar{
    width:6px;
}
::-webkit-scrollbar-thumb{
    background-color:#288BBD;
    border-radius: 3px;
}

.nav-content {
    overflow-y: scroll;
    max-height: 80vh;
}

/* Hide scrollbar for Chrome, Safari and Opera */
#NavContentMD.nav-content::-webkit-scrollbar {
    display: none;
}
  
  /* Hide scrollbar for IE, Edge and Firefox */
#NavContentMD.nav-content {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.nav-is-toggled.nav-drill {
    transform: translateX(370px);
}

.nav-is-toggled.nav-drill::after {
	opacity: 1;
	visibility: visible;
}

.nav-items {
    flex: 0 0 100%;
    padding: 0
}

#navBarContent .nav-link {
    width: max-content;
    display: block;
    background-color: white;
    color: black;
    line-height: 1.5em;
}

.nav-expand-content {
    position: absolute;
    top: 100px;
    left: -100%;
    width: 100%;
    height: 100%;
    transform: translateX(0);
    background-color: white;
    transition: 0.3s;
    visibility: hidden;
}

.nav-expand-content.nav-back-link {
    display: flex;
    align-items: center;
    background-color: white !important;
    color: #b0b0b0 !important;
}

.nav-expand.active > .nav-expand-content {
    transform: translateX(100%);
    visibility: visible;
}

.nav-header {
    z-index: inherit;
    flex: 0 0 100%;
    background-color: white !important;
    box-shadow: 5px 5px 10px -4px rgba(0,0,0,0.75);
    -webkit-box-shadow: 5px 5px 10px -4px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 5px 10px -4px rgba(0,0,0,0.75);
    height: 100px;
}

#navBarContent a.nav-link:hover {
    /*background-color: #036db2;*/
    background: linear-gradient(to left, #288BBD, #658fa5);
    color: white !important;
}

.link-main-content{
    opacity: 0;
}

.link-main-content:focus{
    opacity: 1;
}
