@media screen and (max-width: 735px) {
    .top-navigation a:not(:first-child) {
        display: none;
    }

    .top-navigation a.icon {
        float: right;
        display: block;
    }

    .top-navigation .top-navigation-right {
        display: none;
    }

    .top-navigation.responsive {
        z-index: 100;
        position: absolute;
        display: inline-table;
    }

    .top-navigation.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .top-navigation.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    .top-navigation.responsive .top-navigation-right {
        display: block;
        float: left;
        width: 100%;
    }

    .widget-grid-cell {
        width: calc((100vw - 200px) / 8);
        height: calc((100vw - 200px) / 8);
        min-width: calc((100vw - 200px) / 8);
        min-height: calc((100vw - 200px) / 8);
    }

    .widget-size-4x1,
    .widget-size-4x2,
    .widget-size-4x3,
    .widget-size-4x4,
    .widget-size-4x8 {
        width: calc((100vw - 80px) / 2);
    }
    
    .widget-size-8xNULL
    .widget-size-8x1,
    .widget-size-8x2,
    .widget-size-8x3,
    .widget-size-8x4,
    .widget-size-8x5,
    .widget-size-8x6,
    .widget-size-8x7 {
        width: calc(100vw - 60px);
    }

    .settings-container {
        width: calc(100vw - 80px);
    }

    .hide-on-small {
        display: none;
    }

    .show-on-small {
        display: inline-block;
    }
}

@media screen and (max-width: 1800px) {
    .widget-grid-cell {
        width: calc((100vw - 200px) / 8);
        height: calc((100vw - 200px) / 8);
        min-width: calc((100vw - 200px) / 8);
        min-height: calc((100vw - 200px) / 8);
    }

    .widget-size-4x1,
    .widget-size-4x2,
    .widget-size-4x3,
    .widget-size-4x4,
    .widget-size-4x8 {
        width: calc((100vw - 80px) / 2);
    }
    
    .widget-size-8xNULL,
    .widget-size-8x1,
    .widget-size-8x2,
    .widget-size-8x3,
    .widget-size-8x4,
    .widget-size-8x5,
    .widget-size-8x6,
    .widget-size-8x7 {
        width: calc(100vw - 60px);
    }

    .settings-container {
        width: calc(100vw - 80px);
    }

    .hide-on-small {
        display: none;
    }

    .show-on-small {
        display: inline-block;
    }
}