/*
Theme Name: Bridge Child
Theme URI: http://bridgelanding.qodeinteractive.com/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: https://qodeinteractive.com
Version: 1.0.0
Text Domain: bridge
Template: bridge
*/

@import url('/wp-content/uploads/font-organizer/fo-declarations.css');
@import url('/wp-content/uploads/font-organizer/fo-elements.css');

@font-face {
    font-family: 'futura-light';
    src: url('fonts/FuturaRenner-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura';
    src: url('fonts/FuturaRenner-Regular.woff') format('woff'),
         url('fonts/FuturaRenner-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura';
    src: url('fonts/FuturaRenner-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MyScriptFont';
    src: url('fonts/MyScriptFont.woff') format('woff'),
         url('fonts/MyScriptFont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'myfont';
    src: url('fonts/MyScriptFont.woff') format('woff'),
         url('fonts/MyScriptFont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura regular';
    src: url('fonts/FuturaRenner-Regular.woff') format('woff'),
         url('fonts/FuturaRenner-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MyHandwriting';
    src: url('fonts/MyScriptFont-_6_.woff') format('woff'),
         url('fonts/MyScriptFont-_6_.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myfont';
    src: url('fonts/MyScriptFont-_6_.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myscript';
    src: url('fonts/MyScriptFont-_6_.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Hide Bridge theme's default fallback logo images */
.q_logo a img[src*="/themes/bridge/img/logo"] {
    display: none !important;
}

/* Make the homepage portfolio tiles run edge-to-edge. */
.page-id-15453 .container {
    width: 100%;
}

.page-id-15453 .container_inner.default_template_holder.page_container_inner {
    width: 100%;
    max-width: none;
    padding: 0;
}

.page-id-15453 .projects_holder_outer.v3.portfolio_no_space {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #000;
}

.page-id-15453 .projects_holder_outer.v3.portfolio_no_space .projects_holder.portfolio_main_holder {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch;
    width: 100%;
    height: auto !important;
    background: #000;
    gap: 0 !important;
    row-gap: 0 !important;
    column-gap: 0 !important;
    font-size: 0;
    line-height: 0;
}

.page-id-15453 .projects_holder_outer.v3.portfolio_no_space article {
    display: block !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    float: none;
    width: 33.333333% !important;
    flex: 0 0 33.333333% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
    clear: none !important;
    box-sizing: border-box !important;
    background: #000 !important;
}

.page-id-15453 .projects_holder_outer.v3.portfolio_no_space .projects_holder.portfolio_main_holder > .filler {
    display: none !important;
}

.page-id-15453 .projects_holder_outer.v3.portfolio_no_space .image_holder,
.page-id-15453 .projects_holder_outer.v3.portfolio_no_space .image,
.page-id-15453 .projects_holder_outer.v3.portfolio_no_space .image img {
    display: block;
    width: 100%;
    height: 100%;
}

.page-id-15453 .projects_holder_outer.v3.portfolio_no_space .image_holder {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.page-id-15453 .projects_holder_outer.v3.portfolio_no_space .image {
    overflow: hidden;
}

.page-id-15453 .projects_holder_outer.v3.portfolio_no_space .image img {
    object-fit: cover;
    object-position: center;
    vertical-align: top;
    backface-visibility: hidden;
    width: calc(100% + 2px);
    max-width: none;
    margin-left: -1px;
    margin-top: -1px;
    height: calc(100% + 2px);
    transform: translateZ(0) scale(1);
    transition: transform 220ms ease;
}

.page-id-15453 .projects_holder_outer.v3.portfolio_no_space article:hover .image img,
.page-id-15453 .projects_holder_outer.v3.portfolio_no_space article:focus-within .image img {
    transform: translateZ(0) scale(1.04);
}

@media only screen and (max-width: 1000px) {
    .page-id-15453 .projects_holder_outer.v3.portfolio_no_space .projects_holder.portfolio_main_holder {
        display: flex !important;
        flex-wrap: wrap !important;
    }
}

@media only screen and (max-width: 680px) {
    .page-id-15453 .projects_holder_outer.v3.portfolio_no_space .projects_holder.portfolio_main_holder {
        display: flex !important;
    }

    .page-id-15453 .projects_holder_outer.v3.portfolio_no_space article {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
}

/* Writing page: keep the cover and YouTube embed contained and separated. */
.postid-15912 .claire-writing-book {
    width: min(100%, 500px);
    margin: 0 auto 20px;
}

.postid-15912 .claire-writing-book__image {
    display: block;
    width: 100%;
    height: auto;
}

.postid-15912 .claire-writing-video {
    width: min(100%, 100%);
    max-width: 560px;
    margin: 20px 0 36px;
    clear: both;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.postid-15912 .claire-writing-video iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

.postid-15912 .q_elements_holder_custom_726383,
.postid-15912 .q_elements_holder_custom_323215 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.postid-15912 .q_elements_holder_custom_726383 h2,
.postid-15912 .q_elements_holder_custom_323215 h2 {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    padding-top: 0 !important;
}

.postid-15912 .q_elements_holder_custom_726383 p,
.postid-15912 .q_elements_holder_custom_323215 p {
    margin-bottom: 14px;
}

.postid-15912 .q_elements_holder_custom_726383 .wpb_wrapper > h2 + p,
.postid-15912 .q_elements_holder_custom_323215 .wpb_wrapper > h2 + p {
    margin-top: 0 !important;
}

.postid-15912 .vc_custom_1717876696259,
.postid-15912 .vc_custom_1660928267098,
.postid-15912 .vc_custom_1660929190695 {
    margin-top: -36px !important;
    padding-top: 0 !important;
}

.postid-15912 .vc_custom_1660929190695 {
    margin-top: -18px !important;
}

.postid-15912 .claire-writing-pdf-link {
    display: inline-block;
    margin: 10px 0 22px;
    padding: 10px 14px;
    border: 1px solid currentColor;
    line-height: 1.2;
}

.postid-15912 .claire-writing-pdf-viewer {
    width: 100%;
    max-width: 620px;
    margin: 0 auto 24px;
}

.postid-15912 .claire-writing-pdf-viewer iframe,
.postid-15912 .claire-writing-pdf-viewer object {
    display: block;
    width: 100%;
    height: 720px;
    border: 0;
    background: #f4f1ea;
}

@media only screen and (max-width: 1000px) {
    .postid-15912 .claire-writing-book {
        margin-bottom: 18px;
    }

    .postid-15912 .claire-writing-video {
        width: 100%;
        margin-bottom: 28px;
    }

    .postid-15912 .claire-writing-pdf-viewer iframe,
    .postid-15912 .claire-writing-pdf-viewer object {
        height: 560px;
    }
}

/* About page: make the portrait track the full height of the text column. */
.page-id-15474 .q_elements_holder.two_columns.responsive_mode_from_768 {
    display: flex;
    align-items: stretch;
}

.page-id-15474 .q_elements_holder.two_columns.responsive_mode_from_768 > .q_elements_item {
    display: flex;
}

.page-id-15474 .q_elements_holder_custom_897409,
.page-id-15474 .q_elements_holder_custom_897409 .wpb_single_image,
.page-id-15474 .q_elements_holder_custom_897409 .wpb_wrapper,
.page-id-15474 .q_elements_holder_custom_897409 .vc_single_image-wrapper {
    height: 100%;
}

.page-id-15474 .q_elements_holder_custom_897409 .vc_single_image-wrapper {
    display: block;
    overflow: hidden;
    height: 100%;
}

.page-id-15474 .q_elements_holder_custom_897409 .vc_single_image-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.page-id-15474 .q_elements_holder_custom_897409 {
    padding-bottom: 0;
    min-height: calc(100% + 105px);
    align-self: stretch;
}

@media only screen and (max-width: 1000px) {
    .page-id-15474 .q_elements_holder.two_columns.responsive_mode_from_768,
    .page-id-15474 .q_elements_holder.two_columns.responsive_mode_from_768 > .q_elements_item {
        display: block;
    }

    .page-id-15474 .q_elements_holder_custom_897409,
    .page-id-15474 .q_elements_holder_custom_897409 .wpb_single_image,
    .page-id-15474 .q_elements_holder_custom_897409 .wpb_wrapper,
    .page-id-15474 .q_elements_holder_custom_897409 .vc_single_image-wrapper,
    .page-id-15474 .q_elements_holder_custom_897409 .vc_single_image-img {
        height: auto;
    }

    .page-id-15474 .q_elements_holder_custom_897409 {
        min-height: 0;
    }
}
