/*
Theme Name: Renaissance Child
Template: bb-theme
*/

/* Miscellaneous Helpers Classes */
.img-no-border .fl-photo-img {
    border: none !important;
    box-shadow: none !important;
}

.sub-title {
    font-weight: bold;
    font-size: 22px;
    color: #E5B479 !important;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto;
    display: block;
}

.sub-title.sub-title--left {
    text-align: left;
    margin-left: 0;
}

.sub-title.sub-title--dark {
    color: #696969 !important;
    display: inline;
    font-weight: normal;
}

.fl-photo-img {
    border: 1px solid #E5B479;
    box-shadow: 0 12px 25px 0 rgba(0, 0, 0, 0.25);
}

/* Header / Menu */
header.fl-builder-content {
    box-shadow: 0 12px 25px 0 rgba(0, 0, 0, 0.25);
}

.menu-item.highlight > a {
    color: #FED79D !important;
}

.menu-item.highlight > a:hover {
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .fl-node-ypd26k4nsj9a.fl-col-group {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .fl-node-ypd26k4nsj9a .fl-col {
        width: auto !important;
    }
}

/* Case Studies - Shortcode */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 16px;
    /*background-color: #f0ebe4;*/
}

.projects-grid__item {
    display: block;
    text-decoration: none;
    border: solid 1px #fed79d;
    background-color: #313131;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.projects-grid__item:hover {
    /*text-decoration: none !important;*/
    /*transform: translateY(-3px);*/
    /*box-shadow: 0 8px 24px rgba(0,0,0,0.3);*/
}

.projects-grid__image {
    width: calc(100% - 24px);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    margin: 15px auto 0;
    border: 1px solid #fed79d;
}

.projects-grid__title {
    padding: 14px 10px;
    text-align: center;
    color: #fed79d !important;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.5;
    text-transform: uppercase;
    background-color: #313131;
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .projects-grid__title {
        font-size: 18px;
    }
}

/* Case Studies Template */
body.case-study-template #fl-main-content {
    background-color: #FAF2E8;
}

body.case-study-template .pp-heading .heading-title span.pp-primary-title {
    color: #696969 !important;
}

body.case-study-template .fl-rich-text {
    font-size: 18px;
    line-height: 1.5;
    color: #696969;
}

body.case-study-template .pp-button-wrap {
    display: none;
    /*text-align: left;*/
}

body.case-study-template .pp-button-wrap a.pp-button,
body.case-study-template .pp-button {
    background: #E5B479 !important;
    background-color: #E5B479 !important;
    border: 2px solid #E5B479;
    border-radius: 0;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 20px;
    padding: 18px 35px;
}

body.case-study-template .pp-button-wrap a.pp-button:hover,
body.case-study-template .pp-button:hover {
    border-radius: 0;
    border: 2px solid #E5B479;
    background: transparent !important;
    background-color: transparent !important;
    color: #E5B479 !important;
}

body.case-study-template .pp-button-wrap a.pp-button:hover > .pp-button-text,
body.case-study-template .pp-button:hover > .pp-button-text {
    color: #E5B479 !important;
}

/* Case Study Child Links - Shortcode */
.case-study-children__heading {
    font-weight: semi-bold;
    color: #696969;
    text-transform: uppercase;
}

.case-study-children__list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.case-study-children__link {
    font-size: 18px;
    line-height: 1.5;
    color: #696969;
}

.case-study-children__link--active {
    font-weight: 700;
}

.case-study-children__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.case-study-children__button {
    display: inline-block;
    text-decoration: none !important;
}

.case-study-children__button:hover,
.case-study-children__button:focus {
    text-decoration: none;
}

.case-study-children__button--disabled,
.case-study-children__button--disabled:hover {
    cursor: not-allowed;
    opacity: 0.45;
    pointer-events: none;
}

/* Architect Pages */
body.architect-resources-template .fl-module-rich-text {
    font-size: 18px;
    line-height: 1.5;
    color: #696969;
}

@media (max-width: 600px) {
    body.architect-resources-template h2.fl-heading:first-of-type {
        margin-top: 1em !important;
    }
}

/* Table of Contents */
.toc {
    width: 100%;
    border-collapse: collapse;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.toc__header {
    font-size: 14px;
    font-weight: bold;
    padding: 8px 6px;
    color: #333;
}

.toc__section-header td {
    background-color: #E5B479;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    padding: 6px 8px;
}

.toc__col-header td {
    font-weight: bold;
    font-size: 12px;
    padding: 4px 6px 2px;
    border-bottom: 1px solid #ccc;
}

.toc__col-header td:last-child {
    text-align: center;
}

.toc__row td {
    padding: 4px 6px;
    vertical-align: middle;
}

.toc__row td:last-child {
    text-align: center;
    white-space: nowrap;
    width: 80px;
}

.toc__row:nth-child(even) td {
    background-color: #fdf6ee;
}

.toc a {
    color: #996633;
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}

.toc__spacer td {
    padding: 10px 0 0;
}

@media (max-width: 600px) {
    .toc__col-header td:last-child,
    .toc__row td:last-child {
        display: none;
    }

    .toc__row td:first-child {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .toc__row td:first-child::after {
        content: attr(data-file);
        font-size: 11px;
        font-weight: bold;
        color: #996633;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Password Protect */
.post-password-required {
    background-color: #FAF2E8;
    color: #696969;
}

.post-password-required .fl-post-header {
    display: none;
}

.post-password-form {
    padding: 0 20px;
    max-width: 400px;
    margin: 60px auto;
}

.post-password-form p {
    font-size: 18px;
    line-height: 1.5;
}

.post-password-form input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    border-radius: 0;
    /*border: 1px solid #ccc;*/
}

.post-password-form input[type="submit"] {
    padding: 10px 25px;
    border-radius: 0;
    font-size: 18px;
    background-color: #E5B479;
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.post-password-form input[type="submit"]:hover {
    background-color: transparent;
    border: 1px solid #E5B479;
    color: #E5B479;
}

/* Beaver Builder Overwrites */
/* H1 */
h1.fl-heading {
    font-size: 72px;
}

@media (max-width: 1199px) {
    h1.fl-heading {
        font-size: 58px;
    }
}

@media (max-width: 767px) {
    h1.fl-heading {
        font-size: 40px;
    }
}

/* Rows */
/*@media (max-width: 767px) {*/
/*    .fl-row-content {*/
/*        margin-left: 1rem;*/
/*        margin-right: 1rem;*/
/*    }*/
/*}*/

/*@media (max-width: 1199px) and (min-width: 768px) {*/
/*    .fl-row-content {*/
/*        margin-left: 1.5rem;*/
/*        margin-right: 1.5rem;*/
/*    }*/
/*}*/

/*@media (min-width: 1200px) {*/
/*    .fl-row-content {*/
/*        margin-left: inherit;*/
/*        margin-right: inherit;*/
/*    }*/
/*}*/

/* Gallery Overwrites */
body.conservatories-projects-copy-child .pp-photo-gallery-content {
    padding: 0;
}

body.conservatories-projects-copy-child .pp-gallery-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
}
