/* TABLE OF CONTENTS
This is an idea of what we need for the project...
––––––––––––––––––––––––––––––––––––––––––––––––––
- Grid
- Base Styles
- Typography
- Links
- Buttons
- Forms
- Lists
- Code
- Tables
- Spacing
- Utilities
- Clearing
- Media Queries
*/

/* Base Styles
================================================*/
html {
    width: 100%;
    font-size: 62.5%;
}

body {
    font-size: 16px;
    /* line-height: 1.6; */
    font-weight: normal;
    font-family: var(--primary-font-family);
    color: var(--primary-dark);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--secondary-font-family);
    font-weight: bold;
    color: var(--primary-light);
    text-align: center;
    letter-spacing: 0.25vw;
    line-height: 1;

}

h1 {
    font-size: 3.43em;
    margin: .3em;
}

h2 {
    font-size: 2.37em;
    margin: 1.1em;
}

h3 {
    font-size: 2.15em;
}

h3,
h4,
h6 {
    margin: 1em;
}

.margins-0 {
    margin: 0;
}

.content-wrapper_margin-bottom {
    margin-bottom: 0;
}

.width-50 {
    width: 50%;
}

.nav-title {
    font-weight: var(--font-weight-subheading);
    font-size: 18px;
    color: var(--primary-dark);
}

.page-title,
.page-title h1 {
    font-size: clamp(35px, 7vw, 55px);
    /*margin: 2% 0 0 0;*/
    text-transform: capitalize;

}

.page-subtitle {
    font-size: clamp(25px, 3.5vw, 38px);
    /*letter-spacing: 0.3vw;*/
    margin: 0 0 3% 0;
    text-transform: capitalize;
}

.padadj {
    padding: 0 20%;
}

.icon-container {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4em;
    padding: 0 1%;
    width: 100%;
}

.icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    min-width: 200.8px;
    flex-basis: 16%;
}

.icon-wrapper p {
    transition: border-bottom 0.2s;
    font-weight: bold;
    padding-top: 6%;
    text-align: center;
    word-wrap: normal;
    line-height: 1.3em;
    border-bottom: 3px solid transparent;
}

.icon-wrapper:hover p {
    border-bottom: 3px solid var(--primary-light);
}

p {
    font-weight: var(--text-font-weight);
    font-style: normal;
    font-size: var(--font-content);
    line-height: 30px;
    margin: 0 0 1em 0;
    font-family: var(--primary-font-family);
}

p.lead {
    color: var(--primary-dark);
    font-weight: var(--text-font-weight);
    font-style: normal;
    font-size: var(--font-content);
    line-height: 1.75em;
    /*margin: 0;*/
}

p.heading,
label {
    font-weight: var(--text-font-weight);
    font-size: var(--font-subheading);
    margin: 0;
}

textarea {
    width: 100%;
    height: auto;
    padding: 1%;
}

textarea,
select,
input[type="text"],
input[type='search'] {
    border-color: var(--primary-dark);
    border-style: solid;
    border-width: 1px;
    border-radius: var(--border-radius);
    color: var(--primary-dark);
    font-size: var(--font-content);
}

textarea::placeholder,
input::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

.input-wrapper {
    max-width: 477px;
}

.dropdown,
.input-search {
    /*width: min(80vw, 477px);*/
    height: min(5.1vw, 49px);
}

.input-primary,
.btn-primary {
    padding: .5rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border-color: var(--btn-primary);
    border: solid 1px;
    -ms-box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    cursor: pointer;
    color: var(--btn-primary);
}

.input-primary {
    text-align: left;
}

.btn-primary {
    text-align: center;
}

.btn-wrapper {
    margin-top: 4%;
}

/* Dropdown Component */
div.dropdown-wrapper label {
    padding-left: 4px;
}

div.container-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.search-field-wrapper,
.dropdown-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    position: relative;
}

.dropdown-wrapper::before {
    content: "";
    display: block;
    background-image: url("/app/images/chevron-up-solid.svg");
    background-size: var(--svg-small) var(--svg-small);
    background-repeat: no-repeat;
    width: var(--svg-small);
    height: var(--svg-small);
    position: absolute;
    right: 1em;
    top: 45%;
    scale: -1;
    pointer-events: none;
}

.dropdown-wrapper::after {
    content: "";
    display: block;
    background-image: url("/app/images/chevron-down-solid.svg");
    background-size: var(--svg-small) var(--svg-small);
    background-repeat: no-repeat;
    width: var(--svg-small);
    height: var(--svg-small);
    position: absolute;
    right: 1em;
    bottom: 45%;
    scale: -1;
    pointer-events: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    text-decoration: none;
}

.btn-med-width {
    width: min(70vw, 295px);
}

