.portfolio-desc h3 {
  font-size: 1.6rem;
}
.entry-image .entry-categories {
  position: absolute;
  top: 15px;
  left: 18px;
  text-transform: capitalize;
}
.entry-image .bg-overlay .entry-categories {
  position: relative;
  left: auto;
  bottom: auto;
  margin-bottom: 12px;
  z-index: 2;
}
.entry-image .entry-categories a {
  color: #fff !important;
  padding: 3px 5px;
  font-size: 13px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 300;
}
.portfolio-item .portfolio-image,
.portfolio-item .portfolio-image > a,
.portfolio-item .portfolio-image img {
  display: flex;
  align-items: center;
}

.portfolio-desc {
  position: relative;
  z-index: 6;
  padding: 14px 5px 28px 5px;
}
.grid-inner .portfolio-image {
  height: 100%;
  overflow: hidden;
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
  -webkit-transition: 1s cubic-bezier(0.75, 0.82, 0.163, 1);
  -moz-transition: 1s cubic-bezier(0.075, 0.82, 0.163, 1);
  transition: 1s cubic-bezier(0.075, 0.82, 0.163, 1);
  border: 1px solid #eaeaea;
}
.grid-inner:hover .portfolio-image {
  -webkit-clip-path: inset(4px 7px 4px 7px);
  clip-path: inset(4px 7px 4px 7px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 30);
}
.grid-inner
  .portfolio-image:hover
  .bg-overlay
  [data-hover-animate]:not(.animated) {
  opacity: 1;
  transition: 0.3s ease;
}
.grid-inner:hover .portfolio-desc h3 a {
  color: #000000 !important;
}
.text-content img {
  width: 100%;
}
.overlay-trigger-icon {
  font-size: 1.125rem;
}

/* Portfolio - Filter
-----------------------------------------------------------------*/

.portfolio-filter {
  display: flex;
  position: relative;
  margin: 0em 0em;
  justify-content: space-between;
}
.portfolio-filter li {
  position: relative;
  list-style: none;
  font-size: 1.4rem;
  cursor: none;
  user-select: none;
  text-align: center;
  font-weight: 600;
  padding: 1em 1em;
}
.portfolio-filter li a {
  color: #bfbfbf;
  transition: color 0.3s ease;
  letter-spacing: 0;
}
.portfolio-filter li:last-child a {
  border-radius: 0 4px 4px 0;
}
.portfolio-filter li a:hover {
  color: #111111;
}
.portfolio-filter li.activeFilter {
  border-bottom: 4px solid #333;
  background-color: transparent;
}
.portfolio-filter li.activeFilter a {
  color: #000 !important;
  margin: -1px 0;
}
.portfolio-filter .line {
  position: absolute;
  height: 3px;
  width: 10%;
  background: #111111;
  left: 0;
  bottom: 0;
  transition: all 0.3s ease;
  margin: 2.6rem 0;
}

.portfolio-filter li:nth-child(2):hover ~ .line {
  left: 17%;
}
.portfolio-filter li:nth-child(3):hover ~ .line {
  left: 34%;
}
.portfolio-filter li:nth-child(4):hover ~ .line {
  left: 51%;
}
.portfolio-filter li:nth-child(5):hover ~ .line {
  left: 67%;
}
.portfolio-filter li:nth-child(6):hover ~ .line {
  left: 81%;
}

.portfolio-filter li.activeFilter:nth-child(2) ~ .line {
  left: 17%;
}
.portfolio-filter li.activeFilter:nth-child(3) ~ .line {
  left: 34%;
}
.portfolio-filter li.activeFilter:nth-child(4) ~ .line {
  left: 51%;
}
.portfolio-filter li.activeFilter:nth-child(5) ~ .line {
  left: 67%;
}
.portfolio-filter li.activeFilter:nth-child(6) ~ .line {
  left: 81%;
}

.portfolio-desc h3 a {
  color: #111111;
}

.cate {
  margin-bottom: 0.2em;
  font-size: 0.9em;
}
.cate a {
  color: #222222;
}
.cate a:hover {
  color: #00b2da;
}

