h2 {
    color: #333;
    font-weight: 300;
    font-size: 1.8em;
}

#button {

    background-color: lightgrey;
    border: none;
    color: black;
    padding: 10px !important;
    text-align: center;
    font-size: 16px;
    margin: 4px 2px;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;

}

.button:hover {
    background-color: grey;

}

.text-center {
    text-align: left;
}

.centered-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.placeholder {
    width: 100%;
    height: 400px;
    border-radius: 6px;
    background-color: #eee;
}

.bfs-home {
    background: linear-gradient(180deg, rgba(230, 230, 230, 1) 0%, rgba(255, 255, 255, 1) 60%);
}

.red {
    border-top: 5px solid #dc0018;
}

.main-content.js-glossary-context {
    padding-right: 0;
    padding-left: 0; 
}
.btn.banner {
    padding: 0.85em 1.9em;
    border-radius: 3px;
    line-height: 1.2;
    background-color: #F5F5F5;
    border: 1px solid #757575;
    font-weight: 400;
    margin-top: 25px;
    font-size: 1.1em;
}



/* Header 
========================================================================== */

.home-header {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 20px;
    /* Change this value to make the background image taller or smaller */
    height: 700px;
    /* Background color before image loads */
    background-color: transparent;
    background-size: cover;


    /* You can replace the background-image by uploading an image to the portal assets
 and replacing the text in simple quotes below or use the URL of an image on the web */
    background-image: url('../assets/dscc-banner.jpg');

    /* Position of the background-image on x y axis. Change these values to
 modify where the image is centered.
 */
    background-position: center center;

}
.home-header div.container {
    z-index: 2;
}

@media screen and (max-width: 768px) {
	.home-header {
		background-image: url('../assets/dscc-banner-mobile.jpg');
		justify-content: flex-start;
		padding-top: 35px;
	}
	.home-header div.container {
		z-index: 2;
		padding: 0;
		margin: 0;
	}
}





/* Slogan
========================================================================== */

.bfs-home .container.slogan {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.bfs-home .container.slogan ods-catalog-context {
    margin-bottom: 35px;
}

.bfs-home .container.slogan h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
}

.bfs-home .container.slogan p {
    font-size: 1.1em;
}


/* Home welcome card
========================================================================== */

.blackfilter {
    background-color: black;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    opacity: 0;
    height: 700px;
    padding-left: 15px;
}

.welcome-card {
    display: block;
    background-color: #DC0018;
    color: #FFFFFF;
    text-align: left;
    padding: 13px 39px;
    border-radius: 4px 4px 0 0;
}

.welcome-card-title {
    color: inherit;
    font-size: 3rem;
    line-height: 1.5;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 0;
    color: #FFFFFF;
    text-align: left !important;

}

@media screen and (min-width: 992px) {
    .welcome-card {
        display: inline-block;
        text-align: left;
    }
}





/* Slogan
========================================================================== */
.bfs-home .container.slogan {
    padding: 30px 15px 50px 15px;
}

.bfs-home .container.slogan ods-catalog-context {
    margin-bottom: 35px;
}

.bfs-home .container.slogan h2 {
    font-size: 1.8rem;
    text-align: left;
    font-weight: 400;
}

.bfs-home .container.slogan p {
    font-size: 1.3em;
    text-align: left;
}





.welcome-card-title {

    text-align: left;
}

@media screen and (max-width: 991px) {

    /* Colored Card (Basic card)
========================================================================== */



    /** Carte rouge **/


    body {
        font-family: 'Roboto';
        font-weight: 300;
        margin: 0 !important;
        padding: 0 !important;
    }

    /*bouton */
    .welcome-card-title {

        font-size: 2.26rem;

    }

    .home-header {

        height: 50vh;
 
    }
    .blackfilter {

        height: 50vh;

    }


}

;