/**
 * Solo - A small and beautiful blogging system written in Java.
 * Copyright (c) 2010-2018, b3log.org & hacpai.com
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
/**
* 403, 404, 500, article-pwd, init, login and kill-browser page style.
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.2.0.0, Sep 21, 2018
*/
html,body {
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff;
    color: #333;
    font-family: \5fae\8f6f\96c5\9ed1;
    font-size: small;
    height: 100%;
}

h2 {  
    background-color: #F3F1E5;
    border-radius: 4px 4px 0 0;
    font-size: 16px;
    margin: 0;
    padding: 10px 20px;
    text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.5);
}

input {
    border: 1px solid #CCCCCC;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075) inset;
    font-size: 13px;
    margin: 15px 0;
    padding: 7px 8px;
    vertical-align: middle;
    width: 410px;
    font-family: \5fae\8f6f\96c5\9ed1;
    font-size: small;
}

input:focus {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075) inset, 0 0 5px rgbargba(200, 200, 200, 0.9);
    border: 1px solid #E6E5D9;
}

.form {
    padding: 20px;
}

label {
    font-size: 13px;
}

button {
    position:relative;
    display:inline-block;
    font-size:13px;
    font-weight:700;
    color:#333;
    text-shadow:0 1px 0 rgba(255,255,255,0.9);
    white-space:nowrap;
    background-color:#eaeaea;
    background-image:linear-gradient(#fafafa,#eaeaea);
    background-repeat:repeat-x;
    border-radius:3px;
    border:1px solid #ddd;
    border-bottom-color:#c5c5c5;
    box-shadow:0 1px 3px rgba(0,0,0,0.075);
    vertical-align:baseline;
    cursor:pointer;
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -khtml-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
    -webkit-appearance:none;
    outline:none;
    padding:7px 15px;
    margin-top: 10px;
}

button.hover,
button:hover,
button:active {
    color:#fff;
    text-decoration:none;
    text-shadow:0 -1px 0 rgba(0,0,0,0.25);
    background-color: #3072b3;
    background-image:linear-gradient(#599bcd,#3072b3);
    background-repeat:repeat-x;
}

.clear {
    background-color: transparent;
    border: 0px;
    clear: both;
    display: block;
    font-size: 0px;
    height: 0px;
    line-height: 0px;
    overflow: hidden;
}

.fn-clear:before,
.fn-clear:after {
    display: table;
    content: ""
}
.fn-clear:after {
    clear: both
}
.fn-left {
    float: left
}

.fn-right {
    float: right;
}

.none {
    display: none;
}

.solo {
    color: orangered;
    font-weight: bold;
}

.logo {
    float: left;
    padding: 142px 12px 0;
    width: 217px;
    text-align: center;
}

.wrap {
    border-top: 5px solid #E6E5D9;
    padding: 110px 0;
    background-color: #F3F1E5;
}

.content {
    background-color: #fff;
    margin: 0 auto;
    width: 760px;
}

.main {
    border-left: 1px solid #E6E5D9;
    float: right;
    font-size: 15px;
    padding: 20px;
    width: 470px;
    min-height: 360px;
}

.main a {
    text-decoration: none;
}

.main li {
    margin: 6px 0 6px 16px;
}

.footerWrapper {
    background-color: #FFFFFF;
    border-top: 1px solid #E6E5D9;
    padding: 12px 0;
    text-align: center;
}

.footerWrapper a {
    text-decoration: none;
}

/* start article-pwd */
.article-pwd > div,
.article-pwd > form {
    margin: 0 20px;
}

.article-pwd > div {
    margin-bottom: 10px;
    max-height: 264px;
    overflow: auto;
    word-wrap: break-word;
}
/* end article-pwd */

/* start 403/404/500 */
.a-error {
    text-align: right;
}

.img-error {
    max-width: 100%;
    margin: 20px auto;
    padding: 0;
    display: block;
}
/* end 403/404/500 */

/* start kill */
.kill img {
    position: absolute;
    right: 40px;
    top: 200px;
}

.kill ul {
    margin-bottom: 50px;
}

.kill p {
    margin: 12px 20px;
}

.kill span {
    margin-left: 20px;
}
/* end kill */

/* start init */
#init {
    position: absolute;
    width: 470px;
}

#init input,
.register input {
    margin: 5px 0;
    padding: 5px 8px;
}

.register {
    height: 400px;
}

#sys p {
    height: 206px;
}

#sys {
    padding: 0 20px;
}

#initButton {
    margin-right: 10px;
}

#tip  {
    color: #21759B;
    font-weight: bold;
    margin-left: 10px;
}
#github {
    text-align: center;
}
#github .github__icon {
    display: block;
}
#github img {
    height: 222px;
    margin-top: 10px;
}
#github span {
    cursor: pointer;
    font-size: 12px;
    color: #999;
}
/* end init */

/* start search */
.content-reset {
    font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
    word-wrap: break-word;
    overflow: auto;
    line-height: 1.5;
    font-size: 13px;
    word-break: break-all;
    color: #545454;
}

