/* ============================================================
   web-header  —  頁首 / 導覽列   〔積木說明〕
   Logo、主選單、搜尋框、通知鈴、會員中心下拉(.heads-*/.notice-*/.member-center-*)
   （由 all.css 拆分；純樣式區塊，改這裡不影響其他積木）
   ============================================================ */

/* CSS used here will be applied after bootstrap.css */

.dropdown {
    display: inline-block;
    margin-left: 20px;
    padding: 10px;
}


.glyphicon-bell {

    font-size: 1.5rem;
}

.notifications {
    min-width: 420px;
}

.notifications-wrapper {
    overflow: auto;
    max-height: 250px;
}

.menu-title {
    color: #ff7788;
    font-size: 1.5rem;
    display: inline-block;
}

.glyphicon-circle-arrow-right {
    margin-left: 10px;
}


.notification-heading,
.notification-footer {
    padding: 2px 10px;
}


.dropdown-menu .divider {
    margin: 5px 0;
}

.item-title {

    font-size: 1.3rem;
    color: #000;

}

.notifications a.content {
    text-decoration: none;
    background: #ccc;

}

.notification-item {
    padding: 10px;
    margin: 5px;
    background: #ccc;
    border-radius: 4px;
}




.login-text {
    line-height: 43px;
}

@media (min-width: 1080px) {
    .heads a:hover {
        opacity: 0.8;
    }
}

@media (max-width: 1630px) {
    .heads-menu .chinese {
        padding: 0px 20px;
    }
}

@media (max-width: 1400px) {
    .heads-icon a {
        margin-right: 5px;
    }

    /* .heads-icon-per{margin-left: 5px;} */
    .heads-menu .chinese {
        padding: 0px 14px;
    }

    .heads-menu {
        padding-right: 225px;
        padding-left: 230px;
    }

    .heads-logo {
        margin-left: 20px;
    }

    .heads-icon img {
        height: 30px;
    }

    .heads-icon a {
        margin-top: 39px;
    }
}

@media (max-width: 1199px) {
    .heads-pc {
        display: none;
    }

    .heads-phone {
        display: block;
        height: 50px;
    }

    .mains {
        margin-top: 50px;
    }

    .mains.top-socialite-notify {
        margin-top: 78px;
    }
}

@media (max-width: 350px) {
    .mains.top-socialite-notify {
        margin-top: 98px;
    }
}

.footer-background-top img {
    width: 100%;
    vertical-align: middle;
}

.footers-bottom {
    background: #1a1a1a;
    padding-top: 45px;
}

.containers {
    width: 1200px;
    margin: 0px auto;
}

.heads-phone-footer {
    display: none;
}

.footers-pc-groups-small {
    width: 25%;
    box-sizing: border-box;
    float: left;
}

.footers-pc-groups-big {
    width: 33.33%;
    box-sizing: border-box;
    float: left;
}

@media (max-width: 1280px) {
    .containers {
        width: 100%;
        box-sizing: border-box;
        padding: 0px 10px;
    }
}

