* {
    box-sizing: border-box;
}

body {
    font-size: 16px;
    min-height: 100vh;
    height: 100%;
    background-color: #000;
}

.wrapper {
    position: relative;
    height: 100%;
}

[onclick],
a,
button,
input,
select {
    cursor: pointer;
}


/* ---------nav------------*/

nav {
    height: 50px;
    border-bottom: 1px solid #fff;
    color: #fff;
    display: flex;
    position: relative;
}

nav div {
    display: flex;
    align-items: center;
}

nav .logo {
    width: 150px;
    height: 100%;
}

nav .logo img {
    height: 90%;
    margin-left: 30px;
}

nav .title {
    background-color: #AE943F;
    line-height: 50px;
    font-size: 18px;
}

nav .title label {
    padding: 0 30px;
    border-right: 1px solid #fff;
}

nav .title label:first-child {
    border-left: 1px solid #fff;
}

nav .title .iconweibiao {
    font-size: 22px;
    margin-right: 10px;
}

nav .user {
    position: absolute;
    right: 40px;
    height: 100%;
    font-size: 16px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

nav .user .user-icon img {
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}

nav .user .user-name label {
    font-size: 16px;
    line-height: 16px;
    margin-right: 10px;
}

nav .iconnotice {
    position: relative;
}

nav .iconnotice span {
    position: absolute;
    left: 70%;
    top: -10%;
    display: block;
    font-size: 9px;
    background: red;
    width: 13px;
    line-height: 13px;
    text-align: center;
    border-radius: 50%;
}

nav #showMenu {
    display: flex;
    width: 80px;
    right: 30px;
    align-items: center;
    font-size: 14px;
}

nav .showNotice {
    padding: 10px 0;
    position: absolute;
    top: 100%;
    right: 0px;
    width: 260px;
    max-height: 500px;
    overflow-y: auto;
    flex-direction: column;
    background: #efefef;
    color: #333;
    align-items: flex-start;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    z-index: 99;
}

nav .noticeItem {
    width: 100%;
    padding: 10px 20px;
}

nav .noticeItem:hover {
    background-color: #fff;
}

nav .noticeItem>div:first-child {
    margin-right: 20px;
}

nav .noticeItem>div>img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

nav .noticeItem>div:last-child {
    flex-direction: column;
    align-items: flex-start;
    font-size: 12px;
    font-weight: bold;
}

nav .noticeItem p:last-child {
    font-weight: normal;
    color: #666
}


/*  */

#subtitle {
    color: #fff;
    display: flex;
    justify-content: space-around;
    height: 34px;
    line-height: 34px;
    text-align: center;
}

#subtitle div {
    width: 50%;
    border: 1px solid #fff;
    border-top: none;
    background-color: #ae943f;
}

.content {
    width: 100%;
    padding: 30px 20px;
}

.content .add-R {
    width: 100%;
    margin: 0 0 30px 0;
}

.content button {
    background-color: #AE943F;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 6px 20px;
    color: #a10404;
}


/*  */

.other {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: #AE943F;
    line-height: 40px;
}

.other .left .track label {
    color: #fff;
}

.other .left .track select {
    border: 1px solid #AE943F;
    color: #a10404;
    border-radius: 5px;
    text-indent: 6px;
    margin-left: 10px;
    width: 120px;
}

.other .right {
    text-align: right;
}

.other .right .dateFilter {
    color: #fff;
}


/* add popup */

.add-popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9;
}

.form-w {
    background-color: #fff;
    width: 400px;
    border-radius: 5px;
    font-size: 14px;
    color: #777;
    max-height: 750px;
    overflow-y: auto;
}

.form-w input {
    height: 26px;
    border-radius: 5px;
    border: 1px solid #666;
    text-indent: 5px;
    background-color: #fff;
}

.form-w #managers {
    height: 26px;
    border-radius: 5px;
    border: 1px solid #666;
    background-color: #fff;
}

.form-w .form-title {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 20px;
    position: relative;
}

.form-w .form-title span {
    position: absolute;
    right: 20px;
}

.form-w form {
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;
    padding: 0 20px;
}

.form-w form>div {
    padding: 16px 0;
    border-bottom: 1px solid #666;
}

.form-w form>div:last-child {
    border-bottom: none;
}

.form-w form .form-sbj label {
    display: block;
    margin-bottom: 6px;
}

.form-w form .form-sbj input {
    width: 100%;
}

.form-w form .form-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-w form .form-info>div {
    display: flex;
    flex-direction: column;
    width: 46%;
    margin: 5px 0;
}

.form-w form .form-info div label {
    margin-bottom: 6px;
}

.form-w form .form-item {
    width: 100%;
}

.form-w form .form-item>div {
    width: 100%;
    display: grid;
    grid-template-columns: 50% 40% 10%;
}

.form-w form .form-item .item {
    margin: 10px 0;
}

.form-w form .form-item .item>div:first-child input {
    width: 90%;
}

.form-w form .form-item .item>div:nth-child(2) input {
    width: calc(100% - 66px);
}

.form-w form .form-item .item .detele-item {
    justify-content: center;
    align-items: center;
    display: flex;
}

.form-w form .form-total>div {
    margin-bottom: 10px;
}

.form-w form .form-total div {
    display: flex;
    align-items: center;
}

