﻿/* =========================================================
   STUDENT PORTAAL
   ========================================================= */

.student-portal-main {
    width: 100%;
    min-height: 65vh;
    padding: 38px 0 65px;
    background: #ffffff;
    color: #111111;
}



/* =========================================================
   ACCENT
   ========================================================= */

.student-portal-accent {
    width: 100%;
    height: 5px;
    background: var(--red, #f20a2e);
}



/* =========================================================
   ACCENT LIJN ONDER HEADER
   ========================================================= */

.student-portal-accent {
    width: 100%;
    height: 5px;
    background: var(--red, #f20a2e);
}


/* =========================================================
   CONTENT CONTAINER
   ========================================================= */

.student-portal-content {
    width: min(1000px, calc(100% - 80px));
    margin: 0 auto;
}


    /* =========================================================
   ALGEMENE TYPOGRAFIE
   ========================================================= */

    .student-portal-content h1 {
        margin: 0 0 30px;
        color: #080808;
        font-size: 42px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: -1.2px;
    }


    .student-portal-content h2 {
        margin-top: 0;
        color: #0b0b0b;
        font-size: 28px;
        line-height: 1.1;
        font-weight: 800;
    }


    .student-portal-content h3 {
        color: #111111;
        font-size: 21px;
        line-height: 1.2;
        font-weight: 800;
    }


    .student-portal-content h4 {
        color: #111111;
        font-size: 17px;
        line-height: 1.2;
        font-weight: 800;
    }


    .student-portal-content p {
        color: #171717;
        font-size: 14px;
        line-height: 1.45;
    }


    /* =========================================================
   LINKS
   ========================================================= */

    .student-portal-content a {
        color: #111111;
    }


        .student-portal-content a:hover,
        .student-portal-content a:focus {
            color: var(--red, #f20a2e);
        }


    /* =========================================================
   CARDS
   ========================================================= */

    .student-portal-content .card {
        border: 1px solid #ededed !important;
        border-radius: 12px !important;
        background: #ffffff;
        box-shadow: none !important;
    }


    .student-portal-content .card-body {
        padding: 24px;
    }


    /* =========================================================
   FORM LABELS
   ========================================================= */

    .student-portal-content .form-label {
        margin-bottom: 6px;
        color: #111111;
        font-size: 13px;
        line-height: 1.2;
        font-weight: 700;
    }


    /* =========================================================
   INPUTS
   ========================================================= */

    .student-portal-content .form-control,
    .student-portal-content .form-select {
        min-height: 43px;
        border: 1px solid #b9b9b9;
        border-radius: 7px;
        background: #ffffff;
        color: #111111;
        font-size: 14px;
        transition: border-color .2s ease, box-shadow .2s ease;
    }


    .student-portal-content textarea.form-control {
        min-height: 120px;
        resize: vertical;
    }


    .student-portal-content .form-control:focus,
    .student-portal-content .form-select:focus {
        border-color: var(--red, #f20a2e);
        box-shadow: 0 0 0 3px rgba(242, 10, 46, .10);
    }


    /* =========================================================
   CHECKBOX / RADIO
   ========================================================= */

    .student-portal-content .form-check-input:checked {
        background-color: var(--red, #f20a2e);
        border-color: var(--red, #f20a2e);
    }


    .student-portal-content .form-check-input:focus {
        border-color: var(--red, #f20a2e);
        box-shadow: 0 0 0 3px rgba(242, 10, 46, .10);
    }


    /* =========================================================
   BUTTONS
   ========================================================= */

    .student-portal-content .btn {
        min-height: 40px;
        border-radius: 10px;
        font-weight: 700;
    }


    /* Primary */

    .student-portal-content .btn-primary {
        border: 2px solid var(--red, #f20a2e);
        background: var(--red, #f20a2e);
        color: #ffffff;
    }


        .student-portal-content .btn-primary:hover,
        .student-portal-content .btn-primary:focus {
            border-color: #c70024;
            background: #c70024;
            color: #ffffff;
        }


    /* Outline primary */

    .student-portal-content .btn-outline-primary {
        border: 2px solid var(--red, #f20a2e);
        background: #ffffff;
        color: #111111;
    }


        .student-portal-content .btn-outline-primary:hover,
        .student-portal-content .btn-outline-primary:focus {
            border-color: var(--red, #f20a2e);
            background: var(--red, #f20a2e);
            color: #ffffff;
        }


    /* Secondary */

    .student-portal-content .btn-secondary {
        border: 1px solid #cccccc;
        background: #ffffff;
        color: #111111;
    }


        .student-portal-content .btn-secondary:hover,
        .student-portal-content .btn-secondary:focus {
            border-color: #111111;
            background: #f7f7f7;
            color: #111111;
        }


    /* =========================================================
   ALERTS
   ========================================================= */

    .student-portal-content .alert {
        border-radius: 10px;
        font-size: 14px;
    }


    .student-portal-content .alert-success {
        border: 1px solid #299b57;
        background: #f3fff7;
        color: #145f31;
    }


    .student-portal-content .alert-danger {
        border: 1px solid #d9364f;
        background: #fff5f6;
        color: #a3132c;
    }


    /* =========================================================
   TABLES
   ========================================================= */

    .student-portal-content .table {
        margin-bottom: 0;
        color: #111111;
        font-size: 13px;
    }


        .student-portal-content .table thead th {
            padding-top: 12px;
            padding-bottom: 12px;
            border-bottom: 2px solid #111111;
            color: #111111;
            font-weight: 800;
        }


        .student-portal-content .table tbody td {
            vertical-align: middle;
        }


        .student-portal-content .table tbody tr:hover {
            background: #fff7f8;
        }


    /* =========================================================
   BADGES
   ========================================================= */

    .student-portal-content .badge.bg-primary {
        background-color: var(--red, #f20a2e) !important;
    }


    /* =========================================================
   PAGINATION
   ========================================================= */

    .student-portal-content .pagination {
        gap: 4px;
    }


    .student-portal-content .page-link {
        border-radius: 7px;
        color: #111111;
    }


        .student-portal-content .page-link:hover {
            color: var(--red, #f20a2e);
            background: #fff5f7;
        }


    .student-portal-content .page-item.active .page-link {
        border-color: var(--red, #f20a2e);
        background: var(--red, #f20a2e);
        color: #ffffff;
    }


    /* =========================================================
   VALIDATIE
   ========================================================= */

    .student-portal-content .text-danger {
        color: #c80021 !important;
        font-size: 12px;
    }


    /* =========================================================
   HORIZONTALE LIJN
   ========================================================= */

    .student-portal-content hr {
        border-color: #dddddd;
        opacity: 1;
    }


/* =========================================================
   STUDENT HEADER AANVULLINGEN
   ========================================================= */

/*
   Deze regels zijn bedoeld als aanvulling op jouw bestaande
   header.css. De basisclasses .main-header, .brand,
   .main-navigation, .nav-icon enz. blijven daar staan.
*/


.student-header .main-navigation {
    gap: 12px;
}


/* Account helemaal rechts */

.student-account-item {
    margin-left: 18px;
}


.student-login {
    display: flex;
    align-items: center;
}


    /* =========================================================
   LOGIN PARTIAL
   ========================================================= */

    .student-login .navbar-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        margin: 0;
    }


    .student-login .nav-item {
        display: flex;
        align-items: center;
    }


    .student-login .nav-link {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        padding: 8px 10px !important;
        color: #111111 !important;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }


        .student-login .nav-link:hover,
        .student-login .nav-link:focus {
            color: var(--red, #f20a2e) !important;
        }


    /* Button in login partial */

    .student-login form {
        margin: 0;
    }


    .student-login button {
        min-height: 40px;
        padding: 8px 12px;
        border: 2px solid var(--red, #f20a2e);
        border-radius: 9px;
        background: #ffffff;
        color: #111111;
        font-size: 12px;
        font-weight: 700;
    }


        .student-login button:hover,
        .student-login button:focus {
            background: var(--red, #f20a2e);
            color: #ffffff;
        }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .student-portal-main {
        padding-top: 32px;
        padding-bottom: 55px;
    }


    .student-portal-content {
        width: calc(100% - 60px);
    }


        .student-portal-content h1 {
            font-size: 38px;
        }


        .student-portal-content h2 {
            font-size: 26px;
        }


    /* -----------------------------------------
       Studentenheader
       ----------------------------------------- */

    .student-header .main-navigation {
        gap: 0;
    }


    .student-account-item {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #ededed;
    }


    .student-login {
        width: 100%;
    }


        .student-login .navbar-nav {
            width: 100%;
            flex-direction: column;
            align-items: stretch;
            gap: 0;
        }


        .student-login .nav-item {
            width: 100%;
        }


        .student-login .nav-link {
            width: 100%;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }


        .student-login form {
            width: 100%;
        }


        .student-login button {
            width: 100%;
            margin-top: 6px;
        }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 767.98px) {

    .student-portal-accent {
        height: 4px;
    }


    .student-portal-main {
        padding: 28px 0 45px;
    }


    .student-portal-content {
        width: calc(100% - 32px);
    }


        .student-portal-content h1 {
            margin-bottom: 24px;
            font-size: 34px;
            letter-spacing: -.8px;
        }


        .student-portal-content h2 {
            font-size: 24px;
        }


        .student-portal-content h3 {
            font-size: 20px;
        }


        .student-portal-content p {
            font-size: 14px;
            line-height: 1.5;
        }


        /* Cards */

        .student-portal-content .card-body {
            padding: 18px;
        }


        /* Formulieren */

        .student-portal-content .form-control,
        .student-portal-content .form-select {
            font-size: 16px;
        }


        /* Buttons */

        .student-portal-content .btn-primary,
        .student-portal-content .btn-outline-primary,
        .student-portal-content .btn-secondary {
            min-height: 44px;
        }


        /* Tables mogen scrollen */

        .student-portal-content .table-responsive {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
}


/* =========================================================
   ZEER KLEINE SMARTPHONE
   ========================================================= */

@media (max-width: 480px) {

    .student-portal-content {
        width: calc(100% - 24px);
    }


        .student-portal-content h1 {
            font-size: 31px;
        }


        .student-portal-content h2 {
            font-size: 22px;
        }


        .student-portal-content .card-body {
            padding: 15px;
        }
}
