// Global CSS Variables
:root {
    --header_height: $header_height;
    --link-color: #{$link-color};
    --color-orange: rgba(216, 83, 32, 1);
    --border-color: #c9d7e3;
}

body {
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    &.helix-ultimate-preloader {
        overflow: hidden;
        &:before {
            content: " ";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 99998;
            background: rgba(255, 255, 255, 0.9);
        }
        &:after {
            content: "\f110";
            font-family: "FontAwesome";
            font-size: 36px;
            position: fixed;
            top: 50%;
            left: 50%;
            margin-top: -24px;
            margin-left: -24px;
            width: 48px;
            height: 48px;
            line-break: 48px;
            text-align: center;
            color: #007bff;
            -webkit-animation: fa-spin 2s infinite linear;
            animation: fa-spin 2s infinite linear;
            z-index: 99999;
        }
    }
}

a {
    transition: color 400ms, background-color 400ms;
}

a,
a:hover,
a:focus,
a:active {
    text-decoration: none;
}

label {
    font-weight: normal;
}

legend {
    padding-bottom: 10px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

// vector icon font weight
i[class*="icon icon-vector-"] {
    font-weight: 400;
}

//Bootstrap 5 customize
.row {
    --bs-gutter-x: 1.875rem;
}
.container {
    padding-left: 15px;
    padding-right: 15px;
}
.element-invisible {
    position: absolute;
    padding: 0;
    margin: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
//Topbar

#sp-top-bar {
    padding: 8px 0;
    .sp-module {
        display: inline-block;
        margin: 0 0 0 1.25rem;
    }
    font-size: 0.875rem;
}

ul.social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    > li {
        display: inline-block;
        line-height: 1.5;
        &:not(:last-child) {
            margin-right: 20px;
        }
    }
}
.flex-auto {
    flex: auto;
}
#sp-menu {
    &.menu-with-social {
        .sp-megamenu-wrapper {
            flex: auto;
            justify-content: space-between;
            display: flex;
            align-items: center;
        }
    }
    > .sp-column {
        height: 100%;
    }
    .social-wrap {
        position: relative;
        padding-left: 60px;
        &:after {
            content: "";
            margin-top: 10px;
            margin-bottom: 10px;
            position: absolute;
            width: 2px;
            height: calc(var(--header_height) - 20px);
            left: 30px;
            background-color: rgba(80, 80, 80, 0.2);
        }
    }
    ul.social-icons {
        > li:not(:last-child) {
            margin-right: 20px;
        }
        a {
            color: #9c9c9c;
        }
    }
    .social-wrap.no-border {
        ul.social-icons {
            border-left: none;
            padding-left: 0px;
        }
    }
    &.menu-center {
        .sp-megamenu-wrapper {
            justify-content: center;
        }
    }
}
.menu-flex {
    .sp-megamenu-wrapper {
        display: flex;
        justify-content: flex-end;
    }
}
#menu-right {
    .sp-module {
        &:first-child {
            border-right: 2px solid rgba(80, 80, 80, 0.2);
            padding-right: 30px;
        }
    }
}

.header-has-modules {
    #offcanvas-toggler {
        margin-right: 20px;
        margin-left: 0;
    }
}

// language switcher
.sp-module-content {
    .mod-languages {
        ul.lang-inline {
            margin: 0;
            padding: 0;
            li {
                border: none;
                display: inline-block;
                margin: 0 5px 0 0;
                a {
                    padding: 0 !important;
                }
                > a:before {
                    display: none;
                }
            }
        }
        img {
            display: inline-block;
            border: none;
        }
    }

    // Latest Articles
    .latestnews {
        > li {
            > a {
                > span {
                    display: block;
                    margin-top: 5px;
                    font-size: 85%;
                }
            }
        }
    }
}
div.mod-languages {
    ul {
        li.lang-active {
            background-color: #82828280 !important;
            padding: 0px 5px 3px;
            border-radius: 3px;
        }
    }
}

.sp-contact-info {
    list-style: none;
    padding: 0;
    margin: 0px;
    li {
        display: inline-block;
        margin: 0px 10px 0px 0px;
        font-size: 90%;
        white-space: nowrap;
        i {
            margin: 0 3px;
        }
    }
}

// Header
#sp-header {
    height: $header_height;
    width: 100%;
    position: relative;
    z-index: 99;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
    animation: spFadeIn 0.5s;
    #offcanvas-toggler.offcanvas,
    #offcanvas-toggler.mega {
        display: none !important;
    }
    &.full-header-left,
    &.full-header-center,
    &.header-with-modal-menu,
    &.lg-header,
    &.header-with-social {
        #offcanvas-toggler.offcanvas {
            display: flex !important;
        }
        .menu-with-offcanvas #offcanvas-toggler {
            display: none !important;
        }
    }
    &.full-header {
        padding-left: 45px;
        padding-right: 45px;
    }
    &.lg-header {
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
        .logo {
            height: auto;
        }
        #offcanvas-toggler {
            margin-right: 20px;
            margin-left: 0px;
            &.offcanvas-toggler-right.offcanvas {
                display: none !important;
            }
        }
        .sp-column {
            height: 100%;
        }
        #sp-logo {
            #offcanvas-toggler {
                display: none;
            }
        }
    }
    &.header-with-modal-menu {
        color: $menu_text_color;
        a {
            color: rgba($menu_text_color, 0.6);
            &:hover,
            &:focus {
                color: $menu_text_hover_color;
            }
        }
        .sp-contact-info {
            > li {
                margin-right: 15px;
                opacity: 0.7;
                transition: 0.3s;
                &:hover,
                &:focus {
                    opacity: 1;
                }
                > span {
                    margin-right: 5px;
                }
            }
        }
        #offcanvas-toggler {
            display: none !important;
        }
        &.center-layout {
            .modules-wrapper {
                height: auto;
                border: none;
                padding: 0px;
                max-width: 730px;
                margin: 0 auto;
            }
            #modal-menu .modal-menu-inner > .container {
                align-items: flex-start;
                padding: 170px 0 0;
            }
            #modal-menu {
                .search {
                    margin-bottom: 80px;
                    form {
                        &:after {
                            font-size: 16px;
                        }
                        &:hover {
                            &:after {
                                display: none;
                            }
                        }
                        input {
                            background: transparent;
                            border-bottom: 2px solid rgba(32, 31, 31, 0.1);
                            font-size: 26px;
                            padding: 7px;
                            border-radius: 0px;
                            &::placeholder {
                                color: rgba(32, 31, 31, 0.4);
                            }
                            &:focus,
                            &:active,
                            &:active:focus {
                                box-shadow: none;
                                border-bottom: 2px solid rgba(32, 31, 31, 0.7);
                            }
                        }
                    }
                }
            }
            .sp-megamenu-wrapper {
                justify-content: center;
                ul.sp-megamenu-parent {
                    flex-direction: row;
                }
                .sp-megamenu-parent > li {
                    > a,
                    > span {
                        padding: 0;
                        &:after {
                            top: 100%;
                            width: 2px;
                            height: 20px;
                            left: 50%;
                            transform: translateX(-50%);
                            margin: 10px 0 0 0;
                        }
                    }
                    &.sp-has-child {
                        &:hover > a:after,
                        &:hover > span:after {
                            height: 30px;
                        }
                        > .sp-dropdown {
                            animation: spFadeIn 0.5s;
                        }
                    }
                    &:not(:last-child) {
                        > a,
                        > span {
                            margin-right: 70px;
                        }
                    }
                    > .sp-dropdown.sp-dropdown-main {
                        top: 100%;
                        padding-top: 50px;
                        padding-left: 0;
                        left: auto !important;
                        right: 0px;
                        transition: 0.35s;
                        li.sp-menu-item > a,
                        li.sp-menu-item > span {
                            padding: 6px 0;
                        }
                    }
                }
            }
        }
        &.classic-layout {
            .modal-menu-inner > div {
                flex-direction: column;
                align-items: flex-start;
                padding: 40px 0;
                .sp-megamenu-wrapper {
                    height: 100%;
                    align-items: center;
                }
                .social-icons {
                    margin-top: auto;
                    margin-bottom: 0px;
                    width: 100%;
                    border-top: 2px solid rgb(32 31 31 / 10%);
                    padding-top: 20px;
                    font-size: 12px;
                }
            }
        }
    }
    .logo {
        height: $header_height;
        display: inline-flex;
        margin: 0;
        align-items: center;
        a {
            font-size: 24px;
            line-height: 1;
            margin: 0;
            padding: 0;
        }
        p {
            margin: 5px 0 0;
        }
    }
    &.header-sticky {
        position: fixed;
        z-index: 9999;
        top: 0;
        left: 0;
        width: 100%;
        animation: spFadeInDown 0.5s;
    }
    .sp-module {
        margin-left: 20px;
    }
    nav.sp-megamenu-wrapper {
        #offcanvas-toggler {
            display: none;
        }
    }
}

#sp-header-topbar {
    position: relative;
    z-index: 111;
    .sp-profile-wrapper {
        .sp-sign-in {
            .user-text {
                display: none !important;
            }
        }
    }
    #sp-logo {
        #offcanvas-toggler {
            display: none !important;
        }
    }
    .container-inner {
        border-bottom: 1px solid #e5e5e5;
        > .row {
            min-height: $header_height;
        }
    }
    a {
        color: #909196;
        &:hover {
            color: $link_color;
        }
    }
    .sp-contact-info {
        color: #909196;
    }
}

.header-modules {
    margin-left: 20px;
    .sp-module {
        margin-left: 20px;
    }
    .search {
        position: relative;
        form {
            &:after {
                content: "\f002";
                font-family: "Font Awesome 5 Free";
                font-weight: 900;
                position: absolute;
                top: 0;
                font-size: 12px;
                line-height: 32px;
                right: 10px;
            }
            input {
                background: #efeff0;
                border: none;
                height: 32px;
                font-size: 15px;
                border-radius: 3px;
                padding: 5px 10px;
            }
        }
    }
}

// Modal Menu Variation
.burger-icon {
    width: 25px;
    cursor: pointer;
    > span {
        display: block;
        height: 2px;
        background-color: #ffffff;
        margin: 5px 0;
        transition: background-color 0.3s ease-in, opacity 0.3s ease-in,
            transform 0.3s ease-in;
    }
}

