:root {
    --afm-banner-height: 10vh;
    --header-height: 68px;
    --primary-color: #263c6b;
}

.hidden {
    display: none;
}

.overlay.open {
    z-index: 1000;
}

p.buttons {
    display: flex;
    justify-content: space-between;
}

ul {
    list-style: none;
}

table {
    width: 100%;
}


.overlay.full table button:last-of-type {
    float: unset;
    margin: unset;
    width: unset;
}

body #kavelkaart-holder #lotmap-container #lotmap-container-top {
    margin-bottom: unset;
}

body #content-container {
    position: absolute !important;
    top: var(--header-height) !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: unset !important;
    height: unset !important;
}

body.language-nl #content-container {
    position: absolute !important;
    top: calc(var(--afm-banner-height) + var(--header-height)) !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: unset !important;
    height: unset !important;
}

#block-project-menu.open ul.links li.menu-item {
    padding: 10px 15px !important;
}

body.fullscreen #full-screen-button {
    opacity: 0.5;
}

#kavelkaart-holder
    #lotmap-container
    #lotmap-container-bottom
    #lotmap-container-left
    #lotmap-filters-holder.filtersopen {
    left: unset;
}

#kavelkaart-holder
    #lotmap-container
    #lotmap-container-bottom
    #lotmap-container-left
    #lotmap-filters-holder,
#kavelkaart-holder
    #lotmap-container
    #lotmap-container-bottom
    #lotmap-container-left
    #lotmap-legend-holder {
    left: -2000px;
    max-height: 100%;
}

#kavelkaart-holder
    #lotmap-container
    #lotmap-container-bottom
    #lotmap-container-left
    #lotmap-filters-holder
    #selection-filters
    div.title-line::after,
#kavelkaart-holder
    #lotmap-container
    #lotmap-container-bottom
    #lotmap-container-left
    #lotmap-legend-holder
    h3::after {
    height: 2px;
}

#map-overlay-filter button {
    font-size: 18px;
    font-weight: normal;
}

#map-overlay-filter {
    padding: 0;
    left: 30px;
}

#map-overlay-filter button.btn-showlegend {
    position: absolute;
    right: 0;
    margin-right: 0;
}

body h3 {
    font-size: 17px;
    font-weight: bold;
}
.lotmap-filters {
    overflow-y: unset !important;
}
body #kavelkaart-holder #lotmap-container #lotmap-container-bottom,
body
    #kavelkaart-holder
    #lotmap-container
    #lotmap-container-bottom
    #lotmap-container-left {
    max-width: unset !important;
    width: unset !important;
    height: unset !important;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
body
    #kavelkaart-holder
    #lotmap-container-bottom
    #lotmap-container-left
    #lotmap-filters-holder
    .lotmap-filters
    button[name="house-model"]:nth-child(even) {
    margin-right: 0;
    float: right;
    width: 48%;
}
body
    #kavelkaart-holder
    #lotmap-container-bottom
    #lotmap-container-left
    #lotmap-filters-holder
    .lotmap-filters
    button[name="house-model"]:nth-child(odd) {
    margin-left: 0;
    width: 48%;
}

body
    #kavelkaart-holder
    #lotmap-container-bottom
    #lotmap-container-left
    #lotmap-filters-holder
    .lotmap-filters
    button[name="person-count"] {
    margin-right: 15px;
}
body
    #kavelkaart-holder
    #lotmap-container-bottom
    #lotmap-container-left
    #lotmap-filters-holder
    .lotmap-filters
    button[name="person-count"]:nth-child(5) {
    margin-right: 0;
}

#map-overlay-filter button.btn-showfilters[data-status="active"],
#map-overlay-filter button.btn-showlegend[data-status="active"] {
    opacity: unset;
}

#map-overlay-filter button.btn-showfilters.active,
#map-overlay-filter button.btn-showfilters:hover,
#map-overlay-filter button.btn-showlegend.active,
#map-overlay-filter button.btn-showlegend:hover {
    opacity: 1;
}

#map-overlay-filter button.btn-showfilters.inactive,
#map-overlay-filter button.btn-showlegend.inactive {
    opacity: 0.6;
}

@media (max-width: 768px) {
    #loginMenuButton span {
        display: none;
    }
}

