@font-face {
  font-family: 'efontello';
  src: url('../../assets/icons/font/fontello.eot?40614595');
  src: url('../../assets/icons/font/fontello.eot?40614595#iefix') format('embedded-opentype'),
       url('../../assets/icons/font/fontello.woff2?40614595') format('woff2'),
       url('../../assets/icons/font/fontello.woff?40614595') format('woff'),
       url('../../assets/icons/font/fontello.ttf?40614595') format('truetype'),
       url('../../assets/icons/font/fontello.svg?40614595#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
[class^="eicon-"]:before, [class*=" eicon-"]:before {
  font-family: "efontello";
  font-style: normal;
  font-weight: normal;
  speak: never;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  margin-left: .2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
 
.eicon-params:before { content: '\0999'; } /* '' */

@media (min-width: 801px) {
    .elab_activate-filter {
        display: none;
    }
}
@media (max-width: 800px) {
  .elab_tag-wrapper[data-expand-filters="true"] .elab_sort-by-wrapper,
  .elab_tag-wrapper[data-expand-filters="true"] .elab_post-filter {
      display: none;
  }
}
.elab_activate-filter {
    text-align: center;
    padding: 20px;
    cursor: pointer;
    background: #fafafa;
}
.elab_activate-filter + .elab_sort-by-wrapper {
    border-top: solid 1px #D6D6D6;
}

/* ANCHOR Filter */

.elab_tag-wrapper {
    background-color: #F2F2F2;
    border: solid 1px #D6D6D6;
}

.elab_tag-wrapper>div {
    padding: 12px;
}

div.elab_post-filter {
    margin-left: auto;
    width: 100%;
    border-left: solid 1px #D6D6D6;
}

.elab_post-filter .menu {
    margin: 0;
    display: -webkit-box;
    display: flex;
    flex-flow: wrap;
    padding-left: 0;
}

@-webkit-keyframes shadow-pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.3);
    }

    100% {
        box-shadow: 0 0 0 5px rgba(0, 0, 0, 0);
    }
}

@keyframes shadow-pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.3);
    }

    100% {
        box-shadow: 0 0 0 5px rgba(0, 0, 0, 0);
    }
}

.elab_post-filter .menu li[class=""],
.elab_post-filter .menu li[class="active"] {
    opacity: 1 !important;
}
.elab_post-filter .menu li.loading,
.elab_post-filter .menu li.active.loading {
    -webkit-animation: shadow-pulse 1s infinite;
    animation: shadow-pulse 1s infinite;
}

