/* Menu : Start */
.switch_chinese_btn {
    display: block;
}

.switch_chinese_btn {
    width: unset;
}

.cover-link {
    text-indent: -9999px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0;
    z-index: 9;
}

@media (min-width: 480px) {

    body .wsmenucontainer,
    body.role-authenticated .wsmenucontainer {
        padding-top: 118px;
    }

    .header_menu {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .header_menu ul.function_menu li {
        line-height: 1;
    }

    .header_menu ul.function_menu li:nth-child(1),
    .header_menu ul.function_menu li:nth-child(2),
    .header_menu ul.function_menu li:nth-child(3) {
        align-items: flex-end;
        display: flex;
        font-weight: 400;
    }

    .header_menu ul.function_menu li:nth-child(4),
    .header_menu ul.function_menu li:nth-child(5) {
        align-items: center;
        display: flex;
    }

    .header_menu ul.function_menu li:nth-child(7) {
        margin-right: 0;
    }

    .header_menu .menu_row {
        margin-top: 0;
    }

    .header_menu ul.function_menu,
    .header_menu .menu_row,
    .header_menu ul.function_menu li,
    .wsmenu>.wsmenu-list>li {
        float: unset;
    }

    .header_menu ul.function_menu li.btn_redemption_item,
    .header_menu ul.function_menu li.btn_login {
        padding: 0 !important;
        border: unset !important;
    }

    .header_menu .switch_chinese_btn:hover {
        color: #108371;
    }

    .header_menu ul.function_menu li.btn_redemption_item a,
    .header_menu ul.function_menu li.btn_login a {
        font-size: 14px;
        color: #334947;
        padding: 10px 24px;
        border-radius: 50px;
        border: 1px solid #108371;
        display: block;
    }

    .header_menu ul.function_menu li.btn_redemption_item:hover,
    .header_menu ul.function_menu li.btn_login:hover {
        background: unset;
    }

    .header_menu ul.function_menu li.btn_redemption_item a:hover,
    .header_menu ul.function_menu li.btn_login a:hover {
        background-color: #108371;
        color: #fff;
    }

    .header_menu ul.function_menu {
        display: flex;
        justify-content: flex-end !important;
    }

    .header_menu ul.function_menu li:nth-child(5) {
        border-right: unset;
        margin-right: 20px;
        padding-right: 0px;
    }

    .header_menu ul.function_menu li.active {
        color: #000;
        font-weight: 400;
    }

    .wsmenu .desktop {
        display: flex;
        justify-content: flex-end;
        margin-top: 20px;
    }

    .header_menu .wsmenu>.wsmenu-list>li {
        padding-bottom: unset;
        align-items: center;
        display: flex;
        margin: 0;
    }

    .header_menu .e123_header_menu {
        padding-bottom: 15px;
        padding-top: 15px;
    }

    .header_menu .e123_header_menu>.col-md-3,
    .header_menu .e123_header_menu>.col-md-3>.inv-region {
        padding: 0;
    }

    .header_menu .wsmenu>.wsmenu-list>li:nth-child(1),
    .header_menu .wsmenu>.wsmenu-list>li:nth-child(2) {
        margin-left: 20px;
        margin-right: 20px;
    }

    .header_menu .wsmenu>.wsmenu-list>li.btn_ecenter,
    .header_menu .wsmenu>.wsmenu-list>li.btn_sage_game {
        padding: 0px;
        margin-top: 0px;
        border: unset;
        background-image: unset;
        border-radius: unset;
        margin: 0;
    }

    .header_menu .wsmenu>.wsmenu-list>li.btn_ecenter {
        margin-right: 10px;
    }

    .header_menu .wsmenu>.wsmenu-list>li.btn_ecenter>a {
        font-size: 22px;
        padding: 10px 30px;
        background: #D87A01;
        border-radius: 50px;
        border: 1px solid #D87A01;
    }

    .header_menu .wsmenu>.wsmenu-list>li.btn_sage_game>a {
        font-size: 22px;
        padding: 10px 22px;
        background: #108371;
        border-radius: 50px;
        border: 1px solid #108371;
    }

    .header_menu .wsmenu>.wsmenu-list>li.btn_ecenter>a:hover,
    .header_menu .wsmenu>.wsmenu-list>li.btn_sage_game>a:hover {
        background: #fff;
    }

    .header_menu .wsmenu>.wsmenu-list>li.btn_ecenter:hover,
    .header_menu .wsmenu>.wsmenu-list>li.btn_sage_game:hover {
        border: unset;
    }

    .header_menu .header-bottom {
        display: flex;
        margin-bottom: 15px;
        margin-top: 15px;
        transition: all 0.2s ease;
    }

    /* .ScrollDown .header_menu .header-bottom {
        height: 0px;
        overflow: hidden;
    } */
    .header_menu .header-bottom .olink-visit-wrapper {
        margin-left: auto;
        display: flex;
        padding: 10px 25px;
        border-radius: 50px;
        background: linear-gradient(90deg, #FFF4E8 0%, #FFE0BC 100%);
        position: relative;
    }

    .header_menu .header-bottom .olink-visit-wrapper .olink-visit-text {
        margin-left: 18px;
    }

    .header_menu .header-bottom .olink-visit-wrapper .olink-visit-text a {
        text-indent: -9999px;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        font-size: 0;
        z-index: 9;
    }

    .header_menu .header-bottom .olink-visit-wrapper .olink-visit-text span {
        color: #6C3D28;
        font-size: 20px;
        font-weight: bold;
    }

    .header_menu .header-bottom .olink-visit-wrapper:hover .olink-visit-text span {
        color: #108371;
    }

    .header_menu .header-bottom .olink-visit-wrapper .olink-visit-logo {
        width: 125px;
    }

    .header_menu .header-bottom form {
        border-radius: 50px;
        border: 1px solid #A5A5A5;
        padding-left: 33px;
        padding-right: 15px;
        width: 30%;
        display: flex;
        justify-content: space-between;
    }

    .header_menu .header-bottom form input {
        border: unset;
        background: unset;
        height: 100%;
        color: #666;
        font-size: 18px;
        width: 100%;
    }

    .header_menu .header-bottom form button {
        border: unset;
        background: unset;
    }

    .header_menu .header-bottom form button i {
        font-size: 22px;
    }

    .header_menu .e123_menu {
        /* margin-top: 15px; */
        border-top: 1px solid #E3E3E3;
        padding-top: 15px;
    }

    .header_menu .e123_menu_content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }


    .header_menu .e123_menu_content>div {
        flex: 1 1 114px;
        max-width: calc(100% / 10);
        box-sizing: border-box;
        position: relative;
    }

    .header_menu nav.navigation>div {
        font-size: 22px;
        color: #000;
        text-align: center;
    }

    .header_menu nav.navigation>div>div,
    .header_menu .e123_menu_content .inv-region {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .header_menu .e123_menu_content ul.menu {
        margin-left: 0;
    }

    .header_menu .e123_menu_content ul.menu .menu-item--collapsed {
        list-style-image: none;
        list-style: none;
    }

    .header_menu .e123_menu_content .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 10;
        background-color: white;
        padding: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        width: 100%;
        text-align: center;
        border-radius: 10px;
    }

    .header_menu .e123_menu_content .menu li {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .header_menu .e123_menu_content .menu li a {
        font-size: 16px;
    }

    /* 显示当前激活的菜单 */
    .header_menu .e123_menu_content .block-menu.active .menu {
        display: block;
    }

    /* 鼠标悬停时，显示菜单 */
    .header_menu .e123_menu_content>div:hover .menu {
        display: block;
    }

    /* 鼠标悬停的导航按钮样式 */
    .header_menu .e123_menu_content>div:hover {
        cursor: pointer;
    }
}

/* Menu : End */

/* Homepage 最新消息 : Start */
.e123_homepage_news_section {
    padding-top: 80px;
    padding-bottom: 80px;
}

#block-latest-elder-info-home-blk {
    margin-bottom: 100px;
}

.swiper-button-next,
.swiper-button-prev {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    top: calc(50% - 25px);
    opacity: 0.8;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 150, 115, 0.9);
}

