:root {
    --PrimaryColor: #ccff00;
    --BgPrimaryColor: rgba(204, 255, 0, 0.6);
    --LightColor: #e1e1e1;
    --MidGrayColor: #707072;
    --DarkColor: #1e1e1e;
    --ErrorColor: #cf0000;
    --BgErrorColor: rgba(207, 0, 0, 0.1);
    --SuccessColor: #1e1e1e;
    --BgSuccessColor: rgba(204, 255, 0, 0.6);
    --BgColor: rgba(255, 255, 255, 0.7);
}

html, body, input {
    font-family: "Roboto", Arial, serif;
    font-weight: 350;
    font-size: 15px;
    /*font-family: 'Segoe UI Historic';*/
    /*font-family: 'Helvetica Neue', Helvetica;*/
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
}

a {
    font-weight: 400;
}

input {
    color: var(--DarkColor);
    border: solid 1px var(--LightColor);
    border-radius: 5px;
    font-size: 13px;
    padding: 2px 6px;
}

    input:focus {
        outline: thin;
        box-shadow: inset 0px 0px 2px 1px var(--LightColor);
    }

a, .btn-link {
    color: #006bb7;
}

    a:link {
        text-decoration: none;
    }

    a:visited {
        text-decoration: none;
    }

    a:hover {
        text-decoration: none;
    }

    a:active {
        text-decoration: none;
    }

.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;
}

.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;
}


.Main {
    /*padding-top: 44px;*/
}