.elab_post-filter .menu li button {
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.elab_post-filter .menu li {
    margin: 0 3px 6px;
    width: calc(100% / 3 - 6px);
    height: 30px;
    overflow: hidden;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    list-style: none !important;
}



.elab_post-filter .menu li.active,
.elab_post-filter .menu li.active button {
    color: #000;
    background: transparent;
}

.elab_post-filter .menu li button {
    border: solid 2px #000;
    padding: 0 6px;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    font-size: 14px;
}
.elab_ajax-filter > span {
    display: block;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}

@media(min-width: 700px) {
    .elab_post-filter .menu li {
        width: calc(100% / 6 - 6px);
    }
    .elab_post-filter .menu li:first-child {
        margin-left: 0;
    }
    
    .elab_post-filter .menu li:last-child {
        margin-right: 0;
    }
}

.elab_post-filter .menu button {
    line-height: 1;
    text-decoration: none;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
}
.elab_post-filter .menu button[disabled="disabled"] {
    cursor: not-allowed;
}
.elab_post-filter .elab_has-extra-content .elab_reset-filters,
.elab_post-filter .elab_has-extra-content .elab_show-more {
    display: inline-block;
    text-align: right;
    cursor: pointer;
    font-weight: 700;
    margin: 9px 7px auto;
    font-size: 16px;
}
.elab_post-filter .elab_has-extra-content .elab_reset-filters {
    margin-left: 0;
    font-weight: 400;
}
.elab_post-filter .elab_has-extra-content .elab_more-content {
    display: none;
}

div.elab_sort-by-wrapper h5,
div.elab_post-filter h5 {
    margin-bottom: 12px;
    margin-top: 0;
    font-weight: 700;
    font-size: 16px;
}

.h5 {
    font-weight: 700;
    font-size: 10px;
    line-height: 1;
    margin: 0 0 10px;
}

@media (min-width: 720px) {
    .h5 {
        font-size: 20px;
        line-height: 20px;
    }
}

/* ANCHOR Posts Grid */

.recent-posts {
    min-height: 300px
}

.load-more-wrapper .load-more-text {
    font-size: 8px;
    margin-top: 1em;
}

.load-more-wrapper {
    margin-bottom: 20px;
    text-align: center;
}

.elab_ajax-wrapper .elab_loadmore {
    background-color: rgba(0, 0, 0, .85);
    width: 50px;
    display: inline-block;
    min-width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    padding: 0 !important;
    border-radius: 50%;
    -webkit-transition: margin ease-in-out .18s;
    transition: margin ease-in-out .18s;
    will-change: margin;
    box-shadow: 0 -3px 4px rgba(0, 0, 0, .2);
    position: relative;
}

.elab_load-more-wrapper {
    text-align: center;
}


.elab_loadmore i[class="icon"]::before, 
.elab_loadmore i[class="icon"]::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 4px;
    background: white;
    display: block;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

.elab_loadmore i[class="icon"]::after {
    width: 4px;
    height: 60%;
}

.elab_ajax-wrapper {
    padding-bottom: 54px;
}
.elab_ajax-wrapper * {
    box-sizing: border-box !important;
}
.elab_ajax-wrapper .elab_loadmore .icon {
    font-size: 1.813rem;
    line-height: 50px;
    margin: 0;
}

.elab_ajax-wrapper .elab_loadmore:hover {
    margin: 5px 0 -5px;
}

.elab_ajax-wrapper .elab_loadmore.loading .icon {
    display: none;
}

.elab_ajax-wrapper .elab_loadmore.loading {
    background: url(img/loading.gif) no-repeat 50% 50% / contain;
    box-shadow: none;
    color: transparent;
}

.preloader {
    margin-top: 40px;
    position: relative;
}

.preloader.loading {
    background: url(img/loading.gif) no-repeat 50% 15%;
}

.elab_three-column-flex {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row wrap;
}

.elab_three-column-flex .elab_article {
    width: 100%;
    margin: 0 0 10px;
    overflow: hidden;
    border-style: solid;
    border-width: 1px;
    color: black;
    position: relative;
    text-decoration: none;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
}

.elab_article {
    border-color: #000;
}

.elab_post-excerpt .elab_post-meta {
    font-size: 14px;
    color: #7B7B7B;
    margin: 0 0 16px;
}

.date-label,
.category-label {
    margin: 5px 0;
}

.elab_three-column-flex .elab_article:hover {
    text-decoration: none;
}

.elab_image-wrapper {
    overflow: hidden;
    height: 100%;
}

@media (min-width: 525px) and (max-width: 768px), (min-width: 1024px) and (max-width: 1224px) {
    .elab_three-column-flex .elab_article {
        width: calc(50% - 20px);
    }

    .elab_three-column-flex .elab_article {
        margin: 0 0 10px 10px;
    }
}

@media (min-width: 768px) and (max-width: 1024px), (min-width: 1225px) {
    .elab_three-column-flex .elab_article:not(.advert) {
        width: calc(33.3% - 22px);
        margin: 0 32px 32px 0;
    }
    .elab_three-column-flex .elab_article:not(.advert):nth-of-type(3n) {
        margin-right: 0;
    }
}

.elab_article .elab_post-excerpt {
    padding: 8px 8px 35px;
    z-index: 2;
    background: white;
    height: 100%;
}

.elab_article .elab_post-image {
    background-size: cover;
    background-position: 50% 50%;
    padding-bottom: 100%;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: -webkit-transform .3s ease;
    transition: -webkit-transform .3s ease;
    transition: transform .3s ease;
    transition: transform .3s ease, -webkit-transform .3s ease;
    will-change: transform;
}

@media (max-width: 600px) {
    .elab_article .elab_post-image {
        padding-bottom: 70%;
    }
}

.elab_article:hover .elab_post-image {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}


.elab_article .elab_read-more {
    left: 50%;
    width: calc(100% - 16px);
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    position: relative;
}


.elab_article {
    position: relative;
    cursor: pointer;
}

.elab_article .date_label {
    display: block;
    margin-top: 2px;
}

.elab_ajax-wrapper .elab_total-posts,
.elab_ajax-wrapper .elab_total-posts span {
    text-align: center;
    color: #9AA2B0;
    font-weight: 700;
}

.elab_ajax-wrapper .elab_total-posts {
    margin: 10px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.elab_tag-wrapper {
    margin-bottom: 10px;
    margin-top: 15px;
}

@media (min-width: 801px) {
    .elab_tag-wrapper {
        display: -webkit-box;
        display: flex;
    }
}

.elab_tag-wrapper .elab_sortby {
    font-size: 14px;
    font-weight: 400;
    position: relative;
    margin-top: 6px;
    cursor: pointer
}

.elab_tag-wrapper .elab_sortby.active {
    font-weight: 700;
}

@media (min-width: 801px) {

    .elab_tag-wrapper .elab_sortby-wrapper,
    .elab_tag-wrapper .elab_sortby {
        max-width: 160px;
        min-width: 130px;
        width: 100%;
    }
    .elab_post-filter .elab_has-extra-content .elab_show-more {
        float: right;
    }
}

@media (max-width: 800px) {
    .elab_tag-wrapper .elab_sortby-wrapper {
        display: -webkit-box;
        display: flex;
        margin-bottom: 10px;
    }

    .elab_tag-wrapper .elab_sortby {
        border: solid 2px;
        width: calc(50% - 4px);
        text-align: center;
        height: 50px;
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
    }

    .elab_tag-wrapper .elab_sortby+.elab_sortby {
        margin-left: auto;
    }

    .elab_sortby::before {
        left: 10px;
    }

    .elab_sortby::after {
        left: 10px;
    }
}

.elab_sortby span {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.elab_sortby span::before,
.elab_sortby span::after {
    content: "";
    display: block;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.elab_sortby span::before {
    width: 16px;
    height: 16px;
    left: 0;
    border: solid 1px #D6D6D6;
    background: white;
}

.elab_sortby.active span::after {
    background: black;
    width: 6px;
    height: 6px;
    left: 5px;
}

.elab_post-excerpt .h5 {
    min-height: 40px;
}

.elab_ajax-posts > .elab_ajax-article {
    margin-left: auto;
    margin-right: auto;
}
.elab_ajax-posts:after {
    content: "";
    display: table;
    clear: both;
} 


/* Pagination */
.elab_pagination {
	position: absolute;
	bottom: 0;
}
.elab_pagination {
    clear:both;
    position:relative;
    font-size:11px; /* Pagination text size */
    line-height:13px;
    float:right; /* Pagination float direction */
 }
 .elab_pagination span, .elab_pagination a {
	display: block;
	float: left;
	margin: 2px 2px 2px 0;
	padding: 6px 9px 5px 9px;
	text-decoration: none;
	width: auto;
	color: #000 !important;
	background: #e7e8e8;
	transition: background .15s ease-in-out;
}
 .elab_pagination a:hover{
    color:#fff !important;
    background: #000; /* Pagination background on hover */
 }
 .elab_pagination .current{
    padding:6px 9px 5px 9px;
    background: #000; /* Current page background */
    color:#fff !important;
 }
