* {
    box-sizing: border-box;
    color: #333;
}

.clearfix {
    clear: both;
}

table tr[href]:hover {
    background: #ccc;
}

/* ************************************************************************* */
/* ################################ FONT COLOR ############################# */
/* ************************************************************************* */

.red,
#red {
    color: #d9534f;
}

.orange,
#orenge {
    color: #f0ad4e;
}

.lightBlue,
#lightBlue {
    color: #5bc0de;
}

.green,
#green {
    color: #5cb85c;
}

.blue,
#blue {
    color: #337ab7;
}

/* ************************************************************************* */
/* ################################## LOGIN ################################ */
/* ************************************************************************* */

.login {
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    left: 50%;
    top: 100px;
    position: absolute;
    width: 300px;
    max-width: 300px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.login input {
    width: 100%;
}

.login h1 {
    background: #4c4c4c;
    color: #fff;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 10px;
    font-size: 24px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.login .form {
    padding: 20px;
}

/* ************************************************************************* */
/* ################################# HEADER ################################ */
/* ************************************************************************* */

header {
    /*background: #000000;
    background: -moz-linear-gradient(-45deg,  #000000 0%, #2a2a2a 100%);
    background: -webkit-linear-gradient(-45deg,  #000000 0%,#2a2a2a 100%);
    background: linear-gradient(135deg,  #000000 0%,#2a2a2a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#2a2a2a',GradientType=1 );*/
    background: url(images/bg04.jpg);
    background-size: cover;
    background-position: center;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.46);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.46);
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.46);
    color: #fff;
    padding: 10px;
    text-align: center;
    position: relative;
    min-height: 70px;
}

header .logo {
    position: absolute;
    left: 10px;
    top: 0px;
    max-height: 70px;
}

header a {
    float: right;
    margin-right: 145px;
    margin-top: 10px;
}

header h1 {
    font-size: 26px;
    position: absolute;
    right: 20px;
    top: 20px;
}

/* ############################## HEADER lESS ############################# */

