body.homepage {
    min-height: 100vh;
}

body.homepage #wrapper {
    min-height: 100vh;
}

body.homepage #header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0;
    z-index: 300;
    background-color: #003;
    border-bottom: 1px solid #f5f5f5;
}

body.homepage #header,
body.homepage #header-wrap {
    width: 100%;
    height: 50px !important;
}

body.homepage #header-wrap {
    position: relative !important;
    background-color: #003;
}

body.homepage #primary-menu-trigger {
    display: none !important;
}

body.homepage #page-title {
    padding: 40px 0;
}

body.homepage #content {
    min-height: calc(100vh - 265px);
}

body.homepage #footer,
body.homepage #copyrights {
    position: relative;
    bottom: auto;
    width: auto;
}

body.homepage #logo h1 {
    margin: 0;
    height: 50px;
    display: flex;
    align-items: center;
}

body.homepage .homepage-logo-image {
    max-height: 36px;
    width: auto;
    display: block;
    position: relative;
    top: 13px;
}

body.homepage .homepage-logo-text {
    display: none;
}

body.homepage #side-navigation h3 {
    margin-top: 4px;
}

body.homepage #snav-manie .reference-links a {
    padding: 0;
}

/* Fallback when icon font files are missing: always show arrow in Go To Top. */
#gotoTop.icon-angle-up:before {
    content: "\2191";
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 40px;
}

@media (max-width: 991px) {
    body.homepage #page-title {
        padding: 10px 0 15px;
    }

    body.homepage #logo {
        height: 50px;
    }

    body.homepage #logo h1 {
        justify-content: center;
    }
}
