﻿/*
    Donkerblauw: #162B3B
    Lichtblauw: #4382C3
    Knop: #4E8CDE
*/

:root {
    --main-color: #162B3B;
    --accent-color: #477FC9;
    --text-color: #fff;
    --secondary-color: #4382C3;
    --secondary-text-color: #fff;
    --secondary-alt-color: #222;
    --tertiary-color: #CBE7FF;
    --tertiary-alt-color: #B8DEFF;
    --tertiary-alt-highlight-color: #D6ECFF;
}

body {
    padding-top: 4.7em;
    padding-bottom: 4em;
    font-size: 14px;
}

.container .collapse.show {
    display: block;
}

.hide {
    display: none;
}

.knop {
    cursor: pointer;
}

a {
    text-decoration: none !important;
}

/* NAV */
nav {
    background-color: var(--secondary-color);
    color: var(--secondary-text-color);
}

.navbar {
    min-height: 4.7em;
    padding: 0 1rem;
}

.nav-logo {
    max-height: 2em;
    max-width: 9em;
    margin-right: 0.2em;
}

nav .container {
    min-height: inherit;
}

nav .navbar-collapse {
    min-height: inherit;
}

    nav .navbar-collapse .nav {
        min-height: inherit;
    }

.nav .nav-item {
    min-height: inherit;
    display: flex;
    align-items: center;
}

.nav .selected {
    background-color: var(--secondary-color);
    border-radius: 0 0 10px 10px;
}

img.topbar-image {
    max-height: 2em;
    max-width: 9em;
    margin-right: 0.2em;
}

.navbar-brand {
    margin-right: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    color: var(--text-color) !important;
}

.collapsing {
    transition: none !important;
}

@media (max-width: 992px) {
    .navbar-collapse {
        padding-top: 0.5em;
        padding-bottom: 1em;
    }

    nav .selected {
        margin-inline: -10px;
        margin-block: -5px;
        padding-inline: 10px;
        padding-block: 5px;
        border-radius: 10px !important;
    }

    .navbar-toggler {
        margin-block: 10px;
    }
}

.togglebutton {
    background-color: transparent;
    border: none;
}

/****Pagina Header****/
.paginaheader {
    margin-top: 0.8em;
}

.pagina {
    font-size: 1.5em;
}

/****TopBalk****/
.menu {
    position: sticky;
    top: 4.7em;
    z-index: 900;
    margin-top: 0.9em;
}

.topbalk {
    background-color: var(--main-color);
    color: var(--text-color);
    min-height: 4em;
    border-radius: 10px;
    transition: 0.5s;
    display: inherit;
    padding-top: 1em;
}

    .topbalk.topbalkknoppen {
        flex-direction: column;
    }

    .topbalk .knoppen {
        margin-left: auto;
    }

        .topbalk .knoppen img:not(:last-child) {
            margin-right: 0.5em;
        }

    .topbalk .gegevens {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        display: flex;
        flex-direction: column;
        margin-top: -0.8em;
        width: 67%;
        padding-right: 0.5em;
    }

