/* ==========================================================
   SchoolConnect v2.0
   style.css
   DEEL 1
   Algemene opmaak
========================================================== */

/* ==========================================
   RESET
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


/* ==========================================
   BODY
========================================== */

body{

    font-family:"Comic Neue",sans-serif;

    background:#f4f7fa;

    color:#333;

    min-height:100vh;

    line-height:1.5;

    padding-bottom:80px;

}


/* ==========================================
   LINKS
========================================== */

a{

    color:#2B92B5;

    text-decoration:none;

    transition:0.25s;

}

a:hover{

    color:#51B585;

}


/* ==========================================
   CONTENT
========================================== */

#content{

    max-width:1200px;

    margin:auto;

    padding:25px;

}


/* ==========================================
   TITELS
========================================== */

h1{

    color:#2B92B5;

    margin-bottom:20px;

}

h2{

    color:#2B92B5;

    margin-bottom:20px;

}

h3{

    color:#2B92B5;

    margin-bottom:10px;

}


/* ==========================================
   PARAGRAFEN
========================================== */

p{

    margin-bottom:12px;

}


/* ==========================================
   KNOPPEN
========================================== */

button{

    background:#2B92B5;

    color:white;

    border:none;

    border-radius:10px;

    padding:12px 20px;

    cursor:pointer;

    font-size:15px;

    transition:0.25s;

    margin-bottom:20px;

}

button:hover{

    background:#51B585;

}


/* ==========================================
   ALGEMENE KAART
========================================== */

.card{

    background:white;

    border-radius:15px;

    padding:20px;

    margin-bottom:20px;

    box-shadow:

        0 3px 12px rgba(0,0,0,.10);

}


/* ==========================================
   INFO CARD
========================================== */

.infoCard{

    background:white;

    border-left:6px solid #ECC407;

    padding:20px;

    border-radius:15px;

    margin-top:20px;

    box-shadow:

        0 2px 10px rgba(0,0,0,.08);

}


/* ==========================================
   ERROR CARD
========================================== */

.error{

    background:#fff0f0;

    border-left:6px solid #E4572E;

    padding:20px;

    margin-top:20px;

    border-radius:15px;

}


/* ==========================================
   LOADING
========================================== */

.loading{

    display:flex;

    justify-content:center;

    align-items:center;

    height:250px;

    font-size:22px;

    color:#2B92B5;

}


/* ==========================================
   LOADING OVERLAY
========================================== */

#loadingOverlay{

    position:fixed;

    inset:0;

    background:rgba(255,255,255,.75);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:9999;

}


.loadingBox{

    background:white;

    padding:30px;

    border-radius:20px;

    box-shadow:

        0 8px 30px rgba(0,0,0,.15);

}


/* ==========================================
   AFBEELDINGEN
========================================== */

img{

    max-width:100%;

    display:block;

}


/* ==========================================
   SCROLLBAR
========================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:#2B92B5;

    border-radius:20px;

}

::-webkit-scrollbar-track{

    background:#e8eef2;

}
/* ==========================================================
   SchoolConnect v2.0
   style.css
   DEEL 6
   Vaste Onderste Navigatie
========================================================== */

/* ==========================================
   NAVIGATIE BALK
========================================== */

.bottomNav{

    position:fixed;

    bottom:0;

    left:0;

    right:0;

    background:white;

    box-shadow:0 -4px 20px rgba(0,0,0,.10);

    padding:12px 20px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    z-index:1000;

}

/* ==========================================
   NAVIGATIE KNOPPEN
========================================== */

.navButton{

    flex:1;

    text-align:center;

    padding:10px 15px;

    border:none;

    background:none;

    color:#2B92B5;

    font-family:"Comic Neue",sans-serif;

    font-size:15px;

    font-weight:bold;

    cursor:pointer;

    transition:.25s;

    border-radius:12px;

    margin:0 5px;

}

.navButton:hover{

    background:#f4f7fa;

    color:#51B585;

}

.navButton.active{

    background:#2B92B5;

    color:white;

}

/* ==========================================
   UITLOGKNOP
========================================== */

.navButton.logout{

    color:#E4572E;

    max-width:120px;

}

.navButton.logout:hover{

    background:#fff0f0;

    color:#E4572E;

}

.navButton.logout svg{

    width:18px;

    height:18px;

    vertical-align:middle;

    margin-right:5px;

}

/* ==========================================
   MOBIEL
========================================== */

