.main section:not(:first-child) {
    margin-top: 50px;
}

.main section:last-child {
    margin-bottom: 10px;
}

.main .supplier-intro {}

/* Read more */
.main .supplier-intro .desc-accordeon .desc_read_more {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    margin: 0;
    padding-bottom: 5px;
}

.main .supplier-intro .transparentToWhite {
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 90%);
    padding-top: 150px;
}

.main .supplier-intro .desc-accordeon {
    height: 250px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}
/* En read more */

/* Realisations */
.main .gallery-wrapper {
    position: relative;
    max-height: 190px;
    margin-bottom: 100px;
}

.main .gallery-wrapper .gallery-btn {
    position: absolute;
    top: calc(50% - 54px / 2);
    cursor: pointer;
    z-index: 40;
    opacity: 0;
    transition: opacity .3s ease;
}

.main .gallery-wrapper .gallery-btn.prev-btn {
    left: calc(-54px / 2);
}

.main .gallery-wrapper .gallery-btn.next-btn {
    right: calc(-54px / 2);
}

.main .gallery-wrapper .gallery-btn.next-btn svg {
    transform: rotate(180deg);
}

.main .gallery-wrapper .gallery-images-wrapper {
    overflow-x: clip;
    position: relative;
    height: 190px;
}

.main .gallery-wrapper .gallery-images-wrapper .inner {
    display: flex;
    gap: 50px;
    flex-wrap: nowrap;
    position: absolute;
    transition: left .3s ease;
}

