/*
Theme Name: King51-blog
Theme URI: http://blog.king51.com/2010-09-09/wordpress-theme-free-html5-css3-ajax-nested-comments/
Description: Using the html5+Css3. Designed by <a href="blog.king51.com/">King51</a>.
Version: 26.3.17
Author: king51
Author URI: http://blog.king51.com/
Tags: light, brown, two-columns, flexible-width, right-sidebar, threaded-comments

Arclite Wordpress theme
http://blog.king51.com/

Design and coding by digitalnature
http://blog.king51.com/

The CSS, XHTML and design is released under GPL.
http://www.opensource.org/licenses/gpl-license.php
*/

/* Reset Styles */
@charset "utf-8";

/* CSS Variables - 设计令牌 */
:root {
    --primary-color: #06c;
    --font-family: 'Lucida Grande', Verdana, Arial, sans-serif;
    --font-family-serif: Georgia, 'Times New Roman', Times, serif;
    --font-family-mono: 'andale mono', 'lucida console', monospace;
    --color-text: #333;
    --color-text-secondary: #777;
    --color-text-light: #999;
    --color-heading: #222;
    --color-border: #ccc;
    --color-bg-light: #f5f5f5;
}

/*
html5doctor.com Reset Stylesheet
v1.4
2009-07-27
Author: Richard Clark - http://richclarkdesign.com
*/

/* Prevent scrollbar jumping */
html {
    scrollbar-gutter: stable;
}

/* Box-sizing for mobile */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
figure,
footer,
header,
nav,
section,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}



article,
aside,
figure,
footer,
header,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
    color: #666;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted #000;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}

/* End Reset */

/* General Styles */

/* 52framework General StyleSheet - contains styles for all the HTML elements this framework supports */

/* Common Additive Classes */
.left {
    float: left;
}

.right {
    float: right;
}

.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

.hide {
    display: none;
}

.align_right {
    text-align: right;
}

.align_left {
    text-align: left;
}

.align_center {
    text-align: center;
}

.align_justify {
    text-align: justify;
}

blockquote {
    font-family: var(--font-family-serif);
    margin: 5px;
    padding: 10px;
    font-size: 1.2em;
    color: var(--color-text-light);
    font-style: italic;
    line-height: 1.3;
    width: 100%;
    quotes: none;
}

blockquote.left {
    border-right: 1px dashed var(--color-border);
    width: 35%;
}

blockquote.right {
    border-left: 1px dashed var(--color-border);
    width: 35%;
}

/* Heading Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.5em;
    line-height: 1.2;
    font-weight: bold;
}

h1 {
    font-size: 2.25em;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.4em;
}

h4 {
    font-size: 1.2em;
}

h5 {
    font-size: 1.05em;
}

h6 {
    font-size: 0.95em;
    font-weight: 600;
}

/* ul li's */
ul li {
    margin-left: 25px;
}

/* Custom select color */
::selection {
    background: #525252;
    color: #fff;
}


p img.left {
    float: left;
    margin: 24px 24px 24px 0;
    padding: 0;
}

p img.right {
    float: right;
    margin: 24px 0 24px 24px;
}

/* Forms */
form fieldset {
    border-radius: 5px;
    padding-top: 5px;
    padding-left: 5px;
    border: 1px solid #ccc;
}

form fieldset legend {
    font-size: 1.4em;
    padding: 0 5px;
}

form input[type="text"],
form input[type="email"],
form input[type="url"] {
    border-radius: 4px;
    height: 20px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    padding: 4px 0 1px 5px;
}

form label {
    display: block;
    height: 20px;
    font-size: 1.2em;
}

strong {
    font-weight: 600;
}

em,
dfn {
    font-style: italic;
}

dfn {
    font-weight: 600;
}

sup,
sub {
    line-height: 0;
}

abbr {
    border-bottom: 1px dashed var(--color-border);
}

address {
    margin: 0 0 1.5em;
    font-style: italic;
}

