.service {
    position: relative;
    margin-bottom: 40px;
}

.service-bg {
    width: 100%;
    height: 320px;
}

.service-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-wrapper {
    padding: 0 22px;
    position: relative;
    z-index: 9;
}

.service-content {
    box-shadow: 0 3px 16px rgba(0, 0, 0, .16);
    padding: 35px 20px;
    text-align: center;
    color: #585858;
    margin-top: -50px;
    position: relative;
    z-index: 9;
    background: #fff;
    border-radius: 5px;
}

.service-wrapper ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 0;
}

.service-wrapper ul li {
    margin: 0 40px 0 0;
    padding: 0 0 0 34px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.service-wrapper ul li::before {
    content: "\e902";
    font-family: 'icomoon';
    position: absolute;
    left: 0;
    top: 3px;
    width: 21px;
    height: 21px;
    background: #fff;
    border-radius: 50%;
    color: #000;
    font-size: 12px;
    text-align: center;
    line-height: 1.8em;
    font-weight: 300;
}

.service-content__sup {
    padding: 0 !important;
    margin-bottom: 24px;
    justify-content: center !important;
}

.service-content__sup li {
    color: #000 !important;
}

.service-content__sup li:before {
    background: #000 !important;
    color: #fff !important;
}

@media (min-width: 768px) {
    .service {
        margin-bottom: 0;
    }

    .service.service-left-content {
        /* margin-bottom: 40px; */
    }

    .service-bg {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .service-bg img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        -o-object-fit: cover;
        font-family: 'object-fit: cover;';
        object-position: top;
    }

    .service-wrapper {
        width: 100%;
        height: 100%;
        color: #fff;
        z-index: 9;
        position: relative;
        padding:  80px 0;
        background: rgba(0, 0, 0, .83);
        text-align: center;
    }

    .service-content {
        box-shadow: none;
        padding: 0 22px;
        text-align: left;
        color: #fff;
        margin-top: 0;
        position: relative;
        z-index: 9;
        background: transparent;
        border-radius: 0;
    }

    .service-content h2 {
        color: #fff;
        margin-bottom: 10px;
    }

    .flx {
        box-sizing: border-box;
        display: flex;
        flex: 0 1 auto;
        flex-direction: row;
        flex-wrap: wrap;
        margin-right: -16px;
        margin-left: -16px;
        justify-content: center;
        text-align: center;
    }

    .flx .col-sm-6 {
        box-sizing: border-box;
        flex: 0 0 auto;
        flex-basis: auto;
        padding-right: 0;
        padding-left: 0;
        margin: 12px 16px;
        width: calc(50% - 32px);
    }

}

@media (min-width: 1200px) {
    .service-wrapper {
        background: transparent;
    }

    .service-content {
        background: rgba(0, 0, 0, .83);
        max-width: 800px;
        float: right;
        padding: 40px 60px 10px;
        margin-bottom: 45px;
    }

    .service-content .readmore {
        margin-bottom: 30px;
    }

    .service-content p {
        font-size: 17px;
        line-height: 1.588;
    }

    .service,
    .service.service-left-content {
        /* margin-bottom: 20px; */
    }

    .service-wrapper::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 200px;
        background: #FFFFFF;
    }

    .service-bg {
        height: calc(100% - 250px);
    }

    .service-wrapper ul {
        padding: 45px 0;
    }

    .flx .col-sm-6 {
        width: calc(25% - 32px);
    }
}

@media (min-width: 1366px) {
    .service-wrapper {
        background: transparent;
    }

    .service-content {
        background: rgba(0, 0, 0, .83);
        max-width: 800px;
        float: right;
        padding: 40px 60px 10px;
    }

    .service-content p {
        font-size: 17px;
    }

}

@media (min-width: 1600px) {
    .service-content {
        width: 53%;
        max-width: 100%;
    }

    .service-content-wrapper {
        max-width: 668px;
    }
}

/* service-left-content */

.service-left-content .service-bg img {
    object-position: right;
}

.service-left-content .image-buttons-column {
    border-bottom: 8px solid #000;
}

.service-left-content .btn-primary {
    background: #D11040;
    color: #FFFFFF;
}


@media (min-width: 768px) {
    .service-left-content .service-wrapper {
        background: linear-gradient(to right,  rgba(0,0,0,1) 25%,rgba(0,0,0,0) 100%);
        padding-bottom: 100px;
    }

    .service-left-content .service-content {
        text-align: left;
    }
    
    .service-left-content .service-bg img {
        object-position: center;
    }

    .service-left-content .service-content-wrapper {
        max-width: 645px;
    }

}

@media (min-width: 1200px) {
    .service-left-content .service-wrapper {
        padding-bottom: 60px;
    }

    .service-left-content .service-content {
        background: transparent;
        max-width: 100%;
        float: none;
        padding: 0 16px;
        margin-bottom: 45px;
    }

    .service-left-content .image-buttons-column {
        border-bottom: 8px solid #D11040;
    }

    .service-left-content .btn-primary:hover {
        background: #D11040;
        color: #fff;
    }
}

@media (min-width: 1366px) {
    .service-left-content .service-content {
        max-width: 50%;
    }

    .service-left-content .service-content-wrapper {
        float: right;
        margin-bottom: 40px;
    }

    .service-left-content .service-wrapper {
        padding: 95px 0 70px;
    }

    .service-left-content .service-wrapper::before {
        height: 257px;
    }

}
