:root {
    --price-background: #1c5899;
    --price-color: #fff;
    --cta-background: #eb9f32;
    --cta-color: #1c5899;
}

.promotion__wrapper {

}
.promotion__app {
    font-family: inherit, Arial, Helvetica, sans-serif;
}

/* Loader */
.promotion__loading {
    display: grid;
    grid-template-columns: repeat(3, calc(33.33% - 8px));
    grid-gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}
    .loading__item {
        display: flex;
        flex-direction: column;
    }
        .loading__item > div:not(.loading__body),
        .loading__body__title,
        .loading__body__title:after,
        .loading__body__square {
            background: #ddd;
            animation: promotionLoader 1500ms ease;
            animation-iteration-count: infinite;
        }
        .loading__title {
            height: 26px;
            width: 70%;
            margin-left: 5px;
            margin-bottom: 10px;
        }
        .loading__localisation {
            height: 18px;
            width: 90%;
            background: rgba(221, 221, 221, 0.75);
            margin-left: 5px;
            margin-bottom: 10px;
        }
        .loading__image {
            width: 100%;
            height: 0;
            padding-bottom: 56.25%;
            margin-bottom: 10px;
        }
        .loading__promotion {
            height: 22px;
            width: 60%;
            margin-left: 5px;
            margin-bottom: 0;
        }
        .loading__body {
            height: 58px;
            display: flex;
            justify-content: space-between;
        }
            .loading__body__title {
                position: relative;
                display: flex;
                flex-direction: column;
                justify-content: center;
                width: calc(100% - 58px - 20px);
                height: 14px;
                margin: 10px 5px 10px 5px;
            }
            .loading__body__title:after {
                content: "";
                width: 60%;
                height: 14px;
                position: absolute;
                margin-top: 22px;
                background: #ddd;
            }
            .loading__body__square {
                width: 58px;
                height: 100%;
            }
        .loading__reservation {
            width: 100%;
            height: 44px;
            background: #ccc !important;
        }

/* Filters */
.filters__wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 10px;
}
    .filters__title {
        min-width: 100%;
        font-size: 1.5em;
        font-weight: bold;
        margin-right: 15px;
        margin-bottom: 10px;
    }
    .promotion__filter {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin: 0 10px;
    }
    .promotion__filter:first-of-type {
        margin-left: 0;
    }
        .promotion__filter label {
            margin-right: 10px;
            margin-bottom: 0;
        }
        .promotion__filter select,
        .promotion__filter option {
            height: auto;
            min-height: 35px;
            color: #444444;
        }

/* Promotions */
.promotion__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 10px;
}
.promotion__list.is-empty {
    grid-template-columns: auto;
}
.empty__list {
    width: 100%;
    text-align: center;
    font-size: 1.15em;
    padding: 10px 0;
}
    .promotion__item {
        display: flex;
        flex-direction: column;
        border: 1px solid #d8d8d8;
    }
    .et_divi_theme .promotion__item {
        font-size: 15px;
    }
        .promotion__product {
            display: flex;
            flex-direction: column;
            margin: 0;
            padding: 0;
        }
            .product__image__wrapper,
            .product__background {
                display: block;
                position: relative;
                width: 100%;
                height: 0;
                margin: 0;
                padding: 0 0 56.25% 0;
                overflow: hidden;
            }
            a.product__image__wrapper,
            a.product__image__wrapper:hover {
                display: block;
                box-shadow: none;
                border: none;
            }
                .product__image {
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: center;
                }
                .product__background {
                    background-color: lightslategray;
                }

            .promotion__product figcaption {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                padding: 10px;
                border-bottom: 1px solid #d8d8d8;
                font-size: .925em;
            }
            .product__capacity {
                white-space: nowrap;
            }

        .promotion__header {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;
            flex-wrap: wrap;
            padding: 5px 10px;
            border-bottom: 1px solid #d8d8d8;
        }
            .promotion__title {
                display: block;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                font-weight: bold;
                font-size: 1.1em;
                margin-right: 5px;
                max-width: calc(100% - 60px);
            }
            .promotion__title.have__stars {
                max-width: calc(100% - 75px);
            }
            a.promotion__title,
            a.promotion__title:hover {
                display: block;
                text-decoration: none;
                box-shadow: none;
                border: none;
                color: #444444;
            }


        .promotion__body {
            flex: 1;
            display: flex;
            flex-direction: row;
            align-items: stretch;
            justify-content: space-between;
        }    
            .promotion__acroche {
                display: flex;
                flex-direction: column;
                justify-content: center;
                padding: 5px 10px;
                font-size: .9em;
            }
            .promotion__actual {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                background-color: var(--price-background);
                color: var(--price-color);
                padding: 5px 10px;
            }

       .promotion__reservation {
            position: relative;
       }   
            .promotion__reservation__link {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: center;
                padding: 10px 15px;
                background-color: var(--cta-background);
                transition: none !important;
                box-shadow: none !important;
            } 
            .promotion__reservation span {
                margin-left: 15px;
                color: var(--cta-color);         
            } 
            .promotion__reservation .promotion__calendar {
                width: 20px;
                height: 20px;
            }
            .promotion__reservation .promotion__calendar path {
                fill: var(--cta-color);
            }

