.c-section-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 500;
    color: $gray-900;

    &--sm {
        font-size: 1.75rem;
    }

    &--lg {
        font-size: 2.25rem;
    }

    @include viewport-min(lg) {
        font-size: 2.5rem;

        &--sm {
            font-size: 2rem;
        }

        &--lg {
            font-size: 3rem;
        }
    }
}
.c-section-subtitle {
    margin: 1rem 0 0;
    font-size: 1.125rem;
    font-weight: 300;
    color: $gray-900;

    &--sm {
        margin: .75rem 0 0;
        font-size: 1rem;
    }

    &--lg {
        margin: 1.25rem 0 0;
        font-size: 1.25rem;
    }

    @include viewport-min(lg) {
        font-size: 1.25rem;

        &--sm {
            font-size: 1.125rem;
        }

        &--lg {
            font-size: 1.375rem;
        }
    }
}

.c-pagination {
    display: flex;
    align-items: center;
    margin: 0;
    padding: .5rem 0;
    list-style: none;

    &__item {
        padding: .125rem;
        line-height: 1.75rem;
        font-size: 1rem;
        font-weight: 600;
        margin: 0 .125rem;

        @include viewport-min(lg) {
            padding: .25rem;
            line-height: 2rem;
            font-size: 1.125rem;
        }

        a, span {
            display: block;
            padding: 0 .5rem;
            border-bottom: 3px solid transparent;
        }

        a {
            &:hover {
                text-decoration: none;
                border-bottom-color: $primary;
            }
        }

        &.item-nav {
            font-size: 1.5rem;

            a {
                &:hover {
                    border-bottom-color: transparent;
                }
            }
        }

        .p-item-active {
            color: $gray-900;
            border-bottom-color: $gray-900;
        }

        .p-item-dot {
            color: $gray-500;
        }
    }
}

