html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

body {
  margin: 0;
}

article,
aside,
details, /* 1 */
figcaption,
figure,
footer,
header,
main, /* 2 */
menu,
nav,
section,
summary { /* 1 */
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

progress {
  vertical-align: baseline;
}

template, /* 1 */
[hidden] {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline-width: 0;
}

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

b,
strong {
  font-weight: inherit;
}

b,
strong {
  font-weight: bolder;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

button,
input,
select,
textarea {
  font: inherit;
}

optgroup {
  font-weight: bold;
}

button,
input, /* 1 */
select { /* 2 */
  overflow: visible;
}

button,
input,
select,
textarea { /* 1 */
  margin: 0;
}

button,
select { /* 1 */
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

[disabled] {
  cursor: default;
}

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

button:-moz-focusring,
input:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**************main*********************/
body{
  background-color: white;
  background-color: #96A8C8;
  color: #35525C;
  line-height: 190%;
  font-family: "Microsoft JhengHei",sans-serif;
}
.wrapper{
  margin:0 auto;
  padding:1em;
  max-width: 1000px;
  background-color: white;
  margin-top: 30px;
  margin-bottom: 30px;
  border-style: solid;
  border-width: 1.5px;
  border-color: #071419;
  border-radius: 12px;
}

@media (max-width:860px){
  .wrapper{
    margin-top: 0px;
    margin-bottom: 0px;
    border-style: solid;
    border-width: 3px;
    border-color: #96A8C8;
    border-radius: 0px;
  }
}

header h1{
  font-size:1px;
  color:white;
  margin:0;
  padding:0;
  box-sizing: border-box;
  height:77px;
  width:139px;
  overflow: hidden;
  text-indent:-100000px;
  background-image: url(../img/logo.png);
  background-position: top left;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: inline-block;
}
header p{
  font-size:18px;
  display: inline-block;
  vertical-align: top;
  width: 50%;
  padding: 20px 0;
  margin: 0;
  float:right;
  text-indent: 36px;
}

.site-title
{
  display:inline-block;
  width:25%;
}
.switch
{
  display:inline-block;
  margin-top: 8px;
  text-align:right;
  float:right;
  position: absolute;
}
.switch a
{
  line-height: 80px;
  font-size: 12px;
  font-weight: 400;
  background-color: #35525C;
  color: #FFF !important;
  padding: 5px 8px;
  margin-left:5px;
  position: relative;
}

hr {
  border-color: #fff;
  color:red;
  margin: 40px 0;
}

#content{
  text-align: center;
  margin:10px 0 20px;
  border-top:1px solid #ccc;
  border-bottom:1px solid #ccc;

}

#content.content_first
{
  border-top:0px solid #ccc;
  padding-bottom: 40px;
}

#content h1{
  margin-bottom: 0;
}

#content img{
  max-width: 90%;
  width: auto !important;
  height: auto !important;
  display: block;
  margin: auto;
  clear: both;
}

@media (min-width: 800px) {
  #content img {
    max-width:700px;
  }
}


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

footer{
  text-align: center;
  color:#999;
  font-size: small;
}

#strip_list{
  text-align: left;
  margin-bottom: 20px;
  -webkit-columns: 250px 2;
  -moz-columns: 250px 2;
  columns: 250px 3;
}
#strip_list a
{
  display: block;
  width:100%;
}

a:link, a:visited{
  color:#963;
  text-decoration: none;
}
a:hover{
  color:#f93;
}

.prevLink{
  float:left;
  margin:0 0 0 0em;
  text-align:left;
}
.nextLink{
  float:right;
  margin:0 0em 0 0;
  text-align:right;
}

.randomLink{
  float:right;
  margin:0 0em 0 0;
}
.prevLink a,
.nextLink a,
.prevLink span,
.nextLink span,
.randomLink a
{
  font-size: 14px;
  font-weight: 400;
  padding: 5px 12px;
  margin: 0 4px;
  text-decoration: none;
    border: 1px solid #DDD;
    color: #888;
    background: #fff;
}

.prevLink a:hover,
.nextLink a:hover,
.randomLink a:hover,
.prevLink span:hover,
.nextLink span:hover,
.randomLink span:hover
{
    color:#555;
    background: #fafafa;
}

.comment{
  font-size:small;
  color:#66aaae;
}

.comic-details
{
  text-align:left;
  margin-top:15px;
  padding: 0 25px;
  text-indent: 30px;
  white-space: pre-wrap;
}

@media (max-width:620px){
  header h1{
    height: 58px;
    width: 103px;
    float:left;
  }

  .site-title
  {
    width:50%;
  }
  .switch
  {
    width:50%;
    margin-top: -10px;
    margin-left: -15px;
  }


  header p{
    margin-bottom:10px;
    padding:0;
    font-size:16px;
    line-height:24px;
    width:100%;
    text-indent: 0px;
  }
  #content {
    clear:both;
  }
  #content h1{
    font-size:25px;
  }
  .prevLink, .nextLink{
    margin: 0;
    font-size: 14px;
  }
}

.comic-body
{
  margin-top:28px;
}

.prevLink,
.nextLink,
.randomLink
{
  cursor: pointer;
  width:33.33%;
  text-align:center;

}

#content h1
{
  cursor: pointer;
  position: relative;
}

.comic-more
{
  margin-top:24px;
  padding-bottom:12px;
}

.base-href
{
  margin-top:2em;
  display: inline-block;
}
.base-href a.visit
{
  margin-right:40px;
}

a.cn_visit
{
  margin-top:10px;
  display: block;
  font-size:12px;
}

.counts
{
  color: #963;
}

.pagination_text
{
  text-align:center;
}

.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 22px 0;
  border-radius: 3px;

}

.pagination>li {
  display: inline
}
.pagination>li.disabled
{
  display:none;
}

.pagination>li>a,.pagination>li>span {
  position: relative;
  float: left;
  padding: 4px 12px;
  margin-left: -1px;
  line-height: 1.6;
  color: #963;
  text-decoration: none;
  background-color: transparent;
  border: 1px solid #963;
}

.pagination>li:first-child>a,.pagination>li:first-child>span {
  margin-left: 0;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.pagination>li:last-child>a,.pagination>li:last-child>span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover {
  z-index: 2;
  color: #f93;
  background-color: #fff;
  border-color: #963;
}

.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover {
  z-index: 3;
  color: #f93;
  cursor: default;
  background-color: #fff;
  border-color: #963;
}