.offcanvas-active,
#modal-menu-toggler.active {
    .burger-icon > span {
        background-color: $offcanvas_menu_icon_color;
        &:nth-child(1) {
            transform: translate(0, 8px) rotate(-45deg);
        }

        &:nth-child(2) {
            opacity: 0;
        }

        &:nth-child(3) {
            transform: translate(0, -5px) rotate(45deg);
        }
    }
}
.offcanvas-active .close-offcanvas {
    .burger-icon > span {
        transition-delay: 0.2s;
    }
}
body.modal-menu-active {
    overflow-y: hidden;
}
#modal-menu {
    background: #f9f9f9;
    position: fixed !important;
    top: $header_height;
    left: 0;
    right: 0;
    transition: 0.5s;
    bottom: 120%;
    overflow: hidden;
    display: flex;
    z-index: 10;
    &.has-bg {
        background-image: url(../images/menu-bg.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }
    &.active {
        bottom: 0;
    }

    .sp-megamenu-parent > li {
        > a,
        > span {
            display: block;

            &:after {
                transition: 0.3s;
            }
        }

        &:hover,
        &.active {
            > a,
            > span {
                color: $link_color;

                &:after {
                    opacity: 1;
                }
            }
        }
    }

    .sp-megamenu-parent > li > a .nav-counter,
    .sp-megamenu-parent > li > span .nav-counter {
        font-size: 16px;
    }

    .sp-megamenu-parent > li:hover > a:before,
    .sp-megamenu-parent > li.active > a:before {
        width: 0;
        opacity: 0;
    }

    .modal-menu-inner {
        position: relative !important;
        width: 100%;

        #menu-dismiss {
            position: absolute;
            top: 60px;
            left: 60px;
            cursor: pointer;

            svg {
                font-size: 55px;
            }
        }

        > .container {
            display: flex;
            padding: 70px 0;
            align-items: center;
            height: 100%;
            > .row {
                width: 100%;
            }
        }
    }

    ul.sp-megamenu-parent {
        display: flex !important;
        flex-direction: column;
        > li {
            position: relative;

            &:not(:last-child) {
                margin-bottom: 30px;
            }

            > a,
            > span {
                font-size: 26px;
                font-weight: 600;
                line-height: 1.4;
                text-transform: initial;
            }
        }
        li.sp-has-child {
            > a,
            > span {
                position: relative;
                &:after {
                    content: "\f105";
                    font-family: "Font Awesome 5 Free";
                    float: right;
                    position: absolute;
                    top: 2px;
                }
            }
            &:hover {
                > a,
                > span {
                    &:after {
                        transform: translateX(5px);
                    }
                }
                > .sp-dropdown {
                    animation: spFadeInDown 0.5s;
                }
            }
        }
        .sp-dropdown {
            left: 100% !important;
            transition: 0.3s;
            padding-left: 20px;

            &.sp-dropdown-main {
                top: 0px;
            }

            &.sp-dropdown-mega {
                top: auto;
                bottom: 0px;
            }

            .sp-dropdown-inner {
                box-shadow: none;
                border-radius: 0px;
                position: relative;
                overflow: visible !important;
                max-height: initial;
                background-color: #fff;
                padding: 20px;

                ul > li > a {
                    font-weight: 500 !important;
                    font-size: 15px !important;
                }
            }
        }
    }
    .modules-wrapper {
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: center;
        max-width: 330px;
        border-left: 2px solid rgb(32 31 31 / 10%);
        padding: 30px;
        color: $menu_text_color;
        a {
            color: $menu_text_color;
            &:hover,
            &:focus {
                color: $menu_text_hover_color;
            }
        }

        .sp-module {
            margin-left: 0;
            margin-bottom: 15px;
        }
        .search form {
            margin-bottom: 30px;
            input {
                height: 40px;
            }
        }
        .sp-contact-info {
            margin-bottom: 10px;
            display: flex;
            flex-direction: column;
            > li {
                margin-bottom: 35px;
                > span {
                    font-size: 12px;
                    margin-bottom: 10px;
                }
                > a {
                    opacity: 0.7;
                    &:hover,
                    &:focus {
                        opacity: 1;
                    }
                }
            }
        }
        .social-icons {
            font-size: 14px;
            a {
                opacity: 0.7;
                &:hover,
                &:focus {
                    opacity: 1;
                }
            }
        }
    }
}

#sp-logo.has-border {
    position: relative;
    padding-right: 45px;
    &:after {
        content: "";
        margin-top: 10px;
        margin-bottom: 10px;
        position: absolute;
        width: 2px;
        height: calc(var(--header_height) - 20px);
        right: 15px;
        background-color: rgba(80, 80, 80, 0.2);
    }
    .sp-column {
        display: inline-flex;
        align-items: center;
    }
}

// profile
.sp-profile-wrapper {
    position: relative;
    font-size: 14px;
    .arrow-icon {
        font-size: 11px;
    }
    .sp-profile-dropdown {
        background: #fff;
        border: 1px solid #e4e4e4;
        border-radius: 3px;
        padding: 10px 5px !important;
        list-style: none !important;
        font-size: 14px;
        position: absolute;
        min-width: 100px;
        right: 0;
        top: 100%;
        display: none !important;
        li {
            a {
                display: block;
                width: 100%;
                padding: 0 15px;
            }
        }
        > li:not(:last-child) {
            border-bottom: 1px solid #e4e4e4;
            padding-bottom: 5px;
            margin-bottom: 5px;
            line-height: 1.3;
        }
    }
    &:hover {
        .sp-profile-dropdown {
            display: block !important;
            animation: spFadeInDown 0.5s;
        }
    }
}
// Page Title

#sp-title {
    min-height: 0;
}

body.default-title {
    #sp-page-title {
        max-width: 1310px;
        margin: 44px auto 0px auto;
        padding: 0px 15px;
        .sp-page-title {
            padding: 180px 50px 110px 110px;
        }
        .sp-page-title-heading {
            margin-bottom: 23px;
        }
        .sp-page-title-sub-heading {
            max-width: 350px;
            font-size: 14px;
            line-height: 24px;
        }
    }
    #sp-main-body {
        > .container {
            max-width: 1310px;
        }
    }
}

.sp-page-title {
    padding: 100px 110px 160px 110px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    position: relative;
    background-image: url("../images/page-title-bg.png");
    background-color: #1c272a;
    text-align: center;
    > .container {
        position: relative;
        z-index: 2;
    }

    .sp-page-title-heading,
    .sp-page-title-sub-heading {
        margin: 0;
        padding: 0;
        color: #fff;
    }
    .sp-page-title-heading {
        font-size: 64px;
        line-height: 1.3;
        margin-bottom: 32px;
    }
    .sp-page-title-sub-heading {
        font-size: 20px;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.7);
        max-width: 620px;
        margin: 0 auto;
    }
    .breadcrumb {
        background: none;
        padding: 0;
        margin: 10px 0 0 0;
        > .active {
            color: rgba(255, 255, 255, 0.8);
        }
        > span,
        > li,
        > li + li:before,
        > li > a {
            color: #fff;
        }
    }
}
.breadcrumb {
    padding: 0.75rem 1rem;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}
// Body
.body-innerwrapper {
    overflow-x: hidden;
}
.layout-boxed .body-innerwrapper {
    max-width: 1240px;
    margin: 0 auto;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#sp-main-body {
    padding: 100px 0;
}
body.view-article.remove-container {
    .body-innerwrapper {
        > #sp-main-body,
        > .sp-main-body {
            > .container {
                max-width: 100%;
                padding: 0;
            }
        }
    }
}
.com-sppagebuilder #sp-main-body {
    padding: 0;
}

body.default-title {
    background-image: url("../images/cirlce-shape.svg");
    background-repeat: no-repeat;
    #sp-main-body {
        padding: 0;

        .container-inner {
            background-color: #f0f1f3;
            padding: 90px 100px;
            border-radius: 0px 0px 16px 16px;
        }
    }
}

// Left and Right

#sp-left,
#sp-right {
    .sp-module {
        margin-top: 50px;
        border: 1px solid #f3f3f3;
        padding: 30px;
        border-radius: 3px;

        &:first-child {
            margin-top: 0;
        }
        .sp-module-title {
            margin: 0 0 30px;
            padding-bottom: 20px;
            font-size: 22px;
            font-weight: 700;
            border-bottom: 1px solid #f3f3f3;
        }
        //Un-ordered List
        ul {
            list-style: none;
            padding: 0;
            margin: 0;
            > li {
                display: block;
                border-bottom: 1px solid #f3f3f3;
                > a {
                    display: block;
                    padding: 5px 0;
                    line-height: 36px;
                    padding: 2px 0;
                }
                &:last-child {
                    border-bottom: none;
                }
            }
        }
        //List category
        .categories-module {
            ul {
                margin: 0 10px;
            }
        }
        //Latest News
        .latestnews {
            > div {
                padding-bottom: 5px;
                margin-bottom: 5px;
                border-bottom: 1px solid #e8e8e8;
                &:last-child {
                    padding-bottom: 0;
                    margin-bottom: 0;
                    border-bottom: 0;
                }
                > a {
                    display: block;
                    font-weight: 400;
                }
            }
        }
        //Tags Cloud
        .tagscloud {
            margin: -2px 0;
            .tag-name {
                display: inline-block;
                padding: 5px 10px;
                background: #808080;
                color: #fff;
                border-radius: 4px;
                margin: 2px 0;
                span {
                    display: inline-block;
                    min-width: 10px;
                    padding: 3px 7px;
                    font-size: 12px;
                    font-weight: 700;
                    line-height: 1;
                    text-align: center;
                    white-space: nowrap;
                    vertical-align: baseline;
                    background-color: rgba(0, 0, 0, 0.2);
                    border-radius: 10px;
                }
            }
        }
    }
}

// Login Form

.login {
    img {
        display: inline-block;
        margin: 20px 0;
    }
    .checkbox {
        input[type="checkbox"] {
            margin-top: 6px;
        }
    }

    .password-group {
        button.input-password-toggle {
            background-color: #eaecef;
            border-color: #ced4da;
            color: #212529;
        }
    }
}

.com-users.view-login,
.com-users.view-registration {
    .user-left-wrapper {
        position: relative;
        height: 100%;
        &:after {
            content: "";
            position: absolute;
            right: 70px;
            top: 0px;
            bottom: 0px;
            background: #c9d7e3;
            width: 1px;
            display: block;
            height: 100%;
        }
    }
}

.form-links {
    ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
}

