
@media all and (max-width:961px), all and (max-device-width:961px) {
    div#page {
        display:static;
        width:auto;
        margin:0;
    }
    div#content, body.page-wide div#content, body #sidebar-right, body #sidebar-left {
        float:none;
        width:auto;
    }
    body #header {
        width:auto;
        height:auto;
        padding-top:148px;
        background-color:black;
    }
    body #header #userpanel, body #header-region, body #header #pagenav {
        float:none;
        position:static;
        display:block;
        top:auto;
        left:auto;
        right:auto;
        bottom:auto;
        width:auto;
        height:auto;
        background:black;
    }
    body #header .block {
        padding-bottom:0;
    }
    body #header #pagenav ul li {
        margin-left:0.5em;
    }
    body #searchbox-inline .form-text {
        width:auto;
    }
    body .resizable-textarea {
        width:auto;
    }
    body .form-item input {
        width:100%;
    }
    img {
        display:block;
        text-align:center;
        max-width:100%;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
    body {
        font-size: 1em;
        line-height: 1.5em;
    }
}
