/* mss_core.css

Breakpoints breakdown:
1080px - special breakpoint: (WAS when parallax background shifted from panel element to a special full-sized-fixed-element)
1020px - lower-bound desktop-centric content, upper-bound tablet content
768px - lower-bound tablet-centric content, upper-bound mobile content
360px - *very* specific content shaping at this breakpoint

KEY PAGE WIDTH AS .general-container REACHES MAX WIDTH --main-gutter-max-width, PERCENTAGE FACTOR --main-gutter-width-percent
> > > 1600px (+ scrollbar width: 25px) < < < (this is the point where the main gutter stops increasing even though browser width continues)
*/

*,::before,::after {
    box-sizing: border-box;
}

:root {
    --orange-header-bg:#ef7800;
    --orange-ball-background: #ff9124;
    --dark-orange-text:#674522;
    --green-nav-text:#8ea534;
    /* --green-nav-hover: (opacity:0.7) */
    --heading-gray-text:#666666;
    --heading-blue-text:#2b1aad;
    --blue-text:#1d88ca;
    --dark-blue-text:#074873;
    --heading-blue-lines:#2ea3f2;
    --footer-link-text:#898989;
    --green-button-icon:#aaca29;
    --green-button-hover:#c1dc56;
    --gray-background:#e4e4e4;
    --maroon-background:#8b3248;
    --maroon-from-logo:#7e142f;
    
    /* body part dimensions */
    --main-gutter-max-width:1280px; /* was 1080px */
    --main-gutter-width-percent:80%;
    --orange-strip-height: 60px; /* was: 38px; */
    --header-height:104px;
    --total-header-height:calc(var(--orange-strip-height)  + var(--header-height));
    --header-transition-time:250ms;
    --img-fade-transition-time:250ms;

    /* fonts */
    --heading-text-size: calc( max(20px, min(3.5vw, 52px) ) );
    /* h2 was 32px @ 1350, 24.5px @ 375 */
    --h2-headline-text-size: calc( max(30px, min(1.65rem + 1vw, 40px) ) );
    --body-text-size: calc( max(16px, min(1.7vw, 26px) ) );
    --larger-body-text-size: calc( max(18px, min(2.5vw, 37px) ) );

    /* font list */
    --principal-fonts: Helvetica, /* 'Lucida Sans', Tahoma, 'Trebuchet MS', */ Arial, sans-serif;
}


.not .use-avc-font {
    font-family: 'Acumin Variable Concept', Arial, Helvetica, sans-serif;
}
/* body.use-acuminpro .use-avc-font { */
body {
    font-family: var(--principal-fonts);
    /* font-family: 'Acumin Pro', Arial, Helvetica, sans-serif; */
    /* font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:"wdth" 100; */
}
@media only screen and (min-width:1020.1px) {
    .not .use-avc-font-desktop-only {
        /* font-family: 'Acumin Variable Concept',Arial, Helvetica, sans-serif; */
        font-family: 'Acumin Pro', Arial, Helvetica, sans-serif;
    }
}

.show-outlines .outline-elements,
.show-outlines .outline-elements * {
    outline:1px solid rgba(255,0,0,0.25);
}
.purple-dashed-outline {
    outline:2px dashed purple;
}

/* override auto-linked phone number style color */
a[href^=tel]:link,
contact-phone a:link {
    color:inherit !important;
}

#scroll_position_monitor {
    position:fixed;
    left:0px;
    top:50%;
    z-index:1000001;
    background-color:white;
    color:black;
    padding:5px;
    left:5px;
}

body .hide {
    display:none !important;
}
/* disable text selection on specific elements */
.disable-text-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* also add attribute to element: unselectable="yes" */

form.hide-appearance input { /* this should have qualification, not be a blanket rule */
    -webkit-appearance: none;
    appearance: none;
}
embed, iframe, object, video {
	max-width: 100%;
}
/* for some unknown reason, text inputs must hide the placeholder when received focus */
input[type="search"]:focus::placeholder,
input[type="text"]:focus::placeholder,
textarea:focus::placeholder {
    opacity:0;
}
/* client specified a given form should keep the element placeholder visible even when elements get focus */
form.keep-placeholder-visible input[type="search"]:focus::placeholder,
form.keep-placeholder-visible input[type="text"]:focus::placeholder,
form.keep-placeholder-visible textarea:focus::placeholder {
    opacity:100;
}

/* added to core.css for site-wide application */
#search_result_cancel_box {
	z-index: 100;
	position: fixed; /* force element to remain in view no matter page scroll status */
	width: max-content;
	margin: 0 auto;
	padding: 5px 15px;
	background: white;
    box-shadow: 0px 0px 1px rgba(0,0,0,.5);
    left:50%;
    translate: -50%;
}
@media only screen and (max-width:1020px) {
    /* fit within content gutter constraint as browser width narrows */
    #search_result_cancel_box {
        width:100%;
        text-align: center;
    }
}

.general-container {
    --min-padding:20px;
    position:relative;
    margin:0px auto;
}
.general-container:not(.full-width) {
    width:var(--main-gutter-width-percent);
    max-width:var(--main-gutter-max-width);
}
.general-container.wider {
    width: auto;
    max-width: 1200px;
}
/* vertical spacing variants */
.general-container:not(.no-y-margin) {
    margin-top:auto;
    margin-bottom:auto;
}
.general-container:not(.no-padding) {
    padding-top:max(var(--min-padding),2%);
    padding-bottom:max(var(--min-padding),2%);
}
.general-container.more-padding {
    padding-top:max(var(--min-padding),4%);
    padding-bottom:max(var(--min-padding),4%);
}
.general-container.more-padding-3percent {
    padding-top: max(var(--min-padding),3%);
    padding-bottom: max(var(--min-padding),3%);
}
.general-container.form-w360 {
    max-width:360px;
}