.form-w form .form-total div label {
    width: 42px;
    text-align: right;
    margin-right: 10px;
}

.form-w form .form-total div .detele-cost {
    margin: 0 20px;
}

.form-w form .form-total #addCost {
    margin-left: 20px;
}

.form-w form .form-upload p {
    margin-bottom: 10px;
}

.form-w form .form-upload input {
    display: none;
}

.form-w form .form-submit {
    text-align: center;
    padding: 10px 0px;
}


/* .form-w .form-submit button {
    background-color: #AE943F;
    color: #fff;
    line-height: 22px;
} */

.form-w form .form-submit input {
    background-color: #AE943F;
    color: #fff;
    line-height: 34px;
    border: none;
    width: 80px;
    height: 34px;
    text-indent: 0;
}

.cost {
    display: flex
}

.cost input {
    /* width: calc(100% - 66px); */
    width: 100px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    height: 26px;
    border-right: none;
}

.cost select {
    width: 60px;
    border: 1px solid #666;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    height: 26px;
}

.listcontent {
    /* margin-top: 30px; */
    width: 100%;
    display: flex;
    justify-content: space-between;
}


/* table */

.table-w {
    width: 100%;
    overflow-x: hidden;
}

.table-w>div:first-child {
    width: 100%;
    overflow-x: auto;
}

table {
    margin-top: 30px;
    width: 100%;
    background-color: #fff;
    border: 1px solid #a10404;
    border-spacing: 0px!important;
}

table tr:first-child {
    background-color: #AE943F;
    color: #fff;
}

table tr>* {
    width: fit-content;
    padding: 0 10px;
    height: 36px;
    border: 0.5px solid #a10404;
    white-space: nowrap;
    text-align: center;
}

table .iconfont,
table select {
    border: none;
    height: 30px;
}

table .itemlist {
    padding: 0;
}

table .itemlist>div {
    border-top: 1px solid #fa6868;
    width: 100%;
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
}

table .itemlist>div:first-child {
    border: none;
}

table .s {
    width: 100%;
    padding-left: 40%;
}

table img {
    height: 80px;
    margin: 0 4px;
}

.filtering {
    margin-top: 30px;
    width: 440px;
    color: #fff;
    text-align: right;
}

.filtering select {
    border: 1px solid #AE943F;
    color: #a10404;
    border-radius: 5px;
    text-indent: 6px;
    margin-left: 10px;
    width: 150px;
}

.filtering select {
    margin-bottom: 20px;
}

.dateFilter select {
    border: 1px solid #AE943F;
    color: #a10404;
    border-radius: 5px;
    text-indent: 6px;
    margin-left: 10px;
    width: 150px;
}

.reason {
    position: relative;
}

.reason>div {
    position: absolute;
    bottom: 0px;
    right: 1px;
    width: 220px;
    padding: 0;
    background: #fff;
    height: auto;
    z-index: 9;
    font-size: 13px;
}

.reason>div>div:first-child {
    padding: 0 10px;
    width: 100%;
    height: 26px;
    display: flex;
    line-height: 26px;
    justify-content: space-between;
    color: #000;
    background-color: #ddd;
    border-bottom: 1px solid #000;
}

.reason>div>div:nth-child(2) {
    padding: 2px 6px 0px 6px;
    background-color: #fff;
    white-space: normal;
    text-align: left;
}

.reason>div>div textarea {
    width: 100%;
    height: 44px;
}

.reason>div>div:nth-child(3) {
    border-top: 1px solid #666;
    background: #ddd;
    line-height: 26px;
}

.fillReason {
    position: relative;
}

.fillReason div {
    position: absolute;
    top: 0px;
    right: 1px;
    width: 180px;
    padding: 0;
    background: #fff;
    height: auto;
    z-index: 9;
    font-size: 14px;
}

.reason .showreason {
    padding: 10px;
    width: 100%;
    height: 50px;
    overflow-wrap: break-word;
    overflow-y: auto;
}


/* paging */

.paging {
    text-align: center;
    color: #fff;
    margin: 20px auto;
}

.paging span {
    margin: 0 3px;
}

select {
    padding-left: 5px;
    padding-right: 16px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image: url(../img/xiala.png);
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: auto 10px;
    background-position: calc(100% - 4px) center;
}

@media (max-width: 960px) {
    .content {
        padding: 20px 10px;
    }
    .content .add-R {
        margin: 0 0 10px 0;
    }
    .other {
        line-height: 35px;
    }
    .other .right {
        text-align: left;
    }
    .listcontent {
        margin-top: 12px;
        flex-direction: column-reverse;
    }
    .filtering {
        margin-top: 0px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    #subtitle {
        height: 68px;
        flex-direction: column;
    }
    #subtitle div {
        width: 100%;
    }
    nav .logo {
        display: none;
    }
    nav .title {
        width: 100%;
        padding: 0 10px;
    }
    nav .user {
        right: 10px;
        font-size: 10px;
    }
    nav .user .user-icon img {
        margin-right: 5px;
    }
    nav .user .user-name label {
        font-size: 12px;
        line-height: 12px;
        margin-right: 5px;
    }
    nav .showNotice {
        right: 1px;
    }
    .other {
        font-size: 14px;
    }
    .filtering {
        text-align: left;
    }
    .form-w {
        width: calc(100% - 20px);
    }
}