/*------------------------------------*\
    
    Posts CSS
 
    Posts.................Post content for loop on blog homepage, category, search page, archives, etc.
    Sidebar...............Sidebar elements.

\*------------------------------------*/

.post-item {
    margin-bottom: 30px;
}

.blog-post__item {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    border-radius: 3px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s all;
}

a.blog-post__img-container {
    display: block;
    flex: 1;
    max-height: 150px;
    padding: 15px 15px 0;
    text-align: center;
    background: none;
    border-radius: 3px;
    overflow: hidden;
}

.blog-post__img {
    width: auto;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

a.blog-post__meta {
    display: block;
    padding: 20px 25px 50px;
    background: none;
}

.blog-post__title {
    font-size: 19px;
    color: #1a1818;
    padding-bottom: 8px;
}

.blog-post__excerpt {
    color: #4a575e;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
}

.blog-post__date {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 400;
}

.blog-post__link {
    position: absolute;
    bottom: 40px;
}

.blog-post__item:hover {
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
}

@media (min-width: 768px) {
    a.blog-post__img-container {
        padding: 20px 20px 0;
    }
}

@media (min-width: 1200px) {
    a.blog-post__img-container {
        max-height: 215px;
    }

    a.blog-post__meta {
        padding: 30px 40px 60px;
    }

    .blog-post__title {
        font-size: 24px;
    }
}

/**
 * Sidebar
 */

/* Blog Sidebar */

.widget h2 {
    font-size: 19px;
}

.page-sidebar .widget .container {
    padding-left: 0;
    padding-right: 0;
}

.widget + .widget {
    margin-top: 30px;
}
@media (min-width: 1200px) {
    .widget h2 {
        font-size: 24px;
    }
}

/* Widget - Search */

.wp-block-search {
    background-color: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
    position: relative;
}

.wp-block-search .wp-block-search__inside-wrapper {
    position: relative;
}

.wp-block-search:after {
    position: absolute;
    top: 10px;
    right: 10px;
    content: "\e917";
    font-family: "icomoon";
    font-size: 21px;
    display: none;
}

.wp-block-search__input {
    border: 0;
    border-radius: 3px 0 0 3px;
}

.wp-block-search label {
    display: none;
}

.wp-block-search__button {
    position: absolute;
    top: 0;
    right: 0;
}

.wp-block-search__button {
    opacity: 0;
}

.wp-block-search .wp-element-button {
    background: transparent;
    color: #454545;
    border: none;
    width: 40px;
    -webkit-appearance: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
}

.widget .choices__placeholder {
    opacity: 1;
}

.widget .choices__list {
    font-size: 17px;
    color: #a7a7a7;
}

.widget .choices__inner {
    min-height: 50px;
}

/**
* FX Load More
*/

/* Load More Progress Bar */
.load-more__progress {
    margin-top: 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 10px;
    border: 0;
    border-radius: 0;
    min-width: 250px;
}
progress::-webkit-progress-bar,
progress::-webkit-progress-value,
progress::-moz-progress-bar {
    height: 10px;
    border: 0;
    border-radius: 0;
}
progress::-webkit-progress-bar {
    background-color: rgba(132, 167, 170, 0.15);
}
progress::-webkit-progress-value {
    background-color: #4a4a4a;
}

/* Loading Indicator */
.is-loading:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 50px;
    height: 50px;
    border: 5px solid;
    border-color: #e3e3e3 #e3e3e3 transparent;
    border-radius: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: simpleSpin 1.5s linear infinite;
    animation: simpleSpin 1.5s linear infinite;
}

/* Load More Button */
.load-more__btn {
    border: 0;
    display: block;
    margin-top: 20px;
}