@media (min-width: 1200px) {
    .heads-phone-menu {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .footers-pc-groups-small {
        width: 25%;
    }

    .footers-pc-groups-big {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .heads-phone-footer {
        display: block !important;
        position: static;
    }

    .footers-bottom {
        padding: 0px;
    }

    .footers-pc-groups-small {
        width: 100%;
    }

    .footers-pc-groups-big {
        width: 100%;
    }

    .right-fixs {
        margin-bottom: 100px;
    }

    .footers {
        padding-bottom: 68px;
    }
}

.footers-pc-title {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footers-pc-link a,
.footers-pc-link p {
    color: #fff;
    font-size: 14px;
}

.footers-pc-link {
    margin-bottom: 25px;
}

.footers-pc-link p {
    margin-bottom: 10px;
}

.footers-tracking a {
    display: inline-block;
    width: 33px;
    margin-right: 10px;
}

.footers-tracking a img {
    width: 100%;
}

.footers-cooperation a {
    display: inline-block;
    width: 80px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.footers-cooperation a img {
    width: 100%;
}

@media (min-width: 1080px) {
    .footers-bottom a:hover {
        color: #ff5d5d
    }
}

.footer-phone-fix {
    display: none;
    position: fixed;
    width: 100%;
    padding: 10px 0;
    left: 0;
    bottom: 0;
    z-index: 1001;
    background: #1a1a1a;
}

@media (max-width: 767px) {
    .footer-phone-fix {
        display: block;
    }
}

.footer-phone-fix li {
    float: left;
    width: 25%;
    text-align: center;
}

.footer-phone-fix li a {
    display: inline-block;
    position: relative;
    color: #fff;
    font-size: 12px !important;
    text-align: center;
}

.footer-phone-fix li img {
    max-width: 100%;
}

.nav-fix-number {
    font-style: normal;
    border-radius: 50%;
    display: inline-block;
    background: #f14950;
    color: #fff;
    line-height: 16px;
    width: 16px;
    text-align: center;
    position: absolute;
    margin-left: 17px;
    font-size: 12px;
}

.sites {
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
    padding: 10px 0px;
    color: #9f353a;
    font-size: 13px;
}

.sites a {
    color: #808080;
}

.sites i {
    color: #808080;
}

.pages {
    text-align: center;
    padding: 60px 0px;
}

.pages .ahover {
    background: #9f353a;
    color: #fff;
}

.inside-title {
    background: #f8f8f8;
    padding: 30px 0px;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 20px;
    text-align: center;
}

.inside-title h1 {
    color: #4D4D4D;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 3px;
    margin: auto;
}

.inside-title .article-title {
    text-align: left;
}

.text-red-color {
    color: #9f353a;
}

@media (min-width: 1080px) {
    .sites a:hover {
        color: #9f353a;
    }

    .pages a:hover {
        background: #9f353a;
        color: #fff;
    }
}

@media (max-width: 991px) {
    .sites {
        font-size: 12px;
        padding: 6px 0px;
    }

    .pages {
        padding: 30px 0px;
    }

    .inside-title {
        font-size: 24px;
        padding: 14px 0px;
    }
}

.content-share-button,
.article_icon-share {
    display: none
}

.content-share a {
    display: inline-block;
    position: relative;
    margin-left: 10px
}

.content-share a img {
    vertical-align: middle
}

.content-share {
    text-align: right
}

.content-share .images-after {
    display: none
}

.content-share a p {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 14px;
    left: 0;
    bottom: 5px;
    color: #4D4D4D;
    font-weight: 700;
    line-height: 20px;
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

@media (min-width: 1080px) {
    .content-share a:hover .images-after {
        display: inline-block
    }

    .content-share a:hover .images-before {
        display: none
    }
}

.content-share-fix a {
    display: block;
    margin-bottom: 10px
}

.content-share-fix {
    position: fixed;
    top: 260px;
    z-index: 10
}

@media (min-width: 768px) {
    .content-share-fix {
        left: 0 !important
    }
}

@media (max-width: 767px) {

    .content-share-button,
    .article_icon-share {
        display: block
    }

    .content-share-fix {
        background: rgba(230, 230, 230, 0.6);
        padding: 5px;
        top: 100px;
        left: -50px
    }

    .content-share-fix a {
        margin-left: 0;
        margin-bottom: 5px
    }

    .content-share-button {
        cursor: pointer;
        width: 22px;
        background: rgba(230, 230, 230, 0.6);
        position: absolute;
        top: 50px;
        right: -22px;
        text-align: center;
        line-height: 14px;
        font-size: 12px;
        font-weight: 700;
        padding: 5px 0
    }

    .content-share-button img {
        margin-top: 5px
    }

    .article_icon-share {
        text-align: center;
        line-height: 10px;
        padding-bottom: 5px
    }
}

.heads-operating {
    float: right;
}

.hello-text {
    display: inline-block;
    color: #fff;
}

.fa-bell {
    font-size: 20px;
    width: 25px;
    height: 25px
}

.header-icon-item {
    position: relative;
    display: inline-block;
    margin-top: 38px;
    font-size: 12px;
    margin: 28px 10px;
    text-align: center;
    vertical-align: top;
    color: #fff;
}

.header-icon-item img {
    vertical-align: middle;
    height: 28px;
}

.header-icon-item .fa-bell {
    display: inline-block;
    height: 28px;
}

.header-icon-item a {
    color: #fff;
}

.header-icon-item p {
    color: #fff;
}

.heads-phone .member-center-btn p {
    width: 40px;
    height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1199px) {
    .fa-bell {
        width: 24px;
        height: 24px;
    }
}


@media (max-width: 1199px) {
    .header-icon-item {
        margin: 0;
    }
}

/* nav search區塊 */
.heads-search {
    width: 70%;
    margin: auto;
    padding: 0px 0px 10px 0px;
}

.heads-search .index-forms-big,
.heads-search .index-forms-small {
    width: 290px !important;
}

.heads-search select,
.heads-search .choice-city,
.heads-search select span {
    width: 285px !important;
}

.heads-search .index-forms-search {
    height: 35px;
    line-height: 35px;
}

.heads-search .index-forms-main {
    margin-right: 150px;
}

@media (max-width: 1024px) {
    .nav-search-btn {
        font-size: 10px;
        border-radius: 5px;
        background: #9f353a;
        color: #fff;
        text-align: center;
        display: block;
        position: absolute;
        left: 44px;
        top: 14.5px;
        padding: 4px;
    }

    .nav-search-phone-block {
        display: none;
        position: fixed;
        width: 100%;
        left: 0;
        top: 50px;
        background: #1a1a1a;
        z-index: 1001;
        padding: 0px 6px;
        padding-bottom: 5px;
    }

    .heads-search .choice-city {
        width: 222px !important;
        margin-left: 2px;
        height: 30px;
        line-height: 30px;
    }

    .heads-search .select2-container {
        width: 211px !important;
    }

    .heads-search .select2-container--default .select2-selection--multiple {
        width: 209px;
        height: 30px !important;
        line-height: 17px;
        min-height: 30px
    }

    .heads-search .index-forms-main {
        margin-right: 0px;
    }

    .heads-search .index-forms-search {
        padding: 0px;
        height: 30px;
        line-height: 30px;
        font-size: 13px;
        width: 100px;
    }

    .search-phone-item {
        width: 226px;
    }
}

@media (max-width: 770px) {
    .nav-search-phone-block {
        display: none;
        position: fixed;
        width: 100%;
        left: 0;
        top: 50px;
        background: #1a1a1a;
        z-index: 1001;
        padding: 0px 6px;
        padding-bottom: 5px;
    }

    .heads-search .choice-city {
        width: 157px !important;
    }

    .heads-search .select2-container {
        width: 170px !important;
    }

    .heads-search .select2-container--default .select2-selection--multiple {
        width: 161px;
    }

    .search-phone-item {
        width: 163px;
    }
}

@media (max-width: 450px) {

    .heads-search .choice-city,
    .search-phone-item,
    .heads-search .select2-container,
    .heads-search .select2-container--default .select2-selection--multiple {
        width: 100% !important;
    }

    .search-phone-item {
        margin-top: 5px;
    }

    .heads-search .index-forms-search {
        width: 100%;
        height: 30px;
        line-height: 30px;
        margin-top: 5px;
    }
}

/* nav search區塊 END */

/* nav notice區塊 */

/* 調卷軸樣式 */
.notice-menu-block::-webkit-scrollbar {
    width: 5px;
    margin-left: 0px;
    background-color: #f8f8f8;
}

.notice-menu-block::-webkit-scrollbar-track {
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.notice-menu-block::-webkit-scrollbar-thumb {
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background: rgb(219, 219, 219);
}

.notice-menu-block {
    position: fixed !important;
    top: 0;
    z-index: 1;
    border: none;
    background-color: #f8f8f8;
    padding: 0px;
    left: unset !important;
    right: 0 !important;
    width: 0px;
    max-width: 400px !important;
    height: 100%;
    transform: none !important;
    overflow-x: hidden;
    overflow: auto !important;
    border-radius: 0px;
}

.notice-menu-block i {
    color: #444 !important;
}

.notice-menu-block .fa-times {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 20px;
    cursor: pointer;
}

.heads-phone .notice-menu-block .fa-close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 20px;
    cursor: pointer;
}

.notice-item {
    font-size: 12px;
    color: #444 !important;
    display: block !important;
    margin: 2px 0;
    padding: 10px 10px 0 10px;
    border-bottom: #e0e0e0 1px solid;
    text-align: left
}

.notice-item-btn {
    cursor: pointer;
}

.notice-item-btn:hover {
    opacity: 0.8;
    color: #9f353a !important;
}

.notice-menu {
    margin-top: 40px;
}

.notice-menu-content {
    padding: 24px 10px;
}

.notify-all-read {
    color: #9f353a !important;
    display: block;
    float: right;
    margin-right: 10px;
}

#notify-bell-btn {
    outline: none;
}

.notice-item-notread {
    background-color: #faeaeb;
}

.notice-item-notread .circle {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #9f353a;
    float: right;
}

.header-notice-center .fa-bell {
    margin: 0px;
}

.header-notice-center .fa-times {
    margin: 0px;
    font-size: 20px;
    text-align: right;
    position: absolute;
    top: 10px 10px 0px 10px;
    right: 10px;
    color: #999999;
    cursor: pointer;
}






.notify-class-title {
    position: relative;
    color: #444 !important;
    font-weight: bold;
    background-color: #eeeded;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
    height: 25px;
    line-height: 25px;
    margin: 5px 0;
}

.notify-class-title .fa {
    float: right;
    line-height: 25px;
}

.notice-item-created-at {
    font-size: 12px;
    color: #b7b7b7;
    display: flex;
    justify-content: flex-end;
}

.clock {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 5px;
}

@media (max-width: 450px) {
    .footer-phone-fix .notice-menu-block {
        top: unset !important;
        bottom: 58px !important;
        left: 10px !important;
        transform: none !important;
        position: fixed !important;
    }

    .notice-menu-block {
        top: 49px !important;
        max-width: 100% !important;
    }
}

/* nav notice區塊 END */

/* nav 會員中心 */

.member-center-btn {
    cursor: pointer;
    display: inline-block;
}

.member-center-menu-block {
    position: absolute;
}

.member-center-menu-block .arrow {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0px 5px 5px 5px;
    border-color: transparent transparent #eee transparent;
    margin: auto;
}

.member-center-menu {
    width: 200px;
    text-align: center;
    background-color: #f8f8f8;
    box-shadow: 0px 0px 10px rgba(180, 180, 180, 0.7);
}

.member-center-menu-item {
    padding: 7px 10px;
    border-bottom: 1px solid #ddd;
}

.member-center-menu-item a {
    color: #444 !important;
    display: block;
}

.member-center-menu-item:hover {
    background-color: #e4e4e4;
}

.member-center-menu-item em {
    border-radius: 50%;
    display: inline-block;
    background: #bd454b;
    color: #fff;
    line-height: 16px;
    width: 16px;
    text-align: center;
    font-size: 12px;
}

.member-center-alert {
    color: #9f353a;
}

.heads-phone-item {
    display: inline-block;
    margin-left: 7px;
    font-size: 12px;
    color: #fff;
}

@media (max-width: 1024px) {
    .member-center-menu {
        width: 180px;
    }

    .member-center-menu-block {
        top: 45px;
        right: 0px !important;
    }
}

/* nav 會員中心 END */


