.nav-vertical {

    .nav-item {
        margin-bottom: 10px;
        width: 100%;
        height: auto;
        border-radius: 0;
        background-color: transparent;
        opacity: 1;

        .nav-link {
            position: relative;

            &:after {
                content: "";
                position: absolute;
                height: 80%;
                width: 4px;
                background-color: transparent;
                top: 10%;
                left: 0;
                border-radius: 2px;
            }

            &.active,
            &:hover {
                color: $color-template-primary;

                &:after {
                    background-color: $color-template-primary;
                }
            }
        }

        &:last-child {
            margin-bottom: 0;
        }
    }

}

.nav-footer-vertical {
    .nav-item {
        margin-bottom: 0px;

        .nav-link {
            position: relative;
            padding: 0.525em 0;

            &:after {
                content: "";
                position: absolute;
                height: 1px;
                width: 0;
                background-color: transparent;
                bottom: 0;
                left: 0;
                right: 0;
                margin: 0 auto;
                border-radius: 2px;
                @extend .transition-05;
            }

            &:hover {
                color: $color-template-primary;

                &:after {
                    width: 100%;
                    background-color: $color-template-primary;
                }
            }
        }

    }

}

.swiper-container-horizontal {
    .nav-list-swiper {
        bottom: 0;

        .swiper-pagination-bullet {
            width: 250px;
            height: auto;
            margin-right: 40px;
            overflow: visible;
            padding: 15px 0 0 0;
            background: transparent;
            opacity: 1;

            .businessimage {
                position: absolute;
                right: 0px;
                bottom: 3px;
                max-height: 180px;
                z-index: 2;
                margin-right: -20px;
                @extend .transition-05;

            }

            & > div {
                height: 250px;
                margin-bottom: 0;
                position: relative;
                border-radius: 6px;
                overflow: hidden;
                opacity: 1;
                border: 3px solid #000000;
                background-color: #666666;

                .background {
                    background-size: 100%;
                    background-position: top center;
                }

                h6 {
                    display: inline-block;
                    padding: 10px 20px;
                    border-radius: 25px;
                    background-color: #000000;
                    margin: 0 auto;
                }
            }

            &.swiper-pagination-bullet-active {

                .businessimage {
                    max-height: 200px;
                    margin-right: -15px;

                }

                & > div {
                    border-color: $color-template-primary;

                    .background {
                        opacity: 1;
                    }

                    h6 {
                        background-color: $color-template-primary;
                    }
                }
            }
        }
    }
}

.nav {
    &.nav-pills {
        .nav-item {
            .nav-link {
                color: $color-template-primary;

                &.active {
                    color: $color-template-primary-text;
                    background-color: $color-template-primary;
                }
            }
        }
    }
}



.pagination-circular {

    &:not(.pagination-lg) {
        .page-item {
            margin: 0 4px;

            .page-link {
                border-radius: 50px;
                border: 0;
                height: 30px;
                width: 30px;
                padding: 0;
                line-height: 30px;
                text-align: center;
                vertical-align: middle;
                color: $color-template-primary;
                background-color: rgba($color-template-primary, 0.15);

                i {
                    vertical-align: middle;
                    line-height: 30px;
                }
            }

            &:hover {
                .page-link {
                    color: $color-template-primary;
                    background-color: rgba($color-template-primary, 0.5);
                }
            }

            &.active {
                .page-link {
                    color: $color-template-primary-text;
                    background-color: $color-template-primary;
                }
            }
        }
    }
}

.pagination-rounded {

    &:not(.pagination-lg) {
        .page-item {
            margin: 0 4px;

            .page-link {
                border-radius: 4px;
                border: 0;
                height: 30px;
                width: 30px;
                padding: 0;
                line-height: 30px;
                text-align: center;
                vertical-align: middle;
                color: $color-template-primary;
                background-color: rgba($color-template-primary, 0.15);

                i {
                    vertical-align: middle;
                    line-height: 30px;
                }
            }

            &:hover {
                .page-link {
                    color: $color-template-primary;
                    background-color: rgba($color-template-primary, 0.5);
                }
            }

            &.active {
                .page-link {
                    color: $color-template-primary-text;
                    background-color: $color-template-primary;
                }
            }
        }
    }
}

.pagination-highlight {

    &:not(.pagination-lg) {
        .page-item {

            .page-link {
                background-color: transparent;
            }

            &:hover {
                .page-link {
                    color: $color-template-primary;
                    background-color: rgba($color-template-primary, 0.15);
                }
            }

            &.active {
                .page-link {
                    color: $color-template-primary-text;
                    background-color: $color-template-primary;
                }
            }
        }
    }
}

.pagination {
    &.pagination-success {
        .page-item {
            .page-link {
                color: lighten($green, 10%);
                background-color: rgba($green, 0.15);
            }

            &:hover {
                .page-link {
                    color: $color-template-primary;
                    background-color: rgba($green, 0.15);
                }
            }

            &.active {
                .page-link {
                    color: $white;
                    background-color: $green;
                }
            }
        }
    }

    &.pagination-warning {
        .page-item {
            .page-link {
                color: lighten($yellow, 10%);
                background-color: rgba($yellow, 0.15);
            }

            &:hover {
                .page-link {
                    color: $color-template-primary;
                    background-color: rgba($yellow, 0.15);
                }
            }

            &.active {
                .page-link {
                    color: $white;
                    background-color: $yellow;
                }
            }
        }
    }

    &.pagination-danger {
        .page-item {
            .page-link {
                color: lighten($red, 10%);
                background-color: rgba($red, 0.15);
            }

            &:hover {
                .page-link {
                    color: $color-template-primary;
                    background-color: rgba($red, 0.15);
                }
            }

            &.active {
                .page-link {
                    color: $white;
                    background-color: $red;
                }
            }
        }
    }

    &.pagination-info {
        .page-item {
            .page-link {
                color: lighten($cyan, 10%);
                background-color: rgba($cyan, 0.15);
            }

            &:hover {
                .page-link {
                    color: $color-template-primary;
                    background-color: rgba($cyan, 0.15);
                }
            }

            &.active {
                .page-link {
                    color: $white;
                    background-color: $cyan;
                }
            }
        }
    }
}


