body {
    font-family: 'Microgramma', sans-serif;
}

h1, .h1, h2, .h2, h3, .h3 {
    font-family: 'Microgramma', sans-serif;
}

h1, .h1 {
    font-size: 3.5rem;
}

h2, .h2 {
    font-size: 3.5rem;
}

h3, .h3 {
    line-height: 1.7;
}

h4, .h4 {
    font-size: 1.2rem;
}

p.large {
    font-size: 1.2rem;
}

nav.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

p {
    line-height: 1.75;
}

.btn, .form-control {
    border-radius: 0;
}

input.form-control, select.form-control {
    height: 4rem;
    padding-left: 1.5rem;
}

#navbar-content .nav-link {
    color: black;
}

.dropdown-toggle::after {
    display: none;
}

#header-phone {
    height: 5rem;
    text-decoration: none;
}

.navbar-brand img {
    height: 5rem;
    width: auto;
    padding: 1rem;
}

#home-header {
    height: 650px;
    min-height: 40rem;
}

#home-header, #header {
    position: relative;
    color: white;
    font-size: 1.1vw;
    font-weight: 400;
}

#home-header h1, #header h1 {
    font-size: 4vw;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.24);
}

#home-header p.small, #header p.small {
    font-size: 0.9rem;
}

#home-header .form-control, #header .form-control {
    height: 4rem;
}

#home-header:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.47) 0%, rgba(0,0,0,0.39) 50%, rgba(0,0,0,0) 100%);
}

#header:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0) 100%);
}

#header-image, #header-image-mobile {
    object-position: center;
    width: 100%;
    height: 650px;
    object-fit: cover;
}

#home-image,{
    object-position: center;
    width: 100%;
    height: 500px;
    object-fit: cover; 
}

#accolades {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#accolades img {
    max-height: 7rem;
    width: auto;
}

#accolades img ~ div {
    text-transform: uppercase;
    font-size: 10px;
    cursor: default;
    color: #1B2839;
    opacity: 0.54;
    margin-top: 0.5rem;
}

#process img {
    height: 12rem;
    width: auto;
    margin-bottom: 1.5rem;
}

#process .col-lg {
    max-width: 30%;
}

#process h3 {
    margin-bottom: 1rem;
}

#process p {
    color: rgba(71, 78, 88, 1);
}

#home-stat {
    overflow: hidden;
    background: var(--white);
    color: white;
    position: relative;
}

#home-stat-slider {
    width: 100%;
    position: relative;
}

#home-stat-slider img {
    height: auto;
    width: 100%;
    z-index: 2;
    position: relative;
}

#home-stat-text {
    top: 50%;
    left: 15%;
    right: 15%;
    transform: translateY(-50%);
    transform-origin: center;
    background: rgba(255, 255, 255, .87);
    z-index: 3;
}

#home-stat-text > div {
    padding: 3rem 6vw;
    font-size: 1.5vw;
    font-family: 'Playfair Display', serif;
}

#home-stat-top {
    position: absolute;
    top: 0;
    left: 0;
    height: 14rem;
    background: #235089
    z-index: 2;
    width: 100vw;
}

#home-stat-bottom {
    position: absolute;
    bottom: 0;
    height: 10rem;
    background color: #ffffff;
    z-index: 1;
    width: 100vw;
    transform: translateX(-15px);
}

#stat-table {
    z-index: 2;
}

#stat-table table {
    table-layout: fixed;
}

#stat-table table .fa-check-circle {
    color: #64C1C5;
}

#stat-table table .fa-times-circle {
    color: #D52E61;
}

.list-with-icons li {
    display: flex;
}

.list-with-icons li > * {
    margin-right: 1rem;
    display: block;
}

#stat-table table tbody img, .list-with-icons img {
    height: 1.5rem;
    width: auto;
}

ul.list-unstyled li, ul.spaced li {
    margin-bottom: 1.5rem;
}

#stat-table .table-light thead th {
    border: none;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9rem;
}

#stat-table .table-light td {
    border-color: rgba(112, 112, 112, 0.35);
}

#stat-table .table-light td:not(:first-child) {
    border-left: 1px solid rgba(112, 112, 112, 0.35);
}

#stat-table table th {
    padding: 0;
}

#stat-table table th, #stat-table table td {
    text-align: center;
    vertical-align: middle;
}

#stat-table table tbody td {
    padding: 1.5rem;
}

#stat-table table tbody td:first-child {
    text-align: left;
}

.testimonial img {
    margin-bottom: 3rem;
    padding: 1rem;
}

.testimonial p {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.testimonial .testimonial-title {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 80%;
}

footer h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    color: #63BFC3;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

footer a, footer a:hover {
    color: #63BFC3;
}

footer {
    font-size: 0.9rem;
}

footer ul li {
    margin-bottom: 1rem;
}

#mobile-navbar .social-icon {
    margin-right: 1rem;
    color: var(--dark);
}

