@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


.card-text {
    margin-bottom: 0.25rem;
}
.showSelectedOnly {
    display: none;
}

:root {
    --main-font: "Montserrat";
    --inactive-color: #df6e80;
    --background-light: #fff;
    --background-gray: #f8f8f8;
    --background-highlight: #eee;
    --text-dark-gray: #363636;
    --text-light-gray: #707070;

    --primary-color: #216b66;
    --primary-bg: #23807B;
    --primary-rgb: 37, 89, 167;
    --primary-lite: #2A948E;
    --primary-extra-lite: #D0F0ED;
    --table-primary-lite: #A2D5D2;
    --table-primary-extra-lite: #BEE2DF;
    --secondary-color: #666666;
    --pure-white: #ffffff;
    --white: #F4F4F4;
    --white-bg: #E2E2E2;
    --red: #C0666E;
    --hover-bg: #DFDDDD;
    --tab-bg: #C1C1C1;
    --text-bg: #E6E6E6;
    --bs-black: #212529;
    --bs-gray: #6c757d;

    --inactive-color: var(--primary-extra-lite);

    --warning: #a08a5c;
    --warning-bg: #f9f4e3;

    --success: #3e5336;
    --success-bg: #def2d6;
}

body {
    font-family: var(--main-font), -apple-system, BlinkMacSystemFont, San Francisco, Roboto, Segoe UI, Helvetica Neue, sans-serif;
    color: var(--text-dark-gray);
    background-color: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--main-font), -apple-system, BlinkMacSystemFont, San Francisco, Roboto, Segoe UI, Helvetica Neue, sans-serif;
}

a {
    color: var(--primary-color);
    transition: color 0.25s;
}

a:hover, a:focus {
    color: var(--secondary-color);
}

header {
    height: 50px;
    background-color: var(--primary-color);
    background-color: var(--white);
    color: white;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    color: var(--background-light) !important;
    border: 2px solid var(--primary-color) !important;
    font-family: var(--main-font), -apple-system, BlinkMacSystemFont, San Francisco, Roboto, Segoe UI, Helvetica Neue, sans-serif !important;
}

.btn-secondary {
    background-color: var(--text-light-gray) !important;
    color: var(--background-gray) !important;
    border: 2px solid var(--text-light-gray) !important;
    font-family: var(--main-font), -apple-system, BlinkMacSystemFont, San Francisco, Roboto, Segoe UI, Helvetica Neue, sans-serif !important;
}

.btn-alt {
    background-color: var(--background-light) !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--background-light) !important;
    font-family: var(--main-font), -apple-system, BlinkMacSystemFont, San Francisco, Roboto, Segoe UI, Helvetica Neue, sans-serif !important;
}

.btn-primary:hover:not(:disabled), .btn-primary:focus:not(:disabled) {
    background-color: var(--primary-lite) !important;
    border-color: var(--primary-lite) !important;
}

button:disabled {
    background-color: var(--inactive-color) !important;
    border-color: var(--inactive-color) !important;
}

.cmp-text h2, h2 {
    margin-bottom: 8px;
    margin-top: 1pc;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

.cmp-text h3 {
    margin-bottom: 4px;
    margin-top: 1pc;
    font-size: 24px;
    font-weight: 700;
}

.cmp-text h3+h2 {
    margin-top: 24px;
}

.cmp-text h4 {
    font-weight: 700;
    color: var(--primary-color);
}

.cmp-text ol,
.cmp-text p,
.cmp-text table,
.cmp-text ul {
    margin-top: 0;
    margin-bottom: 1rem;
}

.cmp-text > :last-child {
    margin-bottom: 0;
}

.cmp-text a {
    color: var(--primary-color);
}

.cmp-text a:focus,
.cmp-text a:hover {
    color: #363636;
}

.cmp-text ol,
.cmp-text ul {
    margin-left: 0;
    margin-right: 0;
}

.cmp-text ul {
    position: relative;
    text-align: left;
    list-style: none;
}

.cmp-text ul li {
    position: relative;
    padding-left: 1.25em;
}

.cmp-text ul li:before {
    content: "";
    display: block;
    position: absolute;
    left: 5px;
}

.cmp-text ul > li {
    list-style: none;
    margin-bottom: 8px;
}

.cmp-text ul > li:before {
    width: .375em;
    height: .375em;
    top: .5625em;
    border-radius: 50%;
    background-color: currentColor;
}

.cmp-text ul > li > ul {
    margin-top: 0;
}

.cmp-text ul > li > ul > li:before {
    background: none;
    border: 1px solid;
}

/* TODO - Remove maybe?? */

/* Pulse style 1 - simple pulse */
.pulse-bg {
    background: radial-gradient(circle at center,
        rgba(255, 255, 255, .3) 0%,
        rgba(255, 255, 255, .3) 5%,
        rgba(255, 255, 255, 0) 6%,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0) 40%
    );
    background-repeat: no-repeat;
    background-position: center;
    animation: pulseExpand 1s ease-out infinite;
}

