@font-face {
    font-family: 'Poppins';
    src: url('../font/Poppins-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Poppins';
    src: url('../font/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
}
@font-face {
    font-family: 'Poppins';
    src: url('../font/Poppins-Bold.ttf') format('truetype');
    font-weight: bold;
}
body{
    font-family: 'Poppins';
    background: #F5F5F5;
}
:root{
    --text-color:#108391;
    --base-color:#4FC2B8;
}
*{
    box-sizing: border-box;
    transition: all .3s;
}
a{
    text-decoration: none;
}
.d-flex{
    display: flex;
}
.d-flex-between{
    display: flex;
    justify-content: space-between;
}
.d-flex-center{
    display: flex;
    justify-content: center;
}
.align-c{
    align-items: center;
}
.align-end{
    align-items: flex-end;
}
.flex-wrap{
    flex-wrap: wrap;
}
.hand{
    cursor: pointer;
}
.limit{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.limit-2{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.limit-3{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.limit-4{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}
.mask{
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.3);
}
/*form错误提示*/

.red-alarm{
    border-color: red !important;
    position: relative;
}
.red-alarm input,
.red-alarm textarea,
.red-alarm select{
    border-color: red !important;
}
.red-alarm::after{
    content: attr(data-content-after);
    font-size: 12px;
    color: red;
    position: absolute;
    bottom: -20px;
    left: 0;
    height: 18px;
    z-index: 3;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
}
.red-alarm:hover::after{
    overflow: visible;
    white-space: unset;
}
.shake{
    animation: shake 0.1s ease infinite;
}
.shake:after{
    font-family: Arial, "Microsoft YaHei", sans-serif;
    /*content: '请完成滑块验证';*/
    font-size: 12px;
    color: red;
    position: absolute;
    bottom: -24px;
    left: 0;
}
/*form错误提示end*/
.adv{
    width: 100%;
    object-fit: contain;
    cursor: pointer;
}
.dis-btn{
    color: #aaa !important;
    pointer-events: none !important;
}
.disBtn{
    opacity: .5;
    pointer-events: none;
}

.form-select-box{
    position: relative;
    cursor: pointer;
}
.form-select-val,
.form-select-text{
    cursor: pointer;
    pointer-events: none;
}
.form-select-text{
    padding-right: 20px;
}
.form-select-val{
    position: absolute;
}
.form-select-icon{
    position: absolute;
    color: #999999;
    font-size: 15px;
    right: 30px;
}
.form-select-options{
    position: absolute;
    width: 100%;
    overflow-y: auto;
    padding: 10px 0;
    background: #FFFFFF;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-height: 400px;
    z-index: 4;
    bottom: -2px;
    left: 0;
    display: none;
    height: fit-content;
    transform: translateY(100%);
    overflow-x: hidden;
}
.form-select-box-fixed .form-select-options{
    position: fixed;
    z-index: 9;
    transition: unset;
}
.form-select-options div{
    cursor: pointer;
    padding: 10px 13px 10px 20px;
    font-weight: 500;
    font-size: 16px;
    color: #222222;
    line-height: 20px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    align-items: center;
}
.form-select-options div:hover{
    background: #E4EEF2;
    color: var(--text-color);
}
.form-select-options div.on{
    color: var(--text-color);
}
.form-select-options::-webkit-scrollbar{
    width: 8px;
}
.form-select-options::-webkit-scrollbar-thumb{
    background: var(--base-color);
    border-radius: 4px;
    width: 8px;
    border: 2px solid #fff;
}
.datepicker-dropdown{
    font-size: 12px;
}
.datepicker .next, .datepicker .prev{
    font-size: 18px;
}
.datepicker table tr td.active.active{
    background: var(--base-color) !important;
}
#divSearchDownList,#divSearchHomeDownList{
    display: none;
}
.grade.grade1{background: #E8EFF0;color: #607B87}
.grade.grade2{background: #DFECF4;color: #4C6F89}
.grade.grade3{background: #E8E8E8;color: #797E7F}
.grade.grade4{background: #E4DCF4;color: #5E4E75}
.grade.grade5{background: #FCF1D4;color: #7A6C56}
.grade.grade6{background: #DBD1C8;color: #68605A}