.flex-container-ctr {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.flex-container-between {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.flex-container-around {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin: 0 4%;
    gap: 25px;
}

.flex-content-left {
    display: flex;
    justify-content: flex-start;
}

@media only screen and (min-width: 750px) {
    .flex-container-around {
        flex-direction: row;
        gap: 25px;
    }

    .flex-container-between {
        flex-direction: row;
    }

}

.container-row-between {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.container-column {
    display: flex;
    flex-direction: column;
}

.container-clear {
    background: transparent;
    margin: var(--content-box-margin);
}

.responive-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

@media screen and (min-width: 750px) {
    .responive-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
}

.input-container-clear {
    background: transparent;
    max-width: var(--txt-box-max-width);
    height: auto;
    text-align: left;
    box-sizing: border-box;
    margin: 0;
}

@media only screen and (min-width: 750px) {
    .input-container-clear {
        margin: var(--content-box-margin);
    }
}

.content-box-clear {
    margin: var(--content-box-margin);
    padding: var(--content-box-padding);
}


/* Templates
================================================== */

/* Resources and guides */
.list-container.bg-clear:has(ul) {
    margin-top: 20px;
    padding: 0 2rem;
}

.list-container.bg-clear:has(ul)>div>div {
    font-weight: bold;
    text-transform: uppercase;
}


#what-is-title-insurance img {
    box-shadow: 5px 5px 11px -5px black;
}

.two-col-list {
    -webkit-columns: 2 187.5px;
    -moz-columns: 2 187.5px;
    columns: 2 187.5px;
    -webkit-column-gap: 2em;
    -moz-column-gap: 2em;
    column-gap: 2em;
    width: 900px;
}

.two-col-list li {
    list-style: inside;
    padding-bottom: 1em;
}

.one-col-list {
    list-style: inside;
    padding-bottom: 1em;
}


.two-col-list a {
    text-decoration: var(--menu-font-color) solid underline;
}

.list-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    column-gap: unset;
}

.list-container li {
    margin-bottom: 2em;
}

.list-container li a {
    padding-bottom: 2px;
    border-bottom: 1px gray solid;
}

.list-container li a:hover {
    border-bottom-width: 1px;
}


@media only screen and (min-width:750px) {
    .list-container {
        /*display: flex;*/
        flex-direction: row;
        /*justify-content: center;*/
        /*margin-bottom: 5%;*/
        column-gap: 6%;
    }
}

/* End Resources and Guides */

#page-wrapper {
    max-width: var(--max-page-width);
    margin: auto;
    overflow: hidden;
    padding: 0;
    background-color: var(--shape-color, unset);
}

@media only screen and (min-width: 550px) {
    #content {
        padding: 0 min(10vw, 50px);
    }
}

.content-wrapper {
    padding: 0;
}

@media only screen and (min-width: 1200px) {
    .content-wrapper {
        padding: 0 14%;
    }
}

#content {
    max-width: var(--max-page-width);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    justify-items: center;
    z-index: 1;
}

#page-wrapper:has(#background.secondary) #content {
    padding-top: 5vh;
    min-height: var(--content-min-height);
}
#page-wrapper:has(#background_2ndhero.secondary) #content {
    padding-top: 5vh;
    min-height: var(--content-min-height);
}


@media only screen and (max-width: 1200px) {
    #page-wrapper:has(#background.secondary) #content {
        min-height: var(--content-min-height);
    }
    #page-wrapper:has(#background_2ndhero.secondary) #content {
        min-height: var(--content-min-height);
    }    
}

@media screen and (max-width: 1200px) {

    #background:not(.secondary),
    #background:not(.secondary) #heroV2,
    #background:not(.secondary) #heroV2image {
        min-height: 40vh;
    }
    #background_2ndhero:not(.secondary),
    #background_2ndhero:not(.secondary) #heroV2_2ndhero,
    #background_2ndhero:not(.secondary) #heroV2image_2ndhero {
        min-height: 40vh;
    }    

    #background #heroV2image {
        background: var(--background, black);
        background-size: cover;
        background-position: center;
        height: var(--hero-window-height);
    }
    #background_2ndhero #heroV2image_2ndhero {
        background: var(--background, black);
        background-size: cover;
        background-position: center;
        height: var(--hero-window-height);
    }

    #background {
        margin-top: var(--header-height);
    }
    #background_2ndhero {
        margin-top: var(--header-height);
    }

}

@media screen and (min-width: 1200px) {

    #background.secondary #heroV2image {
        background: var(--background, black);
        background: var(--background);
        height: 100%;
        width: 100%;
    }
    #background_2ndhero.secondary #heroV2image_2ndhero {
        background: var(--background, black);
        background: var(--background);
        height: 100%;
        width: 100%;
    }

    #background:not(.secondary) #heroV2image {
        background: var(--background, black);
        background-size: 100vw 66vw;
        height: 66vw;
        width: 100vw;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    #background_2ndhero:not(.secondary) #heroV2image_2ndhero {
        background: var(--background, black);
        background-size: 100vw 66vw;
        height: 66vw;
        width: 100vw;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    #background {
        margin-top: max(45px, var(--header-height));
    }
    #background_2ndhero {
        margin-top: max(45px, var(--header-height));
    }    
}

#background.no_margin {
    margin-top: 0px!important;
}
#background_2ndhero.no_margin {
    margin-top: 0px!important;
}


#background:not(.secondary),
#background:not(.secondary) #heroV2 {
    height: min(66vh, var(--hero-window-height));
}
#background_2ndhero:not(.secondary),
#background_2ndhero:not(.secondary) #heroV2_2ndhero {
    height: min(66vh, var(--hero-window-height));
}

#background.secondary,
#background.secondary #heroV2 {
    height: var(--hero-window-height);
}
#background_2ndhero.secondary,
#background_2ndhero.secondary #heroV2_2ndhero {
    height: var(--hero-window-height);
}

#background {
    z-index: -1;
}
#background_2ndhero {
    z-index: -1;
}