@keyframes pulseExpand {
    0% {
        background: radial-gradient(circle at center,
            rgba(255, 255, 255, .3) 0%,
            rgba(255, 255, 255, .3) 5%,
            rgba(255, 255, 255, .15) 6%,
            rgba(255, 255, 255, 0) 8%,
        )
    }
    12% {
        background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0) 9%,
            rgba(255, 255, 255, .15) 11%,
            rgba(255, 255, 255, .3) 12%,
            rgba(255, 255, 255, .3) 17%,
            rgba(255, 255, 255, .15) 18%,
            rgba(255, 255, 255, 0) 20%
        )
    }
    25% {
        background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0) 22%,
            rgba(255, 255, 255, .15) 24%,
            rgba(255, 255, 255, .3) 25%,
            rgba(255, 255, 255, .3) 30%,
            rgba(255, 255, 255, .15) 31%
            rgba(255, 255, 255, 0) 33%
        )
    }
    37% {
        background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0) 34%,
            rgba(255, 255, 255, .15) 36%,
            rgba(255, 255, 255, .3) 37%,
            rgba(255, 255, 255, .3) 42%,
            rgba(255, 255, 255, .15) 43%,
            rgba(255, 255, 255, 0) 45%
        )
    }
    50% {
        background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0) 47%,
            rgba(255, 255, 255, .15) 49%,
            rgba(255, 255, 255, .3) 50%,
            rgba(255, 255, 255, .3) 55%,
            rgba(255, 255, 255, .15) 56%,
            rgba(255, 255, 255, 0) 58%
        )
    }
    62% {
        background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0) 59%,
            rgba(255, 255, 255, .15) 61%,
            rgba(255, 255, 255, .3) 62%,
            rgba(255, 255, 255, .3) 67%,
            rgba(255, 255, 255, .15) 68%,
            rgba(255, 255, 255, 0) 70%
        )
    }
    75% {
        background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0) 74%,
            rgba(255, 255, 255, .3) 75%,
            rgba(255, 255, 255, .3) 80%,
            rgba(255, 255, 255, 0) 81%
        )
    }
    87% {
        background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0) 86%,
            rgba(255, 255, 255, .3) 87%,
            rgba(255, 255, 255, .3) 92%,
            rgba(255, 255, 255, 0) 93%
        )
    }
    100% {
        background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0) 94%,
            rgba(255, 255, 255, .3) 95%,
            rgba(255, 255, 255, .3) 100%
        )
    }
}

/* Pulse style 2 - radar pulse */
.radar-btn {
position: relative;
padding: 14px 28px;
font-size: 16px;
color: #a7f3d0;
background: #022c22;
border: 1px solid rgba(0,255,180,0.4);
border-radius: 999px;
cursor: pointer;
overflow: hidden; /* key: keeps pulses inside */
isolation: isolate; /* ensures layering behaves */
}

.radar-btn span {
position: relative;
z-index: 2; /* keep text above pulses */
}

.pulse-layer {
position: absolute;
inset: 0;
z-index: 1;
}

.pulse {
position: absolute;
inset: 0;
background: radial-gradient(circle at center,
    rgba(0, 255, 180, 0.35) 0%,
    rgba(0, 255, 180, 0.2) 15%,
    rgba(0, 255, 180, 0.08) 30%,
    rgba(0, 255, 180, 0.0) 50%
);
background-repeat: no-repeat;
background-position: center;
background-size: 0% 0%;
animation: pulse 3s linear infinite;
}

