﻿* {
    box-sizing: border-box;
}

body
{
    overflow-y: scroll;
}

.form-control-static {
    line-height: 30px;
}

header.main
{
    background-color: #000;
    color: #fff;
    padding: 1em;
    line-height: 40px;
    border-radius: 0 0 5px 5px;
    margin-bottom: 1em;
}
header.main .header 
{
    color: #fff;
    display: inline-block;
    font-size: 2em;
    line-height: 40px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}
header.main .header button,
header.main .header a {
    vertical-align: middle;
}
header.main a { text-decoration: none; color: #fff; }
header.main a:hover { text-decoration: underline; color: #fff; }
header.main .btn { color: black; }
header.main .btn:hover { color: black; }

video {
    background: black;
}

.paginator {
    display: table;
    width: 100%;
}
.paginator .pageselector {
    vertical-align: top;
    display: table-cell;
    width: 60px;
    padding-left: 10px;
}
.paginator .pageselector button {
    width: 100%;
}
.paginator .pageselector select {
    padding-right: 2px; padding-left: 2px;
}
.paginator .content {
    display: table-cell;
}

.textevents .pageinfo { font-weight: bold; }

a[disabled] {
    color: GrayText;
    text-decoration: line-through;
    pointer-events: none;
}

.backdrop {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    opacity: 0.6;
}

.center { text-align: center; }

body.dlgbackdrop { background-color: #000; margin-top: 10px; }
body.dlgbackdrop header { display: none; }

div[ng-view] {
    display: block;
}
body.dlgbackdrop div[ng-view] {
    display: none;
}
div#dialogview {
    display: none;
}
body.dlgbackdrop div#dialogview {
    display: block;
}

.dialog strong {
    white-space: pre-line;
}
.dialog > .well {
    margin-bottom: 0;
}

footer 
{
    overflow: hidden;
    background-color: #fff;
    color: #555;
    margin-top: 10px;
    padding: 5px 10px;
    min-height: 20px;
    border-top: 1px solid #ccc;
}

.container { margin-bottom: 20px; }

h1 { margin: 0 0 10px; }

.no-touch #tooltipbtn { display: none; }
#tooltipbtn.active { background-color: #f00; }

.infobox {
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 10px;
}

.tooltip {
    font-size: 1.5em;
    z-index: 2000;
}

.reqcf {
    display: block;
}
.cfmessage {
    display: none;
}
.missingcf .cfmessage {
    display: block;
}
.missingcf .reqcf {
    display: none;
}

.disabled {
    pointer-events: none;
}

a.icon-warning-sign.error {
    cursor: help;
}

ol.compact,
ul.compact 
{
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}
ol.compact > li,
ul.compact > li 
{
    display: inline;
    margin-right: 10px;
}
ul.compact > li:after,
ol.compact > li:after 
{
    content: ", ";
}
ul.compact > li:last-child:after,
ol.compact > li:last-child:after {
    content: "";
}

.oneline {
    white-space: nowrap;
}
.oneline label, .twoline label {
    display: inline-block;
    font-weight: normal !important;
    margin-right: 10px !important;
}

textarea.big {
    min-height: 4em;
}

@media (max-width: 767px) 
{
    body { padding-left: 0.5em; padding-right: 0.5em; }
    header { 
        text-align: center; 
    }
    header .pull-right,
    header .pull-left { float: none; }
    header h1 a { vertical-align: text-top; }
    header a { white-space: nowrap; }
    
    .hero-unit { padding: 20px; }
    .hero-unit h1 { font-size: 2em; }

    .form-actions .pull-left {
        float: none;
        display: inline-block;
    }

    footer {
        text-align: center;
    }
    footer .pull-right {
        float: none;
        display: block;
    }
}

/* ------------------------------------------------- */

@-webkit-keyframes flashAnim { from { background-color: inherit; } to { background-color: Yellow; } }
@keyframes flashAnim { from { background-color: inherit; } to { background-color: Yellow; } }
.flash 
{
    background-color: Yellow !important;
    -webkit-animation: flashAnim 1.1s 2 alternate;
    animation: flashAnim 1.1s 2 alternate;
}

.touch [title] {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.header 
{
    font-size: 20px;
    line-height: 24px;
    font-weight: bold;
    margin: 0 0 10px 0;
    padding: 0;
}
h1.header 
{
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}
h1.header .right {
  float: right;
  display: flex;
}

.header button {
    vertical-align: top;
}

@media(max-width: 480px) {
    .header .pull-right {
        float: none;
    }
}

.header .muted 
{
    font-size: 12px;
    line-height: 12px;
    margin: 0 5px;
}

.box 
{
    margin: 0px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    padding: 10px;
    background-color: #fff;
}

a, [ng-click] { cursor: pointer; }

.wsnw { white-space: nowrap; }
table { width: 100%; }
table .snug { width: 1px; padding: 0; margin: 0; }
table caption {
    font-weight: bold;
    font-size: 1.2em;
}

hr { margin: 10px 0 5px; }

.floatremaining {
    overflow: hidden;
}

.relbox  
{
    position:relative;
    width: 100%;
}

input.searching {
    background-image: url('/Content/images/loading.gif') !important;
    background-repeat: no-repeat !important;
    background-position: center right !important;
}

.loading 
{
    background-image: url('/Content/images/loading.gif') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important; 
    min-width: 14px;
    min-height: 14px;
}
.loading * 
{
    pointer-events: none;
    opacity: 0.8; 
}
.loading > * 
{
    opacity: 0.2;
}

.warning {
    color: orange !important;
}
.danger,
.error {
    color: Red !important;
}
b.error {
    font-family: Arial;
}

.errors {
    margin-top: 1em;
}
.errors > span {
    display: block;
}

.text { white-space: pre-wrap; }

.colorbox 
{
    display: inline-block !important;
    width: 20px !important;
    min-height: 20px !important;
    text-indent: -9999px;
    margin: 0 5px !important;
}

.linklist > label { display: inline-block !important; margin-right: 10px !important; }
.linklist > a { margin-right: 10px; }

.bgprogress {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9wJCRQwJCFagoEAAAANSURBVAjXY7j+5fp/AAjqA6K5jX8QAAAAAElFTkSuQmCC) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 0% 0%;
    transition: background-size 0.5s ease;
}
.bgprogress.done {
    background-size: 100% 100%;
    background-position: left !important;
}
.bgprogress.active {
    background-size: 0% 100%;
    background-position: left !important;
    transition: background-size 0.2s ease;
}

.progress 
{
    height: 10px;
    margin-top: 10px; 
}
.progressValue 
{
    height: 10px;
    background-color: Green;
}

.progress.ng-hide-add {
    -webkit-transition: 1s linear all;
    -moz-transition: 1s linear all;
    -o-transition: 1s linear all;
    transition: 1s linear all;
    opacity: 1;
    display: block !important;
}
.progress.ng-hide-add.ng-hide-add-active {
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

.popup {
    display: none; 
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 3px;
    box-shadow: #888 5px 5px;
}

.limitmin,
.limitmax { background-color: #fdd !important; }
.limitlow,
.limithigh { background-color: #ffd !important; }

td.limitmin, td.limitlow, td.limithigh, td.limitmax {
    text-align: center;
    padding: 0 5px;
    white-space: nowrap;
}

.momentan {
    white-space: nowrap;
}
.momentan.loading 
{
    display: inline-block;
}
.momentan > span {
    margin-right: 5px;
}

.dropdown-menu 
{
    text-align: left;
    min-width: 80px;
    font-size: 14px;
}

.unsavedrond 
{
    margin-bottom: 20px;
}

.modal form { margin: 0; }
.modal > form { padding: 1em; }
.modal .alert {
    margin: 10px 0 0; 
}

@media (max-width: 767px) 
{
    h1.header { text-align: center; }
    label.checkbox 
    {
        padding: 4px 10px 4px 25px;
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 4px;
        margin-bottom: 2px;
    }
}

/* main menu */
.mainmenu a {
    line-height: 25px;
    text-align: left;
}
.mainmenu a i {
    float: left;
    vertical-align: middle;
    line-height: 25px;
    font-size: 1.5em;
    margin: 0 10px;
    width: 25px;
    text-align: center;
}

/* logger */
.loggersummary ul .value { margin-left: 10px; }
.loggersummary .center {
    margin-top: 20px;
}

/* EMAILS */
.emails .extra {
    overflow: hidden;
}
.emails .extra > li {
    display: inline-block;
    float: left;
    margin-right: 5px;
}
.emails .emailgroup {
    border-color: orange;
}

/* ---------- summary button -----------------*/
button.summary {
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
}
button.summary .count {
    float: left;
    margin: 0 10px 0 0;
}
button.summary .muted {
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
}


/* ---------- tabs ------------------------- */

.nav-tabs > li > a { border-color: #eee; }
.nav-tabs > li.active > a,
.nav-tabs > li > a:hover,
.nav-tabs > li.active > a:hover
{ border-left-color: #888; border-right-color: #888; border-top-color: #888; }
.nav-tabs, .cwtabs { margin-bottom: 0; }
.cwtabs > li {
    border: 1px solid #ccc;
    border-bottom: transparent;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}
.cwtabs > li.pull-left {
    border: 0;
}
.cwtabs > li > p { display: inline-block; margin: 0 0 0 2px; padding: 8px; }
.cwtabs > li > p > button { margin-left: 10px; }
.cwtabs > li.active > p a { color: #000; }
.cwtabs > li.active {  background-color: #fff; }
.tab-content { 
    padding: 10px; 
    background-color: #fff; 
    border-left: 1px solid #ccc; 
    border-right: 1px solid #ccc; 
    border-bottom: 1px solid #ccc; 
    overflow: visible; 
}
.modal .tab-content { padding: 0; }

.tab-pane .well:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) 
{
    .nav-tabs > li { border: 1px solid transparent; }
    .nav-tabs > li > p { padding: 4px; }
    .nav-tabs > li > a { padding: 3px 4px; }
    .tab-content { padding: 5px; }
}

/* ------------------------------------------------- */

[dd-sortable] 
{
    -webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;    
}
[draggable=true] {
  -khtml-user-drag: element;
}
.placeholder 
{
    box-sizing: border-box;
    border: 1px dashed #CCC !important;
	background: none;
}
.placeholder > * { visibility: hidden; }

/* -[ colorpicker ]---------------------------------------------*/

.colorpicker 
{
    z-index: 1000;
    border: 2px solid #ccc;
    border-radius: 3px;
    width: 100px;
    height: 100px;
}
.colorpicker canvas 
{
    width: 100px;
    height: 100px;
}
.colorbox:hover { border: 1px solid #555; cursor: pointer; }


/* -[ datepicker ]-------------------------------------- */

.bgoverlay 
{
    background-color: #000;
    opacity: 0.8;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 101;
}

button.datetime {
    width: 100%;
}

input[cw-datepicker]  
{
    background: url('/Content/images/calendar.gif') no-repeat right center; 
    background-color: #fff;
    cursor: pointer;
    /*padding-right: 18px;*/
}

input[cw-datepicker][disabled] 
{
    background-color: #eee;
    cursor: not-allowed;
}
input[cw-datepicker][readonly] {
    background-color: #fff;
    cursor: pointer;
}

.datepicker 
{
    position: fixed;
    padding: 10px;
    background-color: #fff; 
    border: 1px solid #ccc; 
    border-radius: 3px; 
    z-index: 10001; 
    overflow: hidden;
}

.datepicker .info { text-align: center; margin-bottom: 5px; }

.datepicker .cols { margin-bottom: 10px; overflow: hidden; }
.datepicker .cols > div { float: left; width: 80px; }

.datepicker form { margin: 0; }
.datepicker input { margin: 0; }

.datepicker .actions { text-align: center; }
.datepicker .actions button { margin: 0 2px; }

@media (max-height: 300px) 
{
    .datepicker { white-space: nowrap; padding: 10px 5px; }
    .datepicker .cols { float: left; margin: 0 5px 10px 5px; }
    .datepicker .cols > div { width: 50px; }
    .datepicker .actions { float: none; clear: both; }
}

/* -[ forms ]-------------------------------------- */

input:invalid, select:invalid, textarea:invalid {
    border: 1px solid red !important;
}
.tag-input-ctn.ng-invalid,
input.ng-invalid, select.ng-invalid, textarea.ng-invalid,
.listbox.ng-invalid, .btn.ng-invalid, .uneditable-input.ng-invalid 
{
    border: 1px solid red !important;
}

input:not([type="checkbox"]):not([type="radio"]), select, textarea
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%; 
    margin: 0;
    min-height: 30px;
}

select[multiple] {
    min-height: 115px;
}

input[type="checkbox"][cw-bit] {
    cursor: pointer;
}

.filter {
    position: relative;
    margin-bottom: 10px !important;
}
.filter button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: transparent;
    color: red;
    border: 0;
}

input[type="file"] 
{
    position: absolute;
    top: -9999px;
    left: -9999px;
    float: left;
    display: inline;
    width: 1px;
    height: 1px;
}

.cwvalidating 
{
    background-image: url('/Content/images/loading.gif');
    background-position: right center;
    background-repeat: no-repeat;
}

.form-actions 
{
    text-align: right;
    margin: 10px 0 0 0;
    padding: 10px 0 0 0;
}
.form-actions .btn-group {
    margin-left: 0;
}

@media (max-width: 767px) 
{
    .form-actions
    {
        text-align: center;
    }
}

/* -[ toolbox ]-------------------------------------- */

.toolbox 
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;

    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 5px 5px 5px 10px;
    margin: 0 0 5px 0;
    line-height: 30px;
    min-height: 30px;
    background-color: #fff;
    z-index: 100;
}
.toolbox:before,
.toolbox:after 
{
    content: ".";
    display: block;
    height: 0;
    overflow: hidden;
}
.toolbox:after { clear: both; }
.toolbox { zoom: 1; }

.stuck {
    position: fixed;
    top: 0;
    border: 1px solid blue;
}

.toolbox .header
{
    float: left;
    line-height: 30px;
    margin: 0;
}

.toolbox .btn-toolbar 
{
    float: right;
    text-align: center;
    margin: 0;
    padding: 0;
}

@media (max-width: 360px) {
    .toolbox {
        text-align: center;
    }
    .toolbox .header .muted {
        display: block;
    }
    .toolbox > .header,
    .toolbox > .btn-toolbar {
        float: none;
    }
    .toolbox > .btn-toolbar > * {
        margin-top: 10px;
    }
}

/* -[ well ]-------------------------------------- */

.well > .header 
{
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

.well > label 
{
    display: block;
    font-weight: bold; 
}

label img.loading {
    float: right;
}

@media (max-width: 767px) 
{
    .well { padding: 5px; }
}

/* --[ columns ]-------------------------------------- */

.columns 
{
    list-style: none;
    margin: 0 -10px -5px 0;
    padding: 0;
    overflow: hidden;
}

.columns > li 
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;

    float: left;
    width: 25%;
    padding: 0 10px 5px 0;
    margin: 0;
}

.columns.two > li {
    width: 50%;
}
.columns.three > li {
    width: 33.333333%;
}
.columns.five > li {
    width: 20%;
}

.columns > li.separator 
{
    float: none;
    display: block;
    clear: both;
    width: 100%;
    padding: 5px 20px 10px 10px;
    margin: 0;
    min-height: 0;
}
.columns > li.separator hr { padding: 0; margin: 0; }

.columns > li.clear { clear: both; }
.columns > li.half { width: 50%; }
.columns > li.full { width: 100%; }
.columns > li.double { width: 50%; }
.columns > li.triple { width: 75%; }
.columns > li.third { width: 33.333333%; }
.columns > li.fifth { width: 20%; }
.columns > li.splitbig { width: 65%; }
.columns > li.splitsmall { width: 35%; }
.columns.pres > li.splitbig { width: 60%; }
.columns.pres > li.splitsmall { width: 40%; }

.columns .pull-left {
    line-height: 20px;
}

.columns.muted label  
{
    font-weight: bold; 
    font-size: 12px;
    margin: 0;
}
.columns.muted
{
    margin: 0;
    font-size: 12px;
    line-height: 12px;
}

.columns.muted > li  
{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-bottom: 0;
}

.columns.muted label { display: inline-block; margin-right: 10px; }
.columns label .muted { margin-left: 5px; font-size: 0.8em; }

.columns li table { margin: 0; padding: 0; border-collapse: collapse; border: 0; }
.columns li table td { margin: 0; padding: 0; border: 0; }

.columns li[disabled] { color: #ccc; }

.columns input:not([type="checkbox"]):not([type="radio"]),
.columns select,
.columns textarea {
    margin: 0;
}

.columns li button {
    white-space: nowrap;
}

.columns li .btn-block {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-left: 5px;
    padding-right: 5px;
}

.columns li > .checkbox {
    margin-top: 5px;
    padding-bottom: 5px;
}

.columns li > span > .checkbox {
    display: inline-block;
    margin-right: 10px;
}

@media (max-width: 980px) {
    .columns.five > li {
        width: 25%;
    }
}

@media (max-width: 768px) 
{
    .columns { margin-right: -5px; }
    .columns > li { padding-right: 5px; }
    
    .columns > li,
    .columns > li.fifth, 
    .columns.three > li,
    .columns.five > li { width: 50%; }
    .columns > li.fullmob,
    .columns > li.half,
    .columns > li.double,
    .columns > li.triple,
    .columns > li.third,
    .columns > li.splitbig,
    .columns > li.splitsmall,
    .columns.pres > li.splitbig,
    .columns.pres > li.splitsmall { width: 100%; }
    
    .columns.muted > li.half { width: 50%; }
    .columns.muted > li.third { width: 33.333333%; }
    
    .columns.muted label { display: block; margin: 0; }

    .columnitems > li {
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #ccc;
    }
}

@media (max-width: 359px) {
    .columns > li,
    .columns.three > li {
        width: 100%;
    }
}

/* -[ bringup ]-------------------------------------- */

.bringup
{
    overflow: hidden;
    vertical-align: top;
}
.bringup > * 
{
    float: left;
}
.bringup .muted  
{
    float: right; 
    width: 60%; 
    margin: 0;
}
.bringup .muted label 
{
    display: inline-block;
    margin-right: 10px;
}

@media (max-width: 767px) 
{
    .bringup > * { float: none; }
    .bringup .muted { float: none; width: 100%; }
}

/* -[ smalllist ]-------------------------------------- */

.smallist  
{
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.smallist > li 
{
    display: block;
}

.smallist > li:last-child { margin-bottom: 0; }

.smallist > li > input[type="checkbox"] 
{
    float: right;
}

/* -[ listbox ]-------------------------------------- */
.listbox {
    margin: 0;
    padding: 5px 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    height: 80px;
    overflow-y: auto;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .listbox {
        height: auto;
        overflow: hidden;
    }
}

/* Tree */
.tree, .branches {
    list-style: none;
    margin: 0 0 0 0;
}
.tree > li {
    margin-bottom: 5px;
    background-color: #fff;
}
.atree > li > .header {
    margin-bottom: 5px;
    border-bottom: 1px solid #ccc;
}
.tree > li, .tree .branches > li {
    padding: 5px 10px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
}
.tree input[type="checkbox"] {
    float: right;
}
.tree .muted {
    font-size: 0.8em;
    margin-right: 5px;
    line-height: 20px;
}
.tree .header {
    font-size: 1.2em;
    line-height: 1.2em;
    font-weight: bold;
    margin: 0; 
    padding: 0;
}
.tree .header .muted {
    float: right;
}
.tree .breaker {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}
.tree .leafs {
    list-style: none;
    margin-left: 0;
}
.tree .leafs > li {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}
.tree .leafs > li:last-child {
    margin: 0;
    padding: 0;
    border: 0;
}

/* -[ grouplist ]-------------------------------------- */
.grouplist, 
[cw-grouplist] {
    list-style: none;
    margin: 0 0 -5px 0;
}
.grouplist input[type="checkbox"],
[cw-grouplist] input[type="checkbox"] {
    float: right;
}
.grouplist .header,
[cw-grouplist] .header {
    font-size: 1.2em;
    line-height: 1.2em;
    font-weight: bold;
    margin: 0; 
    padding: 0;
}
.grouplist > li,
[cw-grouplist] > li {
    padding: 5px 10px;
    border: 1px solid #ccc;
    margin-bottom: 5px;
    background-color: #fff;
    clear: both;
}
.grouplist > li > ul,
[cw-grouplist] > li > ul {
    list-style: none;
    margin: 5px 0 0 0;
    padding-top: 5px;
    border-top: 1px solid #ccc;
}
.grouplist > li > ul > li,
[cw-grouplist] > li > ul > li {
    clear: both;
}
.grouplist > li > a,
[cw-grouplist] > li > a {
    display: block;
}
.grouplist .header .muted,
[cw-grouplist] .header .muted {
    font-size: 0.8em;
    float: right;
    margin-right: 5px;
    line-height: 20px;
}
.grouplist .muted input[type="checkbox"],
[cw-grouplist] .muted input[type="checkbox"] {
    margin: 0 0 0 5px;
}
.grouplist .body,
[cw-grouplist] .body {
    margin-top: 5px;
}

.grouplist .items > li {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}
.grouplist .items > li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}


@media (max-width: 767px) 
{
    .tree > li, .tree .branches > li {
        padding: 5px;
    }
    .tree .branches > li:last-child {
        margin: 0;
    }
    .grouplist .body > li,
    [cw-grouplist] .body > li 
    {
        padding-bottom: 5px;
        margin-bottom: 5px;
        border-bottom: 1px solid #ccc;
    }
    .grouplist .body > li:last-child,
    [cw-grouplist] .body > li:last-child
    {
        border: 0;
        margin: 0;
    }

}
@media (max-width: 320px) 
{
    .grouplist .header .muted,
    [cw-grouplist] .header .muted {
        display: none;
    }
}

/* -[ biglist ]-------------------------------------- */

.biglist 
{
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.biglist > li 
{
    display: block;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 5px;
    background: #fff;
}

.biglist > li:last-child { margin-bottom: 0; }

.biglist > li > input[type="checkbox"] 
{
    float: right;
}

@media (max-width:767px) 
{
    .biglist > li 
    {
        margin-bottom: 5px;
        padding: 5px;
    }
}

/* -[ object viewer/editor ]-------------------------------------- */

.well .columns > li > label,
.well .columns > li .options label
{
    font-weight: bold;
    margin-bottom: 0;
}
.well .columns > li > label > a {
    margin-left: 5px;
}
.well .columns > li > label[disabled]
{
    color: #ccc;
}

.well .columns > li > span,
.well .columns > li > div[cw-ext-control] > span
{
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-height: 30px;
    line-height: 28px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 6px;
}

.well .columns.edit > li > span 
{
    background-color: #f1f1f1;
    color: #666;
}

.well .columns > li > span.text 
{
    white-space: pre-line;
    line-height: 20px;
    padding: 4px 6px;
    min-height: 20px;
}

.well .columns input:not([type="checkbox"]):not([type="radio"]),
.well .columns select,
.well .columns textarea 
{
    margin: 0;
}

/* -[ hfssfs file treeview ]-------------------------------------- */

.hfssfs
{
    padding: 10px;
    border: 1px solid #ccc;
    word-wrap: break-word;
    white-space: pre-line;
}

.hfssfs.nowrap
{
    white-space: pre;
    word-wrap: normal;
    overflow-x: auto;
}

.hfssfstree .columns {
    width: 50%;
}

.files { margin-bottom: 5px; }

@media (max-width: 767px) 
{
    .hfssfs  
    {
        padding: 5px; 
    }
    .hfssfstree .columns {
        float: none;
        width: auto;
        display: block;
    }
    .files  
    {
        margin-bottom: -5px; 
    }
    .files > li 
    {
        padding-bottom: 5px;
        margin-bottom: 5px;
        border-bottom: 1px solid #ccc;
    }
    .files > li:last-child 
    {
        margin: 0;
        border: 0;
    }
}

/* -[ attachments ]-------------------------------------- */

.attachments 
{
    list-style: none;
    margin: 0;
    padding: 0;
}

.attachments > li 
{
    float: left;
    margin: 0 10px 5px 0;
    padding: 2px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

.attachments > li.noattachments 
{
    float: none;
    display: block;
    background: transparent;
    border: 1px solid transparent;
}

.attachments > li.add {
    padding: 2px;
}

.attachments .attachment button {
    margin-left: 10px;
    margin-right: -8px;
}

.attachments .attachment label {
    display: inline;
    cursor: default;
}

.attachments .attachment a i {
    vertical-align: middle;
    text-decoration: none;
}
.attachments .attachment a i.icon-file {
    vertical-align: baseline;
}

.attachments li.files 
{
    display: block;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    float: right;
    border: 0;
}

.attachments .add > button {
    margin-left: 5px;
}

.attachments .files input { float: left; position: absolute; left: -9999px; top: -9999px; min-height: 1px; width: 1px; height: 1px; }

/* --[ texts and results ]-------------------- */

.jobtexts .historic { color: Green; }
.jobtexts .active { color: Red; }
.jobtexts .removed,
.jobresults .removed { text-decoration: line-through; }

.jobtexts, .jobresults {
    list-style: none;
    margin: 0;
    padding: 0;
}
.jobtexts > .empty {
    padding: 0.5em;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.jobtext {
    clear: both;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0.5em;
    margin-bottom: 2px;
}

.jobtext .datetime {
    margin-right: 5px;
}
.jobtext .datetime a {
    margin-left: 5px;
}
.jobtext .value {
    word-break: break-all;
}

.jobtext .attachments {
    display: inline-block;
}
.jobtext .attachment {
    float: none;
    display: inline-block;
    padding: 0;
    margin: 0 5px;
    border: 0;
}

.jobresults {
    background-color: white;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.jobresults > li {
    padding-bottom: 3px;
    margin-bottom: 3px;
    border-bottom: 1px solid #ccc;
}
.jobresults > li:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.jobresult {
    clear: both;
    line-height: 22px;
}
.jobresult .value {
    margin: 0 5px;
    font-weight: bold;
}

.biglist.texts .jobtexts {
    border: 0;
    padding: 0;
}
.biglist.texts .jobtexts > li 
{
    margin: 0 0 5px;
    border: 0;
    border-radius: 0;
}
.biglist.texts .jobtexts > li:last-child {
    border: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 767px) 
{
    .jobresults thead { display: table-header-group; }
}

/* --[ rondning ] ------------------------------ */
.timeused li {
    white-space: nowrap;
    width: 50% !important;
}
.timeused input {
    width: 80% !important;
}

/* --[ rondning ] ------------------------------ */

.jobsummarylist {
    margin: 0px 0 -5px;
    padding: 5px 0 0;
    border-top: 1px solid #ccc;
}
.jobsummarylist > li {
    margin-bottom: 5px;
}

.rondlist 
{
    padding: 5px;
}

.rondlist .header  
{
    line-height: 26px; 
    margin: 0; 
    padding: 0;
    border: 0;
}

.rondlist .columns { margin-right: -5px; }
.rondlist .columns > li { padding-right: 5px; }

.rondlist .header { line-height: 25px; margin: 0; }
.rondlist .header > button { margin-right: 5px; }
.rondlist .header .muted { 
    font-size: 12px; 
    line-height: 25px; 
}
.rondlist .header a {
    font-size: 17px;

}

.rondpanel .flex  
{
    width: 100%;
    display: table;
    vertical-align: top;
}
.rondpanel .flex > *  
{
    width: 1px;
    display: table-cell;
    padding-right: 5px;
}
.rondpanel .flex .flex  
{
    display: table;
    width: 100%;
}

.rondpanel .inputbar { line-height: 30px; margin: 10px 0; padding: 10px 0; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; }
.rondpanel input { margin: 0; }
.rondpanel .input { width: 100%; line-height: 0; padding: 0; margin: 0;  vertical-align: top; position: relative; }
.rondpanel .input .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    line-height: 30px;
    padding: 0 1em;
}

.inputbar .input .uneditable-input {
    display: block;
    width: auto;
    margin: 0;
}

.inputbar .input input,
.inputbar .input button,
.inputbar .input .uneditable-input {
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inputbar .geopos {
    line-height: 31px;
    margin: 10px 0 0 0;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #ddd;
}
.inputbar .geopos i {
    font-size: 30px;
    color: green;
}

.inputbar input.delayed { background-color: #fdd; }
.inputbar input.nowork { background-color: #B9FF9B; }

.rondpanel .ronddir { min-width: 12px; padding-left: 5px; text-align:center; }
.rondpanel .textinfo { padding: 0 5px; }
.rondpanel .posinfo { min-width: 60px; font-size: 14px; text-align: center; white-space: nowrap; padding: 0 5px; }

.rondpanel .inputbar .btn-toolbar,
.rondpanel .inputbar .btn-group { margin: 0; padding: 0; white-space: nowrap; }
.rondpanel .inputbar .buttons .btn { font-family: "Lucida Console"; }

.rondpanel .toolbtn .open { display: block; position: relative; }
.rondpanel .inputbar .dropdown-menu { font-size: 14px; }

.rondpanel .hiddenlabels label { visibility: hidden; height: 3px; }
.rondpanel .hiddenlabels span input[type="checkbox"] { width: auto; display: inline-block; margin: 0; min-height: 0; }

.simplerond > ul {
    list-style: none;
    margin: 10px 0 0 0;
    border-top: 1px solid #ccc;
}
.simplerond > ul > li {
    padding: 5px;
    padding-bottom: 0;
    border-bottom: 1px solid #ccc;
    overflow: hidden;
}
.simplerond > ul > li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 5px;
}
.simplerond .inputbar {
    float: right;
    white-space: nowrap;
}
.simplerond .inputbar div {
    display: inline-block;
}
.simplerond .inputbar div input,
.simplerond .inputbar div button {
    width: 80px;
}
.simplerond .info {
    line-height: 30px;
    min-height: 30px;
    margin-bottom: 5px;
}
.simplerond .info > div {
    display: inline;
}
.simplerond .jobtexts {
    margin-bottom: 5px;
    clear: both;
}
.simplerond button.pull-right {
    margin-right: 5px;
}
.simplerond .room { font-weight: bold; }
.simplerond .desc { font-style: italic; }
.simplerond .odd { background-color: #f9f9f9; }

@media (max-width: 767px) 
{
    .rondpanel .inputbar .buttons 
    {
        display: block;
        clear: both;
        width: 100%;
        text-align: center;
        margin: 5px 0 0 0;
        white-space: normal;
    }
    .rondpanel .inputbar .buttons .btn { padding: 4px 9px; }
}
   
/* --[ trend ] --------------------------------------- */

#flotTip { width: auto; white-space: nowrap; }
#flotTip .colorbox { min-height: 10px !important; width: 10px !important; }
#flotTip .desc { font-size: 1.3em; font-weight: bold; }
#flotTip .desc2 { font-size: 1.3em; }
#flotTip .date { float: left; font-size: 1.3em; }
#flotTip .limits { clear: both; }
#flotTip .limits label { font-weight: bold; margin-bottom: 0; }
#flotTip .limits table td { text-align: center; }
#flotTip .limits > span { margin-right: 5px; border: 1px solid #ccc; padding: 2px 5px; }
#flotTip .val { float: right; font-size: 1.4em; font-weight: bold; margin-left: 20px; }
.flotTip ol { margin-bottom: -10px; }
.flotTip ol li { margin-bottom: 10px; }
.flotTip h1 { font-size: 1.3em; font-weight: bold; margin: 0 0 10px 0; padding: 0; line-height: 1em; }

.trendoptions, .chart { background-color: #fff; }
.trendoptions { text-align: center; }
.trendoptions input,
.trendoptions select,
.trendoptions button { 
    margin: 0; 
    width: auto !important;
}
.trendoptions input[type="number"] {
    width: 90px !important;
}

.chart table {
    width: auto;
}

.chartlegend input { margin: 0; }
.chartlegend th { text-align: left; }
.chartlegend td { width: 1px; }
.chartlegend .desc  
{
    width: 100%; 
    padding-left: 5px;
}
.chartlegend .valuecount 
{
    padding: 0 15px;
    text-align: center;
}

.chartlegend .momdata 
{
    text-align: center;
}

.chartContainer {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.chartContainer, [cw-chart] {
    background-color: #fff;
}

.trendgroups > li { overflow: hidden; line-height: 26px; }
.trendgroups .btn { clear: both; }
.trendgroups .active { font-weight: bold; }
.trendgroupheader { line-height: 30px; }
.trendgroupheader input { margin-bottom: 0; width: 250px !important; }

.trendgroup .body 
{
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ccc;
}

.trendgroup ul.smallist > li {
    clear: both;
}
.trendgroup ul.smallist button {
    padding: 0;
    margin: 0 5px;
    background: transparent;
    border: 0;
}

table.trendvalues {
    margin-top: 20px;
}
table.trendvalues caption {
    text-align: left;
    font-weight: bold;
    font-size: 1.2em;
}
table.trendvalues th {
    text-align: left;
}
table.trendvalues tr {
    border-bottom: 1px solid #ccc;
}

@media (max-width: 767px) 
{
    .trendoptions .options { padding-top: 10px; clear: both; display: block; }
}
   
/* --[ statistik ]-------------------------------- */
#mylegend table {
    width: auto;
    margin-left: 10px;
}
#mylegend {
    width: 20%;
    float: right;
}
#myplot {
    width: 80%;
}

@media (max-width: 767px) {
    #mylegend table { 
        width: auto; 
        margin: 0 auto;
    }    
    #mylegend {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }
    #myplot {
        width: 100%;
    }
}

/* --[ procimg ]----------------------------------- */

.procimg input[type="file"] 
{
    float: none;
    width: 100%;
    height: auto;
    visibility: visible;
    position: static;
    display: block;
}

/* --[ issues ]----------------------------- */

.stoplights  
{
    display: inline-block; 
    border: 1px solid #ccc;
    margin-right: 5px;
    padding: 0 2px;
    background-color: #fff;
}
.stoplights > span  
{
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 10px;
    border: 1px solid black;
    margin: 0 2px;
}

.stoplights > span.off { visibility: hidden; }

.issues > li  
{
    -webkit-transition: background-color .2s ease;
    transition: background-color .2s ease; 
    padding: 10px;
    margin-bottom: 15px;
}
.issues > li > div > a { line-height: 22px; }
.journals > li > a { line-height: 22px; }
.issues .muted,
.journals .muted { margin-top: 2px; }
.dnd-dragging .issues > li {
    opacity: 0.2; 
}
.dnd-dragging .issues li.drop-accepts  
{
    background-color: #B8FFB5;
    border: 1px dashed black; 
    opacity: 1; 
}
.dnd-dragging .issues li.drop-accepts.drop-hover { background-color: #88FF85; border-style: solid; }
.journal.done { background-color: #E1FFE2 !important; }
.journalconf label {
    font-weight: bold;
    margin: 0 0;
}

ul.rights, ul.rights ul {
    list-style: none;
    margin: 0;
}
ul.rights ul {
    margin-left: 20px;
}

ul.rights input,
ul.rights select {
    width: 45%;
}
ul.rights ul {
    overflow: hidden;
}
ul.rights .types > li {
    float: left;
    width: 25%;
    box-sizing: border-box;
}

ul.horizontal > li, ol.horizontal > li {
    display: inline-block;
}

/* animations */
.repeat-enter,
.repeat-leave
{
    -webkit-transition: 0.2s linear all;
    transition: 0.2s linear all;
    opacity: 0;
}
.repeat-enter {
    line-height: 0;
    font-size: 0;
    opacity: 0;
}
.repeat-enter.repeat-enter-active {
    line-height: 1em;
    font-size: 1em;
    opacity: 1;
}
.repeat-leave {
    opacity: 1;
    font-size: 1em;
    line-height: 1em;
}
.repeat-leave-active {
    opacity: 0;
    font-size: 0;
    line-height: 0;
}

/* ADMIN */
#inis .tablediv {
    height: 200px;
    overflow: auto;
    background: #fff;
    padding: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    margin-top: 5px;
}
#inis table th {
    border-bottom: 1px solid #ccc;
}
#inis table td {
    border: 1px solid #ccc;
}
#inis table td.value {
    word-break: break-all;
    word-wrap: break-word;
}
#inis table tbody tr {
    cursor: pointer;
    color: blue;
}

.environment .table input,
.environment .table select {
    min-width: 150px;
}

.environment .table {
    background-color: white;
}

.environment .table tfoot label {
    display: inline;
    margin-right: 5px;
}
.environment .table tfoot input {
    width: auto;
}

.chemistry .file {
    position: static;
    display: block;
    width: 100%;
}
.chemistry .uneditable-input {
    width: auto;
    display: block;
    cursor: default;
    height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-x: scroll;
        overflow-y: hidden;
        aborder: 1px solid #ddd;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        -webkit-overflow-scrolling: touch;
    }
    .table-responsive .table {
        margin-bottom: 0;
    }
}

/* not done */
.notdone {
    border: 1px solid #ccc;
    border-collapse: initial;
}
.notdone td, .notdone th {
    border: 1px solid #ccc;
}
.notdonejobs .delayed {
    color: red;
}
.notdonejobs .delayed a {
    color: red;
}

/* reports */
.reports .btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* bulkedit */
.bulkedit {
    margin: 0;
}
.bulkedit th {
    text-align: left;
    background-color: #ececec;
    padding: 5px 10px;
}
.bulkedit td {
}
.bulkedit th:first-child,
.bulkedit td:first-child {
    text-align: center;
}

/* tag edit */
.tag-input-ctn {
    background-color: #fff;
    width: auto;
	border: 1px solid #ccc;
    list-style: none;
    margin: 0;
    padding: 2px 2px 0 2px;
	display: block;
    overflow: hidden;
	border-radius: 3px;
	box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.075);
}

.tag-input-ctn input {
	display: block;
	float: left;
	height: 26px;
    min-height: 26px !important;
	padding: 0;
	font-size: 13px;
	line-height: 18px;
	color: black;
	border: 0px;
	margin: 0 0 0 5px;
}

.tag-input-ctn input,
.tag-input-ctn input:focus {
	outline: 0;
    -webkit-box-shadow: none !important;
	box-shadow: none !important;
    border: 0 !important;
}

.tag-input-ctn .input-tag {
	padding: 2px 4px;
	line-height: 18px;
	font-size: 11px;
	background-color: #e3eaf6;
	display: inline-block;
	float: left;
	border-radius: 2px;
	margin: 0 2px 2px 0;
	border: 1px solid #a9b6d2;
}

.tag-input-ctn .input-tag .delete-tag {
	display: inline-block;
	font-size: 12px;
	cursor: pointer;
	padding: 0px 2px;
}

.tag-input-ctn .input-tag .delete-tag:hover {
	background-color: #96b4d2;
}

/* autocomplete */
.autocomplete {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 1000;
    max-height: 400px;
    overflow: auto;
}
.autocomplete > li {
    padding: 2px 5px;
}
.autocomplete > li.active {
    background-color: blue;
    color: white;
    cursor:pointer;
}
.autocomplete .text {
    float: left;
    margin-right: 40px;
}
.autocomplete .value {
    display: block;
    text-align: right;
    margin-left: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.input-append {
  display: flex;
  margin-bottom: 0;
 }
.input-append :first-child {
  flex: 1;
}