.main .gallery-wrapper .gallery-images-wrapper .gallery-image {
    min-width: 175px;
    min-height: 190px;
    max-width: 175px;
    max-height: 190px;
    border-radius: 10px;
    background-color: #FFFFFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: all 0.3s ease;
    display: block;
    /*align-items: center;*/
    /*justify-content: center;*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    cursor: zoom-in;
}

.main .gallery-wrapper .gallery-images-wrapper .gallery-image:hover {
    transform: scale(1.5);
}

.main .gallery-wrapper .gallery-images-wrapper .gallery-image img {
    height: 100%;
    max-width: none;
}
/* End realisations */

/* Services */
.main .supplier-services {
}

.main .supplier-services .services-wrapper {
    margin-top: 50px;
}

.main .supplier-services .services-wrapper .service {
    /*filter: drop-shadow(2px 0px 10px rgba(0, 0, 0, 0.25));*/
    box-shadow: 2px 2px 10px 0 rgba(23, 93, 166, 0.25);
    border-radius: 10px;
    background-color: white;
    height: 150px;
    margin-bottom: 50px;
}

.main .supplier-services .services-wrapper .service:nth-child(even) {
    flex-direction: row-reverse;
}

.main .supplier-services .services-wrapper .service:last-child {
    margin-bottom: 0;
}

.main .supplier-services .services-wrapper .service {
    overflow: hidden;
    display: flex;
    align-items: center;
}

.main .supplier-services .services-wrapper .service img {
    display: none;
}

.main .supplier-services .services-wrapper .service .service-content {
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: 15px;
}

.main .supplier-services .services-wrapper .service:nth-child(odd) .service-content:before,
.main .supplier-services .services-wrapper .service:nth-child(even) .service-content:before {
    content: '';
    display: inline-block;
    background-image: url('/wp-content/themes/bbx-locales/Assets/Img/Supplier/service-wave.svg');
    background-size: contain;
    background-repeat: no-repeat;
    height: 153px;
    width: 81px;
    position: absolute;
}

.main .supplier-services .services-wrapper .service:nth-child(odd) .service-content:before {
    transform: rotate(180deg);
    left: -80px;
    top: 0;
}

.main .supplier-services .services-wrapper .service:nth-child(even) .service-content:before {
    right: -80px;
    top: 0;
}

.main .supplier-services .services-wrapper .service .service-content .service-title {
    margin-top: 0;
    color: var(--bbx-locales-primary-color);
    max-height: 65px;
    overflow: hidden;
}

.main .supplier-services .see-more-services-wrapper {
    text-align: center;
}
/* End services */

/* Reviews */
.main .supplier-reviews .supplier-reviews-wrapper .supplier-review {
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 2px 2px 10px 0px rgba(23, 93, 166, 0.25);
    padding: 25px 50px;
    margin-bottom: 25px;
}

.main .supplier-reviews .supplier-reviews-wrapper .supplier-review .customer-name,
.main .supplier-reviews .supplier-reviews-wrapper .supplier-review .customer-info {
    display: block;
}

.main .supplier-reviews .supplier-reviews-wrapper .supplier-review .customer-name {
    color: var(--bbx-locales-primary-color);
    font-size: 19px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.main .supplier-reviews .supplier-reviews-wrapper .supplier-review .supplier-rating .rating-wrapper .star {
    background: var(--bbx-locales-secondary-color);
}

.main .supplier-reviews .supplier-reviews-wrapper .supplier-review .customer-info {
    color: #545454;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1px;
}

.main .supplier-reviews .supplier-reviews-wrapper .supplier-review .review-content {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.main .supplier-reviews .supplier-reviews-wrapper .supplier-review .review-content .review-status {
    height: 40px;
}

.main .supplier-reviews .supplier-reviews-wrapper .supplier-review .review-content .review-project,
.main .supplier-reviews .supplier-reviews-wrapper .supplier-review .review-content .review-text {
    display: block;
    color: #545454;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 1px;
}

.main .supplier-reviews .supplier-reviews-wrapper .supplier-review .review-content .review-project {
    margin-bottom: 5px;
    font-weight: 600;
    text-decoration: underline;
}

.main .supplier-reviews .see-more-reviews-wrapper {
    text-align: center;
}

.main .supplier-reviews .see-more-reviews-wrapper button {
    margin-top: 25px;
}
/* End reviews */

.supplier_map {
    margin-top: 50px;
}

/* Opening Hours Section */
.main .supplier-opening-hours {
    margin-top: 50px;
}

.main .supplier-opening-hours .opening-hours-wrapper {
    position: relative;
}

.main .supplier-opening-hours .opening-hours-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main .supplier-opening-hours .opening-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 2px 2px 10px 0px rgba(23, 93, 166, 0.25);
    transition: all 0.3s ease;
}

/*.main .supplier-opening-hours .opening-hours-item:hover {*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 2px 4px 15px 0px rgba(23, 93, 166, 0.35);*/
/*}*/

.main .supplier-opening-hours .opening-hours-item.current-day {
    background: #FFFFFF;
    box-shadow: 2px 2px 10px 0px rgba(23, 93, 166, 0.4);
    border: 2px solid var(--bbx-locales-primary-color);
}

.main .supplier-opening-hours .opening-hours-item .day-name {
    color: var(--bbx-locales-primary-color);
    font-size: 19px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1px;
}

.main .supplier-opening-hours .opening-hours-item .hours {
    color: #545454;
    font-size: 19px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main .supplier-opening-hours .opening-hours-item .hours .closed {
    color: #dc3545;
    font-weight: 500;
}

.main .supplier-opening-hours .opening-hours-item .hours .status {
    font-size: 16px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main .supplier-opening-hours .opening-hours-item .hours .status.open {
    background: #d4edda;
    color: #155724;
}

.main .supplier-opening-hours .opening-hours-item .hours .status.closed {
    background: #f8d7da;
    color: #721c24;
}

.main .supplier-opening-hours .opening-hours-item.current-day .hours .status.open {
    background: #28a745;
    color: white;
}

.main .supplier-opening-hours .opening-hours-item.current-day .hours .status.closed {
    background: #dc3545;
    color: white;
}

/* Media queries*/
@media screen and (max-width: 768px) {
    .main .supplier-opening-hours .opening-hours-item {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .main .supplier-opening-hours .opening-hours-item .hours {
        width: 100%;
        justify-content: space-between;
    }
}

@media screen and (min-width: 768px) {
    .main .supplier-services .services-wrapper .service img {
        display: block;
        width: 56%;
    }

    .main .supplier-reviews .score-wrapper {
        flex-direction: row;
        gap: inherit;
    }
}

@media screen and (min-width: 1200px) {
    .main section:not(:first-child) {
        margin-top: 100px;
    }
    .main section:last-child {
        margin-bottom: 100px;
    }
    .main .supplier-reviews .supplier-reviews-wrapper {
        margin-bottom: 100px;
    }
}