
/*==================================
	Masonry post Grid Style 1
===================================*/
.htmega-masonry-post-card {
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
}
.htmega-masonry-post-card-image {
  display: block;
  position: relative;
  overflow: hidden;
}
.htmega-masonry-post-card-image::after {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  content: "";
  background: linear-gradient(180deg, #2E0DC3 0%, #14E9A9 100%);
  -webkit-backdrop-filter: blur(100px);
          backdrop-filter: blur(100px);
  transition: all 0.2s ease-in-out;
  opacity: 0;
  visibility: hidden;
}
.htmega-masonry-post-card-image img {
  display: block;
  max-width: 100%;
  width: 100%;
  transform: scale(1);
  transition: all 0.3s ease-in-out;
}
.htmega-masonry-post-card-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 30px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
}
@media only screen and (max-width: 767px) {
  .htmega-masonry-post-card-content {
    padding: 0 20px;
  }
}
.htmega-masonry-post-card-content-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  margin-top: 0;
  margin-bottom: 20px;
  text-transform: capitalize;
}
.htmega-masonry-post-card-content-title > a {
  color: #fff;
  text-decoration: none;
}
@media only screen and (max-width: 767px) {
  .htmega-masonry-post-card-content-title {
    font-size: 20px;
  }
}
.htmega-masonry-post-card-content .htmega-masonry-post-meta-catagory {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.htmega-masonry-post-card-content .htmega-masonry-post-meta-catagory > a {
  background-color: #fff;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  padding: 6px 10px;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  transition: all 0.3s ease-in-out;
}
.htmega-masonry-post-card-content-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 40px;
  flex-wrap: wrap;
}
@media only screen and (max-width: 767px) {
  .htmega-masonry-post-card-content-meta {
    column-gap: 20px;
  }
}
.htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  margin-bottom: 5px;
}
.htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  height: 20px;
  width: 1px;
}
@media only screen and (max-width: 767px) {
  .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item:not(:last-child)::after {
    right: -10px;
  }
}
.htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-img {
  display: flex;
}
.htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-img img{
  border-radius: 100%;
}
.htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-name {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #fff;
}
.htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-icon {
  display: flex;
}
.htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-comment {
  color: #fff;
}
.htmega-masonry-post-card-content .htmega-masonry-post-description {
  color: #fff;
  font-size: 14px;
  margin-bottom: 0;
  margin-top: 15px;
}
.htmega-masonry-post-card:hover .htmega-masonry-post-card-image img {
  transform: scale(1.1);
}
.htmega-masonry-post-card:hover .htmega-masonry-post-card-image::after {
  opacity: 0.6;
  visibility: visible;
}
.htmega-masonry-post-card:hover .htmega-masonry-post-card-content {
  opacity: 1;
  visibility: visible;
}
.htmega-custom-pagination{
  margin-top:40px;
}
.htmega-masonry-post-pagination {
  justify-content: center;
  display: flex;
  list-style: none;
  padding: 0;
  gap: 15px;
}
@media only screen and (max-width: 767px) {
  .htmega-masonry-post-pagination {
    gap: 10px;
  }
}
.htmega-masonry-post-pagination-link {
  text-decoration: none;
  height: 45px;
  width: 45px;
  text-align: center;
  border-radius: 5px;
  border: 1px solid #D4D4D4;
  color: #222;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.htmega-masonry-post-pagination-link.selected, .htmega-masonry-post-pagination-link:hover {
  color: #fff;
  background-color: #1631BA;
  border: 1px solid #1631BA;
}
.htmega-masonry-post-pagination-link.selected .htmega-masonry-post-pagination-icon svg path, .htmega-masonry-post-pagination-link:hover .htmega-masonry-post-pagination-icon svg path {
  stroke: #fff;
}

li.htmega-masonry-post-pagination-link.inactive {
  cursor: not-allowed;
}

