.block-card-box .button {
    padding: 10px 0;
}

.block.block-card-box {
    padding-top: 0;
}

.block-card-box .card p {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    color: #888888;
}

.block-card-box .card-img-top {
    padding: 0 15px;
}

.block-card-box .card.card-radius {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    height: 100% !important;
}

.block-card-box .card {
    height: auto !important;
    padding: 2rem 0;
}


.block-card-box .card.card-bottom {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    height: auto !important;
}

.block-card-box .button {
    width: 100%;
    font-size: 15px;
    height: auto;
}

.affin-always-generic-logo {
    width: 100px;
    max-height: 69px;
    margin-left: 15px;
    margin-bottom: 10px;;
}

.proceed-btn {
    background: #FFFFFF;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 300;
    font-family: Roboto;
    font-style: normal;
    color: #0768B3;
    padding: 11px 0;
    width: 160px;
}

.bg-black {
    background-color: #3B3C3D;
}

.add-to-compare-boxes span {
    color: #fff;
}

.add-to-compare-border {
    border: 1px dashed #FFFFFF;
    box-sizing: border-box;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    margin: 20px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 16rem;
}

.add-to-compare-border p {
    padding-top: 10px;
    color: #fff;
}

.add-to-compare-border img:first-child {
    width: 80% !important; /* to adjust card size */
}

.fa-plus-circle {
    display: block;
    height: 27px;
}

.add-to-compare-close-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: red;
    border-radius: 50%;
    padding: 11px;
    color: #fff;
    cursor: pointer;
}

.add-to-compare-wrapper {
    display: none;
}

.affin-always-card-boxes .container-fluid.bg-black.add-to-compare-wrapper.position-relative {
    position: fixed !important;
    bottom: 0;
    z-index: 901;
}

.block-card-box .carousel__photo.prev,
.block-card-box .carousel__photo.next {
    z-index: 800;
}

.block-card-box .carousel__button--prev,
.block-card-box .carousel__button--next {
    position: absolute;
    top: 45%;
    width: 3rem;
    height: 3rem;
    background-color: #0768B3;
    transform: translateY(-50%);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    border: 1px solid white;
}

.block-card-box .carousel__button--prev {
    left: -15px;
}

.block-card-box .carousel__button--next {
    right: 0;
}

.block-card-box .carousel__button--next img,
.block-card-box .carousel__button--prev img {
    position: absolute;
    top: 50%;
    left: 50%;
}

.block-card-box .carousel__button--next img {
    transform: translate(-50%, -50%) rotate(90deg);
}

.block-card-box .carousel__button--prev img {
    transform: translate(-50%, -50%) rotate(-90deg);
}

.add-to-compare-wrapper .close-btn {
    top: 10px;
    right: 13px;
    cursor: pointer;
}

@media screen and (max-width: 1000px) {
    .block-card-box .button {
        padding: 10px;
    }

    .block-card-box .button {

        font-size: 14px;
    }

    .add-more-card {
        padding-bottom: 0;
    }

}

.block-card-box .next-btn,
.block-card-box .previous-btn {
    background: #0768B3;
    border-radius: 50%;
    overflow: hidden;
    color: white;
    min-width: 50px;
    min-height: 50px;
    font-size: 30px;
}

.block-card-box .carousel__photo {
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
}

.block-card-box .carousel__photo.initial,
.block-card-box .carousel__photo.active {
    opacity: 1;
    position: relative;
    z-index: 900;
}

.block-card-box .carousel__photo.prev,
.block-card-box .carousel__photo.next {
    z-index: 800;
}


@media (min-width: 768px) and (max-width: 991px) {
    /* Show 4th slide on md if col-md-4*/
    .carousel-inner .active.col-md-4.carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: absolute;
        top: 0;
        right: -33.3333%; /*change this with javascript in the future*/
        z-index: -1;
        display: block;
        visibility: visible;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    /* Show 3rd slide on sm if col-sm-6*/
    .carousel-inner .active.col-sm-6.carousel-item + .carousel-item + .carousel-item {
        position: absolute;
        top: 0;
        right: -50%; /*change this with javascript in the future*/
        z-index: -1;
        display: block;
        visibility: visible;
    }
}