/* --- GUIDES --- */

/* utility classes to clue when main-gutter width maxes out */
first-page-element::before,
first-page-element::after {
    content:'';
    position:fixed;
    left:calc(50% - 640px);
    right:calc(50% - 640px);
    top:0px;
    height:100%;
    border-left:1px dashed purple;
    z-index: 1000;
    pointer-events: none;
    width: 1px;
}
first-page-element::before { right:auto; }
first-page-element::after { left:auto; }
body:not(.show-content-gutter-guides) first-page-element::before,
body:not(.show-content-gutter-guides) first-page-element::after {
    display:none;
}
.show-guides::before {
    content:'';
    z-index:9999;
    position: fixed;
    top:0px;
    border-left:1px dashed red;
}

/* pair with .general-container for consistent flow-placement */
.dev-note {
    border:1px solid red;
    background-color:yellow;
    padding:15px;
}

/* custom tags that should render as block elements */
left-column, right-column, contact-row, hero-crawler,
page-header-wrapper,page-top-orange-strip,page-header,
address-row,address-block,location-name,address-detail,map-link,
footer-columns, column-head, column-body {
    display:block;
}

/* background color rules moved to below the general-button declaration(s) */

/* the .interior-page-background group of rules moved mss_interior.css */

/* --- VISIBILITY CLASSES --- */
@media only screen and (min-width:1020.1px) {
    body .hide-on-desktop {
        display:none !important;
    }
}
@media only screen and (min-width:768.1px) and (max-width:1020px) {
    body .hide-on-tablet {
        display:none !important;
    }
}
@media only screen and (max-width:768px) {
    body .hide-on-mobile {
        display:none !important;
    }
}

/* --- ROWS AND COLUMNS --- */
.row-of-2, .row-of-3, .row-of-4, .row-of-5 {
    display: flex;
}
@media only screen and (max-width:1020px) {
    .row-of-3, .row-of-4 {
        flex-direction: column;
    }
    .third-column {
        text-align: center;
    }
    .row-of-4 {
        flex-wrap:wrap;
    }
    .row-of-4 .fourth-column {
        flex-basis: auto;
    }
}
.half-column,
.third-column {
    padding:0% 3% 0%;
    font-size:14px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap:0.5em;
    flex:1;
}
@media only screen and (max-width:1020px) {
    .half-column,
    .third-column {
        padding-bottom: 3%;
    }
}
@media only screen and (max-width:768px) {
    .half-column,
    .third-column {
        padding-bottom: 2em;
    }
}
@media only screen and (min-width:1020.1px) {
    .column-border .third-column:not(:last-child) {
        border-right:1px solid;
    }
}
.head-icon {
    font-size:42px;
    color:var(--green-button-icon);
}
.head-icon + b {
    padding:0px 5%;
    font-size: 18px;
}
.column-head {
    display: flex;
    align-items: center;
}
.row-of-5 {
    justify-content: center;
}
.fourth-column,
.fifth-column {
    display:flex;
    flex-direction:column;
    flex-basis: 16.6667%;
    padding:10px;
}
.fourth-column {
    flex-basis: 25%;
    font-size:18px;
    /* align-items: center; */
    text-align: center;
}

column-head {
    font-size: 18px;
    text-align: center;
}

@media only screen and (max-width:1020px) {
    .row-of-4 {
        flex-direction:row;
    }
    .row-of-4 .fourth-column {
        flex-basis:50%;
    }
}
@media only screen and (max-width:768px) {
    .row-of-4 {
        flex-direction: column;
    }
}
/* --- for mms_videos.css ?? --- */

/* allow insertion of H1 tag content without affecting page content flow while improving SEO */
h1.for-seo-benefit:not(.show) {
    position:absolute;
    opacity:0;
    pointer-events: none;
}

h2.homepage-videos-header,
h3.homepage-videos-header {
    font-size: min(40px,3.8vw);
    text-align: center;
    margin:0.75em 0px;
}
h3.homepage-videos-header {
    font-size: min(31px,3vw);
}

.video-launcher-box {
    background-size:cover;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:23% 0px;
}
.video-launcher-box > i {
    font-size:25px;
    background-color: white;
    border-radius: 10px;
    border:1px solid #888;
    padding:5px 15px;
    text-align: center;
}

.bg-img-growth-rate { background-image:url('/assets/images/Restaurant-Industry-Growth-Rate-50.jpg'); }
.bg-img-online-reviews { background-image:url('/assets/images/Restaurant-Online-Reviews.jpg'); }
.bg-img-hello-goodbye { background-image:url('/assets/images/From-Hello-to-Goodbye.jpg'); }
.bg-img-cust-service { background-image:url('/assets/images/10-Steps-to-Deliver-Excellent-Customer-Service-at-Your-Restaurant.jpg'); }
.bg-img-mystery-shopping { background-image:url('/assets/images/what-is-mystery-shopping.jpg'); }

.video-title {
    font-weight: bold;
    text-align: center;
}

@media only screen and (max-width:768px) {
    .row-of-5 {
        flex-direction: column;
    }
}

huge-headline {
    /* previous font-size:min(3.2vw,44px); */
    font-size:max(30px,min(3.92vw,64px)); /* is a minimum font size needed for this? */
    min-height:1.5em; /* hold coverage when content is void */
    line-height: 1;
    display:block;
    position:relative;
    color:white;
    /* outline:1px solid pink; */
}
@media only screen and (min-width:768.1px) {
    huge-headline {
        width:60%; /* make headlines break at same width as body text */
    }
}

