/*
@font-face {
    font-family: 'HanWangWCL02';
    src: url('/custom/fonts/WCL-02.ttf') format('truetype');
}
*/
article.post-wrap .g-single.a-1{
	background-image: url(../images/textquote.png?v=20210521);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto;
    
    image-rendering: crisp-edges;
 image-rendering: -moz-crisp-edges;          /* Firefox */
 image-rendering: -o-crisp-edges;            /* Opera */
 image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming)*/
 -ms-interpolation-mode: nearest-neighbor;   /* IE (non-standard property) */
 
 -webkit-transform:scale(1)
}
article.post-wrap .g-single.a-1 * {
	opacity:0;
}
@media(max-width: 767px){
	article.post-wrap .g-single.a-1{
		background-image: url(../images/textquote_m.png?v=20210521);
		background-size: contain;
	}
}

div, span:not(.ab-icon) , h1:not(.entry-title), h2, h3, h4, h5, h6, p, a {
    font-family: '微軟正黑體', 'Microsoft JhengHei', 'Dosis', 'MS Serif', 'New York', 'sans-serif' !important;
}
.header-nav-wrap {
    display: block !important;
}
.like-el.twitter,
.like-el.google {
    display: none;
}
.main-nav-inner .is-sub-menu {
    border: 4px solid #eaf5f7;
}
.header-nav-inner {
    background-color: #f3f8f9;
}
.header-nav-inner .header-nav-holder {
    border-bottom: 1px solid #99ffff;
}
.ruby-is-stick .header-nav-inner {
    opacity: 0.95;
}
.main-nav-inner > li > a {
    font-size: 15px;
}
.header-nav-wrap {
    background-color: #f3f8f9;
}

.social-btn-mobile{
    display: none;
}


.post-header{
    text-align: left;
}

.post-excerpt{
    text-align: left;
}

.post-title a{
    font-size: 25px;
    font-weight: 700;
}

.post-wrap .post-excerpt {
    font-size: 18px;
}

.float-relate{
    display: none;
}


.home-category-slider-1 .slick-dots li:before{
    border-color: #1a9595!important;
}


.home-category-slider-1 .slick-dots li.slick-active:before {
    background-color: #1a9595!important;
}

.home-category-slider-1 .post-cat-info{
    font-weight: 700;
}

/* 
.home-category-slider-1 .ruby-slider-next {
    background: url("../images/nav-right-black.png") center center no-repeat !important;
}


.home-category-slider-1 .ruby-slider-prev {
    background: url("../images/nav-left-black.png") center center no-repeat !important;
} */


.home-category-slider-1 .ruby-slider-next {
    right: 5px;
    background: url("../images/ico_article_next.svg") center right no-repeat !important;
}


.home-category-slider-1 .ruby-slider-prev {
    left: 5px;
    background: url("../images/ico_article_prev.svg") center left no-repeat !important;
}


.home-category-slider-1 .ruby-slider-next:hover {

    background: url("../images/ico_article_next_hover.svg") center right no-repeat !important;
}


.home-category-slider-1 .ruby-slider-prev:hover {

    background: url("../images/ico_article_prev_hover.svg") center left no-repeat !important;
}


.home-category-slider-1  .ruby-slider-nav {
    opacity: 1;
}


.home-category-slider-1 .ruby-slider-nav {
    height: 30px;
    top: 25%;
}


