HOME


sh-3ll 1.0
DIR:/proc/self/cwd/bright.medisavehealthcarebd.com/assets/frontend/css/scss/base/
Upload File :
Current File : //proc/self/cwd/bright.medisavehealthcarebd.com/assets/frontend/css/scss/base/_helper_class.scss
/* ---------------------------------------------------------------- */
/* 03.Helper Class                              
/* ---------------------------------------------------------------- */
.page-wrapper {
    position: relative;
    overflow: hidden;
}
.section {
    padding: 100px 0;
    .section-heading {
        text-align: center;
        margin-bottom: 50px;
        h2 {
            margin-bottom: 15px;
            padding-bottom: 15px;
            text-align: center;
            display: block;
            position: relative;
            &:after {
                content: "";
                bottom: 0;
                left: 50%;
                height: 4px;
                width: 50px;
                position: absolute;
                background: $color_primary;
                transform: translateX(-50%);
            }
        }
        span {
            font-size: 14px;
            border-radius: 50px;
            color: $color_white;
            padding: 8px 18px;
            margin-bottom: 10px;
            display: inline-block;
            background: $color_primary;
        }
        &.light {
            h2 {
                color: $color_white;
                &:after {
                    background: $color_white;
                }
            }
        }
    }
    .section-heading-left {
        text-align: left;
        margin-bottom: 50px;
        h2 {
            display: block;
            text-align: left;
            position: relative;
            margin-bottom: 15px;
            padding-bottom: 15px;
            &:before, &:after {
                bottom: 0;
                height: 4px;
                content: "";
                position: absolute;
                background: $color_primary;
            }
            &:before {
                left: 0;
                width: 20px;
            }
            &:after {
                left: 30px;
                width: 40px;
            }
        }
        span {
            font-size: 14px;
            border-radius: 50px;
            color: $color_white;
            padding: 8px 18px;
            margin-bottom: 10px;
            display: inline-block;
            background: $color_primary;
        }
    }
}
.no-padding {
    padding: 0;
    margin: 0;
}
.bg-dark-blue {
    background: $color_dark;
    .section-heading {
        margin-bottom: 100px;
        h2 {
            color: $color_white;
            &:after {
                background: $color_primary;
            }
        }
    }
}
.bg-primary-light {
    background: rgba($color_primary,0.05);
}
.bg-grey {
    background: $color_like_grey;
}
.bg-light-grey {
    background-color: $color_light_grey;
}
.mb-30 {
    margin-bottom: 30px;
}
.ml-3 {
    margin-left: 10px;
}
.pb-30 {
    padding-bottom: 30px;
}
.pb-minus-70 {
    padding-bottom: 70px;
}
.pb-minus-76 {
    padding-bottom: 76px;
}
.bg-overlay {
    z-index: 1;
    padding: 100px 0;
    position: relative;
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    &:before {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: "";
        z-index: -1;
        position: absolute;
        opacity: 0.75;
        background: $color_primary;
    }
}
.inner-header-title {
    margin-bottom: 20px !important;
    position: relative;
    padding-bottom: 22px;
    display: block;
    &:after, &:before {
        content: "";
        bottom: 0;
        left: 0;
        height: 2px;
        position: absolute;
        border-radius: 5px;
    }
    &:after {
        width: 100%;
        background: rgba($color_black, 0.05);
    }
    &:before {
        width: 60px;
        z-index: 36;
        background: $color_primary;
    }
}
#portfolioCarousel{
    &.owl-carousel {
        .owl-item img {
            width: 100%;
            display: inline-block;
        }
        .owl-nav {
            margin-top: 0;
            button {
                margin: 0;
                top: 50%;
                padding: 5px !important;
                color: $color_white;
                text-align: center;
                border-radius: 50%;
                position: absolute;
                background: transparent;
                display: inline-block;
                transition: all 0.5s ease;
                transform: translateY(-50%);
                border: 2px solid $color_white;
                span {
                    width: 46px;
                    height: 46px;
                    line-height: 46px;
                    border-radius: 50%;
                    color: $color_primary;
                    transition: all 0.5s ease;
                    background: $color_white;
                }
                &:hover {
                    border-color: $color_primary;
                    span {
                        color: $color_white;
                        background: $color_primary;
                    }
                }
                &.owl-prev {
                    left: 20px;
                }
                &.owl-next {
                    right: 20px;
                }
            }
        }
    }
}
#testimonialCarousel, #blogCarousel {
    &.owl-carousel {
        .owl-item img {
            width: auto;
            display: inline-block;
        }
        .owl-nav {
            margin-top: 0;
            position: absolute;
            top: -130px;
            right: 0;
            display: inline-block;
            button {
                margin: 0;
                padding: 5px !important;
                color: $color_white;
                text-align: center;
                border-radius: 50%;
                background: transparent;
                display: inline-block;
                transition: all 0.5s ease;
                border: 2px solid $color_primary;
                span {
                    width: 40px;
                    height: 40px;
                    line-height: 40px;
                    border-radius: 50%;
                    color: $color_white;
                    transition: all 0.5s ease;
                    background: $color_primary;
                }
                &:hover {
                    border-color: $color_dark;
                    span {
                        background: $color_dark;
                    }
                }
            }
            button.owl-prev {
                margin-right: 10px;
            }
        }
    }
}
/* ---------------------------------------------------------------- */
/* Responsive Media Query
 * Extra small devices (portrait phones, less than 576px)
/* ---------------------------------------------------------------- */
@media only screen and (max-width:575.98px) {
    .section {
        .section-heading {
            h2 {
                font-size: 2rem;
            }
        }
    }
}
/* ---------------------------------------------------------------- */
/* Responsive Media Query (less than 768px)
/* ---------------------------------------------------------------- */
@media only screen and (max-width: 768px) {
	#testimonialCarousel, #blogCarousel {
        &.owl-carousel {
            .owl-nav {
                top: 0;
                position: static;
                margin-bottom: 24px;
            }
        }
    }
}
#colorOptionsSidebar {
    top: 50%;
    left: 0;
    z-index: 1111;
    line-height: 1;
    position: fixed;
    text-align: left;
	display: inline-block;
    transform: translateY(-50%);
	transition: all 0.4s ease;
    #colorOptionsSidebarToggle {
        top: 0;
        right: -52px;
        position: absolute;
        padding: 16px;
        font-size: 20px;
        color: $color_white;
        border: none;
        background: $op_color_default;
		transition: all 0.4s ease;
    }
    .color-options-wrap {
        padding: 15px 6px 10px 15px;
        max-width: 219px;
        background: $color_white;
        transition: all 0.4s ease;
        box-shadow: 0 23px 49px 0 rgba($color_primary,0.1);
        transition: all 0.4s ease;
        transform: translateX(-100%);
        &.active {
            transform: translateX(0);
        }
    }
    span {
        width: 38px;
        height: 38px;
        cursor: pointer;
        overflow: hidden;
        position: relative;
        border-radius: 50%;
        margin:3px;
        display: inline-block;
        &.default {
            background: $op_color_default;
        }
        &.blue {
            background: $op_color_blue;
        }
        &.red {
            background: $op_color_red;
        }
        &.yellow {
            background: $op_color_yellow;
        }
        &.green {
            background: $op_color_green;
        }
        &.pink {
            background: $op_color_pink;
        }
        &.turquose {
            background: $op_color_turquose;
        }
        &.purple {
            background: $op_color_purple;
        }
        &.blue2 {
            background: $op_color_blue_2;
        }
        &.orange {
            background: $op_color_orange;
        }
        &.magenta {
            background: $op_color_magenta;
        }
        &.orange2 {
            background: $op_color_orange_2;
        }
        &.active {
            &:after {
                content: "\f00c";
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                display: flex;
                font-size: 12px;
                font-weight: 600;
                color: $color_white;
                text-align: center;
                position: absolute;
                align-items: center;
                justify-content: center;
                background: rgba($color_dark,0.2);
                font-family: "Font Awesome 5 Free";
            }
        }
    }
}
#rtlSidebar {
    top: 50%;
    left: 0;
	margin-top: -115px;
    z-index: 7777;
    line-height: 1;
    position: fixed;
    text-align: left;
	display: inline-block;
	transition: all 0.4s ease;
    transform: translateY(-50%);
    #rtlToggle {
        padding: 16px 12.5px;
        font-size: 16px;
        color: $color_white;
        border: none;
    }
}