.board_form {}

.board_form>form {
    width: 100%;
    text-align: center;
    background-color: var(--board-color);
}

.form_box {
    padding-top: 10px;
}

.board_btn {
    margin: 20px 20px;
    padding-top: 10px;
    width: 260px;
}

/* 술 신청하기 end */

.post {
    width: 100%;
    display: flex;
    justify-content: center;
}

.board_text .link {
    width: 95%;
    display: flex;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
}

.link {
    cursor: pointer;
}

.link li {
    position: relative;
    /* width: 146px; */
    width: 200px;
    padding: 0;
    border-right: 1px solid var(--gray);
    word-break: keep-all;
    transition: all 0.2s;
}

.link li:hover i,
.link li:hover a {
    color: var(--icon-active);
    transform: scale(0.95);
}

.link li.active {
    color: var(--icon-active);
    font-size: 1.3rem;
}

.link li i {
    position: absolute;
    /* left: 15px;
    top: 5px; */
    right: 130px;
    top: 7px;
}

.link li a {
    display: inline-block;
    font-weight: bold;
}

.link li:nth-child(1) i,
.link li:nth-child(4) i,
.link li:nth-child(5) i {
    left: 25px;
}

.board_text div ul li:last-child {
    border-right: none;
}

/* board_title */
.board_title h2 {
    border-top: 1px solid var(--black100);
    border-bottom: 1px solid var(--black100);
    padding: 20px 0;
    font-size: 25px;
    font-weight: 300;
    width: 95%;
    margin: 30px auto 10px;
}

/* board_post */
.board_post {
    margin: 0 auto;
    width: 95%;
    text-align: left;
    margin-bottom: 20px;
}
.board_post p {
    font-size: 14px;
}
.board_post .input_img {
    font-family: 'nanumSquareNeo';
    font-size: 15px;
    margin-bottom: 10px;
}
::-webkit-file-upload-button {
    border: 1px solid #757575;
    background-color: var(--bgcolor);
    margin-right: 10px;
}

/* board_item */
.board_item {
    margin: 0 auto;
    width: 95%;
}
.board_content {
    height: 50vh;
}
.ck-editor__editable {
    height: 30vh;
}

/* 포스트 종류 */

.board_input_title {
    width: 95%;
    margin-bottom: 15px;
    border: 1px solid #c4c4c4;
}

.board_input_contents {
    width: 95%;
    height: 400px;
}

/* 하단 버튼 */
.create {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 0 20px 20px 0;
}

.create>button {
    display: block;
    width: 150px;
}


/* board view */
.form_title {
    width: 100%;
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid black;
}

.form_title h2 {
    font-weight: bold;
    font-size: 1.3rem;
}

.form_title em {
    font-style: normal;
}

.board_table {
    width: 100%;
    margin: 30px 0;
}

.board_table tr td:nth-child(2) em {
    font-size: 0.7rem;
    color: red;
}

thead tr th {
    text-align: center;
}

tbody tr td:nth-child(2) {
    text-align: left;
}

tbody tr td {
    text-align: center;
    white-space: nowrap;
    /* 텍스트를 한 줄에 표시 */
    overflow: hidden;
    /* 넘치는 부분을 숨김 */
    text-overflow: ellipsis;
    /* '...'을 표시 */
    max-width: 40px;
    height: 10px;
}

table tbody tr td:nth-child(2) a:hover,
table tbody tr td:nth-child(3):hover {
    text-decoration: underline;
    text-underline-position: under;
}

/* 테이블 디자인 */

/* 보드 페이지네이션 */
.board_option {
    border-top: 1px solid var(--gray);
}

