@import '../abstracts/variables';
// -----------------------------------------------------------------------------
// This file contains very basic styles.
// -----------------------------------------------------------------------------

//  Layout - General
// -----------------------------------------------------

@include spacing-element();
@include spacing-element-negative();

// header {
//     // @include spacing-element();
//     // @include spacing-element-negative();
// }

aside {
    // padding: 0 0 0 $double-content-padding;
    z-index: $z-index-medium + 1;

    .settings-bar-container {
        // position: fixed;
        z-index: $z-index-medium + 1;
        // width: calc(#{$side-layout-width} - #{$double-content-padding});
        width: $side-layout-width;
        padding: 0 0 0 $double-content-padding;

        .header-content {
            z-index: $z-index-medium + 1;
            position: fixed;
            width: calc(#{$side-layout-width} - #{$double-content-padding});
            height: $top-bar-height;
            padding-top: $top-bar-spacing-top;

            .content {
                height: $top-bar-height-with-no-top;
                display: flex;
                align-items: center;
            }
        }

        .main-content {
            position: fixed;
            // width: calc(#{$side-layout-width} - #{$double-content-padding});
            width: calc(#{$side-layout-width} - #{$content-padding});
            height: inherit;
            padding-top: $top-bar-height;
            margin-right: calc(#{$content-padding} * -1);
            margin-left: calc(#{$content-padding} * -1);
            display: block;

            .content {
                height: 100%;
                padding-top: $spacing-md;
                padding-left: $content-padding;
                padding-right: $content-padding;
            }
        }

        @media (max-width: $screen-max-size-md) {
            width: 0 !important;
            padding: 0 !important;
        }
    }
}
[dir='rtl'] {
    aside {
        // padding: 0 $double-content-padding 0 0;

        .settings-bar-container {
            padding: 0 $double-content-padding 0 0;
        }
    }
}

main {
    // @include spacing-element();
    // @include spacing-element-negative();

    .side-layout {
        width: $side-layout-width;
        height: inherit;
        padding: 0;

        .content {
            margin-right: $content-margin;
            margin-left: $content-margin;
        }
    }

    .main-layout {
        @include calc(width, '100% - ' $side-layout-width);
        height: inherit;
        padding: 0;

        .content {
            height: inherit;
            margin-right: $content-margin;
            margin-left: $content-margin;
        }

        @media (max-width: $screen-max-size-xs) {
            .content {
                margin-right: 0;
                margin-left: 0;
            }
        }
    }

    @media (max-width: $screen-max-size-md) {
        .main-layout {
            width: 100%;
        }
    }

    .main-content {
        // margin-left: 16rem; // Not needed because the pull-right on the main-layout div.
        padding-top: $top-bar-height;
        margin-right: 0;
        margin-left: 0;
        display: block;

        .main-layout {
            padding: 0 $content-padding;
        }
    }

    //  Layout - Setting & Plugin pages
    // ----------------------------------------
    .plugin-page-container,
    .settings-page-container {
        display: block;
        width: 100%;

        // padding-right: $content-padding;
        // padding-left: $content-padding;

        .header-content {
            z-index: $z-index-medium + 1;
            position: fixed;
            width: calc(100% - (#{$side-layout-width}));
            // width: calc(100% - (#{$double-content-padding} + #{$double-content-margin}));

            height: $top-bar-height;
            padding-top: $top-bar-spacing-top;
            padding-right: $content-padding;
            padding-left: $content-padding;

            @media (max-width: $screen-max-size-md) {
                width: 100%;
            }

            .content {
                // height: inherit;
                height: $top-bar-height-with-no-top;
                margin-right: $content-margin;
                margin-left: $content-margin;
                display: flex;
                // align-items: center;
                justify-content: space-between;

                .title {
                    height: 100%;
                    display: flex;
                    align-items: center;
                    @include font-body($fs-md, $lh-md);
                }
            }

            @media (max-width: $screen-max-size-xs) {
                .content {
                    margin-right: 0;
                    margin-left: 0;
                }
            }
        }

        .main-content {
            display: block;
            padding-right: $content-padding;
            padding-left: $content-padding;

            .content {
                // height: auto;
                margin-top: $content-margin;
                margin-right: $content-margin;
                margin-left: $content-margin;
            }

            @media (max-width: $screen-max-size-xs) {
                .content {
                    margin-right: 0;
                    margin-left: 0;
                }
            }

            .fit-page-height {
                // height: calc (#{$main-height} - #{$tabs-labels-height});
                height: calc(100vh - calc(#{$header-height} + #{$top-bar-height} + #{$content-margin}));

                @media (max-width: $screen-max-size-md) {
                    height: calc(100vh - calc(#{$header-height} + #{$top-bar-height} + #{$content-margin} + #{$footer-bar-height}));
                }
            }

            &.limit-max-width {
                max-width: 896px;
            }
        }
    }
}

//  Floating alignment
// ------------------------
.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

[dir='rtl'] {
    .pull-right {
        float: left !important;
    }

    .pull-left {
        float: right !important;
    }
}


//  Text alignment
// ------------------------
.text-align-3 {
    text-align: center !important;
    justify-content: center !important;
}
.text-align-2 {
    text-align: right !important;
    justify-content: right !important;
}
.text-align-0,
.text-align-1 {
    text-align: left !important;
    justify-content: left !important;
}

//  Roundness
// ------------------------
.roundness-sm {
    border-radius: $border-radius-sm;
}

.roundness-md {
    border-radius: $border-radius-md;
}

.roundness-lg {
    border-radius: $border-radius-lg;
}

//  Modal - General
// -----------------------------------------------------
.modal-footer {
    .pepperi-button {
        margin: 0 $spacing-xs;
    }
}

// -----------------------------------------------------
//  Override material style
// -----------------------------------------------------
// remove the circle when checkbox clicked
.mat-ripple-element {
    display: none;
}

//  Tabs.
// -----------------------------------------------------
.mat-tab-group {
    .mat-tab-header {
        .mat-tab-labels {
            height: $tabs-labels-height;
            box-sizing: content-box;

            .mat-tab-label {
                height: inherit;
                opacity: unset;
                min-width: unset;
                padding: 0 $spacing-2xl;

                &.mat-tab-label-active {
                    font-weight: $font-weight-bold;
                }
            }
        }
    }

    $tabs-z-index: 1;

    .mat-tab-body-wrapper {
        margin: 0 calc(#{$content-margin} * -1);

        .mat-tab-body {
            z-index: $tabs-z-index - 1;
            padding-top: $content-padding;

            &:not(.mat-tab-body-active) {
                .mat-tab-body-content {
                    overflow: hidden;
                }
            }

            &.mat-tab-body-active {
                z-index: $tabs-z-index;

                .mat-tab-body-content {
                    padding: 0 $content-padding $content-padding;
                    line-height: normal;
                }
            }
        }
    }

    &.fixed-header {
        .mat-tab-header {
            width: calc(100% - (#{$side-layout-width} + #{$double-content-padding} + #{$double-content-margin}));
            position: fixed;
            z-index: $tabs-z-index + 1;

            @media (max-width: $screen-max-size-md) {
                width: calc(100% - (#{$double-content-padding} + #{$double-content-margin}));
            }

            @media (max-width: $screen-max-size-xs) {
                width: calc(100% - (#{$content-padding} + #{$content-margin}));
            }
        }

        .mat-tab-body-wrapper {
            margin-top: $tabs-labels-height;
        }
    }
}

//  Accordion.
// -----------------------------------------------------
.mat-accordion .mat-expansion-panel {
    mat-expansion-panel-header:focus {
        outline-width: 0;
    }
}

.pepperi-accordion {
    &.mat-accordion .mat-expansion-panel {
        padding: 0 $content-padding;
        margin: 0 calc(#{$content-padding} * -1);

        &:first-child {
            .mat-expansion-panel-header {
                border-radius: $spacing-xs $spacing-xs 0 0;
            }
        }

        .mat-expansion-panel-header {
            flex-flow: row-reverse;
            height: $spacing-5xl;
            padding: $spacing-lg $spacing-sm $spacing-sm;

            .mat-expansion-panel-header-title {
                display: flex;
                align-items: center;
                margin: 0;
                padding: $spacing-xs $spacing-lg;
            }

            .mat-expansion-indicator {
                // height: 1.5rem;
                display: flex;
                transform: scale(1.25) !important;

                &:after {
                    @include select-arrow();
                    border-style: unset;
                    display: unset;
                    border-width: unset;
                    transform: unset;
                    padding: unset;
                    padding-top: $spacing-xs;
                }
            }

            &.mat-expanded {
                .mat-expansion-indicator {
                    transform: rotate(180deg) scale(1.25) !important;
                }

                .mat-expansion-panel-header-title {
                    font-weight: $font-weight-bold;
                }
            }
        }

        .mat-expansion-panel-content {
            .mat-expansion-panel-body {
                padding: $content-padding 0;
            }
        }

        &:first-of-type,
        &:last-of-type {
            border-radius: 0;
        }
    }
}

.pepperi-chips {
    &.mat-accordion .mat-expansion-panel {
        $shadow-bottom: $spacing-xl;

        margin: calc(#{$spacing-sm} * -1) calc(#{$spacing-lg} * -1) $spacing-md !important;
        // margin-bottom: $spacing-md;
        border-radius: unset;

        &.mat-expansion-panel-spacing {
            margin: 0;
        }

        .mat-expansion-panel-header {
            padding: 0;

            .mat-content {
                overflow: inherit;
            }

            .mat-expansion-panel-header-title {
                flex-grow: 0;
                width: fit-content;
                height: $spacing-3xl;
                border-radius: 1.5rem; // $border-radius-md;
                padding: 0 $spacing-xl;
                margin: $spacing-sm $spacing-lg 0; // For the shadow
                display: grid;
                align-items: center;
                // margin-bottom: $shadow-bottom;
            }

            &.mat-expanded {
                .mat-expansion-panel-header-title {
                    position: absolute;
                    font-weight: $font-weight-bold;
                }
            }

            &.separator {
                height: $spacing-sm;

                .mat-expansion-panel-header-title {
                    width: 100%;
                    height: 1px;
                }
            }
        }

        .mat-expansion-panel-content {
            .mat-expansion-panel-body {
                padding: 0 calc(#{$content-padding} + #{$spacing-md});

                .expansion-content {
                    padding: 0;
                    margin-top: $spacing-md;
                    margin-bottom: 0;
                    list-style-type: disc;
                    list-style-position: inside;

                    li {
                        margin-bottom: $spacing-sm;

                        &:hover,
                        &.active {
                            cursor: pointer;
                            font-weight: $font-weight-bold;
                        }
                    }
                }
            }
        }
    }
}

// Auto complete.
// -----------------------------------------------------
.mat-autocomplete-panel {
    margin-top: $spacing-sm;
    border-radius: $border-radius-md;

    .mat-option:active {
        transition: 0.3ms;
    }
}

//  Menu.
// -----------------------------------------------------
.mat-menu-panel {
    box-sizing: content-box;

    .mat-menu-content {
        padding: 0 !important;
    }
}

//  Dialog
// -------------------------------------------------
.mat-dialog-container {
    border-radius: 0.25rem !important; // $border-radius-md
}

.pepperi-dialog {
    .mat-dialog-container {
        border-radius: 0.25rem !important; // $border-radius-md
        padding: $content-padding;
        
        .mat-dialog-title {
            height: 3rem;
            margin-bottom: 0;
        }

        .mat-dialog-content {
            padding: $content-padding 0;
            margin: 0;
            border: none;//1px solid rgba(0, 0, 0, 0.24%);
            display: grid;            
            overflow: auto;
            -webkit-overflow-scrolling: touch;
            max-height: 65vh;
            @include box-sizing(border-box);
            // grid-row: mat-dialog-content;
            // max-height: unset; // This is cause a bug in the email dialog that the actions buttons are not displayed.
        }

        .mat-dialog-actions {
            justify-content: flex-end;
            grid-row: mat-dialog-actions;
            margin-bottom: 0;
            padding: $spacing-md 0 0; // override material padding.
            min-height: unset;

            &.split-actions {
                justify-content: space-between;
            }
        }

    }
}

// -----------------------------------------------------
// Override bootstrap css.
// -----------------------------------------------------
.modal {
    z-index: $z-index-high + 1;
}
.modal-backdrop {
    z-index: $z-index-high - 2;
}

#loadingSpinner,
#loadingSpinnerModal {
    z-index: $z-index-high;
}

@mixin declare-system-base-theme($pepperi-theme) {
    .header-content {
        background: get-pepperi-color($pepperi-theme, color-system-primary-invert, color-base);
    }

    .settings-bar-container {
        background: get-pepperi-color($pepperi-theme, color-system-primary-invert, color-base);
    }

    .splitter {
        height: 1px;
        @include pepperi-border(border-bottom, $pepperi-theme);
    }

    .pepperi-border-top {
        @include pepperi-border(border-top, $pepperi-theme);
    }

    .pepperi-border-bottom {
        @include pepperi-border(border-bottom, $pepperi-theme);
    }

    .pepperi-loading-spinner {
        background-color: get-pepperi-color($pepperi-theme, color-top-header, color-base);
    }

    //  Tabs.
    // -------------------------------------------------
    .mat-tab-group {
        .mat-tab-header,
        .mat-tab-header:focus {
            border-bottom: unset !important;
        }

        .mat-tab-header {
            .mat-tab-labels {
                @include pepperi-border(border-bottom, $pepperi-theme);

                .mat-tab-label {
                    color: get-pepperi-color($pepperi-theme, color-text, color-dimmed);

                    &:hover {
                        @include state-weak-hover($pepperi-theme);
                    }

                    // Focused
                    &.cdk-focused {
                        background-color: unset;
                        @include state-weak-active($pepperi-theme);
                    }

                    &.mat-tab-label-active {
                        @include state-weak-default($pepperi-theme);
                        color: get-pepperi-color($pepperi-theme, color-text, color-main);

                        &:hover {
                            @include state-weak-hover($pepperi-theme);
                        }
                    }

                    &.mat-tab-disabled {
                        @include state-weak-disable($pepperi-theme);
                    }
                }
            }

            .mat-ink-bar {
                display: none;
            }

            // .mat-ink-bar:before { }
            // .mat-ink-bar:after { }
        }

        // .mat-tab-body-wrapper {
        //     .mat-tab-body-content {
        //     }
        // }

        &.fixed-header {
            .mat-tab-header {
                background: get-pepperi-color($pepperi-theme, color-system-primary-invert, color-base);
            }
        }
    }

    //  Accordion.
    // -----------------------------------------------------
    .pepperi-accordion {
        &.mat-accordion .mat-expansion-panel {
            box-shadow: unset;

            .mat-expansion-panel-header {
                @include pepperi-border(border-top, $pepperi-theme);

                &.mat-expanded {
                    @include pepperi-border(border-bottom, $pepperi-theme);

                    .mat-expansion-panel-header-title {
                        color: get-pepperi-color($pepperi-theme, color-text, color-main);
                    }
                }

                .mat-expansion-panel-header-title {
                    color: get-pepperi-color($pepperi-theme, color-text, color-dimmed);
                }
            }

            .mat-expansion-panel-header.cdk-keyboard-focused,
            .mat-expansion-panel-header.cdk-program-focused,
            .mat-expansion-panel-header:hover {
                @include state-weak-hover($pepperi-theme);
            }

            &:first-child {
                .mat-expansion-panel-header {
                    border-top: unset;
                }
            }

            &:last-child {
                .mat-expansion-panel-header {
                    @include pepperi-border(border-bottom, $pepperi-theme);
                }
            }
        }
    }

    //  Accordion - chips.
    // -----------------------------------------------------
    .pepperi-chips {
        &.mat-accordion .mat-expansion-panel {
            box-shadow: unset;

            .mat-expansion-panel-header:not(.separator) {
                &:hover {
                    background: unset;
                }

                &.mat-expanded {
                    .mat-expansion-panel-header-title {
                        @include state-weak-active($pepperi-theme);
                        background: get-pepperi-color($pepperi-theme, color-system-primary-invert, color-base);
                        @include inline(get-pepperi-color($pepperi-theme, color-text, color-main));
                        box-shadow: get-pepperi-shadow($pepperi-theme, shadow-md, soft);
                    }
                }

                .mat-expansion-panel-header-title {
                    @include state-weak-default($pepperi-theme);

                    &:hover {
                        @include state-weak-hover($pepperi-theme);
                    }
                }
            }

            .mat-expansion-panel-body {
                .expansion-content {
                    li {
                        color: get-pepperi-color($pepperi-theme, color-text, color-dimmed);

                        &:hover,
                        &.active {
                            color: get-pepperi-color($pepperi-theme, color-text, color-main);
                        }
                    }
                }
            }
        }
    }

    // Auto complete.
    // -------------------------------------------------
    .mat-autocomplete-panel {
        @include pepperi-border(border, $pepperi-theme);

        .mat-option:active {
            background: get-pepperi-color($pepperi-theme, color-system-primary, color-tran-40) !important;
        }
    }

    // Modals overlay pane
    // -------------------------------------------------
    // .cdk-overlay-pane {
    //     // box-shadow: get-pepperi-shadow($pepperi-theme, shadow-sm, hard);
    // }

    //  Menu
    // -------------------------------------------------
    .mat-menu-panel {
        box-shadow: get-pepperi-shadow($pepperi-theme, shadow-sm, hard);
        border: 1px solid get-pepperi-color($pepperi-theme, color-system-primary, color-base);
        max-width: 30rem;
        min-height: unset;

        .mat-menu-item {
            background: get-pepperi-color($pepperi-theme, color-system-primary-invert, color-base);

            &:hover {
                @include state-weak-hover($pepperi-theme);
            }
            &:active {
                @include state-weak-active($pepperi-theme);
            }
            &:disabled {
                @include state-weak-disable($pepperi-theme);
            }

            &.selected {
                background: get-pepperi-color($pepperi-theme, color-system-success, color-tran-20);
            }
        }
    }

    //  Dialog
    // -------------------------------------------------
    .mat-dialog-container {
        box-shadow: unset;
        // box-shadow: get-pepperi-shadow($pepperi-theme, shadow-sm, hard);
        border: 1px solid get-pepperi-color($pepperi-theme, color-system-primary, color-base);
    }

    /*----------------- ngx Overrides ---------------------*/
    // Temporary until we'll write it again.
    #cartSummary {
        $border-color: get-pepperi-color($pepperi-theme, color-system-primary, color-tran-50);

        .carousel-indicators {
            margin-bottom: 0px;
            bottom: 0px;

            li {
                background-color: $border-color;
                height: 0.75rem;
                width: 0.75rem;
                margin: 0 0.25rem;

                &.active {
                    background-color: get-pepperi-color($pepperi-theme, color-system-primary, color-tran-60);
                }
            }
        }

        .carousel-control {
            width: 100%;
            background: none;
            bottom: 15px;
            top: unset;

            .icon-next {
                background-color: $border-color;
                height: 1.5rem;
                width: 1.5rem;
                border-radius: 1rem;
                right: 25px;
                cursor: pointer !important;

                &:before {
                    content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgPHBhdGggZmlsbC1vcGFjaXR5PSIuNSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS4yODY3NDM1NCw0LjMwODg4NjMzIEM5LjY2OTA2ODI2LDMuODk3MDM3ODkgMTAuMjg4OTM5MSwzLjg5NzAzNzg5IDEwLjY3MTI2MzgsNC4zMDg4ODYzMyBMMTYuNDI2NTEyOSwxMC41MDg1NjQ5IEMxNy4xOTExNjI0LDExLjMzMjI2MTcgMTcuMTkxMTYyNCwxMi42Njc3MzgzIDE2LjQyNjUxMjksMTMuNDkxNDM1MSBMMTAuNjcxMjYzOCwxOS42OTExMTM3IEMxMC4yODg5MzkxLDIwLjEwMjk2MjEgOS42NjkwNjgyNiwyMC4xMDI5NjIxIDkuMjg2NzQzNTQsMTkuNjkxMTEzNyBDOC45MDQ0MTg4MiwxOS4yNzkyNjUyIDguOTA0NDE4ODIsMTguNjExNTI3IDkuMjg2NzQzNTQsMTguMTk5Njc4NSBMMTMuMjAyNzU4MywxMi43NDU3MTc2IEMxMy41ODUwODMsMTIuMzMzODY5MSAxMy41ODUwODMsMTEuNjY2MTMwOSAxMy4yMDI3NTgzLDExLjI1NDI4MjQgTDkuMjg2NzQzNTQsNS44MDAzMjE0OCBDOC45MDQ0MTg4Miw1LjM4ODQ3MzAzIDguOTA0NDE4ODIsNC43MjA3MzQ3OCA5LjI4Njc0MzU0LDQuMzA4ODg2MzMgWiIvPg0KPC9zdmc+DQo=');
                    position: relative;
                    top: -6px;
                }
            }

            .icon-prev {
                background-color: $border-color;
                height: 1.5rem;
                width: 1.5rem;
                border-radius: 1rem;
                left: 25px;
                cursor: pointer !important;

                &:before {
                    content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgPHBhdGggZmlsbC1vcGFjaXR5PSIuNSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTQuNzEzMjU2NSw1LjgwMDMyMTQ4IEwxMC43OTcyNDE3LDExLjI1NDI4MjQgQzEwLjQxNDkxNywxMS42NjYxMzA5IDEwLjQxNDkxNywxMi4zMzM4NjkxIDEwLjc5NzI0MTcsMTIuNzQ1NzE3NiBMMTQuNzEzMjU2NSwxOC4xOTk2Nzg1IEMxNS4wOTU1ODEyLDE4LjYxMTUyNyAxNS4wOTU1ODEyLDE5LjI3OTI2NTIgMTQuNzEzMjU2NSwxOS42OTExMTM3IEMxNC4zMzA5MzE3LDIwLjEwMjk2MjEgMTMuNzExMDYwOSwyMC4xMDI5NjIxIDEzLjMyODczNjIsMTkuNjkxMTEzNyBMNy41NzM0ODcwOCwxMy40OTE0MzUxIEM2LjgwODgzNzY0LDEyLjY2NzczODMgNi44MDg4Mzc2NCwxMS4zMzIyNjE3IDcuNTczNDg3MDgsMTAuNTA4NTY0OSBMMTMuMzI4NzM2Miw0LjMwODg4NjMzIEMxMy43MTEwNjA5LDMuODk3MDM3ODkgMTQuMzMwOTMxNywzLjg5NzAzNzg5IDE0LjcxMzI1NjUsNC4zMDg4ODYzMyBDMTUuMDk1NTgxMiw0LjcyMDczNDc4IDE1LjA5NTU4MTIsNS4zODg0NzMwMyAxNC43MTMyNTY1LDUuODAwMzIxNDggWiIvPg0KPC9zdmc+DQo=');
                    position: relative;
                    top: -6px;
                }
            }
        }

        &.rtl {
            .carousel-control {
                .icon-next {
                    right: auto;
                    left: 25px;

                    &:before {
                        content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgPHBhdGggZmlsbC1vcGFjaXR5PSIuNSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTQuNzEzMjU2NSw1LjgwMDMyMTQ4IEwxMC43OTcyNDE3LDExLjI1NDI4MjQgQzEwLjQxNDkxNywxMS42NjYxMzA5IDEwLjQxNDkxNywxMi4zMzM4NjkxIDEwLjc5NzI0MTcsMTIuNzQ1NzE3NiBMMTQuNzEzMjU2NSwxOC4xOTk2Nzg1IEMxNS4wOTU1ODEyLDE4LjYxMTUyNyAxNS4wOTU1ODEyLDE5LjI3OTI2NTIgMTQuNzEzMjU2NSwxOS42OTExMTM3IEMxNC4zMzA5MzE3LDIwLjEwMjk2MjEgMTMuNzExMDYwOSwyMC4xMDI5NjIxIDEzLjMyODczNjIsMTkuNjkxMTEzNyBMNy41NzM0ODcwOCwxMy40OTE0MzUxIEM2LjgwODgzNzY0LDEyLjY2NzczODMgNi44MDg4Mzc2NCwxMS4zMzIyNjE3IDcuNTczNDg3MDgsMTAuNTA4NTY0OSBMMTMuMzI4NzM2Miw0LjMwODg4NjMzIEMxMy43MTEwNjA5LDMuODk3MDM3ODkgMTQuMzMwOTMxNywzLjg5NzAzNzg5IDE0LjcxMzI1NjUsNC4zMDg4ODYzMyBDMTUuMDk1NTgxMiw0LjcyMDczNDc4IDE1LjA5NTU4MTIsNS4zODg0NzMwMyAxNC43MTMyNTY1LDUuODAwMzIxNDggWiIvPg0KPC9zdmc+DQo=');
                    }
                }

                .icon-prev {
                    left: auto;
                    right: 25px;

                    &:before {
                        content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgPHBhdGggZmlsbC1vcGFjaXR5PSIuNSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS4yODY3NDM1NCw0LjMwODg4NjMzIEM5LjY2OTA2ODI2LDMuODk3MDM3ODkgMTAuMjg4OTM5MSwzLjg5NzAzNzg5IDEwLjY3MTI2MzgsNC4zMDg4ODYzMyBMMTYuNDI2NTEyOSwxMC41MDg1NjQ5IEMxNy4xOTExNjI0LDExLjMzMjI2MTcgMTcuMTkxMTYyNCwxMi42Njc3MzgzIDE2LjQyNjUxMjksMTMuNDkxNDM1MSBMMTAuNjcxMjYzOCwxOS42OTExMTM3IEMxMC4yODg5MzkxLDIwLjEwMjk2MjEgOS42NjkwNjgyNiwyMC4xMDI5NjIxIDkuMjg2NzQzNTQsMTkuNjkxMTEzNyBDOC45MDQ0MTg4MiwxOS4yNzkyNjUyIDguOTA0NDE4ODIsMTguNjExNTI3IDkuMjg2NzQzNTQsMTguMTk5Njc4NSBMMTMuMjAyNzU4MywxMi43NDU3MTc2IEMxMy41ODUwODMsMTIuMzMzODY5MSAxMy41ODUwODMsMTEuNjY2MTMwOSAxMy4yMDI3NTgzLDExLjI1NDI4MjQgTDkuMjg2NzQzNTQsNS44MDAzMjE0OCBDOC45MDQ0MTg4Miw1LjM4ODQ3MzAzIDguOTA0NDE4ODIsNC43MjA3MzQ3OCA5LjI4Njc0MzU0LDQuMzA4ODg2MzMgWiIvPg0KPC9zdmc+DQo=');
                    }
                }
            }
        }
    }
}