pre,
code {
    font: 1em var(--font-family-mono);
    line-height: 1.5;
    display: block;
    padding: 8px;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

code {
    padding: 2px 6px;
    line-height: 1.67;
}

pre {
    margin: 1.5em 0;
}

/* End General */

/* Grid */

/* 52framework grid
16 cols by 52px, with an 8px gutter
*/

.col {
    margin-left: 10px;
    margin-right: 10px;
    display: inline;
    overflow: hidden;
    float: left;
    position: relative;
}

.row {
    width: 960px;
    margin: 0 auto;
    overflow: hidden;
}

.row .row {
    margin: 0 -10px;
    width: auto;
    display: inline-block;
}

.col_4 {
    width: 23%;
}

.col_12 {
    width: 72%;
}

.col_16 {
    width: 1280px;
}

/* End Grid */

/* Theme Styles */
body {
    font-size: 75%;
    line-height: 1.5em;
    color: var(--color-text);
    font-family: var(--font-family);
}

a,
h2 a:hover,
h3 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: #147;
    text-decoration: underline;
}

p {
    margin: 0 0 0.8em;
}

ol {
    list-style-type: upper-roman;
}

.header {
    height: 132px;
    margin-bottom: 9px;
}

.header .logo {
    height: 92px;
}

.header .logo h1 {
    padding-top: 30px;
    margin: 0;
    font: bold 3em/100% Impact, Charcoal, sans-serif;
}

.header .logo h1 a {
    text-decoration: none;
    color: #444;
}

.header .logo h6 {
    margin: 0;
    padding-top: 25px;
    padding-right: 30px;
    font-size: 1.2em;
    line-height: 1.1;
}

.header .logo h6 a {
    color: #444;
}

.logo-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
}

.logo-title h1,
.logo-title h6 {
    white-space: nowrap;
}

.logo-title h1 {
    margin: 0;
    padding-top: 0;
}

.logo-title h6 {
    margin: 0;
}

.nav {
    height: 40px;
    background-color: #333;
    border: #888 solid 1px;
    display: flex;
    align-items: center;
} /* Navigation */

.nav ul {
    margin: 0;
    padding: 0 0 0 10px;
}

.nav li {
    float: left;
    list-style: none;
}

.nav li a {
    text-decoration: none;
    font-size: 1.33em;
    font-weight: bold;
    color: #fff;
    padding: 0 12px;
    display: flex;
    align-items: center;
    height: 40px;
}

section {
    font-family: var(--font-family);
}

section,
aside,
article,
article .content {
    margin-top: 10px;
}

.content h6 {
    font-size: 1.2em;
}

/* Entry Content */
article.entry-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 2em;
    border-bottom: var(--color-border) dotted 1px;
    padding-bottom: 2em;
}

.entry-content .entry-header {
    margin-bottom: 2em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #eee;
}

.entry-title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin: 0 0 0.5em;
    color: var(--color-heading);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.entry-meta {
    color: var(--color-text-secondary);
    font-size: 0.95em;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
}

.entry-meta span,
.entry-meta time {
    display: inline-block;
}

.entry-body {
    margin: 1.5em 0;
    padding: 0 10px;
    font-size: 1.2em;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.entry-body > *:first-child {
    margin-top: 0;
}

.entry-body h2 {
    font-size: 1.45rem;
    line-height: 1.3;
    margin: 1.8em 0 0.6em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #eee;
    color: var(--color-heading);
    font-weight: 700;
}

.entry-body h3 {
    font-size: 1.25rem;
    line-height: 1.35;
    margin: 1.5em 0 0.5em;
    color: var(--color-text);
    font-weight: 700;
}

.entry-body h4 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 1.3em 0 0.4em;
    color: var(--color-text);
    font-weight: 600;
}

.entry-body h5 {
    font-size: 1rem;
    line-height: 1.4;
    margin: 1.2em 0 0.4em;
    color: #444;
    font-weight: 600;
}

.entry-body h6 {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 1em 0 0.3em;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.entry-body p {
    margin: 1em 0;
    text-align: justify;
}

.entry-body blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid var(--primary-color);
    background-color: var(--color-bg-light);
    color: #666;
    font-style: italic;
}

.entry-body ul,
.entry-body ol {
    margin: 1em 0;
    padding-left: 2em;
}

.entry-body li {
    margin: 0.5em 0;
    line-height: 1.8;
}

