// 1. Slider Revolution
// 2. Logo widget 
// 3. Heading widget
// 4. Text Editor widget
// 5. Links widget
// 6. Icons widget
// 7. Image widget
// 8. Language Switcher widget
// 9. Play Video widget
// 10. Showcase Grid widget
// 11. Project Info widget
// 12. Contact Info widget
// 13. List widget
// 14. Process widget
// 15. Social Share widget
// 16. Countdown widget
// 17. Image Box widget
// 18. Contact Form widget
// 19. Search widget
// 20. Hidden Panel widget
// 21. Banner Box widget
// 22. Client Review widget
// 23. Carousel widget
// 24. Partner Carousel widget
// 25. Showcase widget
// 26. Process Carousel widget
// 27. Nav Carousel widget
//--------------------------------------------------

// Rest Class
.pxl-icon--gradient {
    i {
        @extend .text-gradient;
    }
}
.pxl-reset-padding-xl {
    @media #{$mm-xl2} {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

// Slider Revolution
.revslider-initialised {
    overflow: visible !important;
}

// Logo widget
.pxl-logo {
    a {
        display: inline-block;
    }
    img {
        width: auto;
        vertical-align: middle;
    }
}

// Heading widget
.pxl-heading {
    cite {
        font-style: normal;
        color: $primary_color;
    }
    .pxl-heading--inner {
        display: inline-block;
        position: relative;
    }
    .pxl-text--slide {
        display: inline-block;
        vertical-align: middle;
        position: relative;
        overflow: hidden;
        span {
            display: inline-block;
        }
    }
    .wow.letter {
        @include transform(translate3d(0, 36px , 0));
        @include transition(all 0.4s);
        opacity: 0;
        &.animated {
            @include transform(translate3d(0, 0px , 0));
            opacity: 1;
        }
    }
    .wow.split {
        @include transform(translate(50px));
        @include transition(all 0.4s);
        opacity: 0;
        &.animated {
            @include transform(translate(0px));
            opacity: 1;
        }
    }
    .pxl-split-text {
        overflow: hidden;
    }
    .pxl-item--subtitle {
        &.px-sub-title-default {
            margin-bottom: 4px;
            color: $primary_color;
            text-transform: uppercase;
            font-size: 16px;
            letter-spacing: 2px;
            @extend .ft-theme-default;
            font-weight: 500;
        }
        &.px-sub-title-under {
            margin-top: 5px;
            margin-bottom: 4px;
        }
        &.px-sub-title-divider1 {
            margin-bottom: 10px;
            color: $primary_color;
            text-transform: uppercase;
            font-size: 13px;
            letter-spacing: 3.9px;
            .pxl-item--subtext {
                padding-left: 90px;
                position: relative;
                display: inline-flex;
            }
            .pxl-item--subdivider {
                position: absolute;
                top: 50%;
                left: 0;
                @include transform(translate(0, -50%));
                width: 76px;
                height: 2px;
                border-radius: 2px;
                background-color: #DBE6FF;
                overflow: hidden;
                &:before {
                    content: '';
                    width: 19px;
                    height: 2px;
                    background-color: $primary_color;
                    position: absolute;
                    top: 0;
                    left: 0;
                    border-radius: 2px;
                    animation: pxl_divider_left_to_right 2.5s infinite linear alternate;
                }
            }
        }
        &.px-sub-title-box1 {
            margin-bottom: 22px;
            color: $secondary_color;
            .pxl-item--subtext {
                background-color: $primary_color;
                padding: 0 16px;
                font-size: 14px;
                line-height: 27px;
                font-weight: 600;
                display: inline-flex;
                border-radius: 27px;
            }
        }
    }
    .px-title--divider1, .px-title--divider2 {
        width: 88px;
        height: 4px;
        display: inline-flex;
        position: relative;
        top: 2px;
        &:before, &:after, span {
            content: '';
            display: block;
            position: absolute;
            background-color: $primary_color;
            border-radius: 4px;
            top: 0;
            height: 4px;
        }
        &:before {
            width: 70px;
            left: 0;
        }
        &:after {
            width: 8px;
            left: 73px;
        }
        span {
            right: 0;
            width: 4px;
        }
    }
    .px-title--divider2 {
        transform: rotate(-90deg);
        margin-bottom: 65px;
        margin-top: 40px;
    }
    .px-title--divider3 {
        position: relative;
        width: 76px;
        height: 2px;
        background-color: rgba(#DBE6FF, 0.3);
        border-radius: 2px;
        margin-top: 16px;
        &:before {
            content: '';
            width: 19px;
            height: 2px;
            border-radius: 2px;
            position: absolute;
            top: 0;
            right: 0;
            background-color: $primary_color;
        }
    }
    .pxl-title--highlight {
        color: $primary_color;
        position: relative;
        z-index: 1;
        &.text-gradient {
            display: inline-flex;
        }
        &.text-outline {
            @include background-horizontal($gradient_color_from, $gradient_color_to);
            background-clip: border-box;
            -webkit-background-clip: text;
            -webkit-text-stroke: 1px transparent;
            color: #fff;
        }
        &:before {
            content: '';
            width: 100%;
            height: 100%;
            position: absolute;
            z-index: -1;
            bottom: 6px;
            left: -2px;
            background-repeat: no-repeat;
            background-position: center bottom;
            background-size: contain;
            @media #{$max-sm} {
                bottom: 0px;
            }
        }
    }
}

@keyframes pxlKeywordRotatingIn{
    from{
        transform:translateY(70%) rotateX(-100deg);
        opacity:0
    }
    to{
        transform:translateY(0) rotateX(0);
        opacity:1
    }
}
@keyframes pxlKeywordRotatingOut{
    from{
        transform:translateY(0) rotateX(0);
        opacity:1
    }
    to{
        transform:translateY(-70%) rotateX(100deg);
        opacity:0
    }
}

.pxl-title--typewriter {
    display: inline-flex;
    white-space: nowrap;
    position: relative;
    z-index: 99;
    .pxl-item--text {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        &:not(.is-active) {
            animation: pxlKeywordRotatingOut .8s cubic-bezier(.86,0,.07,1) both;
        }
        &.is-active {
            position: relative;
            opacity: 1;
            animation: pxlKeywordRotatingIn .8s cubic-bezier(.86,0,.07,1) both;
        }
    }
}

// Text Editor widget
.pxl-text-editor {
    .pxl-item--inner {
        display: inline-block;
    }
    p {
        margin-bottom: 30px;
        &:last-child {
            margin-bottom: 0;
        }
    }
    .pxl-text--highlight {
        padding: 4px 0;
        background-color: $primary_color;
        color: #fff;
    }
}

// Links
.pxl-link {
    list-style: none;
    margin: 0;
    padding: 0;
    a {
        display: inline-flex;
        font-size: 16px;
        color: #586563;
        &:hover {
            color: $primary_color;
        }
    }
    i {
        min-width: 24px;
        margin-top: 5px;
        font-size: 15px;
        display: inline-flex;
    }
    &.type-vertical li + li {
        margin-top: 8px;
    }
    &.type-horizontal {
        display: flex;
        flex-wrap: wrap;
        li {
            margin: 0 10px;
        }
    }

    &.style-box {
        i {
            margin: 0 18px 0 0;
            font-size: 24px;
            color: $primary_color;
            @include transition(color 250ms linear 0ms);
            @media #{$max-sm} {
                font-size: 22px;
            }
        }
        a {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            background-color: #fff;
            position: relative;
            font-size: 16px;
            color: #1C2539;
            font-weight: 700;
            @extend .ft-theme-default;
            padding: 12px 35px;
            border-radius: 5px;
            @include box-shadow(0 0px 30px rgba(#8997BA, 0.1));
            @include transition(all 250ms linear 0ms);
            @media #{$max-lg} {
                padding-left: 30px;
                padding-right: 30px;
            }
            @media #{$max-lg} {
                padding-left: 24px;
                padding-right: 24px;
            }
            &:after {
                color: #5d666f;
                content: "\f110";
                font-family: "Caseicon";
                font-size: 11px;
                position: absolute;
                top: 50%;
                right: 27px;
                transform: translateY(-50%);
                @include transition(color 250ms linear 0ms);
                @media #{$max-lg} {
                    right: 20px;
                }
            }
            &:hover {
                background-color: $primary_color;
                color: #fff;
                &:after, i {
                    color: #fff;
                }
            }
        }
        li + li {
            margin-top: 6px;
        }
    }
}

