
*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.clearfix {
    clear: both;
    display: block;
    width: 100%;
}

#header .inner-wrap .btns-wrap a.icon {
    width: auto;
    position: relative;
}

#header .inner-wrap .btns-wrap a.icon.point:before {
    content: "";
    width: 8px;
    height: 8px;
    background: #FF0000;
    position: absolute;
    left: -2px;
    top: 10px;
    border-radius: 5px;
    border: 1px solid #fff;
}

#header .inner-wrap .btns-wrap a.icon img {
    display: block;
    width: 13px;
}

#header .inner-wrap .links-wrap .header-link.header-list-link .inner-list a:hover {
    color: #0087d5;
}

.inner-list.investment-strategy a:hover:nth-child(1) {
    color: #15bd7a !important;
}

.inner-list.investment-strategy a:hover:nth-child(2) {
    color: #0087d5 !important;
}

#header .inner-wrap .links-wrap .header-link.header-list-link .btn-list-toggle i {
    font-style: normal;
}

#header .inner-wrap .links-wrap .header-link.header-list-link .btn-list-toggle .toggle-mark {
    /*
    float: right;
    margin-top: 10px;
    */
}

#header:not(.notUseInMedia) .inner-wrap .header-logo {
    margin-top: 4px;
}

@media (min-width: 1280px) {
    #header:not(.notUseInMedia) .inner-wrap .links-wrap .header-link.header-list-link .inner-list a {
        padding: 10px 0px 10px 15px;
    }

    #header:not(.notUseInMedia) .inner-wrap .links-wrap .header-link.header-list-link:last-of-type .inner-list {
        left: calc(50% - 130px);
    }
}

@media (max-width: 1279px) {
    #header:not(.notUseInMedia) .inner-wrap .header-logo {
        margin-top: 5.5px;
    }

    #header .inner-wrap .links-wrap {
        overflow: auto;
        max-height: calc(100vh - 60px);
    }

    #header .inner-wrap .links-wrap .header-link {
        padding: 11px 0px 11px 45px;
    }

    #header .inner-wrap .links-wrap .header-link.header-list-link .inner-list a.green {
        color: #15bd7a !important;
    }

    #header .inner-wrap .links-wrap .header-link.header-list-link .inner-list a.blue {
        color: #0087d5 !important;
    }

    #header .inner-wrap .btns-wrap a.icon.point:before {
        top: 0;
    }

    #header .inner-wrap .links-wrap .header-link.header-list-link .btn-list-toggle {
        padding: 11px 45px !important;
    }

    #header .inner-wrap .links-wrap .header-link.header-list-link:last-of-type .inner-list.show {
        margin-bottom: -20px;
        border-bottom: 20px solid #fff;
    }

    #header:not(.notUseInMedia) .inner-wrap #header-hamburger {
        margin-right: 0 !important;
    }
}

@media (max-width: 375px) {
    #header .inner-wrap #header-hamburger {
        margin-right: -12px !important;
    }
}

/***** header navigator 修正 *****/
.nav-position-fix {
  display: inline-flex;
  position: fixed;
  right: 32px;
  align-items: center;
  height: 60px;
}

#header-hamburger {
  margin-right: -12px!important;
}

/* 從 ecourse/style.css 拔過來, 因為會全域影響到奈米投 */
.blocker {
    z-index: 99;
}
.modal {
    width: 100%;
    max-width: 516px;
    border-radius: 0;
    box-shadow: none;
    padding: 30px;
    background: #fff;
    text-align: center;
}

.modal .icon {
    display: block;
    width: 46px;
    margin: 0 auto 15px auto;
}

.modal p {
    font-size: 15px;
    line-height: 30px;
    color: #000;
    margin-bottom: 30px;
}

.modal p.no {
    margin-bottom: 0;
}

.modal p img {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
    width: 13px;
}

.modal a.btn {
    display: block;
    width: 107px;
    line-height: 28px;
    background: #0069aa;
    border: 1px solid #0069aa;
    color: #fff;
    font-size: 14px;
    margin: 95px auto 15px auto;
    border-radius: 50px;
}

.modal small {
    display: block;
    font-size: 13px;
    line-height: 20px;
    color: #7e7e7e;
}