.camping__stars {
    padding: 0 !important;
    margin: 0;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
}
    .camping__star {
        display: inherit;
    }
    .camping__star:not(:last-child) {
        margin-right: 2px;
    }
        .camping__star i.onc__icon--star {
            width: 16px;
            height: 16px;
        }

.camping__location {
    min-width: 100%;
    font-size: 0.7em;
    color: #8b8b8b;
    margin: 3px 0;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.promotion__slider__wrapper {
    position: relative;
    max-width: 100%;
}            
    .promotion__slider {
        width: 100%;
        height: 80px;
        padding: 0;
        margin: 0;
    }            
        .promotion__slide {
            display: flex;
            flex-direction: row;
            width: 100%;
            height: 80px;
        }
            .promotion__slide img {
                width: 100px;
                height: auto;
                object-fit: cover;
            }  
            .promotion__slide span {
                flex: 1;
                padding: 2px 10px;
            }
    .slider__action--previous,
    .slider__action--next {
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: 10;
        background: none;
        margin: 0;
        border: none;
        cursor: pointer;
        background-color: rgba(238, 246, 249, 0.5);
    }
    .slider__action--previous {
        left: 0;
        padding: 0 5px 0 4px;
    }
    .slider__action--next {
        right: 0;
        padding: 0 4px 0 5px;
    }
    .slider__action--previous i,
    .slider__action--next i {
        position: relative;
        display: inline-block;
        width: 15px;
        height: 20px;
    }
    .slider__action--previous i:before,
    .slider__action--next i:before,
    .slider__action--previous i:after,
    .slider__action--next i:after {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 14px;
        height: 2px;
        background-color: black;
    }
    .slider__action--previous i:before,
    .slider__action--previous i:after {
        left: 2px;
    }
    .slider__action--next i:before,
    .slider__action--next i:after {
        right: 2px;
    }
    .slider__action--previous i:before {
        transform: rotate(-45deg) translateY(1px);
        transform-origin: 0% 50%;
    }
    .slider__action--previous i:after {
        transform: rotate(45deg) translateY(-1px);
        transform-origin: 0% 50%;
    }
    .slider__action--next i:before {
        transform: rotate(45deg) translateY(1px);
        transform-origin: 100% 50%;
    }
    .slider__action--next i:after {
        transform: rotate(-45deg) translateY(-1px);
        transform-origin: 100% 50%;
    }

@keyframes promotionLoader {
    0%, 100% { opacity: 1; }
    50% { opacity: .25; }
}

i[class*='onc__icon--'] {
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
i.onc__icon--group {
    background-image: url(../img/icons/group.svg);
}
i.onc__icon--calendar {
    background-image: url(../img/icons/calendar-go.svg);
}
i.onc__icon--star {
    background-image: url(../img/icons/star.svg);
}