html {
    height: 100%;
}
body {
    background: #969696;
    height: 100%;
}

.container-fluid {
    height: 100%;
}
.row {
    height: 100%;
}

.mobile-header {
    display: none;
}

.sidebar-backdrop {
    display: none;
}

/* sidebar */

.sidebar {
    padding: 30px 20px;
    color: #eee;
    font-size: 13px;
}

.sidebar a {
    color: #eee;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.site-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 25px;
}

/* slideshow */

.slideshow {
    max-width: 900px;
    margin: auto;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

.home-slideshow img {
    height: 600px;
    width: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.sidebar-background {
    background: #969696;
    padding-top: 20px;
}

.main-page {
    background: #999999;
    padding: 30px 10px;
}

.content-page {
    max-width: 640px;
    padding-top: 28px;
    padding-left: 30px;
    color: #4f403b;
}

.content-page p {
    font-family: "Helvetica",arial,sans-serif;
    font-weight: normal;
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0px;
    font-family: proxima-nova;
    line-height: 1.6em;
    font-style: normal;
    font-size: 12px;
    margin: 0 0 1em;
}

.content-page a {
    color: inherit;
    text-decoration: none;
}

.content-page .content-page-heading {
    text-align: center;
    margin: 20px 0 3.8em;
}

.content-page .section-gap {
    margin-top: 8.5em;
}

.about-page {
    max-width: 930px;
}

.about-page p {
    max-width: 920px;
}

.about-page .content-page-heading {
    max-width: none;
}

.contact-page {
    max-width: none;
    width: fit-content;
    padding-top: 52px;
    padding-left: 0;
    margin: 0 auto;
    text-align: center;
}

.contact-page p {
    margin-bottom: 1.2em;
    white-space: nowrap;
}

.contact-page .contact-gap {
    margin-top: 4.8em;
    margin-bottom: 1.2em;
}

.contact-page a {
    font-weight: 700;
}

.sidebar-background a {
    text-transform: none;
    font-weight: 400;
    letter-spacing: 1px;
    font-family: "Arial","Helvetica","sans-serif";
    line-height: 1.5em;
    font-style: normal;
    font-size: 12px;
    display: block;
    padding: .2em;
    color: #1f1f1f;
    margin-bottom: 0px;
}

.sidebar-second {
    padding-top: 15px;
}

.sidebar-second  a {
    font-family: "Helvetica",arial,sans-serif;
    font-weight: normal;
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0px;
    font-family: proxima-nova;
    line-height: 1.8em;
    font-style: normal;
    font-size: 13px;
    color: #404040;
    margin-bottom: 0px;
}

.sidebar-second a.is-active {
    color: #2f2f2f;
}

.sidebar-background .submenu {
    margin-left: 10px;
}

.tile-img {
    width: 150px;
    height: 120px;
    object-fit: cover;
    cursor: pointer;
}

#image-viewer img{
    max-height: 80vh;
    cursor: pointer;
}

#image-viewer {
    position: relative;
    min-height: 80vh;
}

.viewer-media {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.viewer-media.viewer-media-video {
    display: block;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

#viewer-video-wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

#viewer-video {
    width: 100%;
    height: 100%;
    border: 0;
}

.gallery-img{
    width:168px;
    height:126px;
    object-fit:cover;
    cursor:pointer;
}

.gallery-item {
    width: 168px;
}

.gallery-caption {
    display: none;
}

.video-thumb {
    position: relative;
    border: 0;
    padding: 0;
    background: transparent;
}

.video-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 28px solid rgba(255, 255, 255, 0.95);
    transform: translate(-35%, -50%);
    pointer-events: none;
}

.video-viewer-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-left: 34px solid rgba(255, 255, 255, 0.95);
    transform: translate(-35%, -50%);
    pointer-events: none;
}

.viewer-meta {
    position: fixed;
    right: 34px;
    bottom: 18px;
    width: 170px;
    padding: 14px 16px;
    background: #999999;
    text-align: left;
    color: #545454;
    font-family: "Arial","Helvetica","sans-serif";
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0;
}

