@font-face {
    font-family: 'clearsans-light';
    src: url('/fonts/clear-sans/ClearSans-Light.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'clearsans-light';
    src: url('/fonts/clear-sans/ClearSans-Bold.ttf') format('truetype');
    font-weight: 700;
}

::-webkit-scrollbar {
    width: 0.9em;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

::-webkit-scrollbar-thumb {
    background-color: #555555;
    outline: 1px solid slategrey;
}

body {
    font-family: 'clearsans-light';
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'clearsans-light';
    font-weight: 700;
}

input[type='text'], input[type='password'], textarea {
    background: #fff;
    border: 1px solid #ccc;
    font-size: 16px;
    height: 38px;
    line-height: 1.4;
    font-weight: 400;
    color: #000;
    padding: 0 10px;
    font-family: 'clearsans-light';
}

button, html, input, select, textarea {
    font-family: 'clearsans-light' !important;
}

textarea {
    vertical-align: top;
    overflow: auto;
    min-height: 100px;
    padding: 10px;
    width: 100%;
}

textarea:focus {
    border: 2px solid #95c11e;
    outline: 0;
}
.fabuu textarea:focus {
    border: 2px solid #6ab6c0;
}

::-moz-selection { background: #95c11e; color: #000; }
::selection { background: #95c11e; color: #000; }
.fabuu ::-moz-selection { background: #6ab6c0; color: #fff; }
.fabuu ::selection { background: #6ab6c0; color: #fff; }

.contentPage {
    width: 1300px;
    margin: 50px auto;
}

.contentPage h1 {
    margin: 20px 0 40px;
}

button[disabled], html input[disabled], textarea[disabled] {
    cursor: not-allowed;
}

input.disabled, textarea.disabled {
    background: #f2f2f2;
    color: grey;
}

button.btn {
    background: #95c11e;
    color: #fff;
}

button.btn:hover {
    background: #333;
    color: #fff;
}

/*
 * ----------------
 *      Login
 * ----------------
 */
.login {
    display: flex;
    align-items: center;
    height: 100vh;
    justify-content: center;
    background: #f2f2f2;
}

.login h1 {
    color: #95c11e;
    margin-bottom: 30px;
}

.login .inside {
    text-align: center;
}

.login label {
    display: block;
    text-align: center;
    padding: 15px 0 2px;
    font-size: 2rem;
    text-transform: uppercase;
}

.login .submit {
    width: 100%;
    margin-top: 30px;
    font-size: 2rem;
    font-weight: 700;
}

.login input[type='text'], .login input[type='password'] {
    font-size: 2rem;
    text-align: center;
}

/*
 * ----------------
 *    Header/Nav
 * ----------------
 */
#header {
    height: 60px;
    top: 0;
    background: #000;
    z-index: 1;
    padding-left: 15px;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
}

#header .nav a {
    border-radius: 0;
    margin-right: 10px;
    color: #fff;
    font-size: 1.6rem;
    padding-top: 3px;
    padding-bottom: 3px;
}

#header .nav a.active {
    background: #95c11e;
}

#header .nav a:hover {
    background: #95c11e;
}

#header .nav {
    text-align: center;
    width: 100%;
}

.nav p {
    color: #fff;
    margin: 0 30px 0 220px;
    display: inline-block;
    font-size: 1.6rem;
    padding: 0;
    text-transform: uppercase;
    font-weight: 700;
}

.contentPage #header {
    margin: 0;
}

.user-online {
    width: 200px;
    float: right;
    color: #fff;
    font-weight: 700;
    line-height: 30px;
    font-size: 1.6rem;
    cursor: pointer;
    position: relative;
    margin-right: 20px;
}

.user-list {
    display: none;
    background: #000;
    z-index: 1;
    width: 100%;
    font-weight: 400;
    box-shadow: -2px 2px 2px 0 rgba(0, 0, 0, 0.25);
    -wekit-box-shadow: -2px 2px 2px 0 rgba(0, 0, 0, 0.25);
    cursor: default;
}

.user-list ul {
    padding: 10px 0 0;
}

.user-online:hover .user-list {
    display: block;
    position: absolute;
}

/*
 * ---------------------
 *   Produktionsplaner
 * ---------------------
 */
.calendarList {
    background: #f2f2f2;
}