.dark .bg-overlay-bg,
.bg-overlay-bg.dark {
  background-color: rgba(23, 170, 241, 0.9);
}

/* Portfolio - Items - 2 Columns
-----------------------------------------------------------------*/

.portfolio.portfolio-2 {
  margin: 0 -20px -20px 0;
}

.portfolio-2 .portfolio-item {
  width: 50%;
  padding: 0 40px 46px 0;
}

.portfolio-2 .portfolio-desc h3 {
  font-size: 1.6rem;
}

.portfolio-2 .portfolio-desc span {
  margin-top: 4px;
  font-size: 14px;
}
.portfolio-desc {
  position: relative;
  z-index: 6;
  padding: 14px 5px 28px 5px;
}

/* ----------------------------------------------------------------
	다음글/이전글
-----------------------------------------------------------------*/
.pn-btn {
  position: relative;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin: 4rem 0;
}
.pn-btn:before {
  content: "";
  position: absolute;
  background-color: #eee;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
  left: 50%;
}
.pn-btn > a.prev {
  padding: 3rem 7.4rem 3rem 1.4rem;
  display: flex;
  align-items: center;
}
.pn-btn > a.next {
  padding: 3rem 1.4rem 3rem 7.4rem;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}
.pn-btn i {
  font-style: normal;
  font-size: 3.75rem;
  line-height: 4rem;
  text-align: center;
  display: block;
}
.prev .prev-arrow {
  width: 35px;
  margin-right: 16px;
  border-radius: 50% !important;
}
.next .next-arrow {
  width: 35px;
  height: 60px;
  margin-left: 16px;
  border-radius: 50% !important;
}
.pn-btn .prev:hover, .pn-btn .next:hover{
    background-color: var(--primary);
    color: #ffffff !important;
  }
.pn-btn .prev:hover h4, .pn-btn .next:hover h4{
    color: #ffffff !important;
  }

.v-control{
	display: flex;
}
.v-control > div{
	overflow: hidden;
	transition: transform .25s, visibility .25s ease-in;
}
.v-control .bg-img{
	-webkit-filter: blur(5px); 
    -moz-filter: blur(5px); 
    -o-filter: blur(5px); 
    -ms-filter: blur(5px); 
    filter: blur(5px);
	
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.v-control > div:hover .bg-img{
	-webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -o-filter: blur(0px);
    -ms-filter: blur(0px);
    filter: blur(0px);
	
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

/* ----------------------------------------------------------------
	페이지네이션
-----------------------------------------------------------------*/
.pagination {
  justify-content: center;
}

/* ----------------------------------------------------------------
	파일입력폼
-----------------------------------------------------------------*/
.custom-file {
  height: auto;
}
.custom-file-label {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: calc(1.5em + 0.75rem + 11px);
  padding: 0.375rem 0.75rem 0.375rem 3.2rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  font-size: 14px;
  color: #6c757d;
}
.custom-file-label::before {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  height: 100%;
  padding: 0.6rem 0.75rem;
  line-height: 1.5;
  color: #495057;
  content: "\e124";
  background-color: #e9ecef;
  border-right: inherit;
  border-radius: 0px;
  font-family: "lined-icons";
  font-size: 15px;
}
.custom-file-label::after {
  content: "";
  display: none;
}
input.file-caption-name {
  padding: 0px !important;
}

/* ----------------------------------------------------------------
	코멘트/댓글
-----------------------------------------------------------------*/
.comments-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  height: 20vh;
}
.comment-bt {
  float: right;
}

/* ----------------------------------------------------------------
	캡챠
-----------------------------------------------------------------*/
#_comment {
  width: 100%;
  border: 1px solid #eee;
  background-color: #f9f9f9;
  margin: 0 0 1.2rem 0;
  padding: 1rem;
}
#_comment img {
  width: 140px;
  height: 40px;
  border: 1px solid #eee;
  margin-right: 5px;
}
#m_captcha {
  width: 100%;
  border: 1px solid #eee;
  background-color: #f9f9f9;
  margin: 0 0 1.2rem 0;
  padding: 1rem;
  text-align: center;
}
#m_captcha img {
  height: auto;
  border: 1px solid #eee;
  margin-right: 5px;
}
#m_captcha button {
  width: 100%;
}
#m_captcha input {
  margin: 5px 0;
}
.commentlist .comment-content p:last-child {
  margin-bottom: 17px !important;
}

