:root {
    --navbar-height: 55px;
    --footer-height: 41px;
    /* calculated content height based on the layout, - 3 rem due to margin at the top and -10px due to margin between footer and content */
    --content-height: calc(100vh - var(--navbar-height) - 10px - 3rem - var(--footer-height))
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html, body {
    min-height: 100%;
}

html {
    position: relative;
}

body {
    padding-top: var(--navbar-height);
    margin-bottom: 10px;
    color: var(--text-primary);
    background: url(/images/slider-banner.png) no-repeat right top scroll;
    background-attachment: fixed;
    background-size: cover;
}

header {
    position: fixed !important;
    right: 0;
    left: 0;
    top: 0;
    z-index: 999;
}

    header nav {
        border-width: 0 0 1px;
        box-shadow: 0px 0px 6px -1px #000;
        background-color: var(--header);
        color: var(--header-text);
    }

        header nav a.nav-link,
        header nav a.nav-link:link,
        header nav a.nav-link:visited,
        header nav a.nav-link:hover,
        header nav a.nav-link:active {
            color: var(--text-primary-header);
        }

    header .logo_container {
        position: absolute;
        z-index: 999;
    }

@media (max-width: 768px) {
    header .logo_container {
        display: none;
    }
}

h1 span{
    font-weight: 400;
}

header span.logo_helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    width: 0;
}

header #logo {
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    margin-bottom: 0;
    padding-top: 35px;
    padding-bottom: 15px;
    padding-left: 20px;
    padding-right: 20px;
    max-height: 110px;
    display: inline-block;
    float: none;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    box-shadow: 0px 0px 6px -1px #000;
    border-radius: 0px 0px 20px 20px;
    background-color: var(--background);
}

@media (min-width: 768px) {
    header .navbar-nav.navbar-menu {
        margin-left: 270px;
    }
}

footer {
    background-color: var(--footer);
    color: var(--footer-text);
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: var(--footer-height);
    line-height: 40px;
    z-index: 1000;
    font-size: 11px;
    letter-spacing: 1.2px;
}

    footer .container, footer .container a {
        color: var(--footer-text);
    }

        footer .container img {
            height: 25px;
            margin-top: -12px;
        }

input[type=text]:focus, textarea:focus, button:focus, select:focus {
    box-shadow: 0 0 5px var(--primary) !important;
    border: 1px solid var(--primary) !important;
}

.btn-primary,
.btn-primary:link,
.btn-primary:visited {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
        background-color: var(--primary-dark) !important;
        border-color: var(--primary) !important;
    }


.dropdown-menu.account {
    white-space: nowrap;
}

.dropdown-item:hover, .dropdown-item:focus {
    color: var(--text-light);
    background-color: var(--primary);
}

.btn-group .btn:last-of-type {
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
}


/* This forces the buttongroup to set a start point if the original code (bootstrap) does not see the other buttons */
.btn-group .btn.btn-group-start {
    border-bottom-left-radius: 0.25rem;
    border-top-left-radius: 0.25rem;
}

@media (min-width: 768px) {
    .mobile {
        display:none;
    }
}

@media (max-width: 767px) {
    .desktop{
        display:none;
    }
}

tr td{
    vertical-align:middle;
}

.statusIcon{
    font-size:30px
}

/*    tr td svg.fa-exclamation-circle.statusIcon, tr td svg.fa-exclamation-triangle.statusIcon {
        width:30%;
    }*/

.tooltip-inner {
    max-width: unset;
}

.min-vh-50 {
    min-height: 50vh;
}

.content-height {
    height: var(--content-height);
}

@media (min-width: 993px) {
    .planning-card-content-height {
        height: calc(var(--content-height) - 154px);
    }
}

.mt-0_55rem {
    margin-top: 0.55rem;
}

.coldstore-grid.k-grid td a{
    color:white;
}

.coldstore-grid .k-grid-toolbar{
    background-color:transparent;
    border:none;
}

.coldstore-grid.k-grid {
    border:none;
}

    .coldstore-grid.k-grid td, coldstore-grid.k-grid .k-table-td,
    .coldstore-grid.k-grid .k-table-th {
        border-inline-start-width: 0px;
    }

.coldstore-grid .k-table-thead{
    background-color:white;
    border-bottom:1px solid black;
    padding-right:15px;
}

.coldstore-grid.k-grid .k-grid-header{
    border-color:black;
}

.coldstore-grid.k-grid .k-table-row {
    background-color: rgba(0, 0, 0, 0.04);
}

.coldstore-grid.k-grid .k-table-alt-row,
.coldstore-grid.k-grid .k-grid-header .k-table-row {
    background-color: rgba(255, 255, 255, 1);
}

.coldstore-grid .k-grid-header-wrap{
    border-inline-end-width:0px;
}

.coldstore-grid .k-grid-header {
    padding-right: 0px !important /*important is needed to overwrite inline css*/
}

.coldstore-grid .k-grid-header{
    font-weight:bold;
}