/****************************/
/*********** 通用 ***********/

* {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: Roboto sans-serif;
}

body {
    background: lightgray;
}

a {
    text-decoration: none;
}

button:active {
    transform: translateX(1px) translateY(1px);
}

.hidden {
    display: none;
    visibility: hidden;
}

table {
    width: 90%;
    margin: 24px 30px 0;
    color: #3C3C3C;
    border-collapse: collapse;
}

table tr {
    height: 33px;
}

table tr td {
    border: 1px solid #ADADAD;
}

.cb, .rb {
    margin-left: 10px;
    margin-right: 3px;
}

.gray {
    color: #AAA;
}

input[type=radio], input[type=checkbox] {
    margin-left: 10px;
    margin-right: 3px;
}

label {
    font-weight: normal;
}

#div_dialog_root, #div_alert_root {
    margin: 50px auto;
}

#div_dialog_header, #div_alert_header {
    border-bottom: 1px solid #787878;
}

#btn_dialog_close {
    opacity: 1;
}

#btn_dialog_close img {
    width: 36px;
    height: 36px;
}

#btn_dialog_close img:hover {
    content: url(../img/close_hover.png);
}

/****************************/
/*********** 组件 ***********/

#div_toast {
    position: fixed;
    z-index: 999999;
    visibility: hidden;
    width: 40%;
    left: 30%;
    top: 35%;
    padding: 5px 10px;
    background: black;
    opacity: 0.8;
    border-radius: 5px;
    color: white;
    line-height: 40px;
    font-size: large;
    text-align: center;
}

#div_loading {
    position: fixed;
    z-index: 999999;
    visibility: hidden;
    width: 80px;
    height: 80px;
    left: 45%;
    top: 35%;
    background: black;
    opacity: 0.8;
    border-radius: 8px;
}

#span_loading:before {
    position: absolute;
    box-sizing: border-box;
    content: '';
    width: 30px;
    height: 30px;
    margin: 25px;
    border-radius: 50%;
    border-top: 3px solid white;
    border-right: 3px solid transparent;
    animation: anim_loading 0.5s linear infinite;
    -webkit-animation: anim_loading 0.5s linear infinite;
}

@keyframes anim_loading {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes anim_loading {
    to {
        -webkit-transform: rotate(360deg);
    }
}

#select_lang {
    width: 100px;
    height: 22px;
    margin: 3px;
    background: #EFEFEF;
    border-radius: 2px;
    border: 1px solid lightgray;
    font-size: 15px;
}

.content_item {
    margin: 35px 35px 0;
}

#div_item_01 {
    margin-top: 66px;
}

.content_item_title {
    background: url(../img/item.png) no-repeat left center;
}

.content_item_title span {
    display: block;
    margin-left: 32px;
    color: #492481;
    font-size: 18px;
    font-weight: bold;
}

.td_name {
    width: 32%;
    padding-right: 10px;
    background: #D9D9D9;
    text-align: right;
    font-weight: bold;
}

.td_value_01 {
    width: 68%;
    padding-left: 10px;
}

.td_value_02 {
    width: 34%;
    padding-left: 10px;
}

.td_title {
    background: #D9D9D9;
    text-align: center;
    font-weight: bold;
}

.td_value {
    text-align: center;
}

.content_item_divider {
    margin: 24px 35px 0;
    border-top: 1px dotted #ADADAD;
}

.content_item p {
    margin-left: 32px;
    margin-top: 20px;
    color: #3B3B3B;
    font-size: 16px;
}

.select_wide {
    width: 238px;
    height: 24px;
    border: 1px solid #BFBFBF;
}

.input_wide {
    width: 230px;
    height: 22px;
    padding: 0 3px;
    border: 1px solid #BFBFBF;
}

.input_narrow {
    width: 35px;
    height: 22px;
    border: 1px solid #BFBFBF;
    text-align: center;
}

.input_time {
    width: 42px;
    height: 22px;
    border: 1px solid #BFBFBF;
    text-align: center;
}

.input_full {
    width: 97%;
    height: 22px;
    padding: 0 3px;
    border: 1px solid #BFBFBF;
}

.btn_group {
    width: 100%;
    margin-top: 24px;
    text-align: center;
}

.btn_group_left {
    width: 100%;
    margin-left: 32px;
    margin-top: 24px;
    text-align: left;
}