#background.secondary {
    --hero-window-height: 75vh;
    height: 0px;
}
#background_2ndhero.secondary {
    --hero-window-height: 75vh;
    height: 0px;
}

#background #heroV2cover {
    width: 100vmax;
    transform-origin: center;
    height: 100vmin;
    transform: translate(0%, 20%) rotateZ(4deg) rotateY(30deg) rotateX(-63deg) scale(1);
    position: absolute;
    bottom: 0;
    padding: 1px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-background-clip: content-box;
    background-clip: content-box;
}
#background_2ndhero #heroV2cover_2ndhero {
    width: 100vmax;
    transform-origin: center;
    height: 100vmin;
    transform: translate(0%, 20%) rotateZ(4deg) rotateY(30deg) rotateX(-63deg) scale(1);
    position: absolute;
    bottom: 0;
    padding: 1px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-background-clip: content-box;
    background-clip: content-box;
}

#background #heroV2cover>* {
    width: 100%;
    height: 100%;
    background-color: var(--shape-color, white);
}
#background_2ndhero #heroV2cover_2ndhero>* {
    width: 100%;
    height: 100%;
    background-color:  var(--secondary-light);
}

#background #heroV2shape {
    width: 100%;
    height: 100vh;
    position: static;
    transform-origin: left top;
    background-color: var(--shape-slice-color, transparent);
    transform: translateY(var(--hero-shape-window-height, 50px)) rotate(45deg) scale(5);
    padding: 1px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-background-clip: content-box;
    background-clip: content-box;
}
#background_2ndhero #heroV2shape_2ndhero {
    width: 100%;
    height: 100vh;
    position: static;
    transform-origin: left top;
    background-color: var(--shape-slice-color, transparent);
    transform: translateY(var(--hero-shape-window-height, 50px)) rotate(45deg) scale(5);
    padding: 1px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-background-clip: content-box;
    background-clip: content-box;
}

#background #heroV2cover .bottom {
    transform: translate(100%, -50%) scaleY(3);
    padding: 1px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-background-clip: content-box;
    background-clip: content-box;
}
#background_2ndhero #heroV2cover_2ndhero .bottom_2ndhero {
    transform: translate(100%, -50%) scaleY(3);
    padding: 1px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-background-clip: content-box;
    background-clip: content-box;
}

#background #heroV2cover .right {
    transform: translate(1%, 100%) scaleX(2);
    padding: 1px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-background-clip: content-box;
    background-clip: content-box;
}
#background_2ndhero #heroV2cover_2ndhero .right_2ndhero {
    transform: translate(1%, 100%) scaleX(2);
    padding: 1px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-background-clip: content-box;
    background-clip: content-box;
}



#background #heroV2 {
    width: 100%;
    position: relative;
    overflow: hidden;
    pointer-events: none;
}
#background_2ndhero #heroV2_2ndhero {
    width: 100%;
    position: relative;
    overflow: hidden;
    pointer-events: none;
}

#background img.hero {
    height: var(--hero-window-height);
    z-index: -10;
    position: fixed;
    top: -45px;
    margin: auto;
}
#background_2ndhero img.hero {
    height: var(--hero-window-height);
    z-index: -10;
    position: fixed;
    top: -45px;
    margin: auto;
}

.hide-background-image {
    display: none;
}

@media screen and(max-width: 1200px) {
    #background.secondary {
        top: 0px;
    }
    #background_2ndhero.secondary {
        top: 0px;
    }
}

@media screen and (min-width: 1600px) {
    #background img.hero {
        height: auto;
        width: var(--max-page-width);
    }
    #background_2ndhero img.hero {
        height: auto;
        width: var(--max-page-width);
    }
}

#background .shape-wrapper {
    width: 100%;
    height: 100%;
    background-color: var(--primary-bgcolor);
    z-index: 10;
    position: absolute;
    top: calc(var(--hero-window-height) - var(--header-height));

}
#background_2ndhero .shape-wrapper {
    width: 100%;
    height: 100%;
    background-color: var(--primary-bgcolor);
    z-index: 10;
    position: absolute;
    top: calc(var(--hero-window-height) - var(--header-height));

}

#background .shape-wrapper:before {
    content: "";
    display: block;
    height: 0;
    width: 0;
    border: var(--hero-bg-shape-filler-size) solid transparent;
    border-bottom-color: var(--primary-bgcolor);
    border-left-color: var(--primary-bgcolor);
    position: absolute;
    top: calc(0px - var(--hero-bg-shape-filler-size));
    left: 0;
}
#background_2ndhero .shape-wrapper:before {
    content: "";
    display: block;
    height: 0;
    width: 0;
    border: var(--hero-bg-shape-filler-size) solid transparent;
    border-bottom-color: var(--primary-bgcolor);
    border-left-color: var(--primary-bgcolor);
    position: absolute;
    top: calc(0px - var(--hero-bg-shape-filler-size));
    left: 0;
}

#background img.shape {
    width: var(--hero-bg-shape-width);
    max-width: calc(var(--max-page-width) * 1.5);
    position: absolute;
    top: var(--hero-bg-shape-from-top);
    right: var(--hero-bg-shape-from-right);
}
#background_2ndhero img.shape {
    width: var(--hero-bg-shape-width);
    max-width: calc(var(--max-page-width) * 1.5);
    position: absolute;
    top: var(--hero-bg-shape-from-top);
    right: var(--hero-bg-shape-from-right);
}

