@import url("/resources/glassart/css/modules/text-editor.css");
@import url("/resources/glassart/css/modules/sns-circle.css");
@import url("/resources/glassart/css/modules/series-card.css");


.series-part .title-wrap .tag-fill {
    margin-right: 0px;
    position: absolute;
    top: -10px;
    right: -11.5px;
}
.sidebar-about .sidebar-content p {
    font-size: 15px;
    font-weight: 400;
    line-height: 160%;
}
.sidebar-about {
    margin-top: -2px;
    margin-bottom: 32px;
}
.sidebar-writer .author-img {
    border-radius: 24px;
    padding-right: 0px;
    margin-right: 16px;
    width: 90px !important;
    height: 90px;
    object-fit: cover;
    margin-top: 4px;
    float: left;
}
.sidebar-writer {
    margin-bottom: 36px;
}
.sidebar-div-dt .sidebar-tags .title h2 {
    margin-bottom: 18px;
}
.sidebar-tags .sidebar-content {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 10px;
}
.sidebar-div-dt .sidebar-about .title h2 {
    margin-bottom: 16px;
}
.sidebar-writer .querry-user p {
    font-size: 15px;
    font-weight: 400;
    line-height: 160%;
}


.img-article-wr-series {
    position: relative; /* This makes it easier to position the number absolutely */
    width: 100%;
    padding-bottom: 100%;
}

.media-count {
    position: absolute;
    top: -15px; /* Adjust this value as needed */
    right: -15px; /* Adjust this value as needed */
    width: 40px; /* Width of the outer circle */
    height: 40px; /* Height of the outer circle */
    background-color: #9c8982; /* Outer brown color */
    color: #FFFFFF; /* Text color */
    border-radius: 50%; /* Outer circle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px; /* Larger font size */
    line-height: 1;
    z-index: 3;
}

.link-blue {
    color: #A2843A;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 17.14px;
    letter-spacing: 1px;
}


.article-series-page .div-dt-content .left-content .series-part-row {
    margin-top: 0px;
}
.article-series-grid {
    display: grid;
    grid-template-columns: 65.59% 1fr;
    gap: 48px;
    margin-top: 51px;
}
.article-series-grid .sidebar-div-dt {
    border-left: 0.5px solid #121212;
    padding-left: 48px;
}
.sidebar-div-dt .title h2 {
    margin: 0px 0px 15px;
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 1.6px;
}
.article-series-grid .left-content .series-part .title-wrap {
    margin-bottom: 63px;
    padding: 22px 22px 25.5px;
}
.content-layout .article-series-page {
    padding-top: 80px;
    padding-bottom: 100px;
}
.article-series-grid .left-content .line-dashed:last-of-type {
    margin-bottom: 0px;
}
.article-series-page .series-part .title-wrap .tag-fill {
    z-index: 1;
    width: 30px;
    min-width: 30px;
    height: 30px;
}
.article-series-page .series-part .title-wrap .tag-fill h5 {
    font-size: 15px;
}

.article-series-page .series-part .title-wrap .ttl-big {
    display: block;
}
.article-series-page .sidebar-series {
    margin-top: 0px;
}

@media screen and (max-width: 1024px) {
    .article-series-grid {
        gap: 30px;
    }
    .article-series-grid .sidebar-div-dt {
        padding-left: 30px;
    }
}

