html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyOD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ODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Global Variables */
:root {
    --core-light: #13E6D8;
    --core-mid: #424269;
    --core-dark: #2C2C58;
    --core-darkest: #180136;
    --protect-light: #00FFFF;
    --protect-mid: #00AAFF;
    --protect-dark: var(--core-dark);
    --mortgage-light: #D9E021;
    --mortgage-mid: #67C940;
    --mortgage-dark: var(--core-dark);
    --invest-light: #FFE100;
    --invest-mid: #F7B82B;
    --invest-dark: #F15A24;
    --insure-light: #FFD149;
    --insure-mid: #FF9530;
    --invest-dark: #C1272D;
    --mds-light: #F7931E;
    --mds-mid: #F65535;
    --mds-dark: #5F272D;
    --events-light: #D48BFC;
    --events-mid: #D74BB3;
    --events-dark: var(--core-dark);
    /* Override block grid variables from umbraco stylesheet */
    --umb-block-grid--row-gap: 1.8em;
    --umb-block-grid--column-gap: 1.8em;
}

/* Global Styles */

body {
    font-family: 'mundial', sans-serif;
    background-color: white;
    color: var(--core-dark);
}

.container {
    padding-left: var(--bs-gutter-x);
    padding-right: var(--bs-gutter-x);
}

h1, h2, h3 {
    font-family: 'co-headline', sans-serif;
    font-size: 66px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h4 {
    font-family: 'co-headline', sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 1rem;
}

p {
    font-size: 24px;
    font-weight: 200;
    line-height: 1.6;
}

address {
    font-weight: 100;
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

.checklist {
    list-style: none;
    list-style-image: url('../svg/check.svg');
}

    .checklist li {
        align-self: baseline;
    }

/* Brand styles */

.core a {
    color: var(--core-light);
}

    .core a:hover {
        color: #fff;
    }

.protect a {
    color: var(--protect-mid);
}

    .protect a:hover {
        color: var(--protect-light);
    }

.invest a {
    color: var(--invest-mid);
}

    .invest a:hover {
        color: var(--invest-light);
    }

/* Button styles */

.btn {
    min-width:180px;
    border-radius: 50px;
    padding: 8px 20px 10px 20px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    margin-top: 1.2em;
}

a.btn-core, a.btn-none, button.btn-core, button.btn-none {
    background-color: var(--core-light);
    color: #000;
}

    a.btn-core:hover, a.btn-none:hover, button.btn-core:hover, button.btn-none:hover {
        background-color: var(--core-light);
        border: 1px solid var(--core-light);
        color: #fff;
    }

a.btn-protect, button.btn-protect {
    background: linear-gradient(270deg, var(--protect-light) 5%, var(--protect-mid) 60%);
    color: #000;
}

    a.btn-protect:hover, button.btn-protect:hover {
        background: transparent;
        border: 1px solid var(--protect-mid);
        color: #fff;
    }

a.btn-invest, button.btn-invest {
    background: linear-gradient(270deg, var(--invest-light) 5%, var(--invest-mid) 60%);
    color: #000;
}

    a.btn-invest:hover, button.btn-invest:hover {
        background: transparent;
        border: 1px solid var(--invest-mid);
        color: #fff;
    }

a.btn-mortgage, button.btn-mortgage {
    background: linear-gradient(270deg, var(--mortgage-light) 5%, var(--mortgage-mid) 60%);
    color: #000;
}

    a.btn-mortgage:hover, button.btn-mortgage:hover {
        background: transparent;
        border: 1px solid var(--mortgage-mid);
        color: #fff;
    }

/* Navigation Styles */

#header-logo, #footer-logo {
    max-height: 150px;
    transition: max-height 0.2s ease-out;
}
    #header-logo.scrolled {
        max-height: 65px;
    }

.navbar, .nav-backdrop {
    position: absolute;
    z-index: 100;
}

.nav-backdrop {
    width: 100%;
    background: rgba(24,1,54,0);
    transition: background 0.2s ease-in;
}

    .nav-backdrop.scrolled {
        background: rgba(24,1,54,0.6);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #fff !important;
}

.nav-link {
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px 10px 20px;
    margin: 0 20px;
}

    nav-link:focus, .nav-link:hover, .nav-link.dropdown-toggle:focus {
        color: #fff;
    }

