
/* 게시판 */

.board-wrap input, .board-wrap select, .board-wrap textarea {
    border: none;
    background: #f1f3f5;
    height: 45px;
}
@media screen and (min-width: 768px){

    .board-wrap .m_width input {
        width:45%;
    }
}
@media screen and (max-width: 767px){
    .board-wrap {
        padding:0;
    }
    .board-wrap .m_width input {
        width:100%;
    }
    .board-wrap input, .board-wrap select, .board-wrap textarea {
        height: 35px;
    }

}
.board-search-wrap .search-btn-wrap a {
	background: #003e7e;
}
.basic-board-list, .webzine-board-list {
	border-top: 1px solid #000;
    border-bottom: 1px solid #c7c7c7;
}
.basic-board-list tbody tr,
.webzine-board-list tbody tr {
	border-top: 1px solid #c7c7c7;
}
.basic-board-list tbody tr:first-child,
.webzine-board-list tbody tr:first-child {
    border-top: 1px solid #000;
}
.basic-board-list thead th,
.webzine-board-list thead th {
	position: relative;
	background-color: #fff;
	font-size: 1rem;
    font-weight: 400;
}
.basic-board-list td, .webzine-board-list td {
	font-size: 1rem;
}
.basic-board-list thead th:before,
.webzine-board-list thead th:before {
    content: "";
    position: absolute;
    width: 1px;
    height: 16px;
    background-color: #b1b1b1;
    top: 18px;
    left: 0;
}
.basic-board-list thead th:first-child:before,
.webzine-board-list thead th:first-child:before {
	display: none;
}
.basic-board-list tbody td.board-subject a {
    font-size: 1rem;
}
.basic-board-list tbody td.board-subject a img.list-file2 {
	display: none;
}

@media (min-width: 768px){
    .basic-board-list td, .webzine-board-list td {
        padding: 22px 0 21px;
    }
}
.board-wrap .btn-write-wrap .btn-write {
    border: 1px solid #1b1e1f;
    background: #1b1e1f;
	color: #fff;
    font-weight: 400;
}
.board-paging-wrap {
    text-align: center;
}
.board-wrap .board-paging {
	margin: 15px 0;
    display: inline-block;
    text-align: center;
}
.board-paging li>a {
	border: 0;
	font-size: 16px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color:#999;
}
.board-paging li.on>a,
.board-paging li:hover>a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-weight: 600;
    color: #0026b5;
	border: none;
	background: none;
}

.paging-btn-next,
.paging-btn-last,
.paging-btn-first,
.paging-btn-prev {
    display: block;
    width: 30px;
    height: 30px;
}
.paging_first_wrap {
    float: left;
}
.paging-btn-first,
.paging-btn-prev {
    float: left;
}
.paging_last_wrap {
    float: right;
}
.paging-btn-next,
.paging-btn-last {
    float: left;
}

.paging-btn-next {background: url('/img/common/paging-btn-next.png')no-repeat;}
.paging-btn-last {background: url('/img/common/paging-btn-last.png')no-repeat;}
.paging-btn-first {background: url('/img/common/paging-btn-first.png')no-repeat;}
.paging-btn-prev {background: url('/img/common/paging-btn-prev.png')no-repeat;}


/* button */
.board-write-btn-wrap .btn-confirm {
    background: #28a7e1;
}

.board-write-btn-wrap a {
    margin: 0 3px;
    width: 200px;
    height: 70px;
    font-weight: 400;
    font-size: 16px;
    line-height: 70px;
    vertical-align: top;
}
.board-write-btn-wrap .btn-cancel {
    background: #f1f3f5;
    border: 1px solid #cfd1d4;
    box-sizing: border-box;
}
@media screen and (max-width: 500px){
    .board-write-btn-wrap a {
    width: 120px;
    height: 50px;
    line-height: 50px;
    }
}
@media screen and (min-width: 1201px) {
	.basic-board-list tbody td.board-subject a:hover,
	.board-wrap .board-view .post-navi .next-post a:hover {
		text-decoration: underline;
	}
	.basic-board-list tbody td.board-subject a:hover img.list-file {
		display: none;
	}
	.basic-board-list tbody td.board-subject a:hover img.list-file2 {
		display: inline;
	}
	.board-wrap .btn-write-wrap .btn-write:hover,
	.board-search-wrap .search-btn-wrap a:hover,
	.board-wrap .board-view .btn-view-wrap .btn-list:hover,
	.board-wrap .board-view .btn-view-wrap .btn-del:hover,
	.board-wrap .board-view .btn-view-wrap .btn-modify:hover,
	.board-wrap .board-view .btn-view-wrap .btn-reply:hover,
	.board-write-btn-wrap .btn-confirm:hover,
	.board-write-btn-wrap .btn-cancel:hover {
		opacity: .8;
	}
}
@media screen and (max-width: 767px) {
	.basic-board-list tbody td {
		padding-right: 0;
	}
	.basic-board-list tbody td.board-subject a {
		white-space: normal;
    	float: none !important;
	}
	.board-paging li>a {
		font-size: 13px;
	}
}
@media screen and (max-width: 480px) {
	.board-search-wrap .search-btn-wrap a,
	.board-wrap .btn-write-wrap .btn-write {
		font-size: 0.75rem;
	}
}

