﻿


.title {
    margin-bottom: 4rem;
}


/*비밀글 모달*/
.smog{
    width:100vw;
    height:100vh;
}

.s_modal{
    position: fixed;
    top: 50%;
    right: 50%;
    transform: translate(50%, -58%);
    width: 500px;
    height:400px;
    background:white;
    border-radius: 55px;
    overflow: hidden;
    box-shadow:0px 0px 12px 5px rgb(99 99 99 / 80%);
    font-family:Pretendard;
    display: grid;
    grid-template-areas:
    'a'
    'b';
    justify-content: center;
    align-content: center;
    z-index: 999999;
}


.s_modal .xbtn{
    position:absolute;
    top:30px;
    right:30px;
    width:30px;
}
.s_modal .xbtn:hover{
    cursor:pointer;
}
.s_modal>h3{
    grid-area:a;
    color:#bf3e3e;
    text-align: center;
    margin-top: -15px;
    line-height: 22px;
}

.s_modal .secret{
    grid-area:b;
    display:flex;
    justify-content:center;
    margin-top: 15px;
}

.s_modal .secret h3{
    color:black; 
    margin-right:10px;
     line-height:40px;
}

.s_modal .secret input{
    margin-right:10px;
    border:1px solid #bbbbbb;
    line-height:10px;
    width:250px;
    border-radius:5px;
    text-indent:10px;
}
.s_modal .secret button{
    border:none;
    color:white;
    padding:10px 30px;
    background:black;
    border-radius:10px;
}


.none{
    display:none;
}

.block{
    display:block
}

/*섹션1*/
.boardBtn{
    display:none;
}
.subsec1 {
    min-height: 100vh;
    padding: 130px 1.5rem 8rem;
}




/*작성버튼*/
.total-num {
    margin: 20px 0;
    font-size: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.add_btn {
    display: block;
    background: var(--main-color);
    color: white;
    border: none;
    padding: 15px 60px;
    border-radius: 10px;
    letter-spacing: 1px;
    font-size: 15px;
    cursor: pointer;
    margin-left: auto;
    text-align: right;
    width: auto;
}






/*공지사항 테이블*/
table {
  border-collapse: collapse;
  border-spacing: 0;
}
.notice {
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0px 0px 12px 2px rgba(200,200,200,0.3);
    border-radius: 25px;
    padding: 2.5rem;
}

.page-title {
  margin-bottom: 60px;
}
.page-title h3 {
  font-size: 28px;
  color: #333333;
  font-weight: 400;
  text-align: center;
}





/* #region 문의내역 */
.inquiry_list{
    list-style:none;
    padding:0;
    margin:0;
    margin-bottom: 50px;
    border-top: 1px solid #eee;
}

.inquiry_item{
    display:flex;
    align-items:center;
    padding: 20px 0;
    cursor: pointer;
    border-bottom:1px solid #eee;
}

/* 왼쪽 번호 + 아이콘 */
.inquiry_left{
    display:flex;
    align-items:center;
    gap:1.5rem;
    padding: 0 1.5rem;
}

.inquiry_no{
    font-weight:500;
}

.inquiry_lock{
    width:14px;
}

/* 중앙 영역 */
.inquiry_center{
    flex:1;
}

/* 제목줄 */
.inquiry_top{
    display:flex;
    gap:10px;
    margin-bottom:6px;
}

.inquiry_category{
    font-weight:600;
}

.inquiry_subject{
    font-weight:600;
    cursor:pointer;
}

/* 작성자줄 */
.inquiry_bottom{
    display:flex;
    gap:16px;
    font-size:13px;
    color:#888;
}
/* 우측 상태 */
.inquiry_right{
    text-align:right;
    margin-left: 10px;
}

.inquiry_status{
    display:inline-block;
    padding:6px 14px;
    font-size:13px;
    color:#3b82f6;
    background:#eef4ff;
    border-radius:8px;
}


@media (max-width:768px) {
    .inquiry_no {
        display: none;
    }

    .inquiry_left {
        gap: .7rem;
        padding: 0 .7rem;
    }

    .inquiry_item {
        align-items: flex-start;
    }

    .inquiry_content {
        padding-right: 70px;
    }

    .inquiry_top {
        flex-wrap: wrap;
        display: grid;
    }

        .inquiry_top > span {
            font-size: .93rem;
        }

    .inquiry_category {
        display: none;
    }

    .inquiry_subject {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: keep-all;
    }

    .inquiry_bottom {
        margin-top: 4px;
    }

    .inquiry_status {
        display: inline-block;
        padding: 6px 8px;
    }
}

@media (max-width: 480px) {
    .inquiry_item {
        align-items: flex-start;
        display: grid;
        gap: 4px;
        padding: 12px 0;
    }
    .inquiry_left{
        margin-bottom: 4px;
    }
    .inquiry_lock {
        width: 12px;
    }
}
/* #endregion */






@media (max-width:984px) {

    .notice{
        padding: 2rem;
    }

}



/*전체 제작문의 유지보수 필터버튼*/
#board-filter{
    height:auto;
    display:flex;
    align-items:center;
    column-gap: 10px;
}
#board-filter button{
    border: none;
    width: 120px;
    height: 42px;
    border-radius: 10px;
    box-shadow:0px 0px 6px 2px rgba(200, 200, 200, 0.3);
    background: white;
    transition:all 0.3s ease;
    font-family:Pretendard;
    font-size:15px;
    border: 1px solid #e7e7e7;
}
#board-filter button:hover{
    background:black !important;
    color:white !important;
    box-shadow:unset !important;
     transition:all 0.3s ease;
}
.filter{
    background:black !important;
    color:white;
    box-shadow:unset !important;
}