.TopBarBg {
    z-index: 900;
    width: 100%;
    height: 44px;
    background-color: rgba(247, 247, 247, 0.7);
    position: fixed;
    top: 0px;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.TopBar {
    z-index: 900;
    width: 100%;
    height: 99px;
    position: fixed;
    top: 0px;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.PromoBarContainer {
    height: 40px;
    background-color: var(--BgPrimaryColor);
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    display: flex;
    flex-direction: row;
}

.PromoBar {
    width: calc(100% - 86px);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin: 0px 3px;
}

    .PromoBar.centered {
        justify-content: center;
    }

    .PromoBar.start {
        justify-content: start;
    }

    .PromoBar.end {
        justify-content: end;
    }

.PromoBarContent {
    white-space: nowrap;
    position: absolute;
    font-size: 1.2rem;
    transform: translateX(0);
    flex: 1;
    font-size: 16px;
    font-weight: 400;
    padding: 0px;
    margin: 0px;
    color: var(--DarkColor);
}

    .PromoBarContent.centered {
        transform: none;
    }

    .PromoBarContent.visible {
        opacity: 1;
        animation: fadeInPromo 0.3s forwards;
    }

    .PromoBarContent.hidden {
        opacity: 0;
        animation: fadeOutPromo 0.3s forwards;
    }

.PromoButton {
    height: 40px;
    width: 40px;
    background-color: transparent;
    border: none;
    color: var(--DarkColor);
}

    .PromoButton:hover {
        color: var(--MidGrayColor);
    }

    .PromoButton:active {
        color: var(--LightColor);
    }

.NavBar {
    height: 59px;
    background-color: rgba(247, 247, 247, 0.7);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0px 5px;
}

.BotBarBg {
    z-index: 900;
    width: 100%;
    height: 44px;
    background-color: rgba(247, 247, 247, 0.7);
    position: fixed;
    bottom: 0px;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.Logo {
    z-index: 910;
    position: relative;
    /*background-color: rgba(255, 255, 255, 0.8);*/
    padding: 0px;
    padding-left: 10px;
    padding-right: 10px;
    color: var(--DarkColor);
    font-size: 13px;
    display: flex;
    gap: 50px;
}

.LogoButton {
    height: 30px;
    width: 30px;
    background-image: url(/resources/images/permis_de_construire_logoblack.png);
    background-size: cover;
    border: none;
    background-color: transparent;
    padding: 0px;
    border-radius: 5px;
}

    .LogoButton:hover {
        background-image: url(/resources/images/permis_de_construire_logoblackgreen.png)
    }

    .LogoButton:active {
        box-shadow: 0px 0px 5px var(--LightColor) inset;
    }

.LogoIcon {
    height: 20px;
    width: 20px;
    background-image: url(/resources/images/permis_de_construire_logoblack.png);
    background-size: cover;
    border: none;
    background-color: transparent;
    padding: 0px;
}

.Menu {
    z-index: 910;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 14px;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    margin: 0px 7px;
    max-width: calc(100vw - 105px);
}

.MenuButton {
    background-color: transparent;
    border: none;
    width: 25px;
    min-width: 25px;
    height: 25px;
    color: var(--DarkColor);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px;
    padding: 0px;
    padding-top: 2px;
    border-radius: 3px;
}

    .MenuButton:hover {
        background-color: white;
    }

    .MenuButton:active {
        box-shadow: white 0px 0px 7px inset;
    }

.ButtonInsideMenu {
    background-color: transparent;
    border: none;
    width: 100%;
    height: 25px;
    color: var(--DarkColor);
    display: flex;
    margin: 0px;
    padding: 0px 10px;
    padding-top: 2px;
    border-radius: 3px;
}

    .ButtonInsideMenu:hover {
        box-shadow: var(--PrimaryColor) 0px 5px 7px -6px;
    }

    .ButtonInsideMenu:active {
        box-shadow: var(--MidGrayColor) 0px 5px 7px -6px;
    }

.Button2 {
    background-color: transparent;
    border: none;
    width: 25px;
    height: 25px;
    color: var(--DarkColor);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px;
    padding: 0px 10px;
    padding-top: 2px;
    border-radius: 3px;
}

    .Button2:hover {
        background-color: var(--LightColor);
        color: white;
    }

    .Button2:active {
        box-shadow: white 0px 0px 7px inset;
    }

#menuButtonActive {
    background-color: white;
}

.SocialMediaButton {
    background-color: transparent;
    border: none;
    width: 25px;
    height: 25px;
    color: var(--DarkColor);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px;
    padding: 0px;
    padding-top: 2px;
    border-radius: 3px;
    font-size: 20px;
}

    .SocialMediaButton:hover {
        color: var(--LightColor);
    }

    .SocialMediaButton:active {
        color: var(--MidGrayColor);
    }

.MenuBg {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    z-index: 900;
    overflow: auto;
    padding: 70px;
}

.MenuWindow {
    z-index: 910;
    position: fixed;
    top: 84px;
    right: 0px;
    max-width: calc(100vw - 20px);
    width: contain;
    display: flex;
    flex-direction: column;
    padding: 5px;
    border-radius: 5px;
    background-color: white;
    justify-content: center;
    align-items: center;
    min-width: fit-content;
    margin-left: 12px;
    margin-right: 12px;
}

#menuWindow {
}

.MenuTab {
    width: 260px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: start;
    border: none;
    border-radius: 5px;
    box-shadow: var(--LightColor) 0px 5px 5px -4px;
    margin-bottom: 10px;
}

.MenuToolsDetails {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 0px;
    height: 0px;
    transition: height 0.15s ease-in-out, width 0.15s ease-in-out;
    align-items: end;
}

    .MenuToolsDetails.expanded {
        height: 115px;
        width: 260px;
        padding: 5px;
        border-radius: 5px;
    }

.MenuContactDetails {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 0px;
    height: 0px;
    transition: height 0.15s ease-in-out, width 0.35s ease-in-out;
    align-items: end;
}

    .MenuContactDetails.expanded {
        height: 100px;
        width: 246px;
        padding: 5px;
        border: solid 1px var(--LightColor);
        border-radius: 5px;
        margin-bottom: 10px;
    }

.LoginMenuWindow {
    z-index: 910;
    position: fixed;
    top: 84px;
    right: 0px;
    max-width: calc(100vw - 20px);
    width: contain;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    border-radius: 5px;
    background-color: white;
    justify-content: start;
    align-items: start;
    min-width: fit-content;
    margin-left: 12px;
    margin-right: 12px;
}

#loginMenuWindow {
}

