﻿
@media only screen 
and (min-width : 768px) 
and (max-width : 1024px){
	.af-main-banner-featured-posts .data-bg-featured a:after{
		background-size: 41% auto;
		background-repeat: no-repeat;
		background-position: 5%;
	}
}
@media screen and (max-width: 768px) {
	body{
		overflow: hidden;
	 	overflow-x: hidden;
		overflow-y: scroll;
		-webkit-overflow-scrolling: touch;
	}
	.entry-summary{
		margin: 0;
	}
	.site-header{
		box-shadow: 0 5px 5px -1px #0000004f;
	}
	#scroll-up{
		right: 10px;
		bottom: 65px;
	}
	.masthead-banner .site-branding{
		padding: 0;
	}
	.category #primary{
		width: 100%;
	}
	
	/*廣告*/
	.mobile_ad{
		background-color: #C69C2A;
		width: 100%;
		height: 65px;
		display: flex;
		justify-content: space-around;
		align-items: center;
		padding:0 15px;
	}
	.mobile_ad .close_btn{
		width: 33px;
		height: 20px;
		cursor: pointer;
	}
	.mobile_ad .close_btn:before, .mobile_ad .close_btn:after {
		position: absolute;
		left: 15px;
		content: ' ';
		height: 20px;
		width: 3px;
		background-color: #091D46;
	  }
	.mobile_ad .close_btn:before {
		transform: rotate(45deg);
	  }
	.mobile_ad .close_btn:after {
		transform: rotate(-45deg);
	  }
	.mobile_ad .ad_icon{
		width: 54px;
		height: 54px;
		background-image: url(assets/logo/AppIcon.png);
		background-repeat: no-repeat;
		background-size: 100% auto;
	}
	.mobile_ad .ad_txt{
		font-size: 1.375rem;
		color: #091D46;
		text-align: left;

	}
	.mobile_ad .download_btn{
		width: auto;
		min-width: 84px;
		height: 38px;
		border-radius: 10px;
		text-align: center;
		line-height: 2.5rem;
		color: #fff;
		font-size: 1.1rem;
		background-color: #091D46;
		cursor: pointer;
	}

	/*手機menu style*/
	.ham{
		width: 20px;
		height: 4px;
		top: 20px;
		display: block;
		margin-right: auto;
		margin-left: 0px;
		background-color: #C69C2A;
	}
	.ham:before, .ham:after{
		width: 20px;
		height: 4px;
		background-color: #C69C2A;
	}
	/*手機menu*/
	.main-navigation .toggle-menu,.mobile_style{
		display:block;
	}
	.header_container{
		display: flex;
		width: 100%;
		justify-content: space-between;
		align-items: center;
		flex-flow: row-reverse;
		padding: 10px 5px;
		overflow: hidden;
	}

	
	.header_container #lang_choice_1,.header_container .masthead-banner ,#site-navigation{
		margin-right: 20px;
	}
	.header_container::after{
		content: '';
		position: absolute;
		width: 100%;
		height: 1px;
		bottom: 2px;
		left: 0;
		border-bottom: 1px solid #C69C2A;
	}
	
	#lang_choice_1{
		width: 22px;
		height: 22px;
		background-image: url(assets/icon/icon-local.svg);
		background-repeat: no-repeat;
		background-size: 100% auto;
		background-color: transparent;
		border: none;
	}
	#lang_choice_1:focus{
		outline: none;
	}
	
	
	.main-navigation .menu .menu-mobile li{
		text-align: left;
	}
	/*app menu*/
	#primary-menu{
		position: relative;
		z-index: 99999999;
		width: 200px;
		overflow: hidden;
		display: block;
		height: auto;
		margin-left: -400px;
		background-color: #c69c2a;
		-webkit-transition: all .25s ease-in-out;
		-moz-transition: all .25s ease-in-out;
		-ms-transition: all .25s ease-in-out;
		-o-transition: all .25s ease-in-out;
		transition: all .25s ease-in-out;
	}
	#primary-menu.active{
		margin-left: 0px;
	}
	.menu_container{
	    position: fixed;
		z-index: 999999;
		left: 0px;
		top: 80px;	
	}
	.main-navigation .menu .menu-mobile li a{
		padding-left: 30px;
		font-size: 1.6rem;
		color: #091D46;
	}
	a.download_app{
		display: block;
		position: relative;
		z-index: 63;
		width: 200px;
		height: 80px;
		margin-left: -400px;
		padding: 0 30px;
		font-weight: 500;
		clip-path: none;
		background-color: #A42423;
		color: #fff;
		text-align: left;
		font-size: 1.5rem;
		line-height: 5rem;
		left: 0;
		border-radius: 0px 0px 80px;
		-webkit-transition: all .25s ease-in-out;
		-moz-transition: all .25s ease-in-out;
		-ms-transition: all .25s ease-in-out;
		-o-transition: all .25s ease-in-out;
		transition: all .25s ease-in-out;
	}
	a.download_app.active{
		margin-left: 0;
		left: 0px;
	}
	
	/*手機title 隱藏*/
	.header-after,.top-headerText,.cart-search,.social-menu,#subscribe-button,.main-navigation::before, .main-navigation::after,.site-header::before,.pc_style{
		display: none;
	}

	/*GHI888 - 官方页面 - H5 的延伸阅读破版*/
	.yarpp-related{
		margin: 1em 1em;
	}
	/*首頁*/
	.slick-slider .slick-list{
		border-radius: 10px;
	}
	/*首頁輪播*/
	.main-story-wrapper .header-after1{
		display: none;
	}
	.main-slider-wrapper{
		padding-top: 10px;
	}
	.af-main-banner .main-story-wrappe .header-after1{
		display: none;
	}
	.slick-item .data-bg-slide{
		height: auto;
	}
	.slick-slider .slider-figcaption{
		padding: 10px;
	}
	.af-main-banner-featured-posts .data-bg-featured a:after{
		background-size: 25% auto;
		background-repeat: no-repeat;
		background-position: 5%;
	}
	.main-slider-wrapper .slider-figcaption .slide-title{
		font-size: 1.375rem;
	}
	.af-main-navcontrols {
		display: none;
	}
	/*商業模式*/
	.categorized-story{
		display: none;
	}
	/*獨家類別*/
	.featured-posts-grid .row{
		display: inline-grid;
		grid-auto-flow: column;
		grid-gap: 10px;
		padding: 0 4% 12px;
		width: 100%;
		overflow: auto;
	}
	.featured-posts-grid .offical-excerpt{
		display: none;
	}
	.af-main-banner-featured-posts .header-after1, .category .site-main .header-title-wrapper1{
		margin: 0;
	}
	.af-main-banner-featured-posts .featured-posts-grid{
		padding: 0px 0px 10px;
	}
	.grid-item-metadata{
		padding: 0 0 0 10px;
	}
	.featured_item{
		border-radius: 5px;
		background-color: #fff;
		box-shadow: 0px 5px 10px -1px #cccccc;
		padding: 10px 5px;
	}
	.af-main-banner-featured-posts figcaption{
		box-shadow: 0px 0px 0px 0px #cccccc;
	}
	.af-main-banner-featured-posts .title-heading{
		height: 100%;
		min-height: 70px;
	}
	.af-main-banner-featured-posts .article-title-1{
		font-size: 1rem;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 4;
		-webkit-box-orient: vertical;
		white-space: normal;
		
	}
	.category figure.categorised-article.inside-img{
		width: 90px;
	}
	.category .data-bg-categorised{
		height: auto;
		min-height: auto;
	}
	/*tag*/
	.tag .site-main .header-title-wrapper1 h1{
		padding: 5px 0px;
		border-bottom: 1px solid #091D46;
		margin: 0px 0px 5px 0px;
	}
	.tag .archive-description{
		padding: 0;
	}
	.tag .site-main .header-title-wrapper1{
		margin: 0;
	}
	.tag #primary{
		width: 100%;
	}
	.tag figure.categorised-article.inside-img{
		width: 90px;
	}
	.tag .data-bg-categorised{
		height: auto;
		min-height: auto;
	}
	/*author*/
	.author .site-main .header-title-wrapper1 h1{
		padding: 5px 0px;
		border-bottom: 1px solid #091D46;
		margin: 0px 0px 5px 0px;
	}
	.author .archive-description{
		padding: 0;
	}
	.author .site-main .header-title-wrapper1{
		margin: 0;
	}
	.author #primary{
		width: 100%;
	}
	.author figure.categorised-article.inside-img{
		width: 90px;
	}
	.author .data-bg-categorised{
		height: auto;
		min-height: auto;
	}
	/*標題*/
	.af-main-banner-featured-posts .header-after1,
	.popular-posts .widget-title-1
	{
		border-bottom: 1px solid #091D46;
		color: #091d46;
		margin: 6px 0 0 10px;
		width: 90%;
	}
	.header-title-wrapper1{
		
		color: #091d46;
		margin: 6px 0 0 0;
	}
	.category .site-main .header-title-wrapper1 h1{
		padding: 5px 0px;
		border-bottom: 1px solid #091D46;
		margin: 0px 0px 5px 0px;
	}
	span.header-after,#secondary .widget-title span{
		margin:6px;
	}

	.af-main-banner-featured-posts .header-after1::before
	,.popular-posts .widget-title-1::before,
	.site-main .header-title-wrapper1 .page-title::before
	{
		content: '';
		position: inherit;
		width: 8px;
		height: 8px;
		margin-bottom: -10px;
		margin-left: -16px;
		background-color: #c69c2a;
		display: inline-block;
	}
	.site-main .header-title-wrapper1{
		margin-left: 5px;
	}
	.site-main .header-title-wrapper1 .page-title::before{
	    
		margin-left: -15px;
		margin-top: 20px;
		position: absolute;
	}

	/*最新消息 q*/

    /*最新消息 pc版 旁邊的最新消息隱藏*/
    .category-latest .covernews_tabbed_posts_widget,.category-latest-en .covernews_tabbed_posts_widget{
        display: block;
    }
    /*menu title*/
    .navigation-container .site-title{
        width: auto;
    }
	.af-main-banner-featured-posts .header-after1, .category .site-main .header-title-wrapper1,
	.popular-posts .widget-title-1
	{
        background-image: none;
	}
	/* 類別頁 */
	/*類別高度*/
	.category .content-area{
		margin-top: 5px;
	}
	.category article .spotlight-post .article-title{
		font-size: 1rem;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		white-space: normal;
	}
	.category .site-main .header-title-wrapper1 h1,#secondary .widget-title span, span.header-after{
		color: #091D46;
	}

	/*手機版隱藏*/
	.page .figure-categories, .archive .figure-categories,.home .figure-categories{
		display: none;
	}
	.spotlight-post .featured-article .data-bg-featured, .data-bg-categorised{
		height: 0;
		min-height: 0;
		padding-bottom: 90%;
		border-radius: 5px;
	}
	.category .spotlight-post figcaption{
		height: auto;
		min-height: 60px;
		padding: 0 10px 0;
	}
	.category span.item-metadata.posts-date{
		padding-right: 10px;
	}
	.category article .spotlight-post{
		display: inline-block;
		border-bottom: 1px dotted #000;
		padding-bottom: 5px;
		margin: 0 0 5px 0;
	}
	.hentry{
		margin: 0;
	}
	/*熱門新聞*/
	.archive .list-thumb,.archive .list-tax,.archive .author,
	.single-post .list-thumb,.single-post .list-tax,.single-post .author
	{
		display: none;
	}
	.archive .list .list-date,
	.single-post  .list .list-date
	{
		text-align: right;
		font-size: 0.875rem;
		color: #7A7A7A;
	}
	.home .list .list-item, .page .list .list-item, .archive .list .list-item , .single-post .list .list-item
	{
		display: inline-block;
		padding-top: 10px;
		padding-bottom: 5px;
		border-bottom: 2px dotted #d9d9d9;
		margin: 0 5px 0 15px;
		width: 92%;

	}
	.home .wpp-post-content h3, .page .list .list-post-content h3, .archive .list .list-post-content h3,.single-post .list .list-post-content h3
	{
		display: -webkit-inline-box;
		font-size: 1rem;
		margin: 0;
		line-height: 1.8rem;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		white-space: normal;
		overflow: hidden;
	}
	.home .list .list-content, .page .list .list-content, .archive .list .list-content,.single-post .list .list-content
	{
		line-height: 2.2;
		float: right;
		font-size: 0.75rem;
	}
	.archive figcaption .full-item-discription,.home .list .list-post-description ,.page .list .list-post-description  ,.archive .list .list-post-description,.single-post .list .list-post-description{
		display: none;
	}
	.home .list .list-post-content, .page .list .list-post-content, .archive .list .list-post-content,.single-post .list .list-post-content{
		padding: 0;
		line-height: 1rem;

	}
	.search .popular-posts h3 a ,.home .popular-posts h3 a, .page .popular-posts h3 a, .archive .popular-posts h3 a{
		font-size: 1.12rem;
		line-height: 1.5;
	}
     .home .list-meta,.page .list-meta,.archive .list-meta{
		line-height: 2;
	}
		/*tag*/
	.tag .site-main .header-title-wrapper1{
		background: none;
	}
	.tag .content-area{
		margin-top: 5px;
	}
	.tag .header-title-wrapper1 ::before{
		margin-left: -15px;
		margin-top: 20px;
		position: absolute;
	}
	.tag article .spotlight-post .article-title{
		font-size: 1rem;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		white-space: normal;
	}
	.tag .site-main .header-title-wrapper1 h1,#secondary .widget-title span, span.header-after{
		color: #091D46;
	}
	.tag .spotlight-post figcaption{
		height: auto;
		min-height: 60px;
		padding: 0 10px 0;
	}
	.tag span.item-metadata.posts-date{
		padding-right: 10px;
	}
	.tag article .spotlight-post{
		display: inline-block;
		border-bottom: 1px dotted #000;
		padding-bottom: 5px;
		margin: 0 0 5px 0;
	}
	/*author*/
	.author .site-main .header-title-wrapper1{
		background: none;
	}
	.author .content-area{
		margin-top: 5px;
	}
	.author .header-title-wrapper1 ::before{
		margin-left: -15px;
		margin-top: 20px;
		position: absolute;
	}
	.author article .spotlight-post .article-title{
		font-size: 1rem;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		white-space: normal;
	}
	.author .site-main .header-title-wrapper1 h1,#secondary .widget-title span, span.header-after{
		color: #091D46;
	}
	.author .spotlight-post figcaption{
		height: auto;
		min-height: 60px;
		padding: 0 10px 0;
	}
	.author span.item-metadata.posts-date{
		padding-right: 10px;
	}
	.author article .spotlight-post{
		display: inline-block;
		border-bottom: 1px dotted #000;
		padding-bottom: 5px;
		margin: 0 0 5px 0;
	}
	

	/*內文設定*/
	h1.entry-title{
		margin: 10px 0;
		font-size: 1.625rem;
	
	}
	.figure-categories .cat-links a.covernews-categories > a{
		color: #153D47;
	}
	.figure-categories .cat-links a.covernews-categories:nth-child(n+1){
		margin-left: 4px !important;
	}
	.single-post .entry-content{
		margin: 0;
	}
	.single-post .post-excerpt{
		padding: 10px 0;
	}
	.single-post .aft-image-caption p{
		margin: 5px 15px;
	}
	/*類別外框*/
    .covernews-categories{
        background: #fff;
        border-radius: 11px;
        width: 95px;
        color: #153D47;
        font-size: .75rem;
        border: 1px solid #153D47;
        text-align: center;
        padding: .05rem .2rem;
        margin-left:.2rem;
	}
	.single-post .share-post{
		display: inline-block;
		font-size: 1rem;
		font-weight: 600;
	}
	.single-post .share-post >a {
		padding: 0 2px;
	}
	.single-post .entry-content-wrap time{
		float: right;
        line-height: initial;
        bottom: 0;
		right: 0;
		font-size: 0.75rem;
        position: absolute;
	}
	.single-post .figure-categories{
		border-bottom: 1.5px solid #C69C2A;
		line-height: 2.5rem;
		position: inherit;
		display: flex;
		flex-flow: column;
	}
	.single-post > footer{
		text-align: center;
	}
	.single-post .subscribe-block{
		display: none;
	}
	footer{
		text-align: center;
	}
	footer .single-post .share-post{
		display: block;
		margin: 0 auto;
	}

	/*相關文章*/
	.single h3.has-vivid-red-color.has-text-color{
		display: none;
	}
	#content .relate_posts .title p{
		font-size: 1.375rem;
	}
	#content .relate_posts{
		overflow: hidden;
		background-color: transparent;
	}
	#content .yarpp-thumbnails-horizontal{
		display: inline-grid;
		grid-auto-flow: column;
		padding: 0 4%;
		width: 100%;
	}
	#content .yarpp-thumbnails-horizontal .yarpp-thumbnail{
		width: 160px;
		border-radius: 5px;
		margin-left:initial;
		
	}
	#content .yarpp-related{
		overflow: auto;
	}
	#content .relate_posts .title{
		width: 80%;
	}
	#content .yarpp-thumbnails-horizontal .yarpp-thumbnail>img{
		width: 140px;
		height: auto;
		border-radius: 5px;
	}
	
	
	/*側邊分享*/
	.affix{
		display: none;
	}
	/*footer*/
	.site-info .copyRight{
		float: inherit;
		right: auto;
    	text-align: center;
	}
	.site-footer{
		padding: 10px 0 60px 0;
	}
	.site-footer .secondary-footer{
		background-position: 0px 0px;
		background-size: contain;
		background-repeat: repeat-x;
		height: auto;
	}
	/*footer share bar*/
	.scroll-ShareBar{
		width: 100%;
		position: fixed;
		height: 60px;
		background-color:#091d46;
		bottom: 0;
		box-shadow: -5px 2px 4px 4px #0000004a;
		display: flex;
		flex-flow: row;
		justify-content: center;
		align-items: center;
	}
	.scroll-ShareBar #subscribe-button{
		display: block;
		margin: 0;
		width: 34px;
		height: 34px;
		margin-right: 25px;
		top: -2px;
		background-size: contain;
	}
	.scroll-ShareBar .social-navigation ul li{
		margin-right: 25px;
	}
	.scroll-ShareBar .social-navigation ul li a {
	    width: 34px;
		height: 34px;
		background-size: contain;
	}
	.scroll-ShareBar .cart-search{
		display: block;
		height: auto;
		position: relative;
		right: 0;
		top: 2px;
	}
	.scroll-ShareBar .cart-search .fa-search{
		font-size: 2rem;
	}
	.footer-nav-wrapper ul li a{
		line-height: 0;
	}
	.site-footer .mt-nav{
		margin-top: -40px;
	}

	/*官方機構*/
	.category-official .data-bg-categorised,
	.category-official-en .data-bg-categorised
	{
		border-radius: 0;
		padding-bottom: 50%;
		background-size: cover;
	}
	.category-official .spotlight-post,
	.category-official-en .spotlight-post
	{
		padding: 5px;
	}
	.category-official .alm-reveal > article,
	.category-official-en .alm-reveal > article
	{
		padding: 5px;
	}
	.category-official figcaption .full-item-discription,
	.category-official-en figcaption .full-item-discription
	{
		display: block;
	}
	.category-official figure.categorised-article.inside-img,
	.category-official-en figure.categorised-article.inside-img
	{
		width: 100%;
	}
	.category-official article .spotlight-post,
	.category-official-en article .spotlight-post
	{
		border-bottom: inherit
	}
	.category-official article .spotlight-post .article-title,
	.category-official-en article .spotlight-post .article-title
	{
		font-size: 1.375rem;
		color: #313131;
	}
	.category-official article figcaption h3 a,
	.category-official-en article figcaption h3 a
	{
		color: #313131;
	}
	.category-official .content-area,
	.category-official-en .content-area
	{
		margin-top: 0; 
	}
	.category-official article .spotlight-post,
	.category-official-en article .spotlight-post
	{
		border-bottom: 0px dotted #000;
	}
	/*app download page*/
	.app-download{
		padding: 10px 0px 20px;
	}
	.app-download .app_img{
		background-size: contain;
		width: inherit;
		height: 0;
		padding-bottom: 58%;
		margin: 0 auto;
		background-position: center;
		background-repeat: no-repeat;
	}
	.app-download .app_detail{
		flex-flow: column-reverse;
	}
	.app_download .google_downlaod .qrcode,.app_download .apk_downlaod .qrcode{
		display: none;
	}
	.app_download{
		padding-left: 0;
		padding-top: 0;
		display: inline-block;
		width: 176px;
		float: right;
		margin-top: -110px;
	}
	.app-download .app_detail .logo{
		width: 105px;
		height: 105px;
		background-image: url(assets/logo/AppIcon_B.png);
		background-repeat: no-repeat;
		background-position: center top;
		background-size: 100% auto;
		vertical-align: middle;
		flex:auto;
		margin: 0 15px 0 0;
	}
	.app_download .apk_downlaod .app_btn,.app_download .google_downlaod .app_btn{
		height: 66px;
		background-size: contain;
	
	}
	/*搜尋*/
	.search-form{
		width: 100%;
	}
	.search-form label{
		text-align: center;
		width: 100%;
	}
	.search-form label .search-field{
		width: 268px;
		margin-bottom: 1rem;
		border-radius: 5px;
	}
	.search-form input[type="submit"]{
		background: #c69c2a;
		color: #091d46;
		letter-spacing: 2px;
		text-align: center;
		padding: 12px;
		font-weight: 500;
		font-size: 20px;
		width: 112px;
		height: 42px;
		border-radius: 5px;
	}
	
	.social-block a:after{
		display: none !important;
	}

	.subscribe-block img{
		display: none;
	}
	.mailchimp-form p{
		color: #C69C2A;
		font-size: 1.5rem;
		text-align: center;
		padding-top: 60px;
		padding-bottom: 20px;
		letter-spacing: 4px;
	}
	.subscribe-block input[type="email"]{
		width: 268px;
		margin-bottom: 1rem;
		border-radius: 5px;
		padding: 10px 22px;
		margin-bottom: 1rem;
		font-size: 20px;
		font-weight: 400;
		height: 60px;
	}
	.subscribe-block .mailchimp-form-fields{
		text-align: center;
		display: flex;
		flex-flow: column;
		align-items: center;
	}
	.subscribe-block input[type="submit"]{
		background: #c69c2a;
		color: #091d46;
		letter-spacing: 2px;
		text-align: center;
		padding: 10px;
		font-weight: 500;
		font-size: 20px;
		width: 112px;
		height: 42px;
		border-radius: 5px;
		outline: none;
		border: 0;
	}
	.mailchimp-form{
		margin-bottom: 100px;
	}
	/**/
	.covernews_Posts_Grid .spotlight-post, .align-items-center{
		display: block;
	}
	.navigation .nav-links{
		display: flex;
		justify-content: space-around;
	}
	.navigation .nav-previous,.navigation .nav-next{width:50%;}
	.navigation .nav-previous{
		order:2;
		text-align:right;
	}
	/*下載頁 */
	.page-id-26452 .mobile_ad ,.page-id-26454 .mobile_ad{
		display: none;
	}

}