#background.secondary img.shape {
    position: absolute;
    width: var(--hero-bg-shape-width);
    max-width: calc(var(--max-page-width) * 1.5);
    top: var(--hero-bg-secondary-shape-from-top);
    right: var(--hero-bg-shape-from-right);
}
#background_2ndhero.secondary img.shape {
    position: absolute;
    width: var(--hero-bg-shape-width);
    max-width: calc(var(--max-page-width) * 1.5);
    top: var(--hero-bg-secondary-shape-from-top);
    right: var(--hero-bg-shape-from-right);
}

#background.secondary img.bio-pg-shape {
    position: absolute;
    width: var(--hero-bg-shape-width);
    max-width: calc(var(--max-page-width) * 1.5);
    right: var(--hero-bg-shape-from-right);
    top: var(--bio-pg-hero-bg-secondary-shape-from-top);
}
#background_2ndhero.secondary img.bio-pg-shape {
    position: absolute;
    width: var(--hero-bg-shape-width);
    max-width: calc(var(--max-page-width) * 1.5);
    right: var(--hero-bg-shape-from-right);
    top: var(--bio-pg-hero-bg-secondary-shape-from-top);
}

#background .bio-pg-shape-wrapper {
    width: 100%;
    height: 100%;
    background-color: var(--primary-bgcolor);
    z-index: 10;
    position: absolute;
    top: calc(var(--bio-pg-hero-window-height) - var(--header-height));
}
#background_2ndhero .bio-pg-shape-wrapper {
    width: 100%;
    height: 100%;
    background-color: var(--primary-bgcolor);
    z-index: 10;
    position: absolute;
    top: calc(var(--bio-pg-hero-window-height) - var(--header-height));
}

#background.secondary img.secondary-pg-shape {
    position: absolute;
    width: var(--hero-bg-shape-width);
    max-width: calc(var(--max-page-width) * 1.5);
    right: var(--hero-bg-shape-from-right);
    top: var(--title-insurance-pg-hero-bg-secondary-shape-from-top);
    /* top: var(--hero-bg-secondary-shape-from-top);  */
}
#background_2ndhero.secondary img.secondary-pg-shape {
    position: absolute;
    width: var(--hero-bg-shape-width);
    max-width: calc(var(--max-page-width) * 1.5);
    right: var(--hero-bg-shape-from-right);
    top: var(--title-insurance-pg-hero-bg-secondary-shape-from-top);
    /* top: var(--hero-bg-secondary-shape-from-top);  */
}

#background .secondary-pg-shape-wrapper {
    width: 100%;
    height: 100%;
    background-color: var(--primary-bgcolor);
    z-index: 10;
    position: absolute;
    top: calc(var(--title-insurance-pg-hero-window-height) - var(--header-height));
}
#background_2ndhero .secondary-pg-shape-wrapper {
    width: 100%;
    height: 100%;
    background-color: var(--primary-bgcolor);
    z-index: 10;
    position: absolute;
    top: calc(var(--title-insurance-pg-hero-window-height) - var(--header-height));
}

#background .secondary-ourteam-shape-wrapper {
    width: 100%;
    height: 100%;
    background-color: var(--primary-bgcolor);
    z-index: 10;
    position: absolute;
    top: calc(var(--secondary-ourteam-hero-window-height) - var(--header-height));
}
#background_2ndhero .secondary-ourteam-shape-wrapper {
    width: 100%;
    height: 100%;
    background-color: var(--primary-bgcolor);
    z-index: 10;
    position: absolute;
    top: calc(var(--secondary-ourteam-hero-window-height) - var(--header-height));
}

#background.secondary img.secondary-ourteam-shape {
    position: absolute;
    width: var(--hero-bg-shape-width);
    max-width: calc(var(--max-page-width) * 1.5);
    right: var(--hero-bg-shape-from-right);
    top: var(--secondary-ourteam-hero-bg-secondary-shape-from-top);
}
#background_2ndhero.secondary img.secondary-ourteam-shape {
    position: absolute;
    width: var(--hero-bg-shape-width);
    max-width: calc(var(--max-page-width) * 1.5);
    right: var(--hero-bg-shape-from-right);
    top: var(--secondary-ourteam-hero-bg-secondary-shape-from-top);
}

#background .secondary-rg-shape-wrapper {
    width: 100%;
    height: 100%;
    background-color: var(--primary-bgcolor);
    z-index: 10;
    position: absolute;
    top: calc(var(--resources-guides-pg-hero-window-height) - var(--header-height));
}
#background_2ndhero .secondary-rg-shape-wrapper {
    width: 100%;
    height: 100%;
    background-color: var(--primary-bgcolor);
    z-index: 10;
    position: absolute;
    top: calc(var(--resources-guides-pg-hero-window-height) - var(--header-height));
}

#background.secondary img.secondary-rg-shape {
    position: absolute;
    width: var(--hero-bg-shape-width);
    max-width: calc(var(--max-page-width) * 1.5);
    right: var(--hero-bg-shape-from-right);
    top: var(--resources-guides-pg-hero-bg-secondary-shape-from-top);
}
#background_2ndhero.secondary img.secondary-rg-shape {
    position: absolute;
    width: var(--hero-bg-shape-width);
    max-width: calc(var(--max-page-width) * 1.5);
    right: var(--hero-bg-shape-from-right);
    top: var(--resources-guides-pg-hero-bg-secondary-shape-from-top);
}




