* {
    margin: 0;
    padding: 0;
}
ul, ol {
    list-style: none;
}
html {
    font-size: 36px;
    height: 100%;
}
p, div, li {
    font-size: .4rem;
}
a, button, input, .tabs {
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}
a {
    color: #1a97a8;
    text-decoration: none;
}
body {
    font-family: 微软雅黑, "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.hidden{
    display: none;
}
.new-btn-login {
    background-color: #02aaf1;
    color: #FFFFFF;
    font-weight: bold;
    border: none;
    height: 1.2rem;
    line-height: 1.2rem;
    border-radius: .15rem;
    font-size: .45rem;
}
#main {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    height: 100%;
    flex: 1;
}
#sidebar {
    height: 100%;
    flex: 1;
}
#sidebar li {
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.4s;
}
#sidebar li a {
    color: white;
}
#sidebar i.iconfont {
    font-size: 1.3em;
    margin-right: .5em;
}
#content-wrapper {
    flex: 1;
}
.content-margin {
    margin: .6rem;
}
h1 {
    font-size: .55rem;
    height: .9rem;
    line-height: .9rem;
}
.am-header {
    text-align: left;
    color: white;
    background-color: #2389d0;
    height: 1.6em;
}
.sidebar-item {
    height: 100%;
    cursor: pointer;
    color: white;
    padding: 0 .9em;
    text-align: center;
}
ul a {
    text-decoration: none;
}
.sidebar-item:hover {
    background-color: #2ea4e1;
}
.sidebar-item.selected {
    background-color: #2ea4e1;
    color: white;
}
.searchbar {
    display: flex;
}
.searchbar .searchbar-conditions {
    flex: 1;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -1em;
}
.searchbar .searchbar-conditions>div {
    margin-right: .3rem;
    margin-bottom: 1em;
}
button {
    padding: .2rem .45rem;
}
input, select, textarea {
    padding: .25rem;
    border: 1px solid #DFDFDF;
    outline: none;
    border-radius: 2px;
    box-sizing: border-box;
}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
    transition:border linear 0s,box-shadow linear .2s;
    -moz-transition:border linear 0s,-moz-box-shadow linear .2s;
    -webkit-transition:border linear 0s,-webkit-box-shadow linear .2s;
    outline:none;
    border-color: #FFBF61;
    box-shadow:0 0 1px #FFBF61;
    -moz-box-shadow:0 0 1px #FFBF61;
    -webkit-box-shadow:0 0 1px #FFBF61;
}
/* Removing input background colour for Chrome autocomplete */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}
button, input[type="submit"] {
    color: white;
    background-color: #2389d0;
    outline: none;
    padding: .35em 1.2em;
    font-size: 1em;
    -webkit-appearance: none;
    border-radius: 2px;
    display: inline-block;
    cursor: pointer;
    border: 1px solid #2389d0 !important;
    text-align: center;
    box-sizing: border-box;
    -webkit-user-select: none;
}
.button-green {
    border: 1px solid #2ea4e1 !important;
    background-color: #2ea4e1;
}
table.data-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e4e4e4;
    margin-top: .5rem;
}
table.data-table td, table.data-table th {
    padding: .2rem .11rem;
    font-weight: 400;
    text-align: left;
}
table.data-table th {
    background-color:#2389d0; /* #2389d0;*/
    color: white;
}
table.data-table tr:nth-child(2n+1) {
    background-color: #fafafa;
}
table.data-table tr:hover {
    background-color: #f4f4ff;
}
.add-item label span {
    text-align: justify;
    text-align-last: justify;
    width: 2.8rem;
    display: inline-block;
    padding-right: .2rem;
}
.add-item>* {
    margin: .25rem;
}
.add-item-margin-left {
    margin-left: 3.1rem;
}
.searchbar-conditions div input {
    max-width: 3.5rem;
}
.page-select {
    padding: .6em;
    margin: 1em 0;
    border: 1px solid #d2d2d2;
    text-decoration: none;
    color: green;
}