// Search
.hide-label {
    border: 0;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.search {
    .btn-toolbar {
        margin-bottom: 20px;
        span.icon-search {
            margin: 0;
        }
        button {
            color: #fff;
        }
    }
    .phrases {
        .phrases-box {
            .controls {
                label {
                    display: inline-block;
                    margin: 0 20px 20px;
                }
            }
        }
        .ordering-box {
            margin-bottom: 15px;
        }
    }
    .only {
        label {
            display: inline-block;
            margin: 0 20px 20px;
        }
    }
    .search-results {
        dt.result-title {
            margin-top: 40px;
        }
        dt,
        dd {
            margin: 5px 0;
        }
    }
}

.filter-search {
    .chzn-container-single {
        .chzn-single {
            height: 34px;
            line-height: 34px;
        }
    }
}

.form-search {
    .finder {
        label {
            display: block;
        }
        .input-medium {
            width: 60%;
            border-radius: 4px;
        }
    }
}

.finder {
    .word {
        input {
            display: inline-block;
        }
    }
    .search-results.list-striped {
        li {
            padding: 20px 0;
        }
    }
}

// Blog
body.com-content.view-category {
    .body-innerwrapper {
        overflow-x: initial;
    }
    #sp-main-body {
        padding-top: 0;
        > .container {
            max-width: 100%;
            padding: 0;
        }
    }
    .top-section {
        .sppb-addon-articles-carousel {
            .sppb-articles-carousel-column {
                display: flex !important;
                flex-direction: row-reverse;
                .sppb-articles-carousel-content {
                    background: transparent;
                    color: #fff;
                    padding: 0;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    max-width: 550px;
                    padding-right: 100px;
                }
            }
            .sppb-articles-carousel-img {
                img {
                    border-radius: 10px;
                }
            }
            .sppb-articles-carousel-link {
                font-size: 32px;
                line-height: 1.4;
                font-weight: 400;
            }
            .sppb-articles-carousel-meta-category,
            .sppb-articles-carousel-introtext {
                display: none;
            }
            .slick-dots {
                text-align: left;
                li {
                    button {
                        width: 8px;
                        height: 8px;
                        padding: 3px;
                        border: 1px solid #fff;
                        border-radius: 20px;
                        &:before {
                            display: none;
                        }
                    }
                    &.slick-active {
                        button {
                            background-color: #fff;
                        }
                    }
                }
            }
        }
    }
    .classic-blog {
        .article-list {
            column-count: 3;
            column-gap: 40px;
        }
        .article {
            position: relative;
            break-inside: avoid;
            margin-bottom: 145px;
            .article-intro-image {
                height: 300px;
            }
            .article-introtext {
                display: none;
            }
            &:nth-child(4n + 1) .article-intro-image {
                height: 360px;
            }
            &:nth-child(4n + 2) .article-intro-image {
                height: 288px;
            }
            &:nth-child(4n + 3) .article-intro-image {
                height: 480px;
            }
            .article-intro-image,
            .article-featured-video,
            .article-featured-audio,
            .article-feature-gallery {
                background-size: cover;
                background-repeat: no-repeat;
                background-position: center;
                border-radius: 10px;
            }
        }
    }
}
.blog-list-wrapper {
    margin-top: 85px;
    > .row {
        --bs-gutter-x: 40px;
    }
    .left-sidebar,
    .right-sidebar {
        position: sticky;
        top: 20px;
        .sp-module {
            margin-bottom: 40px;
            &:not(.simple, .last-mod) {
                border-radius: 8px;
                border: 1px solid var(--border-color);
                padding: 30px;
            }
            &-title {
                font-size: 20px;
                line-height: 1.6;
                border-bottom: 1px solid var(--border-color);
                padding-bottom: 15px;
                margin-bottom: 24px;
                padding-left: 20px;
            }
        }
        .last-mod {
            .sp-module-title,
            .sp-module-content {
                padding-left: 52px;
            }
        }
        .mod-finder {
            > div {
                display: block;
                position: relative;
                &:before {
                    content: "\f002";
                    font-family: "Font Awesome 5 Free";
                    font-weight: 900;
                    position: absolute;
                    right: 0;
                    top: 50%;
                    transform: translateY(-50%);
                    margin-right: 20px;
                }
            }
        }
        .latestnews {
            .latest-post-item {
                display: flex;
                align-items: center;
                &:not(:last-child) {
                    margin-bottom: 30px;
                }
                a {
                    color: $text_color;
                    &:hover,
                    &:active,
                    &:focus {
                        color: $link_color;
                    }
                }
                .article-list-img {
                    margin-right: 24px;
                    flex: 0 0 90px;
                    img {
                        border-radius: 5px;
                    }
                }
                .latest-post-content-wrap {
                    overflow: hidden;
                    .latest-post-title {
                        font-size: 16px;
                        line-height: 1.4;
                        font-weight: 500;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        overflow: hidden;
                    }
                    .latest-post-info {
                        color: $link_color;
                    }
                }
            }
        }
        .mod-tagspopular {
            ul {
                padding: 0;
                display: flex;
                list-style: none;
                flex-wrap: wrap;
                font-weight: 500;
                > li {
                    flex: 0 0 auto;
                    margin-right: 5px;
                    > a:after {
                        content: " / ";
                    }
                }
            }
        }
    }
}
.article-list {
    .article {
        margin-bottom: 100px;

        .article-intro-image,
        .article-featured-video,
        .article-featured-audio,
        .article-feature-gallery {
            overflow: hidden;
            margin-bottom: 30px;
            img {
                border-radius: 10px;
            }
        }

        .article-full-image {
            overflow: hidden;
            border-radius: 10px;
        }
        .article-body {
            display: flex;
            flex-direction: column;
            .article-info {
                order: -1;
            }
        }
        .article-header {
            h1,
            h2 {
                font-size: 20px;
                margin: 0 0 1.25rem 0;
                font-weight: 500;

                a {
                    color: $text_color;
                    &:hover,
                    &:active,
                    &:focus {
                        color: $link_hover_color;
                    }
                }
            }
        }
        .article-introtext {
            > p {
                opacity: 0.7;
            }
        }
        .readmore {
            margin-top: 30px;
            a {
                font-weight: 500;
            }
        }

        figcaption.caption {
            text-align: center;
            font-size: 14px;
            color: #252525;
            margin: 5px 0px;
            opacity: 0.7;
        }
    }
}

.com-content.view-article {
    #sp-main-body {
        padding-top: 0;
        padding-bottom: 120px;
        > .container {
            max-width: 100%;
            padding: 0;
        }
        .article-details-intro {
            padding: 100px 0 300px 0;
            background-repeat: no-repeat;
            background-position: bottom;
            position: relative;
            background-image: url("../images/page-title-bg.png");
            background-color: #1c272a;
            text-align: center;
            background-size: cover;
        }
        .article-media-wrapper {
            margin-top: -250px;
            position: relative;
            z-index: 2;
            img {
                border-radius: 10px;
            }
        }
        .article-body {
            max-width: 870px;
            margin: 0 auto;
        }
        .article-info > span a {
            color: #fff;
            &:hover,
            &:focus {
                color: $link_color;
            }
        }
    }
}
.related-article-large {
    .article-image {
        width: 350px;
        min-width: 350px;
    }

    .article-information {
        border-left: 1px solid #f1f1f1;
        padding-left: 20px;
        margin-left: 20px;

        > span {
            + span::before {
                display: inline-block;
                padding-right: 0.5rem;
                padding-left: 0.5rem;
                content: "/";
            }

            a {
                color: $text_color;
                &:hover {
                    color: $link_hover_color;
                }
            }
        }

        .intro-text {
            margin-top: 20px;
        }
    }
}

.article-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    color: $link_color;
    > span {
        + span::before {
            display: inline-block;
            padding-right: 0.5rem;
            padding-left: 0.5rem;
            content: "/";
        }

        a {
            color: $link_color;
            &:hover {
                color: $link_hover_color;
            }
        }
    }
}

.article-details {
    font-size: 18px;
    line-height: 1.8;
    .article-header {
        position: relative;
        h1,
        h2 {
            font-size: 64px;
            color: #fff;
            line-height: 1.3;
            text-align: left;
        }
    }

    .article-info {
        margin-bottom: 1rem;
        color: #fff;
        opacity: 0.7;
    }

    .article-full-image {
        img {
            display: inline-block;
            border-radius: 4px;
        }
        margin-bottom: 2rem;
    }

    .article-featured-video,
    .article-featured-audio,
    .article-feature-gallery {
        margin-bottom: 2rem;
    }

    .article-ratings-social-share {
        max-width: 870px;
        margin: 0 auto;
        opacity: 0.7;
        .social-share-block {
            margin-top: 50px;
        }
    }

    .article-author-information {
        padding-top: 2rem;
        margin-top: 2rem;
        border-top: 1px solid #f5f5f5;
    }

    .article-can-edit {
        position: relative;
        margin-bottom: 10px;
        a {
            display: inline-block;
            background: #2a61c9;
            color: #fff;
            padding: 5px 12px;
            border-radius: 3px;
            font-size: 14px;
        }
    }

    figcaption.caption {
        font-size: 14px;
        color: #252525;
        margin: 5px 0px;
        opacity: 0.7;
    }
    .pagenavigation {
        display: none;
    }
}
.related-article-list-container {
    border-top: 1px solid var(--border-color);
    padding-top: 70px;
    margin-top: 80px;

    .related-article-title {
        padding-bottom: 15px;
        font-size: 64px;
        line-height: 1.3;
        margin-left: 110px;
        margin-bottom: 45px;
        border: none;
    }
    .related-article-list {
        h2 {
            font-size: 16px !important;
            line-height: 2;
        }
    }
    .article-list .article {
        margin-bottom: 60px;
        .article-info {
            color: $text_color;
            font-size: 13px;
            a {
                color: $link_color;
            }
        }
    }
    ul.related-article-list {
        list-style: none;
        padding: 0;
        li {
            margin-bottom: 10px;
            .article-header {
                h2 {
                    font-size: 16px;
                    line-height: 2;
                    a {
                        color: #252525;
                        &:hover {
                            color: #044cd0;
                        }
                    }
                }
            }
            .published {
                font-size: 14px;
            }
        }
    }
}

.tags {
    list-style: none;
    padding: 0;
    margin: -0.3125rem;
    display: flex;
    flex-wrap: wrap;
    > li {
        display: inline-block;
        margin: 0.3125rem;
        a {
            display: block;
            font-size: 0.875rem;
            padding: 0.5rem 1rem;
            border-radius: 6.25rem;
            &:hover {
                color: #fff;
            }
        }
    }
}

.pager {
    list-style: none;
    padding: 2rem 0 0 0;
    margin: 2rem 0 0 0;
    border-top: 1px solid #f5f5f5;

    &::after {
        display: block;
        clear: both;
        content: "";
    }

    > li {
        display: inline-block;
        &.previous {
            float: left;
        }
        &.next {
            float: right;
        }
        a {
            display: inline-block;
            font-size: 0.785rem;
            padding: 1rem 2.5rem;
            border-radius: 100px;
        }
    }
}

#article-comments {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #f5f5f5;
}

//Article Voting
.article-ratings {
    display: flex;
    align-items: center;
    .rating-symbol {
        unicode-bidi: bidi-override;
        direction: rtl;
        font-size: 1rem;
        display: inline-block;
        margin-left: 5px;
        span.rating-star {
            font-family: "Font Awesome 5 Free";
            font-weight: normal;
            font-style: normal;
            display: inline-block;
            &.active:before {
                content: "\f005";
                font-weight: 900;
                color: #f6bc00;
            }
            &:before {
                content: "\f005";
                padding-right: 5px;
            }
        }

        span.rating-star:hover:before,
        span.rating-star:hover ~ span.rating-star:before {
            content: "\f005";
            color: #e7b000;
            font-weight: 900;
            cursor: pointer;
        }
    }

    .ratings-count {
        font-size: 0.785rem;
        color: #4c4b4b;
    }

    .fa-spinner {
        margin-right: 5px;
    }
}