/* Home Page
================================================== */
.content-box {
    text-align: left;
    box-sizing: border-box;
    margin: var(--content-box-margin);
    padding: var(--content-box-padding);
    width: 100%;
    /* addresses issue with inline flex? */
}

.content-box p:not(nth-of-type(li)) {
    text-align: center;
    /* box-sizing: border-box;
    margin: var(--content-box-margin);
    padding: var(--content-box-padding);
    width: 100%; addresses issue with inline flex? */
}

/* This may be a fix for the code above, need to test  */
/*.content-box :not(li) > p {*/
/*    text-align: center;*/
/*    !* box-sizing: border-box;*/
/*    margin: var(--content-box-margin);*/
/*    padding: var(--content-box-padding);*/
/*    width: 100%; addresses issue with inline flex? *!*/
/*}*/

.content-box-narrow {
    text-align: left;
    box-sizing: border-box;
    margin: var(--content-box-margin);
    padding: var(--content-box-padding-narrow);
    width: 100%;
    /* addresses issue with inline flex? */
}

.content-box-lead {
    text-align: left;
    box-sizing: border-box;
    margin: var(--content-box-margin);
    /*Needed for about-us*/
    padding: var(--content-box-lead);
}

.content-box-bio {
    text-align: left;
    box-sizing: border-box;
    margin-top: 6%;
    margin-bottom: 32vh;
    margin-inline: 1vw;
}

.content-box-lead-narrow {
    text-align: left;
    box-sizing: border-box;
    margin: var(--content-box-margin-narrow);
    /*Needed for about-us*/
    padding: var(--content-box-lead);
}

.content-box-ourteam {
    text-align: left;
    box-sizing: border-box;
    margin: var(--content-box-margin);
    padding: var(--content-box-lead);
}

.content-box-margin-narrow {
    text-align: left;
    box-sizing: border-box;
    margin: var(--content-box-margin-narrow);
    padding: var(--content-box-lead);
}

/* drop shadow */
:is(.bg-solid, .flex-container-left, .content-box):not(.bg-solid-primary-acsent, .bg-solid-secondary-acsent, .bg-wide) {
    filter: drop-shadow(7px 7px 5px rgba(0, 0, 0, 0.16));
}

#content:first-of-type(.content-box) {
    padding-top: 0;
}

.bg-solid-primary-acsent {
    background: var(--primary-bgcolor-acsent);
}

@media only screen and (min-width: 750px) {
    .content-box {
        padding: var(--content-box-padding);
        margin: var(--content-box-margin);
    }

    .bg-solid-primary-acsent {
        background: transparent;
    }
}

.bg-solid-secondary-acsent {
    margin-bottom: 0;
}

.bg-solid {
    background: var(--white);
}

.bg-clear {
    background: transparent;
}

/* better location content box */
div.txt-img-container-2 {
    position: relative;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    background: var(--white);
    height: auto;
    text-align: left;
    box-sizing: border-box;
    padding: 4% 10%;
    margin: var(--content-box-margin);
}

@media only screen and (min-width: 750px) {
    div.txt-img-container-2 {
        max-width: 60%;
    }

    div.txt-img-container-2 img {
        position: absolute;
        max-width: 90%;
        top: 50%;
        max-height: 80%;
        left: 75%;
        aspect-ratio: 19/9;
        transform: translateY(-50%);
    }
}
@media only screen and (min-width: 1200px) {
    .txt-img-locationpage {
        margin-left:10%!important;
    }    
}
@media only screen and (max-width: 1200px) {
    .txt-img-image {
       width:100%!important; 
    } 
}
@media only screen and (max-width: 750px) {
    .txt-img-locationpage {
        margin-left:0px !important;
    }   
    .txt-img-image {
       width:100%!important; 
    } 
}

/* Locations Content Box */
div.txt-img-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    height: auto;
    text-align: left;
    box-sizing: border-box;
    padding: 4% 0;
}
.txt-img-info {
    margin-top:20px;
}

div.txt-img-container div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: clamp(80%, 20vw, 600px);
    padding: 4%;
}

div.txt-img-container div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

div.content-box-split div:last-child img {
    width: 100%;
    height: auto;
}
div.txt-img-container div:last-child img {
    width: min(37vw, 650px);
}

p.lead {
    color: var(--primary-dark);
    font-weight: var(--text-font-weight);
    font-style: normal;
    font-size: 135%;
    /* 18px */
    line-height: 1.75em;
    margin: 0;
}

@media only screen and (max-width: 1550px) {
    div.txt-img-container div:last-child img {
        width: min(37vw, 650px);
    } 
}    
@media only screen and (max-width: 1200px) {
    div.txt-img-container div:last-child img {
        width: min(55vw, 650px);
    } 
}    