.titelnaam {
    font-size: 120%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.adres {
    text-indent: 1.5em;
    font-style: italic;
}

.relbutton {
    border: none;
    border-radius: 10px;
    background-color: var(--accent-color);
    padding-inline: 1em;
    padding-block: 0.3em;
    color: var(--text-color);
    display: inherit;
    justify-content: center;
}

/* UITKLAPPEN VAN TOPBALK */
.uitklappen {
    min-height: 12em;
}

.uitklapknopje {
    margin-left: auto;
}

.topbalk img {
    max-height: 2em;
    margin-right: 0.3em;
}

/*EXTRAINFO*/
.extrainfo td {
    text-indent: 15px;
}

.extrainfo th {
    vertical-align: top;
}

/***** Login ****/
.logincolor {
    background-color: var(--main-color);
}

.loginform {
    display: flex;
    height: 3em;
    border-radius: 10px;
    padding: 0.2em;
    width: 100%;
    z-index: 10;
}

.body-content {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 4em;
    flex-direction: column;
}

    .body-content form {
        width: 50%;
        margin-inline: auto;
        min-width: 20em;
        max-width: 25em;
    }

img.logo {
    max-width: 22em;
    margin-bottom: 2em;
    max-height: 12em;
}

.loginform input {
    height: 100%;
    border-radius: 5px;
    transition: 100000s;
}

.loginbutton {
    border: none;
    width: 100%;
    height: 2.7em;
    border-radius: 10px;
    color: white;
    font-size: 120%;
}

/****** home *****/
.menuknopje {
    text-align: center;
    padding: 1em;
}

    .menuknopje a {
        color: #000;
    }

.headerlogo {
    margin-top: 2rem;
}

.backgroundimage {
    max-width: 35rem;
    max-height: 15rem;
}

@media(max-width: 550px) {
    .backgroundimage {
        max-width: 290px;
    }
}

hr {
    border-top: 1px solid var(--accent-color);
}

.uitlog {
    display: flex;
    justify-content: flex-end;
}

/*****knoppenbalk*****/
.knoppenbalk .knopje {
    background-color: var(--accent-color);
    min-height: 2.5em;
    border-radius: 0 0 10px 10px;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-top: 0;
    color: #fff;
}

.knoppenbalk .dropdown {
    background-color: var(--accent-color);
}

.selected {
    background-color: var(--secondary-color) !important;
    z-index: 10;
    color: var(--text-color);
}

.flexcenter {
    display: flex;
    justify-content: center;
}

@media (min-width: 993px) {
    .normaleknoppen .knoppenbalk .knopje {
        margin-inline: 0.2em;
        display: flex;
    }

    .mobieleknoppen {
        display: none;
    }
}

@media (max-width: 992px) {
    .normaleknoppen {
        display: none;
    }

    .mobieleknoppen .knoppenbalk .knopje {
        display: flex;
        min-width: 10em;
    }
}
/**** BottomBalk *****/
.bottombalk {
    background-color: var(--main-color);
    display: flex;
    justify-content: space-between;
    border-radius: 10px 10px 0 0;
    min-height: 3em;
}

    .bottombalk a.knop {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 6em;
        background-color: var(--accent-color);
        border-radius: 10px 10px 0 0;
    }

    .bottombalk img {
        max-height: 2em;
    }

.row::after {
    content: none !important;
}

/***** Subsection *****/
@media (max-width: 992px) {
    .section {
        margin-inline: -15px;
    }
}

.section-header {
    background-color: var(--main-color);
    margin-top: 1em;
    min-height: 3.5em;
    border-radius: 10px;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

    .section-header .knoppen {
        display: flex;
        margin-left: auto;
        align-items: center;
    }

        .section-header .knoppen div {
            margin-right: 0.5em;
        }

@media (max-width: 992px) {
    .section-header select {
        font-size: 80%;
    }
}

.section-header img {
    max-height: 2em;
}


/***** kendo grid *****/
.grid {
    /*marge links en rechts naast het grid*/
    margin-inline: 15px;
}

/* zorgen dat er geen lijntjes om de vakjes staan */
.k-grid {
    /*border: none !important;*/
}

/* de header boven het grid krijgt de secundaire kleur */
thead.k-table-thead tr.k-table-row {
    background-color: var(--secondary-color);
    color: var(--secondary-text-color);
}

.k-table-row {
    background-color: var(--tertiary-color);
}

.k-column-title {
    font-weight: bold;
}

tbody.k-table-tbody tr{
    height: 2em;
}
.k-grid-md td, .k-grid-md .k-table-td{
    padding-block: 6px;
}

.k-grid-toolbar {
    background-color: var(--secondary-color);
}





/* COLUMN ALIGN */
.column-left {
    text-align: left !important;
}

.column-right {
    text-align: right !important;
}

.column-center {
    text-align: center !important;
}

/****** home *****/
.menuknopje {
    text-align: center;
    padding: 1em;
}

    .menuknopje a {
        color: #000;
    }

.headerlogo {
    margin-top: 2rem;
}

.backgroundimage {
    max-width: 35rem;
    max-height: 15rem;
}

@media(max-width: 550px) {
    .backgroundimage {
        max-width: 290px;
    }
}

hr {
    border-top: 1px solid var(--accent-color);
}

.uitlog {
    display: flex;
    justify-content: flex-end;
}

/*kleine aanpassingen voor benchmark grid*/
.benchmarkgrid .wj-row .wj-cell.wj-header {
    white-space: initial;
    overflow-wrap: break-word;
}

.benchmarkgrid .wj-row .wj-cell.wj-group-end:not(:last-child.wj-group-start) {
    border-right: solid 1px var(--secondary-color);
}

/*Relaties formulier*/
.inputform {
    display: flex;
    margin-bottom: 0.2em;
}

label {
    margin-bottom: 0.1em;
}

.inputform input:not(:last-child) {
    margin-right: 3px;
}

.inputform #wachtwoord {
    margin-right: 0;
}

.inputform select:not(:last-child) {
    margin-right: 3px;
}

.adresnr {
    width: 110px;
}

.inputform .input-group-append .btn {
    min-width: 4em;
}

.inputform img {
    max-height: 1.2em;
}

@media(max-width: 426px) {
    .inputform .input-group-append .btn {
        min-width: 2em;
    }

    .adresnr {
        width: 85px;
    }

    .postcode {
        width: 120px;
    }
}

.label {
    width: 110px;
}

/*Btn*/
.btn-primary {
    background-color: var(--main-color);
    border-color: var(--accent-color);
}

    .btn-primary:hover {
        background-color: var(--accent-color);
        border-color: var(--main-color);
    }

    .btn-primary:active:not(:disabled) {
        background-color: var(--accent-color) !important;
        border-color: var(--main-color) !important;
    }

    .btn-primary:focus {
        box-shadow: none !important;
    }

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*Relaties Modal*/
.modal-body input {
    margin-left: auto;
    align-self: center;
}

.modal-body .overig {
    margin-inline: 15px;
}

/*Koedata*/
#KoeOverzicht_chart {
    height: 600px;
}