.c-hero-badge {
    @extend %button-reset;
    display: inline-block;
    padding: .25rem .75rem;
    font-size: .75rem;
    font-weight: 500;
    color: #fff;
    background-image: linear-gradient(270deg,#e64c4c 0,#ef32fb 100%);
    border-radius: .25rem;
    box-shadow: 0 .25rem .5rem rgba(0,0,0,.1);
    transition: transform .2s ease-in-out;

    @include viewport-min(lg) {
        padding: .25rem 1rem;
        font-size: 1rem;
    }

    &:hover {
        color: #fff;
        text-decoration: none;
        transform: translateY(-5px);
    }
}

.c-prc-tab-menu {
    border-radius: .5rem;

    &__item {
        display: block;
        background-color: #E4EDF2;
        color: $gray-900;

        &:hover {
            color: $primary;
        }

        @include viewport-max(sm) {
            width: 100%;
            padding: .75rem 0;
            border-bottom: 1px solid $gray-200;

            &:first-child {
                border-radius: .5rem .5rem 0 0;
            }

            &:last-child {
                border-radius: 0 0 .5rem .5rem;
                border-bottom: 0;
            }
        }

        @include viewport-min(sm) {
            width: 280px;
            padding: 1.25rem 0;
            border-right: 1px solid $gray-200;

            &:first-child {
                border-radius: .5rem 0 0 .5rem;
            }

            &:last-child {
                border-radius: 0 .5rem .5rem 0;
                border-right: 0;
            }
        }

        &:hover {
            text-decoration: none;
        }

        &.active {
            color: #fff;
            background-color: #F06134;
            border-color: #F06134;
        }

        .tab-item {
            //xx
            &-title {
                margin: 0;
                font-size: 1rem;
                font-weight: 500;
                text-transform: uppercase;
            }

            &-subtitle {
                margin: .25rem 0 0;
                font-size: .875rem;
                font-weight: 300;
            }
        }
    }
}

.c-card {
    position: relative;
    display: block;
    border-radius: 1rem;
    color: $gray-900;

    &--bd {
        background-color: #fff;
        box-shadow: 0 0 0 1px $gray-100;
    }

    &--sd {
        &:after,
        &:before {
            content: '';
            display: block;
            position: absolute;
            z-index: 0;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            border-radius: 1rem;
            will-change: box-shadow;
        }

        &:before {
            box-shadow: 0 1rem 2rem 0 rgba(0,0,0,.025), 0 .5rem 1rem 0 rgba(0,0,0,.05);
        }
    }

    &-ft {
        background-color: #fff;
        height: 100%;
        margin: 0;

        @include viewport-max(md) {
            max-width: 300px;
            margin-left: auto;
            margin-right: auto;
        }

        @include viewport-max(lg) {
            font-size: .875rem;
        }

        a {
            &:hover {
                text-decoration: none;
            }
        }

        &__wrap {
            display: block;
            height: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
            z-index: 10;
            color: $gray-900;

            &:hover {
                color: $gray-900;
            }
        }

        &__media {
            flex: 0 0 auto;
            min-height: 0;
            min-width: 0;
            border-radius: 8px 8px 0 0;
            overflow: hidden;

            video {
                display: block;
                width: 100%;
            }

            img {
                display: block;
                width: 100%;
            }
        }

        &__main {
            flex: 1 1 auto;
            min-height: 0;
            min-width: 0;
            padding: 1rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;

            @include viewport-min(lg) {
                padding: 1.5rem;
            }
        }
        // in main
        .main-pos-top {
            flex: 1 1 auto;
            min-height: 0;
            min-width: 0;
            position: relative;
        }

        .main-pos-bottom {
            margin: 1rem 0 0;

            @include viewport-min(lg) {
                margin: 1.5rem 0 0;
            }
        }

        &__tags {
            margin: 0 0 1rem 0;

            @include viewport-min(lg) {
                margin: 0 0 1.5rem 0;
            }
        }

        &__title {
            margin: 0;
            font-size: 1.25rem;
            font-weight: 600;
            color: $gray-900;

            @include viewport-min(lg) {
                font-size: 1.5rem;
            }
        }

        &__descr {
            margin: .5rem 0 0;
            font-size: .875rem;
            font-weight: 400;
            color: $gray-600;

            @include viewport-min(lg) {
                margin: .75rem 0 0;
                font-size: 1rem;
            }

            b {
                color: $gray-800;
            }
        }

        &__more {
            a {
                i.mdi {
                    position: relative;
                    top: 2px;
                }

                transition: color .2s ease-in-out, padding-left .2s ease-in-out;

                &:hover {
                    padding-left: 3px;
                }
            }
        }

        &--rv {
            .c-card-ft {
                //xx
                &__wrap {
                    display: flex;
                    flex-direction: row;
                    padding: 1rem;

                    @include viewport-min(lg) {
                        padding: 1rem;
                    }
                }

                &__icon {
                    flex: 0 0 4rem;
                    margin: 0 1rem 0 0;
                    width: 4rem;
                    height: 4rem;
                    border-radius: .75rem;
                    background-color: $primary;
                    @include viewport-min(lg) {
                        margin: 0 1rem 0 0;
                    }

                    img {
                        display: block;
                        width: 2.5rem;
                        margin: .75rem 0 0 .75rem;
                    }
                }

                &__main {
                    padding: 0;
                }

                &__title {
                    font-size: 1.125rem;

                    @include viewport-min(lg) {
                        font-size: 1.25rem;
                    }
                }

                &__descr {
                    margin: .5rem 0 0;
                    font-size: .875rem;

                    @include viewport-min(lg) {
                        margin: .5rem 0 0;
                        font-size: 1rem;
                    }
                }

                &__tags {
                    margin: 0;
                }
            }
        }
    }

    &-bn {
        margin: 0 0;
        padding: 1rem;
        text-align: center;

        &__icon {
            margin: 0 0 1rem;
            max-width: 100%;

            @include viewport-min(lg) {
                margin: 0 0 1.5rem;
            }
        }

        &__title {
            margin: 0;
            font-size: 1.125rem;
            font-weight: 600;
            color: $gray-900;

            @include viewport-min(lg) {
                font-size: 1.25rem;
            }
        }

        &__descr {
            margin: .5rem 0 0;
            font-size: .875rem;
            font-weight: 400;
            color: $gray-600;

            @include viewport-min(lg) {
                margin: .75rem 0 0;
                font-size: 1rem;
            }

            b {
                color: $gray-800;
            }
        }
    }

    &-fr {
        display: flex;
        width: 200px;
        height: 200px;
        align-items: center;
        justify-content: center;
        color: #fff;
        background-color: $gray-800;
        border-radius: 2rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
        transition: box-shadow .2s ease-in-out;

        @include viewport-min(sm) {
            width: 240px;
            height: 240px;
        }

        &:hover {
            color: #fff;
            box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
        }

        &--1 {
            background-color: #1aeada;
            background: radial-gradient(circle, #1aeada 0%, #1dbfb0 100%);
        }

        &--2 {
            background-color: #ee7347;
            background: radial-gradient(circle, #f7a97b 0%, #ee7347 100%)
        }

        &--3 {
            background-color: #5ea8fd;
            background: radial-gradient(circle, #95c1fe 0%, #5ea8fd 100%)
        }

        &__wrap {
            display: block;
        }

        &__icon {
            margin: 0 0 1.5rem;

            @include viewport-min(lg) {
                margin: 0 0 2rem;
            }

            img {
                display: inline-block;
                vertical-align: top;
                height: 3.5rem;

                @include viewport-min(lg) {
                    height: 4rem;
                }
            }
        }

        &__title {
            margin: 0 0;
            font-size: 1.25rem;
            font-weight: 400;
            text-transform: uppercase;

            @include viewport-min(lg) {
                font-size: 1.5rem;
            }
        }
    }

    &-prc {
        padding: 1rem;
        height: 100%;
        font-size: .875rem;
        background-color: #fff;
        box-shadow: 0 0.0125rem .5rem rgba(0, 0, 0, 0.08);
        transition: box-shadow .2s ease-in-out, transform .2s ease-in-out;
        border-radius: 0;

        &:hover {
            transform: translateY(-.5rem);
            box-shadow: 0 0.0125rem .75rem rgba(0, 0, 0, 0.12);
        }

        .btn {
            &, &:hover, &:active, &:focus {
                box-shadow: 0 0 0;
            }

            &-default {
                &:hover {
                    background-color: $gray-100;
                }
            }

            &-primary {
                &:hover {
                    background-color: lighten($primary, 5%);
                }
            }
        }

        &--ft {
            border: 1px solid $primary;
            box-shadow: 0 0.0125rem 1rem .25rem rgba($primary, 0.5);

            &:hover {
                box-shadow: 0 0.0125rem 1rem .25rem rgba($primary, 0.5);
            }

            @include viewport-min(xl) {
                padding: 1.5rem;
                /*font-size: 1rem;*/
            }

            .c-card-prc {
                //xx
                &__badge {
                    margin: 0 0 1rem;
                    position: relative;
                    top: -.5rem;
                }

                &__title {
                    color: $gray-900;
                }
            }
        }

        &__wrap {
            display: flex;
            flex-direction: column;
            height: 100%;

            .card-pos-top {
                flex: 1 1 auto;
                min-width: 0;
                min-height: 0;
            }

            .card-pos-btm {
                margin: 1rem 0 0;
                flex: 0 0 auto;
            }
        }

        &__main {
            margin: .5rem 0 0;
        }

        &__badge {
            height: auto;
            margin: 0 0 .75rem;

            .badge-primary {
                background-color: #ffb34b;
            }

            @include viewport-min(lg) {
                height: 1.25rem;
            }
        }

        &__title {
            margin: 0;
            font-size: 1.25rem;
            font-weight: 600;
            color: #242F40;
        }

        &__pricing {
            margin: 1rem 0;

            @include viewport-min(lg) {
                margin: 1.5rem 0;
            }

            .pricing {
                //xx
                &-main {
                    line-height: 1;
                    font-size: 2.5rem;
                    font-weight: 300;

                    @include viewport-min(lg) {
                        font-size: 3.5rem;
                        letter-spacing: -.25px;
                    }
                }

                &-crc {
                    line-height: 1;
                    font-size: 1rem;
                    color: #242F40;

                    @include viewport-min(lg) {
                        font-size: 1.25rem;
                    }
                }

                &-time {
                    margin: .25rem 0 0;
                    padding: 0 .25rem;
                    line-height: 1;
                    font-size: .75rem;
                    color: #5B6B82;

                    @include viewport-min(lg) {
                        font-size: .875rem;
                    }
                }
            }
        }

        &__list {
            padding: 0;
            margin: 0;
            list-style: none;

            .prc-item-ft {
                position: relative;
                padding: .25rem 0 .25rem 2rem;
                border-bottom: 1px dotted $gray-200;

                @include viewport-min(lg) {
                    padding: .5rem 0 .5rem 2rem;
                }

                &:last-child {
                    border-bottom: 0;
                }

                .item-ft {
                    //xx
                    &-icon {
                        position: absolute;
                        line-height: 1.5rem;
                        font-size: 1.25rem;
                        top: .5rem;
                        left: 0;
                        color: $primary;

                        i.mdi {
                            &:before {
                                content: "\F05E1";
                            }
                        }
                    }
                }

                &--muted {
                    color: $gray-500;
                    text-decoration: line-through;

                    .item-ft {
                        //xx
                        &-icon {
                            i.mdi {
                                color: $gray-500;

                                &:before {
                                    content: "\F0130";
                                }
                            }
                        }
                    }
                }
            }
        }

        &__noted {
            margin: 1rem 0 0;
            padding: 1rem 0 0;
            font-size: .875rem;
            font-weight: 300;
            border-top: 1px solid $gray-200;

            p {
                margin-bottom: .25rem;
            }

            ul {
                padding: 0 0 0 1rem;
                margin-bottom: .25rem;
            }
        }

        &__reg {
            padding: 0 1rem .5rem 1rem;
            .btn{
                text-transform: uppercase;
                padding-top: .75rem;
                padding-bottom: .75rem;
                &-default{
                    color: #5B6B82;
                    border-color: #5B6B82;
                }
            }
        }
    }

    &-bnf{
        margin: 0 auto;
        height: 100%;
        max-width: 480px;
        color: $gray-900;
        background-color: #fff;
        text-align: center;
        @include viewport-min(lg){
            text-align: left;
            max-width: none;
        }
        &--fet{
            color: #fff;
            background-color: #2fcbbe;
            .c-card-bnf{
                //xx
                &__stl{
                    color: #fff;
                }
            }
        }
        &__wrp{
            padding: 1.5rem;
            @include viewport-min(lg){
                padding: 2rem;
            }
        }
        &__icn{
            img{
                display: inline-block;
                vertical-align: top;
                height: 56px;
            }
        }
        &__cnt{
            margin: 1.25rem 0 0;
        }
        &__tle{
            margin: 0;
            font-size: 1.125rem;
            font-weight: 600;

            @include viewport-min(lg) {
                width: 90%;
                font-size: 1.25rem;
            }
        }
        &__dcr{
            margin: .5rem 0 0;
            font-size: .875rem;
            font-weight: 400;

            @include viewport-min(lg) {
                margin: .75rem 0 0;
                font-size: 1rem;
            }

            b {
                color: $gray-800;
            }
        }
    }
}

a.c-card {
    // transition: transform .2s ease-in-out;
    &:hover {
        text-decoration: none;
    }

    &--bd {
        box-shadow: 0 0 0 1px $gray-100;
    }
}

.c-process{
    &--useapp{
        .c-process{
            //xx
            &__wrap{
                @include viewport-min(lg){
                    display: flex;
                    padding-bottom: 2rem;
                }
            }
            &__step{
                @include viewport-min(lg){
                    margin-right: 4rem;
                    position: relative;
                    &:nth-child(2){
                        top: 2rem;
                    }
                    &:last-child{
                        top: 4rem;
                        margin-right: 0;
                    }
                    &:after{
                        top: 5rem;
                        left: 100%;
                        width: 4rem;
                        height: auto;
                        border-top: 2px dotted $primary;
                    }
                }
            }
        }
        .single-step{
            &__hdr{
                position: relative;
                padding-right: 2rem;
            }
            &__icn{
                position: absolute;
                top: -1rem; right: -1rem;
                width: auto; height: 4rem;
                display: flex;
                align-items: center;
                justify-content: center;
                img{
                    flex: 1 1 auto;
                    display: block;
                    max-width: 4rem;
                    max-height: 100%;
                }
            }
        }
    }
    &--screen{
        @include viewport-max(lg){
            overflow: auto; 
        }
        .c-process{
            //xx
            &__wrap{
                @include viewport-max(lg){
                    display: flex;
                    flex-wrap: nowrap;
                    margin: 0 -1rem;
                    padding: 0 2rem 1rem 1rem;
                }
            }
            &__step{
                @include viewport-max(lg){
                    flex: 0 0 250px;
                    padding-right: 1rem;
                    margin: .5rem 1.5rem .5rem .5rem;
                    &:after{
                        top: 2rem;
                        left: 100%;
                        width: 2rem;
                        height: auto;
                        border-top: 2px dotted $primary;
                    }
                }
            }
        }
    }
    &__wrap{
        // display: flex;
    }
    &__step{
        display: block;
        position: relative;
        margin: 0 auto 2rem auto;
        max-width: 480px;
        background-color: #fff;
        box-shadow: 0 .25rem .75rem 0 rgba(#000,.1);
        border-radius: .5rem;
        &:hover{
            text-decoration: none;
            color: $gray-900;
            opacity: .9;
        }
        &.active{
            color: #fff;
            background-color: $primary;
            .single-step{
                &__lvl{
                    color: #fff;
                }
                &__tle{
                    color: #fff;
                }
                &__dcr{
                    color: #fff;
                }
            }
        }
        &:after{
            content: "";
            display: block;
            position: absolute;
            top: 100%;
            left: 3rem;
            height: 2rem;
            border-left: 2px dotted $primary;
        }
        &:last-child{
            &:after{
                display: none;
            }
        }
    }
    .single-step{
        &__wrp{
            padding: 1.5rem 2rem;
        }
        &__lvl{
            margin: 0 0 .5rem;
            font-size: .875rem;
            text-transform: uppercase;
            color: $gray-900;
        }
        &__tle{
            margin: 0 0 .5rem;
            line-height: 1.375;
            font-size: 1rem;
            font-weight: 500;
            text-transform: uppercase;
            color: $primary;
        }
        &__dcr{
            margin: .75rem 0 0;
            font-size: 1rem;
            font-weight: 400;
            color: $gray-900;
            p{
                margin-bottom: .5rem;
                &:last-child{
                    margin-bottom: 0;
                }
            }
        }
    }
}

.l-pricing-cards {
    margin: 3rem 0 0;

    @include viewport-min(xl) {
        margin: 3rem 0 0;
    }
    .row {
        margin: 0;

        & > [class^="col"] {
            padding: 0;
            position: relative;
        }

        .card-wrap {
            height: 100%;
        }

        .col-pricing-lg {
            z-index: 10;

            @include viewport-min(xl) {
                flex: 0 0 28%;
                max-width: 28%;
            }

            .card-wrap {
                @include viewport-min(xl) {
                    position: relative;
                    top: -1rem;
                    height: calc(100% + 2rem);
                }
            }
        }
    }

    &--tenant{
        .row{
            .col-pricing-lg {
                z-index: 10;

                @include viewport-min(xl) {
                    flex: 0 0 40%;
                    max-width: 40%;
                }
            }
        }
    
    }
}

.c-mnl-itm {
    margin-bottom: 1rem;

    &__wrp {
        display: flex;
        align-items: center;
    }

    &__mda {
        flex: 0 0 5rem;
        margin: 0 1rem 0 0;

        @include viewport-min(sm) {
            flex: 0 0 12rem;
            margin: 0 1rem 0 0;

            &:after {
                padding-bottom: 75%;
            }
        }

        @include viewport-min(lg) {
            flex-basis: 14rem;
        }

        @include viewport-min(lg) {
            flex-basis: 15rem;
        }

        @include viewport-min(xl) {
            flex-basis: 15rem;
        }

        .itm-mda-wrp {
            display: block;
            width: 100%;
            border-radius: .25rem;
            border: 1px solid $gray-200;
        }

        a.itm-mda-wrp {
            &:hover {
                opacity: .8;
            }
        }
    }

    &__cnt {
        flex: 1 1 auto;
        min-width: 0;
    }

    &__tle {
        margin: 0;
        line-height: 1.25;
        font-size: 1rem;
        font-weight: 500;

        @include viewport-min(md) {
            font-size: 1.25rem;
        }

        a {
            color: $gray-900;

            &:hover {
                color: $primary;
                text-decoration: none;
            }
        }
    }

    &__mta {
        margin: .25rem 0 0;
        font-size: 0;
        line-height: 1.25rem;

        @include viewport-min(md) {
            margin: .5rem 0 0;
        }

        & > span {
            display: inline-block;
            vertical-align: top;
            font-size: .75rem;
            line-height: 1.25rem;
            color: $gray-500;

            & + span {
                &:before {
                    content: "\2022";
                    display: inline-block;
                    vertical-align: top;
                    padding: 0 .5rem;
                    line-height: 1.125rem;
                    font-size: .5rem;
                }
            }
        }

        a {
            color: lighten($primary,5%);
        }
    }

    &__ecp {
        margin: .5rem 0 0;
        line-height: 1.25rem;
        font-size: .875rem;
        color: $gray-600;
        @include multi-line-ellipsis(1.25rem, 3, true, false);

        @include viewport-max(md) {
            display: none;
        }
    }
}


