@charset "UTF-8";
/* CSS caidan */
*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
nav,
nav ul {
    position: fixed;top:0px;right:0px;
    width: 50%;
    height: 100%;
}
nav {
    background: #000000;
    opacity: 0;
    -webkit-transform: scale(0.3);
    -ms-transform: scale(0.3);
    transform: translateX(100%);
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
@media screen and (max-width: 680px){
    nav,
    nav ul {
        width: 100%;
    }

}
#toggle {
    display: none;
}
#toggle + #toggle-btn,
.nav-icon {
    position: absolute;
    top: 0px;
    right: 0px;
    border-radius: 3px;
    cursor: pointer;
}
#toggle + #toggle-btn {
    height: 30px;
    width: 30px;
    z-index: 1000;
    background: rgba(0, 0, 0,);
}

.nav-icon,
.nav-icon:before,
.nav-icon:after {
    position: absolute;
    height: 2px;
    width: 24px;
    margin: 0 0;
    z-index: 900;
    border-radius: 3px;
    background: #000000;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}
.nav-icon:before {
    content: "";
    margin-top: -8px;
}
.nav-icon:after {
    content: "";
    margin-top: 8px;
}
#toggle:checked ~ nav {
    opacity: 1;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: translate(0.0);
}
#toggle:checked ~ .nav-icon {
    background: rgba(255, 0, 0, 0);
}
#toggle:checked ~ .nav-icon:before {
    -webkit-transform: rotate(-225deg);
    -ms-transform: rotate(-225deg);
    transform: rotate(-225deg);
    margin-top: 0;
    background: #ffffff;
}
#toggle:checked ~ .nav-icon:after {
    -webkit-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    transform: rotate(225deg);
    margin-top: 0;
    background: #ffffff;
}

/* 菜单内容 */
.caidanye a:link {text-decoration: none;color: #7a7a7a;}
.caidanye a:visited {text-decoration: none;color: #7a7a7a;}
.caidanye a:hover {text-decoration: none;color: #bc9366;}
.caidanye a:active {text-decoration: none;color: #7a7a7a;}

.caidanye{
    z-index: 5;
    font-family: 'hbm'; 
    font-size: 3vh;color: #ffffff;
    line-height:160%;
    padding-top: 25vh;
    padding-left: 10%;
}
.xiaozi{
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 14px;
}

.dibu{
    width: 100%; 
    padding: 10px;
    font-family: Impact, hbm, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 12px; color: #000000;
    background-color: rgb(255, 255, 255);
}
.xian{
    margin: 6px 0px;
    border-bottom: 1px solid rgb(0, 0, 0);
}
.dibu1{
    padding: 15vh 0px 16vh 0px;
    text-align:center;
    font-size: 18px;
}
.dibucd{
    padding-right: 20px;
}
.dibubq{
    display: -webkit-flex; /* Safari */
    display: flex;
    justify-content: space-between;
}
.dibusj{
    width: 100px;
    display: inline-flex;
    justify-content: space-between;
}
/* 弹窗 (background) */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed; /* 固定定位 */
    z-index: 999; /* 设置在顶层 */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100vh;
    overflow: auto;  
    background-color: rgba(0,0,0,0.8); 
}

/* 弹窗内容 */
.modal-content {
    background-color: #fefefe;
    margin: 20vh auto 0 auto; 
    padding: 40px 20px;
    width: 340px; 
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-size: 16px; text-align:center; color: rgb(97, 97, 97);
}
.modal-content img{margin-bottom: 20px;}
.hello{font-size: 20px;font-family: "Ubuntu B";margin-bottom: 20px;}

/* 关闭按钮 */
.close {
    color: rgb(255, 255, 255);
    float: right;
    font-size: 50px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: lighter;
    margin: 0 10px 0 20px;
}

.close:hover,
.close:focus {
    color: rgb(192, 192, 192);
    text-decoration: none;
    cursor: pointer;
}

@media screen and (max-width: 680px){
    .modal{background-color: rgba(0,0,0,0.9);}
    .modal-content {
        position:absolute; bottom:0;
        padding: 40px;
        width: 100%; height: 86vh;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
    }
    .close {
        font-size: 70px;
        font-weight: 100;
    }
}