///////////////////////////////////////////////////////////////
// Device: Desktop
///////////////////////////////////////////////////////////////

.espaces {
    @include outer-container;
    margin-top: 60px;
}

.espaces-container {
    @include span-columns(10);
    @include shift(1);
}

.espaces-subtitle {
    text-align: center;
}

$radius: 50%;

.espaces-subtitle-bubble {
    $bubblesize: 60px;
    font-family: "Lucien-book";
    font-size: 1.5em;
    display: inline-block;
    background-color: none;
    border: 1px solid $color-golden;
    color: $color-golden;
    border-radius: 100%;
    line-height: $bubblesize;
    height: $bubblesize;
    width: $bubblesize;
}

.espaces-subtitle-bubble-title {
    color: $color-golden;
    font-family: "Lucien-bold";
    font-size: 1.5em;
    margin-top: 15px;
}

.espaces-list {
    @include outer-container;
    margin-top: 40px;
    margin-bottom: 60px;
    text-align: center;
}

.espaces-item {
    /*@include span-columns(4);*/
    width: 32%;
    border: 1px solid $color-grey-light;
    min-height: 500px;
    position: relative;
    display: inline-block;
    float: none;
    margin-right: 0;
    margin-bottom: 5px;
    vertical-align: top;

    @include tablet-landscape-and-below {
        @include span-columns(12);
        margin-bottom: 40px;
    }

}

.espaces-item-header {
    position: relative;
}

.espaces-item-header-infos {
    width: 100%;
    position: absolute;
    bottom: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: $color-white;
    padding: 10px 0 15px 0;
}

.espaces-item-header-type {
    font-family: "Lucien-book";
    font-size: 0.65em;
    text-align: center;
}

.espaces-item-header-label {
    font-family: "Lucien-bold";
    font-size: 1.07em;
    text-align: center;
    margin-top: 7px;
}

.espaces-item-header-picture {
    img {
        width: 100%;
    }
}

.espaces-item-content {
    text-align: center;

    .button-golden {
        margin-top: 40px;
        margin-bottom: 35px;
        font-size: 0.87em;
        padding: 20px 13px;
    }

}

.espaces-item-content-infos {
    font-family: "Lucien-book";
    font-size: 0.75em;
    margin-top: 20px;

    &span.bold {
        font-family: "Lucien-bold";
    }

}

.espaces-item-content-text {
    font-family: "Georgia";
    font-size: 0.9em;
    margin-top: 30px;
    padding: 0 10px 0 10px;
}

.espaces-item-button {
    bottom: 30px;
    position: absolute;
    left: 50%;
    width: 80%;
    margin-left: -40%;
    white-space: nowrap;
    padding: 20px 0 20px 0;
    font-size: 1vw;
    &:hover {
        padding: 20px 0 20px 0;
        font-size: 1vw;
    }
}

///////////////////////////////////////////////////////////////
// Device: Desktop XL
///////////////////////////////////////////////////////////////

@include desktop-xl {
    .espaces-item {
        min-height: 520px;
    }
    .espaces-item-button {
        font-size: 1em;
        &:hover {
            font-size: 1em;
        }
    }
}

///////////////////////////////////////////////////////////////
// Device: Tablet
///////////////////////////////////////////////////////////////

@include tablet-landscape-and-below {
    .espaces-item {
        min-height: 0;
    }

    .espaces-item-button {
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
        margin: 40px 0 40px 0;
        font-size: 0.9em;
        &:hover {
            font-size: 0.9em;
        }
    }
}

@include tablet-portrait-and-below {
    .espaces-item-button {
        margin: 30px 0 30px 0;
    }
}

///////////////////////////////////////////////////////////////
// Device: Mobile
///////////////////////////////////////////////////////////////

@include mobile-landscape-and-below {

}