.board_pages {
    margin: 20px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.board_pages ul {
    display: flex;
    justify-content: space-evenly;
    width: 50%;
}

.board_pages ul li a {
    display: inline-block;
    padding: 0px 8px;
}

.board_pages ul li a:hover {
    text-decoration: underline;
    text-underline-position: under;
    text-decoration-color: var(--mcolor);
    color: var(--mcolorUp);
    font-weight: bold;
}

.board_pages ul li.active a {
    color: var(--mcolor);
    font-weight: bold;
    border: 1px solid var(--gray);
}

/* 페이지네이션 작업  */



/* 보드 서치 */
/* .board_search form {
}
.board_search_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
#search_input {
    min-width: 240px;
}
.board_search_box input {
    outline: none;
    padding: 8px 15px;
    border: none;
    border-radius: 10px;
    color: #555;
}

 */


.board_search {
    margin: 0 auto;
}

.board_search_option {
    margin-top: 5px;
    display: flex;
}

.board_search_option:nth-child(1) {
    margin-left: 210px;
}

.component_box {
    text-align: center;
    line-height: 2rem;
}

.select_compponent {
    width: 20%;
    height: 40px;
    line-height: 40px;
    border: 1px solid var(--gray);
    text-align: left;
    margin-right: 20px;
    padding-left: 10px;
    position: relative;
}

.select_compponent a {
    font-size: 0.9rem;
    color: #757575;
}

.select_compponent a i {
    position: absolute;
    font-size: 1rem;
    top: 0.8rem;
    left: 8rem;
}


.select_compponent a:hover {
    color: #555;
    text-decoration: underline;
    text-underline-position: under;
    text-decoration-color: #757575;
}

.board_search_box {
    height: 40px;
    line-height: 2.5rem;
    border: 1px solid var(--gray);
    position: relative;
}

.board_search_box input {
    outline: none;
    padding: 8px 15px;
    border: none;
    border-radius: 10px;
    color: #555;
}

.board_search_box input::placeholder {
    font-size: 1rem;
}

.board_search_box button {
    background-color: transparent;
    border: none;
    color: var(--mcolor);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 12px 15px;
    position: absolute;
    right: 0rem;
    top: 23px;
    transform: translateY(-50%);
}



@media (max-width: 1870px) {
    .board_search_option:nth-child(1) {
        margin-left: 160px;
    } 
}
@media (max-width: 1800px) {
    .select_compponent a i {
        left: 7rem;
    }
}
@media (max-width: 1800px) {
    .board_search_option:nth-child(1) {
        margin-left: 250px;
    } 
    .select_compponent a i {
        left: 6.5rem;
    }
    
}

@media (max-width: 1750px) {
    .board_search_option:nth-child(1) {
        margin-left: 160px;
    }
    .select_compponent a i {
        left: 6.5rem;
    }
}
@media (max-width: 1650px) {
    .select_compponent a i {
        top: 15px;
        left: 10rem;
    }
}

@media (max-width: 1580px) {  
    .select_compponent a i {
        left: 9rem;
    }
}
@media (max-width: 1500px) {  
    .select_compponent a i {
        left: 8rem;
    }
}
@media (max-width: 1420px) {  
    .board_search_option:nth-child(1) {
        margin-left: 100px;
    }
    .select_compponent a i {
        left: 7rem;
    }
}

@media (max-width: 1400px) {

    .board_search_option:nth-child(1) {
        margin-left: 80px;
    }
    .link li {
        margin-left: -25px;
    }

    .link li i {
        left: 10px;
    }

    .select_compponent a i {
        display: none;
    }
}

@media (max-width: 1300px) {
    .board_search_option:nth-child(1) {
        margin-left: 110px;
    }
    .select_compponent {
        margin-right: 0;
    }
    .link li:nth-child(1) i,
    .link li:nth-child(4) i,
    .link li:nth-child(5) i {
        left: 15px;
    }
}

@media (max-width: 1200px) {
    .board_search_option:nth-child(1) {
        margin-left: 35px;
    }
    .link li:nth-child(1) i,
    .link li:nth-child(4) i,
    .link li:nth-child(5) i {
        left: 10px;
    }
}

@media (max-width: 1150px) {
    .board_search_option:nth-child(1) {
        margin-left: 150px;
    }
}

@media (max-width: 1000px) {
    .board_search_option:nth-child(1) {
        margin-left: 10px;
    }
}

@media (max-width: 950px) {
    .link li i {
        left: 5px;
    }
}

@media (max-width: 560px) {
    .form_box {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .board_btn {
        align-items: center;
        width: 95%;
        margin: 20px 0 5px 0;
    }

    .board_text {
        margin: 0;
        width: 100%;
    }

    .link {
        height: 40px;
        margin-bottom: 5px;
    }

    .board_title {
        margin-bottom: 5px;
    }

    .board_content {
        margin-top: -20px;
    }

    .create {
        margin-left: 10px;
        margin-top: -50px;
    }

    .create button {
        width: 99%;
    }

    .link li {
        width: 120px;
    }

    .link li a {
        margin-left: -20px;
    }

    .link li i {
        font-size: 20px;
        margin-top: 0px;
        margin-left: -10px;
    }
}

@media (max-width: 490px) {
    .link li {
        border: none;
        display: inline-block;
    }

    .link li i {
        margin-left: 9px;
    }

    .link li i:last-child {
        margin-left: -125px;
    }
}

















.select_list {
    display: none;
}


.none {
    display: none;
}