.board-search-wrap {
	background: transparent;
    margin: 30px auto 0;
	padding: 0 0 30px;
}
@media screen and (min-width: 820px) {
    .board-search-wrap {
        width: 792px;
    }
}
.board-search-wrap p.search-input-wrap {
	position:relative;
}
/*
.board-search-wrap .search-btn-wrap {
	position:absolute;
	right:1px;
	top:1px;
}
*/
.board-search-wrap .search-btn-wrap img {
    vertical-align: top;
}
.board-search-wrap input[type="text"] {
    height: 50px;
    background: #f1f3f5;
}

.board-search-wrap p:nth-of-type(1) select {
	height: 50px;
}
@media (max-width: 768px) {
    .board-search-wrap input[type="text"] {
        height: 45px;
    }

    .board-search-wrap p:nth-of-type(1) select {
        height: 45px;
    }
}

.board-wrap textarea {
	padding: 10px!important;
	height: 300px!important;
} 
.board-wrap td p input {
    width: 20px;
}
.board-search-wrap p:nth-of-type(1) {
    margin-left: 0;
}

.board-search-wrap .search-btn-wrap a {
    line-height: 50px;
    height: 50px;
    font-weight: 400;
}
@media (max-width: 768px) {
    .board-search-wrap .search-btn-wrap a {
        line-height: 44px;
        height: 45px;
    }
}


@media (min-width: 769px){
	/* form input */
/*
	.board-wrap td > input:not(#checkboxPassword) {
		width: 100%;
	}
*/
	.board-wrap .long-input input {
		width: 55%;
	}
	.board-wrap .long--input input {
		width: 100%;
	}
    .board-search-wrap p:nth-of-type(1) {
        width: 180px;
        margin-left: 0;
    }
    .board-search-wrap p:nth-of-type(2) {
        width: calc(100% - 350px);
    }
    .board-search-wrap p:nth-of-type(3) {
        width: 85px;
    }
	.board-search-wrap p {
		margin: 0 0 0 10px;
	}
	.search-total-num {
		float: left;
	}
}

@media screen and (max-width:768px){
	/* total */
	body .board-wrap .totalWrap {
	  display:block;
	  margin-bottom:10px;
	}
	/* 검색폼 */
	body .board-search-wrap {
		float: none;
	}
}
.board-search-wrap .search-btn-wrap a {
	background: #28a8e1;
}
.board-search-wrap .search-btn-wrap a:hover {
    background: rgba(0,0,0,.6);
}
@media (min-width: 768px) {
    .board-search-wrap .search-btn-wrap a {
        margin-left: 0;
    }
}


/* gallery */
.board-wrap .gallery-list {
    margin: 0 -35px;
    margin-bottom: 0;
    padding-bottom: 20px;
    border-top: 1px solid #d1d2d2;
    border-bottom: none;
}
.board-wrap .gallery-list figure {
    margin-bottom: 25px;
    padding: 0 35px;
    width: 33.33333333333333%;
    vertical-align: top;
}
.board-wrap .gallery-list figure a figcaption {
    padding: 15px 20px 16px;
    text-align: center;
    background: none;
}

.board-wrap .gallery-list figure a figcaption p {
    font-size: 17px;
    font-weight: 500;
    color: #111;
}
@media (max-width: 767px) {
    .board-wrap .gallery-list figure a figcaption {
        min-height: 0;
    }

    .board-wrap .gallery-list figure a figcaption p {
        font-size: 14px;
    }
}
.board-wrap .gallery-list figure a figcaption p img {
    display: none;
}
.board-wrap .gallery-list figure a .thumb-wrap {
    position: relative;
}
.board-wrap .gallery-list figure a .thumb-wrap:after {
    content: '';
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    border: 5px solid #2ea7e0;
    box-sizing: border-box;
    opacity: 0;
    transition: all .3s;
}