.SearchBox {
    background-color: transparent;
    border: none;
    width: 25px;
    height: 25px;
    color: var(--DarkColor);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px;
    padding: 0px;
    padding-top: 2px;
    border-radius: 3px;
    transition: width 0.3s ease-in-out;
    overflow: hidden;
}

    .SearchBox.expanded {
        width: 250px;
        max-width: calc(100vw - 155px);
        min-width: 50px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

.SearchButton {
    background-color: transparent;
    border: none;
    width: 25px;
    height: 25px;
    color: var(--DarkColor);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px;
    padding: 0px;
    padding-top: 2px;
    border-radius: 3px;
    font-size: 15px;
}

    .SearchButton:hover {
        background-color: white;
    }

    .SearchButton:active {
        box-shadow: white 0px 0px 7px inset;
    }

.SearchInput {
    border: none;
    outline: none;
    padding: 5px;
    width: 100%;
    font-size: 15px;
}

.SearchSuggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    max-width: calc(100vw - 155px);
    min-width: 50px;
    background: white;
    list-style: none;
    padding: 5px;
    margin: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 10;
    font-size: 12px;
}

    .SearchSuggestions li {
        padding: 5px;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        .SearchSuggestions li:hover {
            background: var(--LightColor);
            border-radius: 5px;
        }

.Tabs {
    z-index: 910;
    position: fixed;
    bottom: 0px;
    left: 15px;
    margin: 15px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.TabButton {
    background-color: transparent;
    border: none;
    border-radius: 20px;
    font-size: 11px;
    color: var(--DarkColor);
    padding: 2px 7px;
    border-radius: 3px;
    /*text-shadow: 0px 0px 1px var(--DarkColor), 0px 0px 2px var(--DarkColor), 0px 0px 3px var(--DarkColor);*/
}

    .TabButton:hover {
        background-color: white;
    }

    .TabButton:active {
        box-shadow: white 0px 0px 7px inset;
    }

.ActiveTabButton {
    background-color: transparent;
    border: none;
    border-radius: 20px;
    font-size: 11px;
    color: var(--DarkColor);
    padding: 2px 7px;
    text-decoration: underline;
    border-radius: 3px;
}

    .ActiveTabButton:hover {
        background-color: white;
    }

    .ActiveTabButton:active {
        box-shadow: white 0px 0px 7px inset;
    }

.LinkButton {
    background-color: transparent;
    border: none;
    border-radius: 20px;
    font-size: 11px;
    color: var(--DarkColor);
    padding: 1px 3px;
    border-radius: 3px;
}

    .LinkButton:hover {
        color: white;
        background-color: var(--LightColor);
    }

    .LinkButton:active {
        box-shadow: white 0px 0px 7px inset;
    }


.Font2 {
    font-family: "IBM Plex Mono", serif;
}

.Font3 {
    font-family: "Montserrat", serif;
    font-weight: 900;
}

.Font4 {
    font-family: Tahoma;
    font-weight: 900;
}

.HomeMain {
    width: 100%;
    height: 100dvh;
    /*margin-top: -44px;*/
}

.HomeContent {
    background-image: url('/resources/images/permis_de_construire_bg.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100dvh;
    text-align: center;
    justify-content: center;
    gap: 0px;
    color: var(--DarkColor);
    padding: 44px 0px;
    padding-top: 99px;
}

.HomeBrandName {
    font-size: 20px;
    font-weight: 200;
    padding-bottom: 0px;
    text-shadow: 0px 0px 1px white, 0px 0px 2px white, 0px 0px 3px white, 0px 0px 4px white, 0px 0px 5px white, 0px 0px 6px white;
}

.HomeQuestion {
    padding-top: 0px;
    padding-bottom: 0px;
    font-family: "Geologica", serif;
    font-size: 5.9vw;
    font-weight: 900;
}

.HomeMessage {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 10px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0px 0px 1px white, 0px 0px 2px white, 0px 0px 3px white, 0px 0px 4px white, 0px 0px 5px white, 0px 0px 6px white;
}

.HomeMessageParagraph {
    padding: 0px;
    width: 100%;
}

.HomeMessageParagraphInner {
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
}

.HomeButtons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.GeneralButton {
    height: 34px;
    padding-left: 20px;
    padding-right: 20px;
    color: white;
    background-color: var(--DarkColor);
    border-radius: 25px;
    border: solid 1px var(--LightColor);
    font-weight: 400;
}

    .GeneralButton:hover {
        background-color: var(--MidGrayColor);
    }

    .GeneralButton:active {
        background-color: var(--MidGrayColor);
        box-shadow: var(--LightColor) 0px 0px 7px inset;
    }

.btnStyle {
    border: solid 1px var(--LightColor);
    border-radius: 5px;
    padding: 7px;
    background-color: var(--DarkColor);
    color: var(--LightColor);
}

    .btnStyle:hover {
        border-color: var(--DarkColor);
        color: white;
        box-shadow: var(--DarkColor) 0px 0px 3px;
    }

    .btnStyle:active {
        border-color: var(--LightColor);
        box-shadow: var(--LightColor) 0px 0px 7px inset;
    }

    .btnStyle:disabled {
        background-color: var(--LightColor);
        color: white;
    }

        .btnStyle:disabled:hover {
            border-color: var(--LightColor);
            color: white;
            box-shadow: none;
        }

.TitleDownButton {
    border: none;
    height: 20px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    border-radius: 3px;
    background-color: transparent;
    margin-bottom: 10px;
}

    .TitleDownButton:hover {
        opacity: 0.5;
    }

    .TitleDownButton:active {
        opacity: 0.7;
    }

    .TitleDownButton i {
        position: relative;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        animation: moveDown 1.5s infinite ease-in-out;
    }

@keyframes moveDown {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    80% {
        top: 20px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

.QuoteBgImage {
    background-image: url('/resources/images/permis_de_construire_bg.webp');
    background-size: cover;
    background-position: center;
    position: fixed;
    z-index: -10;
    width: 100%;
    min-height: 100dvh;
    height: 100dvh;
}

.QuoteBg {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100dvh;
    align-items: center;
    gap: 0px;
    color: var(--DarkColor);
    padding: 44px 0px;
    padding-top: 99px;
}

.MainContainer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 740px;
}

.InnerContainer {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: solid 1px var(--LightColor);
    border-radius: 7px;
    padding: 10px;
}

.InnerContainer2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: solid 1px lightgray;
    border-radius: 7px;
    padding: 10px;
}

.InnerContainerExtra {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

p {
    padding: 5px;
    margin: 0px;
    color: var(--DarkColor);
}

.EnabledInput {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.DisabledInput {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    color: #a4a4a4;
}

#frSelect {
    width: 100%;
    max-width: 400px;
}

#frLabel {
    width: 140px;
    min-width: 140px;
}

.frSelect {
    width: 100%;
    max-width: 400px;
}

.frLabel {
    width: 140px;
    min-width: 140px;
}

#costTypeLabel {
    width: 160px;
    min-width: 160px;
}

.CostFieldDescription {
    background-color: var(--BgColor);
    padding: 3px 10px;
    border-radius: 5px;
}

.ProjectPhaseSelectionBox {
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--DarkColor);
}

.Star {
    font-size: 11px;
    position: relative;
    top: -4px;
}

.TermsOfServiceBg {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    z-index: 120;
    overflow: auto;
    padding: 70px 26px;
    padding-top: 124px;
}

.TermsOfService {
    overflow: auto;
    border: solid 1px var(--DarkColor);
    border-radius: 5px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.95);
}

