/* Cards */

.card-box{
    margin-bottom: 0;
}
.card-box .image-wrapper, .card-box .content-wrapper{
    width: 50%;
    float: left;
    margin-bottom: 0;
    position: relative;
}
.card-box .image-wrapper img{
    width: 100%;
}
.card-box .content-wrapper .content{
    padding: 36px;
}
.card-box a{
    text-decoration: none;
    float: left;
    width: 100%;
}
.card-box .wrapper{
    float: left;
    width: 100%;
}
.card-box .content-wrapper .button{
    position: absolute;
    bottom: 30px;
    left: 36px;
}
.card-box{
    padding-left: 0!important;
    padding-right: 0!important;
}
.cards .row{
    margin: 0!important;
}
.cards .card-box:nth-child(1) .image-link, .cards .card-box:nth-child(2) .image-link{
    display: flex;
    flex-direction: row-reverse;
}

@media screen and (max-width: 1480px){
    .card-box .content-wrapper .content {
        padding: 25px;
    }
}

@media screen and (max-width: 991px){
    .card-box .image-wrapper, .card-box .content-wrapper, .card-box .wrapper{
        height: auto!important;
    }
    .cards .card-box:nth-child(odd) .image-link{
        display: flex;
        flex-direction: row-reverse;
    }
    .cards .card-box:nth-child(even) .image-link{
        display: block;
    }
    .cards .card-box:nth-child(even) .image-link .button{
        position: absolute;
        left: calc(50% + 20px);
    }
    .cards .card-box:nth-child(even) .content-wrapper{
        position: static;
    }
    .card-box .content-wrapper .button{
        left: 25px;
    }
}

@media screen and (max-width: 768px){
    .card-box .content-wrapper .content{
        padding: 0;
    }
    .card-box .content-wrapper{
        padding: 20px;
    }
    .card-box h4{
        font-size: 18px;
    }
    .card-box .content-wrapper .button,
    .cards .card-box:nth-child(even) .image-link .button{
        left: 0;
        bottom: 0;
        position: relative;
    }
    .cards .card-box:nth-child(odd) .image-link{
        display: block;
    }
    .card-box .image-link{
        position: relative;
        display: flex;
        align-content: center;
        justify-content: flex-start;
        min-height: 180px;
    }
    .card-box .content-wrapper{
        width: 66.66%;
        float: right;
    }
    .card-box .image-wrapper{
        width: 33.33%;
        float: left;
        height: 100%!important;
        position: absolute;
        left: 0;
        top: 0;
        background-size: cover;
    }
    .cards .card-box:nth-child(odd) .image-link{
        flex-direction: column;
        align-items: normal;
        justify-content: center;
    }
    .card-box:nth-child(odd) .content-wrapper{
        float: left;
        justify-content: end;
    }
    .card-box:nth-child(odd) .image-wrapper{
        left: auto;
        right: 0;
    }
}
