﻿/*
Theme Name: Taiwan Neofelis nebulosa
Theme URI: https://achang.tw/themes.html
Description: Taiwan Neofelis nebulosa 行動裝置版，需搭配阿腸行動裝置設定外掛使用
Author: Achang Co. Ltd.
Author URI: https://achang.tw/
Version: 2.5.1
Text Domain: achang-theme-nebulosa
*/
@charset "UTF-8";
body { min-width: 320px; color: #474747; font-size:15px; font-family: Helvetica, sans-serif; background-color:#fff; }

a { color:#4086CD; text-decoration: none; outline: medium none; }
a:hover { color:#4086CD; text-decoration: none}
img { border:0 }
small { font-size: 12px; color: #999; }
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
button, input, select, textarea { border: 1px solid #ccc; border-radius: 3px; font-family: inherit; padding: 6px; padding: 0.428571429rem; }
button, input { line-height: normal; }
textarea { font-size: 100%; overflow: auto; vertical-align: top; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
blockquote ul{ list-style: square; }
h1, h2, h3, h4, h5, h6 { line-height: 1.6em; font-family: "Microsoft JhengHei", "微軟正黑體", "Heiti TC", "Times New Roman", Times,serif; margin-top: 0px; margin-bottom: 0px; }
h1{display:block;font-size:2em;-webkit-margin-before:.67em;-webkit-margin-after:.67em;-webkit-margin-start:0;-webkit-margin-end:0;font-weight:700}
h2{display:block;font-size:1.5em;-webkit-margin-before:.83em;-webkit-margin-after:.83em;-webkit-margin-start:0;-webkit-margin-end:0;font-weight:700}
h3{display:block;font-size:1.17em;-webkit-margin-before:1em;-webkit-margin-after:1em;-webkit-margin-start:0;-webkit-margin-end:0;font-weight:700}
h4{display:block;-webkit-margin-before:1.33em;-webkit-margin-after:1.33em;-webkit-margin-start:0;-webkit-margin-end:0;font-weight:700}
h5{display:block;font-size:.83em;-webkit-margin-before:1.67em;-webkit-margin-after:1.67em;-webkit-margin-start:0;-webkit-margin-end:0;font-weight:700}
h6{display:block;font-size:.67em;-webkit-margin-before:2.33em;-webkit-margin-after:2.33em;-webkit-margin-start:0;-webkit-margin-end:0;font-weight:700}
p,ul,ol,dl,blockquote,table,article,article footer,nav{font:inherit;text-align:left;border:0 none;word-break:break-word;margin-top:10px;margin-bottom:10px}

table { width: 100%; font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans", Arial, sans-serif; border-collapse: collapse; }
table td, table th { }
table tr, table td{ border: 1px solid #CCC; }
table th { font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans", Arial, sans-serif; text-align: left; line-height: 1.3em; font-size: 15px; }
table td { font-size: 15px; padding: 4px 7px 2px; vertical-align: middle; border: 1px solid #CCC; }
fieldset{ border-color: #CCC; }
fieldset legend{ font-weight: 800 }

input,textarea{background-color:#FFF;border:1px solid #CCC;border-radius:3px;color:#000;font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.4;outline:medium none;resize:none}

iframe { max-width: 100%; }
.clearfix { clear: both; }
.hide { display: none; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0.5em 1em 0.5em 0; }
.alignright { float: right; margin: 0.5em 0 0.5em 1em; }

/* ------------------------ */

#wpadminbar { display: none; }

p { font-family: "Microsoft JhengHei", "微軟正黑體", "Heiti TC", "Times New Roman", Arial, Times,serif; }

pre { border: 1px solid #CCC; padding: 10px 15px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; white-space: pre-wrap; }

blockquote{background-color:#F9F9F9;border-top:2px solid #636363;border-bottom:2px solid #636363;color:#000;padding:1em;line-height:22px;margin:0 auto;word-break:break-word}
blockquote ul { padding-left: 15px; }

.post img { padding: 0px ; max-width: 100%; height:auto; vertical-align: middle; }
.post-landscape img { padding: 0px ; max-width: 100%; height:auto; vertical-align: middle; }
img.centered { display: block; margin-left: auto; margin-right: auto; }
img.alignright { padding: 0px; margin: 0 0 5px 10px;display: inline; }
img.alignleft { padding: 0px; margin: 0 10px 5px 0; display: inline; }

.ads { text-align: center; margin-top: 10px; margin-bottom: 10px; }
.ads img { max-width: 100%; }

.ad-home-top { text-align: center; padding-top: 5px; padding-bottom: 5px; overflow: hidden; }
.ad-home-btm { text-align: center; padding-top: 5px; padding-bottom: 5px; overflow: hidden; }
.ad-archive-top { text-align: center; padding-top: 5px; padding-bottom: 5px; overflow: hidden; }
.ad-archive-btm { text-align: center; padding-top: 5px; padding-bottom: 5px; overflow: hidden; }
.ad-single-top { text-align: center; padding-top: 5px; padding-bottom: 5px; overflow: hidden; }
.ad-single-mid { text-align: center; padding-top: 5px; padding-bottom: 5px; overflow: hidden; }
.ad-single-btm { text-align: center; padding-top: 5px; padding-bottom: 5px; overflow: hidden; }
.ad-page-top { text-align: center; padding-top: 5px; padding-bottom: 5px; overflow: hidden; }
.ad-page-btm { text-align: center; padding-top: 5px; padding-bottom: 5px; overflow: hidden; }

aside.widget-area { margin-top: 10px; margin-bottom: 10px; background: #fff; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; }
aside.widget-area > ul { list-style: none; padding-left: 10px; padding-right: 10px; margin-top: 0; margin-bottom: 0; }
aside.widget-area .widgettitle { font-size: 16px; }
aside.widget-area > ul > li { font-size: 13px; padding-top: 5px; padding-bottom: 5px; }
aside.widget-area img, aside.widget-area iframe { max-width: 100%; height: auto; }

#header { position: fixed; width: 100%; border-bottom: 1px solid #ccc; top: 0px; z-index: 100; background-color: #222; margin-top: 0px; margin-bottom: 0px; overflow: hidden; }
#header-nav-menu { display: block; position: absolute; width: 50px; height: 50px; top: 0px; right: 0px; line-height: 50px; vertical-align: middle; text-align: center; background-color: #222; font-size: 24px; border-left: 1px solid #ccc; }
#header-nav-menu:before{background:#fff;content:'';display:block;width:25px;height:3px;position:absolute;top:17px;left:12.5px}
#header-nav-menu span{background:#fff;content:'';display:block;width:25px;height:3px;position:absolute;top:24px;left:12.5px}
#header-nav-menu:after{background:#fff;content:'';display:block;width:25px;height:3px;position:absolute;top:31px;left:12.5px}
#header-nav-menu img { vertical-align: middle; width: 25px; height: 25px; margin-top: -5px; }
#header-logo { display: block; height: 50px; text-align: center; line-height: 50px; color: #fff; font-size: 20px; }
#header-logo img { vertical-align: middle; width: 50%; }
#header-search { display: block; position: absolute; width: 50px; height: 50px; top: 0px; left: 0px; line-height: 50px; text-align: center; background-color: #222; border-right: 1px solid #ccc; }
#header-search img { width: 25px; vertical-align: middle; }

#header .search-box { background-color: #474747; padding: 5px; display: none; margin-bottom: -1px; }
#header .search-box form { overflow: hidden; margin: 5px; }
#header .search-box div { white-space: nowrap; }
#header .search-box .screen-reader-text { display: none; }
#header .searchform input[type="text"] {width:88%;border:0;background:url(img/ic_search.png);background-color:#fff;background-repeat:no-repeat;background-position:3% center;background-size:20px 20px;padding-left:40px;height:34px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}
#header .searchform input[type="submit"] { width: 20%; border: 1px solid #eee; height: 30px; display: none; }

#menu { background-color: #222; overflow-x: hidden; }
#menu .menu-mobile-menu-container { margin-top: 0px; margin-bottom: 0px; }
#menu ul { list-style-type: none; padding-left: 0px; margin-top: 0px; margin-bottom: 0px; }
#menu .sb-menu li{position:relative;width:100%;padding:0;margin:0;border-top:1px solid rgba(255,255,255,0.1);border-bottom:1px solid rgba(0,0,0,0.1)}
#menu .sb-menu > li:last-child{ border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
#menu .sb-menu li img.arrow{background:#222;position:absolute;top:0;right:0;width:20px;height:20px;padding:14px;border-left:1px solid rgba(255,255,255,0.1)}
#menu .sb-left .sb-menu li a { border-left: 3px solid transparent; }
#menu .sb-menu li a { display: block; padding: 1em; color: #f2f2f2; white-space: nowrap; }
#menu .sb-menu ul.sub-menu li { display: none; }
#menu .sb-menu ul.sub-menu li a { padding-right: 48px; }

#menu .search-box { background-color: #222; padding: 5px; }
#menu .search-box form { overflow: hidden; margin: 3px 5px; }
#menu .search-box div { white-space: nowrap; }
#menu .search-box .screen-reader-text { display: none; }
#menu .searchform input[type="text"] {width:85%;border:0;background:url(img/ic_search.png);background-color:#fff;background-repeat:no-repeat;background-position:3% center;background-size:20px 20px;padding-left:40px;height:34px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}
#menu .searchform input[type="submit"] { width: 20%; border: 1px solid #eee; height: 30px; display: none; }
#menu .conversion { text-align: center; margin-top: 10px; margin-bottom: 10px; }
#menu .conversion a { font-size: 13px; color: #fff; }
#menu .conversion a:not(:first-child) { border-left: 1px solid #fff; padding-left: 5px; }

#sb-site { background: #F4F7F8; margin-top: 50px; }
#sb-site #main { padding-bottom: 45px; }

#main .flexslider { border: 0px; border-bottom: 1px solid #606060; z-index: 100000000; height: auto; overflow: hidden; margin-bottom: 0; }
.flexslider .slides img { height: auto; margin-left: auto; margin-right: auto; }
.flexslider .flex-caption { background: #000; color: #fff; position: absolute; height: 20px; line-height: 20px; overflow: hidden; bottom: 20px; width: auto; opacity: 0.8; }
.flexslider .flex-control-nav { bottom: 0px; text-align: right; right: 5%; }
.flexslider .flex-control-nav li a { background: transparent; border: 1px solid #6a6766; width: 5px; height: 5px; border-radius: 50%; text-indent: 999px; }
.flexslider .flex-control-nav li a.active { background: #fff; }

.article-list { padding-left: 10px; padding-right: 10px; }
.article-list .post-data { position: relative; padding: 5px; }

.article-list .ads { margin: 3px 5px; border-bottom: 1px dotted #ccc; }
.article-list .post-portrait { position: relative; background: #fff; margin-top: 10px; margin-bottom: 10px; border: 1px solid #EDEDED; border-left: 0px; overflow: hidden; height: 100px; }
.article-list .post-portrait .post-img { width: 100px; height: 100px; line-height: 100px; float: left; margin-right: 10px; z-index: 100; position: relative; }
.article-list .post-portrait .post-data-title { font-size: 15px; font-weight: bold; line-height: 18px; height: 36px; overflow: hidden; margin: 0px; }
.article-list .post-portrait .post-data-title a { color: inherit; }
.article-list .post-portrait .post-data-content { padding-top: 2.5px; padding-bottom: 2.5px; }
.article-list .post-portrait .post-data-content a { color: inherit; }
.article-list .post-portrait .post-data-content .description { font-size: 14px; line-height: 16px; height: 32px; overflow: hidden; padding-right: 5px; }
.article-list .post-portrait .post-data-publish { line-height: 20px; }

.article-list .post-landscape { position: relative; background: #fff; margin-top: 10px; margin-bottom: 10px; border: 1px solid #EDEDED; border-left: 0px; overflow: hidden; }
.article-list .post-landscape .post-img { width: 100%; text-align: center; position: relative; overflow: hidden; }
.article-list .post-landscape .post-data-title { font-size: 16px; font-weight: bold; line-height: 20px; height: 40px; overflow: hidden; margin: 0px; }
.article-list .post-landscape .post-data-title a { color: inherit; }
.article-list .post-landscape .post-data-content { padding-top: 5px; padding-bottom: 5px; }
.article-list .post-landscape .post-data-content a { color: inherit; }
.article-list .post-landscape .post-data-content .description { font-size: 14px; line-height: 16px; height: 32px; overflow: hidden; padding-right: 5px; }
.article-list .post-landscape .post-data-publish { line-height: 20px; }

#main.article { }
.article-content { background: #fff; padding: 5px 10px 20px; margin-top: 10px; word-break: break-word;}
.wp-caption { max-width: 100%; }
.article-content .wp-block-image { margin-left: 0; margin-right: 0; } /* WP 5.0 Editor */
.article-content img { max-width: 100%; height: auto !important; }
.article-content p { letter-spacing: 1px; line-height: 25px; }
.article-content a { text-decoration: underline; }
.article-content table { max-width: 100%; }
.article-content .post-password-form [type=submit]{background-color:#111;border:medium none;font-size:13px;margin:0;padding:6px;border-radius:3px;color:#fff;cursor:pointer}
.article-content ol { padding-left: 30px; }
.article-content ul { padding-left: 10px; }
.article-content ul li { margin-left: 15px; margin-top: 5px; margin-bottom: 5px; }
.single h1.header-title { font-size: 20px; padding: 10px; color: #474747; }
.page h1.header-title { font-size: 20px; padding: 10px; color: #474747; }

.single .article-metadata { margin: 10px; }
.single .article-metadata .article-date-publish { line-height: 20px; }

.font-size-tools { text-align: right; padding: 0 5%; }
.font-size-tools a { border: 1px solid #000; display: inline-block; padding: 2px 15px 0; border-radius: 5%; background: #fff; }
.font-size-tools a img { height: 18px; }

.tools-bar { color: #fff; padding-bottom: 1px; }
.tools-bar .article-previous { width: 49.5%; height: 105px; float: left; text-align: center; padding-top: 10px; background: #636363; }
.tools-bar .article-previous a { display: block; color: #fff; padding-left: 10px; padding-right: 10px; line-height: 18px; height: 36px; overflow: hidden; }
.tools-bar .article-previous-text { text-align: center; padding-top: 40px; padding-bottom: 10px; }
.tools-bar .article-next { width: 49.5%; height: 105px; float: right; text-align: center; padding-top: 10px; background: #636363; }
.tools-bar .article-next a { display: block; color: #fff; padding-left: 10px; padding-right: 10px; line-height: 18px; height: 36px; overflow: hidden; }
.tools-bar .article-next-text { text-align: center; padding-top: 40px; padding-bottom: 10px; }

.social { background: #fff; text-align: center; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; padding-top: 10px; padding-bottom: 7px; margin: 10px auto; }
.social a { margin-left: 10px; margin-right: 10px; }
.social img { width: 32px; }

#comments { padding: 10px; }
#comments #commentform { position: relative; }
#comments .comments-title { border-bottom: 1px solid #222; }
#comments .comments-title span { padding-left: 10px; padding-right: 10px; background-color: #222; color: #fff; line-height: 30px; display: inline-block; }
#comments .comment-list { padding: 8px; }
#comments .comment-list li { list-style: none; }
#comments .comment-list .children { padding-left: 30px; padding-top: 10px; padding-bottom: 10px; }
#comments .comment-reply-link { padding: 5px 10px; background-color: #222; color: #fff; line-height: 26px; }
#comments textarea { width: 100% }
#comments .form-submit { display: inline-block; float: right; }
#comments #submit { background-color: #222; color: #fff; padding: 5px 10px; }
#comments .comment-subscription-form { z-index: 100; display: inline-block; }
#comments #reply-title { font-size: inherit; }
#comments .comment-notes { padding-top: 10px; padding-bottom: 10px; }
#comments .required { color: red; }
#comments form { }
#comments form .comment-form-author { padding-top: 5px; padding-bottom: 5px; }
#comments form .comment-form-email { padding-top: 5px; padding-bottom: 5px; }
#comments .comment-body { border-bottom: 1px dashed #222; padding-bottom: 5px; }
#comments .comment-body p { padding-top: 10px; padding-bottom: 10px; }
#comments .comment-body .comment-meta a { color: #222; font-weight: 800; }
#comments .comment-body .comment-author .fn, #comments .comment-body .comment-author .fn a { color: #222; font-weight: 800; }
#comments .comment-body .comment-awaiting-moderation { color: blue; }


.comments-area { background: #eee; padding-left: 10px; padding-right: 10px; padding-top: 10px; padding-bottom: 10px; border-top: 1px solid #ccc; }
.comments-area .fb-title { border-bottom: 1px solid #5677aa; }
.comments-area .fb-title span{display:inline-block;background:#5677aa;padding-left:10px;padding-right:10px;line-height:30px;color:#fff}

.article-related { border-top: 1px solid #ccc; padding-top: 8px; overflow: hidden; margin-top: 5px; margin-bottom: 0px; }
.article-related img { max-width: 100%; height: auto; }
.article-related .related-title { font-size: 20px; text-align: center; padding: 5px 0; }
.article-related .related-item { float: left; width: 100%; }
.article-related .related-item .item-thumb { width: 100px; height: 100px; float: left; margin-left: 5px; margin-right: 15px; }
.article-related .related-item .item-title { width: 100%; text-align: center; font-size: 12px; opacity: 0.8; }

#main.archive h1.header-title { font-size: 20px; text-align: center; padding-top: 10px; color: #000; }
#main.search h1.header-title { font-size: 20px; text-align: center; padding-top: 10px; color: #000; }
#main.other h1.header-title { font-size: 20px; text-align: center; padding-top: 10px; color: #000; }

.posted-date { padding-left: 10px; padding-right: 10px; font-size: 13px; line-height: 20px; }
.posted-category { padding-left: 10px; padding-right: 10px; margin-top: 5px; margin-bottom: 5px; line-height: 18px; }
.posted-category span { float: left; }
.posted-category a { display: inline-block; border: 1px solid #999; background-color: #999; color: #fff; border-radius: 5px; padding-left: 5px; padding-right: 5px; margin-top: 1px; margin-bottom: 1px; margin-left: 2.5px; margin-right: 2.5px; font-size: 13px; }
.posted-tags { padding-left: 10px; padding-right: 10px; line-height: 18px; }
.posted-tags span { float: left; }
.posted-tags a { display: inline-block; border: 1px solid #999; background-color: #999; color: #fff; border-radius: 5px; padding-left: 5px; padding-right: 5px; margin-top: 1px; margin-bottom: 1px; margin-left: 2.5px; margin-right: 2.5px; font-size: 13px; }

.pagination { margin-top: 10px; margin-bottom: 10px; line-height: 30px; text-align: center; text-decoration: none; overflow: hidden; }
.pagination a.page-numbers, .pagination span { padding: 3px 8px; text-decoration: none; color: #555; border: 0px; padding: 5px 10px; background: #e5e5e5; border-radius: 5px; }
.pagination .current, .pagination > .page-numbers { background-color: #252525; border: 0px; padding: 5px 10px; border-radius: 5px; color: #fff; }
nav.navigation { margin-top: 0px; margin-bottom: 0px; }

/* JetPack */
.achang-related-divide { background: #ccc; height: 1px; }
#achang-relatedposts { background: #fff; padding: 10px; }
#achang-relatedposts .achang-relatedposts-title { font-size: 20px; text-align: center; text-transform: uppercase; }
#achang-relatedposts .achang-relatedposts-items { margin: 0px; }
#achang-relatedposts .achang-relatedposts-post { background: #fff; margin-top: 10px; margin-bottom: 10px; border: 1px solid #EDEDED; border-left: 0px; overflow: hidden; height: 100px; }
#achang-relatedposts .achang-relatedposts-post .achang-relatedposts-post-img { width: 100px; height: 100px; line-height: 100px; float: left; margin-right: 10px; }
#achang-relatedposts .achang-relatedposts-post .achang-relatedposts-post-img img { padding: 0px; max-width: 100%; height: auto; vertical-align: middle; }
#achang-relatedposts .achang-relatedposts-post .achang-relatedposts-post-data { background: #F4F7F8; padding-top: 5px; padding-bottom: 5px; }
#achang-relatedposts .achang-relatedposts-post .achang-relatedposts-post-data-title { font-size: 15px; font-weight: bold; line-height: 18px; height: 36px; overflow: hidden; margin: 0.5em 0; }
#achang-relatedposts .achang-relatedposts-post .achang-relatedposts-post-data-title a { color: inherit; }
#achang-relatedposts .achang-relatedposts-post .achang-relatedposts-post-data-content { font-size: 14px; padding-top: 2.5px; padding-bottom: 2.5px; height: 40px; line-height: normal; overflow: hidden; }
#achang-relatedposts .achang-relatedposts-post .achang-relatedposts-post-data-content .description { font-size: 14px; line-height: 18px; height: 36px; overflow: hidden; padding-right: 5px; }
#achang-relatedposts .achang-relatedposts-post .achang-relatedposts-post-data-content a { color: inherit; }
#achang-relatedposts .achang-relatedposts-post .achang-relatedposts-post-data-publish { line-height: 20px; }

.iframe-facebook { margin-top: 10px; margin-bottom: 10px; margin-left: auto; margin-right: auto; text-align: center; min-height: 155px; }

#footer { padding-top: 5px; padding-bottom: 5px; background: #111; color: #666; position: absolute; width: 100%; bottom: 0px; }
#footer .footer-items { text-align: center; margin-top: 10px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #909090; }
#footer .footer-items a { color: #fff; }
#footer .footer-items a:not(:first-child) { font-size: 14px; padding-left: 10px; border-left: 1px solid #000; }
#footer .footer-copyright { margin-top: 10px; margin-bottom: 10px; color: #fff; font-size: 10px; line-height: 15px; font-weight: bold; text-align: center; }
#footer .footer-copyright a { color: inherit; }
.footer-switch { color: #fff; }
.footer-switch .text { text-align: center; font-size: 13px; }
.footer-switch .btns { width: 80%; border: 1px solid #CCC; height: 30px; font-size: 18px; margin: 10px auto; }
.footer-switch .btns a { font-size: 15px !important; width: 50%; float: left; color: #fff; }
.footer-switch .btns .mobile { text-decoration: none; }
.footer-switch .btns .current { background: #111; color: #fff !important; }
#footer .conversion { text-align: center; }

.sharedaddy { display: none !important; }

.page-404 .header-title { text-align: center; }
.page-404 .message { margin-left: 10px; margin-right: 10px; }
.page-404 .title-category { padding-top: 10px; padding-bottom: 10px; }
.page-404 ul { list-style-type: none; }
.page-404 .children:before { content: "\f139"; font-family: dashicons; float: left; }
.page-404 .category li a { color: inherit; text-decoration: none; }
.page-404 .title-date { padding-top: 10px; padding-bottom: 10px; }
.page-404 .monthly li a { color: inherit; text-decoration: none; }

/* iPad */
@media (min-width: 320px){
    .article-related .related-item { padding: 6px 5px; overflow: hidden; height: 97px; border-bottom: 1px dotted #909090; }
}
@media (min-width: 460px) {
    #header-logo img{width:auto;max-height:70px}
}