.modal a.close-modal {
    width: 15px;
    height: 15px;
    right: 0;
    top: -30px;
    background: url(../../img/ecourse/close-icon3x.png) no-repeat;
    background-size: 100% 100%;
}

.modal.sub {
    padding: 25px 20px;
    vertical-align: top;
    top: 30px;
}

.modal.sub h3 {
    text-align: center;
    font-size: 22px;
    line-height: 32px;
    color: #363636;
    margin-bottom: 10px;
}

.modal.sub .tabs {
    position: relative;
}

.modal.sub .tabs:after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background: #e5e5e5;
    z-index: 0;
    position: absolute;
    left: 0;
    bottom: 0;
}

.modal.sub .tabs label {
    float: left;
    width: calc(100% / 3);
    color: #7e7e7e;
    font-size: 15px;
    line-height: 40px;
    text-align: center;
    position: relative;
    height: 100%;
    cursor: pointer;
}

.modal.sub .tabs label.active {
    border-bottom: 4px solid #0069aa;
    position: relative;
    z-index: 1;
    color: #000000;
}

.modal.sub > input,
.modal.sub .center {
    display: none;
}

.modal.sub > input:checked + .center {
    display: block;
}

.modal.sub .center .nologin-list {
    margin-bottom: 40px;
    height: 260px;
}

.modal.sub .center .nologin-list.short {
    height: 181px;
}

.modal.sub .center .nologin-list li {
    list-style: none;
    display: block;
    margin-top: 20px;
    position: relative;
    text-align: left;
    padding-right: 50px;
}

.modal.sub .center .nologin-list li b {
    display: block;
    font-size: 15.5px;
    font-weight: normal;
    line-height: 22px;
    margin-bottom: 5px;
}

.modal.sub .center .nologin-list li i {
    position: absolute;
    display: block;
    width: 41px;
    height: 20px;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
    z-index: 1;
}

.modal.sub .center .nologin-list li i img {
    display: block;
    width: 100%;
}

.modal.sub .center .nologin-list li i.off {
    background: url(../../img/ecourse/toggle-off3x.svg) center no-repeat;
    background-size: 100% auto;
}

.modal.sub .center .nologin-list li i.off img {
    opacity: 0;
}

.modal.sub .center .article-list {
    margin: 20px -20px 30px -20px;
    width: calc(100% + 40px);
    padding: 0 20px;
    height: 270px;
    overflow: auto;
    position: relative;
}

.modal.sub .center .article-list > .all {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #7e7e7e;
    line-height: 20px;
    font-style: normal;
    margin: 0 -20px;
    padding: 0 20px 10px 20px;
    background: #fff;
    width: calc(100% + 40px);
    position: sticky;
    z-index: 1;
    right: 0;
    top: 0;
}

.modal.sub .center .article-list > .all img {
    width: 15px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.modal.sub .center .article-list a:not(.all) {
    display: block;
    width: calc(100% + 40px);
    margin: 0 -20px;
    padding: 10px 20px 10px 110px;
    position: relative;
    border-top: 1px solid #bae2ff;
}

.modal.sub .center .article-list a:not(.all):last-of-type {
    border-bottom: 1px solid #bae2ff;
}

.modal.sub .center .article-list a:not(.all).no {
    background: #e8f1ff;
}

.modal.sub .center .article-list a:not(.all) img {
    display: block;
    width: 70px;
    position: absolute;
    left: 20px;
    top: 10px;
}

.modal.sub .center .article-list a:not(.all) span {
    display: block;
    text-align: left;
}

.modal.sub .center .article-list a:not(.all) span title {
    display: block;
    font-size: 15.5px;
    line-height: 20px;
    margin-bottom: 5px;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.modal.sub .center .article-list a:not(.all) span small {
    display: block;
    font-size: 12px;
    color: #7e7e7e;
}

.modal.sub .center .article-list a:not(.all).icon {
    padding-right: 65px;
}

.modal.sub .center .article-list a:not(.all).icon i {
    display: block;
    position: absolute;
    right: 25px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 11px;
    height: 15px;
    background: url(../../img/ecourse/liked.png) center no-repeat;
    background-size: cover;
}
@media screen and (min-width: 1025px) {

    .modal a.btn:hover {
        background: #0082d8;
        border-color: #0082d8;
    }

}

@media screen and (max-width: 450px) {
    .modal.sub .center .nologin-list.short {
        height: 220px;
    }
}