﻿/* 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. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@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;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}


/*Anpassung PH 03.11.2020 */

* {
    font-family: 'Lato', sans-serif;
}


a.btn:hover {
    cursor: pointer !important;
}

/*loader*/
.loaderbody {
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    background-color: rgba(128,128,128,0.2);
    z-index: 2147483647;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -40px;
    margin-left: -40px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hide {
    display: none;
}

#logo {
    height: 27px;
}

.btn-right-grid {
    margin-right: 5px;
}

.table td {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    vertical-align: inherit;
}


    .table td .btn {
        padding: 0.4em 0.7em;
        font-size: 0.85em;
    }


h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1.2em;
}

.aktionenSpalte {
    width: 6px;
}

.aktionenSpalteListen{
    width: 105px;
}

.form-control[type=checkbox] {
    width: 20px;
}

.custom-combobox {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -2px;
    padding: 0;
}

.custom-combobox-input {
    margin: 0;
    padding: 5px 10px;
}

.ui-tooltip {
    background-color: #f6f6f6;
    color: #2b2b2b;
}

.mainContainer {
    max-width: 100%;
}

/*Ist nötig damit Fehlermeldung Clientseitig angezeigt werden*/
#combobox, #comboboxfiliale, #comboboxbezahlart, #comboboxerfasser {
    display: block !important;
    position: absolute;
    visibility: hidden;
}

/*Datatables Custom CSS*/
.infocomdatatable {
    width: 100% !important;
}

table.dataTable > tbody > tr.child ul.dtr-details > li {
    border-bottom: none;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0da";
    border: none;
    color: #6c757d;
    background-color: transparent;
    box-shadow: none;
}

table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control:before {
    content: "\f0d7";
}

.loginForm, .loginright {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .loginForm img {
        display: block;
        margin: 0 auto 50px auto;
        width: 250px;
    }

    .loginForm form {
        max-width: 500px;
        width: 100%;
        padding: 20px 0;
    }

.form-group-login-button button {
    margin: 0 auto;
    display: block;
}

.loginForm h1 {
    text-align: center;
    font-size: 1.5em;
}



.loginright {
    background-color: #f8f3ee;
}

.loginrow {
    margin-bottom: -76px;
    min-height: 100vh;
}

.loginright h1, .loginright h2, .loginright p {
    text-align: center;
}

.loginright h1 {
    color: #c80028;
    margin-bottom: 20px;
}

.loginright h2 {
    color: #c80028;
    margin-bottom: 20px;
    font-size: 1.3em;
    margin-top: 60px;
}

.loginright a {
    color: #b4aaa0;
    text-decoration: underline;
}

    .loginright a:hover {
        color: #b4aaa0;
        text-decoration: underline;
    }

.loginright p, .homepage p {
    margin: 0;
}

.homepage h1 {
    font-size: 2.5rem;
}

.homepage h2 {
    font-size: 1.3em;
    margin-bottom: 20px;
    font-size: 1.3em;
    margin-top: 60px;
}

.homefirstcolumn p {
    margin: 15px 0;
}

.actionbuttonsdetails {
    margin: 15px 0 20px 0;
}

/*Ist Nötig wegen Popup*/
.ui-autocomplete {
    z-index: 10000;
}

.token {
    min-height: 25px !important;
    background-color: #0062cc !important;
    border-color: #005cbf !important;
    color: #fff;
}

.tokenfield .token .close {
    color: #fff;
    text-shadow: none;
    opacity: 1;
    line-height: 1.45em;
}

.form-group-margin {
    margin-top: 20px !important;
}

.detailstable table {
    width: 100%;
}

.detailstable td, .detailstable th, .detailstable tr, .detailstable table {
    border: none;
}

.detailstable td, .detailstable th {
    padding: 2px;
    width: 40%;
    vertical-align: top;
}

.detailstable td:first-child, .detailstable th:first-child {
    width: 140px;
}



.detailstable td:nth-child(2), .detailstable th:nth-child(2) {
    width: 140px;
}

.importForm {
    margin-top: 20px;
    margin-bottom: 20px;
}


.mobileOnly {
    display: none;
}


.disabled-fake-form-control {
    background-color: #e9ecef;
}

.zeileerfasst {
    background-color: #d5ffd4;
}


.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.colorDisplay, .colorDisplaySmall{
    display: inline-block;
    width: 50px;
    height: 15px;
    border-radius: 5px;
}

.colorDisplaySmall {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 5px;
}

@media only screen and (max-width: 760px) /* (min-device-width: 768px) and (max-device-width: 1024px) */ {
    #responsiveListen .aktionenSpalte {
        width: auto;
    }

    .mobileOnly {
        display: inline;
    }

    /* Tabelle untereinander darstellen */
    #responsiveListen table, #responsiveListen thead, #responsiveListen tbody, #responsiveListen th, #responsiveListen td, #responsiveListen tr {
        display: block;
    }
    /* Neu verfügbare Breite nutzen */
    #responsiveListen .detailstable td {
        width: 100%;
        border: none;
    }
    /*Zebra für Bestellpositionen --> bessere Leserlichkeit*/
    #responsiveListen tr .bestellposition_row:nth-of-type(2n) {
        background-color: #eee;
    }

    /*Abholdaten hervorheben*/
    #responsiveListen .abholdaten {
        margin-top: 15px;
        font-weight: bolder;
    }
    /*Spaltenbeschriftungen verstecken*/
    #responsiveListen .detailheader, #responsiveListen thead tr {
        display: none;
    }

    #responsiveListen td {
        /* Behave  like a "row" */
        border-bottom: 1px solid #eee;
        position: relative;
    }
}

