html, body {
    height: 100%;
}

/* Navigation*/
.navbar {
    background-color: transparent;
}

.navbar.force-background {
    background-color: #1C2331;
}

.scrolling-navbar {
    -webkit-transition: background .5s ease-in-out, padding .5s ease-in-out;
    -moz-transition: background .5s ease-in-out, padding .5s ease-in-out;
    transition: background .5s ease-in-out, padding .5s ease-in-out;
}

.top-nav-collapse {
    background-color: #1C2331;
}

footer.page-footer {
    background-color: #1C2331;
    margin-top: 0;
}

/* Carousel*/
.carousel,
.carousel-item,
.active {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

/* Background image associated to the carousel slide */
/* The image is defined in the template */
.carousel-item.view {
    background-repeat: no-repeat;
    background-size: cover;
}

.header-gap {
    height: 138px;
}

.page-title {
    padding: 30px;
    background-image: url('/assets/custom/img/banner.jpg');
    position: relative;
    margin: 0px !important;
}

.page-title-background {
    background: rgba(0,0,0,0.6);
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 200;
}

.page-title-h1 {
    text-align: center;
    width: 100%;
    color: rgb(235, 131, 50);
    font-weight: bolder;
    z-index: 300;
}

/* Pages Block Items */

.block-item {
    margin-top: 30px;
}

.block-item-separator {
    border: solid 1px rgb(235, 131, 50);
}

.block-item-txt,
.block-item-image img,
.block-item-next
{
    display: block;
    margin: auto;
    text-align: center;
}

.block-item-image img {
    max-width: 300px;
    max-height: 350px;
}

.block-item-txt p {
    padding-left: 20px !important;
    padding-right: 20px !important;
    text-align: justify;
}

.block-item-txt h2 {
    margin-bottom: 20px;
}

/* Navigation between blocks */
.block-item-next a {
    font-size: 3rem;
    color: rgb(235, 131, 50);
}

/* The catch sentences are adapted to the theme color */
.block-item h2 {
    color: rgb(235, 131, 50);
}

.block-item strong.emphase {
    color: rgb(235, 131, 50);
}

/* Gestion des indices */
.block-item h2.capitalize { text-transform: uppercase; }
.block-item h2.bold { font-weight: bold; }
.block-item h2.indicevert { color: #00cc00; }
.block-item h2.indiceorange { color: #ff6600; }
.block-item h2.indicerouge { color: #ff0000; }

/* Articles */
.blog-classical-content {
    margin-top: 50px;
    margin-bottom: 50px;
}

/*Caption*/
.flex-center {
    color: #fff;
}

@media (min-width: 768px) {
    .carousel .view ul li {
        display: inline;
    }
    .carousel .view .full-bg-img ul li .flex-item {
        margin-bottom: 1.5rem;
    }
    .mobile {
        display: none !important;
    }
} 

@media (max-width: 767px) {
    #slider-logo {
        margin: auto;
    }
    .desktop {
        display: none !important;
    }
}

@media only screen and (max-width: 1200px) {
    .block-item img {
        max-width: 200px;
        max-height: 250px;
    }
}

@media only screen and (max-width: 992px) {
    .header-gap {
        height: 92px;
    }
    
    .navbar {
        background-color: #1C2331;
    }
}