h2 {
    font-size: 2rem;
    background: #f2f2f2;
    padding: 10px;
    text-align: center;
}
.times h2 {
    background: none;
}

li {
    list-style-type: none;
}

.day {
    margin-top: 30px;
}

.day > div {
    float: left;
}

.orders {
    position: fixed;
    width: 12%;
    left: 0;
    z-index: 2;
    height: 100vh;
    top: 0;
    background: #f2f2f2;
    padding: 0;
}

.orders tr {
    cursor: pointer;
    margin-bottom: 20px;
    display: block;
    position: relative;
}

.orders .products {
    border-top: 2px solid #95c11e;
    margin-top: 10px;
    padding-top: 10px;
}

.orders .products > div {
    font-size: 0.8em;
    padding-bottom: 10px;
}

.day li {
    font-size: 1em;
}

.simpleDemo .day ul[dnd-list] li, .simpleDemo .day ul[dnd-list] li > span {
    min-height: 42px;
}

.times {
    margin-left: 8.333333%;
    margin-top: 80px;
}

.ressourceLabel {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev, .next {
    position: absolute;
    right: 15px;
    top: 80px;
    background: #95c11e;
    padding: 10px 14px;
    cursor: pointer;
}

.prev {
    right: 70px;
}

.prev .fa, .next .fa {
    color: #fff;
}

.orders h2 {
    margin-top: 0;
}

a.addBlanko {
    background: rgba(0,0,0,0.87);
    padding: 5px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    display: block;
    margin: 15px;
}

.orders .duration input {
    display: inline-block;
    width: 48%;
    float: left;
    height: 26px;
    text-align: center;
}

.orders .duration input[type='number'] {
    margin-right: 2%;
}

.orders .duration input[type='submit'] {
    margin-left: 2%;
    border: none;
}

.title {
    font-weight: 700;
    vertical-align: top;
    font-size: 1.5rem;
}

.simpleDemo ul.calendarList li.dndPlaceholder + li {
    display: none;
}

.dndPlaceholder {
    z-index: 2;
}

.calendarList li img {
    padding-right: 5px;
    width: 30px;
    float: left;
    padding-top: 5px;
}

img {
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.orders .date {
    font-size: 1.2rem;
    padding-top: 5px;
}

.calendarList .info {
    text-align: left;
    line-height: 16px;
}

.calendarList .title {
    font-size: 1.3rem;
    display: block;
}

.calendarList .date {
    font-size: 1.2rem;
    font-weight: 400;
}

.express:after, .collection:after {
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 100%;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    z-index: 1;
}

.express:after {
    content: "E";
    background: #e23232;
    color: #fff;
}

.collection:after {
    content: "A";
    background: #fff;
    color: #95c11e;
}
.collection_today:after {
    color: #e23232;
}
.collection_tomorrow:after {
    color: #e2c721;
}

.calendarList .express:after {
    color: #95c11e;
    background: #fff;
    width: 14px;
    height: 14px;
    line-height: 14px;
    font-size: 12px;
}

.simpleDemo ul[dnd-list],
.simpleDemo ul[dnd-list] > li {
    position: relative;
}

.simpleDemo ul[dnd-list] {
    min-height: 42px;
    padding-left: 0px;
}

.simpleDemo ul[dnd-list] .dndDraggingSource {
    display: none;
}

.simpleDemo ul[dnd-list] .dndPlaceholder {
    display: block;
    background-color: #ddd;
    min-height: 42px;
}

.simpleDemo ul[dnd-list] li, .times li {
    background-color: #fff;
    border: 3px solid #95c11e;
    display: block;
    padding: 10px 15px;
}

.simpleDemo .orders table[dnd-list] tr.fabuu {
    border: 3px dashed #6ab6c0;
}

.orders tr.fabuu .products {
    border-top: 2px solid #6ab6c0;
}

li.fabuu input[type=submit] {
    background: #6ab6c0;
}

.simpleDemo .orders table[dnd-list] tr.open {
    background-color: #fff;
}

.simpleDemo .orders table[dnd-list] tr.complete {
    background-color: #ddd;
}

.simpleDemo ul[dnd-list] li.order > span {
    color: #fff;
    display: flex;
    align-items: center;
    font-weight: 700;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    border: 1px solid #fff;
    background-color: #95c11e;
    text-align: center;
    padding: 0 10px;
}

.simpleDemo ul[dnd-list] li.order.fabuu > span {
    background: #6ab6c0;
}

.simpleDemo ul[dnd-list] li.order.complete > span {
    background-color: #cecece;
}

.calendarList .express.complete:after {
    color: #cecece;
}

.simpleDemo ul.calendarList li {
    background-color: rgb(245, 245, 245);
    border: 1px solid #fff;
}

.simpleDemo ul[dnd-list] li.blanko > span {
    background-color: #444;
    color: #fff;
    text-align: center;
    padding: 5px;
}

.times li {
    text-align: right;
    border: 1px solid #fff;
}

.simpleDemo ul[dnd-list] li:focus {
    outline: none;
}

.simpleDemo .orders table[dnd-list] tr.selected {
    border: 2px solid #95c11e;
}

.simpleDemo ul[dnd-list] li.order .content {
    width: 100%;
    text-align: left;
}

.calendarList li.medium img {
    width: 40px;
}

.calendarList li.large img {
    float: none;
    width: 60px;
    padding-bottom: 10px;
}

.calendarList li.xlarge img {
    float: none;
    width: 100%;
    padding-bottom: 10px;
}

.orders tr img {
    width: 45px;
    padding-right: 5px;
}

.stuck .day h2 {
    position: fixed;
    top: 0;
    z-index: 10;
    background: rgba(0,0,0,.8);
    color: #fff;
    font-size: 1.5rem;
    margin-left: 20px;
    margin-top: 15px;
    padding: 7px 10px;
}

.stuck .prev, .stuck .next {
    position: fixed;
    z-index: 10;
    top: 15px;
    padding: 7px 10px;
}

.stuck .prev {
    right: 70px;
}

.stuck .next {
    right: 30px;
}

.stuck .times {
    margin-top: -42px;
}

.stuck .ressourceLabel {
    position: fixed;
    top: 60px;
    z-index: 10;
    margin-left: 20px;
    background: rgba(214, 214, 214, .7);
    color: #000;
    height: inherit;
    padding: 2px 10px;
    font-size: 1.2rem;
}

.planer > #datetime {
    position: absolute;
    width: inherit;
    right: 150px;
    height: 34px;
    margin-top: 5px;
    background: #95c11e;
    border: none;
    cursor: pointer;
    color: #fff;
    font-weight: 700;
}

.planer > #datetime::placeholder {
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
}

