.abstand-links {
    margin-left: 10px;
}

div.table {
    display: table;
    border-collapse: collapse;
    font-size: 0.8em;
}
div.tr {
    display:table-row;
}
div.td {
    display:table-cell;
    padding:3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width:200px;
}

div.tr.odd {
   /* background-color: lightyellow; */
}

div.tr:hover {
    background-color: lightcyan;
}
div.table.clickaction div.td:hover {
    cursor:pointer;
}

div.th {
    display:table-cell;
    background-color: lightgray;
    padding:3px;
}
.th > input {
    max-width: 250px;
}
div.tickhist {
    display:table-cell;
    padding:3px;
    width: 100%;
}

.small > input {
    max-width: 60px;
}
.th > select {
    max-width:150px
}
.even {background-color: #E8E8E8}
.odd {background-color: #FFF}
.small {
    max-width: 70px;
}

.small > select {
    max-width:70px
}

.req {required: required}

.glyphicon { cursor: pointer; }

.error {background-color: lightpink}

h1 {width: 100%;
    background-color: #F0F0F0;
    text-align: center;
    font-size: 1.7em;
}
.item{
    display: inline-block;
    font-size: 1.0em;
    background-color: #E0E0E0;
    border-radius: 2px;
    margin: 2px;
    padding: 4px;
    vertical-align: top;
    width: 555px;
    min-height: 32px;
}

.label {
    display: block;
    width: 150px;
    font-size: 1.0em;
    font-weight: normal;
    color: black;
    text-align: left;
    float: left;
}
.labelwide {
    display: block;
    width: 250px;
    font-size: 1.0em;
    font-weight: normal;
    color: black;
    text-align: left;
    float: left;
}
.item > input{
    display: inline-block;
    float:left;
    border-radius: 2px;
    min-width: 250px;
}
.item > select{
    display: inline-block;
    float:left;
    min-width: 250px;
}
.wide {
    width: 1118px;
}
.wide > input {
    width: 850px;
}
.wide > textarea {
    width: 850px;
    min-height: 100px;
}

/* Outer */
.popup {
    width:100%;
    height:100%;
    display:none;
    position:fixed;
    top:0px;
    left:0px;
    background:rgba(0,0,0,0.75);
}

/* Inner */
.popup-inner {
    max-width:700px;
    width:90%;
    padding:40px;
    position:absolute;
    top:50%;
    left:50%;
    -webkit-transform:translate(-50%, -50%);
    transform:translate(-50%, -50%);
    box-shadow:0px 2px 6px rgba(0,0,0,1);
    border-radius:3px;
    background:#fff;
}

/* Close Button */
.popup-close {
    width:30px;
    height:30px;
    padding-top:4px;
    display:inline-block;
    position:absolute;
    top:0px;
    right:0px;
    transition:ease 0.25s all;
    -webkit-transform:translate(50%, -50%);
    transform:translate(50%, -50%);
    border-radius:1000px;
    background:rgba(0,0,0,0.8);
    font-family:Arial, Sans-Serif;
    font-size:20px;
    text-align:center;
    line-height:100%;
    color:#fff;
}

.popup-close:hover {
    -webkit-transform:translate(50%, -50%) rotate(180deg);
    transform:translate(50%, -50%) rotate(180deg);
    background:rgba(0,0,0,1);
    text-decoration:none;
}

.red { color: red; }
.green { color: green; }
.yellow { color: orange; }

.prio5 {color: red}
.prio4 {color: red}
.prio3 {color: orange}
.prio2 {color: green}
.prio1 {color: green}

.notended {color: green}
.ended {color: green}
.over {color: red}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.ui-accordion .ui-accordion-header input { color: black; }
.ui-accordion .ui-accordion-header button { color: black; }
.ui-accordion .ui-accordion-content-active { width: 100%; }
