#nav {
    position: fixed;
    z-index: 100;
    background-color: #f0f0f0;
    padding: 12px 0;
    top: 0;
}

#header {
    padding: 0;
}

@media (max-width: 736px) {
    #searchForm {
        position: fixed;
        top: 10px;
        right: 4px;
        z-index: 10002;
    }
}

a:hover {
    text-decoration: none;
}

/** login **/
.form-signin {
    padding: 15px;
}

.form-signin input.user, .form-signin input.lock {
    margin: 0 0 1.5em;
    outline: medium none;
    padding: 10px 15px 10px 37px;
}

.form-signin input.user {
    background: #fff url("../pictures/form_user.png") no-repeat scroll 8px 6px;
}

.form-signin input.lock {
    background: #fff url("../pictures/form_lock.png") no-repeat scroll 8px 6px;
}

#main-wrapper {
    padding: 66px 0 20px;
}

#footer-wrapper {
    padding: 20px;
}

ul.nav-tabs {
    margin-bottom: 12px;
}

.table .btn {
    font-size: 10px !important;
}

.table a {
    border: 0;
}

.btn-default {
    box-shadow: none !important;
    color: #777;
}

.table .today {
    background-color: #018b02;
    color: #fff;
}

.fa.invert:after, i.invert:after, .glyphicon.invert:after  {
    content: "";
    position: absolute;
    width: 3px;
    height: 187.421%;
    top: -46.711%;
    display: block;
    background: #999;
    left: 50%;
    transform: translate(-50%, 0) rotate(50deg);
}

.toggleActive {
    color: #018B02;
}

.toggleInactive {
    color: #F10B0B;
}

button.toggleActive, button.toggleActive:active, button.toggleActive:focus  {
    border-color: #018B02;
    background-color: #018B02;
    color: #fff;
}

button.toggleInactive, button.toggleInactive:active, button.toggleInactive:focus  {
    border-color: #F10B0B;
    background-color: #F10B0B;
    color: #fff;
}

ul, ol, dl, table, blockquote {
    margin-bottom: 0;
}

#person_search {
    width: auto;
    float: left;
}

.form-wl {
    max-width: 1000px;
}

.form-wl label {
    margin: 0;
    text-transform: none;
}

.form-wl .divider {
    height: 10px;
}

.form-wl .radio-wl > label {
    display: inline-block;
}

.dropdown-menu li a {
    border-bottom: 0;
}

.form-control::-moz-placeholder {
  color: #bbb;
  opacity: 1;
}
.form-control:-ms-input-placeholder {
  color: #bbb;
}
.form-control::-webkit-input-placeholder {
  color: #bbb;
}
.form-control[readonly] {
    background-color: transparent;
}

a {
    outline: none !important;   
}

.address {
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 4px;
    padding: 4px 8px;
}

.address .icon {
    color: #ff5401;
    float: left;
    margin-top: 3px;
}

.address .addressblock {
    margin-left: 30px;
}

.address .fa {
    min-width: 20px;
}

.address .actions {
    font-size: 14px;
}

.deleteButton, .editButton {
    cursor: pointer;
}

#gallery {
    /* Prevent vertical gaps */
    line-height: 0;
    
    -webkit-column-count: 4;
    -webkit-column-gap:   0px;
    -moz-column-count:    4;
    -moz-column-gap:      0px;
    column-count:         4;
    column-gap:           0px;
}

#gallery a {
    transition: opacity 0.5s ease-in-out;
    border: none;
}

#gallery a:hover {
    opacity: 0.5;
}

#gallery img {
    /* Just in case there are inline attributes */
    width: 100% !important;
    height: auto !important;
    border: 1px solid white;
}

#gallery .actions {
    padding: 4px;
    background-color: #ddd;
}

@media (max-width: 1200px) {
    #gallery {
        -moz-column-count:    4;
        -webkit-column-count: 4;
        column-count:         4;
    }
}
@media (max-width: 1000px) {
    #gallery {
        -moz-column-count:    3;
        -webkit-column-count: 3;
        column-count:         3;
    }
}
@media (max-width: 800px) {
    #gallery {
        -moz-column-count:    2;
        -webkit-column-count: 2;
        column-count:         2;
    }
}
@media (max-width: 400px) {
    #gallery {
        -moz-column-count:    1;
        -webkit-column-count: 1;
        column-count:         1;
    }
}