// Misc
.pagination-wrapper {
    margin-top: 80px;
    position: relative;
    z-index: 6;

    .pagination {
        margin-bottom: 0;
    }
}

// Pagination
.pagenavigation {
    padding: 2rem 0;

    .pagination {
        display: block;

        a {
            padding: 5px 15px;
        }

        .next {
            float: right;
        }

        .previous {
            float: left;
        }
        .icon-chevron-left,
        .icon-chevron-right {
            &:before {
                font-family: "Font Awesome 5 Free";
            }
        }

        &:before,
        &:after {
            clear: both;
            display: table;
            content: "";
            line-height: 0;
            box-sizing: border-box;
        }
    }
}

.pagination {
    display: flex;
    .page-item {
        border-radius: 100px;
        &.pagination-start,
        &.pagination-end,
        &.pagination-prev,
        &.pagination-next {
            padding: 0;
        }
        .page-link {
            border: none;
            background: transparent;
            opacity: 0.7;
            padding: 18px 24px;
            font-size: 18px;
            line-height: 19px;
            &:hover {
                color: $link_color;
            }
        }
        &.active {
            background: #f0f1f3;
            .page-link {
                color: $text_color;
            }
        }
    }
}

//Social Share
.article-social-share {
    .social-share-icon {
        ul {
            padding: 0;
            list-style: none;
            margin: 0;
            li {
                &:not(:last-child) {
                    margin-right: 10px;
                }
                display: inline-block;
                a {
                    font-size: 1rem;
                    border-radius: 50%;
                    height: 34px;
                    line-height: 34px;
                    text-align: center;
                    width: 34px;
                    display: inline-block;
                    &:hover,
                    &:focus {
                        color: #fff;
                    }
                }
            }
        }
    }
}

.newsfeed-category {
    .category {
        list-style: none;
        padding: 0;
        margin: 0;
        li {
            padding: 5px 0;
        }
    }
    #filter-search {
        margin: 10px 0;
    }
}

.category-module,
.categories-module,
.archive-module,
.latestnews,
.newsflash-horiz,
.mostread,
.form-links,
.list-striped {
    list-style: none;
    padding: 0;
    margin: 0;
    li {
        padding: 2px 0;
        h4 {
            margin: 5px 0;
        }
    }
}
//Social and rating
.article-footer-top {
    display: table;
    clear: both;
    width: 100%;
    .post_rating {
        float: left;
    }
}

// contentpane
.contentpane {
    &:not(.com-sppagebuilder) {
        padding: 20px;
    }
}

// Bottom

#sp-bottom {
    padding: 60px 0 30px;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    .sp-module {
        margin-bottom: 30px;
        .sp-module-title {
            font-weight: 700;
            font-size: 18px;
            margin: 0 0 30px;
            color: #fff;
        }

        ul {
            list-style: none;
            padding: 0;
            margin: 0;
            > li {
                display: block;
                margin-bottom: 15px;
                &:last-child {
                    margin-bottom: 0;
                }
                > a {
                    display: block;
                }
            }
        }
    }
    &:after {
        content: "";
        position: absolute;
        top: 200px;
        width: 100%;
        height: 1px;
        display: block;
        background: #768589;
    }
}

// Footer
#sp-footer {
    font-size: 14px;
    padding: 0;
    background-color: #253034;

    .container-inner {
        padding: 23px 0;
    }

    ul {
        &.menu {
            display: inline-block;
            list-style: none;
            padding: 0;
            margin: 0 0px;
            li {
                display: inline-block;
                margin: 0 10px;
                a {
                    display: block;
                    &:hover {
                        background: none;
                    }
                }
            }
        }
    }
    .sp-copyright {
        color: rgba(255, 255, 255, 0.7);
    }
    .sp-copyright a {
        color: rgba(255, 255, 255, 0.7);
        &:hover {
            color: $link_color;
        }
    }

    #sp-footer2 {
        text-align: right;
    }
}

// Coming soon
html.coming-soon {
    width: 100%;
    height: 100%;
    min-height: 100%;

    body {
        width: 100%;
        height: 100%;
        min-height: 100%;
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
        -ms-flex-align: center;
        -ms-flex-pack: center;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: center;
        justify-content: center;
        padding-top: 40px;
        padding-bottom: 40px;
        text-align: center;
        background-repeat: no-repeat;
        background-position: 51% 100% !important;
        background-size: contain !important;
    }

    .coming-soon-title {
        font-size: 48px;
        line-height: 80px;
        color: #313f36;
    }

    .coming-soon-logo {
        display: inline-block;
        margin-bottom: 2rem;
    }

    #coming-soon-countdown {
        margin-top: 4rem;

        .coming-soon-days,
        .coming-soon-hours,
        .coming-soon-minutes,
        .coming-soon-seconds {
            margin: 0;
            float: left;
            width: 25%;

            .coming-soon-number {
                width: 100%;
                font-size: 128px;
                line-height: 100px;
            }

            .coming-soon-string {
                font-size: 14px;
                line-height: 26px;
                display: block;
                text-transform: uppercase;
                color: #768589;
            }
        }
    }

    .coming-soon-position {
        margin-top: 2rem;
    }

    .social-icons {
        margin-top: 4rem;
    }
    .coming-soon-login form {
        display: inline-block;
    }
}

// error
html.error-page {
    width: 100%;
    height: 100%;

    body {
        width: 100%;
        height: 100%;
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
        -ms-flex-align: center;
        -ms-flex-pack: center;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: center;
        justify-content: center;
        padding-top: 40px;
        padding-bottom: 40px;
        text-align: center;
        background-repeat: no-repeat;
        background-position: 0% 100%;
        background-color: #f0f1f3;
        background-image: url("../images/error-shape.svg");
    }

    .error-logo {
        display: inline-block;
        margin-bottom: 2rem;
    }

    .error-code {
        font-size: 128px;
        line-height: 80px;
        font-weight: 400;
        font-family: Poppins;
        text-align: center;
        margin-bottom: 48px;
    }

    .error-message {
        font-family: Poppins;
        font-size: 48px;
        font-style: normal;
        font-weight: 400;
        line-height: 60px;
        margin-bottom: 28px;
    }
}

.sp-social-share {
    ul {
        display: block;
        padding: 0;
        margin: 20px -5px 0;
        li {
            display: inline-block;
            font-size: 24px;
            margin: 0 5px;
        }
    }
}

// profile
.profile {
    > div:not(:last-child) {
        margin-bottom: 30px;
    }
}

.dl-horizontal {
    dt {
        margin: 8px 0;
        text-align: left;
    }
}

// page-header
.page-header {
    padding-bottom: 15px;
}

// featured contact
table.category {
    width: 100%;
    thead,
    tbody {
        > tr {
            border: 1px solid #f2f2f2;
            th,
            td {
                padding: 10px;
            }
        }
    }
}

//contact from
.contact-form {
    .form-actions {
        background: none;
        border: none;
    }
}

@media print {
    .visible-print {
        display: inherit !important;
    }
    .hidden-print {
        display: none !important;
    }
}

// Preloader
.sp-preloader {
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
    > div {
        border-radius: 50%;
        height: 50px;
        width: 50px;
        top: 50%;
        left: 50%;
        margin-top: -25px;
        margin-left: -25px;
        position: absolute;
        animation: spSpin 0.75s linear infinite;
        &:after {
            content: "";
            position: absolute;
            width: 49px;
            height: 49px;
            top: 1px;
            right: 0;
            left: 0;
            margin: auto;
            border-radius: 50%;
        }
    }
}

.sp-scroll-up {
    display: none;
    position: fixed;
    bottom: 60px;
    right: 30px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    background: rgba(100, 100, 100, 0.4);
    border-radius: 100%;
    z-index: 1000;
    transition: all 0.3s ease;

    &:hover,
    &:active,
    &:focus {
        color: #fff;
        background: #000;
    }
}

// Forms
.control-group {
    margin-bottom: 1rem;
}
.form-control:focus {
    box-shadow: none;
}

select.form-control:not([multiple]),
select.inputbox:not([multiple]),
select:not([multiple]) {
    height: calc(2.25rem + 2px);
}

.form-control-feedback {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875em;
}