#go_to_top {
	padding: 4px 12px;
	background-color: #555;
	border: 0px;
	border-radius: 4px;
	position: fixed;
	bottom: 50px;
	left: 50%;
    transform:translateX(-50%);
	z-index: 200;
    display:none;
}
#go_to_top.show {
    display: block;
}

.green-text {
    color:var(--green-button-icon);
}
.orange-text {
    color:var(--orange-header-bg);
}
.white-text {
    color:white;
}
.maroon-text {
    color:var(--maroon-from-logo);
}
.heavy {
    /* font-family: 'Acumin Pro Bold',Arial, Helvetica, sans-serif; */
    font-weight: bold;
}

hero-centered-content {
    display:block;
    z-index:1;
}

orange-circle-with-arrows {
    --orange-circle-size-limit:80px;
    display:block;
    position: absolute;
    z-index: 10;
    width:min(8vw,var(--orange-circle-size-limit));
    height:min(8vw,var(--orange-circle-size-limit));
    left:50%;
    transform:translate(-50%,-50%);
    background-color: var(--orange-header-bg);
    color:white;
    border-radius: 50%;
}

maroon-circle-with-number {
    --maroon-circle-size-limit:44px;
    display:inline-block;
    vertical-align: middle;
    width:var(--maroon-circle-size-limit);
    height:var(--maroon-circle-size-limit);
    color:white;
    background-color: var(--maroon-background);
    border-radius: 50%;
    text-align: center;
    line-height: 44px;
    font-size:36px;
}

.general-container.solutions-panel {
    display:flex;
    gap:3%;
}
.solutions-panel left-column,
.solutions-panel right-column {
    flex-grow:0;
    flex-basis:37%;
}
.solutions-panel right-column {
    flex-basis:60%;
}
support-page-boxes,
about-bes-boxes,
case-study-boxes,
nine-boxes {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:10px;
    line-height: 1;
    /* text-shadow: 0px 0px 2px black; */
}
/* .spin-box rules moved to mss_sliders.css */

/* --- Home Page Hero Fader Cell (move this group to mss_sliders.css?) --- */
hero-fader {
    /* display:flex;
    flex-direction:column; */
    display:block;
    font-family: var(--principal-fonts);
    position: relative;
    width:60%;
    /* overflow-x:hidden; /* needs purpose explantion */
    z-index:1; /* how does this help? */
    margin-top:10px;
    margin-top:0.938%; /* afford some scaling of space */
}
hero-fader fader-cell {
    color:white;
    font-size:max(14px,min(2vw,20px));
    position: relative;
    transition: opacity 0.25s linear;
    /* flex-basis: 100%; */
    /* flex-shrink:0; */
    /* top:calc(-100% * var(--left-shift,0)); */
}
hero-fader fader-cell button.general-button {
    transition: opacity 0.25s linear; /*  0.6s; */
    display:block;
    margin-left:0px;
    padding-top:8px; /* used to v-center text caption within button */
    flex-shrink:0;
    flex-grow:0;
    /* shift button lower via transfer of margin space from bottom to top */
    margin-bottom:0px;
    margin-top:30px;
}

@media only screen and (max-width:768px) {
    hero-fader fader-cell button.general-button {
        margin-left:10px;
    }
}

.for-testimonials button.general-button:hover,
hero-fader fader-cell button.general-button:hover {
    background-color: var(--green-button-hover);
}
hero-fader fader-cell:not(.show) button,
hero-fader fader-cell:not(.show) {
    display: none;
}
hero-fader fader-cell:not(.fade-in) button,
hero-fader fader-cell:not(.fade-in) {
    opacity:0;
    pointer-events: none;
}

@media only screen and (max-width:768px) {
    hero-fader {
        width:auto;
    }
    hero-fader fader-cell {
        /* display:flex; /* maybe not flex this content, let flow remain vertical */
        align-items: center;
    }
    fader-cell .soft-break {
        display:none;
    }
}

.headline-cell {
    transition:opacity 250ms;
    pointer-events: none;
    user-select: none;
    display:block;
}
.headline-cell:not(.show) {
    display:none;
}
.headline-cell:not(.fade-in) {
    opacity:0;
}

/* --- AUTO TYPING EFFECT within Home Page hero panel --- */
typing-text {
    display:block;
    /* font-size:2vw; */
    line-height: 1.25;
    position: relative;
    left:50%;
    transition: transform 49ms linear; /* timing is factor of js interval delay amount */
}
.not typing-text {
    /* additional rules for special animation sequence */
    padding:10px;
    transition: all 250ms linear;
}

/* do not collapse space, so element width measures accurately */
.typing {
    white-space: pre;
}

typing-text.button {
    background-color:#CCCCCC;
    color:black;
    cursor: pointer;
}
typing-text.glowing {
    animation:shadow-glow 2000ms linear infinite;
}

@keyframes shadow-glow {
    from, to {
        box-shadow: 0px 0px 4px 0px white;
    }
    30%,70% {
        box-shadow: 0px 0px 12px 0px white;
    }
}

.typing,.blinking-cursor {
    display: inline-block;
}
.typing+.typing { /* hide the clone since it's used to contain next character for measurement */
    width:0px;
    overflow:hidden;
    position: absolute; /* shrink container around content */
}
.typing .next-character { /* container of the measurable! */
    position:relative;
    display: inline-block;
}
.typing.glide-effect {
    transition: width 100ms linear;
    overflow:hidden;
    vertical-align: top; /* prevent vertical shift when overflow has setting */
}

