* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
    
body {
    font-size: 0.8rem;
    background-color: #EEE;
}

html, body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    font-family: Microsoft Yahei, WenQuanYi Micro Hei, sans-serif, "Helvetica Neue", Helvetica, Hiragino Sans GB;
}
    
header {
    background: darkred;
    color: white;
}

header, .main {
    width: 100%;
    position: absolute;
}
    
header {
    height: 5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .26);
    transition: box-shadow .2s;
    float: left;
    position: fixed;
    top: 0px;
    z-index: 2000;
}
    
header > .fill > .container {
    padding-top: 0.25rem; 
    padding-right: 1rem;
    padding-bottom: 0.25rem;
    display: flex;
    align-items: center;
    height: 5rem;
}    

header > .fill > .container > img{
    max-height: 4.5rem;
    margin: 0.5rem;
    padding: 0.5rem;
}

header > .fill > .container > .brand {
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    margin-left: 1rem;
}
    
.main {
    top: 4rem;
    bottom: 0rem;
    position: relative;
    height: calc(100% - 5rem);
}
    
.main > #maincontent {
    background-color: #EEE;
    height: calc(100% - 5rem);
}   
    
#maincontent > .container {
    margin: 1rem 1rem 1rem 1rem;
    padding-top: 1px;
    height: 100%;
}
 
.section {
    margin: 0.5rem;
    padding: 1rem;
    border: 0;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    font-family: inherit;
    float: left;
    min-width: inherit;
    border-radius: 0;
    color: #404040;
    background-color: #FFF;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
    -webkit-overflow-scrolling: touch;
}

.wide-section {
    margin: 0.5rem;
    padding: 1rem;
    border: 0;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    font-family: inherit;
    float: left;
    min-width: calc(100% - 2rem);
    border-radius: 0;
    color: #404040;
    background-color: #FFF;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
    -webkit-overflow-scrolling: touch;
}

.divider {
    margin: 0.5rem;
    padding: 1rem;
    border: 0;
    font-weight: normal;
    font-style: bold;
    line-height: 1;
    font-family: inherit;
    font-size: 1.5rem;
    float: left;
    min-width: calc(100% - 2rem);
    border-radius: 0;
    color: #404040;
    -webkit-overflow-scrolling: touch;
}

.large-section {
    margin: 0.5rem;
    padding: 1rem;
    border: 0;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    font-family: inherit;
    min-width: calc(100% - 2rem);
    border-radius: 0;
    height: 100%;
    background-color: #FFF;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
    -webkit-overflow-scrolling: touch;
}

.bottom-section {
    margin: 0.5rem;
    padding: 2rem;
    border: 0;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    font-family: inherit;
    float: left;
    min-width: calc(100% - 2rem);
    border-radius: 0;
    height: 80%;
    background-color: #FFF;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
    -webkit-overflow-scrolling: touch;
}
    
footer {
    text-align: right;
    padding: 1rem;
    color: #aaa;
    font-size: 0.8rem;
    text-shadow: 0px 0px 2px #BBB;
    position:   fixed;
    left:   0px;
    bottom: 0px;
    width:  100%;
}

footer > a {
    color: #aaa;
    text-decoration: none;
}
    
.reference {
    padding: 1rem 1rem;
    text-decoration: bold;
    float: left;
    font-size: 4rem;
}

.reference-unit {
    padding: 0.5rem 1rem;
    text-decoration: bold;
    float: left;
    font-size: 3rem;
}
    
.section:hover {
    color: white;
    background: darkred;
}
    
.reference-header {
    padding: 0.5rem 0.2rem;
    text-decoration: none;
    font-size: 1.5rem;
    text-align: left;
}

.selector-header {
    padding: 1rem 1rem;
    text-decoration: bold;
    float: left;
    font-size: 1.5rem;
}

.selector {
    padding: 1rem 1rem;
    text-decoration: bold;
    float: left;
}

option { 
  font-size: 1.2rem; 
}