.simpleDemo ul[dnd-list] li.order.locked > span, .simpleDemo .orders table[dnd-list] tr.open.locked,
.simpleDemo .orders table[dnd-list] tr.blanko.locked {
    background: #ad2020;
    color: #fff;
}

.orders tr.open.locked .duration input[type='number'] {
    color: #000;
}

.simpleDemo .orders table[dnd-list] tr.open.locked, .simpleDemo .orders table[dnd-list] tr.blanko.locked {
    border: 3px solid #ad2020;
}

.blocked-message {
    color: #ad2020;
    font-weight: 700;
    letter-spacing: 1px;
}

.simpleDemo .orders table[dnd-list] tr.blanko {
    background: #444;
    color: #fff;
    border: 3px solid #444;
}

.simpleDemo .orders table[dnd-list] tr.blanko input[type='number'] {
    color: #000;
}

.simpleDemo ul[dnd-list] li.order .content.allDay {
    position: fixed;
    top: 40%;
    width: 100px;
}

.simpleDemo .orders table[dnd-list] tr.escalated {
    border: 3px solid #e23232;
}
.simpleDemo ul[dnd-list] li.order.escalated:not(.complete):not(.waiting) > span {
    background: #e23232;
}
.calendarList .express.escalated:not(.complete):not(.waiting):after {
    color: #e23232;
}

.simpleDemo .orders table[dnd-list] tr.waiting {
    border: 3px solid #e2c721;
}
.simpleDemo ul[dnd-list] li.order.waiting:not(.complete) > span {
    background: #e2c721;
}
.calendarList .express.waiting:not(.complete):after {
    color: #e2c721;
}

.orders .dataTables_filter {
    float: none;
    margin: 0;
}

.orders div.dataTables_filter label {
    float: none;
    width: 100%;
}

.orders .dataTables_filter input[type=search] {
    margin: 0;
    width: 100%;
}