h5 {
    margin-top: 15px;
}

h4 {
    margin-top: 15px;
}

.GeneralBgImage {
    background-image: url('/resources/images/permis_de_construire_bg.webp');
    background-size: cover;
    background-position: center;
    position: fixed;
    z-index: -10;
    width: 100%;
    min-height: 100dvh;
    height: 100dvh;
}

.GeneralBg {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: min-content;
    min-height: 100dvh;
    align-items: center;
    gap: 0px;
    color: var(--DarkColor);
    padding: 44px 0px;
    padding-top: 99px;
}

.GeneralMainContainer {
    position: relative;
    max-width: calc(100vw - 17px);
    min-width: min-content;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    overflow: auto;
    background-color: var(--BgColor);
    margin: 20px;
    border: solid 1px var(--LightColor);
    border-radius: 5px;
}

.FormContainer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    overflow: auto;
}

.FormValidationFail {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    overflow: auto;
    background-color: var(--BgColor);
    border: solid 1px var(--ErrorColor);
    border-radius: 5px;
    text-align: center;
    padding: 5px;
}

.ArticlesMainContainer {
}

.ArticlesList {
    position: relative;
    width: calc(100vw - 17px);
    min-width: 200px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    overflow: auto;
}

.ArticleCard {
    position: relative;
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    background-color: var(--BgColor);
    border: solid 1px var(--LightColor);
    border-radius: 5px;
    align-items: center;
    overflow: hidden;
}