// Icons
.pxl-icon1 {
    a {
        position: relative;
        span {
            background-color: #080808;
            position: absolute;
            left: 50%;
            transform: translate(-50%, 0);
            color: #fff;
            white-space: nowrap;
            display: block;
            line-height: 24px;
            font-size: 12px;
            padding: 0 8px;
            @include transition(all .25s cubic-bezier(.645,.045,.355,1));
            opacity: 0;
            visibility: hidden;
            &:before {
                content: '';
                position: absolute;
                left: 0;
                right: 0;
                margin: auto;
                border-width: 5px;
                border-style: solid;
                border-color: transparent transparent #080808 transparent;
                width: 0;
                height: 0;
            }
        }
        &.ps-top span {
            bottom: 100%;
            margin-bottom: 10px;
            &:before {
                bottom: -10px;
                border-color: #080808 transparent transparent transparent;
            }
        }
        &.ps-bottom span {
            top: 100%;
            margin-top: 10px;
            &:before {
                top: -10px;
            }
        }
        &:hover span {
            opacity: 1;
            visibility: visible;
        }
    }
    &.style-default {
        a {
            color: #000;
            &:hover {
                color: $primary_color;
            }
        }
    }
    &.style-box1 {
        a {
            background-color: $primary_color;
            color: #fff;
            width: 29px;
            height: 29px;
            border-radius: 6px;
            text-align: center;
            line-height: 29px;
            display: inline-block;
            font-size: 14px;
        }
    }
}

