/*
 *  Document   : main.css
 *  Author     : Jim
 *  Description: The main stylesheet of the template
 *
 *  Structure (with shortcodes):
 *      (#m01mls) MAIN LAYOUT
 *      (#m02-1hds) HEADER
 *		(#m02-2fts) FOOTER
 *      (#m03mcs) MAIN CONTENT
 *      (#m04bos) BOOTSTRAP OVERWRITE/EXTEND STYLES
 *      (#m05ths) THEME
 *      (#m06hes) HELPERS
 *      (#m07res) RESPONSIVE
 *      (#m08rts) RETINA
 *      (#m09rprl) PRELOAD
 */

/*
=================================================================
(#m01mls) MAIN
=================================================================
*/
span.alert-text { color: #E1645F; }
span.date-text { color: #e83b6c;}

/*
=================================================================
(#m02-1hds) HEADER
=================================================================
*/
header div.xs-title-line {
	background: url(../img/thankful/md-main/top.png);
	background-size: auto 7px;
}
header div.md-title-line {
	background: url(../img/thankful/md-main/top.png);
}

header div.xs-title {
	background:0 50% url(../img/thankful/md-main/bg_thankful.png) no-repeat;
	background-size:auto 210px;

}
header div.is-sticky div.xs-title {
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

header div.xs-title div.mobile-logo{padding-right: 100px !important;}
header div.xs-title img.xs-logo { width: 256px; height: auto;}
header div.xs-title img.xs-logo.en { width: 256px; margin-top: 2px;}
/*@media screen and (max-width: 340px){
	header div.xs-title img.xs-logo { width: 105%; height: auto; margin-top: 5px;}
}*/

header div.md-title {
	background: url(../img/thankful/md-main/bg_thankful.png);
}
div.md-title div.share-box a {color: #a35868;}
header div.md-title img.md-title-logo {
	margin-top: 0px;
	margin-left: -33px;
}

div.md-title div.zh-box a.zh-en {
	background: url(../img/thankful/md-main/en-tag_thankful.png);
}
div.md-title div.zh-box a.zh-tw {
	background: url(../img/thankful/md-main/ch-tag_thankful.png);
}

div.nav-box{margin-top: 20px;}
ul.header-nav>li>img {margin: 0px 22px;}
ul.header-nav.en>li>img {margin: 0px 45px;}

#sidebar-alt{background-color: #ffd7d7;}
.sidebar-nav>li{background: #ffd7d7;}
.sidebar-nav li.nav-title { background: #d55c7e; }
.sidebar-nav li.nav-title a{ border-bottom: 1px solid #d55c7e; }
.sidebar-nav li.nav-title a:hover { background: #d55c7e;  }
.sidebar-nav a { border-bottom: 1px solid #ffa4a4; color:#484142;}
.sidebar-nav a > .sidebar-nav-icon,.sidebar-nav a > .sidebar-nav-indicator {color: #cd5476; opacity: 1;}
.sidebar-nav a:hover,.sidebar-nav a.open,.sidebar-nav li.active > a {background: #ffc9c9;}
.sidebar-nav ul{background: #fff1eb;}
.sidebar-nav ul a i {color: #d55c7e;}
.sidebar-nav ul a {margin: 0; font-size: 15px; padding-left: 25px; min-height: 32px; line-height: 32px; border-bottom:1px solid #ffa4a4;}


ul.header-nav>li:hover>a { border-bottom: 5px solid #d55c7e;}
ul.header-nav>li:hover ul.header-nav2{background: #fff1eb}
ul.header-nav2{box-shadow: 1px 1px 2px rgba(65,39,39,0.08);}
ul.header-nav2>li a i { color: #d55c7e;}
ul.header-nav2>li a:hover,ul.header-nav2>li a.selected { color: #d55c7e; }
ul.header-nav>li>a{display:inline-block; height: 32px;color:#000000;}
ul.header-nav2>li a { padding: 7px 15px; display: inline-block; color: #3b3b3b;  width: 100%; font-size: 16px;}
/*
=================================================================
(#m02-2fts) FOOTER
=================================================================
*/

footer div.copy-right { background: #f5a2b2; color:#ffffff;}
footer div.copy-right img.copy-right-icon { width:34px; height: 32px; }
footer img.footer-img-xs {top: 3px; height:140px;}

/*
=================================================================
(#m03mcs) MAIN CONTENT
=================================================================
*/

/*=========title-banner=========*/
div.title-banner-box { border: 2px solid #f5a2b2; border-radius: 5px;}
div.title-banner-box .banner-title { color: #bd5b6c; text-shadow: 0 0 3px rgba(255,255,255,0.75),0 0 3px rgba(255,255,255,0.75),0 0 3px rgba(255,255,255,0.75),0 0 20px rgba(255,255,255,0.75);}


div.title-banner-box.about { background: #fdc9c7 url(../img/thankful/about/banner_about_thankful.png) 100% no-repeat; background-size: auto 66px; position:relative;}
div.title-banner-box.news { background: #fdc9c7 url(../img/thankful/news/banner_news_thankful.png) 100% no-repeat; background-size: auto 66px; position:relative;}
div.title-banner-box.help { background: #fdc9c7 url(../img/thankful/help/banner_help_thankful.png) 100% no-repeat; background-size: auto 66px; position:relative;}
div.title-banner-box.service { background: #fdc9c7 url(../img/thankful/service/banner_service_thankful.png) 100% no-repeat; background-size: auto 66px; position:relative;}
div.title-banner-box.shop { background: #fdc9c7 url(../img/thankful/shop/banner_shop_thankful.png) 100% no-repeat; background-size: auto 66px; position:relative;}
div.title-banner-box.media { background: #fdc9c7 url(../img/thankful/media/banner_media_thankful.png) 100% no-repeat; background-size: auto 66px; position:relative;}
div.title-banner-box.contact { background: #fdc9c7 url(../img/thankful/contact/banner_contactus_thankful.png) 100% no-repeat; background-size: auto 66px; position:relative;}
div.title-banner-box.sitemap { background: #fdc9c7 url(../img/thankful/about/banner_about_thankful.png) 100% no-repeat; background-size: auto 66px; position:relative;}
div.title-banner-box .inner-box {width: 100%; height: 100%; position: absolute;top:0; left:0; border:3px solid #fff; border-radius:3px;}



/*=========breadcrumbs=========*/
div.breadcrumbs a:hover { color: #957cca; }
div.breadcrumbs span.path_alert { color: #75a1d7; }

/*=========banner-title-line=========*/
div.banner-title-line { background: url(../img/thankful/content-title/line-point2_thankful.png) repeat-x 50%; background-size: auto 2px; }

/*=========left menu=========*/

ul.left-menu li+li {
	border-top: 1px dashed #ffb190;
}

ul.left-menu li a {color:#3e3e3e;}
ul.left-menu li.selected a { color: #d55c7e; }
ul.left-menu li a:hover { color: #d55c7e; }

/*=========news list=========*/
h2.news-header { color: #f3801b; }
div.news-title { background: #fff1eb;border-left: 5px solid #d55c7e; }
div.news-date span.news-day {color:#e83b6c;}
div.news-spec{background: url(../img/thankful/index/line-point2_thankful.png) 100% 100% repeat-x;}

/*========= periodical ==========*/
div.periodical-main h3 a.periodical-download { background: #d55c7e; }
div.periodical-main h3 i.title-icon { color: #d55c7e; margin-top: -5px; }

/*========= event-list ==========*/
div.event-list { background: url(../img//thankful/index/line-point2_thankful.png) 100% 100% repeat-x; padding: 15px 0px; }
div.event-list span.event-date { color: #f77e52; }

/*========= contact us ==========*/
div.form-title { background: #d55c7e; }
div.ori-form { border: 1px dashed #d55c7e; background-color: #ffe8e2;}
div.ori-form div.button-area { border-top: 1px dashed #d55c7e; }
div.ori-form div.form-line { border-top: 1px dashed #d55c7e; }
div.ori-form div.row.form-table-title>div { border-top: 1px dashed #D59935; border-bottom: 1px dashed #D59935; }
div.ori-form div.row.form-table-content>div+div { border-left: 1px dashed #D59935; }
div.ori-form div.row.form-table-content-last>div { border-top: 1px dashed #D59935; border-bottom: 1px dashed #D59935; }
div#refresh_img i { background: #D59935; }
a#auth_code_audio {
    border: 2px solid #d55c7e;
}
a#auth_code_audio:hover {
    border: 2px solid #d55c7e;
    background: #d55c7e;
}
a#auth_code_audio i {
    color: #d55c7e;
} 

/*========= donate form ==========*/
button.submit-button.donate-btn-color{ background-color: #9d6ab1; }

/*========= sitemap =========*/
ul.sitemap-menu li.menu-title a { color: #f3801b; }

/*========= board ==========*/
a.leave-button { background: #f3801b; }
div.board-box { background: url(../img/thankful/contact/bird_thankful.png) 10px 20px no-repeat #FFE8E2; background-size: 31px 35px; }
div.board-box div.board-ask span.ask-date {color: #e83b6c;}
div.brown-line { background: url(../img/thankful/index/line-point2_thankful.png) 50% repeat-x; height: 8px; margin-top: 20px; }
/*========= detec ==========*/
div.pc-tab-box { border-bottom: 2px solid #d22d5c; }
div.pc-tab-box a.selected { background: #d55c7e; color: #fff; border-color: #d22d5c; }
div.pc-tab-box a:hover { background: #d55c7e; color: #fff; border-color: #d22d5c; }
div.pc-tab-box a { background:#ffc9c9; border-top: 3px solid #ffc9c9; color: #756569;}
div.purple-line { background: url(../img/thankful/content-title/line-point2_thankful.png) 50% repeat-x; height: 8px; margin-bottom: 5px; }
div.detec-search { background: #ffe8e2; }
div.mb-tab-box select { border-color: #D59935; }
span.detec-detail { background: #D59935; }
button.search-button { background: #d55c7e; }

/*========= index =========*/
div#index-banner { border: 2px solid #f5a2b2; padding: 1px; margin-bottom: 60px; background-color:#fff; }
div#index-banner div.owl-controls { position: absolute; right: 5px; }
div#index-banner div.owl-dot span { background: #cd5476; width: 14px; height: 14px; }
div#index-banner div.owl-dot.active span { background: #ffebca; }
div.index-row-title{background: url(../img/thankful/index/line-point2_thankful.png) repeat-x 0% 100%;}
div.index-row-title label.title { margin-top: 15px; padding-top: 5px; color: #328c59;}
div.index-row-title h2.title { margin-top: 30px; padding-top: 5px; color: #f3801b;}
div.index-row-title a.more { color: #75a1d7; position: absolute; top: 42px; right: 58px;}
div.index-line-bottom { background: url(../img/thankful/index/line-point2_thankful.png) repeat-x 50%; background-size: 9px 2px; }
div.index-airticle-area { position: relative;border: 3px solid #f5a2b2; background-color: #ffe8e2;background-image: none;background: url(../img/thankful/index/pic_thankful.png) no-repeat 95% 95% #ffe8e2; background-size: 185px 111px; padding: 50px 50px 135px 50px;}
div#ad-banner div.owl { border: 5px solid #f6f4ef; }
div#ad-banner div.owl-nav>div.owl-prev { background: url(../img/thankful/index/pre_thankful.png); background-size: 40px 40px; }
div#ad-banner div.owl-nav>div.owl-next { background: url(../img/thankful/index/next_thankful.png); background-size: 40px 40px; }
div.ad-box{ background: #ffceca;}

div.index-row-title img.icon.news {width: 50px; height: 60px;}
div.index-row-title img.icon.publication { width: 50px; height: 60px;}
div.index-row-title img.icon.clipping { width: 50px; height: 60px; }
div.index-row-title img.icon.love { width: 50px; height: 60px;}

div.index-airticle-area img.index-airticle-icon { width: 103px; height: 98px; top: -50px; left: -16px;}
div.index-row-title label.publication-period-mb {color: #ffffff;}
div.index-row-title label.publication-period{color: #DA251C;}
div.index-row-title div.area-right{margin-bottom: 7px; position: relative;}
div.index-line-top>img{width: auto; height: auto;}

div.xs-title>div>div.mobile-donate>a>img{margin-top: 13px !important;}


/*========== pagination ==========*/
ul.pagination li a { color: #f5a2b2;}
ul.pagination li a:hover,ul.pagination li a:active,ul.pagination li a:focus { background: #f5a2b2; color: #fff; }
ul.pagination li.hover a { background: #f5a2b2; color: #fff; }

/*========== button ===========*/
button.submit-button { background: #d55c7e; }
button.reset-button { background: #a5a5a5; }


/*
=================================================================
(#m04bos) BOOTSTRAP OVERWRITE/EXTEND STYLES
=================================================================
*/


/*
=================================================================
(#m05ths) THEME
=================================================================
*/


/*
=================================================================
(#m06hes) HELPERS
=================================================================
*/


/*
=================================================================
(#m07res) RESPONSIVE
=================================================================
*/




@media screen and (max-width: 550px) {
	
}

@media screen and (max-width: 450px) {
	
}

@media screen and (min-width: 400px) {
	
}

@media screen and (min-width: 550px) {
	
}


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

	div.title-banner-box.about { background: url(../img/thankful/about/banner_about_thankful.png) 100% no-repeat #fff; position:relative;}
	div.title-banner-box.news { background: url(../img/thankful/news/banner_news_thankful.png) 100% no-repeat #fff; position:relative;}
	div.title-banner-box.help { background: url(../img/thankful/help/banner_help_thankful.png) 100% no-repeat #fff; position:relative;}
	div.title-banner-box.service { background: url(../img/thankful/service/banner_service_thankful.png) 100% no-repeat #fff; position:relative;}
	div.title-banner-box.media { background: url(../img/thankful/media/banner_media_thankful.png) 100% no-repeat #fff; position:relative;}
	div.title-banner-box.shop { background: url(../img/thankful/shop/banner_shop_thankful.png) 100% no-repeat #fff; position:relative;}
	div.title-banner-box.contact { background: url(../img/thankful/contact/banner_contactus_thankful.png) 100% no-repeat #fff; position:relative;}
	div.title-banner-box.sitemap { background: url(../img/thankful/about/banner_about_thankful.png) 100% no-repeat #fff; position:relative;}
	div.title-banner-box .inner-box {width: 100%; height: 100%; position: absolute;top:0; left:0; border:3px solid #fff;}
	div.index-airticle-area{padding: 50px 50px 135px 50px;}
	div.index-airticle-area img.index-airticle-icon {top: -53px; left: -49px;}
	
	footer div.footer-imf { 
		background: url(../img/thankful/footer/footer-pic_thankful.png) bottom 0px right 5px no-repeat; 
	}
	footer div.footer-imf>div { 
		margin-bottom: 50px;
	}
}

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

}

@media screen and (min-width: 992px) {
	div#index-banner { width: 100%; }
	footer div.footer-imf { 
		background: url(../img/thankful/footer/footer-pic_thankful.png) 50% no-repeat; 
		background-position-y: -1px;
		height: 270px;
	}
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
	header div.md-title img.md-title-logo.en {
		margin-top: 0px;
		margin-left: -12px;
		width:42%;
		height: auto;
	}
	ul.header-nav>li>img {margin: 0px 16px;}

	/*footer div.footer-img{
		height: 245px;
		background-position-y: 10px;
	

	footer div.footer-imf>div { 
		margin-bottom: 50px;
	}
}

@media screen and (min-width: 1200px) {
	header div.md-title img.md-title-logo {
	margin-left: -30px;}
	ul.header-nav>li>img { margin: 0px 19px; }

	footer div.footer-imf { background: url(../img/thankful/footer/footer-pic_thankful.png) 50% no-repeat;  margin-bottom: 0px; height: 270px;}
	
}


/*
=================================================================
(#m08rts) RETINA
=================================================================
*/

/*
=================================================================
(#m09rprl) PRELOAD
=================================================================
*/
