

/*---- 

====================
01. Base CSS
    # Common CSS
====================

----*/ 


@use "./../abstract";

#smooth-wrapper{
    overflow: hidden;
    z-index: 1;
}
@media (min-width: 1451px) {
    .container{
        max-width: 1314px;
    }
}
@media (min-width: 1200px) and (max-width: 1450px) {
    .container{
        max-width: 1200px;
    }
}
.p-r{
    position: relative;
}
.bg_cover{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 100%;
}
.font-200{
    font-weight: 200;
}
.form-group{
    position: relative;
}
label{
    margin-bottom: 0;
}
.form_control{
    width: 100%;
}
.text-white{
    p,
    h6,
    h5,
    h4,
    h3,
    h2,
    & h1{
        color: $white-color;
    }
    & .sub-heading{
        background-color: $white-color;
        color: $heading-color;
        border-color: transparent;
    }
}
.thin-200{
    font-weight: 200;
}


.sub-title{
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    line-height: 35px;
    color: $primary-color;
    gap: 10px;
    margin-bottom: 12px;
    &:after,
    &:before{
        content: '';
        background-color: $primary-color;
        width: 50px;
        height: 1px;
    }
    &:after{
        display: none;
    }
}

.section-title{
    & h2{
        @include respond(xxl){
            font-size: 38px;
            line-height: 1.1;
        }
        @include respond(xl){
            font-size: 36px;
            line-height: 1.3;
        }
        @include respond(md){
            font-size: 28px;
        }
    }
    &.text-center{
        & .sub-title{
            &:after{
                display: block;
            }
        }
    }
}

.title-white{
    & h2{
        color: $white-color;
    }
    & p{
        color: $white-color;
    }
}

.check-list{
    &.style-one{
        & li{
            display: flex;
            align-items: center;
            line-height: 1;
            &:not(:last-child){
                margin-bottom: 13px;
            }
            & i{
                margin-right: 10px;
                color: $primary-color;
            }
        }
    }
    &.style-two{
        & li{
            position: relative;
            padding-left: 15px;
            &:not(:last-child){
                margin-bottom: 10px;
            }
            &:before{
                position: absolute;
                top: 11px;
                left: 0;
                content: '';
                width: 5px;
                height: 5px;
                border-radius: 50%;
            }
        }
    }
}

/* Nice Select */

.nice-select{
    &:after{
        content: '\f107';
        font-family: 'Font Awesome 5 Pro';
    }
}

/* Animated List Wrap */

.headline-wrap {
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    font-family: $heading-font;
    text-transform: capitalize;
    & .marquee-wrap {
        display: flex;
        overflow: hidden;
        white-space: nowrap;
    }
    & .marquee-item{
        display: flex;
        align-items: center;
        margin-right: 50px;
        & i{
            margin-right: 15px;
            line-height: 0;
        }
    }
    & .marquee-inner{
        display: flex;
        &.left{
            animation: marquee_left 35s linear infinite;
        }
    }
    &.style-one{
        padding: 15px 0;
        font-family: $heading-font;
        color: $heading-color;
        background-color: $primary-color;
    }
}

/* Headline Animation */


.animate-float-bob-x {
    animation-name: float-bob-x;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear; 
}
.animate-float-bob-y {
    animation-name: float-bob-y;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear; 
}
.rotate360 {
    -webkit-animation: spin 7s linear infinite;
            animation: spin 7s linear infinite;
}
.zoomInOut{
    animation: zoomInOut 6s linear infinite;
}

/* Pagination */ 

.bistly-pagination{
    & ul{
        & li{
            display: inline-block;
            margin-left: 5px;
            margin-right: 5px;
            & a{
                width: 55px;
                height: 55px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                border: 1px solid $border-color;
                color: $heading-color;
                &:hover{
                    background-color: $primary-color;
                    color: $white-color;
                }
            }
        }
    }
}
/* Form Check & Radio */ 

.form-check{
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 0;
    & label{
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        cursor: pointer;
    }
}
.form-input-radio{
    position: relative;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid $border-color;
    margin-right: 10px;
    &:checked{
        border-color: $secondary-color;
        &:after{
            position: absolute;
            content: '';
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background-color: $primary-black-color;
        }
    }
}