.entry-body img {
    max-width: 100%;
    height: auto;
    margin: 1em 0;
    border-radius: 4px;
}

.entry-body table {
    max-width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    border: 1px solid #ddd;
    font-size: 0.9em;
}

.entry-body table th,
.entry-body table td {
    padding: 0.75em;
    border: 1px solid #ddd;
    text-align: left;
}

.entry-body table th {
    background-color: var(--color-bg-light);
    font-weight: bold;
    color: var(--color-text);
}

.entry-excerpt {
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
    margin: 1em 0;
    font-style: italic;
    padding: 0.5em 1em;
    border-left: 3px solid var(--primary-color);
}

.entry-footer {
    margin-top: 2em;
    padding-top: 1.5em;
    border-top: 1px solid #eee;
    font-size: 0.95em;
    color: var(--color-text-secondary);
}

.entry-tags {
    margin: 1em 0;
    padding: 0.5em;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.entry-tags strong {
    color: #333;
}

.entry-edit {
    margin-top: 1em;
    padding: 0.5em;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    font-size: 0.9em;
}

.page-links {
    margin: 1.5em 0;
    padding: 1em;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    text-align: center;
    border-radius: 4px;
}

.page-links-title {
    color: #666;
    font-weight: bold;
}

.page-link {
    display: inline-block;
    padding: 0.5em 0.8em;
    margin: 0 0.2em;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: #fff;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: #f9f9f9;
    padding: 1em;
    margin-bottom: 1.5em;
    border-radius: 4px;
    font-size: 0.95em;
    border-left: 4px solid var(--primary-color);
}

.breadcrumbs h6 {
    margin: 0;
    font-size: 1em;
    font-weight: normal;
    line-height: 1.6;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #004080;
    text-decoration: underline;
}

article {
    font-size: 1.2em;
    line-height: 1.6;
    border-bottom: var(--color-border) dotted 1px;
}

article h2 {
    margin: 0;
    font-size: 1.25em;
}

article h2.list-title {
    color: var(--primary-color);
}

article h2.list-title:hover {
    color: #147;
    text-decoration: underline;
}

article h3 {
    margin: 0;
    font-size: 1.13em;
}

.single h1 {
    margin: 0;
    font-size: 1.5em;
}

.single h2 {
    margin: 0;
    font-size: 1.2em;
}

/* Related Post */
article nav {
    background-color: var(--color-bg-light);
    padding: 6px;
    font-size: 0.9em;
    color: var(--color-text-secondary);
    border: 1px solid #ddd;
}

article nav h3 {
    font-size: 0.9em;
    color: #c30;
    padding-top: 6px;
}

aside {
    font-size: 1.2em;
    line-height: 1.6;
}

aside h2 {
    font-size: 1.3em;
}

aside li {
    margin-left: 0;
    list-style: none;
}

aside li ul {
    margin-bottom: 10px;
}

aside li ul li {
    margin-left: 20px;
    margin-bottom: 10px;
    padding-left: 10px;
}

footer {
    color: var(--color-text-secondary);
    margin: 10px auto;
}

small {
    font-size: 0.8em;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

/* Not user */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

/* Comments */
.commhead {
    padding: 3px 8px 6px;
    margin: 0 0 10px;
}

.commentList {
    clear: both;
}

.commentList li {
    margin: 6px 0 10px;
    padding-left: 0;
    list-style: none;
    clear: both;
    overflow: auto;
}

.commentList .odd {
    background-color: #eee;
}

.comment {
    padding: 4px;
    background-color: #fff;
    border: #ccc solid 1px;
}

.comment img {
    margin: 6px;
    text-align: center;
    float: left;
}

.comment dd {
    margin-left: 80px;
}

.comment .reply {
    float: right;
}

.comment .children {
    margin-left: 70px;
}

.comment .children .comment {
    border-bottom: #09c solid 3px;
}

.comment #respond {
    margin: 9px;
}

#respond {
    padding: 10px;
    border: 1px solid #c2dcff;
    background-color: #f5faff;
    clear: both;
}

#respond h3 {
    font-size: 1.33em;
}

