
/* ---------- Comparasion Slider ------------ */

.comp-sldr-main-bg {
    background: url('https://www.cloudways.com/wp-content/uploads/2020/01/cw-comp-slider-end_nodes.png') no-repeat center transparent;
    position: relative;
}

.comp-sldr-main-bg::before {
    position: absolute;
    content: '';
    top: 48%;
    left: 150px;
    right: 150px;
    height: 2px;
    background: #d0e2ff;
}

.comp-with-cw-sldr-wrap {
    height: 450px;
    max-width: calc(100% - 300px);
    margin: 0 auto;
    cursor: e-resize;
}

.withCw_box {
    background: url('https://www.cloudways.com/wp-content/uploads/2020/01/hessle-free-cw-comp.png') no-repeat center center;
    border-radius: 8px;
    overflow: hidden;
}

.comp-with-cw-sldr-inner {
    position: relative;
    height: 100%;
    width: 100%;
}

.comp-with-cw-sldr-box-wrap {
    position: relative;
    overflow: hidden;
    display: block;
    height: 100%;
    width: auto;
}

.comp-with-cw-sldr-box-wrap:before {
    display: block;
    height: 100%;
    width: 100%;
    content: '';
}

.bg-white{
    background-color: #ffffff !important;
}

.withoutCw_box-wrapper {
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    position: absolute;
    overflow: hidden;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    background-color: #f8f9fb
}

.comp-sldr_strip {
    position: absolute;
    width: 2px;
    height: 100%;
    top: 0px;
    bottom: 0px;
    background: #2e3abd;
    margin: auto;
    left: 50%;
    box-shadow: 0 0 15px 2px rgba(0,0,0,0.2);
}

.comp-sldr_strip:before {
    position: absolute;
    content: '';
    height: 60px;
    width: 8px;
    background: #2e3abd;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    z-index: 9;
    transform: translateX(-50%);
    box-shadow: 0 0 25px 3px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

.withoutCw_box {
    background: url('https://www.cloudways.com/wp-content/uploads/2020/01/crowded-without-cw.png') no-repeat center center;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    /* background-size: contain; */
    position: relative;
    display: block;
    height: 100%;
    width: auto;
}

.comp-with-cw-sldr-box-wrap span {
    position: absolute;
    white-space: nowrap;
    font-size: 20px;
    color: #091e42;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    top: 0;
    bottom: 0;
    overflow: hidden;
}

.comp-with-cw-sldr-box-wrap span.withoutCw_box-text {
    right: 0;
    left: 50%;
    z-index: 9;
    padding: 0 50px;
}

.comp-with-cw-sldr-box-wrap span.withCw_box-text {
    left: 0;
    right: 50%;
    z-index: 9;
    padding-left: 20px;
}

@media(max-width:1200px) {
    .comp-sldr-main-bg {
        background-size: contain;
    }
    .comp-sldr-main-bg::before {
        left: 100px;
        right: 100px;
    }
    .comp-with-cw-sldr-wrap {
        max-width: calc(100% - 200px);
    }
}

@media(max-width:992px) {
    .comp-with-cw-sldr-box-wrap span {
        font-size: 18px;
    }
    .comp-with-cw-sldr-wrap {
        height: 400px;
        max-width: calc(100% - 150px);
    }
    .withoutCw_box {
        background-size: contain;
    }
    .comp-sldr-main-bg::before {
        left: 80px;
        right: 80px;
    }
}

@media(max-width:767px) {
    .comp-sldr-on-mbl h2 {
        color: #091e42;
        font-weight: 500;
        line-height: 20px;
        text-align: center;
        font-size: 20px;
        margin: 50px 0 20px;
    }
    .comp-sldr-on-mbl img {
        max-width: 80%;
        margin: 0 auto;
        position: relative;
    }
    .comp-sldr-main-bg::before {
        top: 46%;
    }
    .comp-with-cw-txt {
        margin: 0;
    }
    .comp-sldr-main-bg::before{
        display: none;
    }
}

@media(max-width:650px){
    .comp-sldr-on-mbl img{
        max-width: 70%;
    }
}

/* ---------------------------------------------------------- */