:root {
    --std-titlebar-height: 120px;
    --md-titlebar-height: 100px;
    --sm-titlebar-height: 70px;
}

ol,
ul,
dl {
    margin: 0px;
    padding: 0px;
}

body {
    display: flex;
}

#menu {
    flex-basis: 250px;
    flex-grow: 0;
    flex-shrink: 0;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    z-index: 99;
    position: relative;
}

#menu_inner {
    width: 250px;
    position: fixed;
    background-color: #000000;
}

#menu ul {
    height: 100%;
    font-size: 26px;
    width: 100%;
}

#menu li {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 4px;
    height: 120px;
}

#menu a {
    color: #ffffff;
    text-decoration: none;
}

#menu-toggle {
    font-size: 24px;
    display: none;
}

#logo-area {
    height: var(--std-titlebar-height);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#logo {
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

main {
    flex-grow: 1;
    flex-shrink: 1;
    z-index: 1;
    font-size: 16px;
}

.section-header {
    width: 100%;
    background-color: #000000;
    height: var(--std-titlebar-height);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-body {
    padding: 24px 12px;
    max-width: 1200px;
}

.header-title {
    font-size: 32px;
    border-bottom: 2px solid #ff0000;
    padding-left: 20px;
    margin-left: -12px;
}

.header-title-area:before {
    content: '';
    background-image: url('assets/images/TitleIcon.png');
    width: 2.5em;
    height: 2.5em;
    background-color: #000000;
    display: inline-block;
    background-size: cover;
    margin-bottom: -4px;
}

@media (min-width:576px) and (max-width:991px) {
    body {
        flex-direction: column;
    }

    #menu {
        flex-basis: var(--md-titlebar-height);
    }

    #menu_inner {
        width: 100%;
        display: flex;
    }

    #menu ul {
        font-size: 20px;
        display: flex;
        justify-content: flex-end;
    }

    #menu li {
        flex-basis: 100%;
        height: var(--md-titlebar-height);
    }

    #logo-area {
        width: 120px;
        border-bottom: 1px solid;
        height: var(--md-titlebar-height);
    }

    .section-header {
        height: var(--md-titlebar-height);
    }

    main {
        font-size: 14px;
    }
}

@media (max-width:575px) {
    body {
        flex-direction: column;
    }

    #menu {
        flex-basis: var(--sm-titlebar-height);
    }

    #menu_inner {
        width: 100%;
        display: relative;
    }

    #menu ul {
        justify-content: flex-end;
    }

    #menu ul {
        font-size: 20px;
    }

    #menu li {
        height: 80px;
        display: none;
    }

    #menu-toggle {
        display: flex;
        font-size: 24px;
        width: var(--sm-titlebar-height);
        height: var(--sm-titlebar-height);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        float: right;
    }

    #menu.responsive li {
        display: flex;
    }

    #logo-area {
        width: 80px;
        height: var(--sm-titlebar-height);
    }

    #logo {
        width: 62px;
        height: 60px;
    }

    .section-header {
        height: var(--sm-titlebar-height);
    }

    .header-title {
        font-size: 1.8em;
    }

    main {
        font-size: 14px;
    }
}