header.less h1 {
    font-size: 26px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* ################################ HEADER A2 ############################### */

header.anbieter2 {
    background: #fff; /* Old browsers */
    background: -moz-linear-gradient(left, #fff 0%, #1e5799 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #fff 0%, #1e5799 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #fff 0%, #1e5799 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#1e5799', GradientType=1); /* IE6-9 */
}

/* ************************************************************************* */
/* ############################# FORMULAR DATEN ############################ */
/* ************************************************************************* */

input,
textarea,
select {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-bottom: 8px;
    padding: 5px 7px;
    width: 100%;
    line-height: 20px;
}

select {
    height: 30px;
    color: #000;

}

input[type="checkbox"]:after {
    content: ' ';
    display: block;
}

.block25 {
    width: 100%;
}

.block25 .block {
    width: 25%;
    float: left;
    padding: 10px 20px;
    display: block;
}

.block25 .block:nth-child(8n+1),
.block25 .block:nth-child(8n+2),
.block25 .block:nth-child(8n+3),
.block25 .block:nth-child(8n+4) {
    background: #ccc;
}

.block25 .block:nth-child(2n-1) {
    font-weight: bold;
}

.tabber {
}

.tabber .tab {
    float: left;
    padding: 10px 20px;
    background: #006;
    color: #fff;
}

.tabber .tab:first-child {
    border-radius: 10px 0 0 0;
}

.tabber .tab:last-child {
    border-radius: 0 10px 0 0;
}

.TabContent {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    margin: -1px 0 0 0;
}

.TabContent.active {
    display: block;
}

.TabContent table,
.TabContent button {
    margin: 20px 0 0 0;
}

.calc {
    width: 100%;
}

#demo {
    display: none;
}

.calc input {
    width: 100%;
}

.calc tr td:nth-child(1),
.calc tr td:nth-child(3),
.calc tr td:nth-child(4),
.calc tr td:nth-child(5) {
    width: 10%;
}

.calc tr td:nth-child(2) {
    width: 60%;
}

/* ************************************************************************* */
/* ################################### NAVI ################################ */
/* ************************************************************************* */

navi {
    width: 100%;
}

.navi {
    padding: 5px 10px;
    background: #999;
}

.navi a {
    padding: 10px;
    display: block;
    float: left;
    color: #fff;
    background: #245580;
    border-radius: 5px;
    margin: 5px;
    text-decoration: none;
}

/* ************************************************************************* */
/* ################################ HEADLINES ############################## */
/* ************************************************************************* */

h1 {
    margin: 0 0 20px;
}

/* ************************************************************************* */
/* ################################# CONTENT ############################### */
/* ************************************************************************* */

.main {
    padding: 20px;
}

/* ################################# MESSAGE ############################### */

.messageBox {
    padding: 10px 20px;
    margin: 10px 0px;
    border-radius: 5px;
}

.brand-danger {
    background: #d9534f;
    color: #fff;
    font-weight: bold;
}

.brand-warning {
    background: #f0ad4e;
}

.brand-info {
    background: #5bc0de;
}

.brand-success {
    background: #5cb85c;
}

.brand-primary {
    background: darken(#428bca, 6.5%);;
}

/* ************************************************************************* */
/* ################################# BUTTONS ############################### */
/* ************************************************************************* */

.btn-default {
    margin-bottom: 10px;
}

input.btn-primary {
    width: auto;
}

.btn-primary .fa {
    color: #fff;
    margin-right: 5px;
}

.btn-success .fa {
    color: #fff;
}

/* ############################## TABLE-BUTTONS ############################ */

a.TableButton {
    padding: 5px 10px;
    margin: 0 5px;
    float: right;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
}

/* ************************************************************************* */
/* ################################ TABELLEN ############################### */
/* ************************************************************************* */

.customers {
    margin-top: 20px;
}

.customers tr td {
    cursor: pointer;
}

/* ************************************************************************* */
/* ############################### RECHNUNGEN ############################## */
/* ************************************************************************* */

.disabled,
.disabled:nth-child(2n+1),
.disabled:nth-child(2n+2),
tr.disabled:nth-of-type(odd),
tr.disabled:nth-of-type(even),
.table-striped > tbody > tr.disabled:nth-of-type(odd),
.table-striped > tbody > tr.disabled:nth-of-type(even) {
    background: #f2dede;
}

tr.disabled:nth-of-type(odd) td,
tr.disabled:nth-of-type(even) td,
.table-striped > tbody > tr.disabled:nth-of-type(odd) td,
.table-striped > tbody > tr.disabled:nth-of-type(even) td {
    border-bottom: 1px solid #edc2c2;
    border-top: 1px solid #edc2c2;
}

.disabled,
.disabled td,
.disabled .storno,
.disabled .storno i {
    color: #afafaf;
}

.disabled a,
.disabled button,
.disabled input {
    cursor: no-drop;
    cursor: not-allowed;
}

.Calc tr.disabled:after {
    content: 'Storno';
    position: absolute;
    margin: 14px 0 0 -840px;
    transform: rotate(-40DEG);
    font-weight: 700;
    color: #900;
    z-index: 999;
}

.Calc tr.disabled {
    position: relative;
}

.details tr.disabled:after {
    content: 'Storno';
    position: absolute;
    margin: 14px 0 0 -365px;
    transform: rotate(-40DEG);
    font-weight: 700;
    color: #900;
    z-index: 999;
}

.details tr.disabled {
    position: relative;
}

a.disabled,
a.disabled:nth-child(2n+1),
a.disabled:nth-child(2n+2),
a.disabled i {
    background: #f1f1f1;
    color: #afafaf;
    cursor: no-drop;
    cursor: not-allowed;
}

.Calc tr.success:after {
    content: 'Bezahlt';
    position: absolute;
    margin: 14px 0 0 -840px;
    transform: rotate(-40DEG);
    font-weight: 700;
    color: #00cc70;
    z-index: 999;
}

.Calc tr.success {
    position: relative;
}

.details tr.success:after {
    content: 'Bezahlt';
    position: absolute;
    margin: 14px 0 0 -365px;
    transform: rotate(-40DEG);
    font-weight: 700;
    color: #00cc70;
    z-index: 999;
}

.details tr.success {
    position: relative;
}

.umsatz {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: #ccc;
}

.umsatz .jahr {
    float: left;
    width: 25%;
    border-left: 1px solid #999;
    padding: 0 20px;
}

.umsatz .jahr:first-child {
    border-left: none;
    padding-left: 0;
}

.jahr div {
    float: left;
    padding: 0 10px;
}

.jahr .price {
    width: 100%;
    font-weight: 700;
}

.redWarning {
    color: #000;
    animation: blink 1s 2s infinite;
    -moz-animation: blink 1s 2s infinite;
    -webkit-animation: blink 1s 2s infinite;
    -o-animation: blink 1s 2s infinite;
}

.licens {
    padding: 20px 0;
}

.licens span {
    margin: 20px 10px 20px 0;
}

.licens span:after {
    content: "•";
    color: #000;
    margin-left: 10px;
}

.licens span:last-child:after {
    content: "";
    margin: 0;
}

.licens span.active,
.licens span.active a {
    color: #090;
    font-weight: 700;
}

.licens span.noActive,
.licens span.noActive a {
    color: #999;
    font-weight: 700;
}

messenger {
    background: #ccc;
    width: 100%;
    display: block;
    padding: 20px 0px;
}

message {
    width: 100%;
    padding: 5px 20px;
    display: block;
    font-weight: 700;
    box-shadow: 0 -1px 10px 0px #666;
}

message.warning {
    background: orange;
    color: #a06500;
}

message.warning:before {
    content: '\f071 ';
    font-family: fontawesome;
    margin-right: 20px;
    color: #a06500;
}

/* ######### overlay ######## */

#overlay {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

#overlay .Layer {
    display: none;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    background: #fff;
    padding: 20px;
    height: 100%;
    overflow-y: scroll;
}

#overlay .Layer .close {
    float: right;
}

#overlay .Layer .close:before {
    float: right;
    content: "\f00d";
    font-family: fontawesome;
    margin-bottom: 10px;
}

@-webkit-keyframes blink {
    0% {
        color: #000;
    }
    50% {
        color: red;
    }
    100% {
        color: red;
    }
}

/* Standard syntax */
@keyframes blink {
    0% {
        color: #000;
    }
    50% {
        color: red;
    }
    100% {
        color: red;
    }

}
