.cm-projects .cm-grid {
  display:flex;
  flex-wrap:wrap;
}
.cm-projects .cm-item {
  display:none;
  width:30%;
}

.cm-projects .top-section {
  text-align: center;
}

.cm-projects .cm-grid {
  margin-left: -15px;
  margin-right: -15px;
}

.cm-projects .cm-grid .cm-item {
  width: calc(33.32% - 30px);
  margin: 15px;
}

.cm-projects .page-center {
  max-width: 1425px;
  padding: 0 90px;
}

.cm-projects .cm-grid .cm-item img {
  height: 30vh;
  width: 100%;
  object-fit: cover;
  transition: opacity .45s 
    cubic-bezier(.15, .75, .5, 1) 0s, transform .45s 
    cubic-bezier(.15, .75, .5, 1) 0s;
}

.cm-projects .cm-grid .hs_fil_item {
  position: relative;
  overflow: hidden;
}

.cm-projects .cm-grid .hs_fil_content h3 {
  margin-bottom: 0;
}

.cm-projects .cm-grid .cm-item:hover img {
  transform: scale(1.1);
  transition: opacity .45s 
    cubic-bezier(.15, .75, .5, 1) 0s, transform .45s 
    cubic-bezier(.15, .75, .5, 1) 0s;
}

.cm-projects .cm-grid .hs_fil_overlay {
  background-color: #000000;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  transition: opacity .45s 
    cubic-bezier(.15, .75, .5, 1) 0s, transform .45s 
    cubic-bezier(.15, .75, .5, 1) 0s;
}

.cm-projects .cm-grid .cm-item:hover .hs_fil_overlay{
  opacity: 0.5;
  transition: opacity .45s 
    cubic-bezier(.15, .75, .5, 1) 0s, transform .45s 
    cubic-bezier(.15, .75, .5, 1) 0s;
}

.cm-projects {
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
  background-color: #131418;
  position:relative;
  padding-top: 14%;
  padding-bottom: 5%;
}

.cm-projects * {
  color: #fff;
}

.cm-projects::after{
  content: '';
  bottom: auto;
  top: -1px;
  position: absolute;
  width: 100%;
  height: 5%;
  transform: rotate(180deg);
  z-index: 3;
  left: 0;
}

.cm-projects .top-section h5.title {
  margin-bottom: 22.500px;
  padding-bottom: 8px;
  letter-spacing: 4px;
  font-weight: 500;
  line-height: 2;
}

.cm-projects .top-section h1 {
  margin-bottom: 22.5px;
}

.cm-projects .hs_fil_cat_wrp {
  margin-bottom: 20px;
  padding-top: 15px;
}

.cm-projects .top-section a {
  margin: 0 20px;
  line-height: 1;
  padding: 4px 0;
  position: relative;
}

.cm-projects .top-section a.active:after {
  position: absolute;
  display: block;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background-color: #838175;
  content: "";
}

