/* 폰트 */

@import url('https://webfontworld.github.io/pretendard/Pretendard.css');
body{
    position: relative;
    height: 100%;
	  color:#333;
    width:100%;
    letter-spacing: 0px;
	  line-height: 1.6;
    font-family: 'Pretendard', sans-serif;
    word-break: keep-all
}


.sub-banner {width: 100%; height: 380px; display: flex; align-items: center; justify-content: center; position: relative;}
.sub-banner.banner1 {background: url(../img/safe-bg.png) no-repeat center/cover;}
.sub-banner h3 {font-size: 42px; font-weight: bold; color: #fff;}
.sub-banner nav {position: absolute; width: 100%; height: 50px; position: absolute; left: 0; bottom: 0; background-color: rgba(199, 0,18, .5);}
.sub-banner nav ul {display: flex; justify-content: center; height: 100%;}
.sub-banner nav ul li {width: 230px; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer;}
.sub-banner nav ul li.on {background-color: #fff; color: #333; font-weight: 700;}
.wrap {padding: 0 0 60px 0;}
select {border: none; background-color: #f5f5f5; color: #5d5d5d; width: 255px; height: 55px; background: #f5f5f5; padding: 0 15px; font-size: 16px; font-family: inherit; background: url(../img/angle.png) no-repeat #f5f5f5; background-size: 4%; background-position: 94% 50%; outline: none; margin-bottom: 50px; border: 1px solid #eee;}



.wrap table {width: 100%;}
.wrap table thead tr {display: grid; width: 100%; grid-template-columns: 20% 40% 40%; background-color: #c72424;}
.wrap table thead tr td {padding: 15px; text-align: center; color: #fff;}
.wrap table tbody tr {display: grid; width: 100%; grid-template-columns: 20% 40% 40%; border-bottom: 1px solid #eee;}
.wrap table tbody tr td {padding: 18px 15px; text-align: center;}
.wrap table tbody tr td:first-child {background: #f9f9f9; font-weight: 700;}

/* 241122 */

.map-wrap {background: #f9f9f9; padding: 60px 0;}
.map-wrap-inner {background-color: #fff; padding: 30px;}
.table-wrap {padding-top: 60px;}

/* map1 css */
.map-container {width: 100%; overflow-x: auto;}
.map {width: 100%; margin-bottom: 20px;  position: relative;}
/* .map1 {background: url(../img/map1.png) no-repeat; background-position: center; background-size: contain;} */

.zone-inner {position: absolute; top: 0; left: 0; display: flex; width: 100%; height: 100%;}
.zone {position: relative; cursor: pointer; border: 5px solid #cb0009; background: url(../img/zone-bg2.png) no-repeat center/cover; width: 100%; height: 100%;}
.zone > span {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 7px 12px; border-radius: 3px; background-color: #008eef; color: #fff;}

/* .map1 .zone-inner { width: 97%; height: 94%; top: 0; left: 50%; transform: translateX(-50%); } */
.map1 {position: relative;}
.map1 .zone-inner {height: 94%;}
.map1 .left {width: 74%; display: flex; flex-direction: column;}
.map1 .right {width: 26%; display: flex;}
.map1 .right > div {width: 50%;}
.map1 .right > div:first-child {border-right: none;}
.map1 .left .top {height: 68%; display: flex;}
.map1 .left .top > div {height: 100%;}
.map1 .left .top > .zone {width: 17%;}
.map1 .left .top > .zone-wrap {width: 32%; display: flex; flex-wrap: wrap;}
.map1 .left .top > .zone-wrap > div {width: 50%; height: 50%;}
.map1 .left .bt {height: 32%;}
.map1 .left .bt .zone { height: 100%; background-size: 23%; background-repeat: repeat;}
.map1 .zone1, .map1 .zone2, .map1 .zone5, .map1 .zone6, .map1 .zone3, .map1 .zone4, .map1 .zone9, .map1 .zone10, .map1 .zone11 {border-right: none !important;}
.map1 .zone11 , .map1 .zone9, .map1 .zone10 {border-top: none !important;}

/* map2 css */
.map2 {background: url(../img/map2.png) no-repeat; background-position: center; background-size: contain; display: none;}
.map2 .zone-inner {flex-direction: column; width: 100%; height: 100%; top: 0;}
.map2 .top {height: 74%; display: flex;}
.map2 .top .left {width: 25%; display: flex;}
.map2 .top .left > div {width: 50%;}
.map2 .top .right {width: 75%;}
.map2 .top .right .rg-top {height: 28%;}
.map2 .top .right .rg-top > div {height: 100%; background-repeat: repeat; background-size: 22%;}
.map2 .top .right .rg-bt {height: 72%; display: flex;}
.map2 .top .right .rg-bt > div {flex-grow: 1;}
.map2 .bt {height: 26%; display: flex;}
.map2 .bt > div {width: 33.33%; background-repeat: repeat; background-size: 41%;}

.map2 .zone2, .map2 .zone3, .map2 .zone4, .map2 .zone5,.map2 .zone6,.map2 .zone7,.map2 .zone8,.map2 .zone10,.map2 .zone11 {border-right: none !important;}
.map2 .zone1 {border-bottom: none !important;}
.map2 .zone10, .map2 .zone11, .map2 .zone12 {border-top: none !important;} 


/* 디테일 페이지 */

.detail  {padding: 60px 0 100px 0;}
.detail table {width: 100%;}
.detail table thead tr {display: grid; grid-template-columns: 20% 20% 20% 20% 20%; width: 100%; background-color: #F3F4F8; border-top: 1px solid #2C2424;}
.detail table thead tr td {padding: 18px 15px; text-align: center;}
.detail table tbody tr {display: grid; width: 100%;  grid-template-columns: 20% 20% 20% 20% 20%; border-bottom: 1px solid #eee;}
.detail table tbody tr td {padding: 18px 15px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 10px;}
.detail table tbody tr td:first-child {font-weight: 500;}
td button {display: flex; align-items: center; padding: 10px 18px; border-radius: 5px; font-size: 14px; gap: 5px;}
.none {background: url(../img/none.png) no-repeat center/cover; width: 14px; height: 14px;  display: inline-block;}
.done {background: url(../img/done.png) no-repeat center/cover; width: 14px; height: 14px; display: inline-block;}
.none-btn {background: #FECDD4;}
.done-btn {background: #D1EDE2;}
.none-btn span {color: #f01435;}
.done-btn span {color: #17A76F;}

.btn-wrap {width: 100%; display: flex; align-items: center; justify-content: center;}
button.list {width: 180px; padding: 18px 0; background-color: #222; color: #fff; font-size: 16px; border-radius: 5px;}
.info {display: none;}

.zone.on {background-color: #ffeb3b2e;}
.zone.on > span {background-color: #ffcd36;}
.map-info ul {display: flex; align-items: center; gap: 30px; margin-top: -10px; margin-bottom: 25px; justify-content: center;}
.map-info ul li {display: flex; align-items: center; gap: 5px;}
.map-info ul li span {display: inline-block; width: 20px; height: 20px; border-radius: 3px;}
.map-info ul li:first-child span{background-color: #008eef;}
.map-info ul li:last-child span{background-color: #ffcd36;}



/* 갤러리 게시판 */

.gallery-wrap {margin-top: 100px;}
.gallery-in {display: flex; flex-wrap: wrap; column-gap: 30px; row-gap: 50px;}
.gallery-in li {width: calc((100% - 90px) / 4); cursor: pointer;}
.gallery-in li .img-box {width: 100%; aspect-ratio: 1 / 0.85;}
.gallery-in li .img-box img {height: 100%;}
.gallery-in li .tit {margin-top: 15px;}
.gallery-in li .tit .tit-txt {display: flex; gap: 3px;}
.gallery-in li .tit .tit-txt em {color: #e90606;}
.gallery-in li .tit p {font-size: 22px; font-weight: bold; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; color: #333; line-height: 1.4;}
.gallery-in li .tit span {margin-top: 10px; display: block; font-size: 18px; color: #777;}

.search-wrap {display: flex; justify-content: flex-end; margin-bottom: 50px; }
.search-box {width: 26%; min-width: 280px; border: 1px solid #ddd; height: 55px; padding: 10px; position: relative;}
.search-wrap input {border: none; outline: none; width: 100%; height: 100%;}
.search-wrap i {font-size: 25px; position: absolute; top: 50%; right: 15px; transform: translateY(-50%); color: #c72424; cursor: pointer;}

.page {display: flex; align-items: center; justify-content: center; gap: 25px; margin-top: 80px; margin-bottom: 100px;}
.page .page-btn {display: inline-block; width: 40px; height: 40px;  cursor: pointer;}
.page1 {background: url(../img/page1.png) no-repeat center/cover; margin-right: -10px;}
.page2 {background: url(../img/page2.png) no-repeat center/cover; margin-right: 20px;}
.page3 {background: url(../img/page3.png) no-repeat center/cover; margin-left: 20px;}
.page4 {background: url(../img/page4.png) no-repeat center/cover; margin-left: -10px;}

.page span {font-size: 18px; color: #555; cursor: pointer;}
.page span.on {color: #c72424; font-weight: bold;}

.wr-btn {height: 55px; background-color: #c72424; color: #fff; width: 80px; font-size: 15px; margin-right: 15px;}


/* 게시판 */
/* .board-wrap.gallery-wrap {padding-bottom: 100px;} */
.gallery-tit {display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 35px 0 0 0; border-top: 3px solid #c72424;}
.gallery-tit h3 {font-size: 32px; font-weight: bold;}
.gallery-tit ul {display: flex;}
.gallery-tit ul li {padding: 0 15px; font-size: 18px; position: relative; color: #555;}
.gallery-tit ul li.time {display: flex; gap: 10px; font-size: 16px; color: #777;}
.gallery-tit ul li:first-child {padding-left: 0;}
.re-gallery-wrap .gallery-tit em {padding: 4px 12px; background-color: #8f8f8f; color: #fff; margin-right: 10px; font-size: 15px;}
.gallery-tit ul li:nth-child(1)::after {content: ""; display: block; position: absolute; width: 1px; height: 12px; background-color: #ddd; top: 50%; right: 0; transform: translateY(-50%);}

.board {padding: 50px 0;}
.board .img {width: 100%;}
.board p {font-size: 18px; margin-top: 20px;}

.comment {border-top: 1px solid #f1f1f1;}
.comment .com {padding: 15px 10px; border-bottom: 2px solid #d7d7d7;}
.com .com-tit {display: flex; align-items: center; justify-content: space-between;}
.writer {font-weight: 700; font-size: 16px;}
.com .com-tit ul {display: flex; align-items: center;}
.com .com-tit ul li {cursor: pointer; padding: 0 10px;}
.com-con {padding: 15px 0; font-size: 18px;}
.com-date {display: flex; gap: 10px; font-size: 14px; color: #777;}
/* .com-wrap > div:last-child {border-bottom: none !important;} */

.re-write {margin-top: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; border: 2px solid #ddd; padding: 15px;}
.re-write textarea {border: none; font-size: 16px; width: 100%; outline: none; resize: none; min-height: 80px;}
.re-write .writer {width: 100%;}
.enter {font-weight: 500; background-color: #c72424; font-size: 16px; width: fit-content; padding: 10px 15px; color: #fff; border-radius: 3px;}
.com-tit ul li {position: relative;}
.re-btn {font-weight: bold; color: #555; position: relative;}
.com-tit ul li::after {content: ""; display: block; width: 1px; height: 12px; position: absolute; top: 50%; right: 0; transform: translateY(-50%); background-color: #ddd;}
.com-tit ul li:last-child {padding-right: 0 !important;}
.com-tit ul li:last-child::after {content: none;}
.modi {color: #777;}
.delete {color: #cb0009;}

.re-com {background-color: #f7f7f7; padding-left: 40px !important;}

.btn-wrap2 {width: fit-content;}
.cancel {margin-right: 15px; font-size: 16px; color: #777;}
.modify-re .re-write {margin-top: 0 !important;}

.re-gallery-wrap {margin-top: 20px; position: relative;}
/* .re-gallery-wrap::after {content: ""; display: block; width: 5px; height: 50px; background-color: #f1f1f1; position: absolute; top: 100%; left: 0;} */
.re-gallery-wrap .gallery-tit {border-top: none; padding: 5px 0 0 10px; margin-bottom: -15px;}

/* 게시판 작성 */
.bo-write .bo-write-tit > div {display:flex; align-items: center; padding: 20px 0; border-bottom: 1px solid #eee;}
.bo-write .bo-write-tit > div:last-child {border-bottom: none;}
.bo-write .bo-write-tit > div p {width: 200px; font-size: 18px; font-weight: 600;}
.bo-write .bo-write-tit > div input[type=text] {background-color: #f5f5f5; border: none; height: 50px; width: 40%; padding: 0 10px; min-width: 300px;}
#file {display: none;}
.file-btn label {width: 80px; height: 80px; border: 1px solid #ddd; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;}
.file-btn label i {font-size: 20px; color: #999;}
.file-btn label p {font-size: 14px !important; width: fit-content !important;font-weight: 500 !important; color: #555;}
.file-con {display: flex; gap: 10px; flex-wrap: wrap; }
.bo-write-con {align-items: flex-start !important;}
.bo-write-con textarea {width: calc(100% - 200px); border: 1px solid #ddd; resize: none; height: 400px; outline: none; padding: 10px; font-size: 15px;}

.btn1 {width: 180px;}
.btn-wrap3 {margin-top: 80px; display: flex; gap: 20px; align-items: center; justify-content: center;}
.btn-wrap3 button {width: 180px; padding: 18px 0; font-size: 16px; border-radius: 5px;}
.btn1 {border: 1px solid #ddd; color: #444;}
.btn2 {background-color: #c72424; color: #fff;}

.bo-write .bo-write-tit > div:nth-child(2) {align-items: flex-start;}
.file-con {display: flex; margin-top: 15px;}
.file-con .file-img {width: 80px; height: 80px; position: relative; border: 1px solid #ddd;}
.file-con .file-img img {height: 100%;}
.file-con .file-img .x_btn {position: absolute; width: 20px; height: 20px; top: 0; right: 0; background-color: #2C2424; display: flex; align-items: center; justify-content: center;}
.file-con .file-img .x_btn i {color: #fff;}


/* 반응형 시작 */

@media screen and (max-width: 1440px){
    .map-wrap {padding: 60px 30px;}
    .table-wrap {padding: 60px 30px 0 30px;}

    .detail {padding: 60px 20px 100px 20px;}

    .gallery-wrap {padding: 0 20px;}
    .gallery-in li .tit p {font-size: 20px;}
    .gallery-in li .tit span {font-size: 16px;}
}

@media screen and (max-width: 1024px){
    .sub-banner h3 {font-size: 36px;}
    .zone > span {font-size: 15px; font-weight: 300;}

    .wrap table thead tr {grid-template-columns: 30% 35% 35%;}
    .wrap table tbody tr {grid-template-columns: 30% 35% 35%;}

    .gallery-in li {width: calc((100% - 60px) / 3);}
    .search-wrap {margin-bottom: 30px;}
    .gallery-in {row-gap: 30px;}
    .page {margin-bottom: 50px;}

    .gallery-tit h3 {font-size: 28px;}
    .gallery-tit ul li {font-size: 16px;}
    .gallery-tit {gap: 10px; padding: 25px 0 0 0;}
    .board {padding: 30px 0;}

}

@media screen and (max-width: 780px){
    .zone > span {font-size: 14px; padding: 5px 10px;}
    .map {width: 150%;}

    .detail table tbody tr td {flex-direction: column; gap: 0;}
    td button {padding: 10px 12px;}

    .detail table thead tr td {font-size: 14px;}
    button.list {width: 150px; padding: 15px 0;}
    .btn-wrap3 button {width: 150px; padding: 15px 0;}

    .gallery-in {column-gap: 20px;}
    .gallery-in li {width: calc((100% - 20px) / 2);}
    .search-box {height: 50px;}

    .bo-write .bo-write-tit > div p {width: 140px;}
    .bo-write .bo-write-tit > div input[type=text] {width: calc(100% - 140px);}
    .bo-write-con textarea {width: calc(100% - 140px);}

    .wr-btn {height: 50px; font-size: 14px;}
}

@media screen and (max-width: 580px){
    .map {width: 200%;}
    .map-wrap-inner {padding: 20px;}
    .table-wrap {padding: 60px 20px 0 20px;}

    .wrap table thead tr td {font-size: 14px;}
    .wrap table tbody tr td {font-size: 15px;}

    td button {padding: 8px;}
    .detail table tbody tr td {font-size: 15px; padding: 18px 8px;}

    .map-info ul {justify-content: flex-start; margin-bottom: 10px; gap: 20px;}
    .zone {border: 4px solid #cb0009;}
    .map-info ul li span {width: 15px; height: 15px;}
    .gallery-in li .tit p {font-size: 18px;}

    .gallery-tit {gap: 5px;}
    .gallery-tit h3 {font-size: 21px;}
    .gallery-tit ul li {font-size: 14px !important; padding: 0 12px;}
    .gallery-tit ul li.time {gap: 8px;}
    .board p {font-size: 16px;}
    .writer {font-size: 14px;}
    .com-con {font-size: 16px; padding: 10px 0;}
    .comment .com {padding: 10px;}

    .bo-write .bo-write-tit > div {flex-direction: column; align-items: flex-start; gap: 10px;}
    .bo-write .bo-write-tit > div input[type=text] {width: 100%;}
    .bo-write-con textarea {width: 100%;}
    .btn-wrap3 {margin-top: 50px;}
    .bo-write .bo-write-tit > div p {font-size: 16px;}
    .btn-wrap3 {gap: 10px;}
    .file-btn label {padding: 9px 15px; font-size: 14px;}

    /* .re-gallery-wrap .gallery-tit {padding: 22px 0 0 0;} */
    .re-gallery-wrap .gallery-tit em {padding: 1px 14px; margin-bottom: 3px;}
    .re-gallery-wrap {margin-top: 20px !important;}
    .com-date {gap: 8px;}
    .btn-wrap3 button {font-weight: 500;}
    
}

@media screen and (max-width: 430px){
    .map {width: 250%;}
    .map-wrap {padding: 0;}

    select {margin-bottom: 35px; width: 200px; height: 50px;}
    .map-container {padding: 10px; background-color: #fff;}
    .map-wrap-inner {background-color: #f9f9f9; padding: 60px 20px;}

    .table-con {width: 100%; overflow-x: auto;}
    .detail table {width: 140%; min-width: 480px;}

    .info {display: block; font-size: 14px; margin-bottom: 10px;}
    .detail table tbody tr td:first-child {font-weight: 600;}
    button.list {font-size: 14px; width: 120px;}

    .sub-banner {height: 340px;}
    .sub-banner h3 {font-size: 31px;}

    .gallery-in li {width: 100%;}
    .search-box {width: 100%; min-width: auto;}
    .page {gap: 25px;}
    .page .page-btn {display: flex; align-items: center;}

    .gallery-in li .tit span {font-size: 14px; margin-top: 4px;}

    .btn-wrap3 {margin-top: 30px;}
    .btn-wrap3 button {font-size: 14px; width: 110px;} 

    .gallery-wrap {margin-top: 60px;}

    .search-wrap {flex-direction: column-reverse; align-items: flex-end; gap: 15px;}
    .wr-btn {margin-right: 0; height: 40px;}

    .sub-banner nav ul li {width: 33.33%; font-size: 14px;}

    .page .page-btn {width: 30px; height: 30px;}
    .page2 {margin-right: 0;}
    .page3 {margin-left: 0;}
    .page span {font-size: 16px;}
    .page {gap: 22px;}
}

@media screen and (max-width: 320px){
    .page {gap: 20px;}
    .page ul {gap: 35px;}
    .page ul li {font-weight: 14px;}
    .page .page-btn > span {width: 30px; height: 30px;}

    .re-gallery-wrap {margin-top: 15px !important;}
    .re-gallery-wrap .gallery-tit em {padding: 0 11px !important; margin-bottom: 0;}
}