@media(max-width:768px){

    .bottomNav{

        padding:10px 15px;

    }

    .navButton{

        font-size:13px;

        padding:8px 10px;

        margin:0 3px;

    }

    .navButton.logout{

        max-width:80px;

    }

    .navButton.logout span{

        display:none;

    }

    .navButton.logout svg{

        margin-right:0;

    }

}
/* ==========================================================
   SchoolConnect v2.0
   style.css
   DEEL 2
   Dashboard
========================================================== */


/* ==========================================
   DASHBOARD
========================================== */

.dashboard{

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    margin-top:30px;

}


/* ==========================================
   TEGELS
========================================== */

.tegel{

    background:white;

    border-radius:20px;

    padding:35px 20px;

    cursor:pointer;

    text-align:center;

    transition:.30s;

    box-shadow:
        0 6px 20px rgba(0,0,0,.10);

    border:2px solid transparent;

}


/* ==========================================
   HOVER
========================================== */

.tegel:hover{

    transform:
        translateY(-8px);

    border-color:#2B92B5;

    box-shadow:
        0 12px 28px rgba(0,0,0,.18);

}


/* ==========================================
   ACTIVE
========================================== */

.tegel:active{

    transform:scale(.98);

}


/* ==========================================
   DASHBOARD ICON
========================================== */

.dashboardIcon{

    font-size:58px;

    margin-bottom:20px;

}


/* ==========================================
   TITEL
========================================== */

.dashboardTitel{

    font-size:22px;

    font-weight:bold;

    color:#2B92B5;

}


/* ==========================================
   EXTRA TEKST
========================================== */

.dashboardSub{

    margin-top:10px;

    color:#666;

    font-size:14px;

}


/* ==========================================
   ANIMATIE
========================================== */

@keyframes kaartIn{

    from{

        opacity:0;

        transform:
            translateY(30px);

    }

    to{

        opacity:1;

        transform:
            translateY(0);

    }

}


.tegel{

    animation:
        kaartIn .45s ease;

}


/* ==========================================
   DASHBOARD HEADER
========================================== */

.dashboardHeader{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:25px;

}


/* ==========================================
   WELKOM BLOK
========================================== */

.welkom{

    background:
        linear-gradient(
            135deg,
            #2B92B5,
            #51B585
        );

    color:white;

    border-radius:20px;

    padding:25px;

    margin-bottom:30px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.12);

}


.welkom h2{

    color:white;

    margin-bottom:10px;

}


.welkom p{

    margin:0;

    font-size:16px;

}


/* ==========================================
   BADGE
========================================== */

.badge{

    display:inline-block;

    background:#ECC407;

    color:#333;

    padding:5px 12px;

    border-radius:25px;

    font-size:13px;

    font-weight:bold;

}


/* ==========================================
   DASHBOARD VOET
========================================== */

.dashboardFooter{

    margin-top:35px;

    text-align:center;

    color:#777;

    font-size:14px;

}


/* ==========================================
   HOVER ICON
========================================== */

.tegel:hover .dashboardIcon{

    transform:scale(1.10);

    transition:.30s;

}


/* ==========================================
   DONKERE SCHADUW
========================================== */

.tegel:hover{

    background:#fbfdff;

}
/* ==========================================================
   SchoolConnect v2.0
   style.css
   DEEL 3
   Nieuws - Kalender - Documenten
========================================================== */


/* ==========================================
   NIEUWSKAARTEN
========================================== */

.news-card{

    background:White;

    border-radius:18px;

    padding:25px;

    margin-bottom:20px;

    box-shadow:
        0 5px 18px rgba(0,0,0,.08);

    transition:.30s;

    border-left:6px solid #2B92B5;

}

.news-card:hover{

    transform:translateY(-4px);

    box-shadow:
        0 12px 24px rgba(0,0,0,.12);

}

.news-date{

    font-size:13px;

    color:#777;

    font-weight:600;

    margin-bottom:6px;

}

/* ==========================================
   KALENDERKAARTEN
========================================== */

.calendar-card{

    background:white;

    border-radius:18px;

    padding:25px;

    margin-bottom:20px;

    border-left:6px solid #51B585;

    box-shadow:
        0 5px 18px rgba(0,0,0,.08);

    transition:.30s;

}

.calendar-card:hover{

    transform:translateY(-4px);

    box-shadow:
        0 12px 24px rgba(0,0,0,.12);

}

.calendar-date{

    display:inline-block;

    background:#51B585;

    color:white;

    padding:6px 12px;

    border-radius:20px;

    font-size:14px;

    margin-bottom:12px;

}


/* ==========================================
   DOCUMENTKAARTEN
========================================== */

.document-card{

    background:white;

    border-radius:18px;

    padding:25px;

    margin-bottom:20px;

    box-shadow:
        0 5px 18px rgba(0,0,0,.08);

    transition:.30s;

    border-left:6px solid #ECC407;

}