.sidebar {
    position: fixed;
    width: 275px;
    height: 100%;
    overflow-y: auto;
    z-index: 1031;
    left: -290px;
    top: 0;
    transition: all ease 0.5s;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    -ms-transition: all ease 0.5s;
    overflow-y: auto;
    padding: 20px;
    padding-top: calc(env(safe-area-inset-top) + 20px);
    padding-bottom: calc(env(safe-area-inset-bottom) + 20px);
    background-color: rgba($color-template-primary, 0.85);
    color: $color-template-primary-text;
    box-shadow: 3px 0px 15px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 3px 0px 15px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 3px 0px 15px rgba(0, 0, 0, 0.15);
    -ms-box-shadow: 3px 0px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    -moz-backdrop-filter: blur(15px);
    -ms-backdrop-filter: blur(15px);

    .navbar-brand {
        .logo {
            background-color: $color-template-primary-text;
            color: $color-template-primary;

            & > span {
                background-color: $color-template-primary;
                color: $color-template-primary-text;

            }
        }

        .logo-text {
            color: $color-template-primary-text;

            small {
                color: $color-template-primary-text;
            }
        }
    }

    .main-menu {
        .list-group-item {
            background-color: transparent;
            font-size: 16px;
            border: 0;
            border-radius: 5px;
            padding: 3px;
            line-height: 36px;
            margin-bottom: 10px;
            color: rgba($color-template-primary-text, 0.8);

            i {
                height: 36px;
                width: 36px;
                line-height: 36px;
                text-align: center;
                vertical-align: middle;
                display: inline-block;
                margin-right: 15px;
                border-radius: 4px;
            }

            &:hover {
                color: $color-template-primary-text;
                background-color: rgba(255, 255, 255, 0.08);
            }

            &.active {
                color: $color-template-primary-text;
                background-color: rgba(255, 255, 255, 0.1);
            }
        }
    }


    &.reveal-sidebar {
        & + .main-container {
            transform: scale(1);
            -webkit-transform: scale(1);
            -moz-transform: scale(1);
            -ms-transform: scale(1);
            @extend .transition-05;
            width: 100%;

        }
    }

}

body.sidemenu-open {
    overflow: hidden;

    .sidebar {
        left: 0;

        &.reveal-sidebar {
            & + .main-container {
                margin-left: 275px;
            }
        }
    }

    &.reveal-sidebar {
        .header {
            width: 100%;
            left: 275px;
        }

        .footer-tabs {
            width: 100%;
            left: 275px;
        }
    }
}


.footer-tabs {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    bottom: 0;
    z-index: 1030;
    padding-bottom: calc(env(safe-area-inset-bottom) + 5px);
    background-color: rgba($footer-background-primary, 0.80);
    color: $color-template-primary-text;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.05);
    -ms-box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    -ms-backdrop-filter: blur(10px);
    @extend .transition-05;

    .nav-tabs {
        border-radius: 6px 6px 0 0;
        border: 0;

        .nav-item {
            border: 0;
            padding: 5px 0;

            .nav-link {
                font-size: 12px;
                border: 0;
                margin: 0;
                color: rgba($footer-primary-text, 0.65);
                border-radius: 4px;

                i,
                span.icon {
                    vertical-align: middle;
                    display: inline-block;
                    text-align: center;
                }

                small {
                    display: block;
                    font-size: 10px;
                    margin: 5px auto 0px auto;
                }

                &.active {
                    color: $color-template-primary !important;
                    background-color: $color-template-primary-text !important;
                    backdrop-filter: blur(15px);
                    -webkit-backdrop-filter: blur(15px);
                    -moz-backdrop-filter: blur(15px);
                    -ms-backdrop-filter: blur(15px);
                }
            }

            &.centerlarge {
                position: relative;

                .nav-link {
                    height: 56px;
                    width: 56px;
                    line-height: 56px;
                    padding: 0;
                    color: #fff;
                    margin: 0 5px;
                    margin-top: -18px;
                    border-radius: 50%;
                    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.15);
                    -webkit-box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.15);
                    -moz-box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.15);
                    -ms-box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.15);
                }
            }

        }
    }

    &.footer-spaces {
        bottom: 15px;
        bottom: calc(15px + env(safe-area-inset-bottom));
        right: 15px;
        left: 15px;
        width: auto;
        border-radius: 15px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        padding: 5px 0;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
        -ms-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);

        .nav-tabs {
            .nav-item {
                margin: 0 5px;

                .nav-link {
                    padding-left: 10px;
                    padding-right: 10px;
                }
            }
        }

        &.active {
            bottom: 0px;
            border-radius: 15px 15px 0 0;
            border-bottom: 0;
            box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.05);
            -webkit-box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.05);
            -moz-box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.05);
            -ms-box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.05);
        }
    }
}
