#bg_div {
    z-index: -95;
    position: fixed;
    margin: auto;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    right: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-repeat: repeat-x;
    background-size: contain; /* 保持图片原始尺寸 */
    opacity: 0.4;
}

#bg_div_img {
    position: fixed;
    top: 0;
    left: 0;
    margin: auto;
    display: flex;
    width: 100%;
    height: 100%;
    background: #000000;
}


.Selectbg {
    border: 1px solid #ccc;
    padding: 7px 0px;
    border-radius: 3px;
    padding-left: 5px;
    background-color: white;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
}

.Selectbg:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6)
}

#img_span {
    display: flex;
    flex-direction: row;
    align-items: center;
}


button {
    width: auto;
    /*设置按钮宽度*/
    height: 30px;
    /*设置按钮高度*/
    color: white;
    /*字体颜色*/
    background-color: cornflowerblue;
    /*按钮背景颜色*/
    border-radius: 3px;
    /*让按钮变得圆滑一点*/
    border-width: 0;
    /*消去按钮丑的边框*/
    margin: 0;
    outline: none;
    /*取消轮廓*/
    font-family: KaiTi;
    /*字体设置为楷体*/
    font-size: 17px;
    /*设置字体大小*/
    text-align: center;
    /*字体居中*/
    cursor: pointer;
    /*设置鼠标箭头手势*/
}

button:hover {
    /*鼠标移动时的颜色变化*/
    background-color: burlywood;
}


#baidu_div {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#body_div {
    z-index: 1;
    display: flex;
    flex-direction: row;
}

.nav_div_one {
    width: 100%;
    display: flex;
    flex: row;
    flex-wrap: wrap;
    align-items: center;
}

.nav_div_one a {
    display: flex;
    align-content: center;
    text-decoration: none;
    margin-top: 15px;
}

.nav_div_one img {
    margin-left: 25px;
}


.switch-boxs {
    height: 50px;
}

.switch {
    width: 44px;
    height: 22px;
    position: relative;
    border: 1px solid #dfdfdf;
    background-color: #dddddd;
    box-shadow: #dfdfdf 0 0 0 0 inset;
    border-radius: 20px;
    background-clip: content-box;
    display: inline-block;
    -webkit-appearance: none;
    user-select: none;
    outline: none !important;
}

.switch:before {
    content: '';
    text-align: center;
    line-height: 20px;
    color: #999999;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.switch::after {
    left: 23px;
    content: attr(data-text);
    position: absolute;
    color: #fff;
}

.switch:checked {
    border-color: #253DA3;
    box-shadow: #2E84FF 0 0 0 16px inset;
    background-color: #2E84FF;
}

.switch:checked:before {
    left: 22.5px;
}

.switch:checked:after {
    left: 6px;
}

.switch.switch-admin {
    transition: border cubic-bezier(0, 0, 0, 1) 0.4s, box-shadow cubic-bezier(0, 0, 0, 1) 0.4s;
}

.switch.switch-admin:before {
    transition: left 0.3s;
}

.switch.switch-admin:checked {
    box-shadow: #2E84FF 0 0 0 16px inset;
    background-color: #2E84FF;
    transition: border ease 0.4s, box-shadow ease 0.4s, background-color ease 1.2s;
}

.switch.switch-admin:checked:before {
    transition: left 0.3s;
}


.upload-wrap {
    flex: display;
    display: inline-table;
    position: relative;
    overflow: hidden;
}

.upload-wrap .file-ele {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.upload-wrap .file-open {
    width: 80px;
    height: 30px;
    padding: 2px 6px;
    text-align: center;
    color: white;
    /*字体颜色*/
    background-color: cornflowerblue;
    /*按钮背景颜色*/
    border-radius: 3px;
    /*让按钮变得圆滑一点*/
    border-width: 0;
    /*消去按钮丑的边框*/
    margin: 0;
    outline: none;
    /*取消轮廓*/
    font-family: KaiTi;
    /*字体设置为楷体*/
    font-size: 17px;
    /*字体居中*/
    cursor: pointer;
}

.upload-wrap:hover {
    /*鼠标移动时的颜色变化*/
    background-color: burlywood;
}


.div_select {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;

}

.span_select {
    display: flex;
    width: 12.5%;
    height: 50px;
    justify-content: center;
    align-items: center;
    align-content: center;
    font-size: 17px;
}

#span_select1 {
    background: #99CCCC;
    color: #FFFF00;
}

#span_select1:hover {
    /*鼠标移动时的颜色变化*/
    /* background-color: burlywood; */
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);

}

#span_select2 {
    background: #FFCCCC;
    color: #CC0033;
}

#span_select2:hover {
    /*鼠标移动时的颜色变化*/
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
}

#span_select3 {
    background: #99CC99;
    color: #CC0033;
}

