html, body {
    overflow: hidden;
    *overflow-y: scroll;
}

button {
    white-space: nowrap;
}

#top {
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.05);
    border: none;
    margin-bottom: 2px;
    padding-bottom: 5px;
}

.buttons {
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    line-height: 32px;
}

#container {
    width: 100%;
    background: #f5f5f5;
    padding-top: 20px;
    overflow-y: auto;
}

#main {
    width: 94%;
    margin-left: auto;
    margin-right: auto;
}

#main_inner {
    float: left;
    width: 100%;
    background-color: #ffffff;
    border-radius: 4px;
    border: none;
    box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

#main_content {
    width: 900px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    font-family: "Microsoft YaHei", 微软雅黑, "Segoe UI", Arial;
    min-height: 800px;
}

#main .title {
    float: left;
    clear: both;
    width: 100%;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
    height: 30px;
    margin-bottom: 20px;
    margin-top: 20px;
    padding-left: 14px;
    background: url(images/title_icon.png) no-repeat left 5px;
}

#main .title span {
    line-height: 30px;
    font-size: 16px;
    font-weight: bold;
    color: #3e76cb;
}

#main .title button {
    float: right;
    outline: none;
    cursor: pointer;
    border-radius: 4px;
    height: 30px;
    padding: 0 10px;
    color: #fff;
    line-height: 30px;
    background: #3e76cb;
    border: none;
    min-width: 100px;
    margin-left: 5px;
}

#main .title button:hover {
    background: #386ab6;
}

#main .title button:active {
    background: #325ea2;
}

.component_line {
    clear: both;
    float: left;
    margin-bottom: 14px;
}

.component {
    float: left;
    font-size: 14px;
}

.component_left {
    margin-right: 72px;
}

.component .label {
    float: left;
    width: 100px;
    line-height: 30px;
    text-align: right;
    padding-right: 14px;
}

.component .value {
    float: left;
    width: 300px;
    line-height: 30px;
}

.component_line .component_double .value {
    float: left;
    width: 786px;
}

.component .value input {
    height: 28px;
    line-height: 28px;
    border: 1px solid #ddd;
    border-radius: 3px;
    width: 300px;
    padding-left: 10px;
    outline: none;
}

.component .value textarea {
    height: 80px;
    border: 1px solid #ddd;
    border-radius: 3px;
    width: 300px;
    padding-left: 10px;
    outline: none;
}

.component_line .component_double .value input {
    width: 785px;
}

.component_line .component_double .value textarea {
    width: 785px;
}

.component .value input.checkbox, .component .value input[checkbox],
.component .value input.radio, .component .value input[radio] {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.component label {
    margin-right: 15px;
}

.component label span {
    cursor: pointer;
}

.component .value select {
    height: 28px;
    line-height: 28px;
    width: 300px;
}

#main .invalid_msg {
    color: #ff5555;
    font-size: 14px;
    line-height: 22px;
    background: url(images/error.png) left no-repeat;
}

#main .invalid {
    border-color: #ff6666;
    background: none;
    margin-bottom: 0;
}

#main table.sublist {
    float: left;
    margin-left: 0;
    margin-right: 0;
    width: 915px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

#main table.sublist th,
#main table.sublist td {
    line-height: 20px;
    border-right: 1px solid #ddd;
    padding: 10px 3px;
    font-weight: normal;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

#main table.sublist th {
    background: #f7f7f7;
}

#main table.sublist tbody tr:nth-child(even) {
    background: #f7f7f7;
}

#main table.sublist th.add,
#main table.sublist td.add {
    display: none;
}

#main table.sublist th.edit,
#main table.sublist td.edit {
    border-right: none;
}

#main table#depts.sublist th.edit,
#main table#depts.sublist td.edit {
    display: none;
}

#main table.sublist th.down, #main table.sublist th.up,
#main table.sublist th.remove, #main table.sublist th.edit,
#main table.sublist td.down, #main table.sublist td.up,
#main table.sublist td.remove, #main table.sublist td.edit {
    width: 40px;
}

#main table.sublist td span.up {
    width: 20px;
    height: 20px;
    background-image: url(images/up.png);
}

#main table.sublist td span.down {
    width: 20px;
    height: 20px;
    background-image: url(images/down.png);
}

#main table.sublist td span.remove {
    width: 20px;
    height: 20px;
    background-image: url(images/remove.png);
}

#main table.sublist td span.edit {
    width: 20px;
    height: 20px;
    background-image: url(images/edit.png);
}

#main table.sublist tbody tr.selected {
    background: #eff3f9
}