#gallery .actions {
    color: #fff;
    position: absolute;
    right: 8px;
    top: 8px;
    font-size: 10px;
}

#gallery .actions .editButton:hover, #gallery .actions .deleteButton:hover {
    color: #333;
}

#gallery .wrapper {
    position: relative;
}

.documents {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.documents .wrapper {
    position: relative;
    float: left;
}

.documents a {
    border: 1px solid #bbb;
    display: block;
    float: left;
    height: 100px;
    text-align: center;
    width: 100px;
    margin-right: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.documents a > i {
    font-size: 40px;
    margin-top: 22px;
    margin-bottom: 4px;
}

.documents .actions {
    font-size: 10px;
    position: absolute;
    right: 15px;
}

/** tooltips **/
.tooltip-inner {
    background-color: #777777;
    color: #fff;
}

.tooltip.top .tooltip-arrow {
    border-top-color: #777777;
}

.tooltip.right .tooltip-arrow {
    border-right-color: #777777;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom-color: #777777;
}

.tooltip.left .tooltip-arrow {
    border-left-color: #777777;
}

.list_f:after {
    font-family: FontAwesome;
    content: "\f182";
    font-size: 12px;
    left: 4px;
    position: relative;
    top: -7px;
    color: #F413ED;
}

.list_m:after {
    font-family: FontAwesome;
    content: "\f183";
    font-size: 12px;
    left: 4px;
    position: relative;
    top: -7px;
    color: #2440E2;
}

.fa-female::before {
    color: #F413ED;
}

.fa-male::before {
    color: #2440E2;
}

div.appointment_entry, div.notice_entry {
    clear: both;
    border-bottom: 1px solid #eee;
    padding: 4px 0;
}

div.appointment_entry div.actions, div.notice_entry div.actions {
    text-align: right;
}

div.appointment_entry .day {
    width: 30px;
    float: left;
}

div.appointment_entry .date {
    width: 100px;
    white-space: nowrap;
}

div.appointment_entry .description.marked {
    font-weight: bold;
}

#tab_appointment .separator {
    border-top: 1px solid #FF5401;
}

#eventCalendar {
    height: 675px;
    position: fixed;
    right: 20px;
    top: 100px;
    width: 300px;
    z-index: 5
}

.eventsCalendar-list-content {
    height: 365px;
    overflow: auto;
}

.eventsCalendar-subtitle {
    padding-top: 30px;
}

@media (max-width: 767px) {
    .lg-view {
        display: none;
    }
}

@media (min-width: 767px) {
    .sm-view {
        display: none;
    }
}

#eventCalendar .eventsCalendar-subtitle {
    margin-bottom: 1em;
}

#eventCalendar .eventTitle {
    font-size: 14px;
    line-height: normal;
}

/** jquery ui datepicker **/
#ui-datepicker-div {
    z-index: 4000 !important;
}

.ui-datepicker-today a.ui-state-highlight {
    border-color: #d3d3d3;
    background-color: #bbb;
    color: #555555;    
}
.ui-datepicker-today.ui-datepicker-current-day a.ui-state-highlight {
    border-color: #aaaaaa;
    background-color: #ffffff;
    color: #212121;
}

.modal { 
    position: fixed; 
    top: 3%; 
    right: 3%; 
    left: 3%; 
    width: auto; 
    margin: 0; 
}
.modal-body { 
    height: 60%; 
}

@media (max-width: 767px) {
    .modal-body { 
        max-height: 350px; 
        padding: 15px; 
        overflow-y: auto; 
        -webkit-overflow-scrolling: touch; 
    }
}

table .btn-group {
    white-space: nowrap;
    display: flex;
}
table .btn-group .btn {
    float: none;
    display: inline-block;
}

.clip {
    cursor: pointer;
    color: #bbb;
    font-size: 0.8em;
}

