.eael-post-grid-container .eael-post-grid {
  margin: 0 -10px;
}

.eael-post-grid-container .eael-post-grid .eael-grid-post {
  float: left;
  padding: 10px;
}

.eael-post-carousel .eael-grid-post {
  float: none;
  padding: 0;
}

.eael-grid-post-holder {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.eael-grid-post-holder-inner {
  height: 100%;
}

.eael-entry-media {
  position: relative;
}

.eael-entry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  -webkit-transition: opacity 0.2s ease-in-out, -webkit-transform 0.25s cubic-bezier(0.19, 1, 0.22, 1);
  transition: opacity 0.2s ease-in-out, -webkit-transform 0.25s cubic-bezier(0.19, 1, 0.22, 1);
  -o-transition: opacity 0.2s ease-in-out, transform 0.25s cubic-bezier(0.19, 1, 0.22, 1);
  transition: opacity 0.2s ease-in-out, transform 0.25s cubic-bezier(0.19, 1, 0.22, 1);
  transition: opacity 0.2s ease-in-out, transform 0.25s cubic-bezier(0.19, 1, 0.22, 1), -webkit-transform 0.25s cubic-bezier(0.19, 1, 0.22, 1);
}

.eael-entry-overlay > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.eael-entry-title {
  margin: 10px 0 5px;
  font-size: 1.2em;
}

.eael-entry-thumbnail img {
  width: 100%;
  max-width: 100%;
  vertical-align: middle;
}

.eael-entry-thumbnail.eael-image-ratio img {
  position: absolute;
  top: calc(50% + 1px);
  left: calc(50% + 1px);
  -webkit-transform: scale(1.01) translate(-50%, -50%);
      -ms-transform: scale(1.01) translate(-50%, -50%);
          transform: scale(1.01) translate(-50%, -50%);
}

.eael-entry-thumbnail > img {
  height: 100%;
}

.eael-entry-footer .eael-author-avatar {
  width: 50px;
}

.eael-entry-footer .eael-author-avatar .avatar {
  border-radius: 50%;
}

.eael-post-grid .eael-entry-footer .eael-entry-meta {
  padding-left: 8px;
  text-align: left;
}

.eael-grid-post .eael-entry-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  white-space: nowrap;
}