//remove bootstrap input focus outline
input[type="text"],
textarea {
    outline: none;
    box-shadow: none !important;
}
label,
.form-label {
    font-weight: normal;
    color: #000000;
    margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
.sppb-form-control,
.sppb-form-group .sppb-form-control {
    display: block;
    width: 100%;
    padding: 13px 15px;
    font-size: 1rem;
    line-height: 1.25;
    color: #000000;
    background-color: transparent;
    background-image: none;
    background-clip: padding-box;
    border: 1px solid #c9d7e3;
    border-radius: 8px;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;

    &:focus {
        color: #000000;
        background-color: transparent;
        border-color: $link_color;
        outline: 0;
    }
}
.form-check-input[type="checkbox"] {
    border-radius: 7px;
    position: relative;
    top: 2px;
}

.form-check-input:checked {
    background: $link_color;
    border-color: $link_color;
}

select.sppb-form-control:not([size]):not([multiple]) {
    height: auto;
    font-size: 14px;
    color: rgba(#000000, 0.7);
}

// Form Builder checkbox
.sppb-addon-form-builder label.sppb-form-check-label::before,
div.form-builder-checkbox-item label::before {
    border-radius: 7px;
    width: 12px;
    height: 12px;
}

.form-builder-checkbox-item label::before,
.form-builder-radio-item label::before,
.sppb-addon-form-builder .sppb-form-check-label::before {
    top: 7px;
    border: 1px solid #000000;
}

.form-builder-checkbox-item input:checked + label::after,
.sppb-addon-form-builder .sppb-form-check-input:checked + label::after {
    visibility: hidden;
    opacity: 0;
}

.form-builder-checkbox-item input:checked + label::before,
.form-builder-radio-item input:checked + label::before,
.sppb-addon-form-builder .sppb-form-check-input:checked + label::before {
    background: $link_color;
    border-color: $link_color;
}

.sppb-addon-form-builder .sppb-form-check-label a {
    color: var(--color-orange);
    text-decoration: underline;
}

.input-group
    > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(
        .valid-feedback
    ):not(.invalid-tooltip):not(.invalid-feedback) {
    border-radius: 8px;
}

// Password Icon
.input-group-text,
.input-password-toggle {
    display: none;
}

// password group meter
.password-group {
    meter {
        width: 100%;
    }
}

// Default List Group Item
.list-group {
    .list-group-item {
        border: none;
        padding: 3px 0px;
        color: var(--color-orange);
        font-weight: 500;
        background-color: transparent;
    }
}

.chzn-select,
.chzn-select-deselect {
    width: 100%;
}

.chzn-container {
    &.chzn-container-single {
        .chzn-single {
            display: block;
            width: 100%;
            padding: 0.5rem 0.75rem;
            line-height: 1.25;
            height: calc(2.25rem + 2px);
            color: #495057;
            background-color: #fff;
            background-image: none;
            background-clip: padding-box;
            border: 1px solid rgba(0, 0, 0, 0.15);
            border-radius: 0.25rem;
            transition: border-color ease-in-out 0.15s,
                box-shadow ease-in-out 0.15s;
            box-shadow: none;

            div {
                width: 30px;
                background: none;
                > b {
                    background: none;
                    position: relative;
                    font: normal normal normal 14px/1 FontAwesome;
                    &:after {
                        content: "\f0dc";
                        font-family: "Font Awesome 5 Free";
                        font-weight: 900;
                        font-size: 0.875rem;
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        -webkit-transform: translate(-50%, -50%);
                    }
                }
            }
        }

        &.chzn-container-active {
            &.chzn-with-drop {
                .chzn-single {
                    border-radius: 0.25rem 0.25rem 0 0;
                }
            }
        }

        .chzn-search {
            padding: 0.625rem;
            input[type="text"] {
                display: block;
                width: 100%;
                padding: 0.5rem 1.429rem 0.5rem 0.75rem;
                font-size: 0.875rem;
                line-height: 1.25;
                height: calc(2rem + 2px);
                color: #495057;
                background-color: #fff;
                background-image: none;
                background-clip: padding-box;
                border: 1px solid rgba(0, 0, 0, 0.15);
                border-radius: 0.25rem;
                transition: border-color ease-in-out 0.15s,
                    box-shadow ease-in-out 0.15s;
                box-shadow: none;
                -webkit-box-shadow: none;

                &:focus {
                    border-color: #80bdff;
                    outline: 0;
                    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
                    -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
                }
            }

            &:after {
                content: "\f002";
                font-family: FontAwesome;
                font-size: 0.875rem;
                color: rgba(0, 0, 0, 0.2);
                position: absolute;
                top: 50%;
                right: 20px;
                transform: translateY(-50%);
                -webkit-transform: translateY(-50%);
            }
        }

        .chzn-drop {
            border-color: rgba(0, 0, 0, 0.15);
            border-radius: 0 0 0.25rem 0.25rem;
            box-shadow: none;
            -webkit-box-shadow: none;
        }

        .chzn-results {
            li {
                &.highlighted {
                    background-image: none !important;
                }
            }
        }
    }

    &.chzn-container-multi {
        .chzn-choices {
            display: block;
            width: 100%;
            padding: 0 0.75rem;
            min-height: calc(2.25rem + 2px);
            line-height: 1.25;
            background-color: #fff;
            background-image: none;
            background-clip: padding-box;
            border: 1px solid rgba(0, 0, 0, 0.15);
            border-radius: 0.25rem;
            transition: border-color ease-in-out 0.15s,
                box-shadow ease-in-out 0.15s;
            box-shadow: none;
            -webkit-box-shadow: none;

            li {
                &.search-field {
                    input[type="text"] {
                        font-size: 0.875rem;
                        font-weight: normal;
                        line-height: 1.25;
                        height: calc(2rem + 2px);
                        background-color: #fff;
                    }
                }

                &.search-choice {
                    margin: 5.5px 5px 0 0;
                    padding: 5px 20px 5px 5px;
                    background-image: none;
                    background-color: #f5f5f5;
                    border-color: rgba(0, 0, 0, 0.1);
                    box-shadow: none;
                    -webkit-box-shadow: none;

                    .search-choice-close {
                        background: none;
                        top: 5px;
                        color: rgba(0, 0, 0, 0.2);
                        &:hover {
                            color: rgba(0, 0, 0, 0.5);
                        }
                        &:after {
                            content: "\f00d";
                            font-family: FontAwesome;
                            font-size: 0.875rem;
                            position: absolute;
                            top: 0;
                            right: 0;
                        }
                    }
                }
            }
        }

        &.chzn-with-drop {
            &.chzn-container-active {
                .chzn-choices {
                    border-radius: 0.25rem;
                }
            }
            .chzn-drop {
                margin-top: -4px;
                border: none;
                border-radius: 0;
                box-shadow: none;
                -webkit-box-shadow: none;

                .chzn-results {
                    &:not(:empty) {
                        padding: 0.75rem;
                        background: #fff;
                        border: 1px solid rgba(0, 0, 0, 0.15);
                        border-top: 0;
                        border-radius: 0 0 0.25rem 0.25rem;
                    }

                    li {
                        &.no-results {
                            background: none;
                        }
                    }
                }
            }
        }
    }
}

// Form control
.form-horizontal {
    text-align: center;
    .control-label {
        float: left;
        width: auto;
        padding-top: 5px;
        padding-right: 5px;
        text-align: left;
    }
}

.card-block {
    padding: 20px;
    ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: block;
        li {
            display: block;
        }
    }
}

// Alerts
.alert {
    &.alert-error {
        color: #721c24;
        background-color: #f8d7da;
        border-color: #f5c6cb;
    }
}
.invalid {
    color: var(--color-orange);
    border-color: var(--color-orange);
}

meter {
    display: none;
}

// Cookie
#sp-cookie-consent {
    position: fixed;
    font-size: 16px;
    font-weight: 500;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10001;

    > div {
        padding: 20px;
        position: relative;
    }
}

#attrib-helix_ultimate_blog_options {
    #jform_attribs_helix_ultimate_article_format {
        position: relative;
        display: inline-block;
        vertical-align: middle;
        white-space: nowrap;
        .form-check-inline {
            margin: 0;
            margin-right: -5px;
            padding-left: 0px;
            label {
                display: inline-block;
                padding: 4px 12px;
                margin-bottom: 0;
                font-size: 13px;
                line-height: 18px;
                text-align: center;
                vertical-align: middle;
                cursor: pointer;
                background-color: #f3f3f3;
                color: #333;
                border-top: 1px solid #b3b3b3;
                border-right: 1px solid #b3b3b3;
                border-bottom: 1px solid #b3b3b3;
                box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
                border-radius: 0;
                &.btn-success {
                    background: #46a546;
                    color: #fff;
                }
                input[type="radio"] {
                    display: none !important;
                }
            }
            &:last-child {
                label {
                    border-top-right-radius: 3px;
                    border-bottom-right-radius: 3px;
                }
            }
            &:first-child {
                label {
                    border-left: 1px solid #b3b3b3;
                    border-top-left-radius: 3px;
                    border-bottom-left-radius: 3px;
                }
            }
        }
    }
}
.com-contenthistory {
    .btn-group {
        display: flex;
        justify-content: flex-end;
        button {
            display: inline-block;
            padding: 4px 12px;
            margin-bottom: 0;
            font-size: 13px;
            line-height: 18px;
            text-align: center;
            vertical-align: middle;
            cursor: pointer;
            color: #333;
            text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
            background-color: #f5f5f5;
            background-repeat: repeat-x;
            border: 1px solid #bbb;
            border-bottom-color: #a2a2a2;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
                0 1px 2px rgba(0, 0, 0, 0.05);
            &:hover {
                color: #333;
                background-color: #e9e9e9;
            }
        }
    }
}
#versionsModal {
    top: 10%;
    .modal-dialog {
        max-width: 80%;
    }
    iframe {
        min-height: 300px;
    }
}
body.com-content.view-form.layout-edit .nav-tabs .nav-link {
    display: block !important;
}

// noscript fallback style for lazysizes script
.no-js img.lazyload {
    display: none;
}

#system-message-container {
    position: fixed;
    bottom: 0px;
    right: 15px;
    max-width: 350px;
    z-index: 9999;
    .alert {
        font-size: 13px;
        line-height: 1.5;
        > .btn-close {
            position: absolute;
            right: 5px;
            top: 5px;
            cursor: pointer;
        }
    }
    // for joomla4
    joomla-alert {
        font-size: 13px;
    }
}
.com-users.view-registration,
.com-users.view-profile {
    #member-registration,
    #member-profile {
        .modal-dialog {
            display: flex;
            align-items: center;
            min-height: calc(100% - 1rem);
        }
    }
}

.hu-media-modal {
    .modal-dialog {
        display: flex;
        align-items: center;
        min-height: calc(100% - 1rem);
    }
}

