#main .related-tag{
    display: flex;
    align-items: center;
    gap: 15px;
}

#main .related-tag .date{
    color: #0062C2;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

#main .related-tag .tag{
    color: #0062C2;
    background-color: #f8f8f8;
    font-weight: bold;
    border-radius: 40px;
    font-size: 16px;
    padding: 2px 20px;
    margin: 0;
}

#main .related-content h4.h4{
    margin-top: 15px;
    font-size: 2.2rem;
}

#main .related-content-detail h4.h4{
    margin-top: 15px;
    font-size: 2.2rem;
}

#main .border-notice{
    /* border-bottom: 1px solid #ddd; */
    padding: 25px 0;
    margin: 0 15px;
}

#main #notice-list a{
    border-bottom: 1px solid #ddd;
    /* padding: 25px 0;
    margin: 0 15px; */
}


#notice-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

#notice-pagination button {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #f8f8f8;
    border-radius: 8px;
    background-color: #f8f8f8;
    color: #0062C2;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

#notice-pagination button.is-active {
    background-color: #0062C2;
    color: #fff;
}


#detail-content{
    padding: 15px 2px 0;
}
/* Hover */
@media (hover: hover) and (pointer: fine) {
    #notice-pagination button:not(.is-active):hover {
        background-color: #0062C2;
        color: #fff;
    }
}


#main .select-form{
    margin: 20px 0 60px;
}

.lineh4{
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

#detail-content {
    padding-bottom: 30px;
    border-bottom:  1px solid #ddd;
}

@media only screen and (min-width: 720px){

#main .related-item-img{
    padding-left: 0;

}

}


@media only screen and (max-width: 719px){

#main .border-notice{
    margin: 0 auto;
}

#main .related-tag .date{
    margin: 0;
}

#main .related-content h4.h4{
    margin-top: 10px;
    font-size: 2rem;
}

#main .related-content-detail h4.h4{
    margin-top: 10px;
    font-size: 2rem;
}

/* #main .related-tag{
    margin-top: 20px;
} */

#main .border-notice {
    border-bottom: none;
    padding: 0;
}

#main .related-content{
    padding: 0 0 30px;
}

#main .related-content-detail{
    padding: 0 15px 0;
}


#main .related-item-img{
    padding-left: 0;
    padding-right:0;
}


#main .related-tag{
    margin-top: 20px;
}

#main .select-form{
    margin: 20px 0 0;
}


#main #notice-list{
    padding: 0 25px;
}

#main .btn-extra .btn-view-more a {
    font-size: 18px;
}

#main .btn-view-more{
    margin-top: 50px;
}


#main #filter-notice {
    width: 310px;
}

}