.document-card:hover{

    transform:translateY(-4px);

    box-shadow:
        0 12px 24px rgba(0,0,0,.12);

}

/* ==========================================
   DOCUMENTEN OVERZICHT
========================================== */

.documents-grid{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

}

.documents-grid .document-card{

    flex:0 0 calc(50% - 10px);

    margin:0;

}

@media (max-width:900px){

    .documents-grid .document-card{

        flex:0 0 100%;

    }

}
/* ==========================================
   DOCUMENT HEADER
========================================== */

.document-header{

    display:flex;

    align-items:center;

    gap:20px;

    margin-bottom:20px;

}


/* ==========================================
   DOCUMENT ICOON
========================================== */

.document-icon{

    width:70px;

    height:70px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:38px;

    background:#f4f7fa;

    border-radius:16px;

}


/* ==========================================
   DOCUMENT TYPE
========================================== */

.document-type{

    color:#666;

    font-size:14px;

}


/* ==========================================
   OPEN DOCUMENT LINK
========================================== */

.document-card a{

    display:inline-block;

    margin-top:12px;

    background:#2B92B5;

    color:white;

    padding:10px 18px;

    border-radius:10px;

    transition:.30s;

}

.document-card a:hover{

    background:#51B585;

}


/* ==========================================
   ALGEMENE ANIMATIE
========================================== */

.news-card,
.calendar-card,
.document-card{

    animation:
        kaartIn .35s ease;

}


/* ==========================================
   LEGE LIJST
========================================== */

.leeg{

    text-align:center;

    padding:40px;

    color:#888;

    font-size:18px;

}


/* ==========================================
   SCHEIDING
========================================== */

hr{

    border:none;

    border-top:1px solid #ddd;

    margin:30px 0;

}
/* ==========================================================
   SchoolConnect v2.0
   style.css
   DEEL 4
   Fotoalbums
========================================================== */


/* ==========================================
   ALBUM GRID
========================================== */

.albumGrid{

    display:grid;

    grid-template-columns:
        repeat(auto-fill,minmax(280px,1fr));

    gap:25px;

    margin-top:25px;

}


/* ==========================================
   ALBUM CARD
========================================== */

.albumCard{

    background:white;

    border-radius:20px;

    overflow:hidden;

    cursor:pointer;

    transition:.30s;

    box-shadow:
        0 6px 18px rgba(0,0,0,.10);

}

.albumCard:hover{

    transform:
        translateY(-8px);

    box-shadow:
        0 14px 32px rgba(0,0,0,.18);

}


/* ==========================================
   COVER FOTO
========================================== */

.albumCover{

    width:100%;

    height:220px;

    object-fit:cover;

    background:#eef3f7;

}


/* ==========================================
   ALBUM INFO
========================================== */

.albumInfo{

    padding:20px;

}


/* ==========================================
   ALBUM TITEL
========================================== */

.albumTitel{

    font-size:20px;

    font-weight:bold;

    color:#2B92B5;

    margin-bottom:10px;

}


/* ==========================================
   OMSCHRIJVING
========================================== */

.albumBeschrijving{

    color:#666;

    font-size:14px;

    margin-bottom:18px;

    line-height:1.5;

}


/* ==========================================
   INFO REGELS
========================================== */

.albumMeta{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:10px;

    font-size:14px;

    color:#777;

}


/* ==========================================
   FOTO BADGE
========================================== */

.albumBadge{

    background:#51B585;

    color:white;

    padding:6px 12px;

    border-radius:25px;

    font-size:13px;

    font-weight:bold;

}


/* ==========================================
   DATUM BADGE
========================================== */

.albumDatum{

    color:#888;

    font-size:13px;

}


/* ==========================================
   ALBUM HEADER
========================================== */

.albumHeader{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}


/* ==========================================
   LEERJAAR KAART
========================================== */

.jaarCard{

    background:white;

    border-radius:18px;

    padding:30px;

    text-align:center;

    cursor:pointer;

    transition:.30s;

    box-shadow:
        0 5px 18px rgba(0,0,0,.08);

}

.jaarCard:hover{

    transform:translateY(-6px);

    background:#2B92B5;

    color:white;

}

.jaarCard:hover h3{

    color:white;

}


/* ==========================================
   KLAS KAART
========================================== */

.klasCard{

    background:white;

    border-radius:18px;

    padding:30px;

    text-align:center;

    cursor:pointer;

    transition:.30s;

    box-shadow:
        0 5px 18px rgba(0,0,0,.08);

}