.orders thead {
    display: none;
}

.orders .datatable td {
    background: none;
}

.orders .dndPlaceholder {
    height: 50px;
    background: #cccccc;
}

.simpleDemo ul[dnd-list] li.small .title {
    font-size: 1.1rem;
}
.simpleDemo ul[dnd-list] li.small .date {
    letter-spacing: -1px;
}
.simpleDemo ul[dnd-list] li.order.small > span {
    padding: 0 2px;
}
.simpleDemo ul[dnd-list] li.order.small img {
    width: 20px;
    padding-right: 0;
    margin-right: 2px;
}

/*
 * ---------------------
 *      Verwaltung
 * ---------------------
 */
.verwaltung .fa {
    font-size: 2rem;
    cursor: pointer;
}

.verwaltung label, .verwaltung input, .verwaltung select {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.verwaltung input {
    width: 250px;
}

.verwaltung input, .verwaltung select {
    margin-bottom: 10px;
}

.adminControl {
    height: 320px;
}

.closeEditFrm {
    position: absolute;
    right: 30px;
}
.form-control {
    border-radius: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.btn {
    border-radius: 0;
}

li.removeOrder {
    border: 3px dotted #333;
    margin: 15px;
    padding: 15px;
    text-align: center;
    position: relative;
}

li.removeOrder i {
    font-size: 3rem;
}

.orders table .dndPlaceholder {
    display: none;
}

.orders .removeOrder .dndPlaceholder {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.orders .dataTables_wrapper {
    overflow-y: scroll;
    height: 77vh;
    padding: 0 15px;
}

/*
 * ---------------------
 *    Detailansicht
 * ---------------------
 */
.details a {
    cursor: pointer;
}

.tracking {
    position: absolute;
    right: 15px;
    display: flex;
    align-items: center;
}

.details .startBtn .fa {
    color: #95c11e;
    background: #fff;
    padding: 0 2px;
    border-radius: 100%;
}

.details .startBtn, .details .stopBtn {
    background: none;
    border: none;
}

.details .stopBtn .fa {
    color: #c10d00;
    background: #fff;
    padding: 0 2px;
    border-radius: 100%;
}

.tracking .timer {
    padding-right: 15px;
}

.details ul {
    padding: 0 25px;
}

.details ul li {
    list-style-type: circle;
}

.duration {
    overflow: hidden;
}

#details .duration {
    width: 50px;
    text-align: center;
}

input[type=number]::-webkit-inner-spin-button {
    opacity: 1;
}

input[type=submit], div.btn {
    background: #95c11e;
    color: #fff;
}

input[type=submit]:hover, div.btn:hover {
    background: #000;
    color: #fff;
}

div.btn {
    margin-top: 10px;
}
div.btn.waiting {
    background: #e2c721;
}
div.btn.waiting:hover {
    background: #000;
    color: #fff;
}
div.btn.waiting.active {
    padding-right: 25px;
    position: relative;
    box-shadow: none;
}

.icon-clear {
    transform: rotate(45deg);
    display: inline-block;
    font-weight: 700;
    font-size: 20px;
    position: absolute;
    right: 5px;
    height: 100%;
    top: 0;
}

.gravurImg {
    width: 100%;
    display: block;
    clear: left;
    overflow: hidden;
}

.preview {
    width: 10%;
    float: left;
    cursor: pointer;
    margin: 5px 0;
}

.preview img {
    max-width: 100%;
    height: auto;
}

.gravurImg .zip a {
    padding: 3px 10px;
    background: #95c11e;
    display: inline-block;
    color: #fff;
    margin-top: 5px;
}

span.laser-id {
    background: #f2f2f2;
    color: rgba(0,0,0,0.87);
    padding: 1px 5px;
    display: inline-block;
    margin: 3px 0;
}

md-dialog#engraving-images {
    max-width: 90%;
    width: auto;
    background: #f2f2f2;
}

.laserImg {
    display: inline;
}

.laserImg img {
    margin-bottom: 5px;
}

.product-list {
    margin: 0 0 20px;
}

.product-list .typ {
    background: #f2f2f2;
    padding: 5px;
    font-weight: 700;
    font-size: 0.9em;
}

.product-list .product {
    font-size: 0.9em;
    padding: 5px;
}

.details h2 {
    background: none;
    text-align: left;
    padding: 10px 0;
    font-weight: 700;
    text-transform: uppercase;
    color: #95c11e;
    position: relative;
    margin-bottom: 20px;
}

.details h2.first {
    margin-top: 0;
}

.details h2:after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 50px;
    border-bottom: 5px solid #95c11e;
}