/* 검색창 */
 .search-wrap {
  width: 100%;
  max-width:320px;
  display: flex;
  align-items:center;
  position: relative;
}
 .search-wrap input {
  position: relative;
    width: 100%;
    height: 40px;
    outline: none;
    font-size: 14px;
    padding: 0px 14px;
    background: #fff;
    border: 1px solid #F0F1F2;
    border-radius: 10px;
}
.search-wrap input:focus {
  border-color: #ddd;
  outline: 0;
  border-width: 1px;
}
 .search-wrap .btn {
  font-size: 16px;
    position: absolute;
    right: 0;
    border:none;
    outline:none;
    height: 40px;
    font-size: 14px;
    padding: 7px 14px;
}
 
.search-icon{
    width:20px;
    position: relative;
    top: -2px;
}

@media (max-width:984px) {

    #board-filter button {
        width: 90px;
    }
}
@media (max-width: 768px) {
    #board-filter button {
        font-size: 14px;
    }
    .total-num{
        display: block;
        width: 100%;
    }
    .search-wrap {
        width: 100%;
        max-width: unset;
    }
    .subsec1{
        padding: 100px 0 0 0;
    }
        .notice {
        padding: 2rem 2rem 6rem 2rem;
    }
    .add_btn {
        margin: 0;
        width: 100%;
        padding: 0;
        height: 50px;
        line-height: 50px;
        text-align: center;
    }
    #board-filter {
    column-gap:6px;
        margin: 2rem 0 1.1rem 0;
}
}







.modal .num {
  padding: 0;
  width: 30px;
  height: 30px;
  line-height: 30px;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;}

.modal .num:hover {
  background-color: #5b5b5b;
  color: #ffffff;}

.modal .num.active, .modal .num:active {
  background-color: #5b5b5b;
  cursor: pointer;}

.arrow-left {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid blue;
}



/* 페이지네이션 */
.pagenation li.on {
    background: var(--main-color);
}
.pagenation li.on a {
    color: white;
}



/* 내역없는경우 */
.no_data{
    color: #666;
    height: 200px;
    line-height: 200px;
    text-align: center;
    margin-bottom: 50px;
}