.AcTitle {
    width: 100%;
    background-color: var(--DarkColor);
    color: white;
    font-size: 20px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
    white-space: nowrap;
}

.AcDescriptionContainer {
    margin: 10px;
    width: 90%;
    height: 70px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.AcDescription {
    width: 100%;
    color: var(--MidGrayColor);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.AcPicture {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: end;
    align-items: end;
    padding: 5px;
}

#AcButton {
    margin: 10px;
    margin-top: 0px;
    display: flex;
    align-items: center;
}

.ArticleContainer {
    position: relative;
    max-width: 1200px;
    min-width: min-content;
    display: flex;
    flex-direction: column;
    gap: 0px;
    justify-content: center;
    overflow: auto;
}

.ArticlePicture {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: end;
    align-items: end;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 3px;
}

.ArticleLogoWhite {
    width: 40px;
    height: 40px;
    background-image: url('/resources/images/permis_de_construire_logowhite.png');
    background-size: cover;
}

.ErrorDialogBg {
    z-index: 800;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100dvh;
    min-height: min-content;
    min-width: min-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 44px 0px;
    padding-top: 99px;
    overflow: auto;
}

.ErrorDialogContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: lightgoldenrodyellow;
    border-radius: 5px;
    height: fit-content;
    min-height: 120px;
    gap: 10px;
    padding: 20px;
}

.ErrorDialogContent {
    background-color: lightsalmon;
    min-height: fit-content;
    overflow: auto;
}

.LoginInputContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.LoginLabel {
    width: 95px;
    text-align: end;
}

.LoginInput {
    width: 200px;
}

.CookieBannerContainer {
    position: fixed;
    width: 100%;
    min-width: min-content;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(247, 247, 247, 0.7);
    z-index: 9999;
    bottom: 44px;
    left: 0px;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.CookieBanner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 15px;
    width: contain;
    min-width: 220px;
    max-width: calc(100vw - 17px);
    background-color: white;
    border: solid 1px var(--LightColor);
    border-radius: 5px;
    margin: 5px 15px;
    justify-content: center;
    align-items: center;
}

.CookiePolicyButtons {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: var(--BgPrimaryColor);
    display: flex;
    justify-content: center;
    gap: 20px;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.SiteMapContainer {
    position: relative;
    max-width: 1200px;
    min-width: min-content;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    overflow: auto;
}

.CarouselMainContainer {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 500px;
    max-height: 80dvh;
    min-height: 320px;
    justify-content: center;
    gap: 20px;
    overflow-x: hidden;
}

.CarouselMainDivider {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.CarouselContainer {
    position: relative;
    max-width: 100vw;
}

.CarouselCardContainer {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.CarouselImgContainer {
    display: flex;
    width: 100vw;
    height: 70dvh;
    min-height: 280px;
    max-height: 460px;
    overflow-x: hidden;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0;
    gap: 10px;
}

    .CarouselImgContainer img {
        flex: 0 0 60%;
        width: 60vw;
        min-width: 300px;
        object-fit: cover;
        border-radius: 8px;
        transition: transform 0.5s ease, opacity 0.5s ease;
        scroll-snap-align: center;
    }


.CarouselCardContentContainer {
    background-color: var(--BgErrorColor);
    position: absolute;
    width: 100vw;
    height: 70dvh;
    min-height: 280px;
    max-height: 460px;
    display: flex;
    justify-content: center;
    z-index: 50;
}

.CarouselCardContent {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    min-width: 300px;
    height: 100%;
    padding: 20px;
    color: white;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.7) 100% );
    z-index: 10;
    box-sizing: border-box;
    border-radius: 8px;
    text-align: left;
    opacity: 0;
    animation: imgOverlayIn 1s forwards;
}

.CarouselCardContentInvisible {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    min-width: 300px;
    height: 100%;
    padding: 20px;
    color: white;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.7) 100% );
    z-index: 10;
    box-sizing: border-box;
    border-radius: 8px;
    text-align: left;
    opacity: 0;
}