.eael-grid-post .eael-entry-footer .eael-entry-meta {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.eael-entry-meta > div {
  font-size: 12px;
  line-height: 1.2;
  padding-bottom: 5px;
}

.eael-grid-post-excerpt p {
  margin: 0;
  font-size: 14px;
}

.eael-entry-meta .eael-entry-footer .eael-posted-by {
  display: block;
}

.eael-grid-post .eael-entry-wrapper,
.eael-grid-post .eael-entry-footer {
  padding: 15px;
}

.eael-post-grid .eael-entry-wrapper > .eael-entry-meta span.eael-posted-on {
  padding-left: 5px;
}

.eael-post-grid .eael-entry-wrapper > .eael-entry-meta span.eael-posted-on::before {
  content: "\f111";
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  color: inherit;
  opacity: 0.4;
  font-size: 0.8em;
  padding-right: 7px;
}

/*--- Post Grid Thumbnail Hover Effects ---*/

.eael-entry-media {
  position: relative;
}

.eael-entry-overlay {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.eael-entry-overlay > i {
  color: #fff;
}

/*--- fade in ---*/

.eael-entry-overlay.fade-in {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: 300ms;
  -o-transition: 300ms;
  transition: 300ms;
}

.eael-entry-media:hover .eael-entry-overlay.fade-in {
  visibility: visible;
  opacity: 1;
}

.eael-entry-media:hover .eael-entry-overlay.fade-in > i {
  -webkit-transform: translate(0);
      -ms-transform: translate(0);
          transform: translate(0);
  opacity: 1;
}

/*--- zoom in --- */

.eael-entry-overlay.zoom-in {
  -webkit-transform: scale(0.9);
      -ms-transform: scale(0.9);
          transform: scale(0.9);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: 300ms;
  -o-transition: 300ms;
  transition: 300ms;
}

.eael-entry-media:hover .eael-entry-overlay.zoom-in {
  visibility: visible;
  opacity: 1;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

/*--- slide up ---*/

.eael-entry-overlay.slide-up {
  -webkit-transform: translateY(100%);
      -ms-transform: translateY(100%);
          transform: translateY(100%);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: 300ms;
  -o-transition: 300ms;
  transition: 300ms;
}

.eael-entry-media:hover .eael-entry-overlay.slide-up {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  visibility: visible;
  opacity: 1;
}

.eael-entry-media {
  overflow: hidden;
}

/*--- Post Grid & Carousel Hover Styles ---*/

.eael-entry-media.grid-hover-style-fade-in .eael-entry-overlay {
  opacity: 0;
}

.eael-entry-media.grid-hover-style-fade-in:hover .eael-entry-overlay {
  opacity: 1;
}

.eael-entry-media.grid-hover-style-none .eael-entry-overlay {
  display: none;
}

.eael-entry-overlay.none {
  opacity: 0;
}

.eael-entry-media.grid-hover-style-zoom-in .eael-entry-overlay {
  -webkit-transform: scale(0.4);
      -ms-transform: scale(0.4);
          transform: scale(0.4);
  opacity: 0;
}

.eael-entry-media.grid-hover-style-zoom-in:hover .eael-entry-overlay {
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
  opacity: 1;
}

.eael-entry-media.grid-hover-style-animate-down .eael-entry-overlay {
  -webkit-transform: translateY(-100%);
      -ms-transform: translateY(-100%);
          transform: translateY(-100%);
}

.eael-entry-media.grid-hover-style-animate-down .eael-entry-overlay > i {
  -webkit-transform: translateY(-100px);
      -ms-transform: translateY(-100px);
          transform: translateY(-100px);
  -webkit-transition-delay: 100ms;
       -o-transition-delay: 100ms;
          transition-delay: 100ms;
  -webkit-transition-duration: 300ms;
       -o-transition-duration: 300ms;
          transition-duration: 300ms;
}

.eael-entry-media.grid-hover-style-animate-down:hover .eael-entry-overlay {
  -webkit-transform: translate(0);
      -ms-transform: translate(0);
          transform: translate(0);
}

.eael-entry-media.grid-hover-style-animate-down:hover .eael-entry-overlay > i {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.eael-entry-media.grid-hover-style-animate-up .eael-entry-overlay {
  -webkit-transform: translateY(100%);
      -ms-transform: translateY(100%);
          transform: translateY(100%);
  visibility: hidden;
  opacity: 0;
}

.eael-entry-media.grid-hover-style-animate-up .eael-entry-overlay > i {
  -webkit-transform: translateY(100px);
      -ms-transform: translateY(100px);
          transform: translateY(100px);
  -webkit-transition-delay: 100ms;
       -o-transition-delay: 100ms;
          transition-delay: 100ms;
  -webkit-transition-duration: 300ms;
       -o-transition-duration: 300ms;
          transition-duration: 300ms;
}

.eael-entry-media.grid-hover-style-animate-up:hover .eael-entry-overlay {
  -webkit-transform: translate(0);
      -ms-transform: translate(0);
          transform: translate(0);
  visibility: visible;
  opacity: 1;
}

.eael-entry-media.grid-hover-style-animate-up:hover .eael-entry-overlay > i {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.eael-grid-post .eael-entry-thumbnail > img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.eael-post-elements-readmore-btn {
  display: block;
}

/*--- Gallery Column CSS ---*/

@media only screen and (min-width: 1025px) {
  /* For Desktop: */
  .elementor-element.elementor-grid-eael-col-1 {
    position: relative;
  }
  .elementor-element.elementor-grid-eael-col-1 .eael-grid-post {
    width: 100%;
    float: left;
  }
  .elementor-element.elementor-grid-eael-col-2 {
    position: relative;
  }
  .elementor-element.elementor-grid-eael-col-2 .eael-grid-post {
    width: 50%;
    float: left;
  }
  .elementor-element.elementor-grid-eael-col-2 .eael-grid-post:nth-of-type(2n) {
    margin-right: 0 !important;
  }
  .elementor-element.elementor-grid-eael-col-2 .eael-grid-post:nth-of-type(2n + 1) {
    clear: left;
  }
  .elementor-element.elementor-grid-eael-col-3 {
    position: relative;
  }
  .elementor-element.elementor-grid-eael-col-3 .eael-grid-post {
    width: 33.3333%;
    float: left;
  }
  .elementor-element.elementor-grid-eael-col-3 .eael-grid-post:nth-of-type(3n) {
    margin-right: 0 !important;
  }
  .elementor-element.elementor-grid-eael-col-3 .eael-grid-post:nth-of-type(3n + 1) {
    clear: left;
  }
  .elementor-element.elementor-grid-eael-col-4 {
    position: relative;
  }
  .elementor-element.elementor-grid-eael-col-4 .eael-grid-post {
    width: 25%;
    float: left;
  }
  .elementor-element.elementor-grid-eael-col-4 .eael-grid-post:nth-of-type(4n) {
    margin-right: 0 !important;
  }
  .elementor-element.elementor-grid-eael-col-4 .eael-grid-post:nth-of-type(4n + 1) {
    clear: left;
  }
  .elementor-element.elementor-grid-eael-col-5 {
    position: relative;
  }
  .elementor-element.elementor-grid-eael-col-5 .eael-grid-post {
    width: 20%;
    float: left;
  }
  .elementor-element.elementor-grid-eael-col-5 .eael-grid-post:nth-of-type(5n) {
    margin-right: 0 !important;
  }
  .elementor-element.elementor-grid-eael-col-5 .eael-grid-post:nth-of-type(5n + 1) {
    clear: left;
  }
  .elementor-element.elementor-grid-eael-col-6 {
    position: relative;
  }
  .elementor-element.elementor-grid-eael-col-6 .eael-grid-post {
    width: 16%;
    float: left;
  }
  .elementor-element.elementor-grid-eael-col-6 .eael-grid-post:nth-of-type(6n) {
    margin-right: 0 !important;
  }
  .elementor-element.elementor-grid-eael-col-6 .eael-grid-post:nth-of-type(6n + 1) {
    clear: left;
  }
}

@media only screen and (max-width: 1024px) and (min-width: 766px) {
  /* For tablets: */
  .elementor-element.elementor-grid-tablet-eael-col-1 {
    position: relative;
  }
  .elementor-element.elementor-grid-tablet-eael-col-1 .eael-grid-post {
    width: 100%;
    float: left;
  }
  .elementor-element.elementor-grid-tablet-eael-col-2 {
    position: relative;
  }
  .elementor-element.elementor-grid-tablet-eael-col-2 .eael-grid-post {
    width: 50%;
    float: left;
  }
  .elementor-element.elementor-grid-tablet-eael-col-2 .eael-grid-post:nth-of-type(2n) {
    margin-right: 0 !important;
  }
  .elementor-element.elementor-grid-tablet-eael-col-2 .eael-grid-post:nth-of-type(2n + 1) {
    clear: left;
  }
  .elementor-element.elementor-grid-tablet-eael-col-3 {
    position: relative;
  }
  .elementor-element.elementor-grid-tablet-eael-col-3 .eael-grid-post {
    width: 33.3333%;
    float: left;
  }
  .elementor-element.elementor-grid-tablet-eael-col-3 .eael-grid-post:nth-of-type(3n) {
    margin-right: 0 !important;
  }
  .elementor-element.elementor-grid-tablet-eael-col-3 .eael-grid-post:nth-of-type(3n + 1) {
    clear: left;
  }
  .elementor-element.elementor-grid-tablet-eael-col-4 {
    position: relative;
  }
  .elementor-element.elementor-grid-tablet-eael-col-4 .eael-grid-post {
    width: 25%;
    float: left;
  }
  .elementor-element.elementor-grid-tablet-eael-col-4 .eael-grid-post:nth-of-type(4n) {
    margin-right: 0 !important;
  }
  .elementor-element.elementor-grid-tablet-eael-col-4 .eael-grid-post:nth-of-type(4n + 1) {
    clear: left;
  }
  .elementor-element.elementor-grid-tablet-eael-col-5 {
    position: relative;
  }
  .elementor-element.elementor-grid-tablet-eael-col-5 .eael-grid-post {
    width: 20%;
    float: left;
  }
  .elementor-element.elementor-grid-tablet-eael-col-5 .eael-grid-post:nth-of-type(5n) {
    margin-right: 0 !important;
  }
  .elementor-element.elementor-grid-tablet-eael-col-5 .eael-grid-post:nth-of-type(5n + 1) {
    clear: left;
  }
  .elementor-element.elementor-grid-tablet-eael-col-6 {
    position: relative;
  }
  .elementor-element.elementor-grid-tablet-eael-col-6 .eael-grid-post {
    width: 16%;
    float: left;
  }
  .elementor-element.elementor-grid-tablet-eael-col-6 .eael-grid-post:nth-of-type(6n) {
    margin-right: 0 !important;
  }
  .elementor-element.elementor-grid-tablet-eael-col-6 .eael-grid-post:nth-of-type(6n + 1) {
    clear: left;
  }
}

@media only screen and (max-width: 767px) {
  .elementor-element.elementor-grid-mobile-eael-col-1 {
    position: relative;
  }
  .elementor-element.elementor-grid-mobile-eael-col-1 .eael-grid-post {
    width: 100%;
    float: left;
  }
  .elementor-element.elementor-grid-mobile-eael-col-2 {
    position: relative;
  }
  .elementor-element.elementor-grid-mobile-eael-col-2 .eael-grid-post {
    width: 50%;
    float: left;
  }
  .elementor-element.elementor-grid-mobile-eael-col-2 .eael-grid-post:nth-of-type(2n) {
    margin-right: 0 !important;
  }
  .elementor-element.elementor-grid-mobile-eael-col-2 .eael-grid-post:nth-of-type(2n + 1) {
    clear: left;
  }
  .elementor-element.elementor-grid-mobile-eael-col-3 {
    position: relative;
  }
  .elementor-element.elementor-grid-mobile-eael-col-3 .eael-grid-post {
    width: 33.3333%;
    float: left;
  }
  .elementor-element.elementor-grid-mobile-eael-col-3 .eael-grid-post:nth-of-type(3n) {
    margin-right: 0 !important;
  }
  .elementor-element.elementor-grid-mobile-eael-col-3 .eael-grid-post:nth-of-type(3n + 1) {
    clear: left;
  }
  .elementor-element.elementor-grid-mobile-eael-col-4 {
    position: relative;
  }
  .elementor-element.elementor-grid-mobile-eael-col-4 .eael-grid-post {
    width: 25%;
    float: left;
  }
  .elementor-element.elementor-grid-mobile-eael-col-4 .eael-grid-post:nth-of-type(4n) {
    margin-right: 0 !important;
  }
  .elementor-element.elementor-grid-mobile-eael-col-4 .eael-grid-post:nth-of-type(4n + 1) {
    clear: left;
  }
  .elementor-element.elementor-grid-mobile-eael-col-5 {
    position: relative;
  }
  .elementor-element.elementor-grid-mobile-eael-col-5 .eael-grid-post {
    width: 20%;
    float: left;
  }
  .elementor-element.elementor-grid-mobile-eael-col-5 .eael-grid-post:nth-of-type(5n) {
    margin-right: 0 !important;
  }
  .elementor-element.elementor-grid-mobile-eael-col-5 .eael-grid-post:nth-of-type(5n + 1) {
    clear: left;
  }
  .elementor-element.elementor-grid-mobile-eael-col-6 {
    position: relative;
  }
  .elementor-element.elementor-grid-mobile-eael-col-6 .eael-grid-post {
    width: 16%;
    float: left;
  }
  .elementor-element.elementor-grid-mobile-eael-col-6 .eael-grid-post:nth-of-type(6n) {
    margin-right: 0 !important;
  }
  .elementor-element.elementor-grid-mobile-eael-col-6 .eael-grid-post:nth-of-type(6n + 1) {
    clear: left;
  }
}

.eael-author-avatar > a {
  display: block;
}

.eael-entry-footer {
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.eael-entry-footer > div {
  display: inline-block;
  float: left;
}

.post-carousel-categories {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 11;
  width: 100%;
  margin: 0;
  padding: 15px;
  text-align: left;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: 300ms;
  -o-transition: 300ms;
  transition: 300ms;
}

.post-carousel-categories li {
  display: inline-block;
  text-transform: capitalize;
  margin-right: 5px;
  position: relative;
}

.post-carousel-categories li:after {
  content: ",";
  color: #ffffff;
}

.post-carousel-categories li:last-child:after {
  display: none;
}

.post-carousel-categories li a {
  color: #fff;
}

.eael-entry-media:hover .post-carousel-categories {
  visibility: visible;
  opacity: 1;
}

.eael-post-grid-style-three .eael-meta-posted-on {
  min-width: 60px;
  height: 50px;
  padding: 5px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 4px;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
          box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
  text-align: center;
  font-size: 16px;
  line-height: 18px;
  margin-top: 12px;
  margin-left: 12px;
}

.eael-post-grid-style-three .eael-meta-posted-on span {
  display: block;
}

.eael-post-grid-style-two .eael-entry-meta {
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
}

.eael-post-grid-style-two .eael-entry-meta .eael-meta-posted-on {
  padding: 0;
  font-size: 12px;
  margin-right: 15px;
  color: #929292;
}

.eael-post-grid-style-two .eael-entry-meta .eael-meta-posted-on i {
  margin-right: 7px;
}

.eael-post-grid-style-two .eael-entry-meta .post-meta-categories {
  list-style: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-flow: wrap;
      flex-flow: wrap;
  margin: 0;
  padding-left: 0;
}

.eael-post-grid-style-two .eael-entry-meta .post-meta-categories li {
  font-size: 12px;
  margin-right: 7px;
  color: #929292;
}

.eael-post-grid-style-two .eael-entry-meta .post-meta-categories li:last-child {
  margin-right: 0;
}

.eael-post-grid-style-two .eael-entry-meta .post-meta-categories li a {
  color: #929292;
}

.rtl .eael-grid-post .eael-entry-footer {
  direction: ltr;
}