@media only screen and (min-width: 750px) {
    div.txt-img-container {
        flex-direction: row;
        justify-content: center;
        /*background: white;*/
        background: linear-gradient(to right, white 56%, transparent 50%);
        margin: var(--content-box-margin);
        padding: 4% 0;
    }

    div.txt-img-container div:first-child {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: 23vw;
        padding: 0 6vw 0 7%;
    }

    div.txt-img-container div:last-child {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    div.txt-img-container div:last-child img {
        /*width: min(37vw, 650px);*/
        /*min-width: clamp(375px, 50%, 544px);*/
        height: auto;
        filter: drop-shadow(7px 7px 5px rgba(0, 0, 0, 0.16));
    }

    p.lead {
        color: var(--primary-dark);
        font-weight: var(--font-weight-subheading);
        font-style: normal;
        font-size: 135%;
        /* 18px */
        line-height: 1.75em;
        margin: 0;
    }

}

/* Testimonials */
.testimonial {
    text-align: center;
    margin: 1rem auto;
    box-sizing: border-box;
    padding: var(--content-box-padding);
    margin: var(--content-box-margin);
}

/* restructure the html for testimonies this type of css is going to be annoying to debug eventually, this is a quick solution though - jon */
.content-box.bg-solid.testimonial p+p {
    font-style: normal;
}

.content-box.bg-solid.testimonial p {
    font-style: italic;
}


/* END HOME PAGE ================== */

/* ABOUT PAGE COMPONENTS
====================================================*/
/* Content Box Img Left*/
div.content-box-right {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    height: auto;
    text-align: left;
    box-sizing: border-box;
    /*padding: 0 2% 0 2%;*/
}

div.txt-content {
    text-align: left;
    box-sizing: border-box;
    padding: 3%;
}

div.content-box-right h2 {
    margin: 1% 0;
}

div.txt-content div p:last-child {
    margin: 0;
}

p.heading {
    font-size: min(4.8vw, 22px);
    margin: 0;
}

div.txt-content p {
    line-height: 250%;
}

div.img-container img {
    width: 100%;
    height: auto;
}

@media only screen and (min-width: 750px) {

    div.content-box-img-left {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        /*background: linear-gradient(to left, white 91%, transparent 0%);*/
        /*width: clamp(375px, 91vw, var(--txt-box-max-width));*/
        height: min(40vw, var(--txt-box-min-height));
    }

    div.flex-container-left {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    div.txt-content {
        text-align: left;
        box-sizing: border-box;
        padding: 5% 10%;
    }

    div.content-box-right {
        display: flex;
        justify-content: center;
        background: unset;
    }

    div.img-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;

    }

    div.content-box-right h2 {
        font-size: min(3vw, 38px);
        margin: 1% 0;
    }

    div.img-container img {
        max-width: min(40vw, 411px);
        /*width: 100%;*/
        height: auto;
    }

    p.heading {
        font-size: min(2vw, 22px);
        margin: 0;
    }

    div.txt-content div p:last-child {
        margin: 0;
    }

    /* Content Box Img Right */
    div.content-box-right {
        position: relative;
        display: flex;
        flex-direction: column;
        background: var(--white);
        height: auto;
        text-align: left;
        box-sizing: border-box;
        /*padding: 0 2% 0 2%;*/
    }

    div.txt-content {
        text-align: left;
        box-sizing: border-box;
        padding: 3%;
    }

    div.content-box-right h2 {
        font-size: min(6vw, 38px);
        margin: 1% 0;
    }

    div.txt-content div p:last-child {
        margin: 0;
    }

    p.heading {
        font-size: min(4.8vw, 22px);
        margin: 0;
    }

    div.txt-content p {
        line-height: 250%;
    }

    div.img-container img {
        width: 100%;
        height: auto;
    }
}

@media only screen and (min-width: 750px) {
    /* Content Box Img Right */

    div.content-box-img-right {
        display: flex;
        flex-direction: row;
        justify-content: center;
        background: linear-gradient(to right, white 91%, transparent 0%);
        width: clamp(375px, 91vw, var(--txt-box-max-width));
        height: min(40vw, var(--txt-box-min-height));
    }

    div.flex-container-left {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    div.txt-content {
        text-align: left;
        box-sizing: border-box;
        padding: 5% 10%;
    }

    div.content-box-right {
        display: flex;
        justify-content: center;
        background: unset;
    }

    div.img-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;

    }

    div.content-box-right h2 {
        font-size: min(3vw, 38px);
        margin: 1% 0;
    }

    div.img-container img {
        max-width: min(40vw, 411px);
        /*width: 100%;*/
        height: auto;
    }

    p.heading {
        font-size: min(2vw, 22px);
        margin: 0;
    }

    div.txt-content div p:last-child {
        margin: 0;
    }
}

/* Content Left Logo Right */
.flex-container-row {}

.flex-container-row img {
    justify-self: center;
    width: 100%;
    max-width: 350px;
}

.flex-container-row {
    background: var(--white);
}

.card {
    background: transparent;
    margin: 3% 0;
}

.card p:first-child {
    font-size: min(4.8vw, 22px);
    font-width: var(--text-font-weight);
    margin: 0;
}

.card p:last-child {
    font-size: min(3.8vw, 20px);
    margin: 0;
}

@media only screen and (min-width: 750px) {
    .flex-container-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: var(--content-box-padding);
    }

    div.card p:nth-child(even) {
        color: var(--primary-dark);
        font-weight: var(--text-font-weight);
        font-style: normal;
        /*font-size: 135%; !* 18px *!*/
        line-height: 2.1875em;
        margin: 0;
    }

    .flex-container-grid {
        /*width: 600px;*/
        display: grid;
        grid-gap: 5%;
        grid-template-columns: repeat(2, 47%);
        grid-template-rows: 50% 50%;
        grid-auto-flow: column;
    }


    .flex-container-col h2 {
        /*font-size: min(7vw, 38px);*/
        margin: 0 0 3% 0;
        /*line-height: 100%;*/
    }

    .card {
        background: transparent;
        padding: 1%;
        margin: 3% 0;
    }

    .flex-container-row img {
        display: block;
        width: 100%;
        align-self: center;
    }
}