.blinking-cursor {
    position: relative;
    top:1px;
    margin-left:5px;
    width:4px;
    height:0.9em;
    background-color: white;
    animation: blink 750ms step-end infinite;
}
.blinking-cursor.hidden {
    margin-left:0px;
    width:0px;
    animation:none;
}

@keyframes blink {
    from, to {
        background-color:transparent;
    }
    50% {
        background-color:white;
    }
}

/* --- MARKETING MESSAGE (HOME PAGE, TOP PANEL) --- */
.marketing-message column-head {
    text-align: center;
}
.years-of-experience column-body,
.marketing-message column-body {
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: space-between;
}
.years-of-experience column-body {
    text-align: center;
}
.general-button,
.years-of-experience button,
.marketing-message button {
    border:none;
    background-color: var(--green-button-icon);
    color:inherit;
    padding:4px 10px;
    font-size:125%;
    cursor:pointer;
    display:block;
    margin:15px auto;
    text-transform: uppercase;
}
.general-button {
    display:inline-block;
    font-size:var(--body-text-size);
}
.general-button.black-text {
    color:black;
}

.who-we-are { /* the COMPASS background panel */
    /* min-height:min(643px,54vw); */
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.contact-links-panel.parallax,
.who-we-are.parallax { /* the COMPASS background panel */
    position: relative;
    background-color: #5f708f; /* sampled from image to present ahead of image loading */
    background-position: center var(--total-header-height); /* nudge this bg img down by height of the header */
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-image: url('/assets/images/compass_panel_background_360px.jpg');
}
.who-we-are.parallax {
    background-position: center var(--vertical-shift,var(--total-header-height));
}
.contact-links-panel.parallax {
    background-image: url('/assets/images/request_panel_background_360px.jpg');
    background-position: center var(--vertical-shift,var(--total-header-height));
}
@media only screen and (min-width:360.1px) {
    .who-we-are.parallax {
        background-image: url('/assets/images/compass_panel_background_1920px.jpg');
    }
    .contact-links-panel.parallax {
        background-image: url('/assets/images/request_panel_background_1920px.jpg');
    }
}
@media only screen and (min-width:1920.1px) {
    .who-we-are.parallax {
        background-image: url('/assets/images/compass_panel_background.jpg');
    }
    .contact-links-panel.parallax {
        background-image: url('/assets/images/request_panel_background.jpg');
    }
}
/* http://blog.dotlaunch.com/2015/04/fixed-background-image-on-ios-no-problem.html */
@media only screen and (max-width:1020px) { /* WAS: 1080px */
    .contact-links-panel.parallax,
    .who-we-are.parallax {
        background-image:none;
        background-color: transparent;
    }
    .mobile-only.full-sized-fixed-box {
        position: fixed;
        width:100%;
        height:100%;
        z-index:-1;
        background-size:cover;
        background-image:url("/assets/images/compass_panel_background_1920px.jpg");
        background-position: center var(--vertical-shift,var(--total-header-height));
        background-repeat: no-repeat;
    }
    .mobile-only.full-sized-fixed-box.show-request-panel-bg {
        background-image:url("/assets/images/request_panel_background_1920px.jpg");
    }
    .has-parallax {
        background-color:white;
    }
    .interior-page-background.no-img {
        padding:1em 0px 0px;
    }
}
@media only screen and (max-width:360px) {
    .mobile-only.full-sized-fixed-box {
        background-image:url("/assets/images/compass_panel_background_360px.jpg");
    }
    .mobile-only.full-sized-fixed-box.show-request-panel-bg {
        background-image:url("/assets/images/request_panel_background_360px.jpg");
    }
}
.not.who-we-are .general-container {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80%;
	transform: translate(-50%,-50%);
}
.panel-bg-image {
    display:block;
    position: absolute;
    inset:0px;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6) 45%);
}
/* PARALLAX <img> NOT USED, THE IMAGE IS ON THE CSS RULE FOR THE PANEL CONTAINER */
.panel-bg-image img {
    width:100%;
    height:auto;
    display:none;
}
.not .panel-bg-image::after {
    content:'';
    position: absolute;
    inset:0px;
    background-image: linear-gradient(90deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6) 45%);
}
.green-reverse-text {
    background-color:var(--green-button-icon);
    color:black;
    margin-right: auto;
    padding-right:15px;
    padding-left:0.5ch;
    padding-top:0.25em;
    padding-bottom:0.25em;
    line-height: 1;
}
@media only screen and (min-width:1020.1px) {
    .who-we-are .row-of-3 {
        justify-content: space-between;
    }
    .who-we-are .third-column {
        padding:0%; /* 0% 5.625% 0%; */
        flex-grow:0;
        flex-shrink: 1;
        flex-basis: 33%;
    }
    /* .who-we-are .third-column:first-of-type {
        padding-left:0px;
    }
    .who-we-are .third-column:last-of-type {
        padding-right:0px;
    } */
     .who-we-are .third-column:last-of-type {
        justify-content: center;
        align-items: end;
        flex-basis:auto;
     }
     .who-we-are .general-container > h2 {
        margin-bottom:1em;
     }
}
.who-we-are column-body {
    color:white;
    text-align: start;
    font-weight: 500;
}
.who-we-are .third-column {
    font-size:inherit;
    gap:0px;
}
.who-we-are column-head {
    white-space: nowrap; /* prevent text wrap for the headline */
    font-size: calc( max(32px, min(4vw,45px) ) );
    line-height: 1.2;
    /* font-family: 'Acumin Pro Bold',Arial, Helvetica, sans-serif; */
    font-weight: bold;
    padding-top: 0.125em;
    margin-left:-0.125ch;
}

