
html,
body,
pre{
    font-family:  'Meiryo','ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'ＭＳ Ｐゴシック', 'MS PGothic', 'sans-serif';
}
input, button, select, textarea {
    outline: none;
}

button,
img,
li,
.bookCell
{
    cursor: pointer;
    /*cursor: hand;*/
    /*cursor: -webkit-grab;*/
}
img{
    -webkit-touch-callout:none;
}
#homeBg {
    background: url("../img/home/bg.png");
    background-size: cover;
}

#homeBg img {
    height: 100%;
    float: left;
    margin-left: 10px;
}
.imgBtn:hover {
    opacity: 0.7;
}
.imgBtn.selected {
    opacity: 0.7;
}
/* ---- alert ---- */
.modal-content {
    border-radius: 24px;
    margin-top: 50%;
    padding: 10px;
    background: rgba(255,255,255,0.9);
    border: solid 4px rgba(51,54,54,1.0);
}
@media screen and (min-width:415px) and (max-width:812px){
    .modal-content{
        margin-top: 20%;
    }
}
.bootstrap-dialog.type-primary .modal-header {
    display: none;
    background-color: #333636;
    width: 50%;
    border-radius: 50px;
    margin: -20px auto 0;
    padding: 5px;
    text-align: center;

}
.modal-body {
    padding: 30px 10px;
    text-align: center;
}
.modal-footer {
    padding: 5px;
    text-align: center;
    border: none;
}
.modal-footer .btn {
    padding: 5px 20px;
    border-color: #ccc;
}
.btn-primary{
    color: #fff;
    background-color: #424bff;
}

.common-closeImg {
    position: absolute;
    height: 25px;
    right: 0;
    top: 0;
    margin-right: 15px;
    margin-top: 12px;
}
.menu-close {
    position: absolute;
    height: 25px;
    right: 0;
    top: 0;
    margin-right: 15px;
    margin-top: 12px;
}

.imgContent {
    text-align: center;
    overflow: hidden;
    height: 180px;
    border: 1px solid #424bff;
    box-shadow: 2px 2px 2px #5b6df6;
}

@media screen and (min-width: 768px) {
    #homeBg {
        height: 488px;
    }
    .row1 {
        height: 100px;
        margin-left: 84px;
        margin-top: 58px
    }
    .row2 {
        margin-top: 38px;
        margin-left: 12px;
        height: 100px
    }
    .row3 {
        margin-top: 39px;
        margin-left: 145px;
        height: 100px
    }
    .row2_2 {
        margin-left: 20px!important;
    }
    .row2_4 {
        margin-left: 20px!important;
    }
    .row3_3 {
        margin-left: 25px!important;
    }

    .site-logo {
        max-width: 750px;
    }

    .imgContent {
        height: 180px;
    }
}

@media screen and (min-width: 992px) {
    #homeBg {
        height: 630px;
    }
    .row1 {
        height: 125px;
        margin-left: 140px;
        margin-top: 78px
    }
    .row2 {
        margin-top: 52px;
        margin-left: 28px;
        height: 125px
    }
    .row3 {
        margin-top: 56px;
        margin-left: 205px;
        height: 125px
    }
    .row2_2 {
        margin-left: 30px!important;
    }
    .row2_4 {
        margin-left: 30px!important;
    }
    .row3_3 {
        margin-left: 35px!important;
    }

    .site-logo {
        max-width: 970px;
    }

    .imgContent {
        height: 200px;
    }
}

@media screen and (min-width: 1200px) {
    #homeBg {
        height: 763px;
    }
    .row1 {
        height: 161px;
        margin-left: 145px;
        margin-top: 85px
    }
    .row2 {
        margin-top: 56px;
        margin-left: 28px;
        height: 161px
    }
    .row3 {
        margin-top: 56px;
        margin-left: 233px;
        height: 161px
    }
    .row2_2 {
        margin-left: 30px!important;
    }
    .row2_4 {
        margin-left: 23px!important;
    }
    .row3_3 {
        margin-left: 35px!important;
    }
    .site-logo {
        max-width: 1170px;
    }
    .imgContent {
        height: 220px;
    }
}

.g-top-main {
    height: 110px;
    background: url(../img/home/header.png) repeat center border-box;
    text-align: left;
    color: #fff;
}
button.g-btn-sidebar {
    padding: 0;
}
.site-logo {
    position: relative;
    margin: auto;
    height: 100%;

}

.titleSpan {
    position: absolute;
    top: 5px;
    font-size: 16px;
    color: #fff;
    margin-left: 20px;
}

