/*------------------------------------------------------------------
Blog Grid
-------------------------------------------------------------------*/
.oew-blog-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.oew-blog-grid.oew-masonry::before {
  display: block;
  visibility: hidden;
  position: absolute;
  font-size: 1px;
}
@media screen and (max-width: 767px) {
  .oew-blog-grid.oew-masonry[data-mobile-columns="1"][data-columns]::before {
    content: "1 .oew-column";
  }
  .oew-blog-grid.oew-masonry[data-mobile-columns="2"][data-columns]::before {
    content: "2 .oew-column";
  }
  .oew-blog-grid.oew-masonry[data-mobile-columns="3"][data-columns]::before {
    content: "3 .oew-column";
  }
  .oew-blog-grid.oew-masonry[data-mobile-columns="4"][data-columns]::before {
    content: "4 .oew-column";
  }
  .oew-blog-grid.oew-masonry[data-mobile-columns="5"][data-columns]::before {
    content: "5 .oew-column";
  }
  .oew-blog-grid.oew-masonry[data-mobile-columns="6"][data-columns]::before {
    content: "6 .oew-column";
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .oew-blog-grid.oew-masonry[data-tablet-columns="1"][data-columns]::before {
    content: "1 .oew-column";
  }
  .oew-blog-grid.oew-masonry[data-tablet-columns="2"][data-columns]::before {
    content: "2 .oew-column";
  }
  .oew-blog-grid.oew-masonry[data-tablet-columns="3"][data-columns]::before {
    content: "3 .oew-column";
  }
  .oew-blog-grid.oew-masonry[data-tablet-columns="4"][data-columns]::before {
    content: "4 .oew-column";
  }
  .oew-blog-grid.oew-masonry[data-tablet-columns="5"][data-columns]::before {
    content: "5 .oew-column";
  }
  .oew-blog-grid.oew-masonry[data-tablet-columns="6"][data-columns]::before {
    content: "6 .oew-column";
  }
}
@media screen and (min-width: 1025px) {
  .oew-blog-grid.oew-masonry[data-desktop-columns="1"][data-columns]::before {
    content: "1 .oew-column";
  }
  .oew-blog-grid.oew-masonry[data-desktop-columns="2"][data-columns]::before {
    content: "2 .oew-column";
  }
  .oew-blog-grid.oew-masonry[data-desktop-columns="3"][data-columns]::before {
    content: "3 .oew-column";
  }
  .oew-blog-grid.oew-masonry[data-desktop-columns="4"][data-columns]::before {
    content: "4 .oew-column";
  }
  .oew-blog-grid.oew-masonry[data-desktop-columns="5"][data-columns]::before {
    content: "5 .oew-column";
  }
  .oew-blog-grid.oew-masonry[data-desktop-columns="6"][data-columns]::before {
    content: "6 .oew-column";
  }
}
.oew-blog-grid.oew-masonry .oew-column {
  padding: 0 10px;
  width: 33.3333333333%;
}
.oew-blog-grid.oew-masonry[data-columns="1"] .oew-column {
  width: 100%;
}
.oew-blog-grid.oew-masonry[data-columns="2"] .oew-column {
  width: 50%;
}
.oew-blog-grid.oew-masonry[data-columns="3"] .oew-column {
  width: 33.3333333333%;
}
.oew-blog-grid.oew-masonry[data-columns="4"] .oew-column {
  width: 25%;
}
.oew-blog-grid.oew-masonry[data-columns="5"] .oew-column {
  width: 20%;
}
.oew-blog-grid.oew-masonry[data-columns="6"] .oew-column {
  width: 16.6666666667%;
}
.oew-blog-grid:not(.oew-masonry) .oew-grid-entry {
  width: 33.3333333333%;
  padding: 0 10px;
}
@media screen and (max-width: 767px) {
  .oew-blog-grid:not(.oew-masonry)[data-mobile-columns="1"] .oew-grid-entry {
    width: 100%;
  }
  .oew-blog-grid:not(.oew-masonry)[data-mobile-columns="2"] .oew-grid-entry {
    width: 50%;
  }
  .oew-blog-grid:not(.oew-masonry)[data-mobile-columns="3"] .oew-grid-entry {
    width: 33.3333333333%;
  }
  .oew-blog-grid:not(.oew-masonry)[data-mobile-columns="4"] .oew-grid-entry {
    width: 25%;
  }
  .oew-blog-grid:not(.oew-masonry)[data-mobile-columns="5"] .oew-grid-entry {
    width: 20%;
  }
  .oew-blog-grid:not(.oew-masonry)[data-mobile-columns="6"] .oew-grid-entry {
    width: 16.6666666667%;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .oew-blog-grid:not(.oew-masonry)[data-tablet-columns="1"] .oew-grid-entry {
    width: 100%;
  }
  .oew-blog-grid:not(.oew-masonry)[data-tablet-columns="2"] .oew-grid-entry {
    width: 50%;
  }
  .oew-blog-grid:not(.oew-masonry)[data-tablet-columns="3"] .oew-grid-entry {
    width: 33.3333333333%;
  }
  .oew-blog-grid:not(.oew-masonry)[data-tablet-columns="4"] .oew-grid-entry {
    width: 25%;
  }
  .oew-blog-grid:not(.oew-masonry)[data-tablet-columns="5"] .oew-grid-entry {
    width: 20%;
  }
  .oew-blog-grid:not(.oew-masonry)[data-tablet-columns="6"] .oew-grid-entry {
    width: 16.6666666667%;
  }
}
@media screen and (min-width: 1025px) {
  .oew-blog-grid:not(.oew-masonry)[data-desktop-columns="1"] .oew-grid-entry {
    width: 100%;
  }
  .oew-blog-grid:not(.oew-masonry)[data-desktop-columns="2"] .oew-grid-entry {
    width: 50%;
  }
  .oew-blog-grid:not(.oew-masonry)[data-desktop-columns="3"] .oew-grid-entry {
    width: 33.3333333333%;
  }
  .oew-blog-grid:not(.oew-masonry)[data-desktop-columns="4"] .oew-grid-entry {
    width: 25%;
  }
  .oew-blog-grid:not(.oew-masonry)[data-desktop-columns="5"] .oew-grid-entry {
    width: 20%;
  }
  .oew-blog-grid:not(.oew-masonry)[data-desktop-columns="6"] .oew-grid-entry {
    width: 16.6666666667%;
  }
}
.oew-blog-grid .oew-grid-entry {
  margin-bottom: 20px;
}
.oew-blog-grid .oew-grid-inner {
  border: 1px solid #eaeaea;
  text-align: center;
}
.oew-blog-grid .oew-grid-media {
  position: relative;
  margin-bottom: 25px;
}
.oew-blog-grid .oew-grid-media .oew-grid-img {
  position: relative;
  display: block;
}
.oew-blog-grid .oew-grid-media img {
  width: 100%;
}
.oew-blog-grid .oew-grid-media .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 0;
  text-align: center;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.oew-blog-grid .oew-grid-media .oew-grid-img:hover .overlay {
  opacity: 1;
}
.oew-blog-grid .oew-grid-media .overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -16px;
  margin-left: -75px;
  min-width: 150px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  border: 1px solid #fff;
  z-index: 2;
  border-radius: 30px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.oew-blog-grid .oew-grid-media .overlay-btn:hover {
  background-color: #fff;
  color: #333;
}
.oew-blog-grid .oew-grid-media .entry-author-link {
  display: block;
  position: absolute;
  bottom: -35px;
  left: 50%;
  margin-left: -35px;
  width: 70px;
  height: 70px;
  border: 5px solid #fff;
  border-radius: 50%;
  z-index: 3;
}
.oew-blog-grid .oew-grid-media .entry-author-link img {
  border-radius: 50%;
}
.oew-blog-grid.has-avatar .oew-grid-media {
  margin-bottom: 45px;
}
.oew-blog-grid .oew-grid-details {
  padding: 0 20px 20px;
}
.oew-blog-grid .oew-grid-details .oew-grid-title {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 15px;
}
.oew-blog-grid .oew-grid-meta {
  background-color: #f0eff0;
  list-style: none;
  margin: 0;
  padding: 10px 20px;
  font-size: 13px;
}
.oew-blog-grid .oew-grid-meta,
.oew-blog-grid .oew-grid-meta li a {
  color: #aaa;
}
.oew-blog-grid .oew-grid-meta li a:hover {
  color: #333;
}
.oew-blog-grid .oew-grid-meta li.meta-comments {
  float: left;
}
.oew-blog-grid .oew-grid-meta li.meta-cat {
  float: right;
}
.oew-blog-grid .oew-grid-meta li i {
  margin-right: 6px;
}
.oew-blog-grid .oew-grid-meta.oew-center {
  text-align: center;
}
.oew-blog-grid .oew-grid-meta.oew-center li.meta-comments,
.oew-blog-grid .oew-grid-meta.oew-center li.meta-cat {
  float: none;
}
.oew-blog-grid .oew-grid-meta .owp-icon {
  margin-right: 5px;
}
.oew-blog-grid.match-height-grid .oew-grid-inner {
  position: relative;
  padding-bottom: 60px;
}
.oew-blog-grid.match-height-grid .oew-grid-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

/* RTL */
body.rtl .oew-blog-grid .oew-grid-media .overlay-btn {
  right: 50%;
  left: auto;
  margin-right: -75px;
  margin-left: 0;
}
body.rtl .oew-blog-grid .oew-grid-media .entry-author-link {
  right: 50%;
  left: auto;
  margin-right: -35px;
  margin-left: 0;
}
body.rtl .oew-blog-grid .oew-grid-meta i,
body.rtl .oew-blog-grid .oew-grid-meta .owp-icon {
  margin-right: 0;
  margin-left: 5px;
}
body.rtl .oew-blog-grid .oew-grid-meta li.meta-comments {
  float: right;
}
body.rtl .oew-blog-grid .oew-grid-meta li.meta-cat {
  float: left;
}

/*------------------------------------------------------------------
Responsive
-------------------------------------------------------------------*/
@media (max-width: 1024px) {
  .oew-blog-grid:not(.oew-masonry) .oew-grid-entry {
    width: 50%;
  }
}
@media (max-width: 767px) {
  .oew-blog-grid:not(.oew-masonry) .oew-grid-entry {
    width: 100%;
  }
}