.td1 {
    font-size: 9pt;
    color: #FFFFFF;
    font-weight: bold;
}

.td2 {
    font-size: 9pt;
    color: #0466CC;
    font-weight: bold;
}

.tooltip {
    background: #ffffcc;
    box-shadow: 2px 2px 0px;
    padding: .25em;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.list {
    BORDER-TOP: 0px;
    BORDER-LEFT: 0px;
    BORDER-BOTTOM: 1px;
    border-right-color: #1f4977;
}

.fade.show {
    opacity: 1;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}

.fade {
    opacity: 0;
    transition: opacity 0.15s linear;
}

.modal.show .modal-dialog {
    transform: translate(0, 0);
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    /* transform: translate(0, -25%); */
}

.modal-dialog {
    position: relative;
    width: 560px;
    margin: 0.5rem;
    pointer-events: none;
    margin: auto;
    padding-top: 50px;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: buttonFace;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}


.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAMAAACuX0YVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJ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veDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+MxgFrQAAAAZQTFRFAAAA////pdmf3QAAAAJ0Uk5T/wDltzBKAAAADklEQVR42mJgYGAECDAAAAUAAoeC334AAAAASUVORK5CYII=);
    background-attachment: fixed;
}

.fade {
    opacity: 0;
    transition: opacity 0.15s linear;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #1f4977;
    border-color: #1f4977;
}

.page-link {
    position: relative;
    display: block;
    padding: 0rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
}

.d-none {
    display: none !important;
}

.form-group {
    margin-bottom: 1rem;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-danger {
    color: #c6303e !important;
}

.font-weight-bold {
    font-weight: bold;
}

.justify-content-center {
    justify-content: center !important;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
}

/**/


input[type=email],input[type=number],input[type=password],input[type=text] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    border-radius: 0
}

input[type=email],input[type=number],input[type=password],input[type=text],select {
    background-color: #fff;
    box-shadow: inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;
    box-sizing: border-box;
    padding: 3px 4px
}

select,textarea {
    border: none
}

textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border-radius: 0;
    box-shadow: inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;
    box-sizing: border-box;
    padding: 3px 4px
}

input[type=email],input[type=password],input[type=text],select {
    height: 21px
}

input[type=number] {
    height: 22px
}

input[type=email],input[type=number],input[type=password],input[type=text] {
    line-height: 2
}

input[type=email]:disabled,input[type=email]:read-only,input[type=number]:disabled,input[type=number]:read-only,input[type=password]:disabled,input[type=password]:read-only,input[type=text]:disabled,input[type=text]:read-only,textarea:disabled {
    background-color: silver
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 6H4v1h1v1h1v1h1v1h1V9h1V8h1V7h1V6z' fill='%23000'/%3E%3C/svg%3E");
    background-position: top 2px right 2px;
    background-repeat: no-repeat;
    border-radius: 0;
    padding-right: 32px;
    position: relative
}

input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=text]:focus,select:focus,textarea:focus {
    outline: none
}


/**/
button.close {
    float: right;
    border-width: 2px;
    border-style: outset;
    border-color: buttonface;
    border-right-color: #424242;
    border-bottom-color: #424242;
    background: silver;
    color: black;
    margin: 0 -8px 0 0;
    font-size: 1.5rem;
    line-height: 1;
}

.modal-title {
    margin: 0;
}

.modal-header {
    padding: .125em 1em;
}

.threadlist-threads a {
    height: 1em;
    overflow: hidden;
    display: inline-block;
    max-width: 20em;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.card-table {
    border: 1px solid gray;
    width: 100%;
    margin-bottom: 1em;
}

.card-table table {
    width: 100%;
}


.card-table,
.card-table table,
.card-table tr,
.card-table td,
.card-table th {
    border-collapse: collapse;
}


.card-table th {
    text-align: inherit;
    border: 1px solid gray;
    background-color: #92ACD5;
    background-image: url(../img/bg1.gif);
    background-size: contain;
    background-position: top left;
    background-repeat: repeat;
    padding: .5em;
    color: #fff;
}

.card-table .subheader {
    padding: .5em;
}

.card-table.with-border tr {
    border: 1px solid silver;

}

.card-table .subheader {
    background-color: #f4f6fc;
}

.card-table-forum-list .meta td {
    padding: .5em;
}

.card-table-forum-list p {
    margin: .25em 0;
}

.card-table-forum-list .meta td:nth-child(1) {
    width: 50px
}

.card-table-forum-list .meta td:nth-child(2) {
    width: 60%
}

.card-table-forum-list .meta td:nth-child(3) {}

.card-table-forum-list .meta td:nth-child(4) {
    width: 25%
}

.card-table.threadlist thead th:nth-child(1) {
    width: 5%
}

.card-table.threadlist thead th:nth-child(2) {
    width: 50%
}

.card-table.threadlist thead th:nth-child(3) {
    width: 10%
}

.card-table.threadlist thead th:nth-child(4) {
    width: 10%
}

.card-table.threadlist thead th:nth-child(5) {
    width: 10%
}

.card-table.threadlist thead th:nth-child(6) {
    width: 10%
}

@media(min-width:640px){
    .thread-post>tbody>tr>td:nth-child(1) {
        width: 15%;
    }
    
    .thread-post>tbody>tr>td:nth-child(2) {
        width: 85%;
    }
}

.btn-group {
    position: relative;
}

.form-check-label {
    padding-left: 1.25em;
}

.form-check-label::before {
    width: 1em;
    height: 1em;
}

input[type="checkbox"]+.form-check-label::after {
    width: .75em;
    height: .75em;
}

.list-inline {
    display: block;
    padding: 0;
}

.list-inline li {
    display: inline-block;
    margin: .125em;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.list-unstyled {
    padding: 0;
    list-style: none;
}

.thread-post {
    word-break: break-all;
}

.thread-post .userinfo {
    width: 10em;
}

@media (max-width:640px) {
    .card-table tr {
        display: flex;
        flex-direction: column;
    }

    .card-table-forum-list .meta td:nth-child(1) {
        width: 100%
    }
    
    .card-table-forum-list .meta td:nth-child(2) {
        width:100%
    }
    
    .card-table-forum-list .meta td:nth-child(3) {}
    
    .card-table-forum-list .meta td:nth-child(4) {
        display: none;
    }

    .card-table-forum-list .data td:nth-child(3) {
        display: none;
    }

    .thread-post .userinfo tr:nth-child(2){
        display: none;
    }
    .thread-post .userinfo tr:nth-child(4){
        display: none;
    }

    .thread-post .userinfo {
        width: 100%;
    }

    .threadlist thead {
        display: none;
    }
    .threadlist tbody td {
        width: 100%;
        text-align: left;
    }

    .threadlist tbody td:nth-child(1) {
        display: none;
    }

    .threadlist tbody td:nth-child(3):before {
        content: "作者：";
    }
    .threadlist tbody td:nth-child(4):before {
        content: "回复/人气：";
    }
    .threadlist tbody td:nth-child(5):before {
        content: "最后更新时间：";
    }
}