.get-to-know-us {
    display: flex;
    align-items: center;
    /* margin-left:auto; */
    width:165px;
    color:white;
    gap:15px;
    cursor: pointer;
}

.text-column { 
    flex-basis: 75%;
    text-align:end;
    line-height: 1.1;
}
.hover-green:hover {
    color:var(--green-button-icon);
}
.hover-maroon:hover {
    color:var(--maroon-from-logo);
}
.orange-ball {
    flex-basis: 50%;
    background-color: var(--orange-ball-background);
    color:white;
    border-radius: 50%;
}
.hover-green:hover .orange-ball {
    background-color: var(--green-button-icon);
}
@media only screen and (max-width:1020px) {
    .get-to-know-us {
        margin-left:auto;
    }
}

/* --- 3-column section following the homepage slider --- */
.general-container.hover-orange .third-column {
    transition: background-color 125ms;
}
.general-container.hover-orange .third-column:hover {
    background-color: var(--orange-header-bg);
}

/* --- who we are --- */
/* .years-of-experience, */
.leadership-team {
    text-align: center;
}
/* signal link via hover color change */
.half-column.leadership-team:hover h5 {
    color: var(--orange-header-bg);
}

.who-we-are p {
    text-align: start;
}

.leadership-team img {
    display: block;
    /* border-radius: 50%; */
    width:100%;
    /* max-width:180px; */
    margin:0px auto; /*  15px; */
}
@media only screen and (max-width:1020px) {
    .leadership-team img {
        max-width:360px; /* maybe use *vw factor? */
    }
}
@media only screen and (max-width:768px) {
    .leadership-team img {
        max-width:180px;
    }
}

.leadership-panel .third-column {
    gap:0px;
}
.leadership-panel .row-of-3 {
    justify-content: space-between;
}
.leadership-panel .orange-ball {
    display:none;
}
/* proportions from design-mock: 
    squares: 683px (+/- 29.3%, 2x = 58..6%)
    ball: 135px
    space above ball: 115px
    115+67.5 = 182.5 / 683 = 26.7%
    space below ball: 433px
    space between pics: 965px (+/- 41.4%)
*/

.leadership-name-block .title {
    margin-top:2%;
    color:var(--orange-ball-background);
    font-size: calc(0.8 * var(--h2-headline-text-size));
    line-height: 0.8;
}

@media only screen and (min-width:1020.1px) {
    .leadership-panel .third-column {
        padding:0%;
        flex-grow: 0;
        flex-shrink: 1;
        flex-basis: 29.3%;
        position: relative;
        font-size:1rem;
    }
    .leadership-panel .name-and-bubble {
        --shift-from-orange-ball:13%;
        position: absolute;
        top:25%;
        right:0px;
        transform:translate(100%);
        padding-left:var(--shift-from-orange-ball);
        white-space: nowrap;
    }
    .leadership-panel .third-column:first-of-type .name-and-bubble {
        /* shift this side's n-a-b upwards as browser narrows... */
        top: calc(25% - ((1617px - 100vw)*0.019798)); /* 11.75h / 595w -> 0.019798 */
    }
    .leadership-panel .third-column:last-of-type .name-and-bubble {
        top:auto;
        right:auto;
        left:0px;
        bottom:5%;
        transform:translate(-100%);
        padding-right:var(--shift-from-orange-ball);
        padding-left:0px;
    }
    .leadership-panel .orange-ball {
        --orange-ball-diameter:min(82px,5.15vw);
        --orange-ball-shift-down:1em;
        position:absolute;
        display: block;
        top:-50%;
        left:0px;
        transform:translate(-50%,var(--orange-ball-shift-down));
        width: var(--orange-ball-diameter);
        height: var(--orange-ball-diameter);
    }
    .leadership-panel .third-column:last-of-type .orange-ball {
        left:auto;
        right:0px;
        transform:translate(50%,var(--orange-ball-shift-down));
    }
    .leadership-name-block {
        text-align:start;
    }
    .leadership-name-block .title {
        margin-top:0px;
        margin-bottom:2.5%;
        position:relative;
        left: -0.1em;
    }
}

/* --- Stat Counters --- */
@media only screen and (min-width:1020.1px) {
    .row-of-4.with-divider .fourth-column:not(:first-of-type) {
        border-left:2px solid #e8e8e8; /* d3d3d3 -> HSL(0, 0%, 91%) */
    }
}
stat-icon {
    display:block;
    text-align: center;
    position: relative;
}
stat-icon i.bi {
    font-size:min(120px,max(8.6vw,84px));
    position: relative;
    top:0.125em;
    line-height: 1;
    color:var(--maroon-from-logo);
}
stat-icon img {
    width:100%;
    height: auto;
}
stat-icon > svg {
	position: absolute;
    top:8px; /* need to scale this between 10.5px and 11px */
	left: 50%;
	translate: -50%;
	width: auto;
	height: 100%;
	fill: none;
	stroke: var(--maroon-from-logo);
    display:none;
}
@media only screen and (max-width:1020px) {
    stat-icon i.bi:not(.still-building) {
        /* these elements remain to hold the structure of container,
        * hidden to show SVG based version rendered with thinner lines */
        visibility: hidden;
    }
    stat-icon > svg {
        display:block;
    }
}
.count-this.large-text {
    font-size:calc( max(48px, min(3.555vw,40px) ) );
    padding-top:0.3em; /* was 0.15em */
}
.count-this.large-text,
.post-counter-text {
    line-height: 1.25;
}