.pulse:nth-child(1) { animation-delay: 0s; }
.pulse:nth-child(2) { animation-delay: 1s; }
.pulse:nth-child(3) { animation-delay: 2s; }

@keyframes pulse {
0% {
    background-size: 0% 0%;
    opacity: 0.7;
}
100% {
    background-size: 220% 220%;
    opacity: 0;
}
}

/* Optional hover boost */
.radar-btn:hover .pulse {
animation-duration: 2s;
}

/* End */

#adresSearch input {
    border: 1px solid black !important;
}

#loginModalActions {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.map-title {
    position: absolute;
    top: 0.5em;
    left: 3.5em;
    z-index: 1;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    opacity: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    background-color: white;

    transition: opacity .5s;
}

.step-info {
    z-index: 1;
    padding: 0 .5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.alert {
    color: var(--secondary-color);
    border: 0 solid var(--background-gray);
    background-color: 2px solid var(--secondary-color);
    border-radius: 4px;
    margin: 0;
    padding: 1rem;
    height: 60px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 0.875rem;
    font-size: 1.2;
}

.alert-warning {
    color: var(--warning);
    border-color: var(--warning);
    background-color: var(--warning-bg);
}

.alert-success {
    color: var(--success);
    border-color: var(--success);
    background-color: var(--success-bg);
}

.step-instruction {
    height: 40px;
    font-size: 0.75rem;
}

.step-instruction > .alert {
    padding: .125rem;
    height: 40px;
}

#drawHere {
    width: 40px;
    height: 40px;
    overflow: hidden;
    font-size: 1.15rem;
}

#quickActions {
    height: 50px;
    padding: 0.125rem;
    display: flex;
    gap: 0.125rem
}

#quickInfo {
    width: 40px;
}

.loc-status {
    width: 40px;
    height: 40px;
    font-size: 1em;
    padding-left: .65rem;
    padding-right: .65rem;
}

.loading-screen.load-complete {
    opacity: 0;
    pointer-events: none;
    /* display: none; */
}

.locationStatus0,
.locationStatus1,
.locationStatus2,
.locationStatus3 {
    background-color: red !important;
}

.locationStatus4 {
    background-color: orange !important;
}

.locationStatus5 {
    background-color: green !important;
}

.locationStatus0.active,
.locationStatus1.active,
.locationStatus2.active,
.locationStatus3.active,
.locationStatus4.active,
.locationStatus5.active {
    color: var(--primary-color) !important;
    outline: var(--primary-color) !important;
    box-shadow: 0px 0px 2px 2px var(--primary-lite) !important;
}


/* For the Ajax loading spinner */
.modalSpinner {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .2 )
    url('images/spinner.gif')
    50% 50%
    no-repeat;
}

.logo-container {
    text-align: center;
}

.company-logo {
    max-height: 60px;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modalSpinner {
    display: block;
}

.pimped-file-input {
    display: none;
    position: relative;
}

.pimped-file-input div {
    font-size: 0.75rem;
}

.pimped-file-input button {
    opacity: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2) !important;
    border: 0;
    color: var(--primary-color) !important;
    font-weight: bold;
}

.pimped-file-input button:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.2) !important;
    color: var(--primary-color) !important;
    font-weight: bold;
}

.data-label {
    font-weight: 600;
}

.data-header {
    border-radius: .5rem .5rem 0 0;
    background-color: var(--primary-color);
    margin-bottom: 0;
    padding: .25rem 1rem;
}

.data-header > h4 {
    color: white !important;
    margin-bottom: 0;
}

.data-header + .data-list {
    border-radius: 0 0 .5rem .5rem;
}

.data-list {
    padding: 12px;
    border-radius: .5rem;
    border: 1px solid var(--primary-color);
    margin-top: 0;
    display: flex;
    flex-direction: column;
}

.data-row {
    display: flex;
}

.melding-title {
    line-height: 1;
}

.attachments {
    display: flex;
    gap: .25rem;
}

.attachments > div {
    height: 50px;
}

.attachments > div img {
    height: 100%;
}

.message-me {
    border-radius: 8px;
    background-color: #e6f8f5;
    padding: .5rem;
    align-self: flex-start;
    max-width: 100%;
    width: 100%;
}

.message-them {
    border-radius: 8px;
    background-color: #f8e6ea;
    padding: .5rem;
    align-self: flex-end;
    max-width: 100%;
    width: 100%;
}

