/*
DISTRIBUTION AUTOMATIQUE AVEYRON - 2019
*/

/* FONTS */
/* ______________________________ */

@import url('https://fonts.googleapis.com/css?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i&display=swap');


/* GENERAL */
/* ______________________________ */

body {
    background-color: #ffffff;
    font-family: 'Source Sans Pro', sans-serif;
}
html {
    font-size: 62.5%;
    scroll-behavior : smooth;
}

h1, h2 {
    padding: 4rem 0 2rem 0;
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: #180F00;
}

h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.6rem;
    color: #180F00;
    text-transform: uppercase;
    font-weight: bold;
}

p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.6rem;
    color: #180F00;
}

a {
    color: #180F00;
    text-decoration: underline;
}

a:hover {
    color: #180F00;
    text-decoration: none;
}

#qui-sommes-nous, #map, #contact {
    padding: 2rem 0 5rem 0;
}

#map {
    background-color: #180F00;
}

#map h2 {
    color: #ffffff;
}

#contact p {
    font-size: 2rem;
}

.no-margin { margin:0;}
.no-padding {padding:0;}
.txt-center {text-align: center;}

/* HEADER - MENU */
/* ______________________________ */

.logo-header {
    width: 201px;
    height: 106px;
    background: url("../img/logo-imbert.svg") no-repeat left center;
    background-size: 201px;
}

@media (max-width: 760px) {
    .logo-header {
        width: 170px !important;
        background-size: 150px;
    }
    .navbar {
        padding-left: 0;
        padding-right: 0;
    }
}

#navbarSupportedContent {justify-content: flex-end;}

.bg-dark {background-color: #180F00 !important;}

.navbar-dark .navbar-brand {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    line-height: 2.6rem;
    padding: 1.6rem 0 1.2rem 0;
}

@media (max-width: 760px) {
    .navbar-dark .navbar-brand {
        font-size: 2.2rem;
        line-height: 2rem;
    }
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 2rem;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    font-size: 1.4rem;
    padding: 0.6rem 1.6rem 0.6rem 1.4rem;
}

.nav-link::before {
    content:'';
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: #ffffff;
    opacity: 0.2;
    transition: all 0.3s;
}

.nav-link:hover::before {
    width: 100%;
    transition: all 0.3s;
}

.nav-link, .navbar-brand {
    text-decoration: none;
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    color: #ffffff;
}

.navbar-dark .navbar-toggler {
    color: #ffffff;
    border: none;
    opacity: 1;
}

.navbar-toggler-icon {
    width: 3em;
    height: 3em;
}

/* SLIDER */
/* ______________________________ */

.slides, .slides-div {
    min-height: 50rem;
}

@media (max-width: 760px) {
    .slides, .slides-div {
        min-height: 30rem;
    }
}

.slides-div {
    background-position: center center;
    background-size: cover ;
}

.slick-prev {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 40%;
    display: block;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: url("../img/fleche.svg") no-repeat center center;
    background-position-x: center;
    background-size: auto;
    background-color: transparent;
    border: none;
    background-position-x: center;
    background-size: auto;
    background-size: 2rem;
    background-position-x: 2rem;
    position: absolute;
    left: 2rem !important;
    z-index: 99;
}

.slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 40%;
    display: block;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: url("../img/fleche.svg") no-repeat center center;
    background-color: transparent;
    border: none;
    background-position-x: center;
    background-size: auto;
    background-color: rgba(0, 0, 0, 0);
    background-position-x: center;
    background-size: auto;
    transform: rotate(180deg);
    background-size: 2rem;
    background-position-x: 2rem;
    position: absolute;
    right: 2rem !important;
    z-index: 99;
}

/* DIAPORAMA */
/* ______________________________ */

#diaporama {
    background-color: #180F00;
    padding-bottom: 5rem;
}

#diaporama h2 {
    color: #ffffff;
}

.diapos, .diapos img {
    max-height: 25rem;
    width: auto !important;
    padding: 1rem 0;
}

.diapos .slick-list {
    margin: 0 8rem;
    background-color: #fff;
}

.diapos .slick-next {
    right: 0.2rem !important;
}

.diapos .slick-prev {
    left: 0.2rem !important;
}

.slick-slide div {
    text-align: center;
}

@media (max-width: 560px) {
    .diapos, .diapos img {
        max-height: 15rem;
    }
    .diapos .slick-list {
        margin: 0 3.4rem;
    }
    .diapos .slick-prev {
        left: 0rem !important;
        background-position-x: 0;
    }
    .diapos .slick-next {
        right: 0rem !important;
        background-position-x: 0;
    }
}

/* CONTACT */
/* ______________________________ */

#contact h3 {
    text-align: center;
    margin-top: 4rem;
}

label {
    width: 100%;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.5rem;
    padding: 0.8rem 0 0 0;
    margin: 0;
}

input, textarea, select {
    width: 100%;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.5rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid #180F00;
}

textarea {
    min-height: 12rem;
}

#contact button {
    width: 100%;
    height: 4rem;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    padding: 0.2rem;
    margin-top: 1.3rem;
    border: 1px solid #180F00;
    background-color: #180F00;
    transition: all 0.3s;
}

#contact button:hover {
    color: #180F00;
    background-color: #ffffff;
    transition: all 0.3s;
}

#honey, .success, .error {
    display: none;
    text-align: center;
    padding: 2rem;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.3rem;
}



/* FOOTER */
/* ______________________________ */

footer {
    background-color: #180F00;
    height: 4rem;
}

footer a {
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
    color: #fff;
}

footer p {
    text-align: center;
    background-color: #180F00;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    height: 4rem;
    margin: 0;
}

/* ------------------------------------ */
/* COOKIES                              */
/* ------------------------------------ */

.cookiealert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 5rem;
    margin: 0 !important;
    z-index: 999;
    opacity: 0;
    border-radius: 0;
    transform: translateY(100%);
    transition: all 500ms ease-out;
    color: #ffffff;
    font-size: 1.3rem;
    padding: 1.3rem 1.3rem 1.3rem 1.3rem;
    background: #000000;
}

.cookiealert.show {
    opacity: 1;
    transform: translateY(0%);
    transition-delay: 1000ms;
}

.cookiealert a {
    text-decoration: underline;
    color: #ffffff;
}

.cookiealert a:hover {
    text-decoration: none;
}

.cookiealert .acceptcookies:hover {
    margin-left: 10px;
    vertical-align: baseline;
    border: 1px solid #fff;
    border-radius: 5px;
    font-size: 12px;
    background-color: #1d2124;
}

.cookiealert .acceptcookies {
    margin-left: 10px;
    vertical-align: baseline;
    border: 1px solid #fff;
    border-radius: 5px;
    font-size: 12px;
}

.acceptcookies {background-color: transparent; border:none;}

.acceptcookies:hover {background-color: transparent; border:none;}

.acceptcookies > .iconbar-x {
    background-image: url("../img/iconbar-activ.svg") !important;
    filter: contrast(0%);
    background-color: transparent;
    height: 2.5rem;
    width: 2.5rem;
    margin-top: -0.3rem;
}