//privacy
.registration {
    #member-registration {
        #jform_privacyconsent_privacy-lbl {
            display: inline-flex;
            > a {
                position: initial;
                display: block;
                color: $text_color;
                &:hover,
                &:focus {
                    color: $link_hover_color;
                }
            }
        }
    }
}
body.com-users.view-registration {
    > #sbox-window {
        overflow: hidden;
        > #sbox-btn-close {
            top: 5px;
            right: 5px;
        }
    }
}
//article frontend editing
body.helix-ultimate.hu.view-form.layout-edit {
    .edit.item-page {
        > #adminForm {
            > fieldset {
                > .joomla-tabs {
                    display: flex;
                    padding: 0;
                    margin: 0 !important;
                    overflow-x: auto;
                    overflow-y: hidden;
                    white-space: nowrap;
                    list-style: outside none none;
                    background-color: #f5f5f5;
                    border-color: #ccc #ccc currentcolor;
                    border-style: solid solid none;
                    border-width: 1px 1px 0;
                    border-radius: 0.25rem 0.25rem 0 0;
                    border-image: none;
                    box-shadow: 0 1px #fff inset,
                        0 2px 3px -3px rgb(0 0 0 / 15%),
                        0 -4px 0 rgb(0 0 0 / 5%) inset, 0 0 3px rgb(0 0 0 / 4%);

                    .nav-item > .nav-link {
                        color: var(--text-color);
                    }
                    .nav-item > .nav-link.active {
                        background-color: rgba(0, 0, 0, 0.03);
                        background-image: linear-gradient(
                            to bottom,
                            transparent,
                            rgba(0, 0, 0, 0.05) 100%
                        );
                        border-right: 0 none;
                        border-left: 0 none;
                        border-top-left-radius: 0;
                        border-top-right-radius: 0;
                        box-shadow: 2px 0 1px -1px rgb(0 0 0 / 8%) inset,
                            -2px 0 1px -1px rgb(0 0 0 / 8%) inset,
                            0 1px 0 rgb(0 0 0 / 2%) inset;
                    }
                }
                > .tab-content {
                    padding: 15px;
                    background-color: #fefefe;
                    border: 1px solid #ccc;
                    border-radius: 0 0 0.25rem 0.25rem;
                    box-shadow: 0 0 3px rgb(0 0 0 / 4%);
                }
                #editor {
                    label#jform_title-lbl {
                        margin-bottom: 15px;
                        font-weight: 700;
                    }
                    .js-editor-tinymce {
                        display: flex;
                        flex-direction: column;
                    }
                }
                #publishing,
                #metadata,
                #attrib-helix_ultimate_blog_options {
                    > .control-group {
                        display: flex;
                        flex-direction: column;
                        > label {
                            margin-bottom: 5px;
                            font-weight: 700;
                        }
                        textarea {
                            width: 100%;
                        }
                        .calendar-container .time td {
                            select {
                                padding: 4px;
                                font-size: 13px;
                            }
                        }
                    }
                }
            }
        }
    }
}
body.contentpane.com-media.view-images {
    .container-popup {
        #imageForm {
            > #messages + .well {
                .row-fluid {
                    display: flex;
                    max-width: 100%;
                    .span8 {
                        flex: auto;
                        > .controls {
                            margin-left: 10px;
                            display: flex;
                            max-width: 500px;
                            #folderlist_chzn,
                            #folderlist {
                                flex: auto;
                            }
                        }
                        #upbutton {
                            background: var(--bs-primary);
                            color: #fff;
                            margin: 0 5px;
                        }
                    }
                }
            }
            .well {
                > .row-fluid:not(:last-child) {
                    margin-bottom: 5px;
                    > .control-group:not(:last-child) {
                        margin-bottom: 5px;
                    }
                }
            }
            .btn.button-cancel {
                background: var(--bs-danger);
                color: #fff;
                &:hover,
                &:focus {
                    border-color: var(--bs-danger);
                }
            }
        }
    }
}
body.contentpane.com-menus.view-items.layout-modal {
    #adminForm {
        .js-stools-container-bar {
            display: flex;
        }
    }
}
body.contentpane.com-modules.view-modules.layout-modal {
    .container-popup {
        #adminForm {
            > .js-stools {
                .js-stools-container-bar {
                    display: flex;
                    align-items: center;
                    padding: 10px 0px;
                    > label {
                        margin-right: 10px;
                    }
                    > .btn-wrapper.input-append {
                        display: flex;
                        > button[type="submit"] {
                            background: var(--bs-primary);
                            color: #fff;
                            margin-left: 5px;
                        }
                    }
                    > .btn-wrapper {
                        > button[type="button"] {
                            background: var(--bs-primary);
                            color: #fff;
                        }
                    }
                }
            }
        }
    }
}

body.contentpane.com-content.view-articles.layout-modal,
body.contentpane.com-menus.view-items.layout-modal,
body.contentpane.com-contact.view-contacts.layout-modal {
    .container-popup {
        #adminForm {
            > .js-stools {
                padding-top: 15px;
                .js-stools-container-bar {
                    margin-bottom: 10px;
                    > label {
                        margin-right: 10px;
                    }
                    > .btn-wrapper.input-append {
                        display: flex;
                        > button[type="submit"] {
                            background: var(--bs-primary);
                            color: #fff;
                            margin-left: 5px;
                        }
                    }
                    > .btn-wrapper {
                        > button[type="button"] {
                            background: var(--bs-primary);
                            color: #fff;
                        }
                    }
                }
            }
        }
    }
}
body.contentpane.com-content.view-articles.layout-modal,
body.contentpane.com-contact.view-contacts.layout-modal {
    .container-popup {
        #adminForm {
            .js-stools-container-bar {
                display: flex;
                align-items: center;
            }
        }
    }
}

// misc
.modal-dialog.jviewport-width80 {
    width: 80vw;
    max-width: none;
}

// remove button box-shadow on focus
.btn:focus {
    box-shadow: none !important;
}

// Joomla Modal height fix
.hu-media-modal {
    .modal-content {
        height: 65vh;
    }
}

// J4 media input group btn width fix
.input-group.hu-j4-media {
    max-width: 356px;
}

// hidden class
.hidden {
    display: none !important;
}

// Calendar form css fix
.field-calendar {
    .input-group-text {
        padding: 0;
        button#jform_mycalendar_btn {
            background: transparent;
            border: none;
            color: #212529;
        }
    }
}

// J3 radio button fix
.form-check-inline label.form-check-label.btn {
    padding: 0.375rem 3px;
}

// Modal iFrame height fix
.modal-body {
    .iframe {
        min-height: 60vh !important;
    }
}
#sbox-content {
    iframe {
        width: 780px;
        height: 480px;
    }
}

.carousel-item {
    img {
        width: 100%;
    }
}

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

// Buttons

// remove button box-shadow on focus
.btn,
.sppb-btn {
    &:focus,
    &:active {
        box-shadow: none !important;
    }
}

// btn primary hover focus outline and dropdown remove
body .sppb-btn,
body .btn,
.btn-primary {
    outline: none !important;
}