.site-logo img {
    position: relative;
    max-height: 75px;
    /*max-width: 1200px;*/
    width: auto;
    height: auto;
    margin-top: 30px;
    margin-left: 20px;
}
.g-btn-sidebar {
    width: 40px;
    height: 40px;
    border-width: 1px;
    border-color: #ffffff;
    border-radius: 5px;
    background-color: #424bff;
    margin-top: 35px;
    margin-right: 20px;
    float: right;
}
.g-btn-sidebar i {
    display: block;
    color: #FFFFFF;
    font-size: 2em;
}
.bottomImg {
    /*position: absolute;*/
    bottom: 0;
    width: 100%;
    height: 50px;
    background: url(../img/home/header.png) repeat center border-box;

}
.alertBackground {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    background-color: transparent;
}
.alertContainer {
    position: relative;
    width: 450px;
    text-align: center;
    margin: 30px auto;
}
.alertContent {
    margin-top: 50%;
    position: relative;
    border: 2px solid #424bff;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px 40px;
    overflow: hidden;
    transform: translateY(-50%);
}

.blackBackground {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background-color: #000;
    opacity: 0.5;
}

#termsDiv {
    width: 450px;
    height: 550px;
}
.termsIframeBg
{
    position: relative;
    height: 80%;
    overflow: auto;
    -webkit-overflow-scrolling:touch;
}

#infoDiv {
    width: 450px;
    /*height: 305px;*/
}
#magazineInfoDiv {
    width: 450px;
    /*max-height: 305px;*/
    /*overflow-y: auto;*/
    color: #000;
}

