@charset "UTF-8";

.gallery .subVisulal {
  background: url('/lib/img/gallery/gallery_bg.jpg') 50% 50% /cover no-repeat;
}

.gallery_list {
  width: 100%;
}

.gallery_list .lsit_header,
.table_list .lsit_header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 0 15px;
}

.gallery_list .lsit_header .cnt,
.table_list .lsit_header .cnt {
  font-size: 14px;
}

.gallery_list .lsit_header .search,
.table_list .lsit_header .search {
  width: 315px;
  height: 40px;
  border: 1px solid #bcbcbc;
  font-size: 0;
  box-sizing: border-box;
}

.gallery_list .lsit_header .search form,
.table_list .lsit_header .search form {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery_list .lsit_header input,
.table_list .lsit_header input {
  display: inline-block;
  width: calc(100% - 58px);
  height: 100%;
  padding: 0 10px;
  border: none;
  font-size: 14px;
  box-sizing: border-box;
  vertical-align: middle;
}

.gallery_list .lsit_header .btn_search,
.table_list .lsit_header .btn_search {
  display: inline-block;
  width: 48px;
  height: 27px;
  margin-left: 10px;
  border-left: 1px solid #bcbcbc;
  font-size: 14px;
  text-align: center;
  vertical-align: middle;
}

.gallery_list .list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 2px solid #f4f4f4;
}

.gallery_list .item {
  position: relative;
  flex: 0 0 33.3%;
  padding: 15px;
  box-sizing: border-box;
}

.gallery_list .item a,
.gallery_list .item .itemInner {
  overflow: hidden;
  position: relative;
  display: block;
  width: 100%;
}

.gallery_list .item .textBox {
  text-align: center;
}

.gallery_list .item h2 {
  font-size: 18px;
  font-weight: 400;
  margin-top: 10px;
}

.gallery_list .item p {
  font-size: 18px;
}

.gallery_list .item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gallery_list .page,
.table_list .page {
  margin-top: 60px;
  text-align: center;
  font-size: 0;
}

.gallery_list .page a,
.table_list .page a {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0 5px;
  border: 1px solid #f9f9f9;
  font-size: 16px;
  text-align: center;
  line-height: 28px;
  box-sizing: border-box;
  transition: all .3s ease;
}

.gallery_list .page a.on,
.gallery_list .page a:hover,
.table_list .page a.on,
.table_list .page a:hover {
  border: 1px solid #f9f9f9;
  background: #000;
  color: #fff;
}

.gallery_detail .row,
.table_detail .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #8c8c8c;
}

.gallery_detail h2,
.table_detail h2 {
  margin: 0 0 20px;
  color: #262626;
  font-size: 25px;
  font-weight: 400;
  text-align: center;
}

.gallery_detail .date,
.table_detail .date {
  flex: 0 0 auto;
  font-size: 16px;
}

.gallery_detail .count,
.table_detail .count {
  flex: 0 0 auto;
  font-size: 16px;
}

.gallery_detail .movieBox,
.gallery_detail .photoBox {
  width: 100%;
  margin: 50px 0;
  padding-bottom: 50px;
  border-bottom: 1px solid #8c8c8c;
  font-size: 18px;
  color: #505050;
}

.gallery_detail .movieWrap {
  position: relative;
  width: 100%;
  padding-top: 62.25%;
}