/* --- Client Brands --- */
.flex-brands-wrapper {
    /* display:flex; */
    /* flex-wrap: wrap; */
    gap:15px;
    justify-content: space-between;
    /* grid based resolve: https://stackoverflow.com/a/46099319 */
    display:grid;
    grid-template-columns:repeat(auto-fit,150px);
}
.flex-brands-wrapper img {
    max-width: 150px;
}
@media only screen and (max-width:768px) {
    .flex-brands-wrapper {
        justify-content: center;
    }
}

/* --- Leadership / Our Team -- */
.about-bes-page .large-text {
    font-size: calc(var(--larger-body-text-size) * 0.8);
}

/* --- Analytical Metrics --- */
.large-text {
    font-size: var(--larger-body-text-size);
}
.heading-text {
    font-size: var(--heading-text-size);
}
.headline-text {
    font-size: var(--h2-headline-text-size);
}
large-headline.headline-text {
    text-transform: none;
}

.black-bg {
    background-color:black;
}
.gray-bg {
    background-color: var(--gray-background);
}
.light-gray-bg {
    background-color:#F3F3F3;
}
.orange-bg {
    background-color: var(--orange-header-bg);
}
.lighter-gray-panel {
    /* background-color: #f2f2f2; */
    background-color: #e2e2e2;
    /* padding-bottom:2%; */
}
.maroon-panel {
    background-color:var(--maroon-background);
}

/* --- testimonials wrapper div --- */
.background-arrow {
    clip-path: polygon(0% 0%,0% 85%,50% 100%,100% 85%,100% 0%);
}
.testimonials-block {
    margin-left:auto;
    margin-right:auto;
    /* padding-top:4%; what did this do??? */
    /* padding-bottom:4%; <- this now happens in the following "button container" so button is snugger to the fader/slider */
}
.testimonials-block + .view-all-testimonials {
    padding-bottom:4%;
}
.view-all-testimonials .general-button {
    color:white;
}
@media only screen and (min-width:1020.1px) {
    .view-all-testimonials .general-button {
        font-size: calc(0.8 * var(--body-text-size));
    }
}

huge-open-quotes,
huge-close-quotes {
    display:block;
    position: absolute;
    z-index: 2;
    pointer-events: none;
    color:var(--orange-header-bg);
    padding-top:3%; /* attempt to match general-container props */
    top:0px;
    left:0px;
    line-height: 1;
    font-size:min(5vw,64px);
    margin-left:-6%;
}
huge-close-quotes {
    margin-left:auto;
    margin-right:-5%;
    top:50%;
    left:auto;
    right:0px;
}
huge-close-quotes i {
    display:inline-block; /* necessary for transform to work */
/*     rotate:180deg; */
    transform:rotate(180deg);
}
@media only screen and (max-width:768px) {
    huge-open-quotes,
    huge-close-quotes {
        padding-top:8%;
    }
}

/* this pop-up container was out-moded, rules remain for reference */
#testimonial_popup.show {
    display:block;
}
#testimonial_popup.fade-in {
    opacity: 1;
    pointer-events: all;
}
#testimonial_popup {
	display: none;
	position: fixed;
    z-index: 2000;
    inset: 10%;
	/* top: 30%; /* stay out of collision with page-top nav*/
	padding: 8px;
	border: 2px solid green;
    background: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s linear;
}
body.freeze-scroll-y {
    overflow-y: hidden;
}
.close-btn {
    z-index: 10;
    user-select: none;
    position: absolute;
    top:5px;
    right:20px;
    width:30px;
    height:30px;
    cursor: pointer;
    border:2px solid black;
    border-radius: 50%;
    padding:5px;
    font:18px/18px Arial;
    text-align: center;
}
.content-div {
    overflow: auto;
    padding:40px 25px; /* don't conceal close-button */
    height:100%;
}

/* fade slider classes moved to mss_sliders.css */

/* --- Request Custom Quote Form Page --- */
.instant-shops-order-form,
.full-quote-request-form,
/* .newsletter-signup-form, */
.general-form {
    /* hiding of these form elements in this way allows for
    the :not(.success) case below to override and show form,
    but otherwise hide it */
    display: none;
}
.general-form + .post-submit-message,
/* .newsletter-signup-form + .post-submit-message, */
.instant-shops-order-form + .post-submit-message,
.full-quote-request-form + .post-submit-message {
    display:none; /* initial hidden state */
}
.general-form.success + .post-submit-message,
.general-form:not(.success),
/* .newsletter-signup-form.success + .post-submit-message,
.newsletter-signup-form:not(.success), */
.instant-shops-order-form.success + .post-submit-message,
.instant-shops-order-form:not(.success),
.full-quote-request-form.success + .post-submit-message,
.full-quote-request-form:not(.success) {
    display:block;
}
/* the code groups above need refactored so specific classes aren't needed to accomplish the singular behavior between them */

.outboard-form-frame {
    width:100%;
    min-height:600px;
    z-index: 999;
    top:var(--total-header-height);
    height:calc(100% - var(--total-header-height));
    width: 100%;
    left:0px;
    right:0px;
}
.outboard-form-frame:not(.not-fixed) {
    position:fixed;
}
.outboard-form-frame:not(.show) {
    display:none;
}

