﻿/* ==========================================
   OFFICE PAGE CONTENT ONLY
   Uses styles.css for header/nav/footer
========================================== */

.office-content {
    background: #f6f4ef;
    padding: 42px 0 55px 0;
}

.office-content .container {
    max-width: 1120px;
    background: #ffffff;
    border: 2px solid #c2b8aa;
    padding: 36px;
    box-sizing: border-box;
}

.office-breadcrumb {
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #d3d3d3;
    color: #3f3f3f;
    font-size: 15px;
    line-height: 1.5;
}

.office-breadcrumb a {
    color: #3b2a11;
    font-weight: 700;
    text-decoration: underline;
}

.office-breadcrumb a:hover,
.office-breadcrumb a:focus {
    color: #2a1d0b;
}

.office-breadcrumb-sep {
    margin: 0 8px;
    color: #555555;
}

.office-breadcrumb-current {
    color: #1f1f1f;
    font-weight: 700;
}

.office-content h1 {
    margin: 0 0 22px 0;
    color: #111111;
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 700;
}

.office-content h2 {
    margin: 36px 0 14px 0;
    color: #111111;
    font-size: 1.6rem;
    line-height: 1.3;
    font-weight: 700;
}

.office-content p {
    margin: 0 0 18px 0;
    color: #1f1f1f;
    font-size: 1rem;
    line-height: 1.8;
}

/* gallery */

.office-gallery {
    margin-top: 24px;
    padding: 18px;
    background: #f8f8f8;
    border: 2px solid #c7c7c7;
    text-align: center;
}

.office-gallery img {
    display: inline-block;
    width: 170px;
    height: 120px;
    object-fit: cover;
    margin: 8px;
    padding: 4px;
    background: #ffffff;
    border: 2px solid #6a6a6a;
    cursor: pointer;
    vertical-align: top;
}

.office-gallery img:hover,
.office-gallery img:focus {
    border-color: #2e1f09;
    box-shadow: 0 0 0 3px #d9c7a3;
}

/* modal */

.office-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    text-align: center;
    overflow: auto;
    padding: 20px;
}

.office-modal-content {
    display: block;
    width: auto;
    height: auto;
    max-width: 98vw;
    max-height: 92vh;
    margin: 20px auto 10px auto;
    border: 4px solid #ffffff;
}

.office-modal-caption {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 10px;
    padding: 0 20px;
}

.office-modal-close {
    position: fixed;
    top: 10px;
    right: 24px;
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    z-index: 1000000;
}

.office-modal-close:hover,
.office-modal-close:focus {
    color: #f0f0f0;
}

/* responsive */

@media screen and (max-width: 820px) {
    .office-content .container {
        padding: 26px;
    }
}

@media screen and (max-width: 640px) {
    .office-content {
        padding: 34px 0 40px 0;
    }

    .office-content .container {
        padding: 22px;
    }

    .office-content h1 {
        font-size: 1.9rem;
    }

    .office-content h2 {
        font-size: 1.45rem;
    }

    .office-breadcrumb {
        font-size: 14px;
    }

    .office-gallery img {
        width: 140px;
        height: 100px;
        margin: 6px;
    }

    .office-modal-content {
        max-width: 98%;
        max-height: 86vh;
    }
}