.dropdown-toggle.show::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    background: rgba(24, 1, 54, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown-item {
    color: #fff;
    font-weight: 300;
    text-transform: uppercase;
}

    .dropdown-item:hover, .dropdown-item.active {
        color: var(--core-light);
        background-color: transparent;
    }

.navbar-toggler {
    border: none;
    padding-right: 0;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.navbar-toggler-icon {
    background-image: url('../svg/list.svg');
    width: 1.8em;
}

    .navbar-toggler-icon.close {
        background-image: url('../svg/x.svg');
        position: relative;
        left: 10px;
    }

.offcanvas {
    background-color: var(--core-darkest);
}

/* Footer Styles */

footer {
    background: linear-gradient(235deg, #FFFFFF 0.5%, rgba(19, 230, 216, 0.6) 10%, rgba(19, 230, 216, 0) 40%);
    padding: 40px 0;
}

    footer p {
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

.social-media {
    list-style: none;
    display: flex;
    align-items: end;
    justify-content: end;
    gap: 20px;
    padding: 0;
    margin: 0;
}

/* Cookie banner Styles */

#cookieBanner .modal-dialog {
    position: fixed;
    width: 100%;
    align-content: end;
}

    #cookieBanner .modal-dialog div p {
        font-size: 15px;
    }

#cookieBanner .modal-body {
    border-top: 1px solid #55616B;
}

/* Error page styles */

.error-page {
    min-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0 50px 0;
}

/* Block Styles */

.block-container-content {
    padding: 5% 0 10% 0;
}

.slim {
    padding-left: 100px;
    padding-right: 100px;
}

.hero {
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 75vh;
}

.hero-content {
    padding: 15% 0 20% 0;
}

.hero-heading, .hero-text {
    max-width: 50%;
}

.hero-gradient {
    height: 130px;
}

.hero-content {
    background-repeat: no-repeat;
}

    .hero-content.core {
        background-image: url('../svg/omnicore-hero-vector.svg');
        background-position: 0% 50%;
    }

    .hero-content.protect {
        background-image: url('../svg/omniprotect-hero-vector.svg');
        background-position: 0% 60%;
    }

.banner {
    background-repeat: no-repeat;
    background-size: cover;
}

.banner-content {
    padding: 10% 0 12% 0;
}

.banner-heading, .banner-text {
    max-width: 60%;
}

.info .container {
    padding-top: 50px;
    padding-bottom: 100px;
}

.info-heading, .info-text {
    max-width: 70%;
    position: relative;
    z-index: 1;
}

.info-bg {
    max-width: 33%;
    position: absolute;
    right: 0;
    bottom: 30%;
    z-index: 0;
}

.data-section {
    position: relative;
    margin-top: 80px;
    z-index: 1;
}

    .data-section.core .data-heading {
        color: var(--core-light);
    }

    .data-section.protect .data-heading {
        color: var(--protect-mid);
    }

    .data-section.invest .data-heading {
        color: var(--invest-mid);
    }

.data-text * {
    font-size: 18px;
}

.card {
    height: 100%;
    padding: 20px;
    color: #fff;
    text-align: center;
    border-radius: 24px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.2) 0%, rgba(19, 230, 216, 0.2) 10%, rgba(19, 230, 216, 0) 25%, rgba(19, 230, 216, 0.2) 100%);
}

    .card h3 {
        font-size: 28px;
    }

    .card p {
        font-size: 18px;
    }

    .card ul {
        text-align: left;
    }

/* Responsive Styles */

@media (max-width: 991px) { /* Breakpoint for desktop - mobile styling transition */
    h1, h2, h3 {
        font-size: 36px;
    }

    h4 {
        font-size: 24px;
    }

    p {
        font-size: 20px;
    }

    #header-logo, #footer-logo {
        max-height: 80px;
    }

    .navbar-collapse {
        background-color: var(--core-darkest);
        border-radius: 7px;
    }

    .nav-link, .dropdown-item {
        font-size: 24px
    }

        .nav-link.dropdown-toggle {
            margin: 0;
        }

    .dropdown-menu {
        background-color: transparent;
        border-radius: 0;
        border: none;
    }

        .dropdown-menu .dropdown-item {
            color: #fff;
            text-align: left;
        }

    .dropdown {
        background-color: var(--core-darkest);
    }

        .dropdown:first-child {
            border-top: solid 1px rgb(255,255,255,0.25);
        }

    .dropdown-toggle, .dropdown-menu {
        padding: 15px 0;
        border-bottom: solid 1px rgb(255,255,255,0.25);
    }

    .dropdown-toggle, .dropdown-item {
        display: flex;
        justify-content: space-between;
    }

        .dropdown-toggle::after, .dropdown-item::after {
            content: url("/svg/chevron-down.svg");
            border: none;
            padding-top: 5px;
        }

        .dropdown-toggle.show::after {
            transform: rotate(180deg);
        }

    .dropdown-item {
        padding: 0 0 0 20px;
    }

        .dropdown-item::after {
            transform: rotate(270deg);
        }

    .offcanvas {
        background-image: url('../svg/omnicore-icon-bgnd-img.svg');
        background-repeat: no-repeat;
        background-position: bottom right;
    }

    .hero {
        min-height: 0;
    }

    .hero-heading, .hero-text, .info-heading, .info-text, .banner-heading, .banner-text {
        max-width: 100%;
    }

    .hero-content {
        padding: 0 0 50px 0;
    }

        .hero-content.core, .hero-content.protect, .hero-content.invest {
            background-image: none;
        }

    .info .container {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .info-bg {
        bottom: 0;
    }

    .data-section {
        margin-top: 40px;
    }

    .card h3 {
        font-size: 24px;
    }

    .slim {
        padding-left: var(--bs-gutter-x);
        padding-right: var(--bs-gutter-x);
    }
}

.site-image{
    background-image: url(/img/omni-mortgage.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width:250px;
    height:100px;

}

@media (max-width: 1199px) {
    .data-heading h3 {
        font-size: 48px;
    }
}

@media (min-width: 1400px) {
    .info-bg {
        bottom: 0;
    }

    .hero-content.protect .hero-content.invest {
        background-position: 25% 50%;
    }
}

