/*#region DEFAULTS */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.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;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}
/*#endregion */

/*#region CORE */

.page-content {
    padding: 1rem 2rem;
}


h1.page-main-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-body-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
}

.page-side {
    display: flex;
    flex-direction: column;
    min-width: 290px;
}

.page-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

@media (width < 600px) {
    .page-content {
        padding: 1rem 16px;
    }

    .page-body-wrapper {
        display: flex;
        flex-direction: column;
        flex-wrap: unset;
        gap: 1rem;
    }
}

.grid-items-center {
    place-items: center;
}

.grid-12 {
    --gap: 4rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--gap);
    grid-row-gap: var(--gap);
}

.grid-2_1 {
    --gap: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: var(--gap);
    grid-row-gap: var(--gap);
}

.grid-3_1 {
    --gap: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: var(--gap);
    grid-row-gap: var(--gap);
}

@media (width < 600px) {
    .gridwrap {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: var(--gap);
    }

    /*   .gridwrap > * {
            margin-bottom: var(--gap);
        }*/
}

/*#endregion */

/*#region LP */


/*.hero-app-bar*/
@media (width < 600px) {
    div.mud-main-content:has(section.hero) .mud-appbar {
        --inline-margins: 1.2rem!important;
    }

    /*   .gridwrap > * {
            margin-bottom: var(--gap);
        }*/
}
div.mud-main-content:has(section.hero) .mud-appbar {
    --inline-margins: 3rem;
    width: calc(100% - var(--inline-margins) - var(--inline-margins)) !important;
    margin-inline: var(--inline-margins);
    margin-top: 1rem;
    box-shadow: 0 0 0 0 black;
    position: absolute;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background: #ffffff12 !important;
    border-radius: 12px;
    overflow: hidden;
}

    div.mud-main-content:has(section.hero) .mud-appbar::before {
        content: '';
        bottom: 0px;
        height: 1px;
        left: 12px;
        width: calc(100% - 12px);
        background: linear-gradient(90deg, transparent, var(--mud-palette-primary));
        position: absolute;
        animation: rimlight 12s ease-in infinite;
    }