.form-input-block input::placeholder,
.form-input-block textarea::placeholder {
    color:#CACACA
}
.form-input-block input:not([type="radio"]),
.form-input-block textarea {
    padding:0.85em 1em;
    border:2px solid #DDDDDD;
    border-radius: 3px;
    margin-bottom:1rem;
    background-color:#FEFEFE;
    line-height: 1.5;
}
.form-input-block label,
.form-input-block input:not([type="radio"]),
.form-input-block textarea {
    display:block;
    width: 100%;
}
.form-input-block label {
    font-size:85%;
}
form.hide-labels .form-input-block > label {
    display:none;
}
.buttons-row {
    text-align:center;
    padding:25px 0px;
    /* margin:0px auto; */
    width:100%;
}
.buttons-row button {
    display:block;
    width:100%;
    padding:10px;
    border:none;
    border-radius:5px;
    background-color:var(--green-button-icon);
    color:white; /* black; */
    font-weight: bold;
}
.buttons-row button:hover {
    background-color:var(--green-button-hover);
}
.form-input-block {
    padding-bottom:20px;
    position:relative;
}
@media only screen and (min-width:768.1px) {
    .form-input-row {
        padding-bottom:20px;
    }
    .form-input-block:first-of-type {
        padding-right:15px;
    }
    .form-input-block:last-of-type {
        padding-left:15px;
    }
    .form-input-row.one-col .form-input-block:first-of-type,
    .form-input-row.one-col .form-input-block:last-of-type {
        padding-left:0px;
        padding-right:0px;
    }
}

.form-input-row {
    display: flex;
}
.form-input-row .form-input-block {
    flex:1;
}
@media only screen and (max-width:768px) {
    .form-input-row {
        flex-direction: column;
    }
}

/* --- contact us panel --- */
.contact-links-panel {
    position:relative;
}
.general-container.interior-contact-panel {
    padding-bottom:0%;
}
/* compliment of the earlier background-arrow
 * but with the jut inward from the top edge
 * instead of bottom corners
*/
.interior-contact-panel .background-arrow,
.contact-links-panel .background-arrow {
    clip-path: polygon(0% 0%,0% 100%,100% 100%,100% 0%, 50% 20%);
    padding-top:5%; /* push content down away from arrow-point */
}
@media only screen and (max-width:1020px) {
    .interior-contact-panel .background-arrow,
    .contact-links-panel .background-arrow {
        clip-path: polygon(0% 0%,0% 100%,100% 100%,100% 0%, 50% 15%);
        padding-top:10%; /* push content down away from arrow-point */
    }
}
@media only screen and (max-width:768px) {
    .interior-contact-panel .background-arrow,
    .contact-links-panel .background-arrow {
        clip-path: polygon(0% 0%,0% 100%,100% 100%,100% 0%, 50% 10%);
        padding-top:20%; /* push content down away from arrow-point */
    }
}
.contact-links-panel .shapes-background {
    position:absolute;
    inset:0px;
    overflow: hidden;
    /* background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    background-image:url('/assets/images/shapes-overlay.png'); */
    /* background-blend-mode: soft-light; /* try this to achieve transparency */
}
.shapes-background img {
    /* the whole purpose of placing the image in the container is so opacity could be set!! */
    display: block;
    position: absolute;
    left:0px;
    width: 100%;
    top:50%;
    transform: translateY(-50%);
    opacity:0.2;
}
@media only screen and (max-width:768px) {
    .shapes-background img {
        left:auto;
        right:0px;
        width:auto;
        height:100%;
    }
}
span.color-arrow,
span.white-arrow {
    display: inline-block;
    width:0px;
    height:0.5em;
    border:0.3em solid transparent;
    border-left-color:inherit; /* border color is inherited so it will honor TEXT COLOR of parent */
    margin-left:0.25em;
}
.contact-links-panel .general-container {
    /* justify-content: space-between; */
    align-items: center;
    gap:20px;
    flex-direction: column;
}
.contact-links-panel .general-container,
.contact-links-panel left-column,
.contact-links-panel right-column {
    display:flex;
}
.contact-links-panel left-column,
.contact-links-panel right-column {
    flex:0 1 40%;
    flex-direction: column;
}
@media only screen and (max-width:1020px) {
    .not .contact-links-panel left-column,
    .not .contact-links-panel right-column {
        flex-grow: 1; /* allow convergence */
    }
}
@media only screen and (max-width:768px) {
    /* .contact-links-panel .general-container { */
    .contact-links-panel .contact-links-list {
        flex-direction: column;
        width: 100%;
    }
}
/* provisionally v-center this content consistent with right-column in another panel on the page */
.contact-links-panel right-column {
    justify-content: center;
}

/* prior layout where the links were anchors, not buttons */
.contact-links-list a {
    display:block;
    font-size: calc( max(18px, min(1.7vw,24px) ) );
    padding:8px;
    margin-bottom:12px;
}
.contact-links-list a img {
    display:inline-block;
    height:1.5em;
    width:auto;
    margin-right:0.25em;
    /* vertical-align: text-bottom; /* this just looks better! */
    position: relative;
    /* top:-0.125em; */
}
.contact-links-list .link-text {
    position:relative;
    top:2px;
}
ul.contact-links-list a:link,
ul.contact-links-list a:visited,
ul.contact-links-list a:hover,
ul.contact-links-list a:active {
    color:white;
    text-decoration: none;
}
ul.contact-links-list a:hover {
    background-color:var(--orange-header-bg);
}

/* special case for when looking at the page the link is targeting */
.contact-links-list a.active {
    pointer-events: none;
    opacity:0.5; /* could dim colors of child elements but this gets it done simplest */
}

