#advfilterhead {
    padding-top: 10px;
}

#advfilterhead .section-header {
    border-left: none;
    border-bottom: 2px solid var(--border-color-2);
}

@media screen and (max-width:768px) {
    #advfilterhead .section-header h1 {
        font-size: 1rem;
    }
}

#advfilterhead .section-header h1 {
    flex-shrink: 1;
    flex-grow: 1;
    line-height: 1.4;
}

#advfilterhead .section-header .getmorebtn {
    flex-shrink: 0;
    padding: 3px 10px;
    background-color: var(--bg-color-secondary-2);
    color: #f1f3f5;
    border-radius: 6px;
}

#adv-search {
    display: block;
    margin-bottom: 12px;
    background-color: var(--bg-color);
    padding: .2rem 13px 1rem;
}

@media screen and (min-width:768px) {
    #adv-search {
        padding: .2rem 2rem 2rem;
        border-radius: 6px;
        border: 1px solid var(--border-color-3);
        background-color: var(--bg-color);
    }
}

#adv-search .button {
    cursor: pointer;
}

#adv-search.hidden {
    display: none;
}

#adv-search .short-fields {
    width: 100%;
}

@media screen and (min-width:768px) {
    #adv-search .short-fields {
        width: 40%;
    }
}

#adv-result .filter-summary {
    font-size: 1rem;
}

#adv-result .filter-summary strong,
#adv-result .filter-summary span {
    display: block;
}

#adv-result .paging {
    border-top: 1px solid var(--border-color-4);
    padding-top: .8rem;
    display: flex;
}

#adv-result .paging .pagination-container {
    margin: auto;
}

#adv-result-novels {
    padding: 1.2rem 0;
}

#adv-result-novels .novel-list.horizontal .novel-item .cover-wrap {
    width: 19.8%;
}

#adv-result-novels .novel-list .novel-item .novel-stats {
    font-size: .725rem;
}

#adv-result-novels .novel-list .novel-item .novel-stats .rating-star {
    margin-bottom: .2rem;
}

#adv-result-novels .novel-list .novel-item .novel-stats .rating-star .star-wrap {
    margin-bottom: 1px;
    margin-right: 4px;
}

#adv-result-novels .novel-list .novel-item .novel-stats .rating-star .star-wrap .star {
    width: 1.1em;
    height: 1.1em;
}

.adv-check {
    display: flex;
    flex-wrap: wrap;
}

.adv-check .chk-item {
    width: 50%;
    display: block;
    position: relative;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 14px;
    clear: both;
    padding-left: 30px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media screen and (min-width:768px) {
    .adv-check .chk-item {
        width: 20%;
    }
}

.adv-check .chk-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.adv-check .chk-item .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: var(--bg-color-2);
    border-radius: 3px;
    border: 1px solid var(--border-color-5);
}

.adv-check .chk-item input:checked~.checkmark {
    border-radius: 5px;
    opacity: 1;
    border: 1px solid var(--border-color-5);
}

.adv-check .chk-item .checkmark::after {
    position: absolute;
    content: "";
    left: 10px;
    top: 10px;
    height: 0;
    width: 0;
    border-radius: 3px;
    border: solid #009bff;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(0deg) scale(0);
    -ms-transform: rotate(0deg) scale(0);
    transform: rotate(0deg) scale(0);
    opacity: 1;
}

.adv-check .chk-item input:checked~.checkmark::after {
    -webkit-transform: rotate(45deg) scale(1);
    -ms-transform: rotate(45deg) scale(1);
    transform: rotate(45deg) scale(1);
    opacity: 1;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid #009bff;
    border-width: 0 3px 3px 0;
    background-color: transparent;
    border-radius: 0;
}

.adv-select {
    margin: 10px 0;
}

.adv-select .lbl {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 12px;
}

.adv-select .lbl .tip {
    width: 100%;
    flex-grow: 1;
    font-size: 14px;
    font-weight: 400;
}

.adv-select .lbl .con {
    margin-left: 12px;
    width: 60px;
    padding: 0;
    height: 20px;
    font-size: 12px;
    background-color: var(--bg-color-5);
    border: 1px solid var(--border-color-5);
    color: var(--text-color-2);
}

.adv-select .sl {
    width: 100%;
    display: block;
    font-size: 14px;
}

.select2-container {
    line-height: 1.5;
}

.select2-container .select2-search--inline .select2-search__field {
    color: var(--text-color-2);
    height: 20px;
}

.select2-container .select2-search--inline .select2-search__field::-webkit-input-placeholder {
    font-size: 14px;
}

.select2-container .select2-selection--single {
    background-color: var(--bg-color-2);
    border: 1px solid var(--border-color-4);
    height: auto;
    font-size: 14px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 34px;
}

.select2-container .select2-selection--multiple {
    background-color: var(--bg-color-2);
    border: 1px solid var(--border-color-2);
    font-size: 14px;
    min-height: 34px;
}

.select2-container .select2-selection--multiple .select2-selection__choice__remove {
    font-size: 1.3em;
    background-color: var(--bg-color-secondary-2);
    color: var(--text-color-secondary-2);
}

.select2-container .select2-results__options {
    font-size: 14px;
}

.select2-container .select2-results__options .select2-results__option--selected {
    background-color: var(--bg-color-secondary-2);
    color: #f1f1f1;
}

.select2-container .select2-results__options .select2-results__option--highlighted.select2-results__option--selectable {
    color: #f1f1f1;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    color: var(--text-color);
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: var(--bg-color-secondary-2);
    border: 1px solid var(--tag-color);
    color: var(--text-color-secondary-2);
}

.select2-container .select2-dropdown {
    background-color: var(--bg-color-2);
    border: 1px solid var(--border-color-3);
}

@media screen and (min-width:768px) {
    #adv-result-novels .novel-list.horizontal .novel-item .cover-wrap {
        width: 22%;
    }
}

@media screen and (min-width:1024px) {
    #adv-result-novels .novel-list.horizontal .novel-item .cover-wrap {
        width: 17%;
    }

    #adv-result-novels .novel-list .novel-item .novel-stats {
        font-size: 14px;
    }
}