/* 버튼 영역 */
.btnarea {
    display: flex;
    justify-content: center;
    margin: var(--space-80) auto 0
}
    /* 버튼 영역 미디어쿼리 */
    @media (max-width: 1000px) {
        .btnarea {
            margin: var(--space-60) auto 0
        }
    }
    @media (max-width: 640px) {
        .btnarea {
            margin: var(--space-50) auto 0
        }
    }

/* 텍스트형 게시판 */
.board-list {
    width: 100%;
}
.board-list .list {
    width: 100%;
    display: table;
    border-top: 1px solid rgba(112,112,122,0.3);
}
.board-list .list > a {
    position: relative;
    display: table-row;
    width: 100%;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.board-list .list > a:hover {
    background-color: #000;
}
.board-list .list .contwrap,
.board-list .list .date {
    display: table-cell;
    vertical-align: top;
    border-bottom: 1px solid rgba(112,112,112,0.3);
    padding: 1.7rem 0;
}
.board-list .list .date {
    width: 15%;
    text-align: center;
    font-weight: 300;
    line-height: 1.6;
}

.board-list .contwrap .box {
    width: 100%;
    display: table;
}
.board-list .contwrap .box-row {
    display: table-row;
}
.board-list .contwrap .media,
.board-list .contwrap .subject {
    display: table-cell;
    vertical-align: top;
    font-weight: 400;
}

.board-list .media {
    width: 14%;
    text-align: center;
    font-weight: 400;
}
.board-list .subject {
    padding-left: 5%;
}

    /* bbs_list 미디어쿼리 */
    @media (max-width: 1170px) {
        .board-list {width: 90%;}
    }
    @media (max-width: 1000px) {
        .board-list .date,
        .board-list .media,
        .board-list .subject {font-size: 0.889rem;}
        .board-list .list .date {width:18%}
    }
    @media (max-width: 768px) {
        .board-list {width: 100%;}
        .board-list .list .date,
        .board-list .list .contwrap {padding:1.5rem 0;}
        .board-list .list .date {width:28%;text-align:left;padding-left:3%}
        .board-list .contwrap .box-row {display:table;width:100%}
        .board-list .contwrap .media,
        .board-list .contwrap .subject {width:100%;display:block;text-align:left} 
        .board-list .contwrap .media {margin-bottom:0.5rem;opacity:0.8}
        .board-list .subject {padding-left:0}
    }
    @media (max-width:640px) {
        .board-list {margin:2.5rem auto 0}
        .board-list .list .date,
        .board-list .list .contwrap {display:block;width:100%;}
        .board-list .list .date {padding:1.2rem 0 0.5rem 0;border-bottom:0;font-size:0.778rem;opacity:0.6}
        .board-list .list .contwrap {padding:0 0 1.2rem 0}
    }

/* 이미지형 게시판 */
.board .gallery-list {
    width:100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0 5%;
}
.board .gallery-list li {
    margin-bottom: var(--space-120);
    overflow: hidden;
    position: relative;
}
.gallery-list .subject {
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: var(--font-18);
    font-weight: var(--fw-normal);
}
.gallery-list .list-img {
    overflow: hidden;
    display: block;
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-30)
}
.gallery-list .list-img img {
    width:100%;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    transform: scale(1);
}
.gallery-list a:hover .list-img img {
    transform: scale(1.03);
}
.gallery-list .subject-sub {
    text-align: center;
    font-size: var(--font-20);
    font-family: var(--font-en);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-10)
}
    /* 이미지형 게시판 미디어쿼리 */
    @media all and (max-width:1000px) {
        .board .gallery-list::after {
            flex:0 0 32%;
        }
        .board .gallery-list li {
            margin-bottom: var(--space-80);
        }
        .gallery-list .list-img {
            margin-bottom: var(--space-20);
        }
        .gallery-list .subject-sub {
            font-size: var(--font-18);
        }
    }
    @media all and (max-width:640px) {
        .board .gallery-list {
            grid-template-columns: repeat(1, 1fr);
        }
        .board .gallery-list::after {
            flex:0 0 100%;
        }
        .board .gallery-list li {
            margin-bottom: var(--space-50);
        }
        .gallery-list .list-img {
            margin-bottom: var(--space-15);
        }
        .gallery-list .subject-sub {
            margin-bottom:5px;
        }
        .gallery-list .subject {
            font-size: var(--font-16);
        }
    }

/* 게시글 상세보기 */
.board-view {
    width: 100%;
}
.board-view .scroller-wrap01 {
    height: auto !important
}
.board-view .board-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: var(--space-30) 0;
    border-top: 1px solid rgba(112,112,122,0.3);
    border-bottom: 1px solid rgba(112,112,112,0.3);
}
.board-view .board-head .subject-sub {
    font-weight: var(--fw-normal);
    margin-bottom: var(--space-10);
    font-size: var(--font-16)
}
.board-view .subject {
    font-size: var(--font-20);
    font-weight: var(--fw-bold);
}
.board-view .board-head .date {
    font-size: var(--font-15);
    font-weight: var(--fw-light);
    font-family: var(--font-en);
    opacity: 0.6;
}
.board-view .view-content {
    width:100%;
    display: table;
    padding: var(--space-60) 0;
    border-bottom: 1px solid rgba(112,112,112,0.3);
}
.board-view .view-content a,
.board-view .view-content div,
.board-view .view-content p,
.board-view .view-content span {
    font-size: var(--font-16) !important;
    font-weight: var(--fw-normal) !important;
    opacity: 0.98 !important;
    background-color: transparent !important;
    white-space: normal;
    word-break: break-all;
}
.board-view .view-content div {
    text-align: left !important;
    width: 100% !important;
}
.board-view .view-content img {
    width:100%;
    max-width: 700px !important
}
    /* 게시글 상세보기 미디어쿼리 */
    @media (max-width: 1200px) {
        .board-view .view-content {
            padding: var(--space-40) 0;
        }
    }
    @media (max-width: 1000px) {
        .board-view .board-head {
            padding: var(--space-20) 0;
        }
        .board-view .board-head .date {
            font-size: var(--font-14);
        }
        .board-view .subject {
            font-size: var(--font-18);
        }
        .board-view .view-content {
            padding: var(--space-30) 0;
        }
    }
    @media (max-width: 640px) {
        .board-view .board-head-title {
            width:100%
        }
        .board-view .board-head .date {
            margin-top: var(--space-10)
        }
    }