@media screen and (max-width: 768px) {
    .article-series-grid {
        display: block;
    }
    /*main content section*/
    .div-dt .left-content {
        width: 100%;
    }
    .div-dt .main-image{
        height: auto;
    }

    .div-dt-content .btn-news-top {
        width: 100%;
        display: block;
        float: none;
        margin-top: 0;
    }
    .div-dt-content .book-other {
        width: 100%;
        margin: 1.5em auto 2em;
    }

    .article-series-grid .left-content {
        max-width: unset;
        width: 100%;
    }
    .article-series-grid .sidebar-div-dt {
        max-width: unset;
        width: 100%;
        margin-top: 100px;
        padding-left: 0px;
        border-left: none;
    }

    /*sidebar section*/
    .div-dt .newsList-page {
        width: 100%;
        margin-top: 4em;
    }
    .div-archive .div-dt-content .sidebar-div-dt.newsList-page{
        margin-top: 1em;
    }
    .article-img .img-size{
        height: auto;
    }
    .div-dt .sidebar-news .title .hz-line {
        margin: unset;
    }
    .sidebar-topics .title p, .sidebar-topics .title h5 {
        text-align: center;
    }
    .div-dt .sidebar-topics .title .hz-line, .div-dt .sidebar-sns .title .hz-line, .div-dt .sidebar-books .title .hz-line {
        margin: auto;
    }
    .sidebar-sns .title p, .sidebar-sns .title h5 {
        text-align: left;
    }
    .div-dt .sidebar-sns .title .hz-line {
        width: 150px;
        display: inline-block;
    }
    .list-topic li.line {
        width: 100%;
    }
    .sidebar-books .title p, .sidebar-books .title h5 {
        text-align: center;
        word-break: keep-all;
    }

    .div-dt .new-tag {
        right: 11%;
    }
    .div-dt .sidebar-news.sidebar-feature .new-lay-new-article a .news-recom {
        width: 100%;
        padding-top: 0;
        padding: .5em 1em 1.5em;
        border-bottom: none;
        margin-top: 0;
    }
    .sidebar-div-dt .sidebar-books .title {
        margin-left: auto;
        margin-right: auto;
    }
    .new-lay-new-article {
        display: flex;
        flex-flow: wrap;
    }
    .new-lay-new-article a {
        width: 50%;
    }

    /*new css 07/29/2020*/    
    .div-dt-content .book-other {
        text-align: left;
    }

    /*new css 07/30/2020*/
    .sidebar-sns .sns-div-content .s-icon {
        width: 33.3333%;
        border-bottom: none;
        border-right: 1px dashed #d3d2d3;
        padding: 0 2em .5em;
        margin-bottom: 3em;
    }
    .sidebar-sns .sns-div-content .s-icon:nth-child(4n) {
        border-right: 1px dashed #d3d2d3;
    }
    .sidebar-sns .sns-div-content .s-icon:nth-child(3n) {
        border-right: none;
    }
    .sidebar-sns .sns-div-content .s-icon p {
        margin-top: 0;
    }
    .sidebar-sns .list-topic {
        margin-top: 2em;
    }
    .sidebar-sns .sns-div-content .s-icon:last-child {
        margin-bottom: 3em;
    }

    .sidebar-books .article-img {
        width: 25%;
        padding-left: 0;
    }

    .tag-new-article {
        left: 0px;
        top: 0px;
    }
    .news-recom .article-img .tag-new-article {
        left: 0;
    }
    .sidebar-div-dt .new-article-boxes {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 10px;
        grid-template-rows: 1fr;
        grid-template-areas: none;
    }

    /*=========================================archive css==========================================*/
    .div-archive .news-pagination .pagination {
        margin-bottom: 0;
    }
    .div-archive .div-dt-content {
        margin-bottom: 0;
    }
    .div-archive .archive-pagi .ui-grid-row:first-child .row-wrap .img {
        padding-top: 1em;
    }

}

