/*****************************************************************
게시판 공통 전체
*****************************************************************/
.n_board_txt > table,
.n_board_gallery > table {
    width: 100%;
    border: 0px solid #f00;
}

/*****************************************************************
게시판 최상단라인 & 기타영역 잡동 컬러
*****************************************************************/
.n_board_gallery > table .boxArea > table > tbody > tr > td {
    background-color: #fff;
    vertical-align: top;
}

/*****************************************************************
글목록 : 전체선택(관리자로그인시)
*****************************************************************/
.n_board_txt #check_all,
.n_board_gallery #check_all {
    width: 18px;
    height: 18px;
    margin: 5px;
}

/*****************************************************************
글읽기, 글쓰기 : tr > td(우측)
*****************************************************************/
.n_board_txt .board_desc {
    text-align: left;
}

/*****************************************************************
글쓰기 : 하단 공지글체크
*****************************************************************/
.n_board_txt .board_desc input[type=checkbox],
.n_board_gallery .board_desc input[type=checkbox] {
    max-width: 17px;
    max-height: 17px;
}

/*****************************************************************
글쓰기 : 상단입력내용(작성자,비번,제목등..) & 글목록 : 관리자체크박스
*****************************************************************/
.n_board_txt .board td input,
.n_board_gallery .board td input {
    width: 100%;
    border: 1px solid #ddd;
    background-color: transparent;
    height: 30px;
    padding: 3px 5px;
    margin: 1px 0;
}
.n_board_txt .board td input[type=file],
.n_board_gallery .board td input[type=file] {
    max-width: 500px;
    border: 0px solid #ddd;
}
.n_board_txt .seLayout,
.n_board_gallery .seLayout {
    border: none;
}

/*****************************************************************
글쓰기 : 전화번호, 휴대폰, 라디오버튼, 체크박스
*****************************************************************/
.n_board_txt .board td input[name=phone_no1],
.n_board_txt .board td input[name=phone_no2],
.n_board_txt .board td input[name=phone_no3],
.n_board_txt .board td input[name=mobile_no1],
.n_board_txt .board td input[name=mobile_no2],
.n_board_txt .board td input[name=mobile_no3] {
    max-width: 70px;
    width: 100%;
}
.n_board_txt .board td input[type=radio],
.n_board_txt .board td input[type=checkbox] {
    width: 20px;
    margin: 0 0 0 5px;
}

/*****************************************************************
글쓰기 : textarea
*****************************************************************/
.n_board_txt .seLayout #descriptionView_IFRAME,
.n_board_gallery .seLayout #descriptionView_IFRAME {
    border: 1px solid #ddd;
}

/*****************************************************************
글쓰기 : 확인버튼
*****************************************************************/
.n_board_txt .bbsnewf5 input[type=image],
.n_board_gallery .bbsnewf5 input[type=image] {
    width: auto;
    vertical-align: top;
    padding: 0px;
    border: 0px solid #f00;
}

/*****************************************************************
글쓰기 : 취소버튼 & 글보기 : 버튼들
*****************************************************************/
.n_board_txt .bbsnewf5 > a img,
.n_board_gallery .bbsnewf5 > a img {
    border: 0px solid #f00;
    vertical-align: top;
    
}

/*****************************************************************
글목록 : 셀렉트박스
*****************************************************************/
.n_board_txt .est_cate_cell select,
.n_board_gallery .est_cate_cell select {
    height: 30px;
    border: 1px solid #bbb;
    margin: 1px 0;
}

/*****************************************************************
글쓰기 : 셀렉트박스
*****************************************************************/
.n_board_txt .board_desc > select,
.n_board_gallery .board_desc > select {
    width: 120px;
    height: 30px;
    border: 1px solid #bbb;
    margin: 1px 0;
}