@keyframes rimlight {
    0% {
        transform: translateX(-100%);
        opacity: .8;
    }

    25%, 100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.hero {
    background: url('Images/Hero.jpg');
    /* height: calc(100svh - var(--mud-appbar-height));
    height: calc(100vh - var(--mud-appbar-height));
    min-height: 500px;*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    min-height: 100svh;
    min-height: 100vh;
    background: linear-gradient(90deg, #000000a1 50%, transparent);
    display: flex;
    align-items: center;
    padding-left: clamp(3.57rem, -1.312rem + 6.06vw, 4.2rem);
    padding-right: clamp(3.57rem, -1.312rem + 6.06vw, 4.2rem);
    padding-bottom: clamp(3.57rem, -1.312rem + 6.06vw, 4.2rem);
    padding-top: clamp(7.57rem, -1.312rem + 6.06vw, 8.2rem);
}

.hero.hero-small > .hero-content {
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: linear-gradient(90deg, #000000a1 50%, transparent);
    display: flex;
    align-items: center;
    padding-left: clamp(3.57rem, -1.312rem + 6.06vw, 4.2rem);
    padding-right: clamp(3.57rem, -1.312rem + 6.06vw, 4.2rem);
    padding-bottom: clamp(3.57rem, -1.312rem + 6.06vw, 4.2rem);
    padding-top: clamp(7.57rem, -1.312rem + 6.06vw, 8.2rem);
}

.hero-main-title {
    font-size: clamp(2.57rem, -1.312rem + 6.06vw, 5.96rem);
    color: #f1f1f1;
    font-family: 'Saira Condensed';
}

.hero.hero-small {
    height: 50svh;
    height: 50vh;
    min-height: 420px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    overflow: hidden;
}

div.sections {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin-inline: auto;
}

    div.sections section.section-content {
        padding: 10rem 16px;
    }

    div.sections.sections-solo section.section-content {
        padding: 5rem 16px;
    }

.big-title {
    font-size: clamp(3.1rem, -1.312rem + 5.06vw, 4.96rem);
    margin-bottom: 3rem;
    font-family: 'Saira Condensed';
}

.big-title-2 {
    font-size: clamp(2.5rem, -1.312rem + 5.06vw, 3.96rem);
    margin-bottom: 3rem;
    font-family: 'Saira Condensed';
}

.service {
    padding-block: 3rem;
}

h3.service-title {
    color: var(--bravo);
    margin-bottom: .3rem;
    font-weight: 600;
}

p.service-subtitle {
    font-weight: 700;
    font-size: clamp(1.57rem, -1.312rem + 4.06vw, 3.96rem);
}

.service .design-card {
    border-radius: 20px;
    padding: 2rem;
}

.service-paper {
    position: relative;
    overflow: hidden;
    padding: .9rem;
    padding-bottom: 1.4rem;
    display: flex;
}

.service-paper-image {
    position: relative;
    overflow: hidden;
    display: flex;
    padding: 0rem;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    height: 300px;
    cursor: pointer;
}

    .service-paper-image .service-content-image {
        padding: 1.2rem;
        color: white;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        align-items: start;
        justify-content: end;
        background: linear-gradient(0deg, #00000090 40%, transparent)
    }

    .service-paper-image .a-onhover {
        max-height: 0px;
        opacity: 0;
        transition: all .7s ease-in-out;
    }

    .service-paper-image:hover .a-onhover {
        max-height: 100px;
        opacity: 1;
        margin-top: 16px;
    }

.service-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    flex-grow: 1;
    padding-left: .8rem;
}

    .service-content h2 {
        margin-top: 90px;
    }

.container-bleed {
    --bleed-color: var(--mud-palette-dark);
    background-color: var(--bleed-color);
}

    .container-bleed .full-bleed {
        box-shadow: 0 0 0 100vmax var(--bleed-color);
        clip-path: inset(0 -100vmax);
    }
/*#endregion */

/*#region EXTRA */

.service-circle {
    --size: 120px;
    position: absolute;
    height: var(--size);
    width: var(--size);
    left: 0;
    top: 0;
    transform: translate(-10%, -20%);
    border-radius: 50%;
    background-color: var(--alpha);
}

.circle {
    --size: 50vw;
    --thickness: 6vw;
    position: absolute;
    height: var(--size);
    width: var(--size);
    right: 0;
    top: calc(var(--size) / 8);
    transform: translateX(40%);
    border-radius: 50%;
    border: var(--thickness) solid var(--alpha);
}

.text-banner {
    background: var(--alpha);
    color: var(--mud-palette-primary-text);
    padding: .2rem .5rem;
    font-weight: 600;
}
/*#endregion */


/*#region ANIMATIONS */

.a-onview {
    opacity: 0;
    transform: scale(.98) translateY(30px);
    transform-origin: top center;
}

    .a-onview.a-fadeIn {
        opacity: 1;
        transform: scale(1) translateY(0px);
    }

@media (prefers-reduced-motion: no-preference) {
    .a-onview {
        transition: all 1.2s ease-in !important;
    }
}

.animated-button {
    --btn-color: var(--mud-palette-secondary);
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 14px 36px;
    border: 1px solid;
    border-color: transparent;
    font-size: 16px;
    background-color: inherit;
    border-radius: 100px;
    font-weight: 600;
    color: var(--btn-color);
    box-shadow: 0 0 0 2px var(--btn-color);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

    .animated-button svg {
        position: absolute;
        width: 24px;
        color: var(--btn-color);
        z-index: 9;
        transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .animated-button .svg-1 {
        right: 16px;
    }

    .animated-button .svg-2 {
        left: -25%;
    }

    .animated-button .animated-button-circle {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 20px;
        height: 20px;
        background-color: var(--btn-color);
        border-radius: 50%;
        opacity: 0;
        transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .animated-button .text {
        position: relative;
        z-index: 1;
        transform: translateX(-12px);
        transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .animated-button:hover {
        box-shadow: 0 0 0 12px transparent;
        color: white;
        border-radius: 12px;
    }

        .animated-button:hover .svg-1 {
            right: -25%;
        }

        .animated-button:hover .svg-2 {
            left: 16px;
        }

        .animated-button:hover .text {
            transform: translateX(12px);
        }

        .animated-button:hover svg {
            color: white;
        }

    .animated-button:active {
        transform: scale(0.95);
        box-shadow: 0 0 0 4px var(--btn-color);
    }

    .animated-button:hover .animated-button-circle {
        width: 120%;
        height: 220px;
        opacity: 1;
    }

a.a-border {
    position: relative;
    padding-block: 6px;
}
    a.a-border:hover, a.a-border.active-href {
        filter: brightness(1.05);
    }
    a.a-border:hover:after, a.a-border.active-href:after {
        width: 100%;
    }

    a.a-border:after {
        content: "";
        position: absolute;
        background-color: var(--mud-palette-primary);
        height: 2px;
        bottom: 0px;
        left: 0;
        width: 0;
        transition: all .2s ease-in;
    }


    .image-scale-hover{
        transition: all .3s ease-in;
    }

.image-scale-hover:hover {
    transform: scale(1.2);
}
/*#endregion */

@media print {
    #pdfIframe {
        display: none;
    }
}

.account-wrapper {
    padding: 4rem 2rem;
    min-height: calc(100vh - var(--mud-appbar-height));
}

.account-paper {
    padding: 3rem;
    background: white;
    box-shadow: 1px 1px 3px 3px #00000014;
    border-radius: 8px;
    max-width: 500px;
    width: min(500px, 100%);
    margin: auto;
    z-index: 2;
}
.splash-screen {
    position: fixed;
    display: flex;
    inset: 0;
    height: 100svh;
    height: 100vh;
    width: 100%;
    background: var(--mud-palette-appbar-background);
    transition: all 0.6s ease-in;
    z-index: 1500;
}

    .splash-screen.hide {
        position: absolute;
        display: flex;
        inset: 0;
        height: 0;
        width: 100vw;
        overflow: hidden;
        opacity: 0;
    }
.splash-screen-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.progress-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-94%, -45%);
}

.text-wrapper {
    position: absolute;
    top: calc(50% + 150px);
    left: 50%;
    transform: translate(-50%, -50%);
}

/*#region MUD*/

.mud-autocomplete:has( .mud-input-control.mud-override-secondary) {
    --mud-palette-primary: var(--mud-palette-secondary);
}

/*#endregion*/