@media only screen and (min-width: 768px) {

    /*.off-canvas-wrap {
        z-index: 1001;
        margin-left: 100px;
    }
    .off-canvas-wrap a#ruby-off-canvas-close-btn {
        display: none;
    }
    .header-outer {
        position: fixed;
        height: 100%;
        width: 100px;
        background-color: #fff;
        z-index: 1002;
    }
    .header-outer .header-wrap {
        height: 100%;
    }
    .header-outer .header-wrap .header-banner-wrap {
        height: 100%;
        padding: 30px 10px;
        background-color: transparent !important;
    }
    .header-outer .header-wrap .header-banner-wrap .off-canvas-btn-wrap {
        left: 50%;
        top: 50%;
        margin-top: -12px;
        margin-left: -24px;
    }
    .header-outer .header-wrap .header-banner-wrap .off-canvas-btn-wrap .off-canvas-btn {
        width: 48px;
        height: 24px;
    }
    .header-outer .header-wrap .header-banner-wrap .off-canvas-btn-wrap .off-canvas-btn a.ruby-trigger {
        left: 0;
        top: 0;
        margin: 0;
        width: 48px;
    }
    .header-outer .header-wrap .header-banner-wrap .off-canvas-btn-wrap .off-canvas-btn a.ruby-trigger span.icon-wrap {
        background-color: transparent;
        height: 1px;
    }
    .header-outer .header-wrap .header-banner-wrap .off-canvas-btn-wrap .off-canvas-btn a.ruby-trigger span.icon-wrap:before {
        top: 0;
        background-color: #333;
    }
    .mobile-js-menu .ruby-trigger .icon-wrap:before {
        top: 0 !important;
        -webkit-transform: translateY(0) rotate(20deg);
        transform: translateY(0) rotate(20deg);
    }
    .header-outer .header-wrap .header-banner-wrap .off-canvas-btn-wrap .off-canvas-btn a.ruby-trigger span.icon-wrap:after {
        bottom: 0;
        background-color: #333;
    }
    .mobile-js-menu .ruby-trigger .icon-wrap:after {
        bottom: 0 !important;
        -webkit-transform: translateY(0) rotate(-20deg);
        transform: translateY(0) rotate(-20deg);
    }
    .header-outer .header-wrap .header-banner-wrap .header-social-wrap {
        left: 50%;
        bottom: 20px;
        top: auto;
        right: auto;
        margin-left: -18px;
        padding-bottom: 20px;
    }*/
    
    

    
    /*kenny*/
    
    @media only screen and (max-width: 1500px) {
    body.home .ruby-section > .ruby-block-wrap > .ruby-block-inner.ruby-container {
        margin-top: 10px;
        /*padding-left: 150px;*/
    }
    }
    @media only screen and (max-width: 991px) {
    body.home .ruby-section > .ruby-container .ruby-content-wrap {
        /*padding-left: 120px;*/
        } 

        
    }
        @media only screen and (max-width: 1500px) {
        body.home .ruby-section > .ruby-container .ruby-content-wrap {
            /*padding-left: 120px;*/
        }
    }

    .betterme-category-title {
        margin-left: 1.8em;
    }

}

@media only screen and (max-width: 991px) and (min-width: 768px) {

    .header-outer .header-wrap .header-banner-wrap {
        /*display: block;*/
    } 
    .header-banner-wrap .off-canvas-btn-wrap,
    .header-banner-wrap .header-social-wrap {
        display: block !important;
    }

}