.cm-projects .top-section a:after{
  position: absolute;
  display: block;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background-color: #838175;
  content: "";
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  transition: .37s all 
    cubic-bezier(.23, .46, .4, 1);
}
.cm-projects .top-section a:hover{
  color:#fff;
}
.cm-projects .top-section a:hover:after{
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.cm-projects .top-section a.active:after {
  transform: scaleX(1);
}
.cm-projects .row-bg-overlay {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: ' ';
  z-index: 2;
  backface-visibility: hidden;
}

.cm-projects .page-center {
  position: relative;
  z-index: 3;
}

.cm-projects .top-section h1 {
  font-size: 6vh;
  line-height: 6.6vh;
}

.cm-projects .hs_fil_cat_wrp {
  display: flex;
  justify-content: center;
  align-items: center;
  row-gap: 20px;
  flex-wrap: wrap;
}

.cm-projects .cm-item .hs_fil_item_inner {
  position: relative;
}

.cm-projects .cm-item .hs_fil_item_inner a.over-link {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

.cm-projects .cm-grid .hs_fil_content{
  position: absolute;
  height: 100%;
  width: 100%;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cm-projects .cm-grid .hs_fil_content .hs_fil_title h3 {
  margin: 0;
  transition: all .45s 
    cubic-bezier(.15, .75, .5, 1) 0s;
  line-height: 1.2em;
  max-width: 70%;
}

.cm-projects .load-more-wrap {
  text-align: center;
  margin: 60px 0;
}

.cm-projects .load-more-wrap .load-more-btn {
  border-radius: 4px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  background-color: transparent;
  display: inline-block;
  position: relative;
  padding: 10px 40px;
  font-size: 15px;
  line-height: 1.6;
  transition: background-color .3s 
    ease, border-color .3s 
    ease, color .3s 
    ease;
}

.cm-projects .load-more-wrap .load-more-btn:hover{
  background-color: #838175;
  border-color: transparent;
}

.cm-projects .btm-sec .bs-divider {
  height: 39px;
  display: block;
}

.cm-projects .btm-sec-cnt {
  margin-bottom: 24px;
}


.cm-projects .btm-sec {
  text-align: left;
  margin-top: 74px;
  margin-top
  FONT-VARIANT: JIS78;
  margin-top
  FONT-VARIANT: JIS78;
}


.cm-projects .btm-sec-cnt h5 {
  letter-spacing: 4px;
  font-weight: 500;
  line-height: 2;
}

.cm-projects .btm-sec-cnt h1 {
  font-size: 68px;
  line-height: 1.1em;
}


.cm-projects a.nectar-next-section {
  display: inline-block;
  width: 49px;
  height: 49px;
  border: 2px solid #fff;
  text-align: center;
  line-height: 50px;
  border-radius: 100px;
  font-size: 25px;
  transition: opacity .4s 
    ease;
  overflow: hidden;
  margin-left: 0;
  opacity: .6;
}

.cm-projects a.nectar-next-section i {
  transition: transform .2s 
    ease;
  display: block;
  width: 49px;
  height: 48px;
  line-height: 48px;
  font-size: 20px;
  transform: translate(0, -48px);
  word-spacing: 1px;
  position: relative;
  text-align: center;
  top: -2px;
  vertical-align: middle;
  max-width: 100%;
}


.cm-projects a.nectar-next-section {
  border-color: #fff;
}

.cm-projects a.nectar-next-section i {
  font-family: icomoon;
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  word-spacing: 1px;
  position: relative;
  text-align: center;
  top: -2px;
  vertical-align: middle;
  max-width: 100%;
  align-content: center;
}

.cm-projects a.nectar-next-section:hover i {
  transform: translate(0, 0);
}

.cm-projects a.nectar-next-section:hover {
  opacity: 1;
}

.cm-projects .top-section a.active {
  color: #fff;
}

@media(max-width: 991px){
  .cm-projects .cm-grid .cm-item {
    width: calc(50% - 30px);
  }

  .cm-projects .page-center {
    padding: 0 15px;
  }

  .cm-projects .cm-grid .hs_fil_content h3 {
    line-height: 1.2;
  }

  .cm-projects::after{
    height: 30px;
  }

  .cm-projects .top-section a{
    margin: 0 15px;
  }
}

@media(max-width: 767px){
  .cm-projects .cm-grid .cm-item {
    width: calc(100% - 30px);
  }

  .cm-projects .btm-sec-cnt h1 {
    font-size: 50px;
  }
}




/*  for category page */

.cm-projects.cm_cat_page {
  padding: 35px 0;
  background: unset;
}

.cm-projects.cm_cat_page:after {
  display: none;
}

.cm-projects.cm_cat_page .row-bg-overlay {
  background:none;
  position: static;
}


.cm-projects.cm_cat_page .cat_title h1 {
  color: #444;
  font-size: 54px;
  line-height: 62px;
  margin: 0;
}

.cm-projects.cm_cat_page .cat_title {
  margin: 0;
  padding: 0 0 36px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .15);
}

.cm-projects.cm_cat_page .portfolio_item {
  padding: 15px;
  width: 33.33%;
}

.cm-projects.cm_cat_page .portfoio_wrap {
  width: 100%;
  padding-top: 25px;
}

.cm-projects.cm_cat_page .item_row {
  width: calc(100% + 30px);
  margin-left: -15px;
  margin-top: -15px;
  display: flex;
  flex-wrap: wrap;

}

.cm-projects.cm_cat_page  .work-info {
  opacity: 0;
  position: absolute;
  z-index: 10;
  padding: 0 20px;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  color: #fff;
  transition: all 0.2s 
    ease;
  -webkit-transition: all 0.2s 
    ease;
}

.cm-projects.cm_cat_page  .work-meta {
  text-align: left;
  float: left;
  width: 70%;
  font-size: 11px;
  color: #999;
}

.cm-projects.cm_cat_page  .work-meta h4 {
  line-height: 90%;
  letter-spacing: 0px;
  font-family: interstate, sans-serif;
  font-weight: 600 !important;
  color: #444;
  position: relative;
  top: -2px;
}

.cm-projects.cm_cat_page  .work-info .vert-center {
  text-align: center;
  margin-top: -20px;
  position: relative;
  z-index: 10;
  top: 50%;
  width: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all 0.2s 
    ease-out 0s;
  transition: all 0.2s 
    ease-out 0s;
}

.cm-projects.cm_cat_page  .work-info .vert-center a.default-link {
  background-color: #252525;
  padding: 9px 15px;
  color: #fff;
  font-size: 12px;
  margin: 5px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  opacity: 0;
  transition: all 0.2s 
    ease;
  -webkit-transition: all 0.2s 
    ease;
}


.cm-projects.cm_cat_page  .work-item:hover .work-info {
  opacity: 1;
}

.cm-projects.cm_cat_page  .work-info-bg {
  background-color: #838175;
  opacity: 0;
  height: 100%;
  width: 100.2%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: 2;
  transition: all 0.4s 
    cubic-bezier(.15, .75, .5, 1) 0s;
  -webkit-transition: all 0.4s 
    cubic-bezier(.15, .75, .5, 1) 0s;
}


.cm-projects.cm_cat_page  .work-item:hover .work-info-bg {
  opacity: 0.9;
}

.cm-projects.cm_cat_page  .work-item {
  position: relative;
  margin-bottom: 15px;
  overflow: hidden;
  width: 100%;
}

.cm-projects.cm_cat_page .work-item:hover .vert-center {
  margin-top: 0;
}

.cm-projects.cm_cat_page .work-item:hover a.default-link {
  opacity: 1;
}
.cm-projects.cm_cat_page .work-meta h4 {
  margin: 0;
}


.cm-projects.cm_cat_page  h5.title,
.cm-projects.cm_cat_page .top-section h1,
.cm-projects.cm_cat_page .top-section a.active,
.cm-projects.cm_cat_page .top-section a,
.cm-projects.cm_cat_page .top-section a:hover{
  color: #222;
}

@media (max-width:1200px){
  .cm-projects.cm_cat_page .work-info .vert-center a.default-link {
    display: block;
  }
}

@media only screen and (min-width: 690px) and (max-width: 999px) {

  .cm-projects.cm_cat_page .portfolio_item {
    width: 49.9% 
  }
}
@media only screen and (min-width: 480px) and (max-width: 690px){
  .cm-projects.cm_cat_page .portfolio_item {
    width: 100%;
  }

  .cm-projects.cm_cat_page .item_row {
    flex-direction: column;
  }
  .cm-projects .page-center {
    max-width: 450px;

  }

  .cm-projects.cm_cat_page .work-meta h4 {
    margin: 0;
  }
}

@media (max-width:479px){
  .cm-projects .page-center{
    max-width: 350px;

  }

  .cm-projects.cm_cat_page .portfolio_item {
    width: 100%;
  }
}
