﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: azure;
}

.collapsed-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.min-width-0 {
    min-width: 0;
}

/* Menu */


.dropdown-submenu {
    position: relative;
}

/* Desktop: flyout naast het item */
@media (min-width: 992px) {
    .dropdown-submenu > .dropdown-menu {
        display: none;
        position: absolute;
        top: 0;
        left: 100%;
        margin-top: -1px;
    }

    .dropdown-submenu.show > .dropdown-menu {
        display: block;
    }

    /* zorg dat er ruimte is en niets afgekapt wordt */
    .navbar, .navbar-collapse, .dropdown-menu {
        overflow: visible !important;
    }

    .dropdown-menu {
        z-index: 1050;
    }
}

/* Mobiel: accordion, submenu klapt eronder open */
@media (max-width: 991.98px) {
    .dropdown-submenu > .dropdown-menu {
        display: none;
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        padding-left: 1rem;
        border: none;
        box-shadow: none;
    }

    .dropdown-submenu.show > .dropdown-menu {
        display: block;
    }
}

.dropdown-submenu > .dropdown-toggle::after {
    float: right;
    margin-top: 0.3em;
}

.card-title {
    margin-bottom: 1.5rem !important;
}

.btn-warning {
    margin-bottom: .3em;
}

.btn-info {
    margin-bottom: .3em;
}

.btn-danger {
    margin-bottom: .3em;
}

/*.footer a {
    margin-left: 1em;
}*/

.action-btn {
    width: 38px;
    height: 31px; /* zelf even finetunen */
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

    .action-btn i {
        font-size: 1rem;
        line-height: 1;
    }

.trip-description {
    min-width: 200px;
    max-width: 350px;
    white-space: normal;
}

.table-striped > tbody > tr:nth-of-type(2n+1) {
    vertical-align: top;
}

.alert {
    padding: .5rem .5rem;
}

/* ==========================================================================
   Login-pagina banner
   ========================================================================== */

.login-row {
    min-height: 60vh;
}

.login-banner {
    max-height: 420px;
    width: auto;
}

@media (max-width: 767.98px) {
    .login-banner {
        max-height: 220px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background-color: var(--brand-navy);
    color: #EAF3FB;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

    .footer a {
        color: var(--brand-gold);
    }

/* ------------------------------------------------------------------------------
     << Helpteksten:
    ---------------------------------------------------------------------------*/

.help-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    padding: 4px;
    display: inline-flex;
}

.help-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1050;
    align-items: center;
    justify-content: center;
}

    .help-modal-overlay.show {
        display: flex;
    }

.help-modal {
    background: #fff;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 24px;
    border-radius: 8px;
    position: relative;
}

.help-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}
/* ------------------------------------------------------------------------------
     >> Helpteksten:
    ---------------------------------------------------------------------------*/
