body {
    background: #8cdaff;
    font-family: 'STHeiti', 'Microsoft YaHei', Helvetica, Arial, sans-serif;

}

img {
    width: 100%;
    vertical-align: top;
    max-width: 100%;
    image-rendering: -webkit-optimize-contrast;
}

html,
body {
    height: 100%;
    overflow-x: hidden;
}

#container {
    height: 100%;
    position: relative;
    background: #8cdaff url(../images/bg.jpg) no-repeat center top;
    background-size: 100% 100%;
}

.header {
    padding: 4vw 0 0 0;
    width: 100%;
    position: relative;
    z-index: 10;
}

.float_menu {
    position: fixed;
    max-width: 50px;
    width: 10vw;
    right: 0;
    z-index: 999;
    top: 20%;
}

.title2 {
    text-align: center;
    font-size: 0.4rem;
    color: #264555;
    margin-top: 1%;
    margin-bottom: 4%;
    letter-spacing: 3px;
    line-height: .5rem;
}

.header .logo {
    margin: 0 auto 0.4rem;
    width: 3.5rem;
}

.header .img {
    margin: 0 auto;
    width: 100%;
}

.main {
    width: 100%;
    /*    min-height: calc(100vh - 8.5vw);*/
    position: relative;
    left: 0;
    top: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /*    justify-content: space-between;*/
}

.main .img {
    margin: 0 auto;
    width: 100%;
    max-width: 7rem;
    padding: 0 0 .3rem 0;
}

.main .photo {
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main .photo img {
    width: 80%;
    height: auto;
    max-width: 100%;
    display: block;
    position: relative;
    max-width: 654px;
}

.menu {
    width: 100%;
    position: relative;
    left: 0px;
    bottom: 0.2rem;
    z-index: 10;
    /*float: left;*/
}

.menu ul {
    margin: 0 auto;
    width: 8.2rem;
}

.menu ul::befor {
    content: "";
    display: block;
    clear: both;
    position: absolute;

}

.menu li {
    padding: 0;
    width: 50%;
    float: left;
    box-sizing: border-box;
    padding: .8vh 0;
}

/*jsbox*/

.main .menu .jsBox {
    position: absolute;
    width: 100%;
    height: 40vw;
    margin-left: -5px;
    margin-top: -54vw;
    display: none;
    box-sizing: border-box;
    background: #fff;
    border-radius: 10px;
    border: 2px solid #00aafc;
    padding: 5px;
    max-width: 86vw;
}

.main .menu li.home:hover .jsBox {
    display: block;
}

.main .menu li.home div.jsBox::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 2vw 2vw 0 2vw;
    border-color: #00AAFC transparent transparent transparent;
    z-index: 999;
    margin-left: 14vw;
    bottom: -2vw;
    /*filter:drop-shadow(0px 2px 0px #00aafc) ;*/
}

.main .menu .jsBox .sub {
    width: 100%;
    height: 100%;
    position: relative;
}

.main .menu .jsBox .sub .tips{
    color: dodgerblue;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.main .menu .jsBox .linkUl {
    display: grid;
    grid-template-rows: repeat(3, 9.5vw);
    grid-gap: 5px;
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
}

.main .menu .jsBox .linkUl li {
    width: 100%;
    /* height:9vw; */
    /* margin-bottom:1%; */
    /* grid-gap: 4px; */
    display: grid;
    grid-template-columns: 17% 5% 47% 25%;
    grid-gap: 5px;
    padding: 0;
    justify-content: center;
    align-items: center;
    /* overflow: hidden; */
    zoom: 1;

    box-sizing: border-box;
}

.main .menu .jsBox .linkUl li span {
    height: 72%;
    display: flex;
    color: #4c4c4c;
    font-size: 3vw;
    /* background-color: #fff; */
    box-sizing: border-box;
    /* box-shadow: inset 0px 1px 2px #d4e0ec; */
    align-items: center;
    justify-content: center;
    border: #00aafc 1px solid;
}

.main .menu .jsBox .linkUl li .txt {
    width: auto;
    text-align: center;
}

.main .menu .jsBox .linkUl li img {
    display: block;
}

.main .menu .jsBox .linkUl li .url {
    width: auto;
    font-size: 18px;
    text-align: center;
}

.main .menu .jsBox .linkUl li a {
    display: flex;
    float: left;
    width: 100%;
    height: 73%;
    color: #115bd4;
    font-size: 3vw;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #cbebff;
    background: linear-gradient(173deg, #b5d9f5 2%, #e0f6fc 36%, #fff 100%);
    background-size: contain;
    box-shadow: inset 0px 2px 3px #fff;
    border-radius: 4px;
}

.main .menu .jsBox .linkUl li a:hover {
    color: #fff;
    border: 1px solid #fff;
    background: linear-gradient(170deg, #51d4ff 8%, #3fd0ff 30%, #0486e0 100%);
    box-shadow: inset 2px 3px 4px #bcebff;
}

@media screen and (min-width:768px) {
    .main .menu .jsBox {
        position: absolute;
        width: 60vw;
        height: 36vw;
        margin-left: -69px;
        margin-top: -45vw;
        display: none;
        box-sizing: border-box;
        background: #fff;
        /* border-radius: 10px; */
        border: 2px solid #00aafc;
        /* padding: 5px; */
        /* max-width: 80vw; */
        box-sizing: border-box;
    }

    .main .menu li.home div.jsBox::before {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 2vw 2vw 0 2vw;
        border-color: #fff transparent transparent transparent;
        z-index: 999;
        margin-left: 14vw;
        bottom: -1.8vw;
        filter: drop-shadow(0px 2px 0px #00aafc);
    }

    .main .menu .jsBox .linkUl {
        display: grid;
        grid-template-rows: repeat(5, 6.3vw);
        grid-gap: 3px;
        width: 100%;
        box-sizing: border-box;
        padding: 5px;
        background: #f6fcff;
    }

    .main .menu .jsBox .linkUl li span {
        height: 72%;
        display: flex;
        color: #4c4c4c;
        font-size: 2vw;
        background-color: #fff;
        box-sizing: border-box;
        /* box-shadow: inset 0px 1px 2px #d4e0ec; */
        align-items: center;
        justify-content: center;
        border: #00aafc 1px solid;
    }

    .main .menu .jsBox .linkUl li a {
        font-size: 2vw;
        height: 72%;
        width: auto;
        align-items: center;
        justify-content: center;
        text-align: center;
        display: flex;
    }

    #lightbox-1 .lightbox1_lightbox-close,
    #lightbox-2 .lightbox1_lightbox-close {
        width: 5vw;
        height: 5vw;
        line-height: 4.2vw;
        top: -2vw;
        right: -4vw;
        font-size: 6vw;

    }
}



/*.menu li.home {
    width: 100%;
}*/

.menu li a {
    height: 1.11rem;
    display: flex;
    color: #3d4959;
    /*font-size: 0.33rem;
    line-height: 0.95rem;
    background: url(../images/btn_bg02.png) no-repeat center top;
    background-size: 100% auto;*/
    justify-content: center;
    align-items: center;
}

.menu li a img {
    margin: -0.06rem 0.15rem 0 0;
    /*width: 0.6rem;*/
    display: inline-block;
    vertical-align: middle;
}

.menu li.home a {
    text-align: center;
    /*background: url(../images/btn_bg01.png) no-repeat center top;
    background-size: 100% auto;*/
}

.menu li.home a img {
    margin-top: -0.12rem;
    /*width: 0.5rem;*/
}

.menu li div.text {
    height: 1.22rem;
    text-align: left;
    letter-spacing: 0.02rem;

}

.menu li a span {
    display: block;
    color: #6caee2;
    font-size: 0.25rem;
    line-height: 0px;
    text-align: left;
    margin-top: -0.18rem;
    margin-left: -0.1rem;
    transform: scale(0.88);
    letter-spacing: 0rem;

}

.footer {
    width: 100%;
    position: fixed;
    bottom: -1vw;
    height: 10vw;
    background: #395369;
    font-size: 0.33rem;
    color: #779ab9;
    text-align: center;
    line-height: 35px;
    z-index: 999;
}


/*下載條*/
.app_dl {
    display: block;
    width: 100%;
    position: relative;
    bottom: 0;
    height: 0.9rem;
    background: #3180c9;
    font-size: 0.33rem;
    color: #fff;
    text-align: left;
    line-height: 0.9rem;
}


.app_dl a.close-btn {
    display: inline-block;
    position: relative;
    top: 0rem;
    left: 0.2rem;
    margin-right: 0.35rem;
    width: 0.275rem;
    height: 0.275rem;
}

.app_dl a.close-btn img {
    width: 100%;
    height: 100%;
}

.app_dl span {
    display: inline-block;
    line-height: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app_dl img.appicon {
    position: relative;
    top: 0.15rem;
    margin-right: 0.2rem;
    width: 0.6rem;
    height: 0.6rem;
    background-size: contain;
}


.app_dl a.dl-btn {
    display: inline-block;
    position: relative;
    top: 0.14rem;
    right: 0.13rem;
    /* padding: 0.01rem;*/
    width: 2rem;
    height: 0.6rem;
    line-height: 0.6rem;
    border-radius: 50px;
    background: -webkit-linear-gradient(270deg, #fffeee 0%, #fffa6e 50%, #ffda48 100%);
    background: linear-gradient(180deg, #fffeee 0%, #fffa6e 50%, #ffda48 100%);
    color: #041c48;
    font-size: 0.3rem;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: right;
    letter-spacing: 0.01rem;
}

.bottom {
    height: 10vw;
    position: fixed;
    bottom: 9vw;
    /*    padding-bottom: .6rem;*/
    z-index: 999;
}

/*右側浮動欄目彈窗 lightbox-1_start*/

/* Lightbox background */
#lightbox-1_lightboxbg {
    display: none;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0px;
    left: 0px;
    min-width: 100%;
    min-height: 100%;
    z-index: 1000;
}

/* Lightbox panel with some content */
#lightbox-1,
#lightbox-2 {
    display: none;
    position: fixed;
    /*    margin-left: -200px;*/
    /* min-width: 300px; */
    /* background: #FFFFFF; */
    /* padding: 10px 15px 10px 15px; */
    /* border: 2px solid #CCCCCC; */
    z-index: 1001;
    width: 100%;
    height: 100%;
    max-width: 90vw;
    max-height: 70vh;

}

#lightbox-1 .lightbox1_lightbox-content,
#lightbox-2 .lightbox1_lightbox-content {
    /* height: 100%; */
    /* width: 100%; */
    max-height: 75vh;
    overflow-y: scroll;
}

#lightbox-1 .lightbox1_lightbox-close,
#lightbox-2 .lightbox1_lightbox-close {
    display: block;
    width: 10vw;
    height: 10vw;
    line-height: 9vw;
    box-sizing: border-box;
    position: absolute;
    top: -11vw;
    right: -2vw;
    -moz-transition: ease-in-out 0.5s;
    -o-transition: ease-in-out 0.5s;
    -webkit-transition: ease-in-out 0.5s;
    transition: ease-in-out 0.5s;
    background-color: #fff !important;
    border-radius: 100%;
    text-align: center;
    font-size: 13vw;
    color: #00aafc;
}

.wap_select {
    display: flex;
    width: 100%;
    justify-content: space-around;
    margin: 2% auto;
    height: 7%;
}

.wap_select .android-tutor {
    background: url(../images/android_btn.png) no-repeat center top;
    background-size: 100% auto;
    width: 50%;
    height: 60px;

}

.wap_select .android-tutor_active {
    background: url("../images/android_btn-hover.png") no-repeat center top;
    background-size: 100% auto;
    width: 50%;
    height: 60px;

}

.wap_select .ios-tutor {
    background: url(../images/ios_btn.png) no-repeat center top;
    background-size: 100% auto;
    width: 50%;
    height: 60px;

}

.wap_select .ios-tutor_active {
    background: url("../images/ios_btn-hover.png") no-repeat center top;
    background-size: 100% auto;
    width: 50%;
    height: 60px;

}

.tutor_content-2 {
    display: none;
}


@media screen and (max-width:440px) and (min-width:320px) {
    .main {
        top: 5vw;
        /*        min-height: calc(100vh - 11vw);*/
    }

    .header {
        padding: 0;
        height: 10vw;
    }

    .main .photo img {
        width: 70%;
    }

    /*
    .footer {
        height: 0.8rem;
        line-height: 0.8rem;
    }*/

    .title2 {
        line-height: 22px;
    }

    .menu li {
        padding: .7vw;
    }
}

@media screen and (max-width:320px) {
    .main {
        top: -6vw;
    }

    .menu li {
        padding: .3vw;
    }
}

/*
@media screen and (max-width:411px) and (min-width:320px) {
    .menu li {
        padding: .1vh;
    }

    .menu li a span {
        margin-left: -0.21rem;
        transform: scale(0.75);

    }

    .menu li.home a span {
        margin-left: -0.25rem;

    }

    .main .photo img {
        width: 80%;
    }

    .title2 {
        line-height: .5rem;
    }
}*/


@media screen and (max-width:1024px) and (min-width:768px) {
    .main {
        min-height: calc(100vh - 5vw);
        padding-bottom: 10vw;
    }

    .main .photo img {
        width: 82%;

    }

    .bottom {
        position: fixed;
        height: 40px;
        bottom: 40px;
    }

    .footer {
        height: 40px;
        line-height: 40px;
        bottom: 0;
    }
}
