@font-face {
    font-family: 'Helvetica Neue LT Pro';
    src: url('./font/HelveticaNeueLTPro-MdCn.eot');
    src: url('./font/HelveticaNeueLTPro-MdCn.eot?#iefix') format('embedded-opentype'),  url('./font/HelveticaNeueLTPro-MdCn.woff2') format('woff2'),  url('./font/HelveticaNeueLTPro-MdCn.woff') format('woff'),  url('./font/HelveticaNeueLTPro-MdCn.ttf') format('truetype');
    /*font-weight: 500;*/
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Libre Baskerville';
    src: url('./font/LibreBaskerville-Regular.eot');
    src: url('./font/LibreBaskerville-Regular.eot?#iefix') format('embedded-opentype'),  url('./font/LibreBaskerville-Regular.woff2') format('woff2'),  url('./font/LibreBaskerville-Regular.woff') format('woff'),  url('./font/LibreBaskerville-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body, html {
    padding: 0;
    margin: 0;
}
img {
    border: 0;
}
.global-container {
    max-width: 1280px;
    margin: auto;
}
.rubrique {
    display: block;
    float: left;
    width: 25%;
    height: 20vw;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    max-height: 250px;
}
.background {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
}
/*.rubrique#first .background {
    background-image: url(./images/background/nissan_4_homepage.jpg);
}
.rubrique#second .background {
    background-image: url(./images/background/COLOPLAST-home_page.png);
}
.rubrique#third .background {
    background-image: url(./images/background/actu_erudisv5_home-page.jpg);
}
.rubrique#fourth .background {
    background-image: url(./images/background/actu_applo.jpg);
}
.rubrique#fifth .background {
    background-image: url(./images/background/pole_tech_home_page.jpg);
}
.rubrique#sixth .background {
    background-image: url(./images/background/poletrad-homepage.jpg);
}
.rubrique#seventh .background {
	background-image: url(./images/background/e-learning_modules_leclerc_actualite_home.png);
}
.rubrique#heighth .background {
    background-image: url(./images/background/euro_repar_car_service_actualite_home.png);
}*/
.overlay {
    /*background-color: rgba(27,40,58,0.8);*/
    background: -moz-linear-gradient(top, rgba(27,40,58,0.7) 0%, rgba(27,40,58,1) 75%, rgba(27,40,58,1) 100%);
    background: -webkit-linear-gradient(top, rgba(27,40,58,0.7) 0%, rgba(27,40,58,1) 75%, rgba(27,40,58,1) 100%);
    background: linear-gradient(to bottom, rgba(27,40,58,0.7) 0%, rgba(27,40,58,1) 75%, rgba(27,40,58,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b31b283a', endColorstr='#1b283a', GradientType=0 );
    height: 100%;
    width: 100%;
    padding: 10%;
    box-sizing: border-box;
    position: relative;
}
.text {
    left: 10%;
    width: 80%;
}
.title {
    color: #fff;
    font-size: 18px;
    font-family: 'Libre Baskerville', serif;
    position: absolute;
    bottom: 10%;
}
.categorie {
    bottom: 10%;
    margin-top: 5%;
    color: #ffffff;
    /*color:#ff3b1b;*/
    font-size: 14px;
    font-family: 'Helvetica Neue LT Pro', sans-serif;
    position: absolute;
}

@media screen and (max-width:780px) {
.rubrique {
    width: 50%;
    height: 40vw;
}
}

@media screen and (max-width:480px) {
.rubrique {
    width: 100%;
    height: 55vw;
}
}
