@charset "UTF-8";
@import url(//fonts.googleapis.com/earlyaccess/nanumgothic.css);

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  line-height: 160%;
}
body {
  font-family: "Nanum Gothic", sans-serif;
  font-size: 14px;
  color: #666;
}
address {
  font-style: normal;
}
a {
  display: block;
}
html,
body {
  height: 100%;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input,
select {
  vertical-align: initial;
}

img {
  border: none;
  vertical-align: top;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}
a:link,
a:visited {
  color: #666;
  text-decoration: none;
}
a:active,
a:hover {
  color: #666;
  text-decoration: underline;
}

.site-wrap {
  height: 100%;
}

/*hidden*/
.hidden {
  position: absolute;
  left: -9999px;
  font-size: 1px;
  width: 1px;
  height: 1px;
  line-height: 0;
}

/*스킵메뉴*/
#skip_menu {
  width: 300px;
  position: absolute;
  z-index: 9999;
}
#skip_menu a {
  position: absolute;
  top: -100px;
}
#skip_menu a:hover,
#skip_menu a:active,
#skip_menu a:focus {
  position: absolute;
  top: 0;
  width: 300px;
  height: 20px;
  display: block;
  background: #333;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

.site-wrap #header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #000000ca; /* 헤더 배경색 추가 */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 고정 시 그림자 효과 */
}
.site-wrap #header.type2.fixed {
  background-color: #ffffffe6 !important;
}
/*갤러리*/
.max-width {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.max-width.board-width {
  margin: 70px auto 0 !important;
}
.board-wrap .data_view,
.board-wrap .default_bd_post {
  padding: 70px 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery_con ul {
}
.url-btn {
  background: #222;
  color: #fff !important;
  display: inline-block;
  padding: 5px 20px;
  border-radius: 5px;
  text-decoration: none !important;
  font-size: 14px;
  transition: all 0.2s;
}
.url-btn:hover {
  background: #000;
  transition: all 0.2s;
}

.gallery_con ul li {
  border: 1px solid #ddd;
  border-radius: 1rem;
  width: 374px !important;
  margin: 24px 24px 24px 0px;
  min-height: 322px;
  transition: all 0.2s;
}
.gallery_con ul li:hover {
  border-color: #000;
  transition: all 0.2s;
}

.gallery_con ul li p {
  display: flex !important;
  align-items: center;
}
.gallery_con ul li:hover p {
  color: #000;
  transition: all 0.2s;
}
.gallery_con ul li a {
  text-decoration: none;
}

.gallery_con ul li img {
  width: 100% !important;
  object-fit: cover;
  max-height: 250px;
  height: 250px !important;
  border-radius: 1rem 1rem 0 0;
}
.gallery_con ul li p {
  padding: 1rem 1.5rem;
  /* padding-top:0; */
  font-size: 21px;
  color: #444;
  font-weight: bold;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s;
}

@media (max-width: 768px) {
  .gallery_con ul {
    padding: 0 1rem;
  }

  .gallery_con ul li {
    border: 1px solid #ddd;
    border-radius: 1rem;
    width: 100% !important;
    margin: 1rem 0;
    min-height: 322px;
  }
  .gallery_con ul li:last-child {
    margin-right: 0;
  }

  .gallery_con ul li img {
    width: 100% !important;
    object-fit: cover;
    max-height: 250px;
    height: 250px !important;
    border-radius: 1rem 1rem 0 0;
  }
  .gallery_con ul li p {
    padding: 1rem 1.5rem;
    font-size: 21px;
    color: #333;
    font-weight: bold;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex !important;
    align-items: center;
  }
}

/* 공지사항 view */
.default_bd_view .top {
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid #d7d7d7;
  width: 100%;
  border-top: 2px solid #222;
}

.default_bd_view .tit > p {
  font-size: 24px;
  font-weight: 700;
  padding-bottom: 20px;
  word-wrap: break-word;
}

.default_bd_view .tit > p br {
  display: none;
}

.default_bd_view .info > ul > li {
  display: inline-block;
  margin-right: 15px;
}

.default_bd_view .info > ul > li span {
  display: inline-block;
  vertical-align: middle;
  margin-right: 3px;
  color: #555;
}

.default_bd_view .info > ul > li img {
  vertical-align: middle;
}

.default_bd_view .con {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #d7d7d7;
  word-wrap: break-word;
}

.default_bd_view .link {
  display: inline-block;
  margin-bottom: 12px;
  border-radius: 50px;
}

.default_bd_view .link a {
  display: block;
  color: #c4302b;
  text-align: center;
  padding: 8px 24px;
  border: 1px solid #c4302b;
  border-radius: 50px;
  background-color: #c4302b10;
  box-sizing: border-box;
  transition: 0.2s;
}

.default_bd_view .link a:hover {
  color: #fff;
  background-color: #c4302b;
}

.default_bd_view .upload {
  background-color: #f2f2f2;
  padding: 1rem;
  margin-bottom: 30px;
}

.default_bd_view .upload > a {
  display: inline-block;
  color: #333;
  margin-left: 15px;
  font-weight: 500;
}

.default_bd_view .upload > a:hover {
  color: #12b3fd;
}

.default_bd_view .upload > p {
  font-weight: 500;
  color: #555;
}

.default_bd_view .upload > span {
  border-right: 1px solid #a5a5a5;
  padding-right: 17px;
}

.default_bd_view .upload img {
  padding-right: 5px;
}

.default_bd_view .prevNext dl:first-of-type {
  border-top: 1px solid #d7d7d7;
}

.default_bd_view .prevNext dl {
  border-bottom: 1px solid #d7d7d7;
  padding: 1rem;
}

.default_bd_view .prevNext dt {
  display: inline-block;
  color: #555;
  padding-right: 15px;
  padding-left: 20px;
}

.default_bd_view .prevNext dd {
  display: inline-block;
  width: calc(100% - 150px);
  vertical-align: middle;
}

.default_bd_view .prevNext dd > a {
  width: 100%;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.default_bd_view .prevNext dd > a:hover {
  text-decoration: underline;
}

.default_bd_view .pn_list .prev {
  background: url("/design/default/img/sub/toPrev.png") no-repeat center left;
}

.default_bd_view .pn_list .next {
  background: url("/design/default/img/sub/toNext.png") no-repeat center left;
}

/* 공지사항 post */
.default_bd_post input {
  border: none;
  padding: 0 20px;
  box-sizing: border-box;
  border: 1px solid #d7d7d7;
  border-radius: 2px;
  padding: 0 10px;
  height: 44px;
  box-sizing: border-box;
  display: inline-block;
  margin-left: 10px;
  border-radius: 0.375rem;
}
.form_box ul {
  border-top: 2px solid #222;
}
.form_box ul li {
  display: flex;
  border-bottom: 1px solid #d7d7d7;
  align-items: center;
}

.default_bd_post label {
  font-weight: 500;
  display: inline-block;
  vertical-align: middle;
  width: 80px;
  background-color: #e7e7e7;
  padding: 13px 18px;
  text-align: center;
  border-bottom: 1px solid #fff;
  vertical-align: top;
}
.default_bd_post select {
  display: inline-block;
  height: 44px;
  width: 130px;
  margin: 0 8px 0;
}

.default_bd_post #bd_title {
  width: calc(100% - 274px);
  border: 1px solid #d7d7d7;
  border-radius: 2px;
  padding: 0 10px;
  height: 44px;
  box-sizing: border-box;
  display: inline-block;
  border-radius: 0.375rem;
}

.default_bd_post #cke_bd_content {
  /* width: calc(100% - 122px); */
  width: 100%;
  display: inline-block;
  vertical-align: top;
  /* margin-left: -4px; */
}

.default_bd_post .cont_label {
  height: 477px;
  line-height: 477px;
}

.default_bd_post .upload_li {
  border-bottom: 1px solid #d7d7d7;
}

.default_bd_post input[type="file"] {
  padding-left: 10px;
}

.default_bd_post .link_li {
  border-bottom: 1px solid #d7d7d7;
}

.default_bd_post .link_li input[type="text"] {
  border: 1px solid #d7d7d7;
  border-radius: 2px;
  padding: 0 10px;
  height: 44px;
  width: 250px;
  box-sizing: border-box;
  display: inline-block;
  margin-left: 10px;
  border-radius: 0.375rem;
}

/* pagination */
.pagination {
  margin-top: 30px;
}

.pagination > ul {
  text-align: center;
}

.pagination > ul > li {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

.pagination > ul > li:last-of-type {
  margin-right: 0;
}

.pagination > ul > li > a {
  width: 40px;
  height: 40px;
  border: 1px solid #d7d7d7;
  text-align: center;
  vertical-align: middle;
  line-height: 40px;
  /* display: block; */
}

.pagination > ul > li.active > a {
  color: #777;
  background-color: #f7f7f9;
}

.pagination > ul > li img {
  vertical-align: inherit;
}

/* btn */
.btn {
  text-align: right;
  margin-top: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0;
}

.btn > div {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.btn > div > a {
  height: 50px;
  line-height: normal;
  border: none;
  cursor: pointer;
  color: #555;
  font-family: inherit;
  background: #f3f3f3;
  padding: 1em 2em;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn > div.write > a {
  height: 50px;
  line-height: normal;
  border: none;
  cursor: pointer;
  color: #555;
  font-family: inherit;
  background: #f3f3f3;
  padding: 1em 2em;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
  background: #222222;
  color: #fff;
}

.btn > div.reply > a {
  height: 50px;
  line-height: normal;
  border: none;
  cursor: pointer;
  color: #555;
  font-family: inherit;
  background: #f3f3f3;
  padding: 1em 2em;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn > div.delete > a {
  height: 50px;
  line-height: normal;
  border: none;
  cursor: pointer;
  color: #555;
  font-family: inherit;
  background: #f3f3f3;
  padding: 1em 2em;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn > div.modify > a {
  height: 50px;
  line-height: normal;
  border: none;
  cursor: pointer;
  color: #555;
  font-family: inherit;
  background: #f3f3f3;
  padding: 1em 2em;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn > div button {
  height: 50px;
  line-height: normal;
  border: none;
  cursor: pointer;
  color: #555;
  font-family: inherit;
  background: #f3f3f3;
  padding: 1em 2em;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn > div.write > button {
  height: 50px;
  line-height: normal;
  border: none;
  cursor: pointer;
  color: #555;
  font-family: inherit;
  background: #f3f3f3;
  padding: 1em 2em;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn > div.delete > button {
  height: 50px;
  line-height: normal;
  border: none;
  cursor: pointer;
  color: #555;
  font-family: inherit;
  background: #f3f3f3;
  padding: 1em 2em;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn > div.modify > button {
  height: 50px;
  line-height: normal;
  border: none;
  cursor: pointer;
  color: #555;
  font-family: inherit;
  background: #f3f3f3;
  padding: 1em 2em;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
}