/** compare adress **/
#adress_compare .legend {
    border: 1px solid #cccccc;
    left: 1200px;
    padding: 8px;
    position: fixed;
    width: 230px;
}

#adress_compare #log {
    left: 1200px;
    padding: 8px;
    position: fixed;
    width: 230px;
    top: 250px;
}

#adress_compare .legend .filter:before {
    font-family: FontAwesome;
    padding-right: 9px;
    color: #f10b0b;
}

#adress_compare .legend .filter.active:before {
    color: #018b02;
}

#adress_compare .legend .filter {
    cursor: pointer;
}

#adress_compare .entry {
    background-color: #eeeeee;
    border: 1px solid #cccccc;
    clear: both;
    float: left;
    margin-bottom: 20px;
}

#adress_compare .entry .title {
    background-color: #888;
    background-position: 4px 1px;
    background-repeat: no-repeat;
    font-weight: bold;
    padding: 8px 8px 8px 12px;
    width: 800px;
    color: #fff;
}

#adress_compare .entry .line .warning {
    color: #f10b0b;
}

#adress_compare .entry .title:before {
    font-family: FontAwesome;
    font-weight: normal;
    padding-right: 9px;
}

#adress_compare .state_equal:before {
    content: "\f087";
}

#adress_compare .state_unequal:before {
    content: "\f088";
}

#adress_compare .state_add:before {
    content: "\f061";
}

#adress_compare .state_add2DB:before {
    content: "\f060";
}

#adress_compare .state_ignore:before {
    content: "\f00d";
}

#adress_compare .entry .actions, #adress_compare .entry .remove {
    cursor: pointer;
}

#adress_compare .entry .value img {
    max-width: 138px;
}

#adress_compare .entry .title .actions {
    float: right;
}

#adress_compare .entry .line {
    clear: both;
    margin: 6px;
}

#adress_compare .e_state_add2DB .actions .copy {
    display: none;
}

#mobileImage {
    left: 1400px;
    position: absolute;
}

#mobileImage img {
    max-width: 138px;
}

.not_downloaded {
    color: #f10b0b;
}

.downloaded {
    color: #018b02;
}

ul.dynatree-container {
    border: none;
}

.dynatree-title {
    line-height: 1em;
    border: none;
}

ul.dynatree-container span.td:nth-child(1) {
    position: static;
}

ul.dynatree-container span.td {
    display: inline;
    overflow: hidden;
    position: absolute;
}

ul.dynatree-container span.td:nth-child(2) {
    color: black;
    padding-right: 2px;
    right: 20px;
    text-align: right;
    width: 60px;
}

#dropzone {
    min-height: 60px;
}

.tools .category {
    color: #ddd;
}

.tools .category.first {
    color: #333;
    white-space: nowrap;
}

.tools .category.first .name {
    margin-right: 70px;
}

.selectionList.block .name, .selectionList .block .version, #tab_tools .block .name, #tab_tools .block .version {
    float: left;
}

.selectionList.block .name, #tab_tools .block .name {
    width: 200px;
    clear: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selectionList.block .version, #tab_tools .block .version {
    margin-right: 8px;
}

.selectionList.block, #tab_tools .block {
    margin-bottom: 16px;
}

.selectionList .toggle, .selectionList .toggleCat, #tab_tools .version span.toggleRelation {
    cursor: pointer;
}

.sortedTable .placeholder {
    display: block;
    background: #ff2a14;
    position: relative;
    margin: 0;
    padding: 0;
    border: none;
}
  
.sortedTable .placeholder:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left-color: #ff5401;
    margin-top: -10px;
    border-right: none;
}

.ui-sortable-handle {
	cursor: move;
}

.partner_icon img {
    width: 60px;
}

.aquise .status .amount {
    background-color: #555;
    color: #fff;
    padding: .2em .6em .3em;
    font-size: 50%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    position: relative;
    top: -12px;
    left: -2px;
}

.aquise .status {
    float: left;
}

tr.aquise_status_send td {
    background-color: #ddd;
}

tr.aquise_status_read td {
    background-color: #ffee00;
}

tr.aquise_status_visited td {
    background-color: #FF5401;
    color: #fff;
}