/*Rantsoen info*/
span.value {
    display: inline-block;
    text-align: right;
    width: 100%;
}

span.lbl {
    font-weight: bold;
    white-space: nowrap;
}

@media(max-width: 426px) {
    .rantsoencombo {
        width: 80%;
    }
}

/* Voedermiddelen tabel*/
.wj-row .wj-cell.totaalrij {
    background-color: var(--secondary-color) !important;
    font-weight: bold;
    color: var(--secondary-text-color);
}

.test {
    cursor: text;
}

/* productiegegevens */
.productiegegevens .cel label {
    max-width: 40%;
}

.productiegegevens .gegevens {
    width: 60%;
    margin-left: auto;
}

    .productiegegevens .gegevens input {
        padding-right: 0;
        padding-left: 6px;
    }

    .productiegegevens .gegevens .prepend {
        padding-left: 50px;
    }

    .productiegegevens .gegevens .input-group-prepend {
        width: 50px;
        text-align: center;
    }

.productiegegevens .append {
    width: 25%;
    min-width: 60px;
}

.productiegegevens .gegevens .input-group-text {
    width: 100%;
    padding-left: 6px;
    padding-right: 0;
}

.productiegegevens .titels {
    font-weight: bold;
}

    .productiegegevens .titels .gegevens {
        display: flex;
        justify-content: space-between;
    }

    .productiegegevens .titels .data {
        width: 65%;
    }

.voerefficientie {
    /*background-color: var(--main-color);*/
    margin-top: 1em;
    min-height: 3.5em;
    border-radius: 10px;
    display: flex;
    align-items: center;
    font-weight: bold;
}

    .voerefficientie.uitstekend {
        background-color: #00FF00;
    }

    .voerefficientie.prima {
        background-color: #99FF00;
    }

    .voerefficientie.goed {
        background-color: #CCFF00;
    }

    .voerefficientie.voldoende {
        background-color: #FFFF00;
    }

    .voerefficientie.matig {
        background-color: #FF6600;
    }

    .voerefficientie.onvoldoende {
        background-color: #FF0000;
    }

    .voerefficientie .efficientie {
        margin-left: auto;
    }

/* laadlijst form */
.laadlijst .gegevens {
    margin-left: auto;
    width: 70%;
}

/* Vergelijk Modal */
form .input-group-append img {
    height: 2.5em;
}