.viewer-title {
    margin-bottom: 12px;
    font-weight: 400;
    text-transform: none;
}

.viewer-nav {
    margin-bottom: 10px;
    color: #000;
}

.viewer-link {
    border: 0;
    background: transparent;
    padding: 0;
    color: #545454;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Arial","Helvetica","sans-serif";
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0;
}

#viewer-prev {
    margin-right: 4px;
}

#viewer-next {
    margin-left: 4px;
}

.viewer-separator {
    color: #fff !important;
    display: inline-block;
}

#viewer-prev,
#viewer-next {
    color: #000 !important;
}

#viewer-thumbnails {
    color: #545454 !important;
}

@media (max-width: 767.98px) {
    .container-fluid,
    .row {
        height: auto;
    }

    .mobile-header {
        height: 72px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 20px 16px 0;
        padding: 0 18px;
        background: transparent;
    }

    .mobile-header-title {
        color: #f1f1f1;
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
    }

    .mobile-menu-toggle {
        border: 0;
        background: transparent;
        color: #111;
        font-size: 14px;
        line-height: 1;
        padding: 0;
    }

    .sidebar-backdrop {
        display: none !important;
    }

    .sidebar {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        z-index: auto;
        width: 100%;
        max-width: none;
        max-height: 0;
        overflow: hidden;
        padding: 0 22px;
        background: #262222;
        transform-origin: top center;
        transition: max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
    }

    body.menu-open .sidebar {
        max-height: 2000px;
        padding: 26px 22px 40px;
    }

    .site-title {
        display: none;
    }

    .sidebar-background {
        background: transparent;
        padding-top: 0;
    }

    .sidebar-background a,
    .sidebar-second a {
        color: #7f848e;
        text-align: center;
        font-size: 15px;
        line-height: 1.9;
        letter-spacing: 0;
        padding: 0;
        margin-bottom: 8px;
    }

    .sidebar-background > a[data-bs-toggle="collapse"] {
        margin-top: 18px;
        margin-bottom: 14px;
        position: relative;
    }

    .sidebar-background > a[data-bs-toggle="collapse"]::after {
        content: "";
        display: block;
        width: 146px;
        margin: 8px auto 0;
        border-bottom: 1px solid rgba(127, 132, 142, 0.35);
    }

    .sidebar-background > a:first-child {
        margin-top: 0;
        margin-bottom: 18px;
    }

    .sidebar-background .submenu {
        margin-left: 0;
        margin-bottom: 12px;
    }

    .sidebar .collapse:not(.show) {
        display: block;
    }

    .sidebar-second {
        padding-top: 18px;
    }

    .sidebar-second a.is-active {
        color: #b8cce3;
        background: #5f84ab;
        margin-left: -22px;
        margin-right: -22px;
        padding: 4px 22px;
    }

    .main-page {
        width: 100%;
        padding: 26px 16px;
    }

    .gallery-grid {
        justify-content: center;
        gap: 18px !important;
    }

    .gallery-item {
        width: 100%;
        max-width: 360px;
        background: #999999;
    }

    .tile-img,
    .gallery-img {
        cursor: default;
        width: 100%;
        max-width: 360px;
        height: auto;
        display: block;
    }

    .gallery-caption {
        display: block;
        width: 100%;
        margin: 0;
        padding: 18px 0 22px;
        color: #404040;
        font-family: "Arial","Helvetica","sans-serif";
        font-size: 11px;
        line-height: 1.35;
        text-align: left;
    }

    #image-viewer {
        padding: 0 8px;
        min-height: 0;
        position: relative;
    }

    #image-viewer img,
    .viewer-media,
    #viewer-video-wrapper {
        max-width: 100%;
    }

    .video-thumb {
        width: 100%;
        max-width: 360px;
    }

    .viewer-meta {
        position: static;
        margin-top: 16px;
        text-align: center;
        width: auto;
    }

    .content-page {
        padding-left: 0;
        padding-top: 0;
        max-width: none;
    }

    .contact-page {
        max-width: none;
    }
}