.message-info {
    border-radius: 8px;
    background-color: #eee;
    padding: .5rem;
    align-self: center;
    max-width: 100%;
    width: 100%;
    font-size: 0.875rem;
}

.message-meta {
    display: flex;
    justify-content: space-between;
    padding-bottom: 4px;
}

.message-owner {
    font-size: 0.75rem;
    font-weight: 500;
}

.message-time {
    font-size: 0.75rem;
    font-weight: 500;
}

.message-photo {
    margin-top: 8px;
    max-width: 100%;
}

.message-photo > img {
    max-width: 100%;
}

.new-message {
    padding-bottom: 24px;
}

.new-message h3 {
    font-size: 18px;
}

.new-message > textarea {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    padding: .5rem;
}

.new-message > input {
    width: 100%;
}

.token-link {
    padding: .75rem;
    border: 1px solid #aaa;
    background-color: #eee;
    color: #111;
    cursor: pointer;
}

.token-link:hover {
    background-color: #fff;
}

.step-instruction {
    display: flex;
}

#step1error {
    
}

.layout {
    display: block;
    height: calc(100dvh - 100px);
}

.info-view {
    width: 100%;
    overflow-y: visible;
}

.big-screen {
    display: none;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 36px;
}

.template-icon-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 37px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    background-color: transparent;
    cursor: pointer;
    color: #dee2e6;
}

.dropdown-menu li:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.dropdown-menu li {
    padding: 6px;
}

.cmp-text ul > li {
    list-style: none;
    margin-bottom: 8px;
}

.cmp-text ul li {
    position: relative;
    padding-left: 1.25em;
}

.dropdown, .dropdown-center, .dropend, .dropstart, .dropup, .dropup-center {
    position: relative;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.spinner:after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border-radius: 50%;
    border: 5px solid rgba(180, 180, 180, 0.6);
    border-top-color: rgba(0, 0, 0, 0.6);
    animation: spinner 0.6s linear infinite;
}

.not-small-screen {
    display: none;
}

#drawHere {
    padding: 0.30rem 0.25rem !important;
}

@media only screen and (min-width: 350px) {
    .melding-title {
        line-height: .2;
    }
}

@media only screen and (min-width: 500px) {
    .melding-title {
        line-height: .2;
    }

    .message-me {
        width: 75%;
        max-width: 75%;
    }

    .message-them {
        width: 75%;
        max-width: 75%;
    }

    .message-info {
        width: 75%;
        max-width: 75%;
    }

    .step-instruction {
        height: 100px;
        font-size: 1rem;
    }

    .step-instruction > .alert {
        padding: 1rem;
        height: 60px;
    }

    .step-instruction {
        height: 100px
    }

    #drawHere {
        width: 140px;
        height: 60px;
        font-size: 1rem;
        padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    }

    #quickActions {
        height: 100px;
        padding: 1.25rem;
        display: flex;
        gap: 1rem
    }

    #quickInfo {
        width: 60px;
    }

    .loc-status {
        width: 60px;
        height: 60px;
        font-size: 1.5em;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .layout {
        display: flex;
        height: calc(100dvh - 150px);
    }

    .small-screen {
        display: none;
    }

    .not-small-screen {
        display: revert;
    }
}

@media only screen and (min-width: 900px) {
    .info-view {
        flex: 0 0 auto;
        width: 33.33333333%;
        height: 100%;
        overflow-y: auto;
    }

    .big-screen {
        display: block;
    }

    .melding-title {
        line-height: 1;
    }

    .message-me {
        width: 100;
        max-width: 100;
    }

    .message-them {
        width: 100;
        max-width: 100;
    }

    .message-info {
        width: 100;
        max-width: 100;
    }

    .alert {
        line-height: 24px;
        font-size: 16px
    }

}


@media only screen and (min-width: 1200px) {
    .message-me {
        width: 75%;
        max-width: 75%;
    }

    .message-them {
        width: 75%;
        max-width: 75%;
    }

    .message-info {
        width: 75%;
        max-width: 75%;
    }

    .melding-title {
        line-height: .2;
    }
}

@media only screen and (min-width: 1400px) {
    .data-list {
        padding: 24px 48px;
    }
}