@media screen and (max-width: 40.063em) {
    .div-dt .head .title {
        margin-bottom: 0;
    }
    .div-dt .head ul {
        margin: 0em auto 1em;
    }
    .div-dt-content {
        margin-top: 0em;
        margin-bottom: 20px;
    }

    /*main content section*/
    .div-dt .newsList-page {
        margin-top: 2em;
    }
    .div-dt .main-image{
        height: auto;
        border-radius: .7rem;
    }
    .div-archive .div-dt-content .sidebar-div-dt.newsList-page{
        margin-top: 2.5em;
    }
    .img-list-div.w-80 {
        width: 100%;
    }
    .img-list-div.w-70 {
        width: 100%;
    }
    .about-list-div {
        padding: 2em 2em 1.3em;
    }
    .ttl-list-div h3 {
        font-size: 20px;
    }
    .div-dt-content h3.headline-news {
        margin-bottom: .5em;
    }
    .img-list-div {
        margin-bottom: 1em;
        margin-top: 1.5em;
    }
    .text-list-div {
        margin-bottom: 2em;
    }
    .div-dt .socmed-btn {
        margin-bottom: 3em;
    }
    .traditional .title-wrap p.ttl-big {
        margin-right: 0;
        margin-bottom: -5px;
        display: block;
        text-align: left;
    }
    .traditional .title-wrap p.ttl-big {
        color: #4F4E4E;
        font-size: 12px;
        margin-right: auto;
        padding-left: 8em;
        margin-top: 1.1em;
    }
    .traditional .title-wrap p {
        color: #f5b386;
        padding-left: 8em;
        margin: 0 0 0px;
    }
    .traditional .width-SM{
        width: 100%;
    }
    .traditional .fontsize15 p {
        font-size: 12px;
    }
    .text-SM{
        width: calc(100% - 57px);
        float: left;
    }
    .div-dt-content .left-content .btn-news-top span.vol {
        font-size: 14px;
    }

    /*sidebar section*/
    .sidebar-sns ul .img {
        width: 11%;
    }
    .sidebar-sns .title p, .sidebar-sns .title h5 {
        text-align: left;
    }
    .div-dt .sidebar-sns .title .hz-line {
        width: 150px;
        display: inline-block;
    }
    .article-img .img-size{
        height: auto;
    }
    .div-dt .sidebar-news.sidebar-feature .new-lay-new-article a .news-recom {
        width: 87vw;
        padding: 0;
        border-bottom: none;
        min-width: 87vw;
        margin-right: 16px;
        padding-bottom: 1.5em;
    }
    .newsList-page .sidebar-feature .new-lay-new-article a:first-child .news-recom {
        padding-top: 0;
        margin-top: 0;
    }
    .div-dt .sidebar-news.sidebar-feature .new-lay-new-article a:last-of-type .news-recom {
        border-bottom: none;
    }
    .div-dt .sidebar-news p {
        font-size: 14px;
    }
    .new-lay-new-article {
        flex-flow: nowrap;
        overflow-y: auto;
        padding-left: 16px!important;
        scrollbar-width: none;
    }
    .new-lay-new-article a {
        width: auto;
    }
    .sidebar-line-divide {
        width: calc(100% - 32px) !important;
        margin-left: 16px;
        margin-right: 16px;
    }
    .div-dt-content .left-content {
        padding-bottom: 0;
    }
    .div-dt-content .pad-sm-def-div {
        padding: 0 16px 0.5em;
    }
    .new-lay-new-article::-webkit-scrollbar {
        width: 0px;
        background: transparent; /* make scrollbar transparent */
        height: 0
    }

    /*teacher part*/
    .div-dt .teacher-part {
        padding: 1em;
        margin-top: 1em;
    }

    .div-dt .new-tag {
        right: 6%;
    }

    /*=========================================archive css==========================================*/
    .div-archive .row-wrap {
        display: block;
    }
    .div-archive .row-wrap .img {
        padding-right: 0;
        padding-top: 3em;
    }
    .div-archive .row-wrap .txt {
        padding-left: 0;
        padding-top: 0;
    }
    .div-archive .row-archive:first-child .row-wrap .img {
        /*padding-top: 2em;*/
    }
    .div-archive .div-dt-content {
        margin: auto auto 0em;
    }
    .row-archive img {
        height: 230px;
        object-fit: cover;
    }
    .div-archive .row-wrap p.vol {
        display: block;
        margin-left: 0;
    }
    .div-archive .row-wrap p.date {
        margin-top: 0;
    }
    .div-archive .row-wrap p.ttl {
        margin-bottom: 0;
    }
    .div-archive .row-wrap .img {
        padding-bottom: 0.5em;
        padding-top: 1.7em;
    }
    .div-archive .row-wrap .txt {
        padding-bottom: 0.5em;
    }
    .div-archive .archive-pagi .ui-paginator .ui-paginator-prev.ui-state-disabled, body .ui-paginator .ui-paginator-next.ui-state-disabled {
        background-color: #e0dad7;
    }
    .div-archive .archive-pagi .ui-datagrid .ui-paginator {
        margin-top: 2em;
        /* margin-bottom: 2.5em; */
        margin-bottom: 0em;
    }
    .archive-pagi a.ui-paginator-prev.ui-state-default.ui-corner-all{
        margin-right: 5px;
    }
    .archive-pagi a.ui-paginator-next.ui-state-default.ui-corner-all{
        margin-left: 5px;
    }

    /*new css 08/14/2020*/
    .div-dt .traditional .line-hz {
        margin: 0em auto 2em;
    }
    .traditional .title-wrap {
        margin: 0em auto 2em;
    }
    .sidebar-sns {
        margin-top: 1em;
    }

    .div-dt-content .headline-news  {
        font-size: 18px;
        margin: 16px 0px 0px;
    }
    .line-article-dt {
        margin: 24px 0px 22px;
    }
    .article-author-part-box {
        display: flex;
        flex-direction: column;
    }
    .article-author-part .author-image {
        width: 140px;
        padding-bottom: 140px;
        margin: auto;
    }
    .series-part .title-wrap {
        padding: 15px;
    }
    .series-part .tag-fill {
        margin-right: 12px;
    }
    .series-image {
        width: 95px;
        min-width: 95px;
        padding-bottom: 56px;
        margin-right: 11px;
    }
    .series-row p.desc {
        font-size: 15px;
    }
    .series-row .desc {
        font-size: 15px;
    }
    .series-desc-wr p.date {
        margin-top: 8px;
    }
    .series-desc-wr {
        margin-top: 1px;
    }
    .div-dt-content .sidebar-div-dt {
        margin-top: 50px;
    }
    .div-dt-content .left-content .series-part .btn-seemore {
        margin-top: 36px;
    }
    .sidebar-div-dt .title h2 {
        margin-bottom: 19px;
    }
    .sidebar-div-dt .new-article-boxes {
        display: flex;
        flex-direction: row;
        overflow: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 18px;

        padding: 20px 15px;
        width: calc(100% + 30px);
        margin: -20px 0px -20px -15px;

    }
    .sidebar-div-dt .new-article-boxes::-webkit-scrollbar {
        width: 0;
        height: 0;
    }
    .sidebar-series {
        margin-top: 50px;
    }
    .sidebar-books {
        margin-top: 50px;
    }
    .sidebar-div-dt .newslist-table {
        gap: 23px;
    }
    .div-dt-content .left-content .series-part .title-wrap {
        margin-bottom: 36px;
    }

    .content-layout .article-series-page {
        padding-top: 18px;
        padding-bottom: 40px;
    }
    .article-series-grid {
        margin-top: 27px;
    }
    .article-series-grid .left-content .series-part .title-wrap {
        margin-bottom: 36px;
        padding: 15px;
    }
    .article-series-page .sidebar-about .title {
        padding: 0px;
    }
    .article-series-grid .sidebar-div-dt {
        margin-top: 50px;
    }
}