* {
    box-sizing: border-box;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #f3f4f8;
}

a {
    text-decoration: none;
}

.page-header {
    position: relative;
}

.header-brand-panel {
    height: 4rem;
}

.brand-logo-image {
    max-width: 70%;
    max-height: 2rem;
}

.login-form-wrapper input {
    height: 2.5rem;
    border: 1px solid #ced4da;
}
.login-form-wrapper a {
    color: #002880;
}
.login-btn {
    width: 8rem;
    height: 2.7rem;
    font-size: 1.2rem;
    background-color: #6b789c;
    color: #fff;
    border: none;
    border-radius: 3rem;
}

.top-menu {
    height: 2.5rem;
    background-color: #6b789c;
}
.top-menu-wrapper {
    display: flex;
    flex-direction: row;
}
.top-menu-item {
    display: block;
    height: 2.5rem;
    margin: 0;
    padding: .3rem;
    font-weight: 500;
    color: #fff;
}
.top-menu-item:hover {
    background-color: #51607f;
}
.top-menu-item-logo {
    width: 2.2rem;
}
.top-menu-item-link {
    margin-left: .5rem;
    padding-top: .5rem;
}

.header-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 4rem;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background-image: url('/img/top_menu_bg.jpg');
}
.header-menu.no-bg {
    background: none;
}

.header-menu-items {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-around;
}

.header-menu a {
    display: block;
    overflow-wrap: anywhere;
    text-decoration: none;
    color: #fff;
    font-size: 1em;
    padding-top: 1.3em;
    padding-left: 1.3em;
    padding-right: 1.3em;
    height: 4rem;
}
.header-menu a.home-link {

}
.header-menu a img {
    display: inline-block;
    height: 1.7em;
    padding-bottom: .3em;
}

.footer {
    /* border-top: 1px solid #ddd; */
    padding-top: 1rem;
    margin-top: 4rem;
}
.footer-comment {
    font-size: .75rem;
    color: #57658A;
}
.footer-link {
    display: inline-block;
    padding: .1rem 1rem;
    /* border-right: 1px solid #ddd; */
    text-decoration: none;
    font-size: .8rem;
    color: #002880;
}
.footer-link:last-child {
    border-right: none;
}
.footer-link:hover {
    text-decoration: underline;
}
.footer-social-item {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: none no-repeat center;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) or (max-width: 576px) {
    .reg-link {
        font-size: .8rem;
    }
    .header-menu a {
        font-size: .6em;
        padding-top: 2em;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .reg-link {
        font-size: .9rem;
    }
    .header-menu a {
        font-size: .7em;
        padding-top: 2.4em;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .reg-link {
        font-size: .9rem;
    }
    .header-menu a {
        font-size: .8em;
        padding-top: 1.8em;
    }
    .header-menu .home-link {
        margin-right: -1em;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .reg-link {
        font-size: 1rem;
    }
    .header-menu a {
        font-size: .9em;
        padding-top: 1.5em;
    }
    .header-menu .home-link {
        margin-right: -3em;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .reg-link {
        font-size: 1rem;
    }
    .header-menu a {
        font-size: 1em;
        padding-top: 1.4em;
    }
    .header-menu .home-link {
        margin-right: -3em;
    }
}

/* XXX-Large devices (larger desktops, 1600px and up) */
@media (min-width: 1600px) {
    .reg-link {
        font-size: 1rem;
    }
    .header-menu a {
        font-size: 1em;
        padding-top: 1.3em;
    }
    .header-menu .home-link {
        margin-right: -5em;
    }
}

.page-content {
    margin-top: 5em;
    padding: 2em 1.7em;
    background-color: #fff;
}
.page-content h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.text {
    font-size: 1.2rem;
    line-height: 2.1rem;
}
