html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #f7f8f9;
}

/* Layout */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0077cc;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}


/* �Զ�����ʽ */
.logo-title {
    font-weight: 900;
    color: #34495e;
}

.question-title {
    max-width: 640px;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0px;
}

@media (max-width: 992px) {
    .question-title {
        max-width: 360px;
    }
}
@media (max-width: 576px) {
    .question-title {
        max-width: 180px;
    }
}



.navbar-nav .nav-item.active .nav-link {
    border-bottom: 3px solid #333;
    margin-bottom: -3px;
}

.pagination .page-item {
    margin: 0 4px;
    border-radius: 2px;
}

.pagination .page-item.active {
    background-color: #409eff;
    color: #ffffff;
}

.pagination .page-item .page-link {
    color: #333;
    padding: 0 10px;
    border: none;
    height: 32px;
    min-width: 32px;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.pagination .page-item .page-span {
    color: #333;
    padding: 0 10px;
    border: none;
    height: 32px;
    min-width: 32px;
    background-color: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.pagination .page-item.active .page-link {
    background-color: #409eff;
    color: #ffffff;
}

.pagination .page-item.disabled .page-link {
    background-color: #f5f7fa;
    color: #a8abb2;
}

.table tr > td {
    padding-top: 10px;
    padding-bottom: 10px;
}

.ql-container .ql-editor {
    font-size: 14px;
}

.ql-container .ql-editor p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.card{
    border: none;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.05);
}
.card.card-success {
    border: 1px solid #48bb79;
}
.card.card-success .card-header {
    border-color: #48bb79;
    background-color: #48bb79;
    color: #ffffff;
}

.card.card-primary {
    border: 1px solid #396eb8;
}
.card.card-primary .card-header {
    border-color: #396eb8;
    background-color: #396eb8;
    color: #ffffff;
}

.card .card-header a{
    text-decoration: none!important;
    color: #333333;
    background-color: transparent;
}
.card.card-primary .card-header a,
.card.card-success .card-header a{
    color: #ffffff;
}
.card .table>:not(:last-child)>:last-child>* {
    border-bottom-color: #dee2e6;
}
.card.card-primary .table>:not(:last-child)>:last-child>* {
    border-bottom-color: #396eb8;
}
.card.card-success .table>:not(:last-child)>:last-child>* {
    border-bottom-color: #48bb79;
}