#infoDetailDiv {
    width: 450px;
    height: 660px;
}
.infoDetailImgBg img {
    max-width: 100%;
    max-height: 100%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.detailContent {
    padding: 10px 20px;
    width: 100%;
    height: 100px;
    overflow-y: scroll;
    overflow-x: hidden;
    text-align: left;
}

.popupMain {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    border-radius: 10px;
    background-color: white;
    text-align: center;
    overflow: hidden;
    border:2px solid #424bff;
}

.alertHeader {
    width: 100%;
    padding: 0px 40px;
    overflow: hidden;
    color: #fff;
    background-color: #424bff;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
}
.commonClose {

    position: absolute;
    width: 25px;
    top: 12px;
    right: 12px;

}

.borderedClose {
    background-color: #424bff;
    border-radius: 50%;
    border: 2px solid #424bff;
}

#infoDiv ul {
    list-style: none;
    padding: 0;
    width: 100%;
}
#infoDiv li {
    height: 44px;
    line-height: 44px;
    margin: 30px 50px;
    /*background-color: #424bff;*/
    color: #fff;
    font-size: 16px;
    border-radius: 10px;
    overflow: hidden;

}
.infoTitle {
    white-space: nowrap;
    font-size: 16px;
    background-color: transparent;
    border: none;
    color: #fff;
    padding: 0;
    line-height: 50px;
    margin: 0;
}
#termsIF {
    position: relative;
    top: 0;
    padding: 5px 5px;
    height: 97%;
    width: 100%;
    margin: 0;
    border: none;
    overflow-y: scroll;
    z-index: 80;
    background-color: #ffffff;
}
.termsBtn {
    padding: 5px 20px;
    margin: 10px 0;
    background-color: #424bff;
    color: #fff;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    -webkit-appearance: none;
}
.readBtn {
    padding: 5px 20px;
    background-color: #424bff;
    color: #fff;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    -webkit-appearance: none;
}
.qrCodeDiv {
    float: right;
    margin-top: 10px;
    margin-right: 70px;
}
.qrCodeDiv img {
    cursor: default;
    margin: 0;
    display: inline-block;
    vertical-align: text-bottom;
}
.customNav {
    background-color: #9fa3ff;
    color: #fff;
    padding: 0;
    width: 100%;
}
.customNav li {
    display: inline-block;
    margin: 5px 0;
}
.customNav li.selected{
    background-color: rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

.topBar {
    color: #fff;
     width: 100%;
     max-width: 1200px;
     margin: 0 auto;
     height: 45px;
     background-color: #424bff;
     padding: 0 20px;
     FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#8280ef,endColorStr=#424bff);
     background: -ms-linear-gradient(top, #8280ef, #424bff);
     background: -moz-linear-gradient(top,#8280ef,#424bff);
     background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#8280ef), to(#424bff));
     background: -webkit-linear-gradient(top, #8280ef, #424bff);
     background: -o-linear-gradient(top, #8280ef, #424bff);
 }
.topBar .title {
    display: inline-block;
    line-height: 45px;
    font-size: 18px;
    color: #fff;
}
.btn-wrapper {
    display: inline-block;
    float: right;
    padding: 10px 5px;
    height: 45px;
}
.btn-wrapper img {
    height: 25px;
}
.leftPart , .rightPart, .rightPart2 {
    display: inline-block;
}
.rightPart {
    float: right;
}
.rightPart2 {
    float: right;
}
.rankImg {
    height: 16px;
    margin-right: 5px;
    cursor: default;
}

.roundBtn {
    -webkit-appearance: none;
    border: 1px #fff solid;
    padding: 2px 5px;
    color: #fff;
    background-color: #424bff;
    border-radius: 5px;
}
.orangeBtn {
    -webkit-appearance: none;
    border: none;
    padding: 10px 20px;
    color: #fff;
    background-color: #424bff;
    border-radius: 5px;
    margin: 20px;
}
.btn-primary:hover,
.orangeBtn:hover,
.readBtn:hover,
.termsBtn:hover,
.roundBtn:hover {
    background-color: #1720cc;
}


.bookCell {
    margin: 10px 0;

}
.bookCell img {
    /*max-width: 100%;*/
    max-height: 100%;

}
.label {
    display: block;
    height: 55px;
    white-space: normal;
    width: 100%;
    color: #000;
    word-break: break-all;
    text-align: left;
    line-height: 16px;
    font-weight: normal;
    margin-top: 5px;

}

.bookName {
    display: block;
     height: 45px;
    white-space: normal;
    width: 100%;
    font-size: 14px;
    text-align: left;
    color: #000;
    word-break: break-all;
    line-height: 15px;
    overflow: hidden;
    margin-top: 4px;
}
.label:empty {
    display: block;
}
/*阅读完了*/
#closeDiv {
    width: max-content;
    height: auto;
}

#closeDiv ul {
    display: block;
    list-style: none;
    padding: 0;
}

#closeDiv li {
    height: 44px;
    line-height: 44px;
    margin: 15px 50px;
    color: #fff;
    font-size: 16px;
    border-radius: 10px;
    overflow: hidden;
}

.messageLabel {
    color: #000;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
    font-weight: bold;
    overflow-y: auto;
    margin-bottom: 16px;
}

.style02 {
    height: unset;
    line-height: 1.5;
}

.mb-20 {
    margin-bottom: 20px;
}

.messageLabel span {
    color: red;
}
.slide-menu {
    position: fixed;
    right: 0;
    top: 0;
    width: 250px;
    height: 100%;
    padding-top: 20px;
    transform: translateX(300px);
    -webkit-transform: translateX(300px);
    -moz-transform: translateX(300px);
    -ms-transform: translateX(300px);
    -o-transform: translateX(300px);

    background: url(../img/home/header.png) repeat border-box;

}
.slide-menu ul {
    list-style: none;
    width: 100%;
}
.slide-menu li {
    margin: 20px;
    color: #fff;
    font-size: 18px;
    border-bottom: 1px solid #fff;
}
.slide-menu.show {
    transform: translateX(2px);
    -webkit-transform: translateX(2px);
    -moz-transform: translateX(2px);
    -ms-transform: translateX(2px);
    -o-transform: translateX(2px);
}

.slide-menu,
.slide-menu-main {
    transition: all 0.5s;
}

.slide-menu-main.menu-on{
    transform: translateX(-250px);
    -webkit-transform: translateX(-250px);
    -moz-transform: translateX(-250px);
    -ms-transform: translateX(-250px);
    -o-transform: translateX(-250px);
}
.customInput {
    width:100%;
    height:40px;
    padding:0 5%;
    border:2px solid #424bff;
    border-radius:5px;
    box-shadow:inset 1px 1px 7px rgba(0, 0, 0, 0.2);
    /*background-color:rgba(0, 0, 0, 0);*/
    color:#535353;
    font-size:15px;
    font-weight:bold;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    background: url('../img/downline_db.png')  no-repeat scroll right center transparent;
    background-size: 20px;
    background-origin: content-box;
}

.topText {
    position: absolute;
    padding: 0 10px;
    font-weight: bold;
    margin-top: 10px;
    font-size: 16px;
}

.customNav li{
    padding: 0 10px;
    border-right: solid 1px #fff;
    /*padding:0 10px;*/

}
.infoDetailImgBg {
    height: 450px;
    overflow: hidden
}
.linkBlock {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.linkBlock p {
    margin: 0;
    font-size: 18px;
}

.linkBlock .flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.spDisplay {
    display: none !important;
}

.pcDisplay {
    display: block !important;
}

@media screen and (max-width: 767px){
    #homeBg {
        background: url("../img/home/IOS/BG@3x.png");
        background-size: cover;
        padding-bottom: 20px;
    }
    #homeBg img {
        margin: 0;
    }
    .customNav li {
        padding: 0 8px;

    }
    .topText {
        margin-top: 2vw;
        font-size: 13px;
    }
    .g-btn-sidebar {
        margin-top: 25px;
    }
    .g-top-main {
        height: 90px;
    }

    .site-logo {
        max-width: 100%;
        padding: 10px 0;
    }
    .titleSpan {
        top: 15px;
    }
    .site-logo img {
        max-height:40px;
    }
    .alertContent {
        margin-top: 40%;
        padding: 20px;
        transform: unset;
    }
    #termsDiv {
        width: auto;
        margin: auto 10px;
        height: 400px;
    }
    .termsIframeBg {
        height: 70%;
    }
    #infoDiv {
        width: auto;
        margin: auto 10px;
    }
    #infoDiv li {
        margin: 30px 10px;
        font-size: 14px;
    }
    #magazineInfoDiv {
        /*width: 300px;*/
        width: auto;
        margin: auto 10px;
    }
    #infoDetailDiv {
        width: auto;
        margin: auto 10px;
        height: 141vw;
    }
    .infoDetailImgBg {
        height: 90vw;
        overflow: hidden
    }
    .detailContent {
        height: 20vw;
    }
    #closeDiv {
        width: 300px;
    }
    .bookCell {
        padding: 0 2px;
    }
    .topBar {
        height: auto;
    }
    .btn-wrapper {
        float: none;
    }
    .rightPart {
        float: none;
        margin: 5px 0;
    }
    .popupMain li {
        margin: 30px 20px!important;
    }
    #closeDiv li {
        margin: 15px 20px!important;
    }
    .customNav li {
        padding: 0 8px;
    }
    .infoTitle {
        font-size: 14px;
    }
    .messageLabel {
        font-size: 16px;
        text-align: center;
    }
    .style02 {
        font-size: 15px;
    }

    .linkBlock {
        gap: 8px;
    }

    .linkBlock p {
        font-size: 14px;
    }

    .linkBlock .flex {
        flex-direction: column;
    }

    .linkBlock img {
        width: 100%;
    }

    .linkBlock p {
        font-size: 12px;
    }
    .spDisplay {
        display: block !important;;
    }

    .pcDisplay {
        display: none !important;
    }
}
@media screen and (max-width: 320px){
    .imgContent {
        height: 140px;
    }
}
.m_row1,
.m_row2,
.m_row3,
.m_row4
{
    height: 30vw;
    padding-left: 10px;
}
.m_row1 {
    margin-top: 8vw;
}
.m_row2 {
    margin-top: 2vw;
}
.m_row3 {
    margin-top: 2vw;
}
.m_row4 {
    margin-top: 2vw;
}

