/* 1. RESET */
html, body {
	overflow-x: hidden !important;
    height: 100%;
    margin: 0;
    padding: 0;
	overflow-x: hidden !important;
}


*, *::before, *::after {
    box-sizing: inherit;
}

/* 2. STRUCTUUR */
#frame-inner {
    /* height: 100%; */
    display: flex;
    flex-direction: column;
}

#content {
    flex: 0 1 auto;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

/* #frame-inner, #content { */
    /* height: 100%; */
/* } */
.centerwrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0px;
}

/* 3. FOTO VIEWER */
.imgwrap {
    padding: 10px 10px 0 10px; /* GEEN padding onderaan */
    margin: 0;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgwrap img {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    display: block;
}


/* 5. NAVIGATIE */
#navwrap {
    position: relative;
    width: 100%;
    padding: 12px 0;                 /* smallere balk */
    background-color: #D8E3E9;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
}

#navprev, #navnext {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#navprev { left: 10px; }
#navnext { right: 10px; }

#navcenter {
    text-align: center;
    line-height: 1.3;
    max-width: 70%;
    margin: 0 auto;
    font-size: 1.2em;
}
.navline1 {
    white-space: nowrap;            /* alles op één regel */
    font-size: 1.2em;
    line-height: 1.2;
}

.navline2 {
    margin-top: 2px;
    font-size: 1.0em;
    line-height: 1.0;
}
.navbtn {
    display: flex;
    flex-direction: row;   /* pijl + tekst naast elkaar */
    align-items: center;   /* verticaal centreren */
    gap: 6px;              /* ruimte tussen pijl en tekst */
    border: 0;
    background: transparent;
    cursor: pointer;
}
#navnext .navtext {
    order: 1;   /* tekst eerst */
}

#navnext img {
    order: 2;   /* pijl daarna */
}


#navnext .navtext {
    order: 1;   /* tekst VOOR de pijl */
}


.titelblok {
    text-align: center;
}

.navbtn img {
    width: 45px;
    opacity: 0.8;
}

.navtext {
    font-size: 0.9em;
    color: #184E98;
    margin-top: 4px;
}
.titel {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 30px;
    margin: 5px 0 0 0;   /* compacte ruimte boven, geen ruimte links */
    padding-bottom: 20px;
}

.maten {
	font-size: 16px;
	margin-right: 20px;
	flex-direction: row;
}
#zoom_01 {
    max-width: 100%;
    max-height: calc(100vh - 140px); /* foto blijft binnen scherm + padding */
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}