@media all and (max-width: 1024px) {
    body {
        width: 100vw !important;
        height: 100vh !important;
        word-wrap: break-word !important;
    }

    a#ctl00_SPLinkButton1 img {
        background-size: contain;
        width: auto !important;
        height: 20px !important;
    }

    #s4-bodyContainer {
        width: 100% !important;
        padding: 0;
        padding-top: 0px;
        padding-bottom: 0px;
        position: relative;
        margin: 0;
    }

    .ms-core-navigation {
        border-top: 0;
    }

    .ms-ref-refinername:link,
    .ms-ref-refiner #Value,
    .ms-ref-unsel-toggle,
    #OtherValue,
    #SubmitValue {
        width: auto;
    }

    #sideNavBox,
    #contentBox {
        margin-left: 5vw;
        margin-right: 5vw;
        width: 90vw;
        min-width: 50vw;
    }

    #SearchBox {
        margin: 0;
        padding: 0;
        width: 100%;
    }

        #SearchBox a {
            float: right;
        }

    .ms-srch-sb-border, .ms-srch-sb-borderFocused {
        border: 0px;
    }


    .ms-srch-sbLarge,
    .ms-srch-sbLarge:hover {
        margin-left: 0%;
        margin-right: 0%;
        border: 0;
        display: block;
    }

    .ms-srch-sb-searchLink {
        background-image: url("/_Layouts/15/Images/Roedl/magnifying-glass95.png") !important;
        border: 0px !important;
        height: 20px !important;
        width: 20px !important;
        background-size: 20px 20px;
        padding-top: 13px;
        background-repeat: no-repeat;
        background-position: right center;
    }

        .ms-srch-sb-searchLink:hover {
            background-image: url("/_Layouts/15/Images/Roedl/magnifying-glass95_hover.png") !important;
            background-color: transparent !important;
            background-repeat: no-repeat;
            background-position: right center;
        }

    .ms-srch-sbLarge-fullWidth {
        margin-left: 0%;
        margin-right: 0%;
        width: auto;
    }

    .ms-srch-sbLarge > input {
        border: 0;
    }

        .ms-srch-sbLarge > input:focus {
            border: 0;
        }

    .ms-srch-sbLarge-searchImg {
        left: -53px;
        top: -1px;
        position: absolute;
    }

    .ms-notif-box,
    .ms-srch-hover-outerContainer,
    .ms-srch-hover-innerContainer .ms-srch-hover-content {
        display: none;
    }

    .ms-fullWidth,
    .ms-webpart-zone,
    .ms-webpart-chrome-vertical {
        width: 100%;
        display: block;
    }

    .ms-webpart-chrome-fullWidth {
        width: 100%;
    }

    .ms-searchCenter-result-main {
        float: none;
        width: 100%;
        margin-top: 0px !important;
    }

        .ms-searchCenter-result-main > div {
            border: 0;
            width: 100%;
            margin-top: 0;
        }

    .ms-webpartzone-cell {
        margin-bottom: 0px;
    }

    .ms-ref-refiner #Container {
        padding-bottom: 0px;
    }

    .ms-srch-item-body,
    .ms-srch-item-body a {
        width: 100%;
    }

    .ms-srch-ellipsis a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ms-srch-item {
        float: none;
        width: 100%;
        min-width: 100%;
        padding: 1em 0% 1em 0%;
        margin: 0% 0% 0% 0%;
    }

    .ms-srch-item-path {
        margin: 0;
    }

    .ms-srch-item-summary {
        padding-top: 1em;
        display: inline-block;
    }

    h1, h2, h3, h4, h5, h6, .ms-h1, .ms-h2, .ms-h3, .ms-h4, .ms-h5, .ms-h6, .ms-headerFont {
        font-weight: normal;
    }

    body, .ms-core-defaultFont, #pageStatusBar, .ms-status-msg, .js-callout-body, .ms-textLarge {
        font-family: 'GT-America', sans, sans-serif, Arial;
        font-size: 13px;
    }

    #ctl00_SPLinkButton1 {
        padding: 0 0 12px 0px;
        height: 20px;
        border-bottom: 2px solid black !important;
    }
}
