.gallery ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 100%;
  padding: 20px;
}
.gallery li {
  width: 330px;
  margin-right: 45px;
  margin-bottom: 40px;
}
.gallery li:nth-of-type(4n) {
  margin-right: 0;
}
.gallery li a {
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  height: 100%;
  float: left;
  display: block;
}
.gallery li .img {
  width: 100%;
  height: 0;
  /* padding-bottom: 130%; */
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
}
.gallery li .img:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #000;
  opacity: 0;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
}
.gallery li .img img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.gallery li .img img.no_image{
	width: 153px;
	height: 153px;
}
.gallery li .txt {
  font-size: 17px;
  font-weight: 500;
  color: #212121;
  padding: 10px 0;
  height: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.gallery li .txt > p {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.gallery li .txt .info {
  width: 100%;
  color: #9e9e9e;
  font-size: 15px;
  letter-spacing: -0.01em;
  font-weight: 400;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: auto;
}
.gallery .thumb_imageArea .edit {
  outline: none;
  display: initial;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  white-space: initial;
  background: initial;
  vertical-align: middle;
  margin: 0;
  left: initial;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 0;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 400;
  border: solid 1px #1d276b;
  color: black;
  background: #283593;
  color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  width: 8rem;
  font-size: 13px;
}
.gallery .thumb_imageArea .edit:hover {
  text-decoration: none;
  background: #2d3ca7;
  color: #fff;
}
.gallery .thumb_imageArea .edit:active {
  background: #232e7f;
  color: #fff;
}
.gallery .thumb_imageArea .edit:hover {
  text-decoration: underline;
}

.video_popup li a:hover .img:before {
  opacity: 0.5;
}
.video_popup li a:hover .img .icon-play {
  opacity: 0.9;
}
.video_popup li a:hover .txt {
  text-decoration: underline;
}

.button {
  /*버튼 수정사항 필수*/
  font-size: 16px !important;
  padding: 0 !important;
  width: 120px !important;
  height: 50px !important;
  border-radius: 5px !important;
  border: none !important;
  width: 120px;
  height: 50px;
  outline: none;
  display: initial;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  white-space: initial;
  background: initial;
  vertical-align: middle;
  margin: 0;
  left: initial;
}
.button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 0;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 400;
  border: solid 1px rgb(43.5, 43.5, 43.5);
  color: black;
  background: #454545;
  color: #fff;
}
.button:hover {
  text-decoration: none;
  background: rgb(81.75, 81.75, 81.75);
  color: #fff;
}
.button:active {
  background: rgb(56.25, 56.25, 56.25);
  color: #fff;
}
.button.admin {
  outline: none;
  display: initial;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  white-space: initial;
  background: initial;
  vertical-align: middle;
  margin: 0;
  left: initial;
}
.button.admin {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 0;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 400;
  border: solid 1px rgb(204.6578947368, 30.3947368421, 26.3421052632);
  color: #fff;
  background: #e53935;
  color: #fff;
}
.button.admin:hover {
  text-decoration: none;
  background: rgb(231.9078947368, 79.1447368421, 75.5921052632);
  color: #fff;
}
.button.admin:active {
  background: rgb(226.0921052632, 34.8552631579, 30.4078947368);
  color: #fff;
}
.button.write {
  outline: none;
  display: initial;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  white-space: initial;
  background: initial;
  vertical-align: middle;
  margin: 0;
  left: initial;
}
.button.write {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 0;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 400;
  border: solid 1px rgb(27.5, 67.5714285714, 159.5);
  color: black;
  background: #2356cb;
  color: #fff;
}
.button.write:hover {
  text-decoration: none;
  background: rgb(44.75, 97.5714285714, 218.75);
  color: #fff;
}
.button.write:active {
  background: rgb(31.25, 76.7857142857, 181.25);
  color: #fff;
}
.button.answer {
  outline: none;
  display: initial;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  white-space: initial;
  background: initial;
  vertical-align: middle;
  margin: 0;
  left: initial;
}
.button.answer {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 0;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 400;
  border: solid 1px rgb(68.7468879668, 51.5601659751, 166.4398340249);
  color: rgb(4.4149377593, 3.3112033195, 10.6887966805);
  background: #5a47c6;
  color: #fff;
}
.button.answer:hover {
  text-decoration: none;
  background: rgb(107.4585062241, 90.468879668, 204.031120332);
  color: #fff;
}
.button.answer:active {
  background: rgb(76.7883817427, 57.5912863071, 185.9087136929);
  color: #fff;
}
.button.delete {
  outline: none;
  display: initial;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  white-space: initial;
  background: initial;
  vertical-align: middle;
  margin: 0;
  left: initial;
}
.button.delete {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 0;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 400;
  border: solid 1px rgb(218.6116504854, 34.3883495146, 153.5194174757);
  color: #fff;
  background: #e34dae;
  color: #fff;
}
.button.delete:hover {
  text-decoration: none;
  background: rgb(230.4660194175, 99.0339805825, 184.0266990291);
  color: #fff;
}
.button.delete:active {
  background: rgb(223.5339805825, 54.9660194175, 163.9733009709);
  color: #fff;
}
.button.edit {
  outline: none;
  display: initial;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  white-space: initial;
  background: initial;
  vertical-align: middle;
  margin: 0;
  left: initial;
}
.button.edit {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 0;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 400;
  border: solid 1px rgb(50.6024096386, 63.2530120482, 159.3975903614);
  color: rgb(1.4457831325, 1.8072289157, 4.5542168675);
  background: #4251c3;
  color: #fff;
}
.button.edit:hover {
  text-decoration: none;
  background: rgb(85.3554216867, 98.8192771084, 201.1445783133);
  color: #fff;
}
.button.edit:active {
  background: rgb(56.7469879518, 70.9337349398, 178.7530120482);
  color: #fff;
}
.button.save {
  outline: none;
  display: initial;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  white-space: initial;
  background: initial;
  vertical-align: middle;
  margin: 0;
  left: initial;
}
.button.save {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 0;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 400;
  border: solid 1px rgb(51.9471365639, 124.0528634361, 55.0484581498);
  color: black;
  background: #43a047;
  color: #fff;
}
.button.save:hover {
  text-decoration: none;
  background: rgb(74.5264317181, 177.9735682819, 78.9757709251);
  color: #fff;
}
.button.save:active {
  background: rgb(59.4735682819, 142.0264317181, 63.0242290749);
  color: #fff;
}
.button:not(:last-of-type) {
  margin-right: 10px;
}

.pageList {
  line-height: 0;
  text-align: center;
}
.pageList span {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  font-style: normal;
  text-decoration: none;
  background: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  border-radius: 100%;
  color: #2682c3;
  font-size: 17px;
  font-weight: 500;
}
.pageList span a {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  font-style: normal;
  text-decoration: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  height: 100%;
  float: left;
  height: 100%;
  font-weight: 300;
  color: #6a6a6a;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.pageList span a:hover {
  color: #2682c3;
  text-decoration: none;
  border: none;
}
.pageList span.currentPage {
  color: #2682c3;
  font-weight: 700;
}
.pageList span.currentPage:after {
  content: "";
  position: absolute;
  bottom: 3.75px;
  left: 50%;
  width: 100%;
  height: 100%;
  width: 11px;
  height: 1px;
  background: #2682c3;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.pageList span.arrow {
  border: 1px solid #e0e0e0;
  border-radius: 100%;
  margin: 0 25px;
}
.pageList span.arrow i {
  font-size: 17px;
  color: #e0e0e0;
}
.pageList span.arrow.left i {
  -webkit-transform: translateX(-5%);
  transform: translateX(-5%);
}
.pageList span.arrow.right i {
  -webkit-transform: translateX(5%);
  transform: translateX(5%);
}
.pageList span.arrow.margin.left {
  margin-right: 15px;
}
.pageList span.arrow.margin.right {
  margin-left: 15px;
}
.pageList span.arrow:hover {
  border-color: #bdbdbd;
}
.pageList span.arrow:hover i {
  color: #9e9e9e;
}