.klasCard:hover{

    transform:translateY(-6px);

    background:#51B585;

    color:white;

}

.klasCard:hover h3{

    color:white;

}


/* ==========================================
   COVER OVERLAY
========================================== */

.albumOverlay{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    padding:18px;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,.70)
        );

    color:white;

}


/* ==========================================
   COVER CONTAINER
========================================== */

.albumImageContainer{

    position:relative;

}


/* ==========================================
   HOVER ZOOM
========================================== */

.albumImageContainer{

    overflow:hidden;

}

.albumCover{

    transition:
        transform .35s;

}

.albumCard:hover .albumCover{

    transform:scale(1.08);

}


/* ==========================================
   LEGE ALBUMS
========================================== */

.geenAlbums{

    text-align:center;

    padding:60px;

    color:#888;

    font-size:20px;

}


/* ==========================================
   TERUG KNOP
========================================== */

.backButton{

    display:inline-flex;

    align-items:center;

    gap:10px;

    background:#2B92B5;

    color:white;

    padding:12px 22px;

    border-radius:12px;

    cursor:pointer;

    transition:.30s;

    margin-bottom:25px;

}

.backButton:hover{

    background:#51B585;

}


/* ==========================================
   ALBUM ANIMATIE
========================================== */

.albumCard{

    animation:
        kaartIn .45s ease;

}
/* ==========================================================
   SchoolConnect v2.0
   style.css
   DEEL 5
   Fotogalerij
========================================================== */


/* ==========================================
   FOTO GRID
========================================== */

.photoGrid{

    display:grid;

    grid-template-columns:
        repeat(auto-fill,minmax(220px,1fr));

    gap:20px;

    margin-top:25px;

}


/* ==========================================
   FOTO KAART
========================================== */

.photoCard{

    position:relative;

    overflow:hidden;

    border-radius:18px;

    cursor:pointer;

    background:white;

    box-shadow:
        0 5px 15px rgba(0,0,0,.10);

    transition:.30s;

}

.photoCard:hover{

    transform:
        translateY(-6px);

    box-shadow:
        0 12px 28px rgba(0,0,0,.18);

}


/* ==========================================
   FOTO
========================================== */

.photoCard img{

    width:100%;

    height:220px;

    object-fit:cover;

    transition:
        transform .40s;

}

.photoCard:hover img{

    transform:scale(1.10);

}


/* ==========================================
   FOTO OVERLAY
========================================== */

.photoOverlay{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    padding:15px;

    color:white;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,.75)
        );

    opacity:0;

    transition:.30s;

}

.photoCard:hover .photoOverlay{

    opacity:1;

}


/* ==========================================
   FULLSCREEN VIEWER
========================================== */

.photoViewer{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.92);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    animation:
        fadeViewer .25s ease;

}


/* ==========================================
   FOTO IN VIEWER
========================================== */

.photoViewer img{

    max-width:92%;

    max-height:90%;

    border-radius:15px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.45);

}


/* ==========================================
   SLUITKNOP
========================================== */

.viewerClose{

    position:absolute;

    top:20px;

    right:25px;

    width:48px;

    height:48px;

    border-radius:50%;

    background:rgba(255,255,255,.18);

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:28px;

    cursor:pointer;

    transition:.30s;

}

.viewerClose:hover{

    background:#E4572E;

}


/* ==========================================
   VORIGE / VOLGENDE
========================================== */

.viewerPrev,
.viewerNext{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:60px;

    height:60px;

    border-radius:50%;

    background:rgba(255,255,255,.15);

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

    cursor:pointer;

    transition:.30s;

}

.viewerPrev{

    left:25px;

}

.viewerNext{

    right:25px;

}

.viewerPrev:hover,
.viewerNext:hover{

    background:#2B92B5;

}


/* ==========================================
   FOTO INFO
========================================== */

.viewerInfo{

    position:absolute;

    bottom:25px;

    left:50%;

    transform:translateX(-50%);

    color:white;

    background:rgba(0,0,0,.45);

    padding:12px 22px;

    border-radius:25px;

    font-size:15px;

}


/* ==========================================
   DOWNLOADKNOP
========================================== */

.viewerDownload{

    position:absolute;

    top:20px;

    left:25px;

    background:#51B585;

    color:white;

    padding:12px 18px;

    border-radius:12px;

    cursor:pointer;

    transition:.30s;

}

.viewerDownload:hover{

    background:#2B92B5;

}


/* ==========================================
   LOADER BIJ FOTO'S
========================================== */

.photoLoading{

    display:flex;

    justify-content:center;

    align-items:center;

    height:250px;

    font-size:20px;

    color:#2B92B5;

}


