.unicorn {
    &-page {
        &.ios-safari {
            min-height: calc(100vh  - 62px);
            .grids-screen {
                min-height: calc(100vh  - 62px);
            }
        }

    }
    &-banner {
        position: absolute;
        width: 100%;
        height: 44px;
        z-index: -100;
    }
    &-logo {
        z-index: 1;
        height: 44px;
        img {
            height: 80%;
        }
    }
    &-header {
        flex-shrink: 0;
    }
    &-title {
        min-height: 44px;
        padding: $unit;
        color: darkblue;

        h2 {
            font-size: 16px;
            line-height: 20px;
        }
    }

    &-content {
        font-size: 16px;
        line-height: 20px;
        flex: 1 0 auto;
        min-height: 10%;
        .grids {
            &-panel {
                background: white;
                border: none;
            }
        }
        &.flex-none {
            flex: none;
          }
    }
    
    &-button {
        @extend .btn;
        font-size: 16px;
        line-height: 20px;
    }

    &-footer {
        flex-shrink: 0;
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    &-overlay {
        position: fixed;
        display: flex;
        align-items: center;
        z-index: 100;
        width: 100vw;
        height: 100vh;
        max-width: 100%;
        max-height: 100%;
        margin: 0;
        background-color: rgba(0, 0, 0, 0.8);

        .grids {
            &-panel {
                background: white;
                border: none;
            }
        }
    }

    &-debug {
        background: transparent !important;

         .grids, div > .grids {
            $unit-spacing: 6px;
            $unit-gap: 6px;
            $grid-width: calc((100% - #{$unit-spacing} * 2));
            $col-width: calc(100% / 12);

            //border: 1px solid chartreuse;
            outline: 1px dashed red;
            position: relative;
            background: rgba(255, 127, 80, 0.2) !important;

            & > div > .row, .row {
                outline: 1px dashed red;
            }

            & > div > .column, .column {
                outline: 1px dashed skyblue;
            }
           .p-spacing {
              background: skyblue;
              outline: 1px dashed red;
              opacity: 0.5;
            }
            &::before {
                content: "";
                margin: auto $unit-gap;
                pointer-events: none;
                position: absolute;
                width: 100%;
                width: calc((100% - #{$unit-spacing} * 2));
                height: 100%;
                left: 0;
                top: 0;
                background-size: calc((100%) / 12);
                background-image: linear-gradient(90deg, skyblue, skyblue $unit-gap, blue $unit-gap, blue calc((100% - #{$unit-gap})), skyblue calc((100% - #{$unit-gap})), skyblue $unit-gap);
                background-clip: border-box;
                opacity: 0.2;
                z-index: -1;
                transform: translate3d(0);
            }

            &::after {
                content: "";
                display: block;
                position: absolute;
                pointer-events: none;
                width: 100%;
                height: 100%;
                left: 0;
                top: 0;
                opacity: 0.5;

                @extend .dots-1;

                z-index: -2;
                background-position: center;
            }

            .unicorn {
                &-content,
                &-title,
                &-footer {
                    outline: 1px dashed red;
                }
            }
        }
    }
}
