.ht-grid {
    margin-left: -15px;
    margin-right: -15px;
    min-height: 1px;
  }
  .ht-grid:after {
    content: "";
    display: block;
    clear: both;
  }
  
  .ht-grid-item {
    padding-left: 15px;
    padding-right: 15px;
    float: left;
    min-height: 1px;
    min-height: 1px;
  }
  
  @media (min-width: 1024px) {
    .ht-grid-1 .ht-grid-item {
      width: calc( 100% / 1 );
    }
    .ht-grid-2 .ht-grid-item {
      width: calc( 100% / 2 );
    }
    .ht-grid-2 .ht-grid-item:nth-of-type(2n+3) {
      clear: both;
    }
    .ht-grid-3 .ht-grid-item {
      width: calc( 100% / 3 );
    }
    .ht-grid-3 .ht-grid-item:nth-of-type(3n+4) {
      clear: both;
    }
    .ht-grid-4 .ht-grid-item {
      width: calc( 100% / 4 );
          padding-left: 10px;
    padding-right: 10px;
    }
    .ht-grid-4 .ht-grid-item:nth-of-type(4n+5) {
      clear: both;
    }
    .ht-grid-5 .ht-grid-item {
      width: calc( 100% / 5 );
    }
    .ht-grid-5 .ht-grid-item:nth-of-type(5n+6) {
      clear: both;
    }
    .ht-grid-6 .ht-grid-item {
      width: calc( 100% / 6 );
    }
    .ht-grid-6 .ht-grid-item:nth-of-type(6n+7) {
      clear: both;
    }
    .ht-grid-7 .ht-grid-item {
      width: calc( 100% / 7 );
    }
    .ht-grid-7 .ht-grid-item:nth-of-type(7n+8) {
      clear: both;
    }
    .ht-grid-8 .ht-grid-item {
      width: calc( 100% / 8 );
    }
    .ht-grid-8 .ht-grid-item:nth-of-type(8n+9) {
      clear: both;
    }
    .ht-grid-9 .ht-grid-item {
      width: calc( 100% / 9 );
    }
    .ht-grid-9 .ht-grid-item:nth-of-type(9n+10) {
      clear: both;
    }
    .ht-grid-10 .ht-grid-item {
      width: calc( 100% / 10 );
    }
    .ht-grid-10 .ht-grid-item:nth-of-type(10n+11) {
      clear: both;
    }
    .ht-grid-11 .ht-grid-item {
      width: calc( 100% / 11 );
    }
    .ht-grid-11 .ht-grid-item:nth-of-type(11n+12) {
      clear: both;
    }
    .ht-grid-12 .ht-grid-item {
      width: calc( 100% / 12 );
    }
    .ht-grid-12 .ht-grid-item:nth-of-type(12n+13) {
      clear: both;
    }
  }
  @media (min-width: 768px) and (max-width: 1023px) {
    .ht-grid-tablet-1 .ht-grid-item {
      width: calc( 100% / 1 );
    }
    .ht-grid-tablet-2 .ht-grid-item {
      width: calc( 100% / 2 );
    }
    .ht-grid-tablet-2 .ht-grid-item:nth-of-type(2n+3) {
      clear: both;
    }
    .ht-grid-tablet-3 .ht-grid-item {
      width: calc( 100% / 3 );
    }
    .ht-grid-tablet-3 .ht-grid-item:nth-of-type(3n+4) {
      clear: both;
    }
    .ht-grid-tablet-4 .ht-grid-item {
      width: calc( 100% / 4 );
    }
    .ht-grid-tablet-4 .ht-grid-item:nth-of-type(4n+5) {
      clear: both;
    }
    .ht-grid-tablet-5 .ht-grid-item {
      width: calc( 100% / 5 );
    }
    .ht-grid-tablet-5 .ht-grid-item:nth-of-type(5n+6) {
      clear: both;
    }
    .ht-grid-tablet-6 .ht-grid-item {
      width: calc( 100% / 6 );
    }
    .ht-grid-tablet-6 .ht-grid-item:nth-of-type(6n+7) {
      clear: both;
    }
    .ht-grid-tablet-7 .ht-grid-item {
      width: calc( 100% / 7 );
    }
    .ht-grid-tablet-7 .ht-grid-item:nth-of-type(7n+8) {
      clear: both;
    }
    .ht-grid-tablet-8 .ht-grid-item {
      width: calc( 100% / 8 );
    }
    .ht-grid-tablet-8 .ht-grid-item:nth-of-type(8n+9) {
      clear: both;
    }
    .ht-grid-tablet-9 .ht-grid-item {
      width: calc( 100% / 9 );
    }
    .ht-grid-tablet-9 .ht-grid-item:nth-of-type(9n+10) {
      clear: both;
    }
    .ht-grid-tablet-10 .ht-grid-item {
      width: calc( 100% / 10 );
    }
    .ht-grid-tablet-10 .ht-grid-item:nth-of-type(10n+11) {
      clear: both;
    }
    .ht-grid-tablet-11 .ht-grid-item {
      width: calc( 100% / 11 );
    }
    .ht-grid-tablet-11 .ht-grid-item:nth-of-type(11n+12) {
      clear: both;
    }
    .ht-grid-tablet-12 .ht-grid-item {
      width: calc( 100% / 12 );
    }
    .ht-grid-tablet-12 .ht-grid-item:nth-of-type(12n+13) {
      clear: both;
    }
  }
  @media (max-width: 767px) {
    .ht-grid-mobile-1 .ht-grid-item {
      width: calc( 100% / 1 );
    }
    .ht-grid-mobile-2 .ht-grid-item {
      width: calc( 100% / 2 );
    }
    .ht-grid-mobile-2 .ht-grid-item:nth-of-type(2n+3) {
      clear: both;
    }
    .ht-grid-mobile-3 .ht-grid-item {
      width: calc( 100% / 3 );
    }
    .ht-grid-mobile-3 .ht-grid-item:nth-of-type(3n+4) {
      clear: both;
    }
    .ht-grid-mobile-4 .ht-grid-item {
      width: calc( 100% / 4 );
    }
    .ht-grid-mobile-4 .ht-grid-item:nth-of-type(4n+5) {
      clear: both;
    }
    .ht-grid-mobile-5 .ht-grid-item {
      width: calc( 100% / 5 );
    }
    .ht-grid-mobile-5 .ht-grid-item:nth-of-type(5n+6) {
      clear: both;
    }
    .ht-grid-mobile-6 .ht-grid-item {
      width: calc( 100% / 6 );
    }
    .ht-grid-mobile-6 .ht-grid-item:nth-of-type(6n+7) {
      clear: both;
    }
    .ht-grid-mobile-7 .ht-grid-item {
      width: calc( 100% / 7 );
    }
    .ht-grid-mobile-7 .ht-grid-item:nth-of-type(7n+8) {
      clear: both;
    }
    .ht-grid-mobile-8 .ht-grid-item {
      width: calc( 100% / 8 );
    }
    .ht-grid-mobile-8 .ht-grid-item:nth-of-type(8n+9) {
      clear: both;
    }
    .ht-grid-mobile-9 .ht-grid-item {
      width: calc( 100% / 9 );
    }
    .ht-grid-mobile-9 .ht-grid-item:nth-of-type(9n+10) {
      clear: both;
    }
    .ht-grid-mobile-10 .ht-grid-item {
      width: calc( 100% / 10 );
    }
    .ht-grid-mobile-10 .ht-grid-item:nth-of-type(10n+11) {
      clear: both;
    }
    .ht-grid-mobile-11 .ht-grid-item {
      width: calc( 100% / 11 );
    }
    .ht-grid-mobile-11 .ht-grid-item:nth-of-type(11n+12) {
      clear: both;
    }
    .ht-grid-mobile-12 .ht-grid-item {
      width: calc( 100% / 12 );
    }
    .ht-grid-mobile-12 .ht-grid-item:nth-of-type(12n+13) {
      clear: both;
    }
  }


