body,
textarea {
    font-family: PingFangSC-Regular, Microsoft YaHei, Hiragino Sans GB, tahoma, Arial, STHeiti, WenQuanYi Micro Hei, SimSun, sans-serif;
}

body,
html,
#map {
    height: 100%;
    margin: 0;
    padding: 0;
    /* background-color: #ff8160; */

}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.hotspot-icon {
    position: relative;
    background-size: cover;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.hotspot-label {
    position: absolute;
    top: -12px;
    left: 0;
    color: white;
    font-size: 12px;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#control-buttons {
    width: 200px;
    position: absolute;
    z-index: 9999;
    bottom: 35%;
    right: 10px;
    display: flex;
    flex-direction: column;
}

#control-buttons>div {
    width: 100%;
    border-radius: 4px;
    border: 0;
    margin: 7px 0;
    padding: 4px 2px;
    /* background-color: #f3a900;
    box-shadow: 2px 2px 0px 2px #ffffffbf; */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#control-buttons>div:nth-child(1) {
    background-image: url(../img/button_dang.png);
}

#control-buttons>div:nth-child(2) {
    background-image: url(../img/button_ji.png);
}

#control-buttons>div:nth-child(3) {
    background-image: url(../img/button_liang.png);
}

#control-buttons>div:nth-child(4) {
    background-image: url(../img/button_xiang.png);
}

#control-buttons>div:nth-child(5) {
    background-image: url(../img/button_wen.png);
}
#control-buttons>div:nth-child(6) {
    background-image: url(../img/button_chanye.png);
}

#control-buttons button {
    width: 100%;
    height: 44px;
    border: 0;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    background-color: unset;
    color: #fff;
    font-family: PingFangSC-Regular, Microsoft YaHei, Hiragino Sans GB, tahoma, Arial, STHeiti, WenQuanYi Micro Hei, SimSun, sans-serif;
}

.open {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 99999999;
    overflow: hidden;
}
.open .open_button {position: absolute;padding: 4px 16px;color: #fff;background-color: #ffffff57;border-radius: 13px;left: 50%;transform: translate(200%, 10px);}
.open .open_button span{
    
}
.open .open_button .countdown {

}
.open img {width: 100%;height: 100%;object-fit: contain;}

.menu,
.menu-con ul {
    font-size: 14px;
    background-color: #ffffff;
}

.menu {
    position: absolute;
    bottom: 0;
    padding: 7px 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    z-index: 99999;
}

.menu-con {
    height: 100%;
    padding: 8px 0;
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    border-right: #c5c5c5 dotted 1px;
    cursor: pointer;
}

.menu-con:last-child {
    border-right: unset;
}

.menu-con ul {
    display: none;
    width: calc(100% / 3);
    font-size: 12px;
    border-radius: 2px 2px 0 0;
    position: absolute;
    bottom: 47px;
    margin: 0;
    padding: 0;
    border: #ffffff solid 0.4px;
    box-sizing: border-box;
}
.menu-ul-dangxiao {
    height: 554px;
    overflow-y: auto;
}
.menu-con li {
    text-align: center;
    padding: 15px 5%;
    /* line-height: 54px; */
    /* height: 54px; */
    list-style: none;
    border-bottom: #c5c5c5 solid 0.4px;
}

/* .menu-con a:last-child li {
    border-bottom: unset;
} */

/* 修改Tooltip背景颜色和字体颜色 */
.leaflet-tooltip {
    opacity: 1 !important;
    background-color: #d02d28;
    color: #fff;
    border-radius: 5px;
    padding: 2px 8px;
    border: 1px solid #fff;
}

/* 修改Tooltip箭头样式 */
.leaflet-tooltip:before,
.leaflet-tooltip:after {
    /* border-color: #f0f0f0; */
    display: none;
}

/* 自定义弹窗样式 */
#popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
}

#popup-content {
    position: absolute;
    max-width: 900px;
    width: 96%;
    height: 84%;
    top: 1%;
    left: 50%;
    overflow: hidden;
    transform: translate(-50%, 0);
    background-color: white;
    box-sizing: border-box;
    padding: 1%;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#popup-content iframe {
    width: 100%;
    height: 100%;
    transform: translateY(0px);
}

#popup-close {
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, 25%);
}

#popup-close img {
    width: 100%;
    height: 100%;
}

/* 教育 */
.jiaoyu {
    max-width: 400px;
    width: 60%;
    height: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.jiaoyu>div img {
    width: 100%;
}
.producer {
    width: 100%;
    position: absolute;
    display: flex;
    font-size: 8px;
    z-index: 999;
    bottom: 50px;
    flex-direction: column;
    align-items: center;
    line-height: 0px;
    color: #ff908d;
}
.feedback {
    position: absolute;
    top: 20px;
    right: 20px;
    text-align: center;
    z-index: 999;
}
.feedback svg {
    width: 30px;
}
.feedback p {
    color: #fff;
    margin: 0;
    font-size: 11px;
}
#feedback-modal {
    display:none;
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    background:#fff;
    padding:20px;
    border-radius:5px;
    box-shadow:0 0 10px rgba(0,0,0,0.3);
    z-index:9999;
    width: 80%;
    text-align: center;
}
#feedback-modal > div {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

#feedback-modal > div h3 {
    margin:0;
}
#close-feedback {
    background: #0000003d;
    border:none;
    font-size: 20px;
    cursor:pointer;
    color: #fff;
    width: 25px;
    height: 25px;
}
#feedback-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    font-size: 16px;
}
#feedback-form form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
}
#feedback-form label,
#feedback-form input {
    margin-bottom: 10px;
    height: 24px;
    font-size: 16px;
}
#feedback-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    resize: none;
    width: 45%;
}
.feedback-captcha {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}
.feedback-captcha img {
    margin-bottom:10px;
}
#feedback-captcha,
#captcha-image {
    width: 45%;
    margin: 0 !important;
    height: 46px;
}
#captcha-image {
    display:flex;
    align-items: center;
    justify-content: flex-end;
}
#captcha-image img {
    height: 70%;
    width: 84%;
}
#feedback-form textarea {
    margin-bottom: 10px;
    font-size: 16px;
}
#feedback-content {
    width:100%;
    height:150px;
    margin-bottom:15px;
    padding:10px;
    border: 1px solid #ddd;
    border-radius:3px;
    resize:none;
    box-sizing: border-box;
}
#submit-feedback {
    background:#e7443f;
    color:#fff;
    border:none;
    padding:8px 15px;
    border-radius:3px;
    cursor:pointer;
}


@media screen and (max-width: 600px) {
    .open img {
        object-fit: cover;
    }
    .open .open_button {
        transform: translate(140%, 10px);
    }
    #control-buttons {
        bottom: 85px;
        right: 2%;
        width: 148px;
    }

    #control-buttons>div {
        margin: 2px 0;
        padding: 0px 0px;
    }

    #control-buttons button {
        font-size: 16px;
        height: 40px;
    }

}