@charset "utf-8";

/* SIR 지운아빠 */
/* 새글 스킨 (latest) */
.gallery_single {
  position: relative;
  display: block;
  height: 100%;
}

.content02 {
  position: relative;
  font-size: 0;
}

.content02 .ctrl {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
}

.content02 .ctrl span {
  font-size: 30px;
  color: #fff;
  line-height: 31px;
  font-weight: bold;
  display: inline-block;
}

.content02 .ctrl span.bar {
  margin: 0 4px;
  font-size: 20px;
  color: #fff;
  line-height: 31px;
  font-weight: bold;
  display: inline-block;
}

.gallery_single_wrap {
  position: relative;
  height: 340px;
}

@media (min-width: 1100px) {
  .gallery_single_wrap {
    margin-right: 1px;
  }
}

.latest_gallery_title {
  text-align: center;
  padding: 0px 0px 30px;
}

.latest_gallery_title a {
  font-size: 3em;
  font-weight: 600;
  color: #555;
}

.latest_gallery_title small {
  font-size: 15pt;
  display: block;
}

.gallery_single>div {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery_single div.thumb-wrap-single>div {
  display: block;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.gallery_single div.thumb-wrap-single .hover-wrap {
  display: none;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.gallery_single_wrap div.thumb-wrap-single-bg {
  display: grid;
  flex-direction: column;
  height: 100%;
  background-color: #953030;
  align-items: end;
  justify-content: end;
  padding-right: 0px;
  text-align: right;
}

@media(max-width: 680px){
	.gallery_single_wrap div.thumb-wrap-single-bg {
	  display: grid;
	  flex-direction: column;
	  height: 100%;
	  background-color: rgba(0, 26, 39, 0.8);
	  align-items: end;
	  justify-content: end;
	  margin-right: -30px;
	  text-align: right;
	}
}

.gallery_single>div ul.info-wrap {
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 5%;
  right: 40%;
  z-index: 2;
}

.gallery_single>div ul.info-wrap>li:last-child {
  position: absolute;
  left: 0px;
  bottom: 0px;
  white-space: nowrap;
}

.gallery_single>div ul {
  position: relative;
  margin: 0px auto;
  background: none !important;
  padding: 0px !important;
}

.gallery_single .iframe-wrap {
  padding-bottom: 202px;
}

.gallery_single>div ul>li,
.gallery_single>div ul>li span {
  vertical-align: middle;
}

.gallery_single>div ul>li h2 a {
  display: block;
  color: #FFF;
  font-size: 1.3em;
  font-weight: 600;
  line-height: 90%;
  margin-bottom: 20px;
}

.gallery_single>div ul>li h2 a small {
  display: block;
  font-size: 0.5em;
  font-weight: 400;
  color: #fff;
}

.gallery_single>div ul>li span {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery_single>div ul>li span.sermon-subject {
  font-size: 1.5em;
  margin-top: 5px;
  font-weight: 400;
  width: 100%;
  line-height: 30px !important;
  height: 30px;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery_single>div ul>li span.sermon-datetime,
.gallery_single>div ul>li span.sermon-text,
.gallery_single>div ul>li span.sermon-preacher {
  font-size: 1.2em;
  font-weight: 400;
  line-height: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 1);
}

.gallery_single>div ul>li span.sermon-text {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 1);
}

.gallery_single>div ul>li span.sermon-datetime:after {
  content: '';
  position: relative;
  display: inline-block;
  font-size: 0.75em;
  top: -2px;
  margin: 0px 0px 0px 3px;
}

.gallery_single>div ul>li span.btn {
  position: relative;
  top: -1px;
  font-size: 0.9em;
  font-weight: 300;
  line-height: 25px !important;
  height: 25px !important;
  width: 70px;
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
  margin-right: 10px;
}

.gallery_single>div ul>li span.sermon-content {
  margin-top: 10px;
  font-size: 1.4em;
  display: -webkit-box;
  line-height: 30px;
  height: 90px;
  -webkit-line-clamp: 3;
  /* 라인수 */
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  margin-bottom: 10px;
}

.gallery_single>div ul>li span.bottom-btn {
  margin-top: 10px;
  line-height: 35px !important;
  height: 35px;
  overflow: hidden;
  text-align: center;
  margin-right: 10px;
  padding: 0px 10px;
  font-size: 1.1em;
  cursor: pointer;
  min-width: 120px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.gallery_single>div ul>li span.bottom-btn i {
  display: inline-block;
  margin-right: 5px;
}

.gallery_single>div ul>li span.play {
  background-color: rgba(255, 255, 255, 0.7);
  color: #2A2A28;
}

.gallery_single>div ul>li span.play:hover {
  background-color: #cf2427;
  color: #fff;
}

.gallery_single>div ul>li span .play-btn {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  top: -1px;
}

.gallery_single>div ul>li span i {
  position: absolute;
  color: #cf2427;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.6);
}

.gallery_single>div ul>li span.read,
.gallery_single>div ul>li span.you {
  background-color: rgba(255, 255, 255, 0.7);
  color: #2A2A28;
}

.gallery_single>div ul>li span.read:hover,
.gallery_single>div ul>li span.you:hover {
  background-color: #cf2427;
  color: #fff;
}

.gallery_single>div ul>li span.read .icon,
.gallery_single>div ul>li span.you .icon {
  display: inline-block;
  font-weight: 300;
  font-size: 1.5em;
  position: relative;
  margin-right: 10px;
  background-color: #FFF;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  top: -3px;
}

.gallery_single>div ul>li span.read .icon:before {
  content: '+';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #2A2A28;
}

.onlym {
  display: none;
}

.gallery_single>div ul>li span.you .icon:before {
  content: '▶';
  font-size: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #2A2A28;
}

@media (max-width: 1000px) {
  .gallery_single div.thumb-wrap-single>div {
    display: inline-table;
    align-content: end;
  }

  .gallery_single>div ul>li span.sermon-subject {
    font-size: 1.1em;
    height: 50px;
    line-height: 25px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    white-space: break-spaces;
  }

  .gallery_single>div ul>li span.sermon-content {
    font-size: 1.5em;
    height: 60px;
    -webkit-line-clamp: 2;
  }

  .gallery_single>div ul>li span.bottom-btn {
    line-height: 37px;
    padding: 0px 15px;
		width: 140px;
		text-align: left;
    margin-top: 10px;
    font-size: 1em;
  }

  .gallery_single>div ul>li h2 a {
    font-size: 1.1em;
    margin-bottom: 10px;
  }

  .gallery_single>div ul>li span.sermon-datetime,
  .gallery_single>div ul>li span.sermon-text,
  .gallery_single>div ul>li span.sermon-preacher {
    font-size: 1em;
    height: 20px;
    line-height: 20px;
  }
}

@media (max-width: 640px) {
  .onlym {
    display: block;
  }

  .gallery_single>div ul.info-wrap {
    top: 5%;
    bottom: 5%;
  }

  .gallery_single>div ul>li span.sermon-content {
    font-size: 1.5em;
    height: 30px;
    white-space: nowrap;
  }
}

@media (max-width: 400px) {
  .gallery_single>div ul>li span.sermon-content {
    display: none;
  }
}

.gallery_single .owl-nav {
  position: absolute;
  width: 100%;
  height: 0px;
  top: 50%;
  z-index: 999;
  display: block !important;
}

.gallery_single .owl-nav>* {
  position: absolute;
  top: 0px;
  transform: translateY(-50%);
  font-size: 5em !important;
  color: rgba(0, 0, 0, 0.15) !important;
  -webkit-transition: all 0.3s ease-out !important;
  -moz-transition: all 0.3s ease-out !important;
  -o-transition: all 0.3s ease-out !important;
  transition: all 0.3s ease-out !important;
  font-family: "Nanum Gothic", "나눔고딕", "Noto Sans KR", "Lato", "Apple SD Gothic Neo", "Malgun Gothic", dotum, sans-serif !important;
  font-weight: bold !important;
}

.gallery_single .owl-nav>*:hover {
  color: rgba(0, 0, 0, 0.7) !important;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.gallery_single .owl-nav .owl-prev {
  left: -65px;
}

.gallery_single .owl-nav .owl-next {
  right: -65px;
}

@media (max-width: 1200px) {
  .gallery_single .owl-nav>div {
    top: -30px;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 10px;
    font-size: 3em;
  }

  .gallery_single .owl-nav .owl-prev {
    left: -4px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
  }

  .gallery_single .owl-nav .owl-next {
    right: -4px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
  }
}