// Image
.pxl-image-single {
    @include border-radius(inherit);
    *, img {
        @include border-radius(inherit);
    }
    img {
        width: auto;
    }
    &.pxl-hover1 .pxl-item--inner {
        position: relative;
        overflow: hidden;
        img {
            @include transition(transform 1.5s cubic-bezier(.19,1,.22,1));
        }
        &:hover img {
            @include transform(scale(1.06));
        }
    }
    &.pxl-hover2 .pxl-item--inner {
        img {
            @include transition(all 0.5s);
        }
        &:hover img {
            @include transform(scale(0.95));
        }
    }
    &.pxl-image-parallax .pxl-item--image {
        @include transition(all 100ms linear 0ms);
    }
}
.pxl-image-tilt {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
.pxl-image-tilt-active {
    overflow: hidden;
}

// Language Switcher
.pxl-language-switcher1 {
    font-size: 13px;
    color: #4e4e4e;
    position: relative;
    z-index: 99;
    a {
        color: inherit;
        &:hover {
            color: $primary_color;
        }
    }
    ul {
        margin: 0;
        list-style: none;
        position: absolute;
        top: 100%;
        left: 0;
        font-size: 14px;
        @media #{$max-xl} {
            left: auto;
            right: 0;
        }
        min-width: 146px;
        padding: 16px 22px;
        background-color: #fff;
        z-index: 99;
        @include box-shadow(0 18px 43px rgba(#5a5a5a, 0.14));
        @include border-radius(3px);
        @include transition(.3s cubic-bezier(.24,.74,.58,1));
        transform: perspective(300px) rotateX(-90deg);
        transform-origin: 50% 0%;
        li {
            padding: 6px 0;
        }
        a {
            display: inline-flex;
            align-items: center;
            img {
                max-width: 21px;
                @include border-radius(21px);
                margin-right: 9px;
                @include box-shadow(0 2px 6px rgba(#000, 0.06));
            }
        }
    }
    .current--item {
        line-height: 50px;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        cursor: pointer;
        color: #222;
        font-size: 13px;
        padding: 0 20px;
        line-height: 29px;
        background-color: rgba(#C1D1E1, 0.1);
        border-radius: 6px;
        min-width: 146px;
        justify-content: center;
        img {
            max-width: 21px;
            @include border-radius(21px);
            margin-right: 9px;
        }
        label {
            cursor: pointer;
            &:after {
                content: "\f107";
                font-family: Caseicon;
                font-size: 9px;
                margin-left: 8px;
                line-height: 1;
                @include transition(all 220ms linear 0ms);
                display: inline-flex;
            }
        }
    }
    &.dr-right ul, &.dr-top-right ul {
        left: auto;
        right: 0;
        text-align: right;
    }
    &.dr-top-right ul, &.dr-top-left ul {
        top: auto;
        bottom: 100%;
        transform-origin: bottom center;
        transform: perspective(300px) rotateX(90deg);
    }
    &:hover {
        .current--item label:after {
            @include transform(scaleY(-1));
        }
        .current--item + ul {
            margin-top: 0;
            transform: perspective(300px) rotateX(0deg);
        }
    }
}

// Play Video
.btn-video {
    min-width: 75px;
    width: 75px;
    height: 75px;
    line-height: 75px;
    text-align: center;
    color: #fff;
    font-size: 20px;
    position: relative;
    z-index: 1;
    display: inline-flex;
    justify-content: center;
    &.style-divider {
        &:before {
            background-color: $primary_color;
            border-radius: 100%;
            @extend .pxl-spill;
            z-index: -1;
        }
        .line-video-animation {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 1px solid rgba(#fff, 0.55);
            @include border-radius(100%);
            animation: pxl_squares 3.9s linear 0s infinite;
            -webkit-animation: pxl_squares 3.9s linear 0s infinite;
            -ms-animation: pxl_squares 3.9s linear 0s infinite;
            -o-animation: pxl_squares 3.9s linear 0s infinite;
            -webkit-animation-play-state: running;
            -moz-animation-play-state: running;
            -o-animation-play-state: running;
            animation-play-state: running;
            opacity: 0;
            &.line-video-2 {
                -webkit-animation-delay: 1.3s;
                -moz-animation-delay: 1.3s;
                -o-animation-delay: 1.3s;
                animation-delay: 1.3s;
            }
            &.line-video-3 {
                -webkit-animation-delay: 2.6s;
                -moz-animation-delay: 2.6s;
                -o-animation-delay: 2.6s;
                animation-delay: 2.6s;
            }
        }
        &:hover, &:focus {
            color: #fff;
            .line-video-animation {
                -webkit-animation-play-state: paused;
                -moz-animation-play-state: paused;
                -o-animation-play-state: paused;
                animation-play-state: paused;
            }
        }
    }
}

// Showcase Grid
.pxl-mega-menu .pxl-showcase-grid1 .pxl-grid-inner {
    height: auto !important;
    .pxl-grid-item {
        position: static !important;
    }
    .grid-sizer {
        display: none;
    }
}
.pxl-showcase-grid {
    text-align: center;
    .pxl-item--image {
        position: relative;
        overflow: hidden;
        border-radius: 5px;
        @include box-shadow(0 10px 20px rgba(#8997BA, 0.25));
        margin-bottom: 22px;
        &:before {
            @extend .pxl-spill;
            background-color: #1C2539;
            @include transition(all 250ms linear 0ms);
            opacity: 0;
        }
    }
    .pxl-item--buttons {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        @include transform(translate(0, -50%));
        z-index: 99;
        .btn {
            color: #fff;
            line-height: 44px;
            padding: 0 22px;
            font-size: 15px;
            font-weight: 700;
            @extend .ft-theme-default;
            min-width: 125px;
        }
        .pxl-item--button {
            opacity: 0;
            @include transition(all 250ms linear 0ms);
            &:nth-child(1) {
                transform: translateY(-20px);
            }
            &:nth-child(2) {
                transform: translateY(20px);
            }
            + .pxl-item--button {
                margin-top: 12px;
            }
            .btn-secondary {
                background-color: $secondary_color;
                &:hover {
                    background-color: $primary_color;
                }
            }
        }
    }
    .pxl-item--title {
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 0;
        color: #1C2539;
        a {
            color: inherit;
            font-size: inherit;
            font-family: inherit;
            font-weight: inherit;
        }
    }
    .pxl-item--inner {
        margin-bottom: 34px;
        &:hover, &.item-active {
            .pxl-item--buttons .pxl-item--button {
                transform: translateY(0px);
                opacity: 1;
            }
            .pxl-item--image:before {
                opacity: 0.76;
            }
        }
    }
}

// Project Info
.pxl-project-info1 {
    background-color: #fff;
    @include border-radius(10px);
    @include box-shadow(0 10px 21px rgba(#1B1212, 0.05));
    overflow: hidden;
    .pxl-item--title {
        margin-bottom: 0;
        background-color: $secondary_color;
        color: $primary_color;
        padding: 24px 38px;
        @media #{$max-lg} {
            padding-left: 28px;
            padding-right: 28px;
            font-size: 20px;
        }
    }
    .pxl--meta {
        @media #{$max-lg} {
            font-size: 16px;
        }
        label {
            color: #777777;
        }
        span {
            display: block;
            @extend .ft-theme-default;
            color: $color_dark;
            font-weight: 700;
            margin-top: 2px;
        }
    }
    .pxl--icon {
        min-width: 50px;
        width: 50px;
        height: 50px;
        border-radius: 50px;
        background-color: #{'rgba(var(--primary-color-rgb),0.12)'};
        line-height: 50px;
        text-align: center;
        color: $primary_color;
        font-size: 17px;
    }
    .pxl--holder {
        padding: 42px 38px;
        @media #{$max-lg} {
            padding-left: 28px;
            padding-right: 28px;
        }
    }
    .pxl--item {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        padding-bottom: 26px;
        margin-bottom: 26px;
        border-bottom: 1px solid #E9E9E9;
        &:last-child {
            border-bottom: none;
            padding-bottom: 0;
            margin-bottom: 0;
        }
    }
}

.pxl-align--center {
    transform: translate(-50%, 0);
}

// Contact Info
.pxl-contact-info1 {
    background-color: $primary_color;
    padding: 20px 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
    &:before {
        content: '';
        border: 1px solid rgba(#fff, 0.85);
        position: absolute;
        top: 6px;
        right: 6px;
        bottom: 6px;
        left: 6px;
        z-index: -1;
    }
    .pxl-item--icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 42px;
        background-color: #fff;
        line-height: 42px;
        text-align: center;
        font-size: 20px;
        color: $primary_color;
    }
    .pxl-item--subtitle {
        margin-bottom: 9px;
        font-size: 12px;
        text-transform: uppercase;
        color: #fff;
        letter-spacing: -0.18px;
    }
    .pxl-item--title {
        margin-bottom: 0;
        font-size: 18px;
        color: #fff;
    }
    .pxl-item--inner {
        display: flex;
        flex-wrap: nowrap;
    }
    .pxl-item--link {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 99;
    }
}

.pxl-contact-info2 {
    .pxl-item--image {
        width: 72px;
        min-width: 72px;
        img {
            border-radius: 300px;
        }
    }
    .pxl-item--title {
        margin-bottom: 5px;
    }
    .pxl-item--subtitle {
        font-size: 17px;
        color: $primary_color;
    }
}

// List
.pxl-list {
    .pxl-item--icon {
        i {
            color: $primary_color;
        }
        svg {
            fill: $primary_color;
        }
    }
    .pxl--item {
        display: flex;
        flex-wrap: nowrap;
        + .pxl--item {
            margin-top: 7px;
        }
    }
}

// Process
.pxl-process1 {
    .pxl-item--step {
        width: 39px;
        min-width: 39px;
        height: 39px;
        line-height: 39px;
        text-align: center;
        border-radius: 39px;
        background-color: #fff;
        color: $primary_color;
        font-size: 20px;
        font-weight: 700;
        @extend .ft-theme-default;
        @include box-shadow(0 10px 20px rgba(#8997BA, 0.25));
    }
    .pxl-item--meta {
        margin-top: 7px;
        .pxl-item--title {
            margin-bottom: 12px;
        }
    }
    .pxl-item--inner {
        display: flex;
        flex-wrap: nowrap;
    }
}

.pxl-process2 {
    text-align: center;
    .pxl-item--image {
        width: 195px;
        margin: 0 auto 35px auto;
        position: relative;
        img {
            @include border-radius(195px);
        }
    }
    .pxl-item--step {
        position: absolute;
        top: 15px;
        left: -5px;
        font-size: 20px;
        font-weight: 700;
        color: #fff;
        width: 51px;
        height: 51px;
        line-height: 51px;
        border-radius: 51px;
        background-color: $primary_color;
        box-shadow: 0 0 0 5px rgba(#FFEEEF, 0.6);
    }
    .pxl-item--title {
        margin-bottom: 14px;
    }
    .pxl-item--inner:hover {
        .pxl-item--step {
            animation: pxl_bounce 800ms ease-out infinite;
            -webkit-animation: pxl_bounce 800ms ease-out infinite;
        }
    }
}

.pxl-process3 {
    .pxl-item--step {
        position: absolute;
        bottom: 95px;
        right: -27px;
        font-size: 18px;
        font-weight: 700;
        @extend .ft-theme-default;
        width: 54px;
        height: 54px;
        border-radius: 54px;
        background-color: #fff;
        color: $primary_color;
        line-height: 54px;
        box-shadow: 0 10px 20px rgba(#717E9D, 0.6);
        display: inline-flex;
        justify-content: center;
        align-items: center;
        @media #{$max-md} {
            right: auto;
            bottom: auto;
            top: -27px;
            left: 50%;
            margin-left: -27px;
        }
        span {
            display: block;
            width: 36px;
            height: 36px;
            line-height: 36px;
            border-radius: 36px;
            box-shadow: 0 10px 20px rgba(#49587C, 0.4);
        }
        &.pos-left {
            right: auto;
            left: -27px;
            @media #{$max-md} {
                left: 50%;
            }
        }
    }
    .pxl-item--image {
        display: inline-flex;
        position: relative;
        margin-bottom: 40px;
    }
    .pxl-item--title {
        margin-bottom: 10px;
        color: #2E3D62;
    }
    .pxl-item--description {
        color: #677788;
        font-size: 17px;
        line-height: 1.588;
    }
    .pxl-item--inner {
        text-align: center;
    }
}

.ld-process1 .pxl-process1 {
    .pxl-item--step {
        width: 39px;
        height: 39px;
        line-height: 39px;
        background-color: $primary_color;
        color: #fff;
        box-shadow: none;
    }
    .pxl-item--meta {
        margin-top: 4px;
        .pxl-item--title {
            margin-bottom: 9px;
        }
    }
}

// Social Share
.pxl-social-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    label {
        color: $color_dark;
        font-weight: 700;
        font-size: 14px;
        @extend .ft-theme-default;
    }
    .pxl-social--list {
        margin: 0 -4px;
        a {
            display: inline-flex;
            width: 37px;
            height: 37px;
            border-radius: 37px;
            justify-content: center;
            line-height: 37px;
            color: #fff;
            font-size: 15px;
            margin: 4px;
            &:hover {
                opacity: 0.8;
            }
            &.fb-social {
                background-color: #284BAF;
            }
            &.tw-social {
                background-color: #18A6F0;
            }
            &.pin-social {
                background-color: #A91010;
            }
            &.lin-social {
                background-color: #0a66c2;
            }
        }
    }
}

// Countdown
.pxl-countdown-layout1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    @extend .ft-theme-default;
    font-weight: 700;
    .countdown-amount {
        color: #000;
        font-size: 48px;
        line-height: 1;
        @media #{$max-sm} {
            font-size: 30px;
        }
    }
    .countdown-period {
        font-size: 20px;
        text-transform: uppercase;
        color: $primary_color;
        @media #{$max-sm} {
            font-size: 15px;
        }
    }
    .countdown-item-holder {
        text-align: center;
        min-width: 70px;
        margin: 0 17px;
        position: relative;
        @media #{$max-sm} {
            min-width: 40px;
            margin: 0 10px;
        }
    }
    .countdown-item + .countdown-item .countdown-amount:before {
        content: ':';
        position: absolute;
        top: -5px;
        left: -22px;
        @media #{$max-sm} {
            display: none;
        }
    }
}

// Image Box
.pxl-image-box1 {
    .pxl-item--icon {
        @include box-shadow(0 10px 20px rgba(#8997BA, 0.2));
        width: 90px;
        height: 90px;
        border-radius: 15px;
        background-color: #fff;
        font-size: 41px;
        color: $primary_color;
        margin: -99px auto 27px auto;
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        z-index: 99;
        svg {
            height: 41px;
        }
        i, svg {
            @include transition(all 220ms linear 0ms);
        }
    }
    .pxl-item--holder {
        border: 1px solid #E1E9F4;
        border-radius: 10px;
        background-color: #fff;
        padding: 54px 20px;
        text-align: center;
        @include transition(all 220ms linear 0ms);
    }
    .pxl-item--image {
        img {
            width: 100%;
            border-radius: 10px 10px 0 0;
        }
        + .pxl-item--holder {
            border-radius: 0 0 10px 10px;
            border-top: none;
        }
    }
    .pxl-item--title {
        margin-bottom: 14px;
    }
    .pxl-banner-inner {
        @include transition(all 220ms linear 0ms);
        border-radius: 10px;
        &:hover {
            @include box-shadow(0 10px 60px rgba(#8997BA, 0.15));
            .pxl-item--holder {
                border-color: #fff;
            }
            i, svg {
                @include transform(rotateY(360deg));
            }
        }
    }
}

// Contact Form
.pxl-contact-form {
    &.btn-w-full {
        button, .wpcf7-submit {
            width: 100%;
        }
    }
    .wpcf7-form-control-wrap {
        display: inline-flex;
        flex-wrap: wrap;
        width: 100%;
        position: relative;
        margin-bottom: 30px;
        .wpcf7-not-valid-tip {
            font-size: 12px;
            background-color: #dc3232;
            color: rgba(255,255,255,0.87);
            padding: 0 6px;
            border-radius: 0px;
            line-height: 22px;
            z-index: 99;
            position: absolute;
            top: -30px;
            right: 0;
            &:before {
                content: '';
                position: absolute;
                top: 100%;
                border-width: 5px;
                border-color: #dc3232 transparent transparent;
                border-style: solid;
                right: 10px;
            }
        }
    }
    .pxl--item > p {
        margin-bottom: 0;
    }
    form {
        position: relative;
        .wpcf7-response-output {
            margin: 30px 0 10px;
            border: none;
            background-color: rgba(#fff, 0.67);
            border-radius: 5px;
            font-size: 14px;
            padding: 12px 20px;
            @include box-shadow(0 0 13px rgba(#9a9a9a, 0.13));
        }
        .wpcf7-spinner {
            display: none;
        }
        &:before {
            content: '';
            width: 30px;
            height: 30px;
            @include border-radius(100%);
            border-color: transparent $primary_color transparent $primary_color;
            border-width: 2px;
            border-style: solid;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
            animation: pxl_spin .6s infinite linear;
            -webkit-animation: pxl_spin .6s infinite linear;
            box-sizing: border-box;
            z-index: 2;
            @include transition(all .25s cubic-bezier(.645,.045,.355,1));
            visibility: hidden;
        }
        &.submitting {
            * {
                opacity: 0.66;
            }
            &:before {
                opacity: 1;
                visibility: visible;
            }
        }
    }
    .pxl--form-icon {
        position: absolute;
        top: 50%;
        z-index: 1;
        right: 0;
        margin: 0 20px;
        @include transform(translate(0, -50%));
        color: #E1E9F4;
        font-size: 22px;
    }
}

// Search
// Widget Search Icon 
.pxl-search-popup-button, .pxl-cart-sidebar-button {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #09013f;
    @include transition(all .25s cubic-bezier(.645,.045,.355,1));
    cursor: pointer;
    font-size: 21px;
    position: relative;
}

.pxl-search-popup-button {
    &.style-box {
        width: 47px;
        height: 47px;
        background-color: $primary_color;
        line-height: 47px;
        color: #fff;
        font-size: 18px;
    }
}

.pxl-widget-searchform .searchform-wrap {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    position: relative;
    .search-field {
        font-size: 16px;
        color: $primary_color;
        width: 140px;
        padding-left: 55px;
        padding-right: 15px;
        background-color: #{'rgba(var(--primary-color-rgb),0.08)'};
        border: none;
        height: 50px;
        border-radius: 50px;
        @include transition(all 220ms linear 0ms);
        &:focus {
            width: 165px;
        }
    }
    .search-submit {
        width: 36px;
        min-width: 36px;
        height: 50px;
        line-height: 50px;
        text-align: center;
        font-size: 16px;
        color: $primary_color;
        font-weight: normal;
        background-color: transparent;
        position: absolute;
        top: 0;
        left: 20px;
        padding: 0;
    }
}

// Hidden Panel
.pxl-hidden-panel-button {
    &.style-1 {
        width: 45px;
        height: 45px;
        min-width: 45px;
        background-color: $secondary_color;
        border-radius: 45px;
        position: relative;
        .pxl-icon-round {
            width: 16px;
            height: 16px;
            position: absolute;
            @extend .pxl-middle;
            span {
                width: 4px;
                height: 4px;
                background-color: $primary_color;
                border-radius: 4px;
                position: absolute;
                @include transition(all 220ms linear 0ms);
            }
            .pxl-icon-round1 {
                top: 0;
                left: 0;
            }
            .pxl-icon-round2 {
                top: 0;
                left: 6px;
            }
            .pxl-icon-round3 {
                top: 0;
                right: 0;
            }
            .pxl-icon-round4 {
                top: 6px;
                left: 0;
            }
            .pxl-icon-round5 {
                top: 6px;
                left: 6px;
            }
            .pxl-icon-round6 {
                top: 6px;
                right: 0;
            }
            .pxl-icon-round7 {
                bottom: 0;
                left: 0;
            }
            .pxl-icon-round8 {
                bottom: 0;
                left: 6px;
            }
            .pxl-icon-round9 {
                bottom: 0;
                right: 0;
            }
        }
        &:hover .pxl-icon-round {
            .pxl-icon-round1, .pxl-icon-round4, .pxl-icon-round7 {
                transform: translateX(12px);
            }
            .pxl-icon-round3, .pxl-icon-round6, .pxl-icon-round9 {
                transform: translateX(-12px);
            }
        }
    }
    &.style-2 {
        position: relative;
        width: 56px;
        height: 56px;
        border-radius: 15px;
        background-color: #E6EEFB;
        .pxl-icon-square {
            width: 24px;
            height: 24px;
            position: absolute;
            top: 50%;
            left: 50%;
            @include transform(translate(-50%, -50%));
            overflow: hidden;
            span {
                width: 24px;
                height: 2px;
                position: absolute;
                background-color: #518CF5;
                left: 0;
                right: 0;
                @include transition(all 220ms linear 0ms);
            }
            .pxl-icon-square1 {
                top: 4px;
            }
            .pxl-icon-square2 {
                top: 11px;
            }
            .pxl-icon-square3 {
                bottom: 4px;
            }
        }
        &.active .pxl-icon-square {
            .pxl-icon-square1 {
                top: 11px;
                transform: rotate(45deg);
            }
            .pxl-icon-square2 {
                left: 100%;
            }
            .pxl-icon-square3 {
                bottom: 11px;
                transform: rotate(-45deg);
            }
        }
    }
    &.style-3 {
        position: relative;
        width: 24px;
        height: 24px;
        background-color: transparent;
        .pxl-icon-square {
            width: 24px;
            height: 24px;
            position: absolute;
            top: 50%;
            left: 50%;
            @include transform(translate(-50%, -50%));
            overflow: hidden;
            span {
                width: 24px;
                height: 2px;
                position: absolute;
                background-color: $primary_color;
                left: 0;
                right: 0;
                @include transition(all 220ms linear 0ms);
            }
            .pxl-icon-square1 {
                top: 4px;
            }
            .pxl-icon-square2 {
                top: 11px;
            }
            .pxl-icon-square3 {
                bottom: 4px;
            }
        }
        &.active .pxl-icon-square {
            .pxl-icon-square1 {
                top: 11px;
                transform: rotate(45deg);
            }
            .pxl-icon-square2 {
                left: 100%;
            }
            .pxl-icon-square3 {
                bottom: 11px;
                transform: rotate(-45deg);
            }
        }
    }
}

// Banner Box
.pxl-banner1 {
    .pxl-item--image {
        position: relative;
        padding-right: 108px;
        z-index: 1;
        @media #{$max-lg} {
            padding-right: 50px;
        }
        @media #{$max-sm} {
            padding-right: 30px;
        }
        .pxl-item--imgprimary img {
            width: 100%;
            border-radius: 10px;
        }
    }
    .pxl-item--imgsecondary {
        position: absolute;
        top: 110px;
        right: 0;
        @media #{$max-lg} {
            top: 60px;
            img {
                max-height: 320px;
                width: auto;
            }
        }
    }
    .pxl-item--shape {
        position: absolute;
        top: 4px;
        right: 8px;
        z-index: -1;
    }
    .pxl-item--meta {
        position: absolute;
        right: 68px;
        bottom: -15px;
        width: 116px;
        background-color: $primary_color;
        padding: 14px 5px 16px;
        color: #fff;
        text-align: center;
        @extend .ft-theme-default;
        z-index: 99;
        font-weight: 700;
        .pxl--counter-number {
            font-size: 48px;
            line-height: 1;
        }
        .pxl-item--title {
            font-size: 16px;
            line-height: 1.2;
        }
        svg {
            position: absolute;
            bottom: 0;
            left: -35px;
            height: 15px;
            path {
                fill: darken($primary_color_hex, 0.14);
            }
        }
    }
}

.pxl-banner2 {
    .pxl-item--title {
        margin-bottom: 0;
        color: $primary_color;
        line-height: 1.4;
    }
    .pxl--counter-number {
        min-width: 74px;
        width: 74px;
        height: 74px;
        background-color: red;
        display: inline-flex;
        border-radius: 74px;
        justify-content: center;
        align-items: center;
        font-size: 40px;
        font-weight: 700;
        color: #fff;
        @include background-horizontal(#FF8008, #FFC837);
        @extend .ft-theme-default;
        margin: 13px 23px 13px 13px;
    }
    .pxl-item--meta {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        background-color: #fff;
        border-radius: 102px 0 0 102px;
        border-right: 7px solid #FF9415;
        position: absolute;
        bottom: -51px;
        right: 70px;
        box-shadow: 0 10px 60px rgba(#49587C, 0.1);
        padding-right: 35px;
        @media #{$max-sm} {
            right: auto;
            left: 0;
        }
    }
    .pxl-banner-inner {
        position: relative;
    }
}

// Client Review
.pxl-client-review1 {
    .pxl-item--inner > div {
        margin-top: 30px;
        @media #{$max-sm} {
            width: 100%;
            padding: 0;
            justify-content: center;
            text-align: center;
        }
    }
    .pxl-item--images {
        display: flex;
        flex-wrap: wrap;
        .pxl-item--img {
            width: 67px;
            min-width: 67px;
            margin-right: -20px;
            @include transition(all 220ms linear 0ms);
            img {
                border-radius: 67px;
                border: 4px solid #fff;
                @include box-shadow(0 10px 60px rgba(#8997BA, 0.15));
            }
            &:nth-child(1) {
                z-index: 6;
            }
            &:nth-child(2) {
                z-index: 5;
            }
            &:nth-child(3) {
                z-index: 4;
            }
            &:nth-child(4) {
                z-index: 3;
            }
            &:nth-child(5) {
                z-index: 2;
            }
            &:nth-child(6) {
                z-index: 1;
            }
            &:hover {
                z-index: 7;
                transform: scale(1.12);
            }
        }
    }
    .pxl--counter-number {
        line-height: 1;
        font-size: 24px;
        font-weight: 700;
        @extend .ft-theme-default;
        color: $primary_color;
        margin-top: 1px;
    }
    .pxl-item--rate {
        @extend .ft-theme-default;
        font-size: 30px;
        font-weight: 700;
        color: #1C2539;
        line-height: 1;
        flex-grow: 1;
        text-align: center;
        padding: 12px 10px;
        background: linear-gradient(90deg, rgba(255,255,255,08) 0%, #{'rgba(var(--primary-color-rgb),0.08)'} 50%, rgba(255,255,255,08) 100%);
        span.text-gradient {
            font-weight: 900;
            font-size: 60px;
            display: inline-flex;
            background-color: transparent;
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            + span {
                position: relative;
                top: -4px;
            }
        }
    }
    .pxl-item--title {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.15;
        margin-top: -1px;
    }
    .pxl-item--meta {
        flex-grow: 1;
    }
    .pxl-item--inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
}

.pxl-client-review2 {
    .pxl-item--title {
        margin-bottom: 0px;
        color: #2E3D62;
    }
    .pxl-item--meta {
        font-size: 20px;
        color: #829EBC;
        .pxl--counter-number {
            color: $primary_color;
        }
    }
    .pxl-item--images {
        display: flex;
        flex-wrap: nowrap;
        padding-left: 13px;
        margin-bottom: 11px;
        > div {
            width: 57px;
            min-width: 57px;
            margin-left: -15px;
            @include transition(all 220ms linear 0ms);
            img {
                border-radius: 57px;
                border: 2.5px solid #fff;
            }
        }
    }
    .pxl-item--link {
        width: 57px;
        height: 57px;
        min-width: 57px;
        @include background-horizontal($gradient_color_from, $gradient_color_to);
        border: 2.5px solid #fff;
        border-radius: 57px;
        margin-left: -15px;
        position: relative;
        .pxl-icon--plus {
            width: 17px;
            height: 17px;
            @extend .pxl-middle;
            &:before, &:after {
                background-color: #fff;
            }
            &:before {
                width: 17px;
                height: 3px;
                top: 7px;
            }
            &:after {
                width: 3px;
                height: 17px;
                left: 7px;
            }
        }
    }
    .pxl-item--inner {
        background-color: #fff;
        border-radius: 15px;
        padding: 38px 40px 36px;
        box-shadow: 0 5px 25px rgba(#B3C3D2, 0.15);
    }
}

.pxl-case-carousel1 {
    padding: 67px 50px 68px 60px;
    background-color: $primary_color;
    border-radius: 15px;
    color: #fff;
    @media #{$max-lg} {
        padding: 50px 30px;
    }
    .pxl-item--subtitle {
        font-size: 16px;
        text-transform: uppercase;
        font-weight: 500;
        letter-spacing: 2px;
        margin-bottom: 4px;
    }
    .pxl-item--title {
        margin-bottom: 24px;
        font-size: 30px;
        line-height: 1.34;
        color: #fff;
        @media #{$max-lg} {
            font-size: 24px;
        }
    }
    .btn.btn-effect2 {
        font-size: 17px;
        line-height: 56px;
        padding: 0 41px;
        color: #1C2539;
        background-color: $secondary_color;
        margin-top: 36px;
        @media #{$max-lg} {
            padding: 0 38px;
            line-height: 52px;
            font-size: 16px;
        }
        &:before {
            background-color: #fff;
        }
        &:hover {
            color: #fff;
            background-color: $secondary_color;
        }
    }
    .pxl-swiper-dots {
        position: absolute;
        bottom: 65px;
        right: 55px;
        z-index: 99;
        @media #{$max-lg} {
            bottom: 50px;
            right: 30px;
        }
        @media #{$max-sm} {
            position: static;
            margin-top: 30px;
        }
        &.style-3.pxl-swiper-pagination-bullets span {
            background-color: #fff;
            &.swiper-pagination-bullet-active {
                background-color: transparent;
                box-shadow: 0 0 0 4px #fff;
            }
        }
    }
}

@media #{$mm-md-1} {
    .pxl-fullheight--md {
        .elementor-widget-container, .elementor-widget-wrap {
            height: 100%;
            > div {
                height: 100%;
                .pxl-video--inner, .pxl-video--holder, .pxl-video--imagebg {
                    height: 100% !important;
                }
            }
        }
    }
}

// Partner Carousel
.pxl-partner-carousel1 {
    .pxl-item--logo {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        &:hover a {
            @include transform(translateY(-4px));
        }
    }
    .pxl-item--inner {
        margin: 10px 0;
    }
    .pxl-swiper-wrapper {
        align-items: center;
    }
    &.style-2 {
        .pxl-item--logo {
            img {
                @include transition(all 300ms linear 0ms);
                filter: grayscale(100%);
            }
            &:hover img {
                filter: grayscale(0%);
            }
        }
    }
}

// BR Showcase
.pxl-showcase {
    .pxl-item--buttons {
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        @include transform(translate(0, -50%));
        text-align: center;
        z-index: 100;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 40px;
        .btn {
            padding: 0 20px;
            min-width: 140px;
            @media #{$max-sm} {
                min-width: inherit;
                padding: 0 16px;
                font-size: 14px;
                line-height: 46px;
            }
        }
        .pxl-item--readmore {
            margin: 0 5px;
            opacity: 0;
            @include transition(all 0.5s ease);
            &:nth-child(1) {
                @include transform(translate(-40px, 0px));
            }
            &:nth-child(2) {
                @include transform(translate(40px, 0px));
            }
        }
    }
    .pxl-item--meta {
        position: absolute;
        top: 40px;
        left: 40px;
        z-index: 99;
        @include transition(all 0.5s ease);
        @media #{$max-lg} {
            left: 25px;
        }
        .pxl-item--title {
            margin-bottom: 0;
            font-size: 24px;
            color: $primary_color;
            white-space: nowrap;
            @media #{$max-lg} {
                font-size: 20px;
            }
        }
        .pxl-item--subtitle {
            font-size: 14px;
            color: #fff;
            font-weight: 700;
            white-space: nowrap;
        }
    }
    .pxl-item--colleft, .pxl-item--colright {
        width: 50%;
        padding: 0 7px;
        @include transition(all 0.5s ease);
        @media #{$max-lg} {
            padding: 0 5px;
        }
        img {
            @include transition(all 0.5s ease);
        }
    }
    .pxl-item--colleft {
        @include transform(translate(0, 75px));
    }
    .pxl-item--colright {
        @media #{$max-lg} {
            @include transform(translate(0, 55px));
        }
    }
    .pxl-item--overlay {
        z-index: 88;
        @extend .pxl-spill;
        @include transition(all 0.5s ease);
        background-color: #1C2539;
        opacity: 0;
    }
    .pxl-item--inner {
        background-color: #1C2539;
        padding: 46px 33px 0 33px;
        overflow: hidden;
        position: relative;
        display: flex;
        flex-wrap: wrap;
        @media #{$max-lg} {
            padding-left: 20px;
            padding-right: 20px;
        }
        @media #{$max-sm} {
            padding-top: 66px;
        }
    }
    .pxl-item--inner:hover, &.item-active .pxl-item--inner {
        .pxl-item--overlay {
            opacity: 0.6;
        }
        .pxl-item--colleft, .pxl-item--colright {
            img {
                filter: blur(4px);
            }
        }
        .pxl-item--colleft {
            @include transform(translate(0, 0px));
        }
        .pxl-item--colright {
            @include transform(translate(0, 75px));
        }
        .pxl-item--meta {
            text-align: center;
            top: 50%;
            left: 50%;
            @include transform(translate(-50%, -50%));
            margin-top: -50px;
        }
        .pxl-item--buttons {
            .pxl-item--readmore {
                opacity: 1;
                @include transform(translate(0px, 0px));
            }
        }
        .pxl-item--colright {
            @media #{$max-lg} {
                @include transform(translate(0, 0px));
            }
        }
    }
}