tr.aquise_status_contacted td {
    background-color: #00e5ff;
    color: #fff;
}

tr.aquise_status_confirmed td {
    background-color: #018b02;
    color: #fff;
}
	
div.prio {
    border-radius: 50%;
    width: 28px;
    height: 28px;
    padding-left: 10px;
}

div.prio_1 {
    background-color: #111;
    color: #fff;
}

div.prio_2 {
    background-color: #444;
    color: #fff;
}

div.prio_3 {
    background-color: #777;
    color: #fff;
}

div.prio_4 {
    background-color: #aaa;
    color: #fff;
}

div.prio_5 {
    background-color: #ddd;
    color: #777;
}

a.btn {
    border: 1px solid #ccc;
}

table.inventory .property .property_name {
    width: 150px;
    float: left;
    color: #333;
    margin-right: 4px;
}

table.inventory .property.property.type_container .property_name {
    color: #888;
}

table.inventory .property .property_value {
}

.inventory_example {
    font-size: 0.8em;
    background-color: #888;
    padding: 1px 40px 1px 6px;
    color: #fff;
    position: relative;
    margin-top: 4px;
}

.inventory_example button {
    position: absolute;
    top: 4px;
    right: 4px;
}

.inventory_example .keyword {
    border-bottom: 1px dotted #fff;
    text-transform: uppercase;
}

.keyCopy {
    float: left;
    margin-left: 4px;
    font-size: 0.8em;
}
/** Sticky notes **/
#divStickyNotesContainer {
    border: 1px solid #eee;
    height: 750px;
    position: relative;
}

.each-sticky-note-options-control span, .each-sticky-note-delete {
    color: #777;
    font-size: 14px;
    border: 0 !important;
}

.each-sticky-note-delete {
    position: relative;
    top: -1px;
}

.each-sticky-note-outer {
    cursor: grab;
}

.each-sticky-note-text-box {
    line-height: normal;
}

.each-sticky-note-text-box textarea, .each-sticky-note-header input {
    line-height: normal;
    background-color: #fff !important;
    font-size: inherit;
    color: #333;
}

.each-sticky-note-outer {
  -moz-box-shadow:3px 3px 7px rgba(33,33,33,1);
  -webkit-box-shadow: 3px 3px 7px rgba(33,33,33,.7);
  box-shadow: 3px 3px 7px rgba(33,33,33,.7);
}

.each-sticky-note-outer {
  -webkit-transform: rotate(-6deg);
  -o-transform: rotate(-6deg);
  -moz-transform:rotate(-6deg);
}
.each-sticky-note-outer:nth-child(even) {
  -o-transform:rotate(4deg);
  -webkit-transform:rotate(4deg);
  -moz-transform:rotate(4deg);
}
.each-sticky-note-outer:nth-child(3n) {
  -o-transform:rotate(-3deg);
  -webkit-transform:rotate(-3deg);
  -moz-transform:rotate(-3deg);
}
.each-sticky-note-outer:nth-child(5n) {
  -o-transform:rotate(5deg);
  -webkit-transform:rotate(5deg);
  -moz-transform:rotate(5deg);
}

.each-sticky-note-text-box {
    overflow-x: hidden;
    overflow-y: auto;
}

.knowledge_category {
    text-transform: uppercase;
    border-top: 2px solid #888;
}

.knowledge.table td p:last-of-type {
    margin-bottom: 0;
}

.knowledge.table .clip {
    color: #ff000063;
}

.knowledge.table .truncated {
    display: -webkit-box;      /* Erforderlich für line-clamp */
    -webkit-box-orient: vertical;  /* Bestimmt, dass der Text vertikal (nach unten) fließen soll */
    -webkit-line-clamp: 1;     /* Maximal eine Zeile */
    overflow: hidden;          /* Verhindert das Überlaufen des Textes */
    text-overflow: ellipsis;   /* Zeigt '...' am Ende des Textes an */
    white-space: normal;
    max-width: calc(100% - 16px);
    float: left;
}

.f-form {
    display: none;
}

#modalDialog {
    overflow: scroll;
}

[data-clipboard-text], [data-clipboard-prev] {
    cursor: pointer;
} 