﻿body {
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: Verdana;
    font-size: 11px;
    /*	background-color: lightgreen; */
    zoom: 1;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 5px;
    padding-right: 5px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
    margin-bottom: 2px;
}

.editor-multiline-field textarea {
    width: 280px;
    height: 60px;
}
/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.bold {
    font-weight: bold;
}

.normal {
    font-weight: normal;
}

.center {
    text-align: center;
}

.zeile {
    margin-left: 15px;
    margin-right: 15px;
}

.navbar-brand > li > a:hover,
.nav-ecki > li > a:hover,
.nav-ecki > li > a:active,
.nav-ecki > li > a:focus,
.nav-ecki > li > span {
    text-decoration: none;
    color: #5DBB46;
    font-weight: bold;
}

a:hover {
    background-color: #0071BD;
    color: white;
}

a.grid-cell-red {
    color: red;
    font-weight: bold;
}

    a.grid-cell-red:hover {
        background-color: red;
        color: yellow;
    }

a.grid-cell-purple:hover {
    background-color: mediumpurple;
    color: white;
}

.progress-bar {
    margin-top: 5px;
    margin-bottom: 5px;
}

progress {
    width: 100px;
    text-align: center;
}

.container {
    width: 96%;
}

@media screen and (min-width: 1441px) {
    body {
        zoom: 1.1;
    }

    .logo {
        height: 120px;
    }

    .project {
        height: 80px;
        font-size: xx-large;
        font-weight: bold;
        vertical-align: middle;
    }

    .dl-horizontal dt {
        float: left;
        width: 360px;
        overflow: hidden;
        clear: left;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dl-horizontal dd {
        margin-left: 380px;
    }

    .col-md-4 {
        width: 40%;
    }

    .col-md-8 {
        width: 60%;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1440px) {
    body {
        zoom: 1.0;
    }

    .logo {
        height: 120px;
    }

    .project {
        height: 80px;
        font-size: xx-large;
        font-weight: bold;
        vertical-align: middle;
    }

    .dl-horizontal dt {
        float: left;
        width: 360px;
        overflow: hidden;
        clear: left;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dl-horizontal dd {
        margin-left: 380px;
    }

    .col-md-4 {
        width: 40%;
    }

    .col-md-8 {
        width: 60%;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {

    body {
        zoom: 0.8;
    }

    .logo {
        height: 100px;
    }

    .project {
        height: 80px;
        font-size: xx-large;
        font-weight: bold;
        vertical-align: middle;
    }

    .dl-horizontal dt {
        float: left;
        width: 360px;
        overflow: hidden;
        clear: left;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dl-horizontal dd {
        margin-left: 380px;
    }

    .col-md-4 {
        width: 40%;
    }

    .col-md-8 {
        width: 60%;
    }
}

@media screen and (min-width: 301px) and (max-width: 768px) {
    body {
        zoom: 0.7;
    }

    .chart {
        width: 100%;
        max-width: 600px;
    }

    .logo {
        height: 50px;
    }

    .project {
        height: 50px;
        vertical-align: middle;
        font-size: x-large;
        font-weight: bold;
    }
}

@media screen and (max-width: 300px) {

    body {
        zoom: 0.65;
    }

    .logo {
        height: 50px;
    }


    .project {
        height: 50px;
        vertical-align: text-top;
        font-size: large;
        font-weight: bold;
    }


    .jumbotron {
        padding-top: 10px;
    }

    .col-md-12 {
        width: 100%;
    }

    .grid-header {
        text-align: left;
    }

    .grid-header-title {
        margin-right: 0;
    }

    .chart {
        width: 100%;
    }

    progress {
        width: 100px;
        text-align: center;
    }
}

.user-blau {
    color: #0071BD;
}

.user-gruen {
    color: #5DBB46;
}

.chart-blau {
    background-color: #418CF1;
    color: White;
    padding: 2px;
}

.chart-orange {
    background-color: #FAB442;
    color: black;
    padding: 2px;
}

table {
    width: 100%;
}

th {
    text-align: center;
    font-weight: bold;
}

td .center {
    text-align: center;
}

table.grid-table .grid-header {
    position: relative;
}

    table.grid-table .grid-header .sorted-asc .grid-sort-arrow:after {
        content: " \2191";
    }

    table.grid-table .grid-header .sorted-desc .grid-sort-arrow:after {
        content: " \2193";
    }

    table.grid-table .grid-header > .grid-header-title {
        width: 100%;
        margin-right: 10px;
        white-space: nowrap;
        text-align: left;
    }

.grid-header {
    text-align: left;
}

textarea .form-control {
    min-width: 300px;
    height: 150px;
}

.col-padl-5 {
    padding-left: 5px;
}

.col-padl-10 {
    padding-left: 10px;
}

/* WebGrid */
.webgrid-table {
    font-family: Verdana;
    font-size: 11px;
    width: 100%;
    display: table;
    border-collapse: separate;
    background-color: white;
    border: none;
}

    .webgrid-table th {
        text-align: left;
        padding: 3px 7px 2px;
    }

    .webgrid-table td {
        padding: 3px 7px 2px;
    }

.webgrid-header-center {
    background-color: azure;
    color: black;
    padding-bottom: 4px;
    padding-top: 5px;
    text-align: center;
    font-size: 1em;
}

.webgrid-header {
    background-color: azure;
    color: black;
    padding-bottom: 4px;
    padding-top: 5px;
    text-align: left;
    font-size: 1em;
}

.webgrid-footer {
    text-align: left;
    background-color: azure;
}

.webgrid-row-style {
    padding: 3px 7px 2px;
    text-align: left;
    border: none;
}

.webgrid-alternating-row {
    background-color: azure;
    padding: 3px 7px 2px;
    text-align: left;
    border: none;
}

.webgrid-selected-row-style {
    background-color: ActiveCaption;
    padding: 3px 7px 2px;
    text-align: left;
    border: none;
}

.webgrid-text-center {
    text-align: center;
}

.webgrid-text-right {
    text-align: right;
}

.gridScroll-all {
    overflow: auto;
    width: 100%;
    height: 100%;
}

.gridScroll-y {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: 100%;
}

.gridScroll-x {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    height: 100%;
}

.popover {
    max-width: 400px;
}

.glyphicon {
    font-size: small;
}

.btn-default,
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger,
.btn-edit {
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}

.btn-edit {
    background-image: -webkit-linear-gradient(top, yellow 0%, #75c70d 100%);
    background-image: -o-linear-gradient(top, yellow 0%, #75c70d 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(yellow), to(#75c70d));
    background-image: linear-gradient(to bottom, yellow 0%, #75c70d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-color: yellow;
}
.btn-edit {
    color: red;
    background-color: yellow;
    border-color: #75c70d;
}
    .btn-edit:hover,
    .btn-edit:focus {
        background-color: #75c70d;
        background-position: 0 -15px;
    }

    .btn-edit:active,
    .btn-edit.active {
        background-color: #75c70d;
        border-color: #b92c28;
    }

.spinner {
    border: 4px solid rgba(0,0,0,0.1);
    border-left-color: #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