.board-wrap .gallery-list figure a:hover .thumb-wrap:after {
    opacity: 1;
}

@media screen and (max-width: 1200px) {
    .board-wrap .gallery-list {
        margin: 0 -10px;
    }
    .board-wrap .gallery-list figure {
        padding: 0 10px;
    }
    
}
@media screen and (max-width: 767px) {
    .board-wrap .gallery-list {
        margin: 0 -10px;
        padding: 30px 0 0;
    }

    .board-wrap .gallery-list figure {
        width: 50%;
        margin-bottom:10px;
    }
}
/* form */
.basic-board-row {
    border-bottom: 1px solid #ccc;
}
.basic-board-row tr th {
    font-weight: 400;
    font-size: 15px;
    padding: 24px 15px 20px 25px;
    background: none;
    vertical-align: top;
}
.basic-board-row tr td {
    padding: 10px 20px 10px;
    font-size: 16px;
}

@media screen and (max-width: 767px){
    .basic-board-row tr {
        display: table;
        width: 100%;
    }
    .basic-board-row tr th {
        padding: 24px 10px 20px 10px;
    }
}
@media screen and (max-width: 400px){
    .basic-board-row,
    .basic-board-row tbody,
    .basic-board-row tr,
    .basic-board-row th,
    .basic-board-row td{
        display: block;
        width: 100%;
    }
    .basic-board-row tr th{
        padding: 24px 0 0 0;
    }

    .basic-board-row tr td{
        padding: 10px 0 24px 0;
    }
}
/* Q&A */
.faq-wrap {border:none;}
.faq-wrap .f-wrap {}
.faq-wrap .faq-list {
    border-bottom: none;
    margin: 25px 0;
}

.faq-wrap .f-wrap a:before {
    content: 'Q';
    display: inline-block;
    position: absolute;
    top: 18px;
    left: 30px;
    width: 25px;
    height: 25px;
    line-height: 23px;
    border-radius: 0;
    background: #29487a;
}

.faq-wrap .faq-list:nth-of-type(1) .f-wrap a:before {
    content: '1';
}
.faq-wrap .faq-list:nth-of-type(2) .f-wrap a:before {
    content: '2';
}
.faq-wrap .faq-list:nth-of-type(3) .f-wrap a:before {
    content: '3';
}
.faq-wrap .faq-list:nth-of-type(4) .f-wrap a:before {
    content: '4';
}
.faq-wrap .faq-list:nth-of-type(5) .f-wrap a:before {
    content: '5';
}
.faq-wrap .faq-list:nth-of-type(6) .f-wrap a:before {
    content: '6';
}
.faq-wrap .faq-list:nth-of-type(7) .f-wrap a:before {
    content: '7';
}
.faq-wrap .faq-list:nth-of-type(8) .f-wrap a:before {
    content: '8';
}
.faq-wrap .faq-list:nth-of-type(9) .f-wrap a:before {
    content: '9';
}

.faq-wrap .f-wrap a {
    padding: 20px 150px 20px 70px;
	font-size: 16px;
	font-weight: 500;
    border: 2px solid #eee;
    background: #eee;
}
.faq-wrap .f-wrap a strong {
    font-weight: 500;
}
.faq-wrap .f-wrap a:after {
    content: '';
    top: 22px;
    width: 16px;
    height: 16px;
    background: url('/img/sub/icon_accordion_plus.png') no-repeat;
}
.faq-wrap .f-wrap.on a:after {
    content: '';
	background: url('/img/sub/icon_accordion_minus.png') no-repeat;
}
.faq-wrap .q-wrap p:before {
    display: none;
}
.faq-wrap .f-wrap.on a {
    border: 2px solid #29487a;
    background: #fff;
    box-sizing: border-box;
}
.faq-wrap .q-wrap p {
    font-size: 16px;
    padding: 25px 40px 15px 70px;
    border-top: none;
    background: #fff;
}
@media screen and (max-width: 767px){
    .faq-wrap .faq-list:first-of-type {
        margin-top:0;
    }
    .faq-wrap .f-wrap a {
        padding: 20px 55px 20px 55px;
        font-size: 14px;
    }
    .faq-wrap .f-wrap a:before {
        left: 20px;
    }
    .faq-wrap .q-wrap p {
        font-size: 14px;
         padding: 25px 20px 15px 20px;
    }
}
/* new img */
.faq-wrap .f-wrap > a img {display: none;}

