@charset 'utf-8';

/* datatables */
.dataTable-top {display: flex; justify-content: space-between; margin-bottom: 2rem;}

.dataTable-input,
.dataTable-selector {
    display: block;
    width: 250px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.dataTable-selector {display: inline-block; width: 80px; margin-right: .8em;}

.dataTable-input:focus,
.dataTable-selector:focus {
    color: #495057;
    background-color: #fff;
    border-color: var(--color-main);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(102, 193, 76, 0.25);
}

.dataTable-input::-webkit-input-placeholder {
    color: #6c757d;
    opacity: 1;
}

.dataTable-input::-moz-placeholder {
    color: #6c757d;
    opacity: 1;
}

.dataTable-input:-ms-input-placeholder {
    color: #6c757d;
    opacity: 1;
}

.dataTable-input::-ms-input-placeholder {
    color: #6c757d;
    opacity: 1;
}

.dataTable-input::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* pagination */
.dataTable-pagination {
    margin-top: 3rem;
}

.dataTable-pagination ul {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.dataTable-pagination li.active {
    font-weight: 900;
}
.dataTable-pagination .page {
    font-size: 0;
}
.dataTable-pagination .pager:nth-of-type(2)::before {
    content: '\f104';
    font-size: 1rem;
    font-family: var(--ico-font-family);
}

.dataTable-pagination .pager a{font-size: 0;}
.dataTable-pagination .pager:first-of-type a::before {
    content: '\f104';
    font: 1rem var(--ico-font-family);
}
.dataTable-pagination .pager:last-of-type a::before {
    content: '\f105';
    font: 1rem var(--ico-font-family);
}
/* datatables end */

/* bootstrap */
.list-group-flush {
    border-top: 2px solid var(--color-grey);
    border-bottom: 2px solid var(--color-grey);
}
.list-group-flush .list-group-item {border-top: 0;border-bottom: 1px solid var(--color-grey);}
.list-group-flush a:last-of-type .list-group-item {border: 0;}
.list-group-flush .list-group-item a {align-items: center;}
.list-group-flush .list-group-item p.title {
    margin: 0;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-word;
    padding-right: .5em;
    line-height: 1.5em;
    white-space: nowrap;
}
.list-group-flush .list-group-item .date {
    font-size: .8em;
    white-space: nowrap;
}

/* bootstrap end */

/* article list */
.article-list {margin: 3em 0;}
.article-list .notice {background: #f4f5f7; font-weight: 900;}
.article-list .notice .badge {background: var(--color-main); padding-bottom: .25em; padding-top: .55em; margin-right: 1em;}
@media all and (max-width: 768px) {
    #dataSch > div {flex-direction: column;}
    #dataSch #submit {width: 100%;}
    .article-list-wrapper {margin-top: 4rem !important;}
}

/* article view */
.files .file .file-name {text-decoration: underline; display: block; width: 100%; text-overflow: ellipsis; overflow: hidden;}

.article-content {min-height: 50px; line-height: 1.8;}

@media all and (max-width: 768px) {
    .article-title {font-size: 1.4rem;}
    .files .file {flex-direction: column;}
    .files .file .file-size {text-align: right;}

    .article-content {margin-top: 2rem !important;}
}