/* new layout where links are buttons, side-by-side */
.contact-links-list {
    display:flex;
    justify-content: space-between;
    width:max(85%,650px);
    gap:15px;
}
.contact-links-list .general-button {
    padding:5px 10px;
    margin:0px;
    display:block;
}
.contact-links-list .gen-btn-wrapper {
    text-align: center;
}
.contact-links-list.smaller-button-text .gen-btn-wrapper .general-button {
    font-size:calc(0.95 * var(--body-text-size)); /* reduce slightly to prevent wrapping */
}
.contact-links-list .gen-btn-wrapper .general-button {
    width:100%;
    white-space:nowrap;
}
.contact-links-list .gen-btn-wrapper,
.contact-links-list .general-button {
    flex:1 0 0%; /* grow only, no shrink, 0% basis */
}
@media only screen and (max-width:768px) {
    .contact-links-list .gen-btn-wrapper,
    .contact-links-list .general-button {
        margin:0px auto;
        width:85%;
    }
}
.contact-links-panel .general-button:hover {
    background-color:var(--green-button-hover);
}
/* moved from mss_sliders.css */
p.body-text {
    font-size:var(--body-text-size);
    line-height: 1.1;
}
p.custom-width {
    /* width:75%; /* no need to center container since parent has flex-alignment in effect */
    font-size:calc( 1.2 * var(--body-text-size) );
}
@media only screen and (max-width:1020px) {
    p.custom-width {
        font-size:calc( 1.35 * var(--body-text-size) );
    }
}
@media only screen and (max-width:768px) {
    p.custom-width {
        width:100%;
    }
}



/* --- CONTACT  FORM --- */
.normal-text {
    font-size:var(--body-text-size);
}
.contact-form-panel.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    color:white;
}
.contact-us-panel,
.contact-panel {
    background-color: var(--maroon-background);
}
form[name="contact_form"] {
    position: relative;
}
.not form[name="contact_form"] > div:not(.text-area-zone,.reqd-input) {
    border-bottom: 1px solid white;
    margin-bottom:25px;
}
.not form[name="contact_form"] input {
    border:none;
    outline:0px;
    width: 100%;
    display:block;
    background-color: transparent;
    color:white;
}
form .no-outline {
    outline:0px;
}
form/* [name="contact_form"] */ .bad_value,
form/* [name="contact_form"] */ .error {
    outline:1px solid red;
}
.phone-inputs {
    display:grid;
    grid-template-columns: 60% 40%;
}
@media only screen and (max-width:768px) {
    .phone-inputs .form-input-block:last-of-type {
        padding-left:15px;
    }
}
.fold-up {
    background-color: white;
    position: relative;
}
.fold-up::before {
    content:'';
    left:calc(50% - 6px);
    border:6px solid transparent;
    border-bottom-color:white;
    position: absolute;
    top:-12px;
}
.fold-up button {
    border:0px;
    display: block;
    width: 100%;
    background-color: transparent;
    text-align: left;
}
.text-area-zone {
    overflow: hidden;
    padding:0px 2px;
    background-color:var(--maroon-background);
    display:flex;
    flex-direction: column;
    height:0px;
    /* position: absolute; */
    left:0px;
    right:0px;
    bottom:0px;
    transition: all 500ms ease-in-out;
}
.text-area-zone.show {
    height:100%;
    padding:2px;
}
.contact-text {
    flex-grow:1;
}
.old .contact-form .submit-btn {
    margin:10px;
    display:block;
    font-size:20px;
    background-color:lightgray;
    border:1px solid lightgray;
    padding:0px 25px;
    align-self: center;
}
.submit_result {
    color:black;
}
.submit_result:not(.show) {
    display:none;
}
.g-recaptcha > div {
    display:none; /* hide bottom corner 'bug' icon */
}

.pre-send-message,
.post-send-message {
    color:var(--blue-text); /* old value */
    color:var(--orange-header-bg);
    /* font-size: 60px; */
    font-size: min(6vw,60px);
    line-height: 1;
}
left-column.post-sent .pre-send-message,
left-column:not(.post-sent) .post-send-message {
    display:none;
}
.arrow-line-svg {
    width:360px;
    max-width: 100%;
}
.arrow-line {
    stroke:var(--blue-text); /* old value */
    stroke:var(--orange-header-bg);
}
.post-form-submit-content:not(.show) {
    display:none;
}
.quick-link-buttons button {
    background-color:transparent;
    color:white;
    margin:0px 10px 10px 0px;
    display:inline-block;
    border:1px solid lightgray;
}
.quick-link-buttons button:hover {
    background-color:white;
    color:var(--dark-blue-text); /* old value */
    color:var(--dark-orange-text);
}
.large-blue-text {
    font-size:30px;
}

@media only screen and (max-width:768px) {
    .contact-form-panel.two-col {
        grid-template-columns: none;
        gap:25px;
    }
    .arrow-line-svg {
        display:none;
    }
    .pre-send-message,
    .post-send-message {
        font-size:12vw;
    }
}

/* ===== JUDGEMENT CALL: DO INTERIOR PAGES DESERVE A DEDICATED CSS FILE, EG INTERIOR.CSS?? ===== */
/* h2.headline-text, h3.body-headline, h4.body-headline (moved to mss_interior.css) */

/* --- NEWSLETTER PAGE --- */
/* (moved to mss_interior.css) */

/* --- CROWDSOURCED PAGE --- */
/* (moved to mss_interior.css) */

/* --- SOCIAL MEDIA TRACKING PAGE --- */
/* (moved to mss_interior.css) */

/* --- LEADERSHIP TEAM PAGE --- */
/* (moved to mss_interior.css) */
