/*!
 * Start Bootstrap - Half Slider (https://startbootstrap.com/template-overviews/half-slider)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-half-slider/blob/master/LICENSE)
 */
.carousel {
    border-top: 0;
    /*border-bottom: 1px solid #FFF;*/
}

/* Extra small devices (phones, 600px and down) */
/* @media only screen and (max-width: 600px) {...} */

/* Small devices (portrait tablets and large phones, 600px and up) */
/* @media only screen and (min-width: 600px) {...} */

/* Medium devices (landscape tablets, 768px and up) */
/* @media only screen and (min-width: 768px) {...} */

/* Large devices (laptops/desktops, 992px and up) */
/* @media only screen and (min-width: 992px) {...} */

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

@media only screen and (min-width: 769px) {

    .carousel,
    .carousel-item {
        height: auto;
        /* min-height: 400px;
        max-height: 400px; */
    }

    /* .carousel-img {
        height: auto;
        width: auto;
    } */

    .overlay-debykiz p,
    .overlay-debykiz-charte p {
        font-size: 1.0rem;
    }

    .overlay-debykiz,
    .carousel-caption {
        height: 200px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 768px) {
    /* @media only screen and (min-width: 321px) and (max-width: 768px) { */

    .carousel,
    .carousel-item {
        height: auto;
        /* min-height: 115px;
        max-height: 210px; */
    }

    .overlay-debykiz p,
    .overlay-debykiz-charte p {
        font-size: 1.0rem;
    }

    .overlay-debykiz,
    .carousel-caption {
        height: 150px;
    }
}

@media only screen and (max-width: 600px) {

    /* @media only screen and (max-width: 320px) { */
    .carousel,
    .carousel-item {
        height: auto;
        /* min-height: 80px;
        max-height: 150px; */
        /* min-height: 150px;
        max-height: 210px; */
    }

    .overlay-debykiz-small p,
    .overlay-debykiz-charte-small p {
        font-size: 0.8rem;
    }

    .overlay-debykiz-small,
    .carousel-caption-small {
        /* height: 110px; */
        /*height: 'auto';*/
        height: 90px !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        opacity: 0;
        filter: alpha(opacity=0);
        /* IE support */
    }

    .carousel-control-prev:hover,
    .carousel-control-prev:focus,
    .carousel-control-next:hover,
    .carousel-control-next:focus {
        /* color: #fff;
      text-decoration: none;
      outline: 0;
      opacity: 0.9; */
        opacity: 0;
        filter: alpha(opacity=0);
        /* IE support */
    }

    .carousel-indicators {
        opacity: 0;
        filter: alpha(opacity=0);
        /* IE support */
        visibility: hidden;
    }

    .carousel-indicators [data-bs-target] {
        opacity: 0;
        filter: alpha(opacity=0);
        visibility: hidden;
        /* IE support */
    }
}

.carousel-item {
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.carousel-caption {
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    padding-bottom: 0 !important;
}

.overlay-debykiz,
.overlay-debykiz-charte,
.overlay-debykiz-small,
.overlay-debykiz-small-charte {
    /*position: absolute;*/
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #080d15;
    /*opacity: 0;*/
    right: 0;
    bottom: 0;
    left: 0;
    padding-top: 5px;
    /*
      padding-bottom: 5px;
      */
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.overlay-debykiz-small,
.overlay-debykiz-small-charte {
    background: var(--bs-body-color);
}

.overlay-debykiz-charte,
.overlay-debykiz-small-charte {
    background-color: #203C52;
    background: rgba(32, 60, 82, 1);
}