table {
    width: 100%;
}

table tr {
    border-bottom: 2px solid #fff;
}

th, td {
    padding: 5px;
    background: #f2f2f2;
    font-size: 0.9em;
    border-right: 2px solid #fff;
}

.times-log > div {
    margin: 20px 0;
}

.details .dtp-input {
    margin: 0;
    max-width: 100%;
}

.details input[type='text'] {
    display: inline-block;
    width: inherit;
    margin: 5px 0;
}

.field {
    padding: 2px 0;
}

.field label {
    margin: 0;
    width: 150px;
}

.details textarea,
.details input[type=checkbox],
.details .duration {
    margin: 5px 0;
}

.details input[type=submit] {
    margin-top: 10px;
}

/*
 * ---------------------
 *     Modal-Dialog
 * ---------------------
 */

md-toolbar:not(.md-menu-toolbar) {
    background-color: #95c11e;
}

.fabuu md-toolbar:not(.md-menu-toolbar) {
    background: #6ab6c0;
}

.md-toolbar-tools .timer {
    float: left;
}

#details .md-toolbar-tools {
    padding: 0 24px;
}

#details .md-toolbar-tools h1 {
    font-weight: 700;
}

md-dialog.details {
    width: 50%;
}

.fabuu.details h2 {
    color: #6ab6c0;
}

.fabuu.details h2:after {
    border-bottom: 5px solid #6ab6c0;
}

.fabuu input[type=submit] {
    background: #6ab6c0;
}

.fabuu input[type=submit]:hover {
    background: #000;
}

/*
 * ---------------------
 *  Erledigte Aufträge
 * ---------------------
 */

.datatable th, .datatable td, #main table.dataTable.display tbody tr.odd>.sorting_1, table.dataTable.order-column.stripe tbody tr.odd>.sorting_1, table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd, #main table.dataTable.display tbody tr.even>.sorting_1, table.dataTable.order-column.stripe tbody tr.even>.sorting_1 {
    background-color: #fff;
}

.datatable td {
    border: none;
}

.datatable tr {
    border-bottom: 2px solid #f2f2f2;
}

.details-btn {
    background: #95c11e;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-weight: 700;
}

.fabuu .details-btn {
    background: #6ab6c0;
}

.details-btn:hover {
    background: #789e11;
}

.fabuu .details-btn:hover {
    background: #59a0aa;
}

.dataTables_paginate .prev, .dataTables_paginate .next {
    position: relative;
    right: inherit;
    top: inherit;
}

table.dataTable thead th, table.dataTable thead td {
    padding: 10px;
}

.dataTables_wrapper .dataTables_paginate, .dataTables_wrapper .dataTables_info {
    margin-top: 20px;
}

.dataTables_length {
    float: left;
}

.dataTables_filter {
    float: right;
}

.dataTables_length label {
    font-weight: 400;
}

.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter {
    margin-bottom: 10px;
}

.dataTable .fabuu span {
    background: #6ab6c0;
    padding: 5px 10px;
    color: #fff;
    font-weight: 700;
    width: 100%;
    text-align: center;
    display: block;
}

.dataTable .signuu span {
    background: #95c11e;
    padding: 5px 10px;
    color: #fff;
    font-weight: 700;
    width: 100%;
    text-align: center;
    display: block;
}

.products {
    white-space: pre-line;
}

.dataTables_wrapper .dataTables_info {
    float: left;
}

.dataTables_filter input[type=search] {
    margin-left: 10px;
}

div.dataTables_length select {
    margin-right: 10px;
}

.openOrders .title {
    font-weight: 700;
}

.openOrders .products {
    font-size: 12px;
}

.openOrders .title img {
    margin: 0 5px 5px 0;
}

.openOrders th, .openOrders td {
    background: none;
    padding: 10px;
    border-bottom: 2px solid #f2f2f2;
}

.openOrders button {
    margin: 5px;
    float: right;
    width: 200px;
}