/* ==========================================
   GEEN FOTO'S
========================================== */

.noPhotos{

    text-align:center;

    padding:70px;

    color:#888;

    font-size:20px;

}


/* ==========================================
   ANIMATIES
========================================== */

@keyframes fadeViewer{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}

@keyframes zoomFoto{

    from{

        transform:scale(.92);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}

.photoViewer img{

    animation:
        zoomFoto .25s ease;

}
/* ==========================================================
   SchoolConnect v2.0
   style.css
   DEEL 6
   Responsive ontwerp
========================================================== */


/* ==========================================
   TABLET
========================================== */

@media screen and (max-width:1024px){

    #content{

        padding:20px;

    }

    .dashboard{

        grid-template-columns:
            repeat(2,1fr);

    }

    .albumGrid{

        grid-template-columns:
            repeat(2,1fr);

    }

    .photoGrid{

        grid-template-columns:
            repeat(3,1fr);

    }

    .welkom{

        padding:22px;

    }

}


/* ==========================================
   KLEINE TABLETS
========================================== */

@media screen and (max-width:768px){

    #content{

        padding:18px;

    }

    h1{

        font-size:28px;

    }

    h2{

        font-size:24px;

    }

    .dashboard{

        grid-template-columns:1fr;

    }

    .albumGrid{

        grid-template-columns:1fr;

    }

    .photoGrid{

        grid-template-columns:
            repeat(2,1fr);

    }

    .dashboardHeader{

        flex-direction:column;

        align-items:flex-start;

        gap:15px;

    }

    .document-header{

        flex-direction:column;

        align-items:flex-start;

    }

    .albumMeta{

        flex-direction:column;

        align-items:flex-start;

        gap:10px;

    }

    .viewerPrev{

        left:10px;

    }

    .viewerNext{

        right:10px;

    }

}


/* ==========================================
   SMARTPHONE
========================================== */

@media screen and (max-width:480px){

    body{

        font-size:15px;

    }

    #content{

        padding:15px;

    }

    h1{

        font-size:24px;

    }

    h2{

        font-size:21px;

    }

    h3{

        font-size:18px;

    }

    button{

        width:100%;

    }

    .dashboardIcon{

        font-size:46px;

    }

    .dashboardTitel{

        font-size:19px;

    }

    .photoGrid{

        grid-template-columns:1fr;

    }

    .photoCard img{

        height:240px;

    }

    .albumCover{

        height:200px;

    }

    .viewerPrev,
    .viewerNext{

        width:48px;

        height:48px;

        font-size:24px;

    }

    .viewerClose{

        width:42px;

        height:42px;

        font-size:24px;

    }

    .viewerDownload{

        padding:10px 14px;

        font-size:14px;

    }

    .viewerInfo{

        width:90%;

        text-align:center;

        font-size:13px;

    }

}


/* ==========================================
   EXTRA KLEINE SCHERMEN
========================================== */

@media screen and (max-width:360px){

    .dashboardTitel{

        font-size:17px;

    }

    .dashboardSub{

        font-size:13px;

    }

    .albumTitel{

        font-size:18px;

    }

    .photoCard img{

        height:210px;

    }

}


/* ==========================================
   LANDSCHAP GSM
========================================== */

@media screen and (max-height:500px){

    .photoViewer img{

        max-height:80vh;

    }

    .viewerInfo{

        bottom:10px;

    }

}


/* ==========================================
   TOUCH APPARATEN
========================================== */

@media (hover:none){

    .tegel:hover,
    .albumCard:hover,
    .photoCard:hover{

        transform:none;

    }

    .photoOverlay{

        opacity:1;

    }

}


/* ==========================================
   PRINT
========================================== */

@media print{

    body{

        background:white;

    }

    button,
    .viewerClose,
    .viewerPrev,
    .viewerNext,
    .viewerDownload{

        display:none !important;

    }

    .card,
    .news-card,
    .calendar-card,
    .document-card{

        box-shadow:none;

        border:1px solid #ccc;

    }

}/* ==========================================================
   SchoolConnect v2.0
   style.css
   DEEL 7
   Finale afwerking
========================================================== */


/* ==========================================
   FADE IN
========================================== */

.fadeIn{

    animation:fadeIn .40s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}


/* ==========================================
   SLIDE UP
========================================== */

.slideUp{

    animation:slideUp .35s ease;

}