.pxl-section-border1 {
    z-index: 1;
    &:before {
        content: '';
        position: absolute;
        top: 23px;
        right: 23px;
        bottom: 23px;
        left: 23px;
        border: 1px dashed #fff;
        z-index: -1;
        border-radius: inherit;
        @media #{$max-sm} {
            display: none;
        }
    }
}

.pxl-dot-active-third {
    .pxl-swiper-dots.style-1.pxl-swiper-pagination-bullets span.swiper-pagination-bullet-active, .pxl-swiper-dots.style-1.pxl-swiper-pagination-bullets span:hover {
        background-color: $third_color;
    }
}

// Process Carousel
.pxl-process-carousel1 {
    position: relative;
    &:before {
        border-top: 1px dashed #9DAFBD;
        content: '';
        position: absolute;
        top: 5px;
        width: 100%;
        height: 0;
    }
    .pxl-item--img {
        max-width: 195px;
        position: relative;
        display: inline-flex;
        margin-bottom: 24px;
        img {
            border-radius: 195px;
        }
    }
    .pxl-item--divider {
        height: 91px;
        width: 0;
        border-left: 1px dashed #9DAFBD;
        position: absolute;
        top: -76px;
        left: 23px;
        &:before {
            content: '';
            width: 10px;
            height: 10px;
            border-radius: 10px;
            background-color: $secondary_color;
            position: absolute;
            top: -5px;
            left: -6px;
        }
        svg {
            fill: $secondary_color;
            position: absolute;
            top: 55px;
            left: -8px;
        }
    }
    .pxl-item--number {
        position: absolute;
        top: 15px;
        left: -4px;
        width: 51px;
        height: 51px;
        line-height: 51px;
        font-size: 20px;
        background-color: $secondary_color;
        color: $primary_color;
        font-weight: 700;
        @extend .ft-theme-default;
        border-radius: 51px;
        box-shadow: 0 0 0 5px rgba(#CFDDE8, 0.6);
    }
    .pxl-item--title {
        margin-bottom: 12px;
        color: #012F5B;
    }
    .pxl-item--description {
        color: #677788;
        @media #{$max-md} {
            font-size: 16px;
        }
    }
    .pxl-item--inner {
        margin-top: 5px;
        text-align: center;
        padding-top: 76px;
    }
}