@media (min-width: 767px) {
    #map-overlay-filter {
        width: 270px;
        padding: 0;
        top: 18px;
        left: 30px;
    }
    body #kavelkaart-holder #lotmap-container #lotmap-container-bottom {
        top: 50px;
    }
    #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.legendopen,
    #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.filtersopen {
        top: 70px;
        bottom: 30px;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left {
        max-width: unset !important;
        width: 270px;
        height: unset !important;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: unset;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.legendopen,
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.filtersopen {
        width: 270px;
    }

    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left
        #lotmap-legend-holder,
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left
        #lotmap-filters-holder {
        top: 0;
        bottom: unset;
        height: unset;
        max-height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        transition: all 500ms;
        left: -2000px;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left
        #lotmap-legend-holder
        .lotmap-filters,
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left
        #lotmap-filters-holder
        .lotmap-filters {
        max-height: unset;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.legendopen
        #lotmap-filters-holder {
        left: -2000px;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.filtersopen
        #lotmap-legend-holder {
        left: -2000px;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.filtersopen
        #lotmap-filters-holder {
        left: 30px;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.legendopen
        #lotmap-legend-holder {
        left: 30px;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left {
        top: 60px;
        bottom: 10px;
    }
}

@media (max-width: 1023px) {
    #header-wrapper #header > .center {
        height: 67px;
    }
    #header-wrapper #header > .center {
        height: 67px;
    }
    body #kavelkaart-holder #lotmap-container #lotmap-container-bottom {
        top: 45px;
    }
}

@media (max-width: 767px) {
    #full-screen {
        display: none !important;
    }
    body #content-container {
        top: var(--header-height) !important;
    }
    body.language-nl #content-container {
        top: calc(var(--header-height) + var(--afm-banner-height)) !important;
    }
    body #kavelkaart-holder #lotmap-container #lotmap-container-bottom {
        top: 0px;
    }
    #map-overlay-filter {
        width: unset;
        left: 10px;
        right: 10px;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left {
        top: 60px;
        bottom: 10px;
        right: unset;
        left: unset;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.legendopen {
        right: 0;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.filtersopen {
        left: 0;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.legendopen,
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.filtersopen {
        top: 60px;
        bottom: 10px;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left
        #lotmap-legend-holder,
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left
        #lotmap-filters-holder {
        top: 0;
        overflow-y: auto;
        transition: all 500ms;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left
        #lotmap-filters-holder {
        left: -2000px;
        right: unset;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left
        #lotmap-legend-holder {
        right: -2000px;
        left: unset;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.legendopen
        #lotmap-filters-holder {
        left: -2000px;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.filtersopen
        #lotmap-legend-holder {
        right: -2000px;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.legendopen
        #lotmap-legend-holder {
        right: 10px;
    }
    body
        #kavelkaart-holder
        #lotmap-container
        #lotmap-container-bottom
        #lotmap-container-left.filtersopen
        #lotmap-filters-holder {
        left: 10px;
        height: unset;
    }
    body
        #kavelkaart-holder
        #lotmap-container-bottom
        #lotmap-container-left
        #lotmap-filters-holder,
    body
        #kavelkaart-holder
        #lotmap-container-bottom
        #lotmap-container-left
        #lotmap-legend-holder,
    body
        #kavelkaart-holder
        #lotmap-container-bottom
        #lotmap-container-left
        #lotmap-filters-holder
        .lotmap-filters,
    body
        #kavelkaart-holder
        #lotmap-container-bottom
        #lotmap-container-left
        #lotmap-legend-holder
        .lotmap-filters {
        max-height: unset;
    }
}

body
    #kavelkaart-holder
    #lotmap-container-bottom
    .map-holder
    svg.svgmap.has-filtered-items
    g[data-filter-selected=""] {
    fill-opacity: 0;
    stroke-width: 0px;
}

.overlay.closed {
    display: none !important;
}

.overlay.open {
    display: block;
}

.flexbox-left-right {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between;
}
.flexbox-row,
.left,
.right {
    display: flex !important;
    justify-content: space-between;
    white-space: nowrap;
}

.pricelist-button {
    background: transparent;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: 300;
    font-size: 15px;
}

.pricelist-button:hover {
    transform: scale(1.05);
}

.pricelist-button span {
    display: inline-block;
    padding-left: 10px;
}

.pricelist-button svg g path,
.pricelist-button svg g rect {
    fill: var(--primary-color);
}
.pricelist-button .menu-label {
    color: var(--primary-color);
    position: unset;
    right: unset;
}
.fullscreen .pricelist-button svg g path,
.fullscreen .pricelist-button svg g rect,
.fullscreen .pricelist-button .menu-label {
    fill: #fff;
    color: #fff;
}
.fullscreen #full-screen {
    display: none;
}
.pricelist-button a.button {
    position: unset;
    right: unset;
    top: unset;
    background: unset;
    display: flex;
}
.pricelist-button svg {
    width: 30px;
    height: 30px;
}
#full-screen {
    float: unset !important;
}

