/* native.css v1.0.0 - 原生CSS替代Bootstrap框架 */
/* 覆盖项目中使用的所有Bootstrap类名 */

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }

/* ===== Grid 网格 ===== */
.container { margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; }
.row { margin-left: -15px; margin-right: -15px; }
.row::before, .row::after { display: table; content: " "; clear: both; }
.col-sm-12, .col-lg-12 { position: relative; min-height: 1px; padding-left: 15px; padding-right: 15px; }
@media (min-width: 768px) {
    .col-sm-12 { float: left; width: 100%; }
}
@media (min-width: 1200px) {
    .col-lg-12 { float: left; width: 100%; }
}
.clearfix::before, .clearfix::after { display: table; content: " "; clear: both; }
.pull-left { float: left !important; }
.pull-right { float: right !important; }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4286;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    user-select: none;
    background: #fff;
    color: #333;
}
.btn:hover { opacity: 0.85; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-primary { background: #1ab394; color: #fff; border-color: #1ab394; }
.btn-success { background: #1c84c6; color: #fff; border-color: #1c84c6; }
.btn-danger { background: #ed5565; color: #fff; border-color: #ed5565; }
.btn-warning { background: #f8ac59; color: #fff; border-color: #f8ac59; }
.btn-info { background: #23c6c8; color: #fff; border-color: #23c6c8; }
.btn-default { background: #fff; color: #333; border-color: #ccc; }
.btn-secondary { background: #6c757d; color: #fff; border-color: #6c757d; }
.btn-xs { padding: 2px 6px; font-size: 12px; border-radius: 3px; }
.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 3px; }

/* ===== Forms ===== */
.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.4286;
    color: #555;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
}
.form-control:focus { border-color: #1ab394; outline: 0; box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 6px rgba(26,179,148,0.3); }
.form-group { margin-bottom: 15px; }
.form-inline .form-group { display: inline-block; vertical-align: middle; margin-bottom: 0; }
.form-inline .form-control { display: inline-block; width: auto; }
.control-label { font-weight: 700; margin-bottom: 5px; display: inline-block; max-width: 100%; }
.help-block { display: block; margin-top: 5px; margin-bottom: 10px; color: #737373; font-size: 12px; }
.input-group { display: inline-table; border-collapse: separate; }
.input-group .form-control { position: relative; z-index: 2; float: left; width: 100%; margin-bottom: 0; }

/* ===== Tables ===== */
.table { width: 100%; max-width: 100%; margin-bottom: 20px; border-collapse: collapse; }
.table > thead > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > td { padding: 8px; line-height: 1.4286; vertical-align: top; border-top: 1px solid #ddd; }
.table > thead > tr > th { vertical-align: bottom; border-bottom: 2px solid #ddd; font-weight: 700; }
.table-striped > tbody > tr:nth-of-type(odd) { background: #f9f9f9; }
.table-bordered { border: 1px solid #ddd; }
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td { border: 1px solid #ddd; }
.table-hover > tbody > tr:hover { background: #f5f5f5; }
.table-responsive { min-height: 0.01%; overflow-x: auto; }
@media (max-width: 767px) { .table-responsive { width: 100%; overflow-y: hidden; -ms-overflow-style: -ms-autohiding-scrollbar; } }

/* ===== Text ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-danger { color: #ed5565; }
.text-success { color: #1ab394; }
.text-muted { color: #888; }

/* ===== Modal ===== */
.modal { display: none; overflow: hidden; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1050; outline: 0; }
.modal.fade .modal-dialog { transform: translate(0,-25%); transition: transform 0.3s ease-out; }
.modal.fade.in .modal-dialog { transform: translate(0,0); }
.modal.in { display: block; }
.modal-open { overflow: hidden; }
.modal-backdrop {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040;
    background: rgba(0,0,0,0.5);
}
.modal-dialog { position: relative; width: auto; margin: 30px auto; max-width: 600px; }
.modal-sm { max-width: 400px; }
.modal-lg { max-width: 900px; }
.modal-content { position: relative; background: #fff; border: 1px solid rgba(0,0,0,0.2); border-radius: 6px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.modal-header { padding: 15px; border-bottom: 1px solid #e5e5e5; }
.modal-header .close { margin-top: -2px; }
.modal-title { margin: 0; line-height: 1.4286; font-size: 16px; font-weight: 600; }
.modal-body { position: relative; padding: 15px; }
.modal-footer { padding: 15px; text-align: right; border-top: 1px solid #e5e5e5; }
.modal-footer .btn + .btn { margin-left: 5px; }
.close {
    float: right; font-size: 21px; font-weight: 700; line-height: 1; color: #000;
    text-shadow: 0 1px 0 #fff; opacity: 0.2; cursor: pointer; background: none; border: 0; padding: 0;
}
.close:hover { opacity: 0.5; }

/* ===== Dropdown ===== */
.dropdown-menu {
    position: absolute; top: 100%; left: 0; z-index: 1000;
    display: none; min-width: 160px; padding: 5px 0; margin: 2px 0 0;
    background: #fff; border: 1px solid rgba(0,0,0,0.15); border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.175);
}
.dropdown-menu.open { display: block; }
.dropdown-menu > li > a { display: block; padding: 5px 20px; clear: both; color: #333; white-space: nowrap; cursor: pointer; }
.dropdown-menu > li > a:hover { background: #f5f5f5; }
.dropdown-divider { height: 1px; margin: 9px 0; overflow: hidden; background: #e5e5e5; }
.dropdown-toggle { cursor: pointer; }
.caret { display: inline-block; width: 0; height: 0; margin-left: 2px; vertical-align: middle; border-top: 4px dashed; border-right: 4px solid transparent; border-left: 4px solid transparent; }

/* ===== Collapse ===== */
.collapse { display: none; }
.collapse.in { display: block; }
.collapsing { position: relative; height: 0; overflow: hidden; transition: height 0.35s ease; }

/* ===== Nav ===== */
.nav { padding-left: 0; margin-bottom: 0; list-style: none; }
.nav > li { position: relative; display: block; }
.nav > li > a { position: relative; display: block; padding: 10px 15px; color: #337ab7; text-decoration: none; }
.nav > li > a:hover { background: #f5f5f5; }

/* ===== Labels ===== */
.label { display: inline; padding: 0.2em 0.6em; font-size: 75%; font-weight: 700; line-height: 1; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: 0.25em; }
.label-primary { background: #1ab394; color: #fff; }
.label-success { background: #1c84c6; color: #fff; }
.label-danger { background: #ed5565; color: #fff; }
.label-warning { background: #f8ac59; color: #fff; }
.label-info { background: #23c6c8; color: #fff; }

/* ===== Alert ===== */
.alert { padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px; }
.alert-success { color: #3c763d; background: #dff0d8; border-color: #d6e9c6; }
.alert-info { color: #31708f; background: #d9edf7; border-color: #bce8f1; }
.alert-warning { color: #8a6d3b; background: #fcf8e3; border-color: #faebcc; }
.alert-danger { color: #a94442; background: #f2dede; border-color: #ebccd1; }

/* ===== Well ===== */
.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background: #f5f5f5; border: 1px solid #e3e3e3; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(0,0,0,0.05); }

/* ===== Badge ===== */
.badge { display: inline-block; min-width: 10px; padding: 3px 7px; font-size: 12px; font-weight: 700; color: #fff; line-height: 1; vertical-align: middle; white-space: nowrap; text-align: center; background: #777; border-radius: 10px; }

/* ===== Panel ===== */
.panel { margin-bottom: 20px; background: #fff; border: 1px solid transparent; border-radius: 4px; box-shadow: 0 1px 1px rgba(0,0,0,0.05); }
.panel-body { padding: 15px; }
.panel-heading { padding: 10px 15px; border-bottom: 1px solid transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; }
.panel-footer { padding: 10px 15px; background: #f5f5f5; border-top: 1px solid #ddd; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; }
.panel-default { border-color: #ddd; }
.panel-default > .panel-heading { color: #333; background: #f5f5f5; border-color: #ddd; }

/* ===== Progress ===== */
.progress { height: 20px; margin-bottom: 20px; overflow: hidden; background: #f5f5f5; border-radius: 4px; box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); }
.progress-bar { float: left; width: 0; height: 100%; font-size: 12px; line-height: 20px; color: #fff; text-align: center; background: #1ab394; box-shadow: inset 0 -1px 0 rgba(0,0,0,0.15); transition: width 0.6s ease; }

/* ===== List group ===== */
.list-group { padding-left: 0; margin-bottom: 20px; }
.list-group-item { position: relative; display: block; padding: 10px 15px; margin-bottom: -1px; background: #fff; border: 1px solid #ddd; }
.list-group-item:first-child { border-top-left-radius: 4px; border-top-right-radius: 4px; }
.list-group-item:last-child { margin-bottom: 0; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; }

/* ===== Media ===== */
.media { margin-top: 15px; }
.media:first-child { margin-top: 0; }
.media, .media-body { overflow: hidden; zoom: 1; }
.media-body { width: 10000px; display: table-cell; vertical-align: top; }
.media-heading { margin-top: 0; margin-bottom: 5px; }

/* ===== Image ===== */
.img-responsive { display: block; max-width: 100%; height: auto; }
.img-circle { border-radius: 50%; }
.img-rounded { border-radius: 6px; }
.img-thumbnail { padding: 4px; line-height: 1.4286; background: #fff; border: 1px solid #ddd; border-radius: 4px; max-width: 100%; height: auto; }

/* ===== Utilities ===== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; border: 0; }
.hide { display: none !important; }
.show { display: block !important; }
.hidden { display: none !important; }

/* ===== H+ Admin Theme Ibox ===== */
.ibox { clear: both; margin-bottom: 25px; margin-top: 0; padding: 0; background: #fff; border: 1px solid #e7eaec; border-radius: 2px; }
.ibox-title { padding: 15px 15px 7px; min-height: 48px; border-bottom: 1px solid #e7eaec; }
.ibox-title h5 { display: inline-block; font-size: 14px; margin: 0 0 7px; padding: 0; text-overflow: ellipsis; float: left; font-weight: 600; }
.ibox-tools { display: inline-block; float: right; margin-top: 0; position: relative; padding: 0; }
.ibox-tools a { cursor: pointer; margin-left: 5px; color: #c4c4c4; }
.ibox-content { clear: both; padding: 15px; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; }