@media only screen and (min-width: 1500px) {
    body.post-template-default .ruby-page-wrap, body.page-template-default.page-id-7456 .ruby-page-wrap {
        margin-top: 40px;
        /*padding-left: 32px !important;*/
    }
    
}@media only screen and (min-width: 768px) {
        body.post-template-default .ruby-page-wrap, body.page-template-default.page-id-7456 .ruby-page-wrap {
        margin-top: 40px;
        /*padding-left: 160px;*/
    }
}
@media only screen and (max-width: 991px) {

    .off-canvas-wrap {
        width: 100%;
    }
    .off-canvas-wrap a#ruby-off-canvas-close-btn i.ruby-close-btn:before {
        margin-left: -20px;
        height: 1px;
        width: 30px;
        -webkit-transform: rotate(-20deg);
        -moz-transform: rotate(-20deg);
        -ms-transform: rotate(-20deg);
        -o-transform: rotate(-20deg);
        transform: rotate(-20deg);
    }
    .off-canvas-wrap a#ruby-off-canvas-close-btn i.ruby-close-btn:after {
        margin-left: -20px;
        height: 1px;
        width: 30px;
        -webkit-transform: rotate(20deg);
        -moz-transform: rotate(20deg);
        -ms-transform: rotate(20deg);
        -o-transform: rotate(20deg);
        transform: rotate(20deg);
    }
    .header-nav-wrap {
        z-index: 800;
    }
    .header-nav-wrap .sticky-wrapper {
        height: auto;
        background-color: #edeff1;
    }
    .header-nav-wrap .sticky-wrapper .header-nav-inner {
        background-color: #fff;
    }
    .header-nav-wrap .sticky-wrapper .header-nav-inner .header-nav-holder {
        height: 74px !important;
        border: 0;
    }
    .header-nav-wrap .sticky-wrapper .header-nav-inner .off-canvas-btn-wrap .off-canvas-btn {
        left: auto;
        top: 16px;
        right: 0;
    }
    .header-nav-wrap .sticky-wrapper .header-nav-inner .header-logo-mobile-wrap a.logo-image-mobile {
        position: absolute;
        display: inline-block;
        left: 0;
        top: 0;
        background-color: #fff;
        padding: 20px 10px;
    }
    .header-nav-wrap .sticky-wrapper .header-nav-inner .nav-search-wrap {
        top: 16px;
        right: 40px;
    }

    
    /* 2021 02 24 */

    .social-btn-mobile{
        display: block;
    }

    .mobile-header-icon{
        position: absolute;
        top: 11px;
        right: 80px;
    }
    
    
    .mobile-header-icon a {
        display: inline-block;
        width: 25px!important;
    }

    .post-title a{
        font-size: 20px;
        font-weight: 700;
    }

    .post-wrap .post-excerpt {
        font-size: 15px;
    }

    .float-relate{
        display: block;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        background-color: #fff;
        color: #111;
        text-align: left;
        z-index: 100;
        padding: 15px;
    }
    .float-relate a {
        font-family: 'source-han-sans-traditional', 'sans-serif'!important;
        font-weight: 500;
        font-size: 18px;
    }
    
    .promo-msg{
        color: #339999;
        padding-bottom: 15px;
        font-size: 17px;
    }

    .home-category-slider-1 .ruby-slider-next {
        right: -10px;
        background: url("../images/ico_article_next.svg") center right no-repeat !important;
    }
    
    
    .home-category-slider-1 .ruby-slider-prev {
        left: -10px;
        background: url("../images/ico_article_prev.svg") center left no-repeat !important;
    }
  

}


@media only screen and (max-width: 576px) { 
    .home-category-slider-1 .ruby-slider-next {
        right: 15px;
    }
    
    
    .home-category-slider-1 .ruby-slider-prev {
        left: 15px;
    }

    .promo-msg{
        display: block;
    }
}


body.category .archive-page-header {
    background-image: none !important;
    background-color: transparent !important;
}
body.category .archive-page-header:before {
    background-color: transparent !important;
}
body.category .archive-page-header .betterme-category-title {
    color: #777;
    font-size: 14px;
}
body.category .archive-page-header .betterme-category-description p {
    color: #000;
    margin: 10px 0 18px;
    font-family: 'HanWangWCL02','Microsoft JhengHei',Dosis,'MS Serif', 'New York', sans-serif !important;
    font-size: 20px;
}
body.category .archive-page-header .archive-title-wrap {
    display: block;
    height: auto;
    padding: 24% 0;
    background-size: cover;
    background-position: center center;
}
body.category .archive-page-header .archive-title-wrap h1.archive-title,
body.category .archive-page-header .archive-title-wrap .archive-desc {
    display: none;
}



