/* @@@@@@@@@@@@@  Global CSS  @@@@@@@@@@@@@@ */

//Custom Container
@include breakpoint(xl) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1170px !important;
    }
}


/*======= Background Image ==========*/
.bg-img {
    // background: url(../images/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}


/*============ Custom File Upload =============*/
.custom-upload {
    @extend %rel;
    @extend %d-inline-block;
    @extend %hidden;
    @extend %pointer;

    i {
        @extend %mr-5;
    }

    .file-btn {
        border-radius: 5px;
        @extend %pointer;

    }

    input[type="file"] {
        @extend %abs;
        @extend %pointer;
        left: 0;
        top: 0;
        opacity: 0;
    }
}


// preloader
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    width: 100%;
    height: 100%;
    background: $theme-color;
    @extend %hidden;

    .preloader-inner {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);

        .preloader-icon {
            width: 72px;
            height: 72px;
            display: inline-block;
            padding: 0px;

            span {
                position: absolute;
                display: inline-block;
                width: 72px;
                height: 72px;
                border-radius: 100%;
                background: #fff;
                -webkit-animation: preloader-fx 1.6s linear infinite;
                animation: preloader-fx 1.6s linear infinite;

                &:last-child {
                    animation-delay: -0.8s;
                    -webkit-animation-delay: -0.8s;
                }
            }
        }
    }
}


@keyframes preloader-fx {
    0% {
        -webkit-transform: scale(0, 0);
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
        opacity: 0;
    }
}

@-webkit-keyframes preloader-fx {
    0% {
        -webkit-transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        -webkit-transform: scale(1, 1);
        opacity: 0;
    }
}

@keyframes price-ani {
    0% {
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
        opacity: 0.5;
    }

    100% {
        -webkit-transform: scale(1.2, 1.2);
        transform: scale(1.2, 1.2);
        opacity: 0.1;
    }
}


// pagination
.pagination {
    li {
        .page-link {
            @extend %p-0;
            width: 50px;
            height: 50px;
            line-height: 50px;
            outline: none;
            background-color: $white-color;
            @extend %text-center, %m-5, %title-color, %text-bold;
            @include border-radius(100%);
            &:focus {
                box-shadow: none;
            }
            &:hover {
                @extend %white-color;
                background-color: $theme-color;
            }
        }
        &:first-child .page-link, &:last-child .page-link {
            @include border-radius(100%);
        }
    }
}


// tag section start here
.tags-section {
    @extend %flex;
    @extend %justify-between;
    @extend %align-items-center;
    padding: 15px 30px;
    border: 1px solid $border-color;
    border-top: none;
    gap: 15px;
    .tags {
        @extend %p-0;
        @extend %m-0;
        @extend %flex;
        @extend %align-items-center;

        li {
            @extend %list-none;
            padding: 5px 0;

            span {
                padding: 10px 15px;
                color: $white-color;
                @extend %bg-theme;
                @extend %rel;
                @extend %mr-20;

                &::after {
                    @extend %abs;
                    @extend %bg-theme;
                    top: 50%;
                    right: 0;
                    transform: rotate(45deg) translateY(-50%);
                    width: 15px;
                    height: 15px;
                }

                i {
                    @extend %d-inline-block;
                }
            }

            a {
                @extend %d-inline-block, %p-10, %text-capitalize;
                outline: none;
                margin: 0 3px;
                border: 1px solid $border-color;
                color: $title-color;
                font-size: $fs-small;
                font-weight: 600;
                text-decoration: none;
                @include transition($transition);
                border-radius: 3px;

                &:hover {
                    @extend %bg-theme;
                    color: $white-color;
                }
            }
        }
    }

    .social-link-list {
        @extend %mt-0;


        li {
            padding: 5px 0;
            @extend %mr-10;

            &:last-child {
                @extend %mr-0;
            }

            a {
                background-color: $theme-color;
                height: 40px;
                width: 40px;
                @extend %d-inline-block, %white-color, %text-center, %border-radius-2;
                line-height: 40px;

                &.facebook {
                    background: $facebook;
                }

                &.dribble {
                    background: $dribble;
                }

                &.twitter {
                    background: $twitter;
                }

                &.linkedin {
                    background: $linkedin;
                }

                &:hover {
                    border-radius: 50%;


                }
            }
        }
    }
}




.bg-color {
    @extend %bg-color;
}
.bg-title {
    background-color: $title-color;
    * {
        @extend %white-color;
    }
}

.theme-color {
    color: $theme-color !important;
}

// scrollTop
.scrollToTop {
    position: fixed;
    bottom: -30%;
    right: 5%;
    z-index: 9;

    i {
        @extend %d-inline-block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        border-radius: 50%;
        @extend %text-center;
        color: $white-color;
        @extend %bg-theme;
        border: 1px solid rgba($white-color, $alpha: .10);
        @include transition($transition);

        &:hover {
            transform: translateY(-5px);
            box-shadow: 0px 5px 20px 0px rgba(0, 113, 240, 0.49)
        }
    }
}


@include breakpoint(lg) {
    .pt-lg-110 {
        padding-top: 108px !important;
    }

    .pb-lg-110 {
        padding-bottom: 110px !important;
    }
}

.breadcrumb {
    background-color: transparent;
}


.infotext {
    p {
        @extend %mb-0;
        @extend %text-bold;
        a {
            @extend %theme-color;
        }
    }
}

// section
.section__header {
    max-width: 600px;
    margin: 0 auto 40px;
    h6 {
        @extend %theme-color;
    }
}
.mb-none-120 {
    margin-bottom: -120px;
}


/*=========@@@@@@@@@ All Common Items   @@@@@@@@@============*/