/* 解决页面左右溢出 */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
    overflow: auto;
    margin: 0;
}

.homePage {
    width: 100%;
    overflow: auto;
}

.firstBox {
    width: 98%;
    margin: 10px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.firstImg {
    width: 45%;
    height: 1.8rem;
}

.thirdBox {
    width: 98%;
    margin: 0.1rem auto;
    display: flex;
}

.third {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thirdImg {
    width: 3.5rem;
    height: 3.5rem;
}

.thirdTitle {
    font-size: 1rem;
    margin: 0.4rem 0;
    color: rgba(116, 115, 115);
    padding: 0 5px;
}

.fourth {
    background-color: rgba(55, 129, 254, 0.8);
    width: 95%;
    margin: 0 auto;
    border-radius: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.5rem;
    color: #fff;
    font-size: 1rem;
}

.noticeBox {
    display: flex;
    align-items: center;
}

.noticeImg {
    width: 1rem;
    height: 1rem;
    padding-right: 0.5rem
}

.moreBox {
    font-size: 0.9rem;
}

.dkBox {
    background-image: url('https://ht.hyzyt.cn/static/v2/img/dk.png');
    background-size: 100% 100%;
    width: 43%;
    background-repeat: no-repeat;
    margin-left: 5px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    font-weight: 300;
    font-size: 1rem;
    padding: 10px;
    word-wrap: break-word;
    word-break: break-word;
}

.dkImg {
    width: 4rem;
    height: 4rem;
    margin-right: 5px;
}

/*  */
.custom-select {
    position: relative;
    display: inline-block;
}

.select-selected {
    background-color: #f1f1f1;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.8rem;
}

.select-items {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    border: 1px solid #ccc;
    border-radius: 10px;
    z-index: 1;
}

.select-items div {
    padding: 8px 16px;
    cursor: pointer;
}

.select-items div:hover {
    background-color: #f1f1f1;
}

a {
    text-decoration: none;
    /* 去除默认的下划线 */
    outline: none;
    /* 去除旧版浏览器的点击后的外虚线框 */
    color: #000;
    /* 去除默认的颜色和点击后变化的颜色 */
}

/* <!-- 中小学一对一弹窗 --> */
.dialog {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 80%;
}

.dialog-title {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}


#dialog-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

#dialog-close2 {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

.firstDialogbox {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 10px;
}

.firstDialog1,
.firstDialog2,
.firstDialog3,
.firstDialog4,
.firstDialog5,
.firstDialog6 {
    width: 50%;
    height: 100px;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    text-align: center;
}

.firstDialog1 {
    /* background-image: url('/static/v2/img/ydyDl.png'); */
    background-image: url('../img/ydyDl.png');
}

.firstDialog2 {
    /* background-image: url('/static/v2/img/ydyXg.png'); */
    background-image: url('../img/ydyXg.png');
}

.firstDialog3 {
    background-image: url('../img/ydyAm.png');
    /* background-image: url('/static/v2/img/ydyAm.png'); */
}

.firstDialog4 {
    background-image: url('../img/ydyXjp.png');
    /* background-image: url('/static/v2/img/ydyXjp.png'); */
}

.firstDialog5 {
    background-image: url('../img/ydyOm.png');
    /* background-image: url('/static/v2/img/ydyOm.png'); */
}

.firstDialog6 {
    background-image: url('../img/ydyDny.png');
    /* background-image: url('/static/v2/img/ydyDny.png'); */
}


.dialogDiv1 {
    width: 45%;
}

.dialogDiv2 {
    width: 80%;
    font-size: 0.7rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2px;
}

.dialogDiv2Title {
    background-color: #dfe5e8;
    color: #8298b1;
    margin-top: 0.2rem;
    width: 70%;
    border-radius: 0.2rem;
    padding: 0.1rem 0.15rem;
}

/*  <!-- 欧美/中教/菲教口语一对一弹窗 --> */
.foreignBox {
    width: 100%;
    height: 10rem;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.foreignTeacher1 {
    width: 48%;
    background-image: url('../img/ydyFj.jpg');
    /* background-image: url('/static/v2/img/ydyFj.jpg'); */
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0.5rem 0;
}

.foreignTeacher2 {
    width: 48%;
    background-image: url('../img/ydyOm.jpg');
    /* background-image: url('/static/v2/img/ydyOm.jpg'); */
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0.5rem 0;
}

.foreignTitle1 {
    color: #fff;
    letter-spacing: 2px;
    font-size: 1rem;
}

.foreignTitle2 {
    color: #8298b1;
    font-size: 0.8rem;
    background-color: #e9eff1;
    border-radius: 0.2rem;
    padding: 0.1rem 0.15rem;
    padding: 0.1rem 0.25rem;
}

/* 背景虚化效果 */
.blur-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* 半透明黑色背景 */
    backdrop-filter: blur(5px);
    /* 背景虚化 */
    z-index: 10;
    display: none;
    /* 默认隐藏 */
}
/* 12.28 雅思弹窗样式 */
.ysBox {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    
}

.ysSmallBox {
    background-image: url('https://ht.hyzyt.cn/static/v2/img/ysmodalBJ.png');
    background-size: 100% 100%;
    width: 50%;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;

}