* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* 包括边框和内边距 */
}

ul, ol {
    list-style: none; /* 移除列表的默认标记 */
}

a {
    text-decoration: none; /* 移除链接的下划线 */
    color: inherit; /* 链接文本继承父元素颜色 */
}

body {
    font-family: sans-serif; /* 设置默认字体 */
    background: white; /* 设置默认背景色 */
    color: black; /* 设置默认文本颜色 */
    /*overflow: hidden;*/
}

.main-top {
    width: 100%;
    position: relative;
    z-index: -1;
}
.main-top img {
    width: 100%;
}

.main-box {
    width: 100%;
    margin-top: -10px;
    border-radius: 10px 10px 0 0;
    padding: 26px 16px 0;
    background: #fff;
    padding-bottom: 10vh;
}

.title {
    color: #333;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 35px;
}

.main-box-item {
    margin-bottom: 30px;
}

.item_title {
    font-weight: bold;
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
}

.province-select {
    width: 100%;
    background: #F7F7F7;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 15px;
    border-radius: 5px;
    height: 36px;
    line-height: 36px;
}

.province-left {
    margin-left: 16px;
}

.province-left img {
    width: 16px;
    margin-top: -4px;
}

.province-text {
    width: 90%;
    margin-left: 10px;
}
.province-right {
    margin-right: 16px;
}

.province-right img {
    width: 9px;
    position: relative;
    top: -2px;
}

.subject-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.subject-list li{
    height: 36px;
    line-height: 36px;
    text-align: center;
    width: 30%;
    margin-right: 3%;
    border-radius: 4px;
    background: #f7f7f7;
    margin-bottom: 10px;
    color: #333;
}

.subject-list .active {
    color: #fff;
    background: #384BFE;
}

.type2, .type3 {
    display: none;
}

.score_box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 15px;
    height: 36px;
    line-height: 36px;
    background: #f7f7f7;
    color: #333333;
}
.score_box input {
    width: 90%;
    border: none;
    background: #f7f7f7;
}

.score_box input:focus {
    outline: none;
}

.score_box span {
    margin-right: 16px;
}

.btn {
    width: 100%;
    height: 44px;
    line-height: 44px;
    font-size: 18px;
    text-align: center;
    color: #fff;
    background: #384BFE;
    border-radius: 4px;
}

@keyframes province-popup {
    from {
        top: 100vh;
    }
    to {
        top: 10vh;
    }
}

.province-popup {
    position: fixed;
    top: 10vh;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 10px 10px 0 0;
    padding-top: 16px;
    box-shadow: 0 2px 10px rgb(148 217 255);
    display: none;
}

.province-popup-animation {
    animation-name: province-popup;
    animation-duration: .5s;
    display: block;
}

.province-popup-title {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding: 0 16px;
    margin-bottom: 16px;
}

.province-popup-title-left img {
    width: 24px;
}

.province-popup-title span {
    width: 90%;
}

.province-popup-title-right img {
    width: 18px;
    margin-top: 4px;
}

.province-popup ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.province-popup li {
    height: 32px;
    line-height: 32px;
    text-align: center;
    color: #333;
    background: #f7f7f7;
    border-radius: 4px;
    width: 30%;
    margin-bottom: 12px;
    margin-left: 2.5%;
}

.province-list {
    padding: 2%;
}
.grid-demo {
    height: 32px;
    line-height: 32px;
    text-align: center;
    color: #333;
    background: #f7f7f7;
    border-radius: 4px;
    margin-bottom: 6px;
}