@media screen and (max-width: 635px) {
    body {
        min-width: inherit;
    }

    body.standaard div.middle {
        min-height: 0;
    }

    body.standaard div.middle div.graybg {
        min-height: 0;
    }

    div.defaultcontainer {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
    }

    div.top a.aanmelden {
        display: none;
    }

    div.header {
        border-bottom: solid 2px #d9d4cd;
    }

    div.header div.menu-button {
        background: url("/img/menu-button.png") no-repeat 10px;
        display: block;
        width: 26px;
        height: 23px;
        float: right;
        margin-top: 40px;
        padding: 10px 0 10px 10px;
        cursor: pointer;
    }

    div.header div.menu-button.opened {
        background-image: url("/img/close-button.png");
    }

    div.header div.menu div.defaultcontainer {
        padding: 0;
    }

    div.header div.menu {
        position: relative;
        height: auto;
    }

    div.header div.menu ul {
        background-color: #e85283;
        display: none;
    }

    div.header div.menu ul > li {
        -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
        -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
        -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
        border-bottom: solid 1px #fff;
        float: none;
    }

    div.header div.menu ul > li > div.haschilds {
        background: url("/img/arrow-up.png") no-repeat center #e85283;
        border-left: solid 1px #fff;
        height: 45px;
        width: 70px;
        float: right;
        cursor: pointer;
    }

    div.header div.menu ul > li > div.haschilds:hover {
        box-shadow: inset 0 5px 12px -9px #000, inset 0 -5px 12px -9px #000;
        -webkit-box-shadow: inset 0 5px 12px -9px #000, inset 0 -5px 12px -9px #000;
        -moz-box-shadow: inset 0 5px 12px -9px #000, inset 0 -5px 12px -9px #000;
        background-color: #d9d4cd;
    }

    div.header div.menu ul > li > div.haschilds.opened {
        background-image: url("/img/arrow-down.png");
    }

    div.header div.menu ul > li:last-of-type {
        border-bottom: none;
    }

    div.header div.menu ul li a {
        padding: 0 10px;
    }

    div.header div.menu ul li ul {
        border: none;
        width: 100%;
        position: inherit;
    }

    div.header div.menu ul li:hover ul {
        display: none;
    }

    div.header div.menu ul li ul a {
        height: 33px;
        line-height: 35px;
        padding: 0 20px;
    }

    div.header div.menu ul li ul li:last-of-type,
    div.header div.menu ul li ul li:last-of-type a {
        border-bottom: none;
    }

    div.grid {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
        margin-left: 0;
    }

    div.grid.left {
        margin-right: 0;
    }

    div.content-page div.grid,
    div.content-page div.grid.left {
        width: 100%;
    }

    div.grid.p-next-to-h1 {
        margin-top: 0;
    }

    div.content-page div.grid div.photos {
        margin: 30px auto;
        width: 270px;
    }

    div.content-page div.grid div.photos img {
        width: 238px;
    }

    div.footer {
        height: 100%;
        background-image: none;
    }

    div.footer div.holder {
        margin: 0;
    }

    div.footer ul {
        border-top: solid 1px #59585b;
        width: 100%;
        margin: 0 0 21px 0;
    }

    div.footer p.dev-info {
        margin-top: 30px;
        text-align: center;
    }

    div.footer p.dev-info a {
        display: inline-block;
    }

    table.fotokaders img {
        max-width: 90px;
        max-height: 120px;
    }

    div.verhuisbericht {
        font-size: 12px;
        padding: 0;
    }

    div.verhuisbericht-content {
        box-sizing: border-box;
        border-top: 0;
        border-radius: 0;
        padding: 10px;
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    div.contact img {
        display: none;
    }
}
