/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 6 oct. 2022, 11:33:05
    Author     : bonneau
*/

.asptt-posts__item-image-wrapper{
    display: flex;
    height: 190px;
    width: 190px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
}

.asptt-posts__item-image-wrapper:hover .asptt-posts__item-image{
    transform:scale(1.1);
}

.asptt-posts__item-image{
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
    width: 100%;
    height: 100%;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
    height: 100%;
}


.asptt-posts__item-title{
    margin: 0;
    margin-top: 8px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
}

.asptt-posts__item{
    text-decoration: none;
    position: relative;

    margin-bottom: 10px;
}

.asptt-posts__item--title-on-image .asptt-posts__item-image-wrapper::after{
    display: block;
    content: '';
    background: rgb(0,0,0);
    background: -moz-linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8) 100%);
    background: -webkit-linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8) 100%);
    background: linear-gradient(180deg, rgba(0,0,0,0) 56%, rgba(0,0,0,0.6) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.asptt-posts__item--title-on-image .asptt-posts__item-image-wrapper{
      background-position: center;
    position: relative;
}

.asptt-posts__item--title-on-image .asptt-posts__item-infos{
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 26px 10px;
    color: #FFF;
    text-align: center;
    margin: 0;
    z-index: 1;
}

.asptt-posts__item-infos:not(.asptt-posts__item--activity-portrait__infos) .asptt-button{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 52.5px;
}

.asptt-posts__item-date{
    font-weight: 100;
    margin-top: 4px;
    display: block;
}

/** Post item event **/

.asptt-posts__item--event{
    text-decoration: underline;
    width: 100%;
    max-width: 250px;
}

.asptt-posts__item--image-portrait .asptt-posts__item-image-wrapper{    
    width: 100%;
    height:auto;
    aspect-ratio:230/323;
}

.asptt-posts__item--event .asptt-posts__item-date{
    font-style: italic;
    font-size: 11px;
}

/** Post item stage **/

.asptt-posts__item--asptt_stage{
    height:auto;
}

/** Post item review **/

.asptt-posts__item_wrapper--asptt_review {
    display: flex;
    flex-direction: row;
    position: relative;

    background-color: #e5e5e5;

    padding-top: 26px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 30px;

    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.asptt-posts__item--asptt_review__image{
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
    width: 100px;
    padding-bottom: 100px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}

.asptt-posts__item--asptt_review__informations{
    width: calc(100% - 100px);
    padding-left: 27px;
}

.asptt-posts__item--asptt_review__source-icon{
    position: absolute;
    width: 32px;
    height: 32px;
    color: #FFF;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.asptt-posts__item--asptt_review__source-icon--facebook{
    background-color: #3b5998;
    
}

.asptt-posts__item--asptt_review__source-icon--google{
    background-color: #34ab53;
}

.asptt-posts__item--asptt_review__name{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.asptt-posts__item--asptt_review__content{
    font-size: 14px;
    line-height: 20px;
}

/** Post item activity **/
.asptt-posts__item--activity .asptt-posts__item-title{
    color: #FFF;
    text-align: center;
}

/** Post search results **/

.asptt-posts__item-type{
    font-size: 12px;
    font-style: italic;
}

/** Post portrait activité **/


.asptt-posts__item--activity-portrait{
    position: relative;
}

.asptt-posts__item--activity-portrait-image__wrapper::after{
    display: block;
    content: '';
    background: #000;
    background: -moz-linear-gradient(180deg,rgba(0,0,0,0) 50%,rgba(0,0,0,0.8) 100%);
    background: -webkit-linear-gradient(180deg,rgba(0,0,0,0) 50%,rgba(0,0,0,0.8) 100%);
    background: linear-gradient(180deg,rgba(0,0,0,0) 56%,rgba(0,0,0,0.6) 100%);
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.asptt-posts__item--activity-portrait__infos{
    padding-bottom: 35px;
}

.asptt-posts__item--activity-portrait__infos .asptt-button{
    position: absolute;
    left: 50%;
    transform: translate(-50%,50%);
    bottom: 0; 
}

.asptt-posts__item--activity-portrait-image{
    aspect-ratio: 210/300;
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
    transform-origin: center;
    -webkit-transition: transform .4s;
    -moz-transition: transform .4s;
    -ms-transition: transform .4s;
    -o-transition: transform .4s;
    transition: transform .4s;
}

.asptt-posts__item--activity-portrait:hover .asptt-posts__item--activity-portrait-image{
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.asptt-posts__item--activity-portrait-infos{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    bottom: -20px;
}

.asptt-posts__item--activity-portrait-image__wrapper{
    overflow: hidden;
    position: relative;
    -webkit-border-radius: 6px;
    -moz-border-radius:6px;
    border-radius:6px;
}

.asptt-posts__item--activity-portrait-infos-title{
    font-weight: bold;
    font-size: 14px;
    color: #FFF;
    margin-bottom: 14px;
    text-transform: uppercase;
    max-width: 115px;
}

@media screen and (max-width: 768px) {

    .asptt-posts__item--title-on-image .asptt-posts__item-infos{
        font-size: 16px;
        line-height: 20px;
    }

    .asptt-posts__item--title-on-image .asptt-posts__item-infos .asptt-posts__item-date {
        margin-top: 0;
    }

    /** Post item review **/

    .asptt-block-post-slider.review-slider .asptt-slider__wrapper {
        align-items: flex-start;
    }
    
    .asptt-posts__item--asptt_review {
        padding-top: 33px;
    }

    .asptt-block-post-slider.review-slider .asptt-title {
        margin-bottom: 15px;
    }

    .asptt-block-post-slider.review-slider .asptt-slider__arrow {
        top: 78px;
    }
    .asptt-block-post-slider.review-slider .asptt-slider__arrow--prev {
        left: 34px;
    } 
    .asptt-block-post-slider.review-slider .asptt-slider__arrow--next {
        right: 34px;
    }

    .asptt-posts__item--asptt_review__informations {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding-left: 0;
        padding-top: 60px;
    }
    .asptt-posts__item--asptt_review__image {
        position: absolute;
        top: -33px;
        align-self: center;
    }
    .asptt-posts__item_wrapper--asptt_review {
        padding-top: 26px;
        padding-left: 23px;
        padding-right: 23px;
        padding-bottom: 25px;

        flex-direction: column;
    }


    /** Post item stage **/

    .asptt-posts__item--asptt_stage .asptt-posts__item-image-wrapper{
        width: unset;
        height: unset;
    }
}