/* ----------------------------------------------------------------
	비디오
-----------------------------------------------------------------*/
.iframe100 {
  display: block;
  border: none;
  height: 550px;
  width: 100%;
}

/* ----------------------------------------------------------------
	기타
-----------------------------------------------------------------*/
.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  min-height: 40vh;
}
.top-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.top-button-right {
  display: flex;
  justify-content: flex-end;
  align-items: left;
  margin-bottom: 1rem;
}
#wr_content {
  margin-top: 8px;
}
.item-all-check {
  display: inline-flex;
}
.item-search {
  justify-content: center;
  margin: 50px auto;
  width: 50%;
}
.item-search .form-control {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}
.bg-light {
  background-color: #fbfbfb;
}
.bg-primary {
  background-color: #c5946e !important;
}
.link-box {
  background-color: #f9f9f9;
  padding: 1rem !important;
  margin-top: 2rem;
}
.entry-meta li:first-child:before {
  content: "";
  width: 0px;
}

/* ----------------------------------------------------------------
	아이콘
-----------------------------------------------------------------*/
.sticky-sidebar .social-icon {
  margin: 0 5px 5px 0;
  width: 28px;
  height: 28px;
  font-size: 1rem;
  line-height: 29px !important;
  color: #555;
  text-shadow: none;
  border: 1px solid #aaa;
  border-radius: 14px;
  overflow: hidden;
}
.sticky-sidebar i {
  font-size: 14px;
}
.sticky-sidebar p a {
  color: #888;
}




/* ----------------------------------------------------------------
	responsive
-----------------------------------------------------------------*/
@media (max-width: 1439px) {
  .grid-inner .portfolio-image {
    height: auto;
  }
}
@media (max-width: 1200px) {
  .entry-title h2,
  .entry-title h3,
  .entry-title h4 {
    font-size: 1rem;
  }
}
@media (min-width: 992px) {
  .border-between > [class*="col-"],
  .border-between .container,
  .border-between .container-fluid {
    padding-right: 18px;
    padding-left: 18px;
  }
}
@media (max-width: 992px) {
  .portfolio-desc h3 {
    font-size: 1.4rem;
    height: 34px;
    overflow: hidden;
  }
  .entry-meta li {
    font-size: 12px;
  }
  .portfolio-image {
    height: auto !important;
  }
  #sticky-bar {
    top: 0 !important;
  }
}
@media (max-width: 767px) {
  h1,
  .heading-block h1 {
    font-size: 1.8rem;
  }
  .portfolio-image img {
    -webkit-clip-path: none;
    clip-path: none;
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
  }
  .portfolio-image {
    height: auto !important;
  }
  .portfolio-2 .portfolio-desc h3 {
    font-size: 1rem;
  }
  .entry-title.title-sm h3 {
    font-size: 0.9rem;
  }
  .entry-categories {
    font-size: 15px;
  }
  .col-mb-50 > .col,
  .col-mb-50 > [class*="col-"] {
    padding-bottom: 26px;
  }
  .tab-nav.tab-nav9 li a {
    width: 100%;
  }
  .pn-btn > a.prev,
  .pn-btn > a.next {
    padding: 0.5rem;
  }
  .top-button {
    flex-direction: column;
    align-items: start;
  }
  .top-button .btn-group {
    margin-top: 10px;
    margin-bottom: 16px;
  }
  .top-button-right {
    justify-content: flex-start;
  }
  .item-search {
    width: 100%;
  }
  .prev .prev-arrow {
    margin-right: 3px;
  }
  .next .next-arrow {
    margin-left: 3px;
  }
  .pn-btn i {
    font-size: 2.75rem;
    line-height: 3.8rem;
  }
  .portfolio-filter li {
    font-size: 0.9rem;
  }
}
