@charset "UTF-8";
/*---------------  게시판  ---------------*/
p {
    margin: 0;
}

ul.notice {
    width: 100%;
    border-top: 2px solid #505c78;
    vertical-align: middle;
 
}

ul.notice li {
    padding: 20px;
    border-bottom: 1px solid #eaecf1;
    display: flex;
    align-items: center;
    gap: 3.6%;
}

.notice li:first-child{
    text-align: center;
    background-color: #eee;
    color: black;
    font-weight: 700;
    font-size: 16px;
}


ul.notice li:first-child p:nth-child(2) {
    flex: auto;  
}


.notice li:first-child .date{
    color: black;
    font-weight: 700;
    font-size: 16px;
    margin-right: 10px;

}

ul.notice li .date {
    left: 15px;
    font-size: 16px;
    color: #999;
    text-align: center;
    font-weight: 300;
}

ul.notice li .subject {
    font-size: 20px;
    font-weight: 300;
    flex: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    
}

ul.notice li:last-child {
    border-bottom: 2px solid #505c78;
}

.underlined-text {
    position: relative;
    display: inline-block;
    color: white; /* Adjust color as needed */
}

.underlined-text::after {
    content: "";
    position: absolute;
    width: 80%; /* Set the underline width to 80% */
    height: 2px; /* Adjust thickness of the underline */
    bottom: -20px; /* Adjust distance between text and underline */
    left: 50%;
    transform: translateX(-50%); /* Center the underline */
    background-color: white; /* Adjust underline color */
}

/*--------------- 반응형  ---------------*/
@media(max-width:700px){
    ul.notice li .date{
        font-size: 14px;
    }

    ul.notice li .subject {
        font-size: 16px;
    }
    ul.notice li p{
        font-size: 16px;
    }
    
}

@media(max-width:500px){
    ul.notice li{
        gap: 4%;
    }
 
    ul.notice li .date{
        font-size: 12px;
    }

    ul.notice li .subject {
        font-size: 14px;
    }
    ul.notice li p, .notice li:first-child .date{
        font-size: 14px;
    }

}       