.swiper-pagination-bullet {
    background: #fff;
    border: #009673 solid 2px;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #009673;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    color: #324545;
    font-weight: bold;
    font-size: 26px;
}

#home_elder_info_grid_blk .e123_front_12cat_content_type_name,
.view-e123-12cat-home-content .e123_front_12cat_content_type_name {
    color: #ad6301;
    font-size: 22px;
    font-weight: 400;
    margin-top: 20px;
}

#home_elder_info_grid_blk .views-field-title h4,
.e123_homepage_news_section .view-e123-12cat-home-content .views-field-title h4 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 15px;
}

#home_elder_info_grid_blk .views-field-title h4 a,
.e123_homepage_news_section .view-e123-12cat-home-content .views-field-title h4 a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

#home_elder_info_grid_blk .e123_info_box_message>p,
.view-e123-12cat-home-content .e123_info_box_message>p {
    color: #262626;
    font-size: 22px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    height: 96px;
}

@media (min-width: 600px) {

    #home_elder_info_grid_blk .views-field-title,
    .view-e123-12cat-home-content .views-field-title {
        height: 135px;
    }
}

/* Homepage 最新消息 : End */



/* Homepage 熱門帖文 : Start */
#block-views-block-e123-12cat-home-content-block-2 h2.block-title {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 18px;
}

#home_elder_info_grid_blk .views-field,
#block-views-block-e123-12cat-home-content-block-2 .views-field {
    background-color: #ffffff;
    font-size: 18px;
    color: #575757;
    padding: 20px;
    border-radius: 20px;
    margin-top: 0;
    margin-bottom: 20px;
    box-shadow: 0 1px 1px 0 rgba(60, 64, 67, 0.08), 0 1px 3px 1px rgba(60, 64, 67, 0.16);
}

/* Homepage 熱門帖文 : End */





/* Pubsvc Page : Start */
.pubsvc-content h1 {
    display: none;
}

.pubsvc-content .field--name-field-description {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 0;
}

.pubsvc-content .field--name-field-description>div {
    border-radius: 20px;
    background: #FFF;
    margin-bottom: 20px;
    box-shadow: 0 1px 1px 0 rgba(60, 64, 67, 0.08), 0 1px 3px 1px rgba(83, 178, 252, 0.16);
}

.pubsvc-content .field--name-field-description>div p {
    margin-bottom: 0;
}

.pubsvc-content .field--name-field-description>div>div {
    padding: 0;
    display: flex;
    align-items: center;
    padding: 25px 30px;
}
.pubsvc-content .field--name-field-description>div>div:hover h3 a {
    color: #108371;
}
.pubsvc-content .field--name-field-description>div>div>div:nth-child(1) {
    margin-right: 30px;
}

.pubsvc-content .field--name-field-description h3 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 400;
}

@media (max-width: 767.99px) {
    .pubsvc-content .field--name-field-description {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Pubsvc Page : End */