.card-text {
    margin-bottom: 0.25rem;
}
.showSelectedOnly {
    display: none;
}


:root {
    --primary-color: #c30e2e;
    --secondary-color: #cf3e57;
    --inactive-color: #df6e80;
    --background-light: #fff;
    --background-gray: #f8f8f8;
    --background-highlight: #eee;
    --text-dark-gray: #363636;
    --text-light-gray: #707070;
}

body {
    font-family: MuseoSansRounded, -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: MuseoSlab, -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: 65px;
    background-color: var(--primary-color);
    color: white;
    display: none;
    flex-direction: row-reverse;
    align-items: center;
    padding: 0 1rem;
}

header.show {
    display: flex;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    color: var(--background-light) !important;
    border: 2px solid var(--primary-color) !important;
    font-family: MuseoSansRounded, -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: MuseoSansRounded, -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: MuseoSansRounded, -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(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

button:disabled {
    background-color: var(--inactive-color) !important;
    border-color: var(--inactive-color) !important;
}

.cmp-text h2 {
    margin-bottom: 8px;
    margin-top: 1pc;
    color: #c30e2e;
    font-size: 32px;
    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: #c30e2e;
}

.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: #c30e2e;
}

.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;
}

#adresSearch input {
    border: 1px solid black !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;
}

/* 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%;
}

#step1error {
    
}

.layout {
    display: block;
    height: 75vh;
}

.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;
}

@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%;
    }
}

@media only screen and (min-width: 900px) {
    .layout {
        display: flex;
        height: calc(100vh - 56px);
    }

    .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;
    }
}


@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;
    }
}