.CarouselContent {
    position: relative;
    bottom: 0px;
    left: 0px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: start;
    width: 100%;
}

.CarouselButton {
    display: flex;
    flex-direction: column;
    width: fit-content;
    min-width: fit-content;
    height: 34px;
    padding: 0px 20px;
    padding-top: 1px;
    color: var(--DarkColor);
    background-color: white;
    border-radius: 25px;
    font-weight: 400;
    border: none;
    justify-content: center;
    align-items: center;
}

    .CarouselButton:hover {
        background-color: var(--BgColor);
    }

    .CarouselButton:active {
        background-color: var(--BgColor);
        box-shadow: white 0px 0px 7px;
    }

.CarouselDotsContainer {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.ActiveCarouselDotButton {
    width: 10px;
    height: 10px;
    background-color: var(--DarkColor);
    border-radius: 10px;
    padding: 0px;
    border: none;
}

.CarouselDotButton {
    width: 10px;
    height: 10px;
    background-color: var(--MidGrayColor);
    border-radius: 10px;
    padding: 0px;
    border: none;
}

    .CarouselDotButton:hover {
        opacity: 0.2;
    }

    .CarouselDotButton:active {
        opacity: 0.2;
        box-shadow: var(--MidGrayColor) 0px 0px 7px;
    }

.CarouselPlayButton {
    position: absolute;
    display: flex;
    right: 20px;
    height: 20px;
    width: 20px;
    z-index: 50;
    font-size: 18px;
    padding: 0px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: none;
    color: var(--MidGrayColor);
}

    .CarouselPlayButton:hover {
        opacity: 0.2;
    }

    .CarouselPlayButton:active {
        opacity: 0.2;
        box-shadow: var(--MidGrayColor) 0px 0px 7px;
    }

.CarouselImgFadedLeft {
    cursor: pointer;
    animation: fadeOutLeft 0.5s forwards;
}

.CarouselImgFadedRight {
    cursor: pointer;
    animation: fadeOutRight 0.5s forwards;
}

.CarouselImgFadedCenter {
    opacity: 1;
    animation: fadeIn 1s forwards;
}

@keyframes fadeOutLeft {
    0% {
        mask-image: linear-gradient(to right, transparent 0%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 100%);
    }

    5% {
        mask-image: linear-gradient(to right, transparent 5%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 5%, black 100%);
    }

    10% {
        mask-image: linear-gradient(to right, transparent 10%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 10%, black 100%);
    }

    15% {
        mask-image: linear-gradient(to right, transparent 15%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 15%, black 100%);
    }

    20% {
        mask-image: linear-gradient(to right, transparent 20%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 20%, black 100%);
    }

    25% {
        mask-image: linear-gradient(to right, transparent 25%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 25%, black 100%);
    }

    30% {
        mask-image: linear-gradient(to right, transparent 30%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 30%, black 100%);
    }

    35% {
        mask-image: linear-gradient(to right, transparent 35%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 35%, black 100%);
    }

    40% {
        mask-image: linear-gradient(to right, transparent 40%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 40%, black 100%);
    }

    45% {
        mask-image: linear-gradient(to right, transparent 45%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 45%, black 100%);
    }

    50% {
        mask-image: linear-gradient(to right, transparent 50%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 50%, black 100%);
    }

    55% {
        mask-image: linear-gradient(to right, transparent 55%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 55%, black 100%);
    }

    60% {
        mask-image: linear-gradient(to right, transparent 55%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 60%, black 100%);
    }

    65% {
        mask-image: linear-gradient(to right, transparent 65%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 65%, black 100%);
    }

    70% {
        mask-image: linear-gradient(to right, transparent 70%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 70%, black 100%);
    }

    75% {
        mask-image: linear-gradient(to right, transparent 70%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 70%, black 100%);
    }

    80% {
        mask-image: linear-gradient(to right, transparent 70%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 70%, black 100%);
    }

    85% {
        mask-image: linear-gradient(to right, transparent 70%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 70%, black 100%);
    }

    90% {
        mask-image: linear-gradient(to right, transparent 70%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 70%, black 100%);
    }

    95% {
        mask-image: linear-gradient(to right, transparent 70%, black 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 70%, black 100%);
    }

    100% {
        mask-image: linear-gradient(to right, transparent 70%, black 98%);
        -webkit-mask-image: linear-gradient(to right, transparent 70%, black 98%);
    }
}

@keyframes fadeOutRight {
    0% {
        mask-image: linear-gradient(to left, transparent 0%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 0%, black 100%);
    }

    5% {
        mask-image: linear-gradient(to left, transparent 5%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 5%, black 100%);
    }

    10% {
        mask-image: linear-gradient(to left, transparent 10%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 10%, black 100%);
    }

    15% {
        mask-image: linear-gradient(to left, transparent 15%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 15%, black 100%);
    }

    20% {
        mask-image: linear-gradient(to left, transparent 20%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 20%, black 100%);
    }

    25% {
        mask-image: linear-gradient(to left, transparent 25%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 25%, black 100%);
    }

    30% {
        mask-image: linear-gradient(to left, transparent 30%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 30%, black 100%);
    }

    35% {
        mask-image: linear-gradient(to left, transparent 35%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 35%, black 100%);
    }

    40% {
        mask-image: linear-gradient(to left, transparent 40%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 40%, black 100%);
    }

    45% {
        mask-image: linear-gradient(to left, transparent 45%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 45%, black 100%);
    }

    50% {
        mask-image: linear-gradient(to left, transparent 50%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 50%, black 100%);
    }

    55% {
        mask-image: linear-gradient(to left, transparent 55%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 55%, black 100%);
    }

    60% {
        mask-image: linear-gradient(to left, transparent 55%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 60%, black 100%);
    }

    65% {
        mask-image: linear-gradient(to left, transparent 65%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 65%, black 100%);
    }

    70% {
        mask-image: linear-gradient(to left, transparent 70%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 70%, black 100%);
    }

    75% {
        mask-image: linear-gradient(to left, transparent 70%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 70%, black 100%);
    }

    80% {
        mask-image: linear-gradient(to left, transparent 70%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 70%, black 100%);
    }

    85% {
        mask-image: linear-gradient(to left, transparent 70%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 70%, black 100%);
    }

    90% {
        mask-image: linear-gradient(to left, transparent 70%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 70%, black 100%);
    }

    95% {
        mask-image: linear-gradient(to left, transparent 70%, black 100%);
        -webkit-mask-image: linear-gradient(to left, transparent 70%, black 100%);
    }

    100% {
        mask-image: linear-gradient(to left, transparent 70%, black 98%);
        -webkit-mask-image: linear-gradient(to left, transparent 70%, black 98%);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0.5;
        mask-image: none;
        -webkit-mask-image: none;
    }

    100% {
        opacity: 1;
    }
}

@keyframes imgOverlayIn {
    0% {
        opacity: 0.0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInPromo {
    0% {
        opacity: 0;
        mask-image: none;
        -webkit-mask-image: none;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeOutPromo {
    0% {
        opacity: 1;
        mask-image: none;
        -webkit-mask-image: none;
    }

    100% {
        opacity: 0;
    }
}

.AsbestosMainContainer{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.AsbestosRoomContainer {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: solid 3px var(--LightColor);
    border-radius: 7px;
    padding: 10px;
}

.AsbestosAddAreaContainer {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 10px;
    align-items: center;
    border: none;
}

.AsbestosRoomTitle {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.AsbestosRoomInfoContainer {
    margin-left: 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.AsbestosAaTopFields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;    
}

.AsbestosAaField {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: end;
    width: 330px;
}

.AsbestosMaterialContainer {
    display: flex;
    flex-direction: row;
    gap: 10px;
    border: solid 1px var(--LightColor);
    border-radius: 7px;
    padding: 10px;
}

.AsbestosMaterialTitle {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 200px;
}

.AsbestosMaterialFieldsContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.AsbestosMaterialField {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: end;
    width: 170px;
}



@media screen and (min-width: 500px) {
    .HomeQuestion {
        font-size: 30px;
    }

    .HomeMessageParagraphInner {
        flex-direction: row;
    }
}

@media screen and (min-width: 600px) {

    .InnerContainer {
        flex-direction: row;
        gap: 20px;
    }

    .InnerContainerExtra {
        flex-direction: row;
        gap: 15px;
    }

    .CookieBanner {
        flex-direction: row;
        gap: 20px;
    }
}

@media screen and (min-width: 800px) {

    .HomeQuestion {
        font-size: 4vw;
    }

    .TermsOfServiceBg {
        padding: 70px 70px;
        padding-top: 124px;
    }
}

@media screen and (min-width: 1200px) {
    .HomeQuestion {
        font-size: 48px;
    }

    .HomeMessageParagraph {
        font-size: 18px;
    }
}


.ViewProjectPopUpWindow {
    z-index: 100;
    position: fixed;
    bottom: 50px;
    right: 20px;
    background-color: white;
    display: flex;
    flex-direction: row;
    width: 210px;
    height: 70px;
    border: solid 1px var(--LightColor);
    border-radius: 10px;
    padding: 4px;
    font-size: 11px;
}

.ViewProjectPopUpWindowCloseButton {
    z-index: 110;
    position: absolute;
    top: -7px;
    right: -7px;
    background-color: black;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 15px;
    height: 15px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    color: white;
    padding: 0px;
    padding-top: 0px;
}

    .ViewProjectPopUpWindowCloseButton:hover {
        box-shadow: var(--DarkColor) 0px 0px 3px;
    }

    .ViewProjectPopUpWindowCloseButton:active {
        border-color: var(--LightColor);
        box-shadow: var(--LightColor) 0px 0px 7px inset;
    }

.ViewProjectPopUpText {
    text-align: left;
}

.ViewProjectPopUpImage {
    position: absolute;
    right: 4px;
    width: 60px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    background-image: url('/resources/images/permis_de_construire_project.jpg');
    background-size: contain;
}

.ViewProjectBimBg {
    z-index: 120;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: var(--BgColor);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100dvh;
}

.ViewProjectBimWindow {
    background-color: white;
    color: black;
    width: calc(100vw - 40px);
}


#Architect {
}

    #Architect:hover {
        text-shadow: 0px 0px 1px var(--PrimaryColor);
    }


.ToggleButtonContainer {
    width: 38px;
    min-width: 38px;
    height: 20px;
    position: relative;
}

.ToggleButtonCheckbox {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.ToggleButtonSwitch {
    width: 100%;
    height: 100%;
    display: block;
    background-color: var(--LightColor);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.ToggleButtonSlider {
    width: 14px;
    height: 14px;
    position: absolute;
    left: calc(50% - 14px/2 - 8px);
    top: calc(50% - 14px/2);
    border-radius: 50%;
    background: white;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.15), 0px 3px 1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease-out;
    cursor: pointer;
}

.ToggleButtonCheckbox:checked + .ToggleButtonSwitch {
    background-color: var(--PrimaryColor);
}

    .ToggleButtonCheckbox:checked + .ToggleButtonSwitch .ToggleButtonSlider {
        left: calc(50% - 14px/2 + 8px);
        top: calc(50% - 14px/2);
    }

@-webkit-keyframes indicator {
    30% {
        opacity: 0;
    }

    0% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        border: 3px solid #60d480;
        left: -68%;
    }
}

@keyframes indicator {
    30% {
        opacity: 0;
    }

    0% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        border: 3px solid #60d480;
        left: -68%;
    }
}
