@charset "utf-8";
/* CSS Document */
*{ margin: 0; padding: 0; word-break: break-all; word-wrap: break-word;}
html { background: #f9f9f9;}
body { width: 100%; max-width: 640px; min-height: 100vh; margin: 0 auto; line-height: 1.5; color: #282a2d; font-size: 16px; font-family: '微软雅黑', Arial, Helvetica, sans-serif; box-shadow: 0 0 50px rgba(0,0,0,.1); background: #fff;}
input, select, button, textarea { margin: 0; padding: 0; vertical-align: middle; font-size: 100%; color: inherit; border: 0; font-family: inherit; outline: none; resize: none;}
input[type="text"] { -webkit-appearance: none;}
ol, ul {list-style: none;}
img { max-width: 100%; vertical-align: middle;}
a { text-decoration: none; color: inherit;}
:focus { outline: 0;}
table {	border-collapse: collapse; border-spacing: 0; line-height: 1.5;}
iframe { vertical-align: top;}

.header { display: flex; background: #fff;  transition: all 0.3s ease-in-out;
}
.header .logo { flex: 1;}
.header .logo img { height: 80px;}
.header .header-txt {}
.header .header-txt img { height: 80px;}

.banner {  transition: opacity 0.3s ease-in-out;
}

#top{ box-shadow: 10px 10px 15px rgba(0,0,0,.1); position: relative;width: 100%;z-index: 999;transition: all 0.3s ease-in-out;}
#top .header { display: none;}
#top iframe { height: 86px; border: solid 10px #fff; box-sizing: border-box;}
#top[data-fixed="fixed"]{ width: 100%; max-width: 640px; position: fixed; top:0; left: 0; right: 0; margin: auto;}
#top[data-fixed="fixed"] .header{ display: flex; border-bottom: solid 1px #e5e5e5;}

.web { display: flex; flex-wrap: wrap; padding: 5px;}
.web .item { display: flex; align-items: center; width: calc(50% - 20px); margin: 10px; padding: 15px; box-sizing: border-box; background: #eef0f4; border-radius: 10px; box-shadow: 10px 10px 15px rgba(0,0,0,.15);}
.web .item .weblogo { width: 30%;}
.web .item .weblogo img { border-radius: 8px;}
.web .item .webtxt { flex: 1; margin-left: 10px; }
.web .item .webtxt h3 {}
.web .item .webicon { background: url(../images/arr.png) right center no-repeat; background-size: 20px 20px; width: 20px;height: 20px;}
.web .item .webtxt p { color: #6c757d;}
.box { width: calc(100% - 20px); margin: 10px; padding-bottom: 15px; box-sizing: border-box; background: #eef0f4; border-radius: 10px; box-shadow: 10px 10px 15px rgba(0,0,0,.15);}
.box h3 { padding: 10px; color: #fff; text-align: center; background: #f1404b;}
.box .wrap { max-height: 30vh; overflow-y: scroll; margin: 5px 15px 0 15px;}
.box .wrap p { padding: 10px 0; border-bottom: solid 1px #ddd;}
.box .wrap a { display: inline-block; margin: 0 10px; padding: 2px 10px; color: #f1404b; border-radius: 30px; border: solid 1px #f1404b;}
.box .btn { display: flex; justify-content: center; padding-top: 15px; text-align: center;}
.box .btn a { display: inline-block; border-radius: 100px; margin: 0 5px; padding: 10px 30px; font-size: 18px; font-weight: bold; color: #fff; background: #444;}
.box .btn a:before { content: ""; display: inline-block; width: 17px; height: 17px; margin-right: 7px; background: url(../images/arr2.png) 0 0 no-repeat; background-size: 100% 100%; vertical-align: middle;}


@media screen and (max-width:640px){
body {  font-size: 12px;}
.header .logo img { height: 50px;}
.header .header-txt img { height: 50px;}
.web .item { width: calc(50% - 10px); margin: 5px; padding: 8px; border-radius: 6px; box-shadow: 5px 5px 8px rgba(0,0,0,.15);}
.web .item .weblogo img { border-radius: 4px;}
.web .item .webtxt { margin-left: 7px; background-size: 15px 15px;}
.web .item .webicon { background-size: 15px 15px; width: 15px;height: 15px;}
.box { width: calc(100% - 10px); margin: 5px; border-radius: 6px; box-shadow: 5px 5px 8px rgba(0,0,0,.15);}
.box h3 { padding: 7px 10px;}
.box .wrap a { margin: 0 5px; padding: 2px 5px;}
.box .btn { padding-top: 15px;}
.box .btn a { padding: 5px 15px; font-size: 15px; font-weight: normal;}
.box .btn a:before { width: 13px; height: 13px; margin-right: 5px;}
.scrolled #top {
    top: 50px !important;
  }
}
.web .item .webicon {
    transition: transform 0.3s ease-in-out;
}
.box {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    z-index:8;
}
.box.active {
    display: block;
    max-height: 1000px; 
    opacity: 1;
}
.scrolled .header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 640px;
    z-index:9;
  }
  .scrolled #top {
    position: fixed;
    top: 80px;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    max-width: 640px;
    margin: auto;
    z-index:9999;
  }
  
  .scrolled .banner {
    opacity: 0;
    pointer-events: none;
  }
@keyframes rotateIconDown {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(90deg);
    }
}

@keyframes rotateIconUp {
    0% {
        transform: rotate(90deg);
    }
    100% {
        transform: rotate(0deg);
    }
}