.post-title.is-mini-title > * {
    line-height: 1.2;
}
.single-post-outer {
    border-bottom: 0;
}
article.post-wrap .betterme-author-box {
    display: none;
}
article.post-wrap .meta-info-el {
    display: none;
}
article.post-wrap .single-meta-info-bar {
    padding: 0;
    border-top: 0;
    border-bottom: 0;
}
article.post-wrap .single-meta-info-bar .single-like-wrap {
   display: none;
}
article.post-wrap .single-meta-info-bar .single-share-bar {
    display: none;
}
article.post-wrap .betterme-facebook {
    display: inline-block;
    float: right;
    padding: 3px;
    background-color: #fff;
    text-align: right;
}
article.post-wrap .single-header .single-thumb-outer {
    margin-bottom: 20px;
}
article.post-wrap .single-entry {
    margin-top: 20px;
}
article.post-wrap .single-entry p {
    line-height: 2;
}
article.post-wrap .betterme-like-bar {
    overflow: hidden;
}
article.post-wrap .betterme-like-bar .meta-info-el {
    display: inline-block;
    float: left;
    color: #bbb;
}
article.post-wrap .betterme-like-bar .social {
    float: right;
}
article.post-wrap .betterme-like-bar .social .single-like-wrap {
    display: none;
}
article.post-wrap .betterme-like-bar .social .single-share-bar-inner {
    display: none;
}
article.post-wrap .single-tag-wrap {
    margin-top: 20px;
    margin-bottom: 0;
}
article.post-wrap .single-nav {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-top: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
}
article.post-wrap .single-nav .nav-el {
    padding: 5px 0;
}
article.post-wrap .single-nav .nav-el.nav-right {
    border-left: 1px solid #ddd;
}
article.post-wrap .single-author-wrap {
    /*display: none;*/
}
article.post-wrap .betterme-auhtor table.author-table {
    border: 0;
    background-color: #fff;
}
article.post-wrap .betterme-auhtor table.author-table td {
    vertical-align: middle;
    border: 0;
}
article.post-wrap .betterme-auhtor table.author-table td.avatar {
    padding: 30px;
    width: 140px;
    text-align: center;
    vertical-align: middle;
}
article.post-wrap .betterme-auhtor table.author-table td.avatar img {
    width: 80px;
    border-radius: 50%;
}
article.post-wrap .betterme-auhtor table.author-table td.description {
    padding-left: 0;
}
article.post-wrap .betterme-auhtor table.author-table td.description h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}
article.post-wrap .betterme-auhtor table.author-table td.description .description {
    font-size: 14px;
    color: #999;
}
article.post-wrap .g-single {
    padding: 30px 40px;
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    text-align: center;
}
article.post-wrap .g-single .text {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
    font-size: 26px;
}
article.post-wrap .g-single .text:before {
    content: " ";
    position: absolute;
    top: -4px;
    left: -24px;
    width: 10px;
    height: 10px;
    background: transparent url("/custom/images/quote.png") center center no-repeat;
    background-size: contain;
}
article.post-wrap .g-single .text:after {
    content: " ";
    position: absolute;
    bottom: -10px;
    right: -20px;
    width: 10px;
    height: 10px;
    background: transparent url("/custom/images/quote.png") center center no-repeat;
    background-size: contain;
}
article.post-wrap .g-single .signature {
    font-size: 14px;
    color: #666;
}

.post-slider-hw:before, .post-slider-fw:before, .post-carousel:before {
        background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(51, 51, 51, 0.8) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(51, 51, 51, 0.8)));
        background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(51, 51, 51, 0.8) 100%);
        background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(51, 51, 51, 0.8) 100%);
        background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(51, 51, 51, 0.8) 100%);
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(51, 51, 51, 0.8) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80515151', GradientType=0);
}

#look_ruby_sb_widget_post-3 .post-meta-info {
    display: none;
}

.off-canvas-wrap::-webkit-scrollbar-corner {
    background-color: #a2bbbd;
}
.off-canvas-wrap::-webkit-scrollbar-thumb {
    background-color: #a2bbbd;
}