.gallery_detail .video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.gallery_detail .btns,
.table_detail .btns,
.form .btns {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.form .btns {
  justify-content: center;
}

.gallery_detail .btns a,
.table_detail .btns a,
.form .btns button {
  flex: 0 0 130px;
  margin: 0 10px;
  padding: 11px 0;
  background: #fff;
  border: 1px solid #d9d9d9;
  font-size: 18px;
  text-align: center;
  line-height: 1;
}

.gallery_detail .btns a,
.table_detail .btns a {
  border: none;
  background: #7b7b7b;
  color: #fff;
}

.gallery_detail .btns a.list,
.table_detail .btns a.list {
  background: #000;
  color: #fff;
}

.gallery_detail .btns a.disabled,
.table_detail .btns a.disabled {
  background: #dcdcdc;
  color: #1a1a1a;
  pointer-events: none;
}

.form .btns button {
  padding: 15px 0;
  margin: 0 30px;
}

.gallery_detail .photoBox {
  font-size: 0;
  text-align: center;
}

.gallery_detail .photoBox img {
  display: inline-block;
  max-width: 1000px;
  margin-bottom: 70px;
}

.gallery_detail .photoBox p {
  padding: 0 60px;
  font-size: 18px;
  text-align: left;
}

.table_list {
  width: 100%;
}

.table_list .head,
.table_list .list {
  width: 100%;
}

.table_list .list {
  padding: 20px 0;
  border-bottom: 2px solid #f4f4f4;
}

.table_list .head {
  margin-top: 15px;
  background: #f4f4f4;
}

.table_list .row {
  display: flex;
  padding: 20px 0;
  flex-direction: row;
  text-align: center;
  font-size: 16px;
  color: #343434;
}

.table_list .row .no {
  flex: 0 0 70px;
}

.table_list .row .title {
  flex: 1 1 auto;
  overflow: hidden;
  padding: 0 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  text-align: left;
  box-sizing: border-box;
}

.table_list .head .row .title {
  text-align: center;
}

.table_list .row .date {
  flex: 0 0 120px;
}

.table_list a.row {
  transition: all .3s ease;
}

.table_list a.row p,
.table_list a.row h2 {
  padding-bottom: 1px;
}

.table_list a.row:hover p,
.table_list a.row:hover h2 {
  color: #558141;
  text-decoration: underline;
}

.table_detail .para_content {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-bottom: 2px solid #f4f4f4;
  font-size: 16px;
  color: #343434;
  line-height: 1.8;
  word-break: keep-all;
}

.table_detail .para_content p {
  margin: 20px 0;
}

.table_detail .para_content img {
  display: block;
  max-width: 1000px;
  margin: 40px auto;
}

.form {
  width: 100%;
  padding-top: 30px;
  border-top: 1px solid #f4f4f4;
}

.form table {
  width: 100%;
  padding-bottom: 30px;
  border-bottom: 1px solid #d7d5d5;
  font-size: 16px;
  table-layout: fixed;
}

.form table caption {
  font-size: 0;
  text-indent: -9999px;
}

.form table th,
.form table td {
  padding: 10px 0;
}

.form table th {
  width: 150px;
  padding: 0 15px;
  background: #f4f4f4;
  border-top: 1px solid #d7d5d5;
  text-align: left;
  vertical-align: middle;
  box-sizing: border-box;
}

.form table th.top {
  padding-top: 10px;
  vertical-align: top;
}

.form table td {
  width: 610px;
  padding: 10px 15px;
  border-top: 1px solid #d7d5d5;
  box-sizing: border-box;
}

.form table td input[type="text"],
.form table td input[type="email"] {
  width: 250px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #a4a4a4;
  box-sizing: border-box;
}

.form table td textarea {
  width: 100%;
  height: 120px;
  padding: 10px;
  border: 1px solid #a4a4a4;
  box-sizing: border-box;
  line-height: 1.5;
  resize: none;
}

.form table .agreement {
  padding-left: 220px;
}

.form table .agreement label+input {
  margin-left: 20px;
}


.form .btns {
  margin-top: 50px;
}

.form .btns .cancel {
  background: #f4f4f4;
  color: #353535;
}

@media screen and (max-width: 1023px) {

  .gallery_list .lsit_header .search,
  .table_list .lsit_header .search {
    width: 180px;
  }

  .gallery_list .item {
    flex: 0 0 50%;
    padding: 10px 10px;
  }

  .gallery_list .item a,
  .gallery_list .item .itemInner {
    padding-top: 0;
  }

  .gallery_list .item img {
    position: static;
    height: 62.25%;
  }

  .gallery_list .item .hoverPanel {
    position: static;
    margin-top: 10px;
    background: transparent;
    opacity: 1;
  }

  .gallery_list .item .textBox {
    position: static;
    text-align: left;
    color: #343434;
    transform: none;
    line-height: 1.4;
  }

  .gallery_list .item h2 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .gallery_list .item p {
    font-size: 14px;
  }

  .gallery_detail h2 {
    font-size: 20px;
  }

  .gallery_detail .date {
    font-size: 14px;
  }

  .gallery_detail .btns a {
    padding: 15px 0;
    font-size: 14px;
  }

  .gallery_detail .photoBox img {
    max-width: 90%;
  }

  .table_list {
    padding: 0 20px;
    box-sizing: border-box;
  }

  .table_list .row .no {
    flex: 0 0 50px;
  }

  .table_list .row .date {
    flex: 0 0 80px;
  }

  .table_detail,
  .gallery_detail {
    padding: 0 10px;
  }

  .table_detail .para_content img {
    max-width: 100%;
  }

  .table_list .lsit_header {
    padding: 0;
  }

  .gallery_list .lsit_header input,
  .table_list .lsit_header input {
    width: 120px;
  }

  .form table {
    font-size: 14px;
  }

  .form table .th {
    width: 100px;
  }

  .form table .td {
    width: 100%;
  }

  .form table td {
    box-sizing: border-box;
  }

  .form table td input[type="text"],
  .form table td input[type="email"],
  .form table td input[type="file"] {
    width: 100%;
  }

  .form table td textarea {
    width: 100%;
  }

  .form table .agreement {
    padding-left: 0px;
  }

  .form table .agreement span {
    display: block;
    margin: 10px 0;
  }

  .form .btns button {
    flex: 0 1 40%;
    margin: 0 15px;
  }

  .gallery_detail .photoBox p {
    padding: 0 15px;
    font-size: 16px;
  }

  .gallery_detail .btns a,
  .table_detail .btns a,
  .form .btns button {
    flex: 0 0 30%;
    padding: 15px 0;
    font-size: 14px;
  }

  .gallery_detail .para_content img {
    max-width: 100% !important;
  }
}