html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Source Sans 3", sans-serif;
    font-optical-sizing: auto;
    font-optical-sizing: auto;
    font-size: 1.1rem;
    font-weight: 500;
    color: #104C89;
    background: url(img/hero.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    height: 100%
}

h1, h2, h3, h4, h5, h6, .header-call-us {
    font-weight: 700;
}

h2 {
    text-transform: uppercase;
}

input, select, textarea, label {
    font-family: "Source Sans 3", sans-serif;
}

.logo {
    width: 300px;
}

h2 {
    font-size: 1.6em;
    font-weight: 800;
    letter-spacing: -1px;
}

h3 {
    color: #f7ca38
}

main strong {
    color: #f7ca38;
}

h5 {
    font-size: 1.1em;
}

main h3 {
    margin-top: 1.5em
}

p {
    text-align: justify;
    line-height: 1.7em;
}

header {
    position: relative;
    padding: 1em 0;
    background: #104C89;
    color: #FFF;
    font-size: 0.8em;
}

header img {
    width: 300px;
    height: auto;
    margin-bottom: 5px;
}

.header-call-us {
    text-align: right;
    font-size: 1.3rem;
}

.header-call-us a {
    color: #f7ca38;
    text-decoration: none;
}

.hero {
    background: url(img/red-flags.jpg) no-repeat center top;
    background-size: cover;
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.hero h1 {
    font-weight: 900;
    font-size: 5rem;
    line-height: 1;
    color: white;
    text-wrap: balance;
}

.hero h1 span {
    background-color: #fdc91d;
    display: inline-block;
    line-height: .9;
}

.hero p {
    font-size: 2em;
    font-weight: 700;
    margin: 1em 0;
    text-wrap: balance;
    line-height: 1.3;
    text-align: left;
}

.hero .row {
    padding: 3rem;
    backdrop-filter: blur(20px);
    background: linear-gradient(to top, #104C89D0 0%, #104C8950 100%);
}

.hero .btn-lg {
    font-size: 2.5em;
    font-weight: 900 !important;
    padding: 0.5em 1em;
    border-radius: 1rem;
    background-color: #f7ca38;
    color: #104C89;
}

.hero .btn-lg:hover {
    background: white;
    color: #104C89;
}

main>.container {
    background: #104c89;
    color: #FFF;
}

.intro {
    background: #fdc91d;
    margin-left: -15px;
    margin-right: -15px;
    padding: 1em 2em;
}

.intro a {
    color: #104C89;
}

.intro-text {
    padding: 1em 1em 0;
    /* text-transform: uppercase; */
}

.intro-text p {
    line-height: 1.3em !important;
}

main {
    background: linear-gradient(to bottom, #FFFFFF80 20%, #DDDDDD80 100%) fixed;
    /* backdrop-filter: blur(40px); */
    padding: 3em 1.5em 6em;
    overflow: hidden;
}

main>.container {
    border-radius: 2rem;
    overflow: hidden;
}

.form-group {
    margin-bottom: 1rem;
}

footer {
    padding: 1rem 0 12rem;
    background: #104C89;
    color: #FFF;
    font-size: 0.8em;
    display: block;
    width: 100%;
}

footer a {
    color: #f7ca38;
}

footer a:hover {
    color: #FFF;
    text-decoration: none;
}

.btn {
    text-transform: uppercase;
}

.btn-primary {
    background: #104C89;
    color: #FFF;
    border: none;
    font-weight: 800;
    padding-left: 1em;
    padding-right: 1em;
    white-space: normal;
    line-height: 1em;
    transition: all 0.3s;
}

.btn-primary:hover {
    transition: all 0.3s;
    background: linear-gradient(to top, #104C89 20%, #0F64A6 100%);
}

hr {
    margin: 1.5em 0 1.5em;
    border: 2px solid #eee;
}

.btn-cta {
    font-size: 1.4em !important;
    padding: 0.5em 1em;
    border-radius: 1rem;
    text-transform: uppercase;
    background: #f7ca38;
    color: #104C89;
    display: block;
    width: 100%;
}

.btn-cta:hover {
    background: white;
    color: #104C89;
}

.gdpr {
    font-size: 0.8em;
    text-wrap: balance;
}

.gdpr a {
    color: #f7ca38;
}

small {
    font-size: 70%;
}

.cfc {
    font-size: 1.07em;
    line-height: 1.3;
    background-color: #00000020;
    margin: 3rem 0;
    padding: 2rem;
    /* border: 4px solid #eeeeee25; */
    border-radius: 1rem;
}

.cfc h2 {
    font-size: 1.5em;
    text-wrap: balance;
}

.overlay {
    z-index: 9998;
    background: rgba(17, 29, 62, .7);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    opacity: 0;
    transition: opacity .5s
}

.overlay.on {
    display: block;
    opacity: 1;
    transition: opacity .5s
}

.loading {
    position: fixed;
    top: calc(50% - 120px);
    left: calc(50% - 250px);
    border-radius: 150px;
    z-index: 9999;
    color: #FFF;
    text-align: center;
    font-size: 3em;
}

.please-wait {
    left: calc(50% - 140px);
}

.loading span {
    display: block;
    text-align: center;
    font-weight: bold;
    padding: 10px 0;
}

.more-referrals .referral-fields {
    animation: fadein 0.5s;
}

body.download .container {
    text-wrap: balance;
}

body.download footer {
    position: fixed;
    bottom: 0;
    left: 0;
}

.steps {
    margin-left: -15px;
    margin-right: -15px;
}

.text-balance {
    text-wrap: balance;
}

table.table {
    border-radius: .5rem;
    overflow: hidden;
    --bs-table-border-color: #FFFFFF24;
}

table.table td {
    text-align: end;
    padding: .75rem 1.25rem;
    background: none;
}

table.table th {
    text-align: end;
    padding: .75rem 1.25rem;
    text-wrap: balance;
    background: none;
}

table.table-dark {
    background-color: #00000015;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-bg-type: #00000010;
}

.main-content {
    font-size: 1.2em;
    line-height: 1.2;
}

.main-content h2 {
    margin-top: 2rem;
}

.main-content h2,
.main-content h3 {
    text-wrap: balance;
}

.main-content li {
    line-height: 1.6;
    margin-bottom: .3rem;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Media Queries */

@media(max-width: 767px) {
    body {
        font-size: 1rem;
    }

    footer {
        position: relative;
        text-align: center;
    }

    footer .text-end {
        text-align: center !important;
    }

    h1, h2, h3, h4, h5 {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5em;
        line-height: 1em;
    }

    .hero p {
        font-size: 1.3em;
        text-align: center;
        font-weight: 600;
    }

    .hero .btn-lg {
        font-size: 1.8em;
        padding: 0.6em;
        display: block;
        margin-bottom: 2rem;
    }

    header {
        text-align: center;
    }

    .header-call-us {
        text-align: center;
        font-size: 1.3em;
    }

    .header-call-us br {
        display: none;
    }

    .header-call-us a {
        display: inline-block;
        padding: 0 1em;
    }

    h3.header-call-us {
        padding: 0.5em 0 0;
        margin: 0;
        font-size: 1.5em;
    }

    .btn-cta {
        padding: 0.6em 1em;
    }

    h4 {
        font-size: 1.2em;
        line-height: 1em;
        text-align: center;
    }

    .btn-primary {
        font-size: 1.2em;
    }

    main {
        padding: 0;
    }

    main>.container {
        border-radius: 0;
    }

    p {
        line-height: 1.4em;
    }

    .intro {
        font-size: 1.1em;
        padding: 1em;
    }

    .btn-cta {
        font-size: 1.3em !important;
        margin-top: 1em;
    }

    .more-referrals .referral-fields {
        border-top: 1px solid #DDD;
        padding-top: 1em;
        margin-top: 0.5em;
    }
}