/* CSS layout activity */

.activity-grid .wg-post-item .ht-grid-item-inner {
  display: inline-block;
}

.activity-grid .wg-post-item .wg-post-meta,
.activity-grid .wg-post-item .wg-post-title,
.activity-grid .wg-post-item .wg-post-summary {
  padding-left: 15px;
  padding-right: 15px;
}
.activity-grid .wg-post-item .wg-post-content{
  position: relative;
}
.activity-grid .wg-post-item .wg-post-image{
	position: relative;
    display: inline-block;
    .flag-status {
    	position: absolute;
        line-height: 38px;
        display: inline-block;
        top: 20px;
        right: 0;
        padding: 0 15px 0 30px;
        background: #042D46;
        color: #fff;
        font-family: 'Poppins';
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
        z-index: 2;
    }
}
.activity-grid .wg-post-item.comming-soon .wg-post-image img {
	 filter: grayscale(1);
}
.activity-grid .wg-post-item .wg-book-now-button {
	z-index: 2;
}
.activity-grid .wg-post-item .wg-book-now-button a {
  width: 100%;
  display: inline-block;
}

.activity-grid .wg-post-item .wg-post-meta-item {
  width: calc(50% - 4px);
  display: inline-block;
}
.activity-grid .wg-post-item .wg-book-now-button {
  position: absolute;
  left: 0;
  bottom: -30px;
  width: 100%;
  border-bottom-left-radius: 8px;
  overflow: hidden;
  border-bottom-right-radius: 8px;
  opacity: 0;
  transition: all 0.2s;
}
.activity-grid .wg-post-item:hover .wg-book-now-button {
  bottom: -62px;
  opacity: 1;
}


.pagination {
  margin-top: 70px;
  clear: both;
  text-align: center;
  display: inline;
}
.pagination ul {
  margin: 0;
  padding: 0;
}
.pagination ul .page-numbers {
  font-weight: 600;
  text-transform: uppercase;
}
.pagination ul .page-numbers:not(.prev):not(.next) {
  min-width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0);
}
.pagination li {
  list-style: none;
  display: inline-flex;
}
.pagination li .current {
  color: #000;
}
.pagination .nav-links {
  text-align: center;
}

/* Activity single */

.activity-single .activity-single-meta .wg-book-now-button {
  width: 140px;
  vertical-align: top;
  display: inline-block;
}
.activity-single .activity-single-meta .wg-book-now-button a {
  width: 100%;
  line-height: 52px;
  height: 52px;
  text-align: center;
  display: inline-block;
  border-radius: 12px;
}
.activity-single .activity-single-meta .wg-post-title {
  width: calc(100% - 145px);
  display: inline-block;
}