@keyframes slideUp{

    from{

        opacity:0;
        transform:translateY(20px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}


/* ==========================================
   FORMULIEREN
========================================== */

input,
select,
textarea{

    width:100%;

    padding:12px 15px;

    border:1px solid #d8dde3;

    border-radius:10px;

    font-family:inherit;

    font-size:15px;

    margin-bottom:15px;

    transition:.25s;

}

input:focus,
select:focus,
textarea:focus{

    outline:none;

    border-color:#2B92B5;

    box-shadow:
        0 0 0 3px rgba(43,146,181,.15);

}


/* ==========================================
   LABELS
========================================== */

label{

    display:block;

    margin-bottom:6px;

    font-weight:bold;

    color:#444;

}


/* ==========================================
   TABELLEN
========================================== */

table{

    width:100%;

    border-collapse:collapse;

    margin-top:20px;

}

th{

    background:#2B92B5;

    color:white;

    padding:14px;

    text-align:left;

}

td{

    padding:12px;

    border-bottom:1px solid #e6e6e6;

}

tr:hover{

    background:#f7fbfd;

}


/* ==========================================
   BADGES
========================================== */

.badgeGreen{

    background:#51B585;

    color:white;

}

.badgeBlue{

    background:#2B92B5;

    color:white;

}

.badgeYellow{

    background:#ECC407;

    color:#333;

}

.badgeRed{

    background:#E4572E;

    color:white;

}


/* ==========================================
   UTILITIES
========================================== */

.textCenter{

    text-align:center;

}

.textRight{

    text-align:right;

}

.textLeft{

    text-align:left;

}

.mt10{

    margin-top:10px;

}

.mt20{

    margin-top:20px;

}

.mt30{

    margin-top:30px;

}

.mb10{

    margin-bottom:10px;

}

.mb20{

    margin-bottom:20px;

}

.mb30{

    margin-bottom:30px;

}

.hidden{

    display:none !important;

}


/* ==========================================
   FLEX HELPERS
========================================== */

.flex{

    display:flex;

}

.flexBetween{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.flexCenter{

    display:flex;

    justify-content:center;

    align-items:center;

}

.flexColumn{

    display:flex;

    flex-direction:column;

}


/* ==========================================
   SCHADUWEN
========================================== */

.shadowSmall{

    box-shadow:
        0 2px 8px rgba(0,0,0,.08);

}

.shadowMedium{

    box-shadow:
        0 8px 20px rgba(0,0,0,.12);

}

.shadowLarge{

    box-shadow:
        0 15px 35px rgba(0,0,0,.18);

}


/* ==========================================
   RONDE HOEKEN
========================================== */

.roundSmall{

    border-radius:10px;

}

.roundMedium{

    border-radius:18px;

}

.roundLarge{

    border-radius:25px;

}


/* ==========================================
   AFBEELDINGEN
========================================== */

.imgRounded{

    border-radius:15px;

}

.imgShadow{

    box-shadow:
        0 8px 22px rgba(0,0,0,.12);

}


/* ==========================================
   SELECTIEKLEUR
========================================== */

::selection{

    background:#2B92B5;

    color:white;

}


/* ==========================================
   TOETSENBORD FOCUS
========================================== */

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{

    outline:3px solid #ECC407;

    outline-offset:2px;

}


/* ==========================================
   EINDE
========================================== */
/* ==========================================
   HEADER
========================================== */

header{

    background:#2B92B5;

    color:white;

    padding:15px 25px;

    box-shadow:
        0 4px 12px rgba(0,0,0,.15);

}

.headerContainer{

    max-width:1200px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:60px;

    height:60px;

    border-radius:15px;

}

.logo h1{

    color:white;

    margin:0;

}

.logo small{

    opacity:.9;

}

.headerRight{

    font-size:18px;

    font-weight:bold;

}
/* ==========================================
   NIEUWS V2
========================================== */

.news-header{
    margin-bottom:12px;
}

.news-date{
    color:#777;
    font-size:13px;
    font-weight:600;
    margin-bottom:8px;
}

.news-title{

    font-size:24px;

    font-weight:700;

    color:#2B92B5;

    line-height:1.3;

    margin:8px 0 16px;

}

.news-photo{

    margin:18px 0;

}

.news-photo img{

    display:block;

    width:100%;

    max-height:320px;

    object-fit:cover;

    border-radius:14px;

}

.news-photo img{
    width:100%;
    display:block;
    border-radius:14px;
}

.news-message{

    font-size:15px;

    line-height:1.7;

    color:#444;

    margin:16px 0 18px;

    display:-webkit-box;

    -webkit-box-orient:vertical;

    -webkit-line-clamp:3;

    line-clamp:3;

    overflow:hidden;

    text-overflow:ellipsis;

    min-height:5.1em;

}

.news-message.expanded{

    display:block;

    overflow:visible;

}

.news-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-top:1px solid #ECECEC;

    padding-top:14px;

    margin-top:8px;

}

.news-photo-count{

    font-size:13px;

    color:#777;

    font-weight:500;

}

.news-readmore{
    margin:0;
}
.news-title{
    font-size:24px;
    font-weight:700;
    color:#2B92B5;
    margin:10px 0 16px;
    line-height:1.3;
}
.news-photo{
    margin:18px 0;
}

.news-photo img{
    display:block;
    width:100%;
    max-height:320px;
    object-fit:cover;
    border-radius:14px;
}
/* ==========================================
   NIEUWS V2 - TEKST & FOOTER
========================================== */

.news-message{
    font-size:15px;
    line-height:1.7;
    color:#444;
    margin:16px 0 18px;
}

.news-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid #ececec;
    padding-top:14px;
}

.news-photo-count{
    font-size:14px;
    color:#666;
}

.news-author{

    font-size:13px;

    color:#888;

}

.news-readmore{

    background:#2B92B5;

    color:white;

    border:none;

    border-radius:10px;

    padding:10px 18px;

    cursor:pointer;

    font-weight:600;

    transition:.2s;

}

.news-readmore:hover{

    background:#237A98;

}

.news-date{
    font-size:15px;
    font-weight:700;
    color:#666;
    margin-bottom:12px;
}

.news-title{
    font-size:26px;
    margin-bottom:18px;
}
.news-message{

    font-size:15px;

    line-height:1.7;

    color:#444;

    margin:16px 0 18px;

    display:-webkit-box;

    -webkit-box-orient:vertical;

    -webkit-line-clamp:3;

    line-clamp:3;

    overflow:hidden;

    text-overflow:ellipsis;

}

.news-message.expanded{

    display:block;

    overflow:visible;

}
/* ==========================================
   NIEUWS V2 - SAMENVATTING
========================================== */

.news-message{

    font-size:15px;

    line-height:1.7;

    color:#444;

    margin:16px 0 18px;

    display:-webkit-box;

    -webkit-box-orient:vertical;

    -webkit-line-clamp:3;

    line-clamp:3;

    overflow:hidden;

    text-overflow:ellipsis;

}

/* Toon volledige tekst in popup */
.news-message.expanded{

    display:block;

    overflow:visible;

}
/* ==========================================
   NIEUWS MODAL
========================================== */

.news-modal{

    position:fixed;
    inset:0;

    display:none;

    justify-content:center;
    align-items:center;

    background:rgba(0,0,0,.55);
    backdrop-filter:blur(5px);

    z-index:9999;

    padding:30px;

}

.news-modal.active{

    display:flex;

}

/* ==========================================
   CONTENT
========================================== */

.news-modal-content{

    position:relative;

    width:100%;
    max-width:900px;

    max-height:90vh;

    overflow:auto;

    background:#fff;

    border-radius:18px;

    padding:30px;

    box-shadow:0 20px 60px rgba(0,0,0,.25);

    animation:newsModalOpen .25s ease;

}

@keyframes newsModalOpen{

    from{

        opacity:0;
        transform:translateY(20px) scale(.98);

    }

    to{

        opacity:1;
        transform:translateY(0) scale(1);

    }

}

/* ==========================================
   SLUITKNOP
========================================== */

.news-modal-close{

    position:absolute;

    top:16px;
    right:18px;

    width:40px;
    height:40px;

    border:none;

    border-radius:50%;

    background:#2B92B5;

    color:#fff;

    font-size:22px;

    cursor:pointer;

    transition:.2s;

}

.news-modal-close:hover{

    background:#237A98;

}

/* ==========================================
   TITEL
========================================== */

.news-modal-title{

    color:#2B92B5;

    font-size:30px;

    font-weight:700;

    margin-bottom:10px;

}

.news-modal-date{

    color:#777;

    font-size:14px;

    margin-bottom:20px;

}

/* ==========================================
   FOTO VIEWER
========================================== */

.news-modal-image{

    margin:20px 0;

}

.news-viewer{

    width:100%;

}

.news-viewer-main{

    margin-bottom:16px;

}

.news-viewer-main img{

    display:block;

    width:100%;

    max-height:500px;

    object-fit:cover;

    border-radius:14px;

}

/* ==========================================
   TOOLBAR
========================================== */

.news-viewer-toolbar{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    margin-bottom:18px;

}

.news-viewer-toolbar button{

    margin:0;

}

/* ==========================================
   THUMBNAILS
========================================== */

.news-viewer-thumbs{

    display:flex;

    gap:10px;

    overflow-x:auto;

    padding:5px 0;

}

.news-thumb{

    width:70px;

    height:70px;

    min-width:70px;

    max-width:70px;

    overflow:hidden;

    border-radius:10px;

    cursor:pointer;

    border:2px solid transparent;

    flex:0 0 70px;

    transition:.2s;

}

.news-thumb.active{

    border-color:#2B92B5;

}

.news-thumb img{

    width:100% !important;

    height:100% !important;

    max-height:none !important;

    object-fit:cover;

    display:block;

}

/* ==========================================
   TEKST
========================================== */

.news-modal-text{

    margin-top:24px;

    font-size:16px;

    line-height:1.8;

    color:#444;

    white-space:pre-wrap;

}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:768px){

    .news-modal{

        padding:15px;

    }

    .news-modal-content{

        padding:20px;

    }

    .news-modal-title{

        font-size:24px;

    }

    .news-thumb{

        width:60px;

        height:60px;

        min-width:60px;

        max-width:60px;

        flex:0 0 60px;

    }

}


