.google-maps {
    position: relative;
    padding-bottom: 55%;
    /* This is the aspect ratio */
    height: 0;
    overflow: hidden;
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.top-bar .inside-top-bar .widget {
    margin: 0 auto;
}

.job_listings .job_filters {
    display: none;
}

.post-thumbnail-link img,
.home .owl-item img,
.post-image img,
.shortcode-post img {
    filter: grayscale(1);
    transition: filter 0.5s;
}

.post-thumbnail-link img,
.post-image img {
    aspect-ratio: 3/2;
    object-fit: cover;
}

.post-thumbnail-link:hover img,
.home .owl-item img:hover,
.post-image img:hover,
.shortcode-post img:hover {
    filter: grayscale(0);
}

.separate-containers .content-area .site-main {
    margin: 0;
}

.post-grid .row,
.custom-archive-wrapper {
    display: grid;
    column-gap: 30px;
    border-bottom: 1px solid var(--base-2);
    padding-bottom: 50px;
    grid-template-columns: repeat(auto-fit, minmax(270px, 3fr));
}

.custom-archive-wrapper .entry-meta {
    padding-bottom: 5px;
}

input[type=submit].gform_button {
    border: 1px solid var(--base-2);
    padding: 15px 30px;
}

input[type=submit].gform_button:hover {
    border: 1px solid var(--base-3);
}



.graymedia-slides .item {
/*     display: flex; */
}

.owl-nav {
    position: absolute;
    bottom: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.owl-nav div {
    padding: 15px;
    filter: drop-shadow(2px 2px 5px #000000);
}

.caption-box {
    background-color: var(--base-2);
    color: var(--base);
    max-width: 470px;
    padding: 50px;
    bottom: 0;
}

.caption-box a {
    color: var(--base)
}

.inside-article .entry-header {
    padding-bottom: 50px;
}

figure.wp-caption .wp-caption-text {
    padding-top: 20px;
    opacity: 1;
}

.entry-meta span {
    color: var(--base-2);
}

.post-grid .view-more-link:hover,
.post-grid a:hover h2,
.post-grid a:hover h3,
.post-grid .post-cat:hover,
footer.entry-meta a:hover {
    color: var(--base-2);
    opacity: 0.5;
}

.post-grid a:hover img {
    opacity: 1;
}

.view-more-link {
    border: 1px solid var(--base-2);
    padding: 15px 30px;
}

.site-breadcrumbs {
    border-top: 1px solid var(--base-2);
    border-bottom: 1px solid var(--base-2);
    padding: 10px 0 12px;
}

.separate-containers .sidebar .inside-left-sidebar,
.separate-containers .sidebar .inside-right-sidebar {
    margin-top: 0;
}

.title-row {
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-start;
}

.post-grid-title {
    margin-bottom: 0;
}

@media (min-width: 769px) {
    .title-row {
        padding-bottom: 35px;
        flex-direction: row;
        align-items: center;
    }

    .post-grid .row,
    .custom-archive-wrapper {
        row-gap: 50px;
    }

    .caption-box {
        position: absolute;
    }

    .site-content {
        padding: 0 50px;
    }

    #right-sidebar {
        width: 300px;
        /* position: sticky; */
        top: 50px;
        align-self: flex-start;
    }

    .home #right-sidebar {
        padding-top: 110px;
    }

    .site-main .post-grid {
        padding-top: 35px;
        margin-bottom: 0;
    }



    .widget-area .inside-right-sidebar .widget {
        padding: 0px;
    }

    body:not(.no-sidebar) #primary {
        width: calc(100% - 300px);
        padding-right: 65px;
    }

    .separate-containers .site .comments-area,
    .separate-containers .site .inside-article,
    .separate-containers .site .page-header,
    .separate-containers .site .paging-navigation {
        padding: 40px 0;
    }

    .footer-widget-1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #menu-footer-menu {
        display: flex;
        gap: 10px;
    }

    #media_image-3 {
        max-width: 80px;
        padding: 0;
        align-self: center;
        margin: 0;
    }
}

.hide-mobile {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.hide-desktop {
    display: none;
    opacity: 0;
    visibility: hidden;
}

img.w50 {
    max-width: 49%;
}


@media only screen and (max-width: 768px) {
    .site-content {
        padding: 15px;
    }

    img.w50 {
        max-width: 100%;
    }

    .hide-mobile {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    .hide-desktop {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
}

.complex-gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: grid;
    place-items: center;
}

.complex-gallery-lightbox.closed {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.lightbox-slides {
    max-height: 90vh;
    max-width: 98vw;

}

.lightbox-slides .gallery-item {
    max-height: 90vh;
    max-width: 98vw;
    display: flex;
    flex-direction: column;
    margin: auto;
    width: fit-content;
}

.lightbox-slides .gallery-item img {
    align-self: center;
    width: auto;
    max-height: 90vh;
}

.lightbox-slides .gallery-caption {
    background: rgba(242, 231, 224, 0.7);
    backdrop-filter: blur(5px);
    color: var(--base);
    position: absolute;
    bottom: 0;
    width: 400px;
	max-width:100vw;
    font-size: 20px;
    font-family: Ovo, serif;
    text-align: left;
    text-transform: none;
    padding: 20px;
}

.lightbox-slides .gallery-caption p {
    margin-bottom: 0;
}

.lightbox-slides .gallery-caption a {
	color: var(--base);
}

.cg-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    font-family: Outfit;
    z-index: 1000;
    filter: drop-shadow(2px 2px 5px #000000);
}

.single .entry-content .cg-close-button a {
    text-decoration: none;
    transition: all 0.5;
}

.single .entry-content .cg-close-button a:hover {
    opacity: 0.5;
}