.btn_apply, .btn_cancel {
    width: 100px;
    height: 30px;
    background: #EFEFEF;
    border-radius: 2px;
    border: 1px solid #D9D9D9;
    box-shadow: 1px 1px 0 #7E7E7E;
    color: #3C3C3C;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
}

.btn_apply:hover, .btn_cancel:hover {
    background: #725AC7;
    border: 1px solid #492481;
    box-shadow: none;
    color: white;
}

.btn_cancel {
    margin-left: 8px;
}

.btn_file {
    min-width: 100px;
    height: 22px;
    margin: 4px 0;
    background: #EFEFEF;
    border-radius: 2px;
    border: 1px solid #BFBFBF;
    box-shadow: 1px 1px 0 #7E7E7E;
    color: #3C3C3C;
}

.btn_action {
    height: 30px;
    margin: 4px 0;
    padding-left: 10px;
    padding-right: 10px;
    background: #492481;
    border-radius: 3px;
    border: 1px solid #492481;
    box-shadow: 1px 1px 0 #7E7E7E;
    color: white;
    font-size: 15px;
    text-align: center;
}

.btn_action:hover {
    background: #725AC7;
    box-shadow: none;
}

.btn_action:disabled {
    opacity: 0.4;
    background: #725AC7;
    box-shadow: none;
}

.ic_delete {
    content: url(../img/delete_normal.png);
    padding: 3px;
    background: #EFEFEF;
    border-radius: 2px;
    border: 1px solid #D9D9D9;
    box-shadow: 1px 1px 0 #7E7E7E;
}

.ic_delete:hover {
    content: url(../img/delete_hover.png);
    background: #725AC7;
    border: 1px solid #492481;
    box-shadow: none;
}

.tips {
    padding-left: 300px;
}

#p_tip_title {
    margin-top: 10px;
    margin-bottom: 10px;
    color: red;
    font-size: 15px;
    font-weight: bold;
}

.tips p {
    margin-top: 5px;
    color: red;
    font-size: 14px;
}

/****************************/
/********* 单个样式 *********/

#form_login, #form_reset {
    width: 320px;
    margin: 100px auto 200px;
    text-align: center;
}

#form_login input, #form_reset input {
    width: 278px;
    height: 43px;
    margin-top: 30px;
    padding: 0 10px;
    border: 1px solid gray;
    font-size: 16px;
}

#btn_login, #btn_reset {
    width: 300px;
    height: 40px;
    margin-top: 30px;
    background: #725AC7;
    border-radius: 5px;
    border-style: none;
    color: white;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
}

#div_root {
    width: 1366px;
    margin: 0 auto;
}

#div_left {
    float: left;
    width: 280px;
    padding-bottom: 35px;
    background: #566069;
    box-shadow: 2px 0 2px #354052;
}

#div_left_logo {
    margin: 28px auto 58px auto;
    text-align: center;
}

#ul_left {
    width: 100%;
}

#ul_left li {
    height: 35px;
    margin: 9px 12px 9px 12px;
    list-style: none;
    background: #F5F5F5;
    border-radius: 3px;
    box-shadow: 2px 2px 0 #7E7E7E;
    line-height: 35px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

#ul_left li a {
    display: block;
    width: 100%;
    height: 100%;
    color: #353F48;
}

#ul_left li:hover {
    background: #725AC7;
    border-radius: 2px;
}

#ul_left li a:hover {
    color: white;
}

#ul_left li:active {
    transform: translateX(1px) translateY(2px);
}

#ul_left_tools li {
    margin: 1px 20px 0 20px;
    background: white;
    border-radius: 3px;
    border: 1px solid #566069;
    box-shadow: none;
}

#ul_left_tools li a {
    color: #3C3C3C;
}

#ul_left_tools li:hover {
    background: #CBC2E5;
    border-radius: 3px;
}

#ul_left_tools li a:hover {
    color: #3C3C3C;
}

#div_content_right {
    float: right;
    width: 1085px;
    height: 100%;
    background: #2D383E;
}

#div_content_top {
    float: right;
    height: 30px;
}

#div_logout {
    float: right;
    width: 100px;
    height: 22px;
    margin: 3px 20px 3px 10px;
    background: #EFEFEF;
    border-radius: 2px;
    border: 1px solid lightgray;
    text-align: center;
    font-size: 15px;
}

#div_logout a {
    text-decoration: none;
    color: black;
}

#div_content {
    float: right;
    width: 100%;
    padding-bottom: 35px;
    background: white;
}