footer .social-icon {
    margin-right: 1rem;
}

table .table-logo {
    border-top: 20px solid var(--primary) !important;
    background: var(--primary) !important;
}

table .table-logo img {
    transform: translateY(-10px);
    height: auto;
    max-width: 100%;
    padding: 2rem;
}

#locations, #locations a {
    color: #7C7C7C;
    text-transform: uppercase;
}

.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
}

.select .custom-select {
    background-image: none;
}

.select {
    position: relative;
}

.select::after, #location-search:after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 3;
    font-family: "Font Awesome 5 Pro";
    content: "\f13a";
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 200;
}

#map-header {
    overflow-x: hidden;
}

#map-header:before {
    content: '';
    position: absolute;
    bottom: 0;
    height: 3rem;
    background: white;
    z-index: 1;
    width: 100vw;
}

#builder-location-filters a {
    text-transform: uppercase;
}

#builder-locations img {
    height: 6rem;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

.page-numbers {
    font-size: 1.25rem;
    margin: 0 0.25rem;
}

.top-left-tab {
    position: relative;
}

.top-left-tab:before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 25vw;
    height: 6rem;
    background: var(--light);
}

#join-top-section {
    position: relative;
}

#join-top-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6rem;
    background: white;
}

.shift-up {
    transform: translateY(-6rem);
}

#employees {
    color: #474E58;
}

#employees img {
    padding: 1.5rem;
    border-radius: 50%;
}

#employees h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.file-upload {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4rem;
}

.filename {
    position: absolute;
    left: 0;
    top: calc(100% + 1rem);
    font-size: 80%;
    color: #747679;
    font-style: italic;
    z-index: 3;
}

.file-upload input {
    position: absolute;
    opacity: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.file-upload .wpcf7-form-control-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}

.step-number {
    color: var(--primary);
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    height: 3.5rem;
    margin-bottom: 1.5rem
}

.step-number:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 3rem;
    width: 3rem;
    border: 1px solid var(--primary);
    border-radius: 50%;
}

.quiz-circle {
    position: relative;
    background: white;
    clip-path: circle(50% at 50% 50%);
    border-radius: 50%;
    width: 100%;
    padding-top: 100%;
}

.quiz-circle > * {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 1rem;
    text-align: center;
}

#quiz-back {
    position: absolute;
    top: 2rem;
    left: 1rem;
}

#quiz-header {
    min-height: 100vh;
    position: relative;
}

#quiz-header > .container {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

#home-header > div {
    position: absolute;
    top: 50%;
    transform: translateY(-50%)
}

#footer-mobile li {
    text-transform: uppercase;
    font-size: 1rem;
}

#mobile-navbar {
    z-index: 99999;
    width: 80%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: scroll;
}

#mobile-nav > li:not(:first-child) {
    padding-left: 1rem;
    padding-right: 1rem;
}

#mobile-navbar + #mobile-menu-overlay {
    transition: background-color 0.3s ease-in-out;
}

#mobile-navbar.show + #mobile-menu-overlay {
    background-color: #434343;
    opacity: 0.57;
    z-index: 99998;
    width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#mobile-navbar.collapsing {
    height: unset;
}

#mobile-navbar.show {
    transform: translateX(0);
}

#mobile-nav {
    min-height: 100%;
    z-index: 1000;
    justify-content: center;
}

#mobile-navbar .nav-item:not(:first-child) {
    font-size: 1.2rem;
    border-bottom: 1px solid var(--light);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#mobile-navbar .collapse .nav-link, #mobile-navbar .collapsing .nav-link {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.5);
}

#mobile-navbar [data-toggle="collapse"]:after {
    font-family: "Font Awesome 5 Pro";
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

#mobile-navbar [data-target="#mobile-navbar"]:after {
    display: none;
}

#mobile-navbar [data-toggle="collapse"]:not(.collapsed):after {
    content: "\f077";
}

#mobile-navbar [data-toggle="collapse"].collapsed:after {
    content: "\f078";
}

.dark-table-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: var(--dark);
}

#lower-footer {
    font-size: 0.75rem;
}

.comparing-ibuyers [data-compare="traditional"], .comparing-traditional [data-compare="iBuyers"] {
    display: none !important;
}

nav.navbar .dropdown:hover .dropdown-menu {
    display: block;
}

nav.navbar .dropdown-menu {
    top: 90%;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border: 0;
    border-radius: 0;
}

nav.navbar .dropdown-menu .dropdown-item {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.text-gray {
    color: #707070;
}

.text-dark-gray {
    color: #474E58;
}

#builder-partner-benefits li {
    margin-bottom: 2.5rem;
}

