* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* board */
.sub-board {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    border-top: 2px solid #000;
}
.sub-board > ul > li {
    width: 100%;
    float: left;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}
.sub-board > ul > li a {
    display: block;
    width: 100%;
    float: left;  
    padding: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 1200px;
    text-indent: 10px;
}
.sub-board > ul > li a:hover {
    color: #049ca2;
}
.board-infobox {
    display: block;
    float: left;
    text-indent: 10px;
}
.board-infobox .date,
.board-infobox .writer {
    text-align: left;
    color: #666;
    margin-right: 20px;
}




/* 페이징 */
.pagenation {
    display: flex; 
    justify-content: center;
    align-items: center;
    gap: 20px; 
    width: 100%;
    margin-top: 2rem;
    position: relative;
}
.pagenation > ul {
    display: flex; 
    padding: 0;
    gap: 5px;
}
.pagenation > ul > li {
    display: flex;  
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    padding: 5px 0;
    margin: 0 15px;
    border: 1px solid transparent;
    border-radius: 50%;
    box-sizing: border-box;
}
.pagenation > ul > li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 28px;
    text-align: center;
}
.pagenation > ul > li.on {
   border-color: #00508a;
}
.pagenation > ul > li.on strong {
    color: #00508a;
    line-height: 28px;
}
.btn-pg-prev,
.btn-pg-next {
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
    top: 5px;
    background: transparent;
    cursor: pointer;
    padding: 0;
}
.btn-pg-prev::before,
.btn-pg-next::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform-origin: center;
}
.btn-pg-prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}
.btn-pg-next::before {
   transform: translate(-70%, -50%) rotate(45deg);
}



/* board view */
.board-topinfo {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid #666;
}
.board-title {
    display: block;
    width: 100%;
    max-width: 1200px;
    float: left;  
    padding: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.2rem;
    text-indent: 10px;
    font-weight: bold;
}
.textview-box {
    /* display: flex; 
    flex-direction: column;*/
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid #666;
}
.text-imgs {
    display: block;
    width: auto;
    padding: 5px 0;
}

.board-listBox {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1.5rem;
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;;
}
.board-listBox > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 50px;
    max-width: 1200px; 
}
.board-listBox > div:nth-of-type(1) {
    /* border-bottom: 1px solid #666; */
}
.b-li-prev-title,
.b-li-next-title {
    display: inline-block;
    position: relative;
    width: 10%;
    max-width: 100px;
    min-width: 100px;
    height: auto;
    top: 5px;
    background: transparent;
    cursor: pointer;
    padding: 0;
    text-indent: 40px;
    margin-top: -10px;
}
.b-li-prev-title::before,
.b-li-next-title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform-origin: center;
}
.b-li-prev-title::before {
    transform: translate(-50%, -50%) rotate(-45deg);
    margin-top: 2px;
}
.b-li-next-title::before {
   transform: translate(-50%, -50%) rotate(135deg);
   margin-top: -2px;
}
.board-listBox a {
    display: block;
    margin-left: 10px;
    padding: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.btns {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 20px;
}
.btn-golist {
    display: inline-block;
    float: right;
    width: 10%;
    min-width: 120px;
    height: 50px;
    background: #014a83;
    color: #fff !important;
    text-align: center;
    line-height: 50px;
    font-size: 1rem;
    border-radius: 5px;
}

/* FAQ 자주하는 질문 */
.ico_question {
    display: inline-block;
    background: #014a83;
    color: #fff;
    border-radius: 3px;
    text-align: center;
    text-indent: 0;
    padding: 0 5px;
}
.ico_answer {
    display: inline-block;
    background: #e3005b;
    color: #fff;
    border-radius: 3px;
    text-align: center;
    text-indent: 0;
    padding: 0 5px;
    margin-right: 10px;
    vertical-align: top;
}

.faw-board > .textview-box {
    border-bottom: none;
}
.ico_answer > div {
    display: inline-block;
}



/***************************** 미디어쿼리 ************************************/
@media screen and (max-width:1500px) { 

    .subcontainer {
        width: 90%;
        max-width: 90%;
    }

    .sub-board,
    .board-listBox > div {
        max-width: 100%;
    }
    .substance {
        width: 50%;
    }

    .sub-t-bg {
        background-size: cover;
    }
    .b-li-prev-title,
    .b-li-next-title {
        width: 15%;
    }
}
@media screen and (max-width:1366px) { 

}
@media screen and (max-width:1280px) { 

} 
@media screen and (max-width:1024px) {



 } 
@media screen and (max-width:980px) { 

   
 
} 
@media screen and (max-width:800px) {

 } 
@media screen and (max-width:768px) {


 } 
@media screen and (max-width:640px) { 
    .board-listBox {
        /* margin-bottom: 100px; */
    }
    .text-imgs {
        width: 100%;
    }
    .btn-golist {
        margin-bottom: 100px;
    }

} 
@media screen and (max-width:600px) {

 } 
@media screen and (max-width:480px) { 
    
} 
@media screen and (max-width:414px) { 

} 
@media screen and (max-width:375px) { 

} 
@media screen and (max-width:360px) { 

} 
@media screen and (max-width:320px) { 

}