/* 문의폼 */
.board-form {
    width:100%;
}
.board-form input[type=text],
.board-form textarea,
.board-form .input-policy {
    display: block;
    width: 100%;
    padding: var(--space-20);
    border: var(--border);
    font-weight: var(--fw-medium);
    transition: var(--transition);
}
.board-form input[type=text],
.board-form textarea  {
    margin-bottom: var(--space-20);
}
.board-form input[type=text]::placeholder,
.board-form textarea::placeholder {
    color: #fff;
    font-family: var(--font-en);
    font-weight: var(--fw-medium);
}
.board-form input[type=text]:hover,
.board-form textarea:hover,
.board-form input[type=text]:focus,
.board-form textarea:focus {
    border:1px solid var(--color-red);
}
.board-form textarea {
    width: 100%;
    height: 300px;
}
.board-form .btn-type2 {
    display: table;
    cursor: pointer;
}
.board-form .btn-type2 #arrow_2 {
    margin: 9px 0 0 0.556rem;
}
.board-form .btn-type2:hover #arrow_2 {
    margin: 10px 0 0 0.556rem;
}
    /* 문의폼 미디어쿼리 */
    @media (max-width: 1200px) {
        .board-form {
            float: none;
            margin: 0 auto;
        }
    }
    @media (max-width: 1000px) {
        .board-form input[type=text],
        .board-form textarea,
        .board-form input[type=text]::placeholder,
        .board-form textarea::placeholder,
        .board-form strong  {
            font-size: var(--font-16);
        }
        .board-form textarea {
            height: 250px;
        }
    }
    @media (max-width: 640px) {
        .board-form input[type=text],
        .board-form textarea,
        .board-form .input-policy {
            padding: var(--space-15)
        }
        .board-form input[type=text],
        .board-form textarea  {
            margin-bottom: var(--space-10);
        }
    }

/*  문의폼 > 개인정보처리방침 */
.board-form .input-policy .input-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.board-form .input-policy strong {
    color: var(--color-white)
}
.board-form .input-privacy {
    width:100%;
    height:265px;
    overflow-y:scroll;
    margin:12px 0 30px;
}

/* 문의폼 > 동의하기 체크박스 효과 */
.agree-box input[type=checkbox].switch {
    --active: #B12121;
    --active-inner: #FFFFFF;
    --focus: 2px rgba(0, 0, 0, .2);
    --border: #FFFFFF;
    --border-hover: #B12121;
    --background: #818181;
    --disabled: #F6F8FF;
    --disabled-inner: #E1E6F9;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 28px;
    height: 11px;
    outline: none;
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0;
    cursor: pointer;
    background: var(--b, var(--background));
    transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    border-radius: 11px;
}
.agree-box input[type=checkbox].switch:after {
    content: "";
    display: block;
    position: absolute;
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    left: -1px;
    top: -3px;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    background: var(--ab, var(--border));
    transform: translateX(var(--x, 0));
}
.agree-box input[type=checkbox].switch:checked {
    --b: var(--color-red);
    --bc: var(--color-red);
    --d-o: .3s;
    --d-t: .6s;
    --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
    --ab: var(--active-inner);
    --x: 12px;
}
.agree-box input[type=checkbox].switch:disabled:checked {
    --b: var(--disabled-inner);
    --bc: var(--border);
}
.agree-box input[type=checkbox].switch:hover:not(:checked):not(:disabled) {
    --bc: var(--border-hover);
}
.agree-box input[type=checkbox].switch + label {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    margin-left: 8px;
    color: #FFFFFF;
    font-size: 15px;
}
    /* contactus 미디어쿼리 */
    @media (max-width: 640px) {
        .board-form .input-privacy {
            margin:12px 0 0;
        }
    }

/* 카테고리 */
.board-category {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: var(--border);
    padding-bottom: var(--space-30);
    margin-bottom: var(--space-60)
}
.board-category li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding:0 var(--space-30);
    position: relative;
    border-right: var(--border);
}
.board-category li:last-child {
    border-right:0
}
.board-category li > a {
    font-weight: var(--fw-medium);
    font-family: var(--font-en);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}
.board-category li > a::after {
    content: attr(data-text);
    content: attr(data-text)/"";
    height: 0;
    visibility: hidden;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    font-weight: var(--bold);
}
.board-category li.current > a,
.board-category li > a:hover {
    color:#B12121;
    font-weight: var(--fw-extrabold);
}
    /* 카테고리 미디어쿼리 */
    @media all and (max-width:1200px) {
        .board-category li {
            padding:0 var(--space-15);
        }
    }
    @media all and (max-width:1000px) {
        .board-category {
            padding-bottom: var(--space-10);
            margin-bottom: var(--space-30);
        }
        .board-category li {
            margin-bottom: var(--space-10)
        }
        .board-category li > a {
            font-size: var(--font-16);
        }
    }
    @media all and (max-width:640px) {
        .board-category li {
            padding:0 var(--space-10);
        }
        .board-category li > a {
            font-size: var(--font-14);
        }
    }