﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

:root {
    --WiverBlauw: #006699;
    --WiverGrijs: #f2f2f2;
    --TekstKleur: #000000;
    --WiverRood: #cc0000;
    --LFGroen: #BED000;
    --LFBackgroundLight: #fbfcf0;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: var(--TekstKleur);
}

    a:hover {
        text-decoration: none;
        font-weight: 500;
    }

    a:disabled {
        cursor: not-allowed;
    }

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

html {
    font-size: 14px;
    color: var(--TekstKleur);
    position: relative;
    height: 100%;
}

body {
    color: var(--TekstKleur);
    height: 100%;
    width: 100%;
    margin-bottom: 60px;
    padding-top: 15px;
    padding-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

h1 {
    color: var(--LFGroen);
}

h2 {
    color: var(--LFGroen);
}

h3 {
    color: var(--LFGroen);
}

h4 {
    color: var(--LFGroen);
}

.container-form {
    max-width: 700px;
    position: relative;
}

/* Header in _Layout */
.Wiver-header {
    display: grid;
    grid-template-columns: auto auto auto;
}

dd {
    margin-left: 10px;
    margin-bottom: 20px;
}

.pagina-titel {
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Buttons */
.button-container {
    padding-top: 20px;
    padding-bottom: 20px;
}

.wiver-button {
    border: 1px solid var(--LFGroen);
    min-width: 175px;
    margin-top: 5px;
}

    .wiver-button:hover {
        font-weight: 500;
        cursor: pointer;
    }

    .wiver-button.rechts {
        float: right;
    }

.bevestigen {
    color: var(--TekstKleur);
    background-color: var(--LFGroen);
}

    .bevestigen:disabled {
        color: var(--WiverGrijs);
        background-color: var(--LFGroen);
        font-weight: 300;
        cursor: not-allowed;
    }

.verwijderen {
    color: var(--WiverRood);
    background-color: white;
    border: 1px solid var(--LFGroen);
}

    .verwijderen:hover {
        color: var(--WiverGrijs);
        background-color: var(--WiverRood);
        border: 1px solid var(--WiverRood);
        /*font-weight:500;*/
    }

    .verwijderen:disabled {
        color: var(--WiverGrijs);
        background-color: var(--LFGroen);
        font-weight: 300;
        cursor: not-allowed;
    }

.perika-icon-button {
    padding: 0;
    background-color: transparent;
    border: none;
    color: transparent;
    border-radius: 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    -moz-appearance: none;
    -moz-border-radius: 0;
}

@media only screen and (max-width: 420px) {
    .wiver-button {
        width: 100%;
    }

        .wiver-button.rechts {
            float: none;
        }
}


/* Tabel */
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    /*border: 1px solid #ddd;*/
}

th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 0;
    text-align: left;
    padding: 8px;
    font-weight: 300;
}

    th a {
        color: white;
    }

        th a:hover {
            text-decoration: none;
            color: inherit;
            font-weight: inherit;
        }

td {
    text-align: left;
    padding: 8px;
}

    td .geselecteerd {
        cursor: default;
    }

table th:hover {
    cursor: default;
}

tr:nth-child(even) {
    background-color: var(--WiverGrijs)
}

table tr th {
    background-color: var(--LFGroen);
    color: white;
}

.opdrachten-container {
    display: flex;
    flex-flow: column;
    padding-top: 15px;
    bottom: 0;
}

.kolommen-container {
    display: flex;
    flex-flow: column;
    height: 80vh;
}

.table-container {
    overflow-x: auto;
    flex-grow: 1;
    min-height: 30vh;
    max-height: 85vh;
    width: 100%;
    height: 100%;
}


.wiver-table {
}

    /* Handje in tabel rijen en tekst niet wrappen (alles op 1 regel) */
    .wiver-table tr {
        cursor: pointer;
        white-space: nowrap;
    }

        /* Bij mouse over in tabel rijen */
        .wiver-table tr:hover {
            background-color: lightblue;
        }

    .wiver-table th {
        padding-right: 35px;
    }

    .wiver-table .Begintijd, .Eindtijd, .Pauze, .TotaleWerktijd, .Extrakilometers, .Parkeergeld, .TLNdagvergoeding, .Reisuren, .Kilometers, .OpdrachtstatusIcon {
        text-align: center;
    }

td.OpdrachtstatusIcon {
    color: red;
}

/* Voor de uitvouwbare content
-------------------------------------------------- */
.uitvouwbaar {
    background-color: var(--LFGroen);
    cursor: pointer;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    color: white;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    margin-top: 10px;
    /*font-size: 20px;*/
}

    .uitvouwbaar:hover {
        font-weight: 500;
    }

    .uitvouwbaar:after {
        content: '\002B';
        font-weight: bold;
        float: right;
        margin-left: 5px;
        margin-right: 15px;
    }

.active:after {
    content: "\2212";
}

.uitvouwbaar-content {
    padding: 0 18px;
    background-color: var(--WiverGrijs);
    border: 1px solid var(--LFGroen);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    margin-bottom: 10px;
}

.filter-opsomming {
    padding-top: 15px;
}


/* Voor de detail pagina's
-------------------------------------------------- */
.detail-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
}

.detail-blok {
    border: 2px solid var(--LFGroen);
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 20px;
    color: navy;
}

    .detail-blok hr {
        background-color: var(--WiverRood);
    }

.map {
    min-height: 250px;
}

    .map #map {
        height: 100%;
    }

@media only screen and (max-width: 1200px) {
    .detail-grid {
        grid-template-columns: 100%;
        /*grid-template-rows: auto 250px;*/
    }
}
