/* ::ZETA-PRODUCER-NO-COMPRESSION:: */

// This file must be locally compiled into styles.css by a tool like lesscss or alike.
// StS 2017-01-18 15:28


// ----------
// Runde Ecken und Rand in Navbar entfernen.

.navbar {
    border-radius: 0px;
    border-left: none;
    border-right: none;
    border-top: none;
}

// ----------



.ct-series-a {
    color: #BBBBBB;
}

.ct-series-b {
    color: #BBBBBB;
}

.ct-series-a .ct-bar, .ct-series-a .ct-line, .ct-series-a .ct-point, .ct-series-a .ct-slice-donut {
    stroke: #0082D7;
}

.ct-series-b, .ct-series-b .ct-bar, .ct-series-b .ct-line, .ct-series-b .ct-point, .ct-series-b .ct-slice-donut {
    stroke: #BBBBBB;
}

.ct-chart {
    margin: auto;
    width: 300px;
    height: 300px;
}



.delta-y-before-0 {
}

.delta-y-before-05 {
    padding-top: 0.6em;
}

.delta-y-before-1 {
    padding-top: 1.2em;
}

.delta-y-before-2 {
    padding-top: 2em;
}

.delta-y-before-3 {
    padding-top: 3em;
}

.delta-y-before-4 {
    padding-top: 4em;
}

.has-error {
    color: #a94442;
}

.form-group label {
    padding: .375rem .75rem .375rem 0;
}

.dashboard-button {
    min-width: 150px;
}

label.pseudo {
    font-weight: normal;
}

.strong {
    font-weight: bold;
}

.gray {
    color: silver;
}
// button color
.btn-info {
    color: #ffffff;
    background-color: #0082D7;
    border-color: #ffffff;
}

.btn-info:hover {
    background-color: #08436C;
    border-color: #ffffff;
}

.btn-info:hover:active {
    background-color: #032B43;
    border-color: #032B43;
}
// link color
a {
    color: #0082D7;
    text-decoration: none;
}

a:hover {
    color: #0082D7;
    text-decoration: underline;
}

a:hover:active {
    color: #0082D7;
    text-decoration: none;
}

.navbar-brand {
    height: auto;
    margin: 0;
    padding: 15px 0 15px 15px;
    //max-width: 160px;
    img {
        max-width: 100%;
    }
}

span.appname,
span.shopname {
    //position: relative;
    //top: 5px;
    font-size: 20px;
}


/* Charts */
.zpdashboardchart svg,
.zpdashboardchart + p.legend {
    max-width: 350px;
}

.zpdashboardchart + p.legend,
p.legend {
    text-align: center;
}

// Print Stylesheet
.printonly {
    display: none;
}

.jsgrid-pager {
    text-align: center;
}

.jsgrid-filter-row {
    input, select {
        min-height: 34px;
        background-color: white;
        border: 1px solid #BFBFBF;
    }
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    background-color: #f9f9f9 !important;
}

input, textarea {
    max-width: 80ch; // maximum field width 80 characters
}

select.niceselect {
    max-width: 100%;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    min-height: 34px;
    padding: .4em .5em;
    border-radius: inherit;
    // custom arrow
    background: #ffffff; // reset in case bg is set by layout
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='12px' height='7px' viewBox='0 0 12 7' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E     %3Cpolygon class='chevron' stroke='none' fill='#333333' fill-rule='evenodd' points='6.05023193 6.71226044 6.02769279 6.73479958 5.6741394 6.38124619 1.14644661 1.85355339 0.792893219 1.5 1.5 0.792893219 1.85355339 1.14644661 6.02825928 5.3211525 10.2249378 1.12447395 10.5784912 0.770920563 11.285598 1.47802734 10.9320446 1.83158073 6.40435181 6.35927353 6.05079842 6.71282692'%3E%3C/polygon%3E %3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

select.niceselect::-ms-expand {
    display: none; // hack to hide select-arrow in IE: http://stackoverflow.com/questions/20163079/remove-select-arrow-on-ie#20163273
}

.btn.printit.active {
    pointer-events: none !important;
    opacity: 0.5 !important;
}

@media print {
    @page {
        size: A4 portrait;
        margin-left: 2cm;
        margin-top: 1cm;
        margin-bottom: 1cm;
    }

    body {
        position: relative;
        margin: 0;
        padding: 0;
        font-size: 11pt;
        line-height: 1.4;
        font-family: sans-serif;
    }

    .noprint {
        display: none;
    }

    h1, h2 {
        margin-top: 0;
    }

    .printonly {
        display: block;

        .order {
            padding: 1em;
            border-bottom: 1px solid #F3F3F3;
            page-break-inside: avoid;

            p {
                page-break-inside: avoid;
            }

            p, table {
                margin-bottom: .7em;
            }
        }

        .order:nth-child(even) {
            background-color: #F3F3F3 !important;
        }
    }
}

.align-right {
    text-align: right !important;
}

div.version-container {
    position: fixed;
    right: 8px;
    bottom: 8px;
    font-size: x-small;
    color: silver;
}

// https://stackoverflow.com/a/4407335/107625
.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
    cursor: default;
}

label.non-bold {
    font-weight: normal;
}

.jsgrid-cell {
    vertical-align: top;
}

.jsgrid-alt-row > .jsgrid-cell {
    background: #fff;
}

.jsgrid-selected-row > .jsgrid-cell {
    background: #c4e2ff;
 }

.project-status-box {
    border: 1px solid #e7e7e7;
    background-color: #F9F9F9;
    border-radius: 3px;
    padding: 9px;
}

.ping-info-block:not(:last-of-type) {
    padding-bottom: 16px;
}

// ---
// https://www.mediaevent.de/css/display-table.html

div.zpb-table {
    display: table;
}

div.zpb-table-row {
    display: table-row;
}

div.zpb-table-cell {
    display: table-cell;
    vertical-align: top;
}

div.zpb-table-column0 {
    padding-right: 1em;
}

div.zpb-table-column1 {
}

.text-align-right
{
    text-align: right;
}