/* Shared module header: dashboard button, icon and title/subtitle. */
.moduleHeader:is(.newsHero, .photosHero){
    display:grid;
    grid-template-columns:auto auto minmax(0,1fr);
    align-items:center;
    gap:20px;
    text-align:left;
}

.moduleHeader > .newsBackButton{
    position:relative;
    z-index:2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    width:auto;
    max-width:100%;
    min-height:44px;
    margin:0;
    padding:10px 14px;
    border:1px solid rgba(43,146,181,.25);
    border-radius:10px;
    background:#eef8fb;
    color:#237A98;
    font-family:"Comic Neue",sans-serif;
    font-size:14px;
    font-weight:700;
    line-height:1.3;
    text-align:left;
    text-decoration:none;
    cursor:pointer;
}

.moduleHeader > .newsBackButton:hover{
    background:#d9edf4;
    color:#237A98;
}

.moduleHeader > .newsBackButton:focus-visible{
    outline:2px solid #237A98;
    outline-offset:3px;
}

.moduleHeader > .moduleHeaderText{
    min-width:0;
    overflow-wrap:anywhere;
}

@media (max-width:600px){
    .moduleHeader:is(.newsHero, .photosHero){
        grid-template-columns:minmax(0,100px) 32px minmax(0,1fr);
        gap:8px;
    }
    .moduleHeader > .newsBackButton{
        padding:8px;
        font-size:12px;
    }
    .moduleHeader > .heroIcon{
        width:32px;
        height:32px;
    }
    .moduleHeader > .moduleHeaderText h1{
        font-size:20px;
    }
}