#span_select3:hover {
    /*鼠标移动时的颜色变化*/
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
}

#span_select4 {
    background: #CCCCCC;
    color: #CC0033;

}

#span_select4:hover {
    /*鼠标移动时的颜色变化*/
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
}

#span_select5 {
    background: #CCFFFF;
    color: #CC0033;
}

#span_select5:hover {
    /*鼠标移动时的颜色变化*/
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
}

#span_select6 {
    background: #CCCCFF;
    color: #CC0033;
}

#span_select6:hover {
    /*鼠标移动时的颜色变化*/
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
}

#span_select7 {
    background: #FF6666;
    color: #CC0033;
}

#span_select7:hover {
    /*鼠标移动时的颜色变化*/
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
}

#span_select8 {
    background: #CCFF99;
    color: #CC0033;
}

#span_select9 {
    background: #01AAD1;
    color: #CC0033;
}

#span_select8:hover {
    /*鼠标移动时的颜色变化*/
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
}


.box_title {
    display: flex;
    width: auto;
    writing-mode: vertical-lr;
    padding: 10px 5px 10px 5px;
    font-size: 20px;
    align-items: center;

    justify-content: center;
}

.box_title_line {
    width: 1px;
    height: auto;
    align-items: stretch;
    align-content: stretch;
    background: fuchsia;
}


.box_content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    height: auto;
}

.box_content_div {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-left: 5px;
    height: auto;
}


.box_content_div_finish {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-left: 5px;
    height: auto;
    margin-bottom: 10px;
}

.box_content_class {
    width: 100%;
    display: flex;
    margin-top: 10px;
    justify-content: center;
    font-size: 18px;
    background: url(../img/icon_line.png);
}

.box_content_class_line_up {
    margin-top: 10px;
    width: 100%;
}

/* .box_content_class_line{
	width: 100%;
	height: 1px;
    background: fuchsia;
} */
#box {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

}

.box_a {
    margin-top: 15px;
    width: 20%;
    display: flex;
    align-content: center;
    font-size: 16px;
    text-decoration: none;
    align-items: center;
    color: black;
}

.box_a .img {
    width: 24px;
    height: 24px;
}

.box_a span {
    color: black;
    margin-left: 5px;
    font-size: 18px;
}

/* 导航部分样式 */
.nav-section {
    margin-bottom: 20px;
}

.nav-section h2 {
    margin: 0;
    padding: 0;
}

#box2 {
    width: 100%;

    height: auto;

    flex-direction: row;
    flex-wrap: nowrap;
}

#box3 {
    width: 100%;

    height: auto;
    flex-direction: row;
    flex-wrap: nowrap;
}

#box4 {
    width: 100%;

    height: auto;
    flex-direction: row;
    flex-wrap: nowrap;
}

#box5 {
    width: 100%;

    height: auto;
    flex-direction: row;
    flex-wrap: nowrap;
}

#box6 {
    width: 100%;

    height: auto;
    flex-direction: row;
    flex-wrap: nowrap;
}

#box7 {
    width: 100%;

    height: auto;
    flex-direction: row;
    flex-wrap: nowrap;
}

#box8 {
    width: 100%;

    height: auto;
    flex-direction: row;
    flex-wrap: nowrap;
}


/* 开关按钮 */
.btn-on {
    width: 60px;
    height: 25px;
    margin: 0 3px;
    border-radius: 25px;
    font-size: 14px;
}

.btn-on {
    /* cursor: pointer;
    position: relative;
    border: 1px solid white;
    background-color: #12B090; */
    cursor: pointer;
    position: relative;
    border: 1px solid white;
    background-color: #ccc;
}

.btn-on-circle {
    /* position: absolute;
    width: 15px;
    height: 15px;
    top: 5px;
    left: 5px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    box-shadow: 0 0 10px white;
    transition: all .5s; */
    position: absolute;
    width: 15px;
    height: 15px;
    top: 5px;
    border-radius: 50%;
    box-shadow: 0 0 10px white;
    transition: all .5s;
    left: 40px;
    background-color: #888;
    box-shadow: 0 0 10px #888;
}

.btn-on-text {
    /* position: absolute;
    right: 10px;
    line-height: 25px;
    color: white;
    transition: all .5s; */
    position: absolute;
    line-height: 25px;
    transition: all .5s;
    right: 30px;
    color: #888;
}

.modal-top {
    margin-top: 10px;
}

/* 对话框样式 */
.modal {
    display: none; /* 初始隐藏 */
    position: fixed; /* 固定位置 */
    z-index: 2; /* 位于顶层 */
    left: 0;
    top: 0;
    width: 100%; /* 全屏宽度 */
    height: 100%; /* 全屏高度 */
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
}

/* 对话框内容样式 */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 垂直居中 */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* 隐藏关闭按钮的样式 */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-item {
    margin-left: 15px;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    margin-top: 10px

}