.betterme-monthly-topics .banner {
    padding: 20% 0;
    background-position: center center;
    background-size: cover;
    margin-bottom: 30px;
}
.betterme-monthly-topics .topics {
    overflow: hidden;
    margin: 0 -1.5%;
}
.betterme-monthly-topics .topic {
    float: left;
    width: 30.3333333%;
    margin: 0 1.5%;
    text-align: center;
    font-weight: 400;
}
.betterme-monthly-topics .topic .month {
    display: block;
    height: 40px;
    width: 40px;
    margin: 0 auto 10px;
    text-align: center;
    background-color: #fff;
    border-radius: 50%;
    line-height: 2.4;
}
.betterme-monthly-topics .topic .thumb {
    padding: 36% 0;
    background-position: center center;
    background-size: cover;
    margin-bottom: 10px;
}
.betterme-monthly-topics .topic .year {
    color: #83bfdd;
    margin-bottom: 10px;
}
.betterme-monthly-topics .topic .title {
    margin-bottom: 10px;
    font-family: 'HanWangWCL02','Microsoft JhengHei',Dosis,'MS Serif', 'New York', sans-serif !important;
    font-size: 20px;
}
.betterme-monthly-topics .topic .description {
    line-height: 1.4;
}

@media only screen and (min-width: 1400px){
    body:not(.is-boxed) .fw-block-slider-fw, body:not(.is-boxed) .feat-wrap .slider-wrap.is-fw-slider {
    /*margin-left: 100px;*/
    /*margin-right: 0px;*/
}
}

@media only screen and (max-width: 767px){
    .post-excerpt {
    display: inherit ;
}
}

article.post-wrap .g-single{
    max-width:900px;
    
}
.post-share-bar-inner{
        visibility: hidden;
}
.home .is-cat-286 , .home .block-content-wrap .post-wrap .post-header.is-center{
    text-align:left;
}
.home .block-title {
    text-align:left;
}

.home .block-title h3{
    font-size: 26px;
}

.page-id-7456 .header-outer.header-style-1, .page-id-7456 #media_image-4, .page-id-7456 #text-4 {display:none;}
.page-id-7456 p,.page-id-7456 .cta-button{margin-bottom:0px;}
.page-id-7456 p,.page-id-7456 .cta-button{margin-bottom:0px;}
.page-id-7456 h2{margin:70px 0 25px 0;}
@media only screen and (min-width: 992px) {
    .col-half-offset{
       margin-left:4.166666667%
    }
}
.block-content-wrap.row.home-category-slider-1 .col-sm-4.col-xs-12 .post-title.is-medium-title{
	overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
   -webkit-box-orient: vertical;
}

.block-content-wrap.row.home-category-slider-1 .col-sm-4.col-xs-12 .post-grid{
	margin-bottom:0px;
}

.block-content-wrap.row.home-category-slider-1 .col-sm-4.col-xs-12{
	min-height:450px;
}

/* yahoo-ad */

#ztgtMAST, #ztgtWFPAD, #ztgtLDRB, #ztgtLDRB2, #ztgtLREC, #ztgtMobileLREC{text-align:center;}
#ztgtMAST iframe, #ztgtWFPAD iframe, #ztgtLDRB iframe, #ztgtLDRB2 iframe, #ztgtLREC iframe, #ztgtMobileLREC iframe{max-width:unset!important;}
/* #ztgtMAST *, #ztgtWFPAD *{max-width:100%;} */ 
#ztgtMAST{margin-bottom:20px;}
#ztgtLDRB, #ztgtLDRB2{margin-top:10px;margin-bottom:50px;}
#ztgtWFPAD, #ztgtMobileLREC{margin-top:20px; margin-bottom:20px;}
#ztgtMobileLREC{margin-bottom:50px;}
@media(max-width: 767px){
	.block-content-wrap.row.home-category-slider-1 .col-sm-4.col-xs-12{min-height:unset;}
}