/* Nav Carousel */
.pxl-navigation-carousel {
    display: inline-flex;
    .pxl-navigation-arrow {
        width: 55px;
        height: 55px;
        background-color: #fff;
        border-radius: 55px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        color: $primary_color;
        margin: 5px;
        cursor: pointer;
        @include transition(all 300ms linear 0ms);
        &:hover {
            background-color: $secondary_color;
            color: #fff;
        }
    }
}

.pxl-row-custom-bg .pxl-overlay--image {
    @media #{$max-xxl} {
        left: 30px !important;
        right: 30px !important;
    }
    @media #{$max-lg2} {
        left: 0px !important;
        right: 0px !important;
    }
}

body.rtl {
    .pxl-language-switcher1 .current--item img {
        margin-right: 0;
        margin-left: 9px;
    }
    .pxl-language-switcher1 .current--item label::after {
        margin-right: 8px;
        margin-left: 0;
    }
    .pxl-link.style-box i {
        margin-right: 0;
        margin-left: 18px;
    }
    .pxl-link.style-box a::after {
        right: auto;
        left: 27px;
        transform: scaleX(-1);
        @media #{$max-lg} {
            right: auto;
            left: 20px;
        }
    }
    .pxl-contact-form .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
        right: auto;
        left: 0;
        &:before {
            right: auto;
            left: 10px;
        }
    }
    .pxl-widget-searchform .searchform-wrap .search-field {
        padding-right: 55px;
        padding-left: 15px;
    }
    .pxl-widget-searchform .searchform-wrap .search-submit {
        left: auto;
        right: 20px;
    }
    .pxl-process2 .pxl-item--step {
        left: auto;
        right: -5px;
    }
}   