/* AVConnect header en bestaande vaste navigatie. */
body:has(> .bottomNav){
    padding-bottom:calc(96px + env(safe-area-inset-bottom, 0px));
}

.headerContainer:has(.headerUser){
    gap:20px;
    flex-wrap:wrap;
}

.headerUser{
    margin-left:auto;
    max-width:100%;
    min-width:0;
    text-align:right;
    overflow-wrap:anywhere;
    color:#fff;
}

.headerUser strong,
.headerUser span{
    display:block;
}

.headerUser strong{
    font-size:18px;
}

.headerUser span{
    font-size:14px;
    opacity:.9;
}

.bottomNav{
    width:calc(100% - 24px);
    max-width:560px;
    margin:0 auto;
    bottom:12px;
    gap:4px;
    padding:6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    border:1px solid #e8eef5;
    border-radius:16px;
    box-shadow:0 4px 24px rgba(39,76,110,.12);
}

.bottomNav .navButton{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    min-width:0;
    min-height:52px;
    max-width:none;
    margin:0;
    padding:6px 4px;
    font-size:13px;
    line-height:1.25;
    color:#526779;
}

.bottomNav .navButton svg{
    width:22px;
    height:22px;
    margin:0;
    flex-shrink:0;
}

.bottomNav .navButton span{
    display:block;
}

.bottomNav .navButton:hover,
.bottomNav .navButton.active{
    background:#edf6fc;
    color:#237A98;
}

.bottomNav .navButton.logout{
    color:#c83d30;
}

.bottomNav .navButton.logout:hover{
    background:#fff1ef;
    color:#c83d30;
}

@media(max-width:600px){
    .headerContainer:has(.headerUser) .logo{
        gap:10px;
        min-width:0;
    }
    .headerContainer:has(.headerUser) .logo img{
        width:48px;
        height:48px;
        object-fit:contain;
        flex-shrink:0;
    }
    .headerContainer:has(.headerUser) .logo h1{
        font-size:25px;
    }
    .headerContainer:has(.headerUser) .logo small{
        display:block;
        font-size:12px;
    }
}