/*  Image 3/4 Left  */
div.content-box-right {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    height: auto;
    text-align: left;
    box-sizing: border-box;
    /*padding: 0 2% 0 2%;*/
}

div.txt-content {
    text-align: left;
    box-sizing: border-box;
    padding: 3%;
}

div.content-box-right h2 {
    margin: 1% 0;
}

div.txt-content div p:last-child {
    margin: 0;
}

p.heading {
    font-size: min(4.8vw, 22px);
    margin: 0;
}

div.txt-content p {
    line-height: 218%;
}

div.img-container img {
    width: 100%;
    height: auto;
}

@media only screen and (min-width: 750px) {

    div.content-box-img-left {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        background: linear-gradient(to left, white 91%, transparent 0%);
        /*width: clamp(375px, 91vw, var(--txt-box-max-width));*/
        height: min(40vw, var(--txt-box-min-height));
        margin: var(--content-box-margin);
    }

    div.flex-container-left {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    div.txt-content {
        text-align: left;
        box-sizing: border-box;
        padding: 5% 10%;
    }

    div.content-box-right {
        display: flex;
        justify-content: center;
        background: unset;
    }

    div.img-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;

    }

    div.content-box-right h2 {
        font-size: min(3vw, 38px);
        margin: 1% 0;
    }

    div.img-container img {
        max-width: min(40vw, 411px);
        /*width: 100%;*/
        height: auto;
        filter: drop-shadow(7px 7px 5px rgba(0, 0, 0, 0.16));
    }

    p.heading {
        font-size: min(2vw, 22px);
        margin: 0;
    }

    div.txt-content div p:last-child {
        margin: 0;
    }
}

/* Content Box Txt One Btn */

.inline-container-ctr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 3%;
}

.inline-container-left {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: left;
    width: 100%;
}


/* END ABOUT PAGE COMPONENTS ========================*/

.content-box h1 {
    text-align: center;
}

.inline-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2% 0;
    gap: 25px;
}

.inline-container input {
    margin: 1% 0;
}

@media screen and (min-width: 350px) {}

@media only screen and (min-width: 750px) {
    .inline-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 2% 4%;
    }
}

/*.inline-container-ctr {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    flex-wrap: wrap;*/
/*    justify-content: center;*/
/*    margin: 4rem 1rem;*/
/*}*/

.input[type='text'] {
    border-color: red;
}

.content_wrapper {

    display: flex;
    flex-wrap: wrap;
    flex-direction: column;

    align-content: center;
    text-align: center;

}

.home_main_content {

    margin-top: 184px;
    margin-left: auto;
    margin-right: auto;
    width: 65%;
    align-content: center;
    justify-content: right;
    text-align: center;

}

.home_main_content div {
    background: #ebeded;
}

.home_main_content_item {
    padding-top: 5px;
    padding-bottom: 5px;
}

.profileitem_button {
    margin: 0px 30px;
    display: flex;
    max-width: 131px;
    height: 26px;
    align-content: center;
    justify-content: center;


    border-color: #52565c;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;

    background: #ffffff;

    font-size: 15px;
    font-weight: 400;
    line-height: 35px;

    color: #52565c;

}

.home_button {
    display: flex;
    max-width: 220px;
    height: 39px;
    align-content: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;


    border-color: #52565c;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;

    background: #ffffff;


    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    color: #53565c;


}

.content_blurb {
    padding-top: 25px;
    padding-bottom: 25px;
    margin: 25px;
    background: #ffffff;
    margin-left: auto;
    margin-right: auto;
    width: 65%;
    text-align: center;
}

.content_blurb_title {
    margin: 25px;
    color: #f0522d;
    font-size: 38px;
    font-weight: 900;
    line-height: 38px;
    letter-spacing: 20px;
    text-align: center;
}

.locations_blurb {
    margin: 25px;
    padding-top: 25px;
    padding-bottom: 25px;
    background: #ffffff;
    margin-left: auto;
    margin-right: auto;
    width: 65%;
    text-align: center;
}

.locations_blurb_title {
    margin: 25px;
    color: #f0522d;
    font-size: 38px;
    font-weight: 900;
    line-height: 38px;
    letter-spacing: 20px;
    text-align: center;
}

/* Buyers and Sellers*/

.content-box-two-col {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    row-gap: 20px;
    /* was 4em */
}

@media screen and (min-width: 750px) {

    .content-box-two-col {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-start;
    }

    .content-box-two-col div.none:last-child {
        margin-right: 5%;
    }

    .partition div:first-child {
        margin-right: 2rem;
        padding-right: 2rem;
        border-right: var(--primary-light) solid 5px;
    }

}

/* End Buyers and Sellers*/

/* End Buyers and Sellers*/

/* start individual bio page components */
.bio-wrapper {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap-reverse; */
    flex-wrap: wrap;
    margin-right: auto;
    margin-left: auto;
    width: 95%;
}