/*****************************************************************
글목록 : 검색어입력
*****************************************************************/
.n_board_txt .est_keyword_cell input[name=com_board_search_value],
.n_board_gallery .est_keyword_cell input[name=com_board_search_value] {
    height: 30px;
    max-width: 150px;
    margin: 0 1px;
    border: 1px solid #bbb;
    margin: 1px 0;
}

/*****************************************************************
글목록 : 검색버튼
*****************************************************************/
.n_board_txt .est_btn_cell input[title=input],
.n_board_gallery .est_btn_cell input[title=input] {
    border: 0px solid #ddd;
    padding: 0px;
}

/*****************************************************************
글목록 : 관리자 로그인시 게시물체크박스
*****************************************************************/
.n_board_txt .bbschk input[type=checkbox] {
    width: 17px;
    height: 17px;
}

/*****************************************************************
갤러리목록 : 관리자 로그인시 게시물체크박스
*****************************************************************/
.n_board_gallery .adminCheck {
    position: relative;
    width: 0px;
}
.n_board_gallery .adminCheckBox {
    position: absolute;
    z-index: 1;
    top: 3px;
    left: 6px;
    width: 20px !important;
}

/*****************************************************************
갤러리목록 : 이미지사이즈
*****************************************************************/
.n_board_gallery .nSize img {
    width: 100%;
    height: auto;
    padding: 5px 3px 0;
}
.n_board_gallery .nSize:hover img {
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    opacity: 0.8;
}

/*****************************************************************
갤러리형 게시판 : 각각의 칸영역(2단,3단,4단 등..)
*****************************************************************/
.n_board_gallery .boxArea {
    padding-bottom: 50px;
}


/*****************************************************************
글목록 : 최상단 라인영역
*****************************************************************/
.board_top_line {
    background-color: #555;
    height: 1px;
}

/*****************************************************************
글목록 : 최상단 구분영역
*****************************************************************/
.n_board_txt .board .boardTitBar {
    background-color: #f1f1f1;
    border-bottom: 1px solid #ddd;
    color: #333;
    font-size: 0.875em;
    height: 40px;
}
.n_board_txt .boardTitBar td:first-child {
    width: 80px;
}

/*****************************************************************
텍스트형 게시판 : 롤오버 선택컬러
*****************************************************************/
.n_board_txt .tr_line,
.n_board_gallery .tr_line {
    border-bottom: 1px solid #ddd;
    background-color: #fff;
}
.n_board_txt .tr_line:hover {
    background-color: #eee;
}

/*****************************************************************
글목록 : 행 높이
*****************************************************************/
.n_board_txt .tr_line td {
    font-size: 1.0em;
    padding: 8px 5px;
}

/*****************************************************************
글목록 : 행 : 작성자,작성일자,조회수 등
*****************************************************************/
.n_board_txt .tr_line .bbsno,
.n_board_txt .tr_line .bbscategory,
.n_board_txt .tr_line .bbswriter,
.n_board_txt .tr_line .bbsetc_dateof_write,
.n_board_txt .tr_line .bbsetc_view_count {
    font-size: 0.875em;
    color: #888;
}

/*****************************************************************
글보기,글쓰기 : 항목구분 행
*****************************************************************/
.n_board_txt .diviedLine td,
.n_board_gallery .diviedLine td {
    border-top: 1px solid #fff;
}

/*****************************************************************
글보기 : 이미지사이즈 100%
*****************************************************************/
.n_board_txt #post_area,
.n_board_gallery #post_area {
    width: 100%;
    height: auto;
    padding: 10px 10px 100px;
    border: 1px solid #e5e5e5;
    border-width: 1px 0;
    text-align: left;
}
.n_board_txt #post_area > img,
.n_board_gallery #post_area > img {
    width: 100% !important;
    height: 100% !important;
}
.n_board_txt #post_area .fsize img,
.n_board_gallery #post_area .fsize img {
    max-width: 100% !important;
    height: 100% !important;
}
@media screen and (max-width: 425px) {
    .n_board_txt #post_area img,
    .n_board_gallery #post_area img {
        width: 100% !important;
        height: 100% !important;
    }
}
/* 하단 목록이미지 */
.n_board_gallery .image_sublist {
    display: none;
}