.load-more__btn.is-loading {
    position: relative;
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more__btn.is-loading:before {
    width: 20px;
    height: 20px;
}

.load-more__btn.is-disabled {
    cursor: not-allowed;
    background-color: #4a4a4a;
}

/* Placeholder Space */
.placeholder-block {
    position: relative;
    display: flex;
}

.placeholder-block__inner {
    flex-grow: 1;
    background-color: #fafafa;
}

.placeholder-block.is-loading:before {
    width: 50px;
    height: 50px;
}

@-webkit-keyframes simpleSpin {
    0% {
        -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        -webkit-transform: translate(-50%, -50%) rotateZ(360deg);
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes simpleSpin {
    0% {
        -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        -webkit-transform: translate(-50%, -50%) rotateZ(360deg);
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

/* Single Post Pagination */
.post-pagination {
    display: flex;
    justify-content: space-between;
    align-content: center;
    padding-top: var(--section-margins);
    padding-bottom: var(--section-margins);
}

.btn-post-pagination {
    font-size: 15px;
    padding: 10px 20px;
    color: #13307F;
    position: relative;
}

.post-pagination-text {
    display: none;
}

.btn-post-pagination strong {
    display: block;
    font-size: 12px;
}

.btn-previous-post,
.btn-next-post {
    display: flex;
    flex-direction: column;
}

.btn-previous-post {
    padding-left: 40px;
    text-align: center;
}

.btn-next-post {
    padding-right: 40px;
    margin-left: auto;
}

.mobile-arrow {
    position: absolute;
    top: 14px;
    font-size: 12px;
}

.btn-previous-post .mobile-arrow {
    left: 19px;
}

.btn-next-post .mobile-arrow {
    right: 19px;
}

.btn-previous-post .mobile-arrow:after {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.btn-post-pagination:hover {
    background-size: 4px 100%;
}

@media (min-width: 768px) {
    .post-pagination-text {
        display: block;
    }

    .btn-previous-post {
        text-align: left;
    }

    .btn-next-post {
        text-align: right;
    }
}

/* Search Results */
.search-result {
    display: block;
    text-decoration: none;
    background: none;
}

.search-result {
    position: relative;
    margin-bottom: 40px;
}

.search-result__title {
    margin-bottom: 16px;
    font-size: 22px;
}

.search-result__excerpt {
    margin-bottom: 20px;
}

ul.social-share-row li.social-share-row__item {
    padding-left: 0;
}

ul.social-share-row li.social-share-row__item::before {
    display: none;
}

.search-result__img-container {
    display: none;
}

@media (min-width: 1200px) {
    .search-result {
        margin-bottom: 70px;
    }

    .search-result.has-image {
        padding-left: 170px;
    }

    .search-result__img-container {
        position: absolute;
        left: 0;
        display: block;
        width: 150px;
        height: 150px;
        overflow: hidden;
        margin-bottom: 15px;
    }

    .search-result__img-container img {
        object-fit: cover;
    }
}

/* Custom Print Button */

.custom-print-button {
    display: block;
    background: #13307F;
    padding: 0.5em 0.5em;
    margin: 0.5em;
    border-radius: 5px;
    border: 0;
}

.custom-print-button svg {
    display: block;
    width: 27px;
    fill: #fff;
}

.custom-print-button:hover {
    background: linear-gradient(
        to bottom,
        rgba(148, 167, 220, 0.5) 0%,
        rgba(148, 167, 220, 0.5) 100%
    );
}

.custom-print-button:hover svg {
    fill: #13307F;
}

/******  Newsletters ********/

.blog-newsletter-section {
    background-color: var(--lightgreen);
    padding: 25px;
    border-radius: 5px;
}

/******  Newsletter Blog Popup ********/
/* Newsletter Blog Popup Custom CSS */
.pum-theme-116513 {
    background-color: rgba(26, 24, 24, 0.85) !important;
}

#popmake-116522 {
    width: 100% !important;
    padding: 81px 22px 50px;
    background: transparent;
    position: relative;
    z-index: 1;
    box-shadow: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
}

#popmake-116522 .popmake-content,
#popmake-116522 h3 {
    color: #fff;
}

#popmake-116522 h3 {
    margin-bottom: 0;
    padding-bottom: 0.5rem;
}

#popmake-116522 p {
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

#popmake-116522 p,
#popmake-116522 a {
    color: #e1e1e1;
}

#popmake-116522 .btn {
    width: 100%;
}

#popmake-116522 .btn:after {
    position: relative !important;
    right: -10px !important;
}

#popmake-116522:before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-clip-path: polygon(80% 0%, 100% 5%, 100% 100%, 0% 100%, 0 6%);
    clip-path: polygon(80% 0%, 100% 5%, 100% 100%, 0% 100%, 0 6%);
    background: #13307F;
    z-index: -1;
}

#popmake-116522:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-clip-path: polygon(90% 0, 100% 3%, 100% 100%, 0 100%, 0 7%);
    clip-path: polygon(90% 0, 100% 3%, 100% 100%, 0 100%, 0 7%);
    background: #212121;
    z-index: -1;
}

#pum-116522 .pum-close {
    width: 50px !important;
    height: 50px !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    top: 20px;
    right: 10px;
}

#pum-116522 .pum-close i {
    position: relative;
    border-radius: 10px;
    display: block;
    width: 20px !important;
    height: 2px;
    background: transparent;
    position: relative;
    transition: background 300ms 50ms ease;
}

#pum-116522 .pum-close i:before,
#pum-116522 .pum-close i:after {
    border-radius: 10px;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: #e1e1e1;
    width: 29px;
    height: 3px;
    transition: top 300ms ease, transform 350ms ease;
}

#pum-116522 .pum-close i:before {
    transform: rotate(45deg);
}

#pum-116522 .pum-close i:after {
    transform: rotate(-45deg);
}

#popmake-116522 .form-col > label {
    display: block;
    position: absolute;
    top: 10px;
    left: 1px;
    padding: 4px 16px;
    transition: all ease 0.3s;
    pointer-events: none;
}

#popmake-116522 .form-col .input-has-value ~ label {
    top: 7px;
    margin-top: -20px;
    background-color: #e1e1e1;
    font-size: 12px;
    left: 0;
    padding: 2px 12px;
}

@media only screen and (min-width: 768px) {
    #pum-116522 {
        display: none !important;
    }

    html.popup-116522 {
        overflow-x: hidden !important;
        overflow: unset !important;
    }

    html.popup-116522.pum-open-scrollable body > :not([aria-modal="true"]) {
        padding-right: 0 !important;
    }
}
