/* filter */
.quick-ajax-filter-container.quick-ajax-theme{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 3rem;
    text-align: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.quick-ajax-filter-container.quick-ajax-theme button.qapl-button,
.quick-ajax-sort-options-container.quick-ajax-theme select{
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
    line-height: 1;
    border:2px solid  #1e1e1e;
    background-color: #1e1e1e;
    color: #ffffff;
    -webkit-box-shadow: 0 0 22px rgba(0,0,0,0.2);
            box-shadow: 0 0 22px rgba(0,0,0,0.2);
    border-radius: 22px;
    outline:unset;
    -webkit-transition: background-color 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: background-color 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.quick-ajax-filter-container.quick-ajax-theme button.qapl-button:focus{
    outline: none;
    text-decoration: none;
    -webkit-text-decoration-skip-ink: none;
            text-decoration-skip-ink: none;
}
.quick-ajax-filter-container.quick-ajax-theme button.qapl-button:hover,
.quick-ajax-filter-container.quick-ajax-theme button.qapl-button.active{
    border: 2px solid  #1e1e1e;
    background-color: transparent;
    color: #1e1e1e;
    -webkit-box-shadow: 0 0 14px rgba(0,0,0,0.5);
            box-shadow: 0 0 14px rgba(0,0,0,0.5);
    -webkit-transition: background-color 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: background-color 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;
}
/* Controls Container */
.quick-ajax-controls-container{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.625rem;
}
.quick-ajax-controls-container .quick-ajax-filter-container{
    -webkit-box-ordinal-group:2;
        -ms-flex-order:1;
            order:1;
}
.quick-ajax-controls-container .quick-ajax-sort-options-container{
    -webkit-box-ordinal-group:3;
        -ms-flex-order:2;
            order:2;
}
.quick-ajax-controls-container .quick-ajax-filter-container.quick-ajax-theme{
    text-align: left;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
}
/* Sort Button */
.quick-ajax-sort-options-container.quick-ajax-theme{
    margin-left: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
}
.quick-ajax-sort-options-container.quick-ajax-theme .quick-ajax-sort-option-wrapper {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    position: relative;
}
.quick-ajax-sort-options-container.quick-ajax-theme select {
    background-color: #1e1e1e;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23ffffff" d="M2 5L0 3h4z"/></svg>'); 
    background-repeat: no-repeat;
    background-position: calc(100% - 1.25rem) 0.5rem;
    background-size: 0.625rem;
    padding: 0.3125rem 2.5rem 0.3125rem 1.25rem;
    margin-bottom: 3rem;
    min-height: 40px;
    font-weight: 500;
    text-align: center;
    outline: none;
    cursor: pointer;
    position: relative;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    -webkit-transition: background-color 0.3s ease, background-position 0.3s ease, background-image 0.3s ease;
    transition: background-color 0.3s ease, background-position 0.3s ease, background-image 0.3s ease;
}
.quick-ajax-sort-options-container.quick-ajax-theme .quick-ajax-sort-option-wrapper select:hover,
.quick-ajax-sort-options-container.quick-ajax-theme .quick-ajax-sort-option-wrapper:hover select {
    background-color: transparent;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%231e1e1e" d="M2 5L0 3h4z"/></svg>'); 
    background-repeat: no-repeat;
    background-position: calc(100% - 1.25rem) 0.5rem;
    background-size: 0.625rem;
    border: 2px solid #1e1e1e;
    color: #1e1e1e;
    -webkit-box-shadow: 0 0 14px rgba(0, 0, 0, 0.5);
            box-shadow: 0 0 14px rgba(0, 0, 0, 0.5);
    -webkit-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}
.quick-ajax-sort-options-container.quick-ajax-theme .quick-ajax-sort-option-wrapper select:focus{
    background-color: transparent;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%231e1e1e" d="M2 0L0 2h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: calc(100% - 1.25rem) 1rem;
    background-size: 0.625rem;
    color: #1e1e1e;
    -webkit-transition: background-color 0.3s ease, background-position 0.3s ease, background-image 0.3s ease;
    transition: background-color 0.3s ease, background-position 0.3s ease, background-image 0.3s ease;
}
.quick-ajax-sort-options-container.quick-ajax-theme .quick-ajax-sort-option-wrapper select option {
    background-color: #ffffff;
    color: #1e1e1e;
    font-weight: 500;
    padding: 0.625rem;
    text-align: center;
}
/* Post Container */
.quick-ajax-posts-container.quick-ajax-theme{
    position: relative;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-posts-wrapper{
    display: grid;
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: var(--qapl-gap);
    grid-template-columns: repeat(auto-fit, minmax(var(--qapl-min-col-size), 1fr));
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-posts-wrapper.col-qty-1 {
    --qapl-cols: 1;
    --qapl-min-col-size: 100%;
    --qapl-gap: 2rem;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-posts-wrapper.col-qty-2 {
    --qapl-cols: 2;
    --qapl-min-col-size: 18rem;
    --qapl-gap: 2rem;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-posts-wrapper.col-qty-3 {
    --qapl-cols: 3;
    --qapl-min-col-size: 16rem;
    --qapl-gap: 2rem;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-posts-wrapper.col-qty-4 {
    --qapl-cols: 4;
    --qapl-min-col-size: 14rem;
    --qapl-gap: 2rem;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-posts-wrapper.col-qty-5 {
    --qapl-cols: 5;
    --qapl-min-col-size: 12rem;
    --qapl-gap: 2rem;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-posts-wrapper.col-qty-6 {
    --qapl-cols: 6;
    --qapl-min-col-size: 11rem;
    --qapl-gap: 2rem;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-posts-wrapper.col-qty-7 {
    --qapl-cols: 7;
    --qapl-min-col-size: 10rem;
    --qapl-gap: 1rem;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-posts-wrapper.col-qty-8 {
    --qapl-cols: 8;
    --qapl-min-col-size: 9rem;
    --qapl-gap: 1rem;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-posts-wrapper.col-qty-9 {
    --qapl-cols: 9;
    --qapl-min-col-size: 8rem;
    --qapl-gap: 1rem;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-posts-wrapper.col-qty-10 {
    --qapl-cols: 10;
    --qapl-min-col-size: 7rem;
    --qapl-gap: 1rem;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-posts-wrapper.col-qty-11 {
    --qapl-cols: 11;
    --qapl-min-col-size: 6.5rem;
    --qapl-gap: 1rem;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-posts-wrapper.col-qty-12 {
    --qapl-cols: 12;
    --qapl-min-col-size: 6rem;
    --qapl-gap: 1rem;
}
@media (min-width: 1024px) {
    .quick-ajax-posts-container.quick-ajax-theme .quick-ajax-posts-wrapper[class*="col-qty-"] {
        grid-template-columns: repeat(var(--qapl-cols), 1fr);
        gap: var(--qapl-gap);
    }
}
/* No posts Found */
.quick-ajax-posts-container.quick-ajax-theme .qapl-no-posts-found{
    display: block;
    width: 100%;
    text-align: center;
}
/* End Message */
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-end-message-container{
    display: block;
    width: 100%;
    text-align: center;
    opacity: 0;
    -webkit-animation: qapl-fade-in 0.3s ease forwards;
            animation: qapl-fade-in 0.3s ease forwards;
    -webkit-animation-delay: 0.5s;
            animation-delay: 0.5s;
}
/* Load More Button */
.quick-ajax-posts-container.quick-ajax-theme .qapl-load-more-button{
    display: block;
    width: auto;
    margin:0 auto;
    opacity: 0;
    -webkit-animation: qapl-fade-in 0.3s ease forwards;
            animation: qapl-fade-in 0.3s ease forwards;
    -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s;
}
/* Post Item */
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    width:100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item div{
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item a:focus{
    outline: none;
    text-decoration: none;
    -webkit-text-decoration-skip-ink: none;
            text-decoration-skip-ink: none;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item a > div{
    position: relative;
    display: block;
    width: 100%;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item a{
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 100%;
}
/* Default Post Item Template */
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default a{
    background-color:#fff;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.2);
            box-shadow: 0 0 10px rgba(0,0,0,0.2);
    text-decoration: none;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    text-decoration: none;
    -webkit-transition: -webkit-box-shadow 0.3s ease;
    transition: -webkit-box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default a:focus img{
    outline: none;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default a:hover{
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
            box-shadow: 0 0 10px rgba(0,0,0,0.5);
    -webkit-transition: -webkit-box-shadow 0.3s ease;
    transition: -webkit-box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default a > div{
    opacity:1;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default a:hover > div{
    opacity:0.8;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default .qapl-post-image{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    aspect-ratio: 5 / 3;
    -webkit-box-ordinal-group:2;
        -ms-flex-order:1;
            order:1;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default .qapl-post-image img{
    width: 100%;
    max-width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default .qapl-post-date{
    position: absolute;
    top:1rem;
    left:1rem;
    z-index: 1;
    background-color: rgba(255,255,255,0.6);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: auto;
    border-radius: 8px;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default .qapl-post-date span{
    line-height: 1;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight:bold;
    color:#1e1e1e;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default .qapl-post-title{
    -webkit-box-ordinal-group:3;
        -ms-flex-order:2;
            order:2;
    padding:0.5rem 1rem 1rem;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default .qapl-post-title,
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default .qapl-post-title > *{
    color:#1e1e1e;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default .qapl-post-description{
    -webkit-box-ordinal-group:4;
        -ms-flex-order:3;
            order:3;
    padding:0 1rem 1rem;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default .qapl-post-description,
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default .qapl-post-description *{
    color:#1e1e1e; 
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default .qapl-read-more{
    -webkit-box-ordinal-group:5;
        -ms-flex-order:4;
            order:4;
    text-align: right;
    padding: 0 1rem 1rem;
    color:#1e1e1e;
    margin-top: auto;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-post-item.qapl-post-item-default .qapl-read-more p{
    margin-bottom:0;
}
.quick-ajax-posts-container.quick-ajax-theme.loading{
    margin-bottom: 0;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-load-more-container{
    display: block;
    width: 100%;
    opacity:1;
}
.quick-ajax-posts-container.quick-ajax-theme.loading .quick-ajax-load-more-container{
    display: none;
    opacity:0;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-load-more-container .qapl-load-more-wrapper{
    margin-top: 3rem;
}
.quick-ajax-posts-container.quick-ajax-theme .qapl-load-more-button{
    display: block;
    width: auto;
    margin:0 auto;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-load-more-container .qapl-load-more-button{
    display: block;
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
    line-height: 1;
    border: 2px solid #1e1e1e;
    background-color: #1e1e1e;
    color: #ffffff;
    -webkit-box-shadow: 0 0 22px rgba(0, 0, 0, 0.2);
            box-shadow: 0 0 22px rgba(0, 0, 0, 0.2);
    border-radius: 22px;
    outline:unset;
    -webkit-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-load-more-container .qapl-load-more-button:hover {
    border: 2px solid #1e1e1e;
    background-color: transparent;
    color: #1e1e1e;
    -webkit-box-shadow: 0 0 14px rgba(0, 0, 0, 0.5);
            box-shadow: 0 0 14px rgba(0, 0, 0, 0.5);
    -webkit-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.quick-ajax-posts-container .quick-ajax-load-more-container.infinite-scroll{
    visibility: hidden;
}
/* Loader Container */
.quick-ajax-posts-container .quick-ajax-loader-container{
    visibility: hidden;
    opacity:0;
    -webkit-transition: opacity 0.1s ease;
    transition: opacity 0.1s ease;
}
.quick-ajax-posts-container.loading .quick-ajax-loader-container{
    visibility: visible;
    opacity:1;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}
.quick-ajax-posts-container.quick-ajax-theme .quick-ajax-loader-container{
    display: none;
    margin:0 auto 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}
.quick-ajax-posts-container.quick-ajax-theme.loading .quick-ajax-loader-container{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top:2rem;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}
.quick-ajax-posts-container.quick-ajax-theme.filter-update .quick-ajax-loader-container{
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin:0;
    top: 50%;
    left: 50%;
    visibility: visible;
    opacity:1;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}
/* Loader Icon Default */
.qapl-loader-default {
    border: 8px solid #ebeaea;
    border-top: 8px solid #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin: 1rem auto 1rem;
    -webkit-animation: loader-one-spin 2s linear infinite;
            animation: loader-one-spin 2s linear infinite;
  }
  .qapl-loader-default.dark-loader{
    border: 8px solid rgba(0,0,0,0.3);
    border-top: 8px solid rgba(0,0,0,0.6);
}  
@-webkit-keyframes loader-one-spin {
0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}  
@keyframes loader-one-spin {
0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}  
/* Loader Dot */
.qapl-loader-dot {
    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;
    margin: 1rem auto 1rem;
}
.qapl-loader-dot .dot {
    width: 15px;
    height: 15px;
    background: rgba(255,255,255,1);
    border-radius: 50%;
    margin: 5px;
    -webkit-animation: dotPulse 1.2s infinite ease-in-out both;
            animation: dotPulse 1.2s infinite ease-in-out both;
}
.qapl-loader-dot.dark-loader .dot{
    background: rgba(0,0,0,0.6);
}
.qapl-loader-dot .dot:nth-child(1) { -webkit-animation-delay: -0.24s; animation-delay: -0.24s; }
.qapl-loader-dot .dot:nth-child(2) { -webkit-animation-delay: -0.12s; animation-delay: -0.12s; }
.qapl-loader-dot .dot:nth-child(3) { -webkit-animation-delay: 0; animation-delay: 0; }
@-webkit-keyframes dotPulse {
    0%, 100% {
        -webkit-transform: scale(0.8);
                transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        -webkit-transform: scale(1);
                transform: scale(1);
        opacity: 1;
    }
}
@keyframes dotPulse {
    0%, 100% {
        -webkit-transform: scale(0.8);
                transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        -webkit-transform: scale(1);
                transform: scale(1);
        opacity: 1;
    }
}
/* Loader Wave */
.qapl-loader-wave {
    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;
    margin: 1rem auto 1rem;
}  
.qapl-loader-wave .wave {
    width: 5px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    margin: 0 2px;    
    -webkit-animation: wave 1.2s infinite ease-in-out;    
            animation: wave 1.2s infinite ease-in-out;
}
.qapl-loader-wave.dark-loader .wave {
    background: rgba(0,0,0,0.1);
    -webkit-animation: wave-dark 1.2s infinite ease-in-out;
            animation: wave-dark 1.2s infinite ease-in-out;
}
.qapl-loader-wave .wave:nth-child(1) { -webkit-animation-delay: -1.1s; animation-delay: -1.1s; }
.qapl-loader-wave .wave:nth-child(2) { -webkit-animation-delay: -1.0s; animation-delay: -1.0s; }
.qapl-loader-wave .wave:nth-child(3) { -webkit-animation-delay: -0.9s; animation-delay: -0.9s; }
.qapl-loader-wave .wave:nth-child(4) { -webkit-animation-delay: -0.8s; animation-delay: -0.8s; }
.qapl-loader-wave .wave:nth-child(5) { -webkit-animation-delay: -0.7s; animation-delay: -0.7s; }  
@-webkit-keyframes wave {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4);
                transform: scaleY(0.4);
    }
    20% {
        -webkit-transform: scaleY(1.0);
                transform: scaleY(1.0);
        background: rgba(255,255,255,1);
    }
}  
@keyframes wave {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4);
                transform: scaleY(0.4);
    }
    20% {
        -webkit-transform: scaleY(1.0);
                transform: scaleY(1.0);
        background: rgba(255,255,255,1);
    }
}
@-webkit-keyframes wave-dark {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4);
                transform: scaleY(0.4);
    }
    20% {
        -webkit-transform: scaleY(1.0);
                transform: scaleY(1.0);
        background: rgba(0,0,0,0.6);
    }
}
@keyframes wave-dark {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4);
                transform: scaleY(0.4);
    }
    20% {
        -webkit-transform: scaleY(1.0);
                transform: scaleY(1.0);
        background: rgba(0,0,0,0.6);
    }
}
/* Fade-in Animation */
@-webkit-keyframes qapl-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes qapl-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Image Background Post Template */
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img {
    position: relative;
    overflow: hidden;
    color: #fff;
}
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img a{
    text-decoration: none;
}
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img .qapl-post-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 8px;
    -o-object-position: center;
       object-position: center;
    object-fit: cover;
    z-index: 1;
}
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img .qapl-no-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:rgba(0,0,0,0.5);
    border-radius: 8px;
    z-index: 0;
}
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img .post-content {
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 1.25rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    height: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border-radius: 8px;
    overflow: hidden;
}
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img .post-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -200%;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.9) 0%, rgba(0, 0, 0, 0.1) 65%, rgba(0,0,0,0) 70%, rgba(0,0,0,0) 100%);
    opacity: 0;
    z-index: -1;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    -webkit-transition: left 0.6s ease, opacity 0.6s ease;
    transition: left 0.6s ease, opacity 0.6s ease;
}
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img a:hover > .post-content::before {
    left:0;
    opacity: 1; 
    -webkit-transition: left 0.6s ease, opacity 0.6s ease; 
    transition: left 0.6s ease, opacity 0.6s ease;
}
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img .qapl-post-date{
    position: relative;
    background: none;
    line-height: 1;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img .qapl-post-date span{
    padding:0;
    margin-bottom: 0.5rem;
    color:#fff;
    text-decoration: none;
}
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img .qapl-post-title{
    padding-top: 3rem;
    margin-top: auto;
}
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img .qapl-post-title,
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img .qapl-post-title *{
    color:#fff;
    text-decoration: none;
}
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img .qapl-post-description,
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img .qapl-post-description *{
    color:#fff;
    text-decoration: none;
}
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img .qapl-read-more{
    text-align: right;
    font-weight: 600;
    color:#fff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.4);
    display: inline-block;
    margin-top: 1rem;
    margin-left: auto;
    margin-bottom: 0;
    padding: 0.6rem 2rem 0.8rem;
    text-transform: uppercase;
    border-radius: 8px;
    line-height: 1;
    opacity:0;
    -webkit-transition: opacity 0.6s ease;
    transition: opacity 0.6s ease;
}
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img .qapl-read-more p{
    margin-bottom:0;
}
.quick-ajax-posts-container .qapl-post-item.qapl-post-item-bg-img a:hover .qapl-read-more {
    opacity:1;
    background: rgba(0, 0, 0, 0.6);
    -webkit-transition: opacity 0.6s ease;
    transition: opacity 0.6s ease;
}