.wpcf7-form .row > div {
    margin-bottom: 30px;
}

ul.small-dots {
    padding-left: 0.5rem;
}

ul.small-dots li::marker {
    font-size: 50%;
}

ul.small-dots li {
    margin-bottom: 1.5rem;
}

.btn-primary.shadow {
    box-shadow: none !important;
}

#quiz-progress {
    position: absolute;
    top: 100%;
    height: 1rem;
    background: var(--primary);
}

.stats-bold {
    font-family: "Montserrat", sans-serif;
    font-size: 4vw;
    font-weight: 500;
}

.header-content {
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

@media (max-width: 767px) {
    h1, .h1 {
        font-size: 2rem;
    }

    h2, .h2 {
        font-size: 2rem;
    }

    h3, .h3 {
        font-size: 1.25rem;
    }

    p.large {
        font-size: 1rem;
    }

    .wpcf7-form .row > div {
        margin-bottom: 1rem;
    }

    #home-header h1 {
        font-size: 2rem;
    }

    #header h1 {
        font-size: 2rem;
    }

    .navbar-brand img {
        height: 3rem;
        padding: 0;
    }
    
    #home-image, #header-image, #header-image-mobile {
        object-position: 75%;
    }

    .testimonial img {
        margin-bottom: 1rem;
    }

    .shift-up {
        transform: unset;
    }

    .quiz-circle {
        position: relative;
        background: white;
        clip-path: unset;
        border-radius: 1rem;
        width: 100%;
        padding-top: unset;
        margin-bottom: 1rem;
    }

    .quiz-circle > * {
        position: relative;
        top: unset;
        left: unset;
        bottom: unset;
        right: unset;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        cursor: pointer;
        padding: 1rem;
        text-align: center;
    }

    #quiz-header > .container {
        top: unset;
        left: unset;
        transform: unset;
        position: relative;
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    #home-header {
        height: 70vh;
    }

    #home-header > div {
        top: unset;
        bottom: 0;
        transform: unset;
    }

    #home-header:before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.67) 100%);;
    }

    #home-header p.small, #header p.small {
        font-size: 0.7rem;
    }

    #stat-table, #home-stat {
        padding-left: 0;
        padding-right: 0;
    }

    #stat-table-mobile {
        text-align: center;
        font-size: 0.7rem;
        color: #1B2839;
    }

    #stat-table-mobile .stat-table-header {
        font-size: 0.8rem;
        text-transform: uppercase;
    }

    #stat-table-mobile > div {
        padding: 1rem 0.5rem;
    }

    #stat-table-mobile > div > div {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #stat-table-mobile > div > .col-auto {
        width: 4rem;
    }

    #stat-table-mobile > div > div > div {
        font-weight: bold;
        font-size: 1rem;
    }

    #stat-table-mobile img {
        height: 1.5rem;
        width: auto;
        vertical-align: middle;
    }

    #stat-table-mobile .row {
        background: white;
    }

    #stat-table-mobile .row:nth-child(odd) {
        background: var(--light);
    }

    .testimonial img {
        padding: unset;
    }

    .testimonial {
        padding-left: 5px;
        padding-right: 5px;
    }

    .testimonial p {
        padding-left: 0;
        padding-right: 0;
    }

    #nav-mobile-button {
        font-size: 0.7rem;
    }

    nav.navbar {
        position: sticky;
    }

    .top-left-tab:before {
        display: none;
    }

    #map-header:before {
        display: none;
    }

    #builder-locations img {
        height: 6rem;
    }

    #employees img {
        padding: unset;
    }

    .step-number {
        margin-bottom: unset;
        margin-left: 1rem;
    }

    #process .col-lg {
        max-width: unset;
    }

    #accolades {
        width: 100%;
    }

    .stats-bold {
        font-family: "Montserrat", sans-serif;
        font-size: 2rem;
        font-weight: 500;
    }

    .header-content {
        top: unset;
        transform: unset;
        position: relative;
        order: 0;
        margin-bottom: 2rem;
    }

    #header {
        background-color: var(--dark);
        display: flex;
        flex-direction: column;
        padding-top: 3rem;
    }

    #header-image, #header-image-mobile {
        padding-left: 1rem;
        padding-right: 1rem;
        order: 1;
        z-index: 1;
    }

    #header:before {
        top: unset;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3rem;
        background: white;
    }
}

/* adding xxl from bootstrap 5 */
.container-xxl {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto; }

@media (min-width: 1400px) {
    .container-xxl {
        max-width: 1320px; } }

.lp-form .btn {
    height: 4rem !important;
}

.dark-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.card-overlay {
    border-radius: 25px;
}

.rounded-left img {
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.rounded-right img {
    border-top-left-radius: 50px; 
    border-bottom-right-radius: 50px;
}