/*****************************************************************
글보기 : embed : 동영상게시판
*****************************************************************/
.n_board_txt #post_area embed,
.n_board_gallery #post_area embed {
    width: 100%;
    border: 0px solid #f00;
}
@media screen and (max-width: 768px) {
    embed {
        height: 400px;
    }
}
@media screen and (max-width: 425px) {
    embed {
        height: 300px;
    }
}

/*****************************************************************
셀렉트박스 : 공통
*****************************************************************/
.n_board_txt select,
.n_board_gallery select {
    width: 80px;
    max-width: 100%;
    padding: 3px;
    font-size: 0.875em;
    color: #555;
}

/*****************************************************************
글쓰기 : 하단버튼그룹의 상단여백
*****************************************************************/
.n_board_txt .nbButton,
.n_board_gallery .nbButton {
    margin-top: 30px;
    border: 0px solid #f00;
}

/*****************************************************************
글보기 : 하단버튼영역
*****************************************************************/
.veiwBottonArea {
    border: 0px solid #f00;
}
.veiwBottonArea a {
    display: inline-block;
}

/*****************************************************************
카테고리 영역
*****************************************************************/
.categoryArea {
    margin-bottom: 5px;
    text-align: left;/* left, right, center */
}
.categoryArea img {
    display: none;
}
.categoryArea b {
    display: none;/* none, inline-block */
    vertical-align: top;/* top, middle, bottom */
    font-weight: normal;
    font-size: 0.875em;
    color: #555;
}
.categoryArea select {
    width: 120px;
}

/*****************************************************************
게시판 : 페이징
*****************************************************************/
.paging {
    font-size: 0.875em;
}
.paging b {
    display: inline-block;
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 3px 8px;
    text-align: center;
    font-weight: normal;
    color: #000;
}
.paging a {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 3px 8px;
    text-align: center;
    color: #888;
}










@media (max-width:768px) {
    
    /*****************************************************************
    텍스트형 게시판 : 노출항목 & 목록사이즈
    *****************************************************************/
    .n_board_txt .board .boardTitBar {
        display: none;
    }
    
    .n_board_txt .tr_line td {
        display: none;
    }
    
    
    /*****************************************************************
    관리자 로그인시 나타나는 체크박스
    *****************************************************************/
    .n_board_txt .tr_line td.bbschk {
        position: absolute;
        left: 10px;
        display: inline-block;
    }
    
    .n_board_txt .tr_line td.bbsno {
        width: 15%;
        display: inline-block;
        float: left;
    }
    
    .n_board_txt .tr_line td.bbsnewf5 {
        width: 65%;
        display: inline-block;
        margin-top: -1px;
        float: left;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    
    .n_board_txt .tr_line td.bbswriter {
        width: 20%;
        display: inline-block;
        float: right;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    
    
    /*****************************************************************
    갤러리형 게시판 : 목록이미지
    *****************************************************************/
    .n_board_gallery .boxArea {
        display: block;
        width: 100%;
    }
    .n_board_gallery .nSize img {
        padding: 5px 0px 0;
    }
    
    
    /*****************************************************************
    댓글영역 : 이름,내용,시간
    *****************************************************************/
    .comment_name {
        width: 150px;
        display: block;
        border: 0px solid #f00;
    }
    
    .comment_view {
/*        width: 100px;*/
        display: block;
        border: 0px solid #f00;
    }
    
    .comment_hour {
        width: 100px;
        border: 0px solid #f00;
    }
    
}


/*****************************************************************
댓글영역 : 이름,내용,시간
*****************************************************************/
.commentArea {
    font-size: 0.875em;
    color: #888;
    border: 1px solid #eee !important;
}
.comment_name {
    width: 150px;
}
.comment_view {
    width: auto;
}
.comment_hour {
    width: 100px;
    padding: 3px 0;
}