.bg-light {
  background-color: #F1F1F1;
}

.gallery-container {
  position: relative;
  width: 100%;
  border-width: 7px;
  border-color: #FFFFFF;
  border-style: solid;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: 0.3s ease;
}

.gallery-container:hover .overlay {
  height: 50px;
}

.text {
  font-size: 14px;
  line-height: 1.3em;
  color: #414141;
  font-weight: bold;
	text-align: left;
}
.text .small {
  font-size: 13px;
  line-height: 1.3em;
  color: #999999;
}
.text .view-btn {
  right: 10px;
  top: 12px;
  position: absolute;
  color: #000000;
  font-weight: 500;
  border-width: 1px;
  border-color: #e7e7e7;
  border-style: solid;
  font-size: 13px;
}
.text .view-btn:hover {
  border-color: #333333;
}

.carousel-control-next, .carousel-control-prev {
  width: auto;
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 0rem;
}

.modal-thumbs {
  min-height: 150px;
}
.modal-thumbs label {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  line-height: 1.3em;
  font-weight: 700;
  color: #333333;
  padding-left: 5px;
}
.modal-thumbs ul {
  padding: 0;
}
.modal-thumbs ul li {
  list-style: none;
  width: 25%;
  float: left;
}

.projectGallery .modal-content {border: none;}
.projectGallery button.close {border: 0; background: none; font-size: 30px;}

h5.modal-title {color: #eb7312;}

.gallery-container img {width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;}

@media (max-width: 768px) {
  .modal-thumbs ul li {
    width: 50%;
  }
}
.modal-thumbs ul li .border {
  display: inline-block;
  position: relative;
}
.modal-thumbs ul li .border::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0.5);
  transition: box-shadow 0.1s ease;
  cursor: pointer;
}
.modal-thumbs ul li .border:hover::after {
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.5);
}
.modal-thumbs ul li img {
  display: block;
  position: relative;
}

.arrow-left {
  float: left;
  left: 0px;
  padding: 50px;
  position: fixed;
  height: 100%;
}
@media (max-width: 768px) {
  .arrow-left {
    display: none !important;
  }
}


.galleryHolder .arrow-left:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.galleryHolder .carousel-inner {
  float: left;
}

.galleryHolder .arrow-right {
  float: left;
  right: 0px;
  padding: 50px;
  position: fixed;
  height: 100%;
}
@media (max-width: 768px) {
  .arrow-right {
    display: none !important;
  }
}
.arrow-right:hover {
  background-color: rgba(0, 0, 0, 0.3);
}