// Buttons
body .sppb-btn,
body .btn {
    text-transform: capitalize;
    padding: 11px 26px;
    border: none;
    font-size: 14px;
    line-height: 1.43;
    white-space: normal;

    // 3d btn
    &.sppb-btn-3d {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    //button extra large
    &.sppb-btn-xlg {
        padding: 12px 70px;
    }

    // button large
    &.sppb-btn-lg {
        padding: 14px 30px;
    }

    //button medium
    &.sppb-btn-sm {
        padding: 8px 26px;
    }

    //button extra small
    &.sppb-btn-xs {
        padding: 6px 24px;
    }

    //button primary
    &.sppb-btn-default,
    &.sppb-btn-primary,
    &.btn-primary {
        background-color: $link_color;
        color: #ffffff;
        &:hover,
        &:focus,
        &:active {
            background-color: $link_hover_color;
            color: #ffffff;
        }

        &.sppb-btn-rounded {
            border-radius: 3px;
        }

        &.sppb-btn-round {
            border-radius: 56px;
        }
        &.sppb-btn-outline {
            border: 1px solid $link_color;
            background-color: transparent;
            color: #000000;

            &:hover,
            &:focus,
            &:active {
                background-color: $link_color;
                color: #ffffff;
            }
        }
        &.sppb-btn-gradient {
            background-image: linear-gradient(-180deg, $link_color, #3b6675);
        }

        &.sppb-btn-3d {
            border-bottom: 4px solid $link_hover_color;

            &:hover {
                border-bottom-color: transparent;
            }
        }
    }
    //button link
    &.sppb-btn-link {
        padding: 0px;
        color: $link_color;
    }
}

// Subscriber Style 1

.investa-subscribe-style-1 {
    position: relative;
    .sppb-form-builder-btn {
        position: absolute;
        right: 0px;
        width: 24px;
        top: 18px;
        span.icon {
            transition: all 0.4s ease;
        }
    }
    &:hover {
        span.icon {
            transform: rotate(45deg);
        }
    }

    i.fa.fa-spinner + span.icon {
        display: none;
    }
}

.investa-subscribe-style-2 {
    position: relative;
    .sppb-form-builder-btn {
        position: absolute;
        right: 0px;
        width: 30px;
        top: 20px;
        i.fa.fa-spinner + span.fas {
            display: none;
        }
    }
}

.investa-subscription-wrapper-1 {
    border-radius: 16px;
}

.investa-subscription-style-3 {
    position: relative;
    .sppb-form-builder-btn {
        position: absolute;
        right: 0px;
        width: 24px;
        top: 9px;
        span.icon {
            transition: all 0.4s ease;
        }
    }
    &:hover {
        span.icon {
            transform: rotate(45deg);
        }
    }
}

// Investa Person style 1
.sppb-addon-person.investa-person-style-1 {
    .sppb-person-image {
        margin-bottom: 0px;
        border-radius: 8px 8px 0px 0px;
    }

    .sppb-person-information {
        background-color: #f6f7fa;
        .sppb-person-name {
            padding: 25px 0px 0px 20px;
        }
        .sppb-person-designation {
            padding: 0px 0px 25px 24px;
        }
        .sppb-person-email {
            background: #ecf1f5;
            color: #3b6675;
            padding: 19px 24px;
            &:before {
                content: "\f0e0";
                font-family: "Font Awesome 5 Free";
                font-size: 16px;
                margin-right: 20px;
            }
            &:after {
                content: "\f061";
                font-family: "Font Awesome 5 Free";
                font-weight: 600;
                font-size: 16px;
                float: right;
                transform: rotate(-45deg);
            }
        }
    }
    .sppb-person-social-icons {
        background: #f6f7fa;
        margin: 0px;
        padding: 19px 20px;
        border-radius: 0px 0px 8px 8px;
        .sppb-person-social {
            display: flex;
            justify-content: space-between;
            a {
                display: block;
                font-size: 16px;
                color: rgba(59, 102, 117, 0.6);
                padding: 10px;
                &:hover {
                    color: rgba(59, 102, 117, 1);
                }
            }
        }
    }
}

// Faq Style
.investa-faq-style {
    .sppb-panel-heading {
        padding: 10px 20px 10px 0px;
    }

    .sppb-panel-group {
        max-width: 83%;
    }
    .sppb-panel-body {
        padding: 15px 36px;
        color: rgba(0, 0, 0, 0.6);
    }
    .sppb-panel-title {
        display: flex;
        align-items: center;
        span {
            font-size: 14px;
            line-height: 24px;
            position: relative;
            top: -1px;
            margin-right: 20px;
        }
        font-size: 20px;
        line-height: 32px;
        font-family: "Poppins";
        font-weight: 400;
    }
    .fa-chevron-right:before {
        content: "\f061";
        font-family: "Font Awesome 5 Free";
        font-weight: 600;
        color: #000000;
    }
    .sppb-panel-heading .sppb-toggle-direction {
        transform: translateY(-50%) rotate(90deg);
    }
    .sppb-panel-heading.active .sppb-toggle-direction {
        transform: translateY(-50%) rotate(270deg);
    }
    &.full-style {
        .sppb-panel-group {
            max-width: 100%;
        }
    }
}

// Section container bg
.border-bottom-radius {
    border-radius: 0px 0px 16px 16px;
}

// Ssection innter wrapper
.section-inner-wrapper {
    > .sppb-row-container {
        max-width: 1310px;
    }
}

// Home Default Slider
.home-default-slider {
    .default-slider-text {
        max-width: 50%;
    }
    .sp-slider-btn-text {
        .sp-slider-btn-icon {
            transition: all 0.4s ease;
        }
        &:hover {
            .sp-slider-btn-icon {
                transform: rotate(45deg);
            }
        }
    }
    .sp-slider_number {
        position: absolute;
        z-index: 9;
        bottom: auto;
        left: 0px;
        line-height: 1;
        top: 180px;
        max-width: 1280px;
        justify-content: center;
        right: 0px;
        margin: 0 auto;
    }
    .sp-dots {
        right: 0px;
        max-width: 1280px;
    }
}

// Home default client
.clients-wrapper {
    &:first-child {
        border-left: 1px solid #c9d7e3;
    }
    > div {
        flex: 1 0 auto;
        max-width: 100%;
        height: 238px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-right: 1px solid #c9d7e3;
        border-top: 1px solid #c9d7e3;
        border-bottom: 1px solid #c9d7e3;
        transition: all 0.4s ease;
        &:hover {
            background: #c9d7e3;
            cursor: pointer;
        }
    }
}

.popup-modal-style-1 {
    .sppb-btn.sppb-btn-custom {
        border: 1px solid rgba(255, 255, 255, 0.7);
        padding: 8px 22px !important;
        i {
            margin-left: 10px;
            font-size: 21px;
            &:before {
                content: url("../images/play-icon.svg");
            }
        }
    }
}

.popup-modal-style-2 {
    .fa-play-circle:before {
        content: url("../images/modal-play.svg");
        position: relative;
        top: -2px;
        right: 2px;
    }
    :hover {
        .sppb-magnific-popup {
            background-color: rgba(255, 255, 255, 0.2);
        }
    }
}

// Home default carousel style 1
.testimonial-carousel-style-1 {
    .sppb-testimonial-carousel-rating {
        display: none;
    }
    .sppb-testimonial-carousel-name-designation {
        margin-left: 30px;
    }
    .sppb-carousel-extended-nav-control {
        height: auto;
        width: auto;
        right: 0px;
        top: -150px !important;
    }
    .sppb-carousel-extended-nav-control .nav-control.prev-control {
        float: none;
        margin-left: auto;
        margin-right: 0px;
        position: absolute;
        right: -30px;
    }
}

.testimonial-carousel-style-1.testimonial-carousel-style-2 {
    .sppb-carousel-extended-item {
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-start;
        .sppb-testimonial-carousel-item-content {
            border-left: 1px solid rgb(255 255 255 / 20%);
            padding: 180px 110px;
            margin-left: 110px;
        }
        .sppb-testimonial-carousel-content-wrap {
            flex: 0 0 auto;
            padding: 190px 0px;
            margin-left: 110px;
        }
    }
    .sppb-carousel-extended-nav-control {
        top: 200px !important;
        right: 0px;
        left: 0px;
        bottom: auto;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        > span {
            position: initial !important;
            margin: 0 !important;
        }
    }
    .sppb-carousel-extended-dots ul li {
        margin: 0 20px;
    }
}
.column-border-left {
    border-radius: 16px 0px 0px 16px;
}
.column-border-right {
    border-radius: 0px 16px 16px 0px;
}

// Articles addon style
.addons-articles-style {
    .sppb-addon-article {
        border: 1px solid #c9d7e3;
        border-radius: 8px;
        background-color: #fff;
    }

    .sppb-carousel {
        .sppb-item {
            height: 236px;
            img {
                width: 100%;
                height: 236px;
                border-radius: 8px 8px 0px 0px;
            }
        }
    }
    .sppb-article-img-wrap {
        img {
            border-radius: 8px 8px 0px 0px;
        }
    }
    .sppb-article-info-wrap {
        padding: 40px 30px 50px 30px;
        display: flex;
        flex-direction: column;
        h3 {
            font-size: 20px;
            line-height: 30px;
            margin-bottom: 30px;
            a {
                color: #000000;
                &:hover {
                    color: #509683;
                }
            }
        }
        .sppb-article-meta {
            order: -1;
        }
        .sppb-article-introtext {
            font-size: 14px;
            line-height: 24px;
            color: rgba(0, 0, 0, 0.6);
            margin-bottom: 40px;
        }
        .sppb-article-meta {
            order: -1;
            margin: 0px;
            font-size: 14px;
            line-height: 24px;
            margin-bottom: 10px;
            span,
            a {
                color: #3b6675;
            }
        }
        .sppb-readmore {
            position: relative;
            &:after {
                content: "";
                font-family: "Font Awesome 5 Free";
                font-weight: 600;
                margin-left: 20px;
                color: #358c75;
                font-size: 16px;
                transform: rotate(-45deg);
                position: absolute;
                transition: all 0.3s ease;
            }
            &:hover {
                &:after {
                    transform: rotate(0deg);
                }
            }
        }
    }
}

// feature carousel style
.feature-carousel-style {
    .sppb-carousel-extended-item {
        border: 1px solid #c9d7e3;
        border-radius: 16px;
        padding: 45px;
        transition: all 0.4s ease;
        &:hover {
            background-color: #a8c3da;
        }
        img {
            width: auto;
            object-fit: none;
            height: auto;
            margin-bottom: 40px;
        }
        .sppb-carousel-extended-content-wrap {
            position: relative;
            text-align: left;
            padding: 0px;
        }
        .sppb-carousel-extended-heading {
            color: #000;
            font-size: 20px;
            line-height: 32px;
            font-weight: 400;
            margin-bottom: 26px;
        }
        .sppb-carousel-extended-description {
            color: rgba(0, 0, 0, 0.7);
            font-size: 14px;
            line-height: 24px;
        }
    }
    .sppb-carousel-extended-dots ul li.active span {
        background-color: #000000 !important;
    }
}

// image mask style 1
.image-mask-style-1 {
    img {
        -webkit-mask: url("../images/image-mask1.svg");
        mask: url("../images/image-mask1.svg");
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100%;
        mask-size: 100%;
    }
}

.image-mask-style-2 {
    img {
        -webkit-mask: url("../images/image-mask2.svg");
        mask: url("../images/image-mask2.svg");
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100%;
        mask-size: 100%;
    }
}

// About animated number wrapper
.about-animated-number-wrap {
    position: relative;
    > div {
        flex: 1 0 40%;
        max-width: 40%;
        margin-bottom: 50px;
    }
    &:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 1px;
        background: rgba(201, 215, 227, 1);
        left: 50%;
        transform: translateX(-15px);
    }
    .sppb-animated-number-title {
        max-width: 80%;
    }
}

// About Heading box
.about-heading-box {
    .sppb-addon-title {
        display: flex;
        align-items: center;
        .sppb-addon-title-icon {
            margin-left: 110px;
        }
    }
}

// Investa tab style
.investa-tab-style {
    .sppb-nav {
        li {
            margin: 0px;
            a {
                padding: 84px 57px;
                .sppb-tab-icon {
                    font-size: 62px;
                    color: #3b6675;
                }
            }
        }
    }
}

.career-feature-wrapper {
    > div {
        flex: 1 0 auto;
        max-width: calc(33% - 20px);
    }
}

// header icon style
.header-icon-style {
    .sppb-addon-title {
        display: flex;
        flex-direction: column;
    }
    .sppb-addon-title-icon {
        font-size: 38px;
        font-weight: 400;
        margin-bottom: 10px;
    }
}

// Investa tab style
.investa-tab-style {
    .sppb-nav {
        flex-wrap: nowrap;
        margin-bottom: -5px;
        li {
            a {
                background-color: #ffffff;
                border-radius: 0px;
                .sppb-tab-icon {
                    color: rgb(59, 102, 117, 0.5);
                }
            }
            &.active {
                &:after {
                    visibility: visible;
                    opacity: 1;
                }
                a {
                    background-color: #ecf0f4;
                    .sppb-tab-icon {
                        color: rgb(59, 102, 117, 1);
                    }
                }
            }
            &:first-child {
                a {
                    border-radius: 8px 0px 0px 0px;
                }
            }
            &:last-child {
                a {
                    border-radius: 0px 8px 0px 0px;
                }
            }
            &:after {
                transition: all 0.4s ease 0.2s;
                content: "";
                position: absolute;
                width: 30px;
                height: 30px;
                background-color: #3b6675;
                transform: rotate(45deg);
                bottom: -16px;
                left: calc(50% - 30px);
                opacity: 0;
                visibility: hidden;
            }
        }
    }
}

// Investa tab style
.investa-pricing-tab {
    position: relative;
    .sppb-nav {
        position: absolute;
        right: 0px;
        top: -145px;
        width: 330px;
        background: #f0f1f3;
        display: flex;
        border-radius: 8px;
        justify-content: space-between;
        padding: 5px 7px;
        li {
            flex: 1;
            a {
                border-radius: 8px;
                background-color: transparent;
                text-align: center;
            }
            &.active {
                a {
                    background-color: #68aa98;
                    color: #fff;
                }
            }
        }
    }
}

.pricing-item-wrapper {
    background-color: #f4f6f9;
    padding: 44px 0px 68px 0px;
    &.active {
        background-color: #3b6675;
        margin-top: -30px;
        border-radius: 8px;
        border: 2px solid #599a88;
    }
}

.pricing-item-wrapper.active {
    padding: 68px 0px 88px 0px;
    .pricing-item-feature {
        li {
            color: #fff;
            &:nth-child(odd) {
                background-color: #497b8c;
            }
            &:nth-child(even) {
                background-color: #35606f;
            }
        }
    }
}

.pricing-item-feature {
    ul {
        list-style: none;
        padding: 0px;
        margin: 0px;
        text-align: center;
    }
    li {
        padding: 22px 10px;
        &:nth-child(odd) {
            background-color: #e7edf5;
        }
        &:nth-child(even) {
            background-color: #dce5f1;
        }
    }
}

// Case study articles style
.case-study-artices {
    .sppb-addon-article {
        position: relative;
        &:hover {
            .sppb-article-info-wrap {
                opacity: 1;
                visibility: visible;
                transform: translateY(0px);
            }
        }
    }
    .sppb-article-img-wrap {
        img {
            width: 100%;
            height: 100%;
            border-radius: 16px;
        }
        position: relative;
        &:before {
            content: "";
            position: absolute;
            top: 0px;
            left: 0px;
            right: 0px;
            border-radius: 16px;
            bottom: 0px;
            background: linear-gradient(
                180deg,
                rgba(0, 0, 0, 0) 0%,
                rgba(0, 0, 0, 0.52) 27.37%,
                #000 84.04%
            );
        }
    }
    .sppb-article-info-wrap {
        position: absolute;
        bottom: 0px;
        padding: 0px 50px 40px 50px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.5s ease;
        h3 {
            font-size: 20px;
            line-height: 32px;
            margin-bottom: 30px;
            a {
                color: #fff;
            }
        }
        .sppb-article-introtext {
            font-size: 14px;
            line-height: 24px;
            color: #fff;
            margin-bottom: 35px;
        }
        .sppb-readmore {
            background-color: #358c75;
            padding: 16px 37px;
            border-radius: 108px;
            &:after {
                content: "\f061";
                font-family: "Font Awesome 5 Free";
                font-weight: 600;
                font-size: 16px;
                color: #fff;
            }
        }
    }
}

//spsimpleportfolio
.com-spsimpleportfolio {
    &.view-items {
        .sp-simpleportfolio-filter {
            margin-bottom: 70px;
            ul > li {
                &:not(:last-child) {
                    margin-right: 100px;
                }
                > a {
                    background: transparent;
                    font-size: 20px;
                    padding: 0px;
                    color: #000;
                    &:hover,
                    &:focus {
                        color: $link_color;
                    }
                }
                &.active > a {
                    color: $link_color;
                }
            }
        }
        .sp-simpleportfolio-items {
            margin: -20px;
        }
        .sp-simpleportfolio-item {
            margin-bottom: 100px;
            padding: 20px;
            .sp-simpleportfolio-overlay-wrapper {
                border-radius: 8px;
            }
            .sp-simpleportfolio-info {
                background: transparent;
                padding: 0px;
                margin-top: 30px;
                color: $text_color !important;
                a {
                    color: $text_color !important;
                    &:hover,
                    &:focus {
                        color: $link_color !important;
                    }
                }
                .sp-simpleportfolio-title {
                    font-size: 20px;
                    font-weight: 500;
                    line-height: 1.5;
                }
                .sp-simpleportfolio-tags {
                    font-size: 14px;
                }
            }
        }
        .layout-gallery-space {
            .sp-simpleportfolio-overlay {
                padding: 40px;
                .sp-vertical-middle {
                    height: 100%;
                    width: 100%;
                    display: flex;
                    > div {
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        margin-top: auto;
                        height: 50%;
                        justify-content: space-between;
                        width: 100%;
                        a {
                            &:hover,
                            &:focus {
                                opacity: 0.7;
                            }
                        }
                        .sp-simpleportfolio-title {
                            margin-top: auto;
                            text-align: left;
                            margin-right: auto;
                            font-size: 20px;
                            font-weight: 500;
                            line-height: 1.5;
                            margin-bottom: 10px;
                        }
                        .sp-simpleportfolio-tags {
                            margin-right: auto;
                            font-size: 14px;
                        }
                    }
                }
            }
        }
    }
    &.view-item {
        #sp-page-title {
            display: none;
        }
        .sp-simpleportfolio-info > h2 {
            margin-bottom: 20px;
        }
        .sp-simpleportfolio-image-video-wrapper {
            display: none;
        }
        .date-tag {
            color: $link_color;
            > span {
                &:nth-child(2):before {
                    content: "|";
                    margin-right: 30px;
                    padding-left: 30px;
                }
            }
        }
    }
}