.bioinfo-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 5%;
    padding: var(--padding-medium)
}

.bioinfo-wrapper a {
    text-decoration: underline;
}

.bioinfo-wrapper label {
    margin-bottom: 2.5%;
}

.bioinfo-wrapper p {
    margin-bottom: 5%;
}

.bioname {
    font-size: 287.5%;
    font-family: var(--secondary-font-family);
    font-weight: normal;
    color: var(--primary-light);
    text-align: left;
    letter-spacing: 0.1vw;
    margin-block-start: 0.2em;
}

img.bioinfo-pic {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    margin-right: auto;
    margin-left: auto;
    margin-top: 2%;
    margin-bottom: 2%;
}

@media only screen and (min-width: 600px) {

    .bio-wrapper {
        /* flex-wrap: wrap-reverse; */
        flex-wrap: wrap;
        width: 95%;
    }

    .bioinfo-wrapper {
        width: 85%;
    }

    img.bioinfo-pic {
        width: 85%;
        max-width: 513px;
    }

}

@media only screen and (min-width: 750px) {

    .bio-wrapper {
        /* flex-wrap: wrap-reverse; */
        flex-wrap: wrap;
        width: 90%;
    }

    .bioinfo-wrapper {
        width: 70%;
    }

    img.bioinfo-pic {
        width: 70%;
        max-width: 513px;
    }

}

@media only screen and (min-width: 900px) {

    .bio-wrapper {
        flex-wrap: wrap;
        /*width:100%;*/
    }

    .bioinfo-wrapper {
        width: 45%;
    }

    img.bioinfo-pic {
        width: 45%;
        max-width: 513px;
    }

}

/* end individual bio page components */

/* Content for Careers pg 5 */

.content-box-careers {
    text-align: left;
    box-sizing: border-box;
    margin: var(--content-box-margin-narrow);
    padding: var(--content-box-padding);
}

.content-col-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.job-link {
    color: var(--primary-dark);
    font-weight: var(--text-font-weight);
    font-style: normal;
    font-size: var(--font-content);
    line-height: 1.75em;
    margin: 1% 0;
}


.content-careers {
    margin: 0 0 1% 0;
}

.content-careers>.job-link {
    margin: 0;
}

.subheading {
    font-size: clamp(24px, 5vw, 28px);
    margin: 0% 0 0 0;
    text-transform: uppercase;
}
@media only screen and (max-width: 400px) {
    .subheading {
        text-align: left;
    }
}
/* End Content for Careers pg 5 */

/* Real Estate Progessionals */
div.flex-container-around a.btn-primary {
    width: 295px;
}


/* End Real Estate Progessionals */

/*What is Title Insurance */

#what-is-title-insurance.content-box-two-col {
    max-width: 1100px;
    margin: 0 auto 100px auto;
    padding: 0;
}

#what-is-title-insurance div[data-content] {
    width: 50%;
}

.responsive-image_430px {
    width: 100%;
    max-width: unset;
    height: auto;
}

.inline-container-left li {
    font-weight: var(--text-font-weight);
    font-style: normal;
    font-size: var(--font-content);
    line-height: 30px;
    margin: 0 0 1em 0;
    font-family: var(--primary-font-family);
}

/*!*Mobile*!*/
#what-is-title-insurance div[data-content] {
    width: unset;
    max-width: calc(100vw - 6%);
}

#what-is-title-insurance div[data-image] img {
    width: 100%;
    max-width: calc(100vw - 6%);
    height: auto;
}

/*Tablet*/
@media only screen and (min-width: 750px) {
    #what-is-title-insurance.content-box-lead {
        padding: unset;
    }

    #what-is-title-insurance div[data-content] {
        width: 50%;
    }

    #what-is-title-insurance div[data-image] img {
        width: 100%;
        max-width: 430px;
        height: auto;
    }
}

/*Desktop*/
@media only screen and (min-width: 992px) {}

/*Huge*/
@media only screen and (min-width: 1280px) {
    #what-is-title-insurance.content-box-lead {
        padding: var(--content-box-lead);
    }
}

/* End What is Title Insurance */


/* START NEWS*/
.article-wrapper {
    flex-wrap: wrap;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 5%;
    padding: var(--padding-medium)
}

.article-wrapper p {
    text-align: justify;
}

.article-wrapper a {
    display: inline-block;
    text-decoration: underline;
    color: #f0522d;
}

.article-wrapper a:hover {
    text-decoration: none;
}

.article-name {
    font-size: 287.5%;
    font-family: var(--secondary-font-family);
    font-weight: bold;
    color: var(--primary-light);
    text-align: center;
    letter-spacing: 0.1vw;
    margin-block-start: 0.2em;
    margin-bottom: 40px;
}

img.article-pic {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    margin: 0 20px 15px 0;
    float: left;
}

p.article-error {
    float: left;
    margin-top: 15.5%;
}

@media only screen and (min-width: 600px) {
    .article-wrapper {
        width: 95%;
    }
}

@media only screen and (min-width: 750px) {
    .article-wrapper {
        width: 90%;
    }

    img.article-pic {
        max-width: 70%;
    }

}

@media only screen and (min-width: 900px) {
    .article-wrapper {
        width: 100%;
    }

    img.article-pic {
        max-width: 45%;
    }
}

/* END NEWS*/