input[type="radio"] {
    width: 20px; /* 设置宽度为20px，可以根据需求调整数值 */
    height: 20px; /* 设置高度为20px，可以根据需求调整数值 */
}




/* 内容切换按钮 */
.content-switch-img {
    width: 26px;
    height: 26px;
    float: right;
}

/* 主容器 */
.main-container {
    display: flex;
    width: 100%;
    flex-direction: column;
}

/* 搜索容器 */
.search-container {
    display: flex;
    width: 100%;
    flex-direction: row;
}

/* 主体div */
.body-div {
    width: 50%;
    height: auto;
    z-index: 1;
    display: flex;
    flex-direction: row;
}

/* 搜索图标 */
.search-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.search-icons img {
    width: 30px;
    height: 30px;
    opacity: 0.6;
    margin-left: 15px;
}

.search-icons img:first-child {
    margin-left: 0;
}

.search-icons #img_presearch {
    width: 60px;
    height: 60px;
    opacity: 1;
}

/* 搜索表单 */
.search-form {
    width: 100%;
    display: none;
}

.search-form.active {
    display: block;
}

.search-form form {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.search-input-container {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.search-input-container input {
    width: 100%;
    height: 30px;
}

.search-button-container {
    width: auto;
    height: 60px;
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.search-button-container button {
    width: 55px;
    height: 30px;
}

/* 设置容器 */
.settings-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

/* 透明度控制 */
.opacity-control {
    margin: 0 10px;
}

/* 背景设置 */
.background-settings {
    display: flex;
    flex-direction: row;
    align-content: center;
    height: 100%;
}

/* 自定义背景 */
.custom-background {
    display: flex;
    align-items: center;
}

.custom-background #bg_input {
    border: 0;
    outline: none;
    background-color: rgba(0,0,0,0);
    width: 90px;
}

.custom-background button {
    margin-left: 10px;
}

/* 导航选择器 */
.nav-selector {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
}

.nav-item {
    display: flex;
    width: 12.5%;
    height: 50px;
    justify-content: center;
    align-items: center;
    align-content: center;
    font-size: 17px;
}

/* 内容框架 */
.content-frame {
    width: 100%;
    height: 700px;
}

.content-frame iframe {
    width: 100%;
    height: 100%;
    border: medium none;
}

/* 隐藏导航 */
.hidden-nav {
    visibility: hidden;
    margin-bottom: 35px;
    display: none;
}

.hidden-nav iframe {
    width: 100%;
    height: 600px;
    border: medium none;
}

/* 模态框行 */
.modal-row {
    display: flex;
    align-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.modal-row label {
    margin-right: 10px;
}

.modal-row input[type="number"] {
    height: 30px;
    font-size: 20px;
}

/* 单选按钮组 */
.radio-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: 10px;
    margin-top: 12px;
}

.radio-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.radio-item input[type="radio"] {
    margin-right: 5px;
}

/* 模态框操作按钮 */
.modal-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.modal-button {
    padding: 5px 25px;
    margin: 0 10px;
}

.modal-button.confirm {
    margin-left: 40px;
}

/* 外层容器样式 */
/*.countdown-container {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    align-items: center;*/
/*    width: 310px;*/
/*    height: 80px;*/
/*    padding: 0 20px;*/
/*    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);*/
/*    border-radius: 16px;*/
/*    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);*/
/*    font-family: 'Microsoft YaHei', sans-serif;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/



/* 倒计时数字容器样式 */
#countdown {
    margin-left: 10px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #4361ee 0%, #7209b7 100%);
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.4);
    position: relative;
    z-index: 1;
    animation: pulse 2s infinite ease-in-out;
}

/* 倒计时数字渐变叠加 */
#countdown::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    border-radius: 8px;
    z-index: 2;
}

/* 呼吸动效 */
/*@keyframes pulse {*/
/*    0% {*/
/*        transform: scale(1);*/
/*        box-shadow: 0 4px 12px rgba(67, 97, 238, 0.4);*/
/*    }*/
/*    50% {*/
/*        transform: scale(1.05);*/
/*        box-shadow: 0 6px 18px rgba(67, 97, 238, 0.6);*/
/*    }*/
/*    100% {*/
/*        transform: scale(1);*/
/*        box-shadow: 0 4px 12px rgba(67, 97, 238, 0.4);*/
/*    }*/
/*}*/

/* 装饰性小元素 */
.countdown-container::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 0;
}

/* 倒计时为0时的样式 */
#countdown.off-work {
    background: linear-gradient(135deg, #2ecc71 0%, #1abc9c 100%);
    animation: bounce 0.8s ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

#index-daily-task{
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #09f0f8;
    text-decoration: none;
}

#down_button {
    display: none;
    z-index: 999;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #09f0f8;
    text-decoration: none;
}