.content-reset ul,
.content-reset ol {
    padding-left: 2em;
    margin-top: 0;
    margin-bottom: 16px
}
.content-reset li {
    margin-top: 0.25em
}
.content-reset h1,
.content-reset h2,
.content-reset h3,
.content-reset h4,
.content-reset h5,
.content-reset h6 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.25
}
.content-reset h1 {
    padding-bottom: 0.3em;
    font-size: 2em;
    border-bottom: 1px solid #eee
}
.content-reset h2 {
    padding-bottom: 0.3em;
    font-size: 1.5em;
    border-bottom: 1px solid #eee
}
.content-reset h3 {
    font-size: 1.25em
}
.content-reset h4 {
    font-size: 1em
}
.content-reset h5 {
    font-size: 0.875em
}
.content-reset h6 {
    font-size: 0.85em
}
.content-reset hr {
    height: 2px;
    padding: 0;
    margin: 5px 0;
    background-color: #e7e7e7;
    border: 0
}
.content-reset p {
    margin-top: 0;
    margin-bottom: 0;
}
.content-reset blockquote {
    padding: 0 1em;
    color: #777;
    border-left: 0.25em solid #ddd;
    margin-bottom: 16px
}
.content-reset blockquote p {
    margin: 0
}
.content-reset iframe {
    border: 1px solid #ccc
}
.content-reset table {
    width: 100%;
    border: 1px solid #dedede;
    margin: 15px auto;
    border-collapse: collapse;
    empty-cells: show
}
.content-reset thead {
    text-align: center
}
.content-reset td,
.content-reset th {
    height: 35px;
    border: 1px solid #dedede;
    padding: 0 10px
}
.content-reset th {
    font-weight: bold;
    text-align: center !important;
    background: rgba(158, 188, 226, 0.2)
}
.content-reset tbody tr:nth-child(2n) {
    background: rgba(158, 188, 226, 0.12)
}
.content-reset tr:hover {
    background: #efefef
}
.content-reset code {
    padding: 0.2em 0.4em;
    margin: 0;
    font-size: 85%;
    background-color: rgba(252, 41, 41, 0.12);
    border-radius: 3px;
    color: #d23f31;
    font-family: mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace
}
.content-reset pre>code {
    padding: 0.5em;
    border-radius: 0;
    color: #333;
    background-color: rgba(0, 0, 0, 0.04);
    background-size: 20px 20px;
    border-radius: 5px
}
.content-reset kbd {
    display: inline-block;
    padding: 3px 5px;
    font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
    line-height: 10px;
    color: #555;
    vertical-align: middle;
    background-color: #fcfcfc;
    border: solid 1px #ccc;
    border-bottom-color: #bbb;
    border-radius: 3px;
    box-shadow: inset 0 -1px 0 #bbb
}

.search {
    border-top: 5px solid #e6e5d9;
    background-color: #f3f1e5;
    padding: 20px 0 20px 84px;
    min-height: 480px;
}

.search__header {
    margin: 20px;
}

.search__header a {
    line-height: 44px;
}

.search__input input {
    margin: 0 10px 0 20px;
    height: 32px;
    line-height: 32px;
    float: left;
    font-size: 16px;
    padding: 5px 10px;
}

.search__input button {
    height: 44px;
    margin: 0;
    float: left;
}

.search__articles {
    width: 600px;
}

.search__articles header h1 {
    margin: 0;
}

.search__articles header h1 > a {
    font-size: 18px;
    text-decoration: none;
    font-weight: normal;
}

.search__articles .meta {
    font-size: 14px;
    color: #999;
}

.search__articles footer {
    margin-bottom: 30px;
}

.search__articles footer a {
    text-decoration: none;
    font-size: 13px;
}

.search__articles footer a:hover,
.search__articles header h1 > a:hover,
.search__pagination a:hover {
    text-decoration: underline;
}

.search__pagination a {
    color: #4285f4;
    text-decoration: none;
}

.search__pagination a,
.search__pagination span {
    margin-right: 5px;
}
/* end search */

/* start responsive */
@media (max-width: 780px) {
    .wrap {
        padding: 40px 0;
    }

    .content {
        width: auto;
    }

    .logo,
    .search__header img,
    .search__header > .fn-right {
        display: none;
    }

    .main {
        border: 0;
        float: none;
        width: auto;
    }

    input {
        width: 100%;
        box-sizing: border-box;
        display: block;
    }

    .a-500,
    .a-403,
    .a-404 {
        margin: 0 20px 0 0;
    }

    #init {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        left: 0;
    }

    .search__input {
        float: none;
    }

    .search__input input {
        margin: 0;
    }

    .search__input button {
        position: absolute;
        right: 20px;
        height: 32px;
        line-height: 16px;
    }

    .search {
        padding: 20px;
        width: 100%;
        min-height: auto;
        box-sizing: border-box;
    }

    .search__articles {
        width: auto;
    }
}
/* end responsive */