/*
 * Solo - A small and beautiful blogging system written in Java.
 * Copyright (c) 2010-present, b3log.org
 *
 * 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/>.
 */
 /**
 * base style
 *
 * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
 * @version 2.0.0.1, Mar 16, 2019
*/

@import "../scss/reset";
@import "vditor/src/assets/scss/classic";

textarea {
    overflow: hidden;
}

button, .button {
    background: url(../images/icon.png) repeat center bottom;
    border: 1px solid;
    border-color: #CCC #BBBBBB #A0A0A0;
    border-radius: 4px;
    height: 28px;
    margin: 0;
    padding: 0 6px;
    vertical-align: top;
}

button:hover,.button:hover {
    border-color: #BBB;
}

.padding12 {
    padding: 12px;
}

.paddingBottom12 {
    padding-bottom: 12px !important;
}

.paddingTop12 {
    padding-top: 12px !important;
}

.margin12 {
    margin: 12px;
}

.marginTop12 {
    margin-top: 12px !important;
}

.marginBottom12 {
    margin-bottom: 12px !important;
}

.marginLeft12 {
    margin-left: 12px !important;
}

.marginLeft6 {
    margin-left: 6px !important;
}

.marginRight12 {
    margin-right: 12px !important;
}

.f-bold {
    font-weight: bold !important;
}
.nowrap {
    white-space: nowrap;
}

.left {
    float: left;
}

.right {
    float: right;
}

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

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

.fn-clear:after {
    clear: both;
}

.fn__flex {
    display: flex;
}

.fn__flex1 {
    flex: 1;
    min-width: 1px;
}

.fn__flex-inline {
    display: inline-flex !important;
    align-items: center;
}

.none {
    display: none;
}

.pointer {
    cursor: pointer;
}

.no-underline {
    text-decoration: none !important;
}

.red {
    color: red;
}

.contentBody {
    margin-bottom: 12px;
    padding: 3px 12px;
}

/* start form */
.form th {
    text-align: right;
    white-space: nowrap;
}

.form input[type='text'], .form input[type='password'], .form textarea {
    border-color: #C0C0C0 #D9D9D9 #D9D9D9;
    border-right: 1px solid #D9D9D9;
    border-style: solid;
    border-width: 1px;
    font-family: Helvetica,Arial,sans-serif;
    font-size: 12px;
    outline: medium none;
    width: 99%;
    padding: 0 3px;
}
.form input {
    height: 24px;
}

.form input[type='checkbox'] {
    border: 0;
    vertical-align: sub;
    height: 20px;
}

.form input.normalInput {
    width: auto;
}

.form input[type='checkbox']:focus {
    border: 0;
    box-shadow: 0 0 0;
}

.form input:focus, .form textarea:focus {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset;
}

.form textarea {
    padding: 3px;
    overflow: auto;
    resize: vertical;    
}
/* end form */

.logo {
    padding: 0 5px;
    text-decoration: none;
    text-shadow: 0 0 1px #EEEEEE;
}

/* start icon */
.putTopIcon,.notPutTopIcon,.deleteIcon,.updateIcon,.commentIcon, 
.homeIcon,.adminIcon,.loginIcon,.logoutIcon,.calendarIcon,.browserIcon, 
.postIcon,.articlesIcon,.draftsIcon,.usersIcon,.linkIcon,
.preferenceIcon, .pageIcon, .trueIcon,.falseIcon,
.fileIcon, .othersIcon, .goTopIcon, .goBottomIcon, .cacheIcon, .aboutIcon {
    background-image: url("../images/icon.png");
    cursor: pointer;
    height: 16px;
    width: 16px;
}

.adminIcon,.loginIcon,.logoutIcon,.homeIcon {
    margin-top: 3px;
}

.pageIcon {
    background-position: -144px 0px;
}

.postIcon {
    background-position: -16px 0;
}

.linkIcon {
    background-position: -32px 0;
}

.preferenceIcon {
    background-position: -48px 0;
}

.articlesIcon {
    background-position: -64px 0;
}

.trueIcon {
    background-position: -80px 0;
    cursor: auto;
}

.falseIcon {
    background-position: -96px 0;
    cursor: auto;
}

.fileIcon {
    background-position: -112px 0;
}

.deleteIcon {
    background-position: 0 -16px;
}

.updateIcon {
    background-position: -16px -16px;
}

.commentIcon {
    background-position: -32px -16px;
}

.homeIcon {
    background-position: -64px -16px;
}

.adminIcon {
    background-position: -80px -16px;
}

.logoutIcon {
    background-position: -96px -16px;
}

.loginIcon {
    background-position: -112px -16px;
}

.browserIcon {
    background-position: -128px -16px;
}

.calendarIcon {
    background-position: -144px -16px;
}

.putTopIcon {
    background-position: -16px -32px;
    float: left;
}

.notPutTopIcon {
    background-position: -32px -32px;
    float: left;
}

.othersIcon {
    background-position: -48px -32px;
}

.cacheIcon {
    background-position: -96px -32px;
}

.draftsIcon {
    background-position: -96px -32px;
}

.usersIcon {
    background-position: -112px -32px;
}

.goTopIcon {
    background-position: -64px -32px;
    position: fixed;
    right: 20px;
    top: 45%;
}

.goBottomIcon {
    background-position: -80px -32px;
    bottom: 40%;
    position: fixed;
    right: 20px;
}
/* end icon */

/* start tags */
#tags {
    list-style: none;
}

#tags li {
    float: left;
    list-style: none;
    height: 38px;
}

#tags a:hover {
    text-shadow: 0 0 2px #555555;
}

#tags a {
    border-radius: 3px 3px 3px 3px;
    box-shadow: 1px 1px 3px #555555;
    float: left;
    margin: 3px 6px;
    padding: 3px 12px;
    text-decoration: none;
}

#tags .tags1 {
    font-size: 12px;
    font-weight: normal;
}

#tags .tags2 {
    font-size: 14px;
    font-weight: normal;
}

#tags .tags3 {
    font-size: 16px;
    font-weight: normal;
}

#tags .tags4 {
    font-size: 18px;
    font-weight: bold;
}

#tags .tags5 {
    font-size: 20px;
    font-weight: bold;
}
/* end tags */

/* start comment */
#captcha, #captchaReply {
    cursor: pointer;
}
/* end comment */