/*
Theme Name: Veritas
Author: Above the Fold
Description: Custom theme developed for Veritas Legal Marketing
Version: 1.0
*/

pre {
    font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
    background-color: #1D1F21;
    color: #F0C674 !important;
    padding: 30px;
    margin: 15px;
    border-radius: 8px;
    word-break: break-all;
    word-wrap: break-word;
    overflow: auto;
    position: relative;
    z-index: 9;
}

* { scroll-behavior: smooth; }

/* html, body {
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
} */

img {
    max-width: 100%;
    height: auto;
}

/*Responsive Videos*/
iframe[src*="youtu.be"],
iframe[src*="youtube"],
iframe[src*="vimeo"],
video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.screen-reader-shortcut {
    position: absolute;
    top: -1000em;
    left: 6px;
    height: auto;
    width: auto;
    display: block;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 23px 14px;
    background: #f0f0f1;
    color: #2271b1;
    z-index: 100000;
    line-height: normal;
    text-decoration: none;
}
.screen-reader-shortcut:focus {
    top: 7px;
    background: #f0f0f1;
    box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
}

.fs-small {
    font-size: .875rem;
}
.lead {
    font-weight: 400;
}

/*Flex Settings*/
section.flex-content,
section.flex-content .container { position: relative; }
section.flex-content .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
section.flex-content .bg,
section.flex-content > video.embeded-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
section.flex-content > .embeded-youtube { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 177.78vh; height: 100vh; min-width: 100vw; min-height: 56.25vw; pointer-events: none; z-index: -1; }
section.flex-content img.bg,
section.flex-content > video.embeded-video { object-fit: cover; object-position: center; }
section.flex-content .eyebrow { position: relative; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; color: var(--bs-link-hover-color); padding-bottom: 1rem; margin-bottom: 1rem; }
section.flex-content .eyebrow::after { content: ""; display: inline-block; position: absolute; bottom: 0; left: 0; width: 50px; height: 2px; background-color: var(--bs-link-color); }
section.flex-content .text-center:has(.eyebrow) .eyebrow::after { left: calc(50% - 25px); }
@media (max-width: 767px) {
    section.flex-content .eyebrow { font-size: .75rem; }
    section.flex-content .eyebrow::after { width: 40px; }
}