/* 웹폰트 */
@font-face {
    font-family: 'BMDOHYEON';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/BMDOHYEON.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'JejuGothic';
    src: url("../font/JejuGothic.ttf");
    font-weight: normal;
    font-style: normal;
}



body {background-color: #f3e6c4;}

/* a 초기화 */
a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* button 초기화 */
button {
    border: none; 
    padding: none; 
    outline: none;
    background-color: transparent;
    cursor: pointer;
    overflow: visible;
}

/* select 초기화 */
select {
    border: none;
    appearance: none;
    -webkit-appearance: none;
    outline-style: none;
}

/* input 초기화 */
input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline-style: none;
    padding: 0;
}



/*---------------------------------------------------*/
/* 컨테이너 */
#container {
    width: 100%;

    position: relative;
}



/*---------------------------------------------------*/
/* 내비게이션 */ 
#nav {
    width: 100%;
    background-color: #674A40;

    position: fixed;
    top: 0;
    left: 0;

    z-index: 1000;
}

#nav > ul {
    width: 1200px;
    height: 59px;
    margin: 0 auto;
}

#nav > ul > li {
    font-family: 'BMDOHYEON';
    font-size: 17px;
    text-align: center;

    float: left;
}

#nav > ul > li:not(:first-child) > a {
    line-height: 59px;
    color: white;
    padding: 0 39.75px;
}

#nav > ul > li:first-child > a {
    width: 116px;
    height: 23px;
    padding: 18px 39.64px;
}

#nav > ul > li:hover > a {background-color: #E58551;}



/*---------------------------------------------------*/
/* 커뮤니티 전체  */
#contetnt_community {
    width: 1200px;
}

/*---------------------------------------------------*/
/* 상단 무늬 배경 */
.bg {
    width: 1200px;
    height: 283px;
    margin: 0 auto;

    background: url("../images/bg_line.png") no-repeat top center /cover;
    position: relative;
}

/*---------------------------------------------------*/
/* 공통 : 제목 */
.title_b {
    width: 1200px;
    margin: -41px auto 0;
}

.tilte_line {
    width: 442px;
    height: 11px;
    margin-top: 22px;
    background-color: #E58551;
}

.line_left {float: left;}

.line_right {float: right;}

.title_b > h2 {
    margin-left: 48px;

    font-family: 'BMDOHYEON';
    font-size: 55.57px;
    color: #674A40;
    text-shadow: 2px 2px 0 white, 4px 4px 0 #188699;

    float: left;
}

.title_b::after {content: ""; display: block; clear: both;}

/* 버튼 : 공지사항, 질문 */
#title_button {
    width: 1200px;
    margin: 154px auto 0;
}

#title_button > button {
    font-family: 'JejuGothic';
    font-size: 27px;
    text-align: center;
    line-height: 51px;
    color: white;

    opacity: 0.5;
}

#title_button > button:first-child {
    width: 338px;
    height: 51px;
    margin-left: 227px;

    background: url("../images/04/button_notice.png") no-repeat top center;
}

#title_button > button:last-child {
    width: 255px;
    height: 51px;
    margin-left: 154px;

    background: url("../images/04/button_answer.png") no-repeat top center;
}

/* 버튼 활성화 */
#title_button > button.on {opacity: 1;}

/* 버튼 hover */
#title_button > button:hover {opacity: 1;}


/*---------------------------------------------------*/
/* 목록 : 공지사항 */
#button_content_1 {
    width: 1200px;
    margin: 51px auto 0;
}

#button_content_1 > table {margin: 0 auto;}

/* 목록 : thead */
#button_content_1 > table > thead > tr > th {
    font-family: 'JejuGothic';
    font-size: 18px;
    text-align: center;
    vertical-align: middle;
    color: white;

    background-color: #E58551;

}

#button_content_1 > table > thead > tr > th:nth-child(1) {
    width: 130px;
    height: 52px;
}

#button_content_1 > table > thead > tr > th:nth-child(2) {width: 618px;}
#button_content_1 > table > thead > tr > th:nth-child(3) {width: 122px;}
#button_content_1 > table > thead > tr > th:nth-child(4) {width: 84px;}
#button_content_1 > table > thead > tr > th:nth-child(5) {width: 130px;}

/* 목록 : tbody */
#button_content_1 > table > tbody > tr > td {
    height: 42px;

    font-family: 'JejuGothic';
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
    color: #1E1E1E;
}

#button_content_1 > table > tbody > tr:first-child > td {font-weight: bold;}

#button_content_1 > table > tbody > tr > td:nth-child(2) {
    text-align: left;
    padding-left: 20px;
}