/*==================================
	Masonry post Grid Style 2
===================================*/
.htmega-masonry-post-card-style-2.htmega-masonry-post-card {
  background: #FFFFFF;
  box-shadow: 0px 25px 60px rgba(205, 205, 205, 0.25);
  border-radius: 0px 0px 5px 5px;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card .htmega-masonry-post-card-image::after {
  display: none;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card .htmega-masonry-post-card-content {
  padding: 25px 25px 30px;
  position: inherit;
  top: auto;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  text-align: left;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card .htmega-masonry-post-card-content-title > a {
  color: #333;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card .htmega-masonry-post-card-content-title > a:hover {
  color: #5A92FF;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card .htmega-masonry-post-card-content .htmega-masonry-post-meta-catagory {
  justify-content: flex-start;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card .htmega-masonry-post-card-content .htmega-masonry-post-meta-catagory > a {
  background-color: #5A92FF;
  color: #fff;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card .htmega-masonry-post-card-content .htmega-masonry-post-meta-catagory > a:hover {
  background-color: #333;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card .htmega-masonry-post-card-content-meta {
  justify-content: flex-start;
  border-top: 1px solid #D9D9D9;
  padding-top: 20px;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item:not(:last-child)::after {
  background: #D9D9D9;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-name {
  color: #5A92FF;
  border-bottom: 1px solid #5A92FF;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-icon {
  display: flex;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-icon svg path{
  fill: #333;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-comment {
  color: #333;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card .htmega-masonry-post-card-content .htmega-masonry-post-description {
  color: #333;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card:hover .htmega-masonry-post-card-image::after {
  opacity: 0.6;
  visibility: visible;
}
.htmega-masonry-post-card-style-2.htmega-masonry-post-card:hover .htmega-masonry-post-card-content {
  opacity: 1;
  visibility: visible;
}

/*==================================
	Masonry post Grid Style 3
===================================*/
.htmega-masonry-post-card-style-3.htmega-masonry-post-card {
  margin-bottom: 8px;
  border-radius: 5px;
}
.htmega-masonry-post-card-style-3.htmega-masonry-post-card .htmega-masonry-post-card-image::after {
  visibility: visible;
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
  backdrop-filter: blur(0);
}
.htmega-masonry-post-card-style-3.htmega-masonry-post-card .htmega-masonry-post-card-content {
  text-align: left;
  top: auto;
  bottom: 0;
  transform: translateY(0) translate3d(0, 0px, 0);
  opacity: 1;
  visibility: visible;
}
@media only screen and (max-width: 767px) {
  .htmega-masonry-post-card-style-3.htmega-masonry-post-card .htmega-masonry-post-card-content {
    padding: 30px 20px;
  }
}
.htmega-masonry-post-card-style-3.htmega-masonry-post-card .htmega-masonry-post-card-content-title {
  font-weight: 700;
  font-size: 22px;
  line-height: 31px;
  margin-bottom: 0;
}
.htmega-masonry-post-card-style-3.htmega-masonry-post-card .htmega-masonry-post-card-content-title > a {
  color: #fff;
}
.htmega-masonry-post-card-style-3.htmega-masonry-post-card .htmega-masonry-post-card-content-meta {
  justify-content: flex-start;
  margin-bottom: 10px;
}
.htmega-masonry-post-card-style-3.htmega-masonry-post-card .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item:not(:last-child)::after {
  display: none;
}
.htmega-masonry-post-card-style-3.htmega-masonry-post-card .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-name {
  color: #fff;
  border-bottom: none;
}
.htmega-masonry-post-card-style-3.htmega-masonry-post-card .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-icon {
  display: flex;
}
.htmega-masonry-post-card-style-3.htmega-masonry-post-card .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-comment {
  color: #fff;
}
.htmega-masonry-post-card-style-3.htmega-masonry-post-card .htmega-masonry-post-card-content .htmega-masonry-post-description {
  color: #fff;
}
.htmega-masonry-post-card-style-3.htmega-masonry-post-card:hover .htmega-masonry-post-card-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) translate3d(0, -5px, 0);
}

/*==================================
	Masonry post Grid Style 4
===================================*/
.htmega-masonry-post-card-style-4.htmega-masonry-post-card {
  box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.07);
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-card-image::after {
  display: none;
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-card-content {
  position: inherit;
  text-align: left;
  top: auto;
  bottom: 0;
  transform: translateY(0) translate3d(0, 0px, 0);
  opacity: 1;
  visibility: visible;
}
@media only screen and (max-width: 767px) {
  .htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-card-content {
    padding: 30px 20px;
  }
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-card-content-title {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 29px;
  line-height: 36px;
  margin-bottom: 0;
}
@media only screen and (max-width: 767px) {
  .htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-card-content-title {
    font-size: 22px;
  }
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-card-content-title > a {
  color: #333;
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-card-content-title > a:hover {
  color: #8F65FC;
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-card-content-meta {
  justify-content: flex-start;
  margin-bottom: 10px;
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item:not(:last-child)::after {
  height: 4px;
  width: 4px;
  border-radius: 100%;
  background: #D9D9D9;
  right: -24px;
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-name {
  color: #333;
  text-transform: uppercase;
  border-bottom: none;
  font-family: "Playfair Display", serif;
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-name:hover {
  color: #8F65FC;
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-icon {
  display: flex;
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-comment {
  color: #333;
  font-size: 13px;
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-card-content-meta .htmega-masonry-post-meta-item .htmega-masonry-post-meta-comment:hover {
  color: #8F65FC;
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-card-content .htmega-masonry-post-description {
  color: #333;
}
.htmega-masonry-post-card .htmega-masonry-post-read-more {
  font-family: "Playfair Display", serif;
  display: inline-flex;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease-in-out;
  font-weight: 500;
  font-size: 17px;
  line-height: 23px;
  align-items: center;
  margin-top: 15px;
}
.htmega-masonry-post-card .htmega-masonry-post-read-more svg{
  width: 17px;
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-read-more {
  transform: translate3d(-75px, 0px, 0px);
  padding: 15px 20px;
  margin-top: 0;
}

.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-read-more:hover {
  color: #8F65FC;
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-read-more-text {
  transition: all 0.3s ease-in-out;
  opacity: 0;
  margin-right: 5px;
  color:#000000;
}
.htmega-masonry-post-card .htmega-masonry-post-read-more img,.htmega-masonry-post-card .htmega-masonry-post-read-more i{
  margin-left:5px;
}
.htmega-masonry-post-card-style-3 .htmega-masonry-post-read-more-text,.htmega-masonry-post-card-style-1 .htmega-masonry-post-read-more-text{
  color:#fff;
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card .htmega-masonry-post-read-more .htmega-masonry-post-read-more-img {
  transition: all 0.3s ease-in-out;
  transform: translate3d(0px, 0px, 0px);
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card:hover .htmega-masonry-post-read-more {
  transform: translate3d(0px, 0px, 0px);
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card:hover .htmega-masonry-post-read-more .htmega-masonry-post-read-more-text {
  opacity: 1;
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card:hover .htmega-masonry-post-read-more .htmega-masonry-post-read-more-img {
  transform: translate3d(10px, 0px, 0px);
}
.htmega-masonry-post-card-style-4.htmega-masonry-post-card:hover .htmega-masonry-post-card-content {
  opacity: 1;
  visibility: visible;
}

.htmega-post-masonry-widget-wrapper{
  margin-left: -10px;
  margin-right: -10px;
}
.htmega-masonry-row{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.htmega-masonry-flex-column{
  flex: 0 0 33.333%;
  max-width: 33.333%;
  padding-left:10px;
  padding-right:10px;
  width: 33.333%;
}
.htmega-masonry-sizer{
  width: 20%;
}
.htmega-preloader-deactive .htmega-preloader-wrap {
  display: none;
}
.htmega-preloader-wrap {
  background-color:#fff;
  position: absolute;
  left: 0;
  top: 0;
  height:100%;
  width: 100%;
  z-index: 9;
  overflow: hidden;
}
.htmega-preloader-wrap .htmega-preloader {
  position: absolute;
  width: 25px;
  height: 25px;
  top: 50%;
  left: 50%;
  margin-left: -12px;
  margin-top: -13px;
}
.htmega-preloader-wrap .htmega-preloader .htmega-dot {
  height: 100%;
  width: 100%;
  display: block;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
  animation: la-rotateplane 1.2s infinite ease-in-out;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  background-color: #7456f1;
}
@keyframes la-rotateplane {
  0% {
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }
  100% {
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}
.htmega-custom-pagination {
  position: relative;
  z-index: 10;
}