#respond h3 small {
    float: right;
}

#respond p {
    margin: 3px;
    padding: 0;
}

#respond form div {
    margin-bottom: 10px;
}

#respond form input {
    padding: 3px 3px 3px 2px;
}

#respond form textarea {
    width: 98%;
    padding: 5px;
    line-height: 22px;
}

#respond form input,
#respond form textarea {
    border: 1px solid #c2dcff;
}

#respond .comment-form-url input {
    margin-left: 8px;
}

#respond form #submit {
    width: 104px;
    height: 30px;
    line-height: 30px;
    border: none;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    padding: 0;
    background-color: #09f;
}

/* Pagebar */
.pagebar {
    clear: both;
    margin: 12px 0;
    overflow: hidden;
    text-align: right;
}

.page-numbers {
    margin: 10px 2px;
    font-size: 1.17em;
}

.current,
.current:hover {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 2em;
    color: #000;
}

/* Article Index */
#article-index {
    border-radius: 6px;
    border: 1px solid #dedfe1;
    float: right;
    margin: 0 0 15px 15px;
    padding: 0 6px;
    width: 200px;
    line-height: 23px;
}

#article-index strong {
    border-bottom: 1px dashed #dddddd;
    display: block;
    line-height: 30px;
    padding: 0 4px;
}

#index-ul {
    margin: 0;
    padding-bottom: 10px;
}

#index-ul li {
    background: transparent;
    list-style-type: disc;
    padding: 0;
    margin-left: 20px;
}

/* Responsive Design */

/* Tablet (≤768px) */
@media screen and (max-width: 768px) {
    .row {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .col_4 {
        width: 100%;
    }

    .col_12 {
        width: 100%;
    }

    .col_16 {
        width: 100%;
    }

    .header {
        height: auto;
        padding: 10px 0;
    }

    .header .logo {
        height: auto;
        padding: 10px 0;
    }

    .logo-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-title h1 {
        font-size: 1.6em;
        padding-top: 0;
    }

    .logo-title h6 {
        font-size: 0.9em;
        padding-top: 5px;
        padding-right: 0;
    }

    .nav {
        height: auto;
        padding: 5px 0;
    }

    .nav ul {
        display: flex;
        flex-wrap: wrap;
        padding: 0 10px;
    }

    .nav li {
        float: none;
        margin: 3px;
    }

    .nav li a {
        font-size: 1.17em;
        padding: 5px 10px;
        display: block;
    }

    .content {
        width: 100% !important;
    }

    aside {
        width: 100% !important;
        margin-top: 20px;
    }

    article {
        font-size: 1em;
        padding: 10px;
    }

    article h2 {
        font-size: 1.3em;
    }

    .single article h1 {
        font-size: 1.3em;
    }

    footer {
        padding: 10px;
        font-size: 0.9em;
        text-align: center;
    }

    #article-index {
        float: none;
        width: auto;
        margin: 0 0 15px 0;
    }

    .commentList li {
        padding: 10px 5px;
    }

    .comment dd {
        margin-left: 0;
    }

    form input[type="text"],
    form input[type="email"],
    form input[type="url"],
    textarea {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Mobile (≤480px) */
@media screen and (max-width: 480px) {
    body {
        font-size: 1.17em;
    }

    .header .logo h1 {
        font-size: 1.6em;
    }

    .logo-title h6 {
        font-size: 0.9em;
    }

    .nav ul {
        justify-content: center;
    }

    .nav li a {
        font-size: 1em;
        padding: 4px 8px;
    }

    article h2 {
        font-size: 1.2em;
    }

    blockquote {
        font-size: 1.2em;
        margin: 5px;
        padding: 5px;
    }

    .commentList .comment-author img {
        width: 32px;
        height: 32px;
    }

    .reply {
        float: none;
        margin-top: 10px;
    }

    .page-numbers {
        font-size: 1em;
        margin: 5px 1px;
    }

    .current,
    .current:hover {
        font-size: 1.5em;
    }

    input[type="search"] {
        width: 100%;
        box-sizing: border-box;
    }

    #searchform button {
        display: block;
        width: 100%;
        margin-top: 5px;
    }
}


