.px-card-list{
    display: flex;
    flex-wrap: wrap;
}

.px-card {
    position: relative;
    min-height: 300px;
    width: calc(50% - 20px);
    min-width: 400px;
    margin: 50px 20px 50px 0;
    color:  var(--e-global-color-primary);

}
.px-card{
    width: calc(50% - 120px);
    float: left;
}

.px-card.w-25{
    width: calc(25% - 20px);
}
.px-card.w-50{
    width: calc(50% - 20px);
}
.px-card.w-75{
    width: calc(75% - 20px);
}
.px-card.w-100{
    margin: 50px 0 50px 0;
    width: 100%;
}
.px-card:nth-of-type(2n){
    float: right;
}

.text-center{
    text-align: center;
}
.text-left{
    text-align: left;
}
.text-right{
    text-align: right;
}
.px-card .left{
    min-width: 260px;
    height: 100%;
}

.px-card .right{
    padding: 10px;
    flex-grow: 1;
}

.px-card .right.full-width {
    width: 100%;
    padding: 20px;
}

.px-card .left.no-image {
    display: none;
}

.px-card:nth-of-type(2n){
    margin: 50px 0 50px 20px;
}
.px-card:nth-of-type(2n).w-75{
    margin-left:auto;
}

.px-card:nth-of-type(2n) .left{
    order:2
}

.px-card:nth-of-type(2n) .right{
    order:1
}


.px-card .title {
    margin-top:30px;
    flex-basis:  calc(100% - 280px);
}



.px-card .px-card__front,
.px-card .px-card__back
 {
    width: 100%;
    height: 100%;
    background-color: #EEF;
    transition: transform 0.5s;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    border: 2px solid var(--e-global-color-primary);
}
.px-card .px-card__front {
    position: relative;
}
.px-card .px-card__back{
    position: absolute;
    left: 0;
    top:0;
}

.px-card .px-card-content .body {
    position: relative;
    overflow-y: auto;
    margin: 0 10px 0 10px;
    word-break: break-word;
    padding: 15px;
    width: 100%;
}



.px-card .button-text {
    position: absolute;
    width: 305px;
    bottom: 60px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFF;
    left: -45px;
    z-index: 1;
    background-color: var(--e-global-color-primary);
    border: 2px solid var(--e-global-color-primary);
    /* Clip path moved in by 2px on each edge */
    clip-path: polygon(0 0, calc(100% - 45px) 0, 100% 100%, 0 100%);
    cursor: pointer;
}

.px-card:nth-of-type(2n) .button-text {
    clip-path: polygon(
            45px 0,
            100%  0,
            100% 100% ,
            0 100%
    );
    right: -45px;
    left: unset;
}
.px-card .button-text.flip {
    bottom: 15px;
}
.px-card .button-text.single,
.px-card .button-text.flip.single {
    height: 60px;
    bottom: 15px;
}

.px-card .button-text:hover {
    background-color: var( --e-global-color-secondary );
    border: 0;
}
.px-card .button-text:hover p {
    color: #FFF !important;
}

.px-card .button-text p {
    margin-left: 60px;
    z-index: 4;
    font-size: 16px;
    color: #FFF;
    text-transform: uppercase;
}

.px-card img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 225px;
    max-height: 300px;
    cursor: pointer;
    box-shadow: 3px 3px 8px rgba(200, 200, 200, 0.2);
}

.px-card .topper img {
    position: absolute;
    box-shadow: 3px 3px 8px rgba(200, 200, 200, 0.2);
    left: -60px;
    top: -50px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 180px;
    max-width: 320px;
}

.px-card img{
    min-width: 235px;
    min-height: 300px;
}
.px-card .topper img{
    min-width: 270px;
    min-height: 130px;
}

.px-card:nth-of-type(2n) img{
    right: 0;
    left: unset;
}

.px-card:nth-of-type(2n) .topper img{
    right: -60px;
    left: unset;
}




.px-card:not(.px-card--flipped) .px-card__back {
    transform: rotateY(-180deg);
}
.px-card.px-card--flipped .px-card__front {
    transform: rotateY(180deg);
}

.px-card p,
.px-card svg {
    width: 90%;
}

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

.px-card,
.px-card.w-25,
.px-card.w-50
{
    width: calc(75% - 120px);
}
    .px-card:nth-of-type(2n).w-25,
    .px-card:nth-of-type(2n).w-50{
        margin-left:auto;
    }

}
@media only screen and (max-width: 1000px) {
    .px-card,
    .px-card.w-25,
    .px-card.w-50,
    .px-card.w-75
    {
        width: calc(100% - 120px);
    }
}

@media only screen and (max-width: 768px){
    .px-card,
    .px-card.w-25,
    .px-card.w-50,
    .px-card.w-75,
    .px-card.w-100{
        width: calc(100% - 30px);
        display: flex;
        flex-wrap: wrap;
        margin: 60px 15px;
    }
    .px-card .px-card__front,
    .px-card .px-card__back{
        flex-wrap: wrap;
    }
    .px-card:nth-of-type(2n) img{
        left: 50%
    }

    .px-card:nth-of-type(2n) .topper img{
        left: 50%;
    }
    .px-card .topper img,
    .px-card  img{
        top: -50px;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .px-card .left {
        min-width: 100%;
        height: 190px;
    }
    .px-card .left.topper {
        min-width: 100%;
        height: 150px;
    }
    .px-card .right {
        width: 100%;
        margin-bottom: 100px;
    }
    .px-card:nth-of-type(2n) .left{
        width: 100%;
        order:1
    }
    .px-card:nth-of-type(2n) .right{
        width: 100%;
        order:2;
        margin-bottom: 100px;
    }

    .px-card .button-text{
        left: 0
    }
    .px-card:nth-of-type(2n) .button-text{
        right:0
    }
}