@media all and (min-width: 48rem) {

    body:after {
        content: 'viewport-l';
        display: none;
    }

    head {
        font-family: 'viewport-l';
    }

    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    h4 {
        font-size: 1.375rem;
    }
    h5 {
        font-size: 1.125rem;
    }

    #header-container {
        position: fixed;
        left: 0;
        right: 0;
    }
    #header .inner {
        justify-content: flex-end;
        height: auto;
    }
    #logo {
        flex-basis: 40%;
    }


    /* navigation */

    #main-navigation {
        display: block;
        align-self: center;
        flex-basis: 60%;
    }

    #main-navigation ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-end;
    }
    #main-navigation ul li {
        display: inline-block;
        position: relative;
    }
    #main-navigation ul li a {
        color: hsla(104.3,100%,96.5%, 1);
        text-decoration: none;
        line-height: 2.5rem;
        padding: 1.75rem;
        border-left: 1px solid hsla(104.3,100%,96.5%, 0.1);
        display: block;
        text-align: center;
    }
    #main-navigation ul li:nth-child(1) a {
        border: none;
    }

    #main-navigation ul li:hover a {
        background: hsla(104.3,100%,16.5%, 1);
        color: #fcfcfc;
    }
    #main-navigation ul li a.active {
        background: hsla(104.3,100%,16.5%, 0.7);
        color: #fcfcfc;
    }
    #main-navigation .sublevel {
        display: none;
    }

    #main-navigation ul li:hover .sublevel {
        display: block;
        position: absolute;
        top: 6rem;
        left: 0;
        z-index: 3000;
    }
    #main-navigation ul li:hover .sublevel li {
        min-width: 15rem;
    }
    #main-navigation ul li:hover .sublevel li a {
        background: rgba(205, 134, 39, 0.9);
        color: #fef3f6;
        margin: 0;
        border-left: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 1rem;
        text-align: left;
    }

    #main-navigation ul li:hover .sublevel li a:hover {
        background: rgba(205, 134, 39, 0.95);
    }
    #main-navigation ul li:hover .sublevel li a.active {
        background: rgba(205, 134, 39, 0.95);
    }

    /* footer */

    #footer-container .grid-column-width-33 {
        padding: 1rem 2rem;
    }
    #footer h3 {
        font-size: 1.5rem;
    }


    /* frame layouts */

    #content > .frame-layout-0,
    #footer > .frame-layout-0,
    .frame-layout-2 {
        width: 90vw;
        padding: 4rem 1rem;
    }

    /* grid servicelisting */

    .grid-servicelisting .service-item.service-odd {
        margin-right: 2.5rem;
        padding: 2rem 3rem 2rem 1rem;
    }
    .grid-servicelisting .service-item.service-even {
        margin-left: 2.5rem;
        padding: 2rem 1rem 2rem 3rem;
    }
    .grid-servicelisting .service-item .service-icon {
        top: 0;
        bottom: 0;
    }
    .grid-servicelisting .service-item.service-odd .service-icon {
        top: 0;
        left: auto;
        right: -2.25rem;
    }

    .grid-servicelisting .service-item.service-even .service-icon {
        top: 0;
        left: -2.25rem;
        right: auto;
    }

    /* table */

    .ce-table th, .ce-table td {
        font-size: 0.875rem;
        padding: 0.5em 0.75em;
    }

    .ce-table thead th:nth-child(6),
    .ce-table tbody td:nth-child(6),
    .ce-table thead th:nth-child(10),
    .ce-table tbody td:nth-child(10){
        display: table-cell;
    }

    /* divider */

    #slider hr.ce-div {
        display: block;
    }

    .fixed-background-image .caption-title span,
    #contentainer .fixed-background-image .caption-title a {
        font-size: 1.5rem;
    }

}

@media all and (max-width: 48rem) {
    /* default styles */
    .ce-intext.ce-left .ce-gallery {
        margin-right: 0;
        float: none;
    }
    .ce-intext.ce-right .ce-gallery {
        margin-left: 0;
        float: none;
    }
    .ce-center .ce-row {
        margin-bottom: 0;
    }
    .ce-center .ce-outer {
        float: none;
        position: static;
    }
    .ce-center .ce-inner {
        float: none;
        position: static;
    }
    .ce-center .ce-column {
        margin-right: 0;
        float: none;
        margin-bottom: 2rem;
    }
    .ce-left .lbx-singlepreview {
        margin-bottom: 2rem;
    }
}