// Case study portfolio style
.com_spsimpleportfolio.case-study {
    #sp-main-body {
        padding: 0px;
        .container {
            max-width: 100%;
            padding: 0px;
            margin: 0px;
        }
    }
    .sp-simpleportfolio {
        position: relative;
    }
    .sp-simpleportfolio-view-item {
        position: relative;
    }
    .sp-simpleportfolio-image-video-wrapper {
        height: 550px;
        background-size: cover;
        display: block;
        position: relative;
        &:before {
            content: "";
            width: 100%;
            height: 100%;
            content: "";
            background: linear-gradient(
                270deg,
                rgba(0, 0, 0, 0) 12.5%,
                #000 56.77%
            );
            position: absolute;
        }
        h2 {
            max-width: 1310px;
            margin: 0 auto;
            color: #fff;
            font-size: 64px;
            line-height: 80px;
            padding-right: 25%;
            padding-top: 194px;
            position: relative;
            z-index: 2;
        }
    }

    .sp-simpleportfolio-info {
        > h2 {
            display: none;
        }
        .date-tag {
            display: none;
        }
    }
    .sp-simpleportfolio-details {
        max-width: 1320px;
        margin: 0 auto;
        .sp-simpleportfolio-description {
            width: 100%;
            > h2 {
                font-size: 64px;
                line-height: 84px;
                color: #fff;
                position: absolute;
                top: 190px;
                z-index: 2;
                max-width: 1320px;
                margin: 0 auto;
                width: 750px;
            }
        }
        .sp-simpleportfolio-meta {
            display: none;
        }
    }
}

// Dropdown Mega Style
.sp-dropdown-main.sp-dropdown-mega {
    .sp-dropdown-inner {
        padding: 0px !important;
        .row {
            > div {
                ul.sp-mega-group {
                    padding: 40px 40px 40px 40px;
                }

                &:nth-child(1) {
                    border-right: 1px solid #b2c0c4;
                }

                &:nth-child(3) {
                    background-color: #e9e9e9;
                }
            }
        }
        .sp-mega-group > li {
            &:hover {
                a:after {
                    opacity: 1;
                    visibility: visible;
                    color: #000;
                }
            }
            > a {
                &:after {
                    content: "\f061";
                    font-family: "Font Awesome 5 Free";
                    font-weight: 900;
                    margin-left: 15px;
                    transition: all 0.4s ease;
                    opacity: 0;
                    visibility: hidden;
                    position: relative;
                    top: 2px;
                }
            }
        }
    }
}

// Service case study wrapper
.service-case-study-wrapper {
    position: relative;
    .sp-simpleportfolio-filter {
        ul {
            position: absolute;
            top: -100px;
            right: 0px;
            li {
                margin: 0px 0px 0px 60px;
                &.active {
                    a {
                        background-color: unset;
                        color: #358c75;
                    }
                }
                a {
                    background: unset;
                    color: #3b6675;
                    padding: 0px;
                    margin: 0px;
                    font-size: 14px;
                    line-height: 24px;
                }
            }
        }
    }
    .sp-simpleportfolio-overlay-wrapper {
        .sp-simpleportfolio-img {
            width: 100%;
        }
    }

    .sp-simpleportfolio-item {
        background-color: unset;
        &:before {
            content: "";
            position: absolute;
            top: 15px;
            bottom: 15px;
            right: 15px;
            left: 15px;
            background: linear-gradient(
                180deg,
                rgba(0, 0, 0, 0) 0%,
                rgba(0, 0, 0, 0.52) 27.37%,
                #000 84.04%
            );
            border-radius: 16px;
            z-index: 1;
            visibility: hidden;
            opacity: 0;
            transition: all 0.3s ease;
        }
        .sp-simpleportfolio-img {
            border-radius: 16px;
        }
        .sp-simpleportfolio-title {
            font-size: 20px;
            line-height: 32px;
            a {
                color: #fff !important;
            }
        }
        &:hover {
            .sp-simpleportfolio-info {
                opacity: 1;
                visibility: visible;
                transform: translate(0px);
            }
            .sp-simpleportfolio-img {
                transform: scale3d(1, 1, 1);
            }
            &:before {
                visibility: visible;
                opacity: 1;
            }
        }
        .sp-simpleportfolio-info {
            position: absolute;
            bottom: 0px;
            bottom: 0px;
            right: 15px;
            left: 15px;
            z-index: 3;
            background-color: transparent;
            padding: 0px 40px 60px 40px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
            transform: translateY(10px);
            &:hover {
                background-color: unset;
            }
            p {
                font-size: 14px;
                line-height: 24px;
                color: rgb(255, 255, 255, 0.7);
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                margin-bottom: 20px;
                &:empty {
                    display: none;
                }
            }
            .btn-view {
                background: $link_color;
                color: #fff;
                padding: 17px 37px;
                border-radius: 40px;
                margin-top: 20px;
                display: inline-block;
                &:hover {
                    background-color: $link_hover_color;
                }
            }
        }
    }
}

// Mega menu article latest
.mega-menu-articles {
    .sppb-addon-article {
        background-color: #fff;
        padding: 9px 10px;
        display: flex;
        gap: 20px;
        border-radius: 8px;
        .sppb-article-img-wrap {
            flex: 1 0 162px;
            max-width: 162px;
            max-height: 87px;
            img {
                border-radius: 4px;
            }
        }

        .sppb-article-info-wrap {
            display: flex;
            flex-direction: column-reverse;
            h3 {
                font-size: 14px;
                line-height: 24px;
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                line-height: 2;
                a {
                    color: #000;
                    &:hover {
                        color: #3b6675;
                    }
                }
            }
            .sppb-article-meta {
                font-size: 14px;
                line-height: 24px;
                span {
                    color: #3b6675;
                }
            }
        }
    }
}

// Default Title
body.default-title {
    #sp-title {
        .sp-page-title {
            border-radius: 16px 16px 0px 0px;
            text-align: left;
            position: relative;
            &:before {
                content: "";
                position: absolute;
                top: 0px;
                left: 0px;
                right: 0px;
                bottom: 0px;
                border-radius: 16px 16px 0px 0px;
                background: linear-gradient(
                    270deg,
                    rgba(0, 0, 0, 0) 0%,
                    #000 100%
                );
            }
            .sp-page-title-sub-heading {
                margin: 0px;
            }
        }
    }
}

// simple gallery
.com-speasyimagegallery {
    .speasyimagegallery-gallery {
        .speasyimagegallery-gallery-item {
            img {
                border-radius: 8px;
            }
            > div {
                &:after {
                    display: none;
                }
            }
            .speasyimagegallery-gallery-item-content {
                display: none;
            }
        }
    }
}

.modern-gallery-item {
    position: relative;
    .sppb-addon-single-image-container {
        img {
            border-radius: 8px;
        }
        &:after {
            content: "";
            position: absolute;
            bottom: 0px;
            left: 0px;
            right: 0px;
            height: 60%;
            background: linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.7) 0%,
                rgba(0, 0, 0, 0) 100%
            );
            opacity: 0;
            visibility: hidden;
            transition: all 0.5s ease;
            z-index: 1;
            border-radius: 8px;
        }
        .sppb-addon-image-overlay-icon {
            background: unset;
            font-size: 40px;
        }
    }

    .sppb-addon-title {
        font-size: 40px;
        line-height: 56px;
        color: #fff;
        position: absolute;
        bottom: 0px;
        z-index: 2;
        padding: 0px 50px 50px 100px;
        visibility: hidden;
        opacity: 0;
        transition: all 0.5s ease;
        span {
            font-size: 14px;
            line-height: 24px;
            font-weight: 400;
            display: block;
            max-width: 65%;
            margin-top: 20px;
        }
    }

    &:hover {
        .sppb-addon-single-image-container {
            &:after {
                opacity: 1;
                visibility: visible;
            }
        }
        .sppb-addon-title {
            visibility: visible;
            opacity: 1;
            transform: translateY(0px);
        }
    }
}

// View Profile List
.com-users.view-profile {
    .list-group .list-group-item {
        border: none;
        padding: 3px 0px;
        color: rgba(0, 0, 0, 0.7);
        font-weight: 500;
        background-color: transparent;
    }
}

.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-btns a {
    opacity: 1;
    -webkit-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.30);
    border: none;
    width: 60px;
    height: 60px;
    line-height: 60px;
    padding: 0px;
    transform: scale(1) !important;
}