﻿body {
}

.standaardTabel {
    width: 100%;
    border-collapse: collapse;
}

    .standaardTabel td, .standaardTabel th {
        border: none;
        padding: 8px;
        text-align: left;
        vertical-align: top;
    }

        .standaardTabel td:nth-child(1), .standaardTabel th:nth-child(1) {
            width: 5%;
        }

        .standaardTabel td:nth-child(2), .standaardTabel th:nth-child(2) {
            width: 20%;
            color: white
        }

        .standaardTabel td:nth-child(3), .standaardTabel th:nth-child(3) {
            width: 1%;
        }

        .standaardTabel td:nth-child(4), .standaardTabel th:nth-child(4) {
            width: 70%;
        }

        .standaardTabel td:nth-child(5), .standaardTabel th:nth-child(5) {
            width: 4%;
        }

        /* Stel de hoogte van de cel in op het resterende deel van het scherm */
        .standaardTabel td#iframeContainer {
            height: calc(100vh - 2 * 60px); /* 8px is de totale padding van boven en onder */
            max-height: calc(100vh - 2 * 60px); /* Voeg een maximumhoogte toe om overflow te voorkomen */
            overflow: auto; /* Voeg scrollbalken toe indien nodig */
        }

.tussenTabel {
    width: 80%;
    border-collapse: collapse;
    margin-left: 100px;
    margin-right: 100px;
    margin-top: 100px;
    margin-bottom: 100px;
}

    .tussenTabel td, .tussenTabel th {
        border: solid;
        border-color: rgba(255, 255, 0, 0.0);
        border-width: thick;
        padding: 3px;
        text-align: left;
        vertical-align: top;
    }

        .tussenTabel td:nth-child(1), .tussenTabel th:nth-child(1) {
            width: 25%;
            color: white
        }

        .tussenTabel td:nth-child(2), .tussenTabel th:nth-child(2) {
            width: 25%;
            color: white
        }

        .tussenTabel td:nth-child(3), .tussenTabel th:nth-child(3) {
            width: 25%;
            color: white
        }

        .tussenTabel td:nth-child(4), .tussenTabel th:nth-child(4) {
            width: 25%;
            color: white
        }


/* Stel de hoogte van de cel in op het resterende deel van het scherm */
/*.tussenTabel td#iframeContainer {
            height: calc(100vh - 2 * 60px);*/ /* 8px is de totale padding van boven en onder */
/*max-height: calc(100vh - 2 * 60px);*/ /* Voeg een maximumhoogte toe om overflow te voorkomen */
/*overflow: auto;*/ /* Voeg scrollbalken toe indien nodig */
/*}*/


/*..............................................Masterpage */
.footer, .push {
    position: fixed;
    clear: both;
    height: 75px;
    clear: both;
    bottom: 0;
    width: 100%;
}

.full-height {
    min-height: 100vh;
}

.menu {
    position: fixed;
    top: 0px;
    left: 80%;
    z-index: 9999;
}

    .menu a:hover {
        background-color: rgba(150, 90, 175, 0.8);
    }

    .menu ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    .menu li {
        display: inline-block;
        margin-left: 2px;
        position: relative;
    }

    .menu a {
        color: #fff;
        text-decoration: none;
        padding: 10px;
        display: block;
        background-color: rgba(100, 50, 125, 0.6);
        border-radius: 5px;
    }

    .menu li:hover ul {
        display: block;
    }

    .menu ul.dropdown {
        display: none;
        position: absolute;
        top: 30px;
        left: 0px;
        background-color: rgba(100, 50, 125, 0.6);
        padding: 0;
    }

        .menu ul.dropdown li {
            display: block;
            width: 200px;
        }

            .menu ul.dropdown li a {
                padding: 10px;
            }

.mastertable {
    width: 100%;
    height: 110%;
    background-color: rgba(0, 0, 0, 0.60);
    border-collapse: collapse;
}

.active {
    border: 2px solid green;
}

.frame {
    width: 1600px;
    margin-right: -1250px;
    margin-bottom: -500px;
    height: 800px;
    border: 0;
    -ms-transform: scale(0.25);
    -moz-transform: scale(0.25);
    -o-transform: scale(0.25);
    -webkit-transform: scale(0.25);
    transform: scale(0.25);
    -ms-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

.ggtabel {
    width: 100%;
    height: 100vh;
    background-image: url(../Afbeeldingen/GoodGovernance.png);
    background-size: cover;
    background-position: center center;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: center;
    vertical-align: bottom;
    /* Browserprefixes voor oudere browsers */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.tbFrame {
    width: 80%; /* Of een percentage voor een responsieve layout */
    height: 500px;
    top: 80px;
    overflow: auto;
    left: 100px;
    position: absolute;
}
    .tbFrame iframe {
        width: 100%;
        height: 100%; /* Past de hoogte automatisch aan */
        border: none;
    }

.btSluit {
    font-size: 18pt;
    font-weight: 700;
    color: indigo;
    top: 600px;
    left: 200px;
    position: absolute;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    iframe {
        height: 70vh; /* 70% van de viewporthoogte op tablets en telefoons */
    }

    .tbFrame {
        overflow: auto; /* Zorg ervoor dat scrollbars zichtbaar zijn indien nodig */
    }
}

/* Forceer scrolling en schaalbaarheid in Safari */
iframe {
    -webkit-overflow-scrolling: touch; /* Zorgt voor vloeiend scrollen */
    overflow: scroll;
}