.language-nl #afm {
    position: unset;
}

.fullscreen button[action="showBookForm"] {
    display: none !important;
}

#registerForm p:first-of-type {
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}
.container.home {
    padding-top: 2em;
}


/* login form */
#loginFormDialog {
    display: flex;
}
#loginFormDialog {
    padding: 0;
}
#loginFormDialog .half {
    margin: unset;
    padding: 1.5rem;
}
@media (max-width: 767px){
    #loginFormDialog {
        flex-direction: column;
    }
    #loginFormDialog .gutter-divider {
        border-left: 0;
        border-top: 1px solid #C7C7C7;
    }
    #loginFormDialog .gutter {
        margin-left: 0;
    }
    #loginFormDialog .half {
        width: 100%;
        margin: 0;
    }
}
/* register form */
#registerForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#registerForm p {
    width: 100%;
}
#registerForm p.full input{
    width: 100%;
}
#registerForm p:not(.full) {
    width: 45%;
    padding: 0;
}
@media (max-width: 767px) {
    #registerForm p:not(.full) {
        width: 100%;
    }
    #registerForm p:not(.full):nth-child(2n+1) {
        padding-right: 0;
        padding-left: 0;
    }
    #registerForm p:not(.full):nth-child(2n) {
        padding-right: 0;
        padding-left: 0;
    }
}

/* logos */
a#logo {
    width: 227px;
    height: 50px;
    background-size: auto 100%;
}
a#logo-mobile {
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: left;
    display: block;
    text-indent: -99999px;
    background-size: auto 100%;
}
@media (max-width : 767px) {
    a#logo {
        width: 180px;
        height: 40px;
        display: none;
    }
}
@media (min-width: 768px) {
    a#logo-mobile {
        display: none;
    }
}

/* fix for afm min height */
body.language-nl #content-container {
    top: max(122px, calc(var(--header-height) + var(--afm-banner-height))) !important;
}

/* allow customer to specify bold and italic */
b {
    font-weight: bold;
}
i {
    font-style: italic;
}
/* No wrapping of labels */
label {
    white-space: nowrap;
}

/* No red colors on errors */
.overlay .error {
    color: black;
    font-weight: bold;
}

/* fix spacing on menu */
#projectMenuButton{
    padding-left: 0;
    padding-right:0;
}

/* fix dot on button in menu */
li.menu-item {
    list-style: none;
}



#block-show-legend .button.toggle {
    color: #ffffff;
    border-radius: 20px;
}

#block-show-legend .button.toggle svg {
    background-color: #5e8c8c;
    color: #ffffff;
    border-radius: 20px;
    padding: 5px;
    width: 40px;
    height: 40px;
}
#block-show-legend .button {
    padding-top: 0;
    padding: 0;
}
@media (min-width: 768px) {
    #block-show-legend {
        display: none;
    }
}

body #mapLegend .legend-table tr td {
    padding-top: 0;
}
#mapLegend {
    line-height: 1.1em;
}
.legend-table {
    width: 100%;
}
.legend-table td {
    vertical-align: top;
    padding-bottom: .6em;
}

.qrcode {
    margin-top: 30px;
}

.extra-margin-top {
    margin-top: 50px;
}

[data-mfa-dialog] p.buttons {
    float: none;
}

[data-mfa-dialog] form input {
    line-height: unset;
}

[data-mfa-dialog] > p:first-of-type {
    margin-bottom: 15px;
}

#myInformationOverlay div span {
    margin-right: 50px;
}
