/*HOMEPAGE*/

.homepage-actu-card-section {
    background-repeat: no-repeat;
    background-size: cover;
}
.homepage-actu-card-container {
    max-width: 70%;
    margin: auto;
}
.homepage .actuality-card {
    background-color: #fff;
    margin: 0 10px;
}
.homepage .actuality-card:hover {
    background-color: #ebf5f6;
}
.homepage .actuality-card:hover .actuality-card-img-container img,
.homepage .actuality-card:hover .actuality-card-img-container .no-img-actu {
    opacity: 0.8;
}
.homepage .actuality-card-img-container {
    width: 100%;
    object-fit: cover;
}
.homepage .actuality-card-img-container img,
.homepage .actuality-card-img-container .no-img-actu {
    object-fit: cover;
    width: 100%;
    height: 300px;
    border-radius: 10px 10px 0 0;
}
.homepage .actuality-card-text-container {
    text-align: left;
    padding: 0 20px 20px;
    min-height: 100px;
}
.homepage .actuality-card-date {
    font-size: 13px;
    margin-bottom: 0;
}
.homepage .actuality-card-title {
    margin: 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* number of lines to show */
            line-clamp: 3; 
    -webkit-box-orient: vertical;
}
.homepage .actuality-card {
    margin-bottom: 15px;
    border-radius: 10px;
}
.homepage .actuality-card-button {
    margin: 0 10px 10px;
    text-align: right;
}
.slick-dots li button:before {
    margin-top: 10px;
    background-color: #236e69;
    border-radius: 50px;
    overflow:hidden; 
    content: ''!important;
    height:100%!important;
    width: 100%!important;
}
.background-image-section {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.button-in {
    background-color: #65bb9400;
    color: #236e69;
    border: solid 1px;
    font-weight: 400;
}


/*PHONE*/
@media only screen and (max-width: 760px) {
    .arrow {
        display: none;
    }
    .homepage .hero-text {
        top: 230px;
        margin: 0 10%;
    }
    .section-container,
    .wide-section-container,
    .small-section-container,
    .homepage .actuality-text-column-content {
        padding: 80px 10%;
        width: auto;
    }
    .homepage .background-image-section {
        background-repeat: no-repeat;
        background-size: cover;
        height: 600px;
    }
    .homepage .columns-switch {
        display: flex;
        flex-direction: column-reverse;
    }
    .homepage .linkedin-button {
        padding: 25px; 
        margin: 0 auto -80px auto;
        width: 60%;
    }
    .homepage-actu-card-section {
        background-size: 250%;
        padding: 70px 0;
    }
    .granulats-logo {
        margin: 0 auto;
        width: 55%;
    }
    .granulats-content {
        padding: 80px 0;
        margin: 0 10%;
        width: auto;
    }
    .homepage .nos-membres-section {
        display: block;
    }
    .homepage .front-resp-top {
        margin-bottom: 15px;
    }
    .img-carousel {
        max-height: 400px;
    }
}



/*TABLET*/
@media only screen and (min-width: 761px) and (max-width: 1200px) {
    .homepage .hero-text {
        top: 280px;
        margin: 0 35% 0 10%;
    }
    .homepage .columns-responsive {
        display: grid;
        grid-template-columns: 25% 75%;
        grid-template-rows: auto;
    }
    .homepage .background-image-section {
        background-repeat: no-repeat;
        background-size: cover;
    }
    .section-container,
    .wide-section-container,
    .small-section-container,
    .homepage .actuality-text-column-content {
        padding: 80px 10%;
        width: auto;
    }
    .homepage .nos-membres-section {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }
    .homepage .nos-membres-section .button-link {
        margin-top: 100px;
    }
    .homepage .nos-membres-title {
        position: absolute;
        left: 5%;
        margin-bottom: 80px;
    }
    .homepage .map {
        margin-top: -30px;
    }
    .homepage .nos-membres-title {
        float: left;
    }
    .homepage .nos-membres {
        padding: 80px 10%;
        width: auto;
    }
    .homepage .linkedin-button {
        padding: 25px; 
        margin-bottom: -70px;
        margin-left: 60%;
        width: 40%;
    }
    .homepage-actu-card-section {
        background-size: 150%;
        padding: 70px 0;
    }
    .granulats-logo {
        margin: 0 auto;
        width: 30%;
    }
    .granulats-content {
        padding: 80px 0;
        margin: 0 10%;
        width: auto;
    }
}


/*DESKTOP*/
@media only screen and (min-width: 1201px) and (max-width: 1400px) {
    .homepage .hero-text {
        top: 220px;
    }
}
@media only screen and (min-width: 1401px) {
    .homepage .hero-text {
        top: 300px;
    }
}
@media only screen and (min-width: 1201px) {
    .homepage .hero {
        background-size: 123%;
        background-position: top left;
        height: auto;
    }
    .homepage .hero-text {
        margin: 0 15% 0 10%;
    }
    .section-container {
        padding: 100px 20%;
    }
    .small-section-container {
        padding: 50px 5%;
    }
    .wide-section-container {
        padding: 100px 10%;
    }
    .homepage .actuality-text-column-content {
        margin: 250px 20%;
    }
    .homepage .linkedin-button {
        width: 100%;
        text-align: right;
        margin-top: 25px;
    }
    .homepage .linkedin-button a {
        margin-right: 25px;
    }
    .homepage .homepage-actu-card-container {
        margin-top: 200px;
    }
    .granulats-content {
        margin: 0 auto;
        width: 70%;
        padding: 100px 0;
    }
    .granulats-container {
        min-height: 600px;
    }
    .granulats-logo {
        margin-right: 20px;
    }
}


    .homepage-metier .slick-track img {
        object-fit: cover;
    }
    .homepage-metier .slick-track,
    .homepage-metier .slick-list {
        height: 100%;
    }