#button_content_1 > table > tbody > tr:last-child > td {border-bottom: 1px solid #E58551;}

#button_content_1 > table > tbody > tr > td:nth-child(2):hover > a {text-decoration: underline;}


/*---------------------------------------------------*/
/* 목록 : 질문과 답변 */
#button_content_2 {
    width: 1200px;
    margin: 51px auto 0;
}

#button_content_2 > table {margin: 0 auto;}

/* 목록 : thead */
#button_content_2 > table > thead > tr > th {
    font-family: 'JejuGothic';
    font-size: 18px;
    text-align: center;
    vertical-align: middle;
    color: white;

    background-color: #E58551;

}

#button_content_2 > table > thead > tr > th:nth-child(1) {
    width: 130px;
    height: 52px;
}

#button_content_2 > table > thead > tr > th:nth-child(2) {width: 618px;}
#button_content_2 > table > thead > tr > th:nth-child(3) {width: 122px;}
#button_content_2 > table > thead > tr > th:nth-child(4) {width: 84px;}
#button_content_2 > table > thead > tr > th:nth-child(5) {width: 130px;}

/* 목록 : tbody */
#button_content_2 > table > tbody > tr > td {
    height: 42px;

    font-family: 'JejuGothic';
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
    color: #1E1E1E;
}

#button_content_2 > table > tbody > tr > td:nth-child(2) {
    text-align: left;
    padding-left: 20px;
}

#button_content_2 > table > tbody > tr:last-child > td {border-bottom: 1px solid #E58551;}

#button_content_2 > table > tbody > tr > td:nth-child(2):hover > a {text-decoration: underline;}
/* 답변 목록 */
.answer > a {display: inline-block;}



/*---------------------------------------------------*/
/* 목록, 답변 공통 : 페이지 버튼 */
.number_button {
    width: 1200px;
    margin: 50px auto 0;
}

.number_button::after {content: ""; display: block; clear: both;}

.number_button > button {
    width: 39px;
    height: 39px;
    border: 1px solid #674A40;

    box-sizing: border-box;

    font-family: 'JejuGothic';
    font-size: 18px;
    text-align: center;
    line-height: 39px;
    color: #1E1E1E;

    float: left;
}

.number_button > button:nth-child(1) {
    margin-left: 483px;
    background-color: #674A40;
    color: white;
}

.number_button > button:not(:nth-child(1)) {border-left: none;}

.number_button > button:hover {
    background-color: #674A40;
    color: white;
    opacity: 0.5;
}

/* 목록, 답변 공통 : 검색창 */
.search {
    width: 1200px;
    margin: 50px auto 0;    
    padding-left: 311.5px;
}

.search::after {content: ""; display: block; clear: both;}

.search > select {
    padding-left: 10px;

    border: 2px solid #674A40;

    font-family: 'JejuGothic';
    font-size: 18px;
    line-height: 40px;
    color: #1E1E1E;

    background: url("../images/04/searh_down.png") no-repeat right 10px center;
    background-color : white;

    box-sizing: border-box;
    float: left;
}

.search > input[type="text"] {
    width: 400px;
    padding-left: 10px;

    border-top: 2px solid #674A40;
    border-bottom: 2px solid #674A40;

    font-family: 'JejuGothic';
    font-size: 18px;
    line-height: 40px;
    color: #1E1E1E;

    box-sizing: border-box;
    float: left;
}

.search > input[type="submit"] {
    width: 84px;
    background-color: #674A40;

    font-family: 'JejuGothic';
    font-size: 18px;
    text-align: center;
    line-height: 44px;
    color: white;

    cursor: pointer;

    box-sizing: border-box;
    float: left;
}

/* 목록 활성화 */
.community {display: none;}/* 비활성화시 안보이기 */
.community.on {display: block;} /* 활성화 */


/*---------------------------------------------------*/
/* 푸터 */
#footer {
    width: 100%;
    margin-top: 104px;
    background-color: white;
}

.footer_con{
    width: 1200px;
    margin: 0 auto;
    padding: 29px 19px;
}

.footer_con > p {
    font-family: 'JejuGothic';
    font-size: 15px;
}

.footer_con > p:first-child {
    line-height: 25px;

    float: left;
}

.footer_con > p:last-child {
    margin-top: 7px;
    line-height: 26px;

    float: right;
}

.footer_con > p:last-child > a {
    width: 26px;
    height: 26px;
    margin-left: 9px;

    float: right;
}

.footer_con::after {content:""; display: block; clear: both;}