.no-padding {
    padding: 0;
}

.cellContent {
    /*border: 1px solid #424bff;*/
}
/*.pronunciationAdd {*/
    /*border-right: solid 1px #fff;*/
/*}*/

.customNav li:hover {
    background-color: rgba(0, 0, 0, 0.3);
}
#frameBg {
    position: relative;
    width: 100%;
    height: 80%;
}
#frameBg iframe {
    width: 100%;
    height: 100%;
}

.custom-fullScreen {
    width: 100%;
    height: 100%;
}




.loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.1);
}
.spinner {
    min-width: 24px;
    min-height: 24px;
}
.spinner:not(:required):before {
    content: '';
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-top: 2px solid #333;
    border-right: 2px solid transparent;
    animation: page-loader .6s linear infinite;
    -webkit-animation: page-loader .6s linear infinite;
}
.spinner::before {
    content: "Loading…";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
}

@keyframes page-loader {
    to {transform: rotate(360deg);}
}

@-webkit-keyframes page-loader {
    to {-webkit-transform: rotate(360deg);}
}
.btn-primary:active,
.btn-primary:active:hover,
.btn-primary:focus
{
    background-color: #1720cc;
}
#closeDiv li a,
#infoDiv li a
{
    display: block;
    color: #fff;
    background-color: #424bff;
}
#closeDiv li a:hover,
#closeDiv li a:focus,
#closeDiv li a:active,
#infoDiv li a:hover,
#infoDiv li a:focus,
#infoDiv li a:active
{
    text-decoration: none;
    background-color:#1720cc;
    color: #fff;
    outline: none;

}
/* 2017-6-6 wjy add 解决bug： 横屏的时候弹出框显示不全*/
@media screen and (max-width: 767px) and  (orientation : landscape) {
    .alertContent {
        margin-top: 0;
    }
    .alertContainer {
        margin: 0 auto;
    }
    #termsDiv {
        height: 300px;
    }
    .termsIframeBg {
        height: 65%;
    }
	    #closeDiv li {
        height: 35px;
        line-height: 35px;
    }
}

