
html, body {
  -ms-overflow-style: scrollbar;
  /* Für sticky Footer */
  height: 100%;
}

body {
  /* Für sticky Footer */
  height: 100%;
  display: flex;
  flex-direction: column;
  
  background: #fff;
  overflow-y: auto;
  overflow-y: scroll;
  color: #515151;
}

main {
  /* Für sticky Footer */
  flex: 1;
  
}

main.container-fluid {
  padding: 0px 20px 10px 20px;
}

footer,
footer.navbar-footer {
  padding-top: 15px;
  background: #eaeef2;
  color: #333;
  width: 100%;
  margin-top: 30px;
  padding-bottom: 15px;
}

/* gleiches Icon wie fa-link aus fontawesome, jedoch aufbereitet für Anzeige hinter Link-Text eines externen Links */
.fa-tiny-link::before {
  content: "\f08e";
  font-size: 9px;
  margin-left: 2px;
  position: relative;
  bottom: 2px;
}

.fa-link-internal::before {
  content: "\f2f5";;
  font-size: 12px;
  margin-left: 3px;
  position: relative;
  bottom: 1px;
}

.fa-tiny-link-internal::before {
  content: "\f2f5";;
  font-size: 10px;
  margin-left: 3px;
  position: relative;
  bottom: 2px;
}

.fa-inv-doctype-note::before {
  content: "\f15b";
}

.fa-inv-doctype-new-note::before {
  content: "\e494";
}

.fa-inv-doctype-new-deadline::before {
  content: "\f271";
}

.fa-inv-doctype-deadline::before {
  content: "\f133";
}


::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f4f4f4;
  outline: 1px solid #ddd;
}
 
::-webkit-scrollbar-thumb {
  background: #498bcc;
  background: #aaa;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(255,0,0,0.4); 
}

.pulsate {
    -webkit-animation: pulsate 1.5s ease-out;
    -webkit-animation-iteration-count: infinite; 
    opacity: 0.5;
}
@-webkit-keyframes pulsate {
    0% { 
        opacity: 0.2;
    }
    50% { 
        opacity: 1.0;
    }
    100% { 
        opacity: 0.2;
    }
}

.text-black-25 {
  color: rgba(0, 0, 0, 0.25) !important;
}

.text-tooltip {
  color: #ffde00;
}

a {
  color: #3f76a0;
}

:not(th:after) {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -o-hyphens: auto;
  hyphens: auto; 
	word-wrap: break-word;
}

.allow-word-break {
  word-break: break-all !important;
  white-space: normal !important;
}

.avoid-word-break {
  word-break: normal !important;
  white-space: nowrap !important;
}

.navbar, .navbar.navbar-default {
/*   background: #f4f4f4; */
/*   box-shadow: 0 5px 10px rgba(125, 125, 125, 0.4); */
}

.navbar-header {
  margin-top: 20px;
}

.navbar-brand img {
}

#header-menu {
  border-bottom: 1px solid #e2e8f0;
  background: #eaeef2;
}

#header-menu a.level-0 {
  color: #515151;
}

#header-menu .level-0:hover a.level-0 {
  color: #515151;
  background: rgba(125, 125, 125, 0.1);
}

.app-title {
  font-size: 24px;
  font-weight: 700;
  color: #515151;
}

header {
  margin-bottom: 30px;
}

.navbar .icon-bar {
  color: #515151;
}

#header-left {
  padding-top: 5px;
  padding-bottom: 5px;
}

@media (max-width: 767px) {
  #navbar {
    width: 100%;
  }
  .nav {
    margin: 0 -15px;
  }
}
@media (min-width: 768px) {
  /*#navbar {
    width: auto;
    float: left;
  }*/
  .navbar-header {
    width: 100%;
  }
  /*.navbar .navbar-nav > li > a {
    padding-top: 30px;
    padding-bottom: 30px;
  }*/
}

.navbar .navbar-nav > li > a {
/*   padding-top: 20px; */
/*   padding-bottom: 20px; */
}

.navbar-header > .navbar-toggle {
/*   margin: 15px 15px 15px 0; */
}

.navbar .navbar-nav > .active > a, .navbar .navbar-nav > .active > a:hover, .navbar .navbar-nav > .active > a:focus {
  background: rgba(125, 125, 125, 0.1);
  /*background: rgba(255, 255, 255, 0.1);*/
}

.navbar .navbar-nav > li:hover > a,
.navbar .navbar-nav > li.active:hover > a {
  color: #111;
  background: rgba(64, 64, 64, 0.1);
}

.login-form {
  max-width: 480px;
  padding: 10px 40px 20px 40px;
  background-color: #eaeef2;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin: 0 auto 0 auto;  
}

table.table.table-condensed th,
table.table.table-condensed td {
  padding: 2px;
}

.sorting, .sorting_asc, .sorting_desc, .cursor-pointer, .clickable {
  cursor: pointer;
}

a.list-action-link .material-icons {
  margin: 0 5px 0 5px;
}

.togglebutton label input[type=checkbox]:checked + .toggle {
    background-color: rgba(119, 20, 105, 0.3);
}

.form_error {
  color: #721c24;
}

.table .togglebutton {
  padding: 4px 0 0 8px;
}

.table-shrinked {
  width: auto;
}

.sorting, .sorting_asc, .sorting_desc {
  cursor: pointer;
}

.sorting .fa, .sorting_asc .fa, .sorting_desc .fa {
  font-size: 0.75em;
  color: #666666;
}


.content-wrapper {
  display: inline-block;
  width: auto;
  margin: 0 auto 0 auto;
  padding: 20px;
}

.container-fluid.content-wrapper,
.container.data-list-wrapper,
.container-fluid.data-list-wrapper {
  padding: 0;
}

.btn, .input-group-btn .btn {
  text-transform: none;
  padding: 5px 15px 5px 10px;
}

body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .nav-tabs > li > a, .nav-tabs > li > a:hover, .nav-tabs > li > a:focus, .btn, .input-group-btn .btn {
  font-weight: 400;
}

h4.subsection {
  font-size: 20px;
  margin: 20px 0px 15px 0px;
  border-bottom: 1px dotted #c0c0c0;
}

.form-group {
    margin-top: 0;
}

.form-group .checkbox label, .form-group .radio label, .form-group label {
    color: #333;
    font-size: 14px;
}

.form-group label.control-label {
    margin-top: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.form-group-text, .form-group-select, .form-group-checkbox, .form-group-textarea, .form-group-date {
  margin-bottom: 0.5rem;
}

.filter-form {
  margin-top: 0px;
  margin-bottom: 30px;
}

#wapp-modal { /*z-index: 100000;*/ }
#wapp-modal .modal-dialog { min-width: 400px; }

#wapp-modal-file-dialog { z-index: 100000; }
#wapp-modal-file-dialog.modal-dialog { min-width: 400px; }

.modal-content {
  border: 0;
}

.modal-content .modal-header {
  padding: 10px 20px 0 20px;
  background-color: #eaeef2;
}

@media (min-width: 992px) {
  .modal-lg, .modal-xl {
    max-width: 960px;
  }
}

#header-menu a {
  font-size: 15px;
}

#header-menu a i.material-icons {
  float: left;
  margin-top: -3px;
  margin-right: 5px
}


.data-list .form-group {
  margin: 0;
  padding: 0;
}

.form-group .form-control {
  font-size: 14px;
  height: auto;
  color: #474e54;
}

.data-list .form-group .form-control {
  font-size: 14px;
  margin: 0;
  height: auto;
  padding: 0 0 1px 0;
}

.pt-0 { padding-top: 0px !important; }
.pr-0 { padding-right: 0px !important; }
.pb-0 { padding-bottom: 0px !important; }
.pl-0 { padding-left: 0px !important; }

.pt-5 { padding-top: 5px !important; }
.pr-5 { padding-right: 5px !important; }
.pb-5 { padding-bottom: 5px !important; }
.pl-5 { padding-left: 5px !important; }

.pt-10 { padding-top: 10px !important; }
.pr-10 { padding-right: 10px !important; }
.pb-10 { padding-bottom: 10px !important; }
.pl-10 { padding-left: 10px !important; }

.pt-15 { padding-top: 15px !important; }
.pr-15 { padding-right: 15px !important; }
.pb-15 { padding-bottom: 15px !important; }
.pl-15 { padding-left: 15px !important; }

.pt-20 { padding-top: 20px !important; }
.pr-20 { padding-right: 20px !important; }
.pb-20 { padding-bottom: 20px !important; }
.pl-20 { padding-left: 20px !important; }

.pt-25 { padding-top: 25px !important; }
.pr-25 { padding-right: 25px !important; }
.pb-25 { padding-bottom: 25px !important; }
.pl-25 { padding-left: 25px !important; }

.pt-30 { padding-top: 30px !important; }
.pr-30 { padding-right: 30px !important; }
.pb-30 { padding-bottom: 30px !important; }
.pl-30 { padding-left: 30px !important; }

.mt-0 { margin-top: 0px !important; }
.mr-0 { margin-right: 0px !important; }
.mb-0 { margin-bottom: 0px !important; }
.ml-0 { margin-left: 0px !important; }

.mt-5 { margin-top: 5px !important; }
.mr-5 { margin-right: 5px !important; }
.mb-5 { margin-bottom: 5px !important; }
.ml-5 { margin-left: 5px !important; }

.mt-10 { margin-top: 10px !important; }
.mr-10 { margin-right: 10px !important; }
.mb-10 { margin-bottom: 10px !important; }
.ml-10 { margin-left: 10px !important; }

.mt-15 { margin-top: 15px !important; }
.mr-15 { margin-right: 15px !important; }
.mb-15 { margin-bottom: 15px !important; }
.ml-15 { margin-left: 15px !important; }

.mt-20 { margin-top: 20px !important; }
.mr-20 { margin-right: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.ml-20 { margin-left: 20px !important; }

.mt-25 { margin-top: 25px !important; }
.mr-25 { margin-right: 25px !important; }
.mb-25 { margin-bottom: 25px !important; }
.ml-25 { margin-left: 25px !important; }

.mt-30 { margin-top: 30px !important; }
.mr-30 { margin-right: 30px !important; }
.mb-30 { margin-bottom: 30px !important; }
.ml-30 { margin-left: 30px !important; }

.p-0 { padding: 0px !important; }
.p-5 { padding: 5px !important; }
.p-10 { padding: 10px !important; }
.p-15 { padding: 15px !important; }
.p-20 { padding: 20px !important; }
.p-25 { padding: 25px !important; }
.p-30 { padding: 30px !important; }

.m-0 { margin: 0px !important; }
.m-5 { margin: 5px !important; }
.m-10 { margin: 10px !important; }
.m-15 { margin: 15px !important; }
.m-20 { margin: 20px !important; }
.m-25 { margin: 25px !important; }
.m-30 { margin: 30px !important; }

.table > tbody > tr > td.actions {
  text-align: right;
  vertical-align: top;
}

.container .container,
.container-fluid .container,
.container .container-fluid,
.container-fluid .container-fluid {
  padding-right: 0;
  padding-left: 0;
}


.togglebutton.error-indicator label .toggle:after {
  background-color: #bbd5bb;
}

.togglebutton.error-indicator label .toggle, .togglebutton label input[type=checkbox][disabled] + .toggle {
  background-color: rgba(80, 80, 80, 0.3);
}

.togglebutton.error-indicator label input[type=checkbox]:checked + .toggle {
  background-color: rgba(80, 80, 80, 0.2);
  box-shadow: inset 0 0 2px rgba(80, 80, 80, 0.1);
}

.togglebutton.error-indicator label input[type=checkbox]:checked + .toggle:after {
  background-color: #f44336;
}

a .badge-light {
  background-color: #f4f5f6;
  color: #444444;
}

a:hover .badge-light {
  background-color: #5a6268;
  color: white;
}

#main .badge-light {
  background-color: #f8f9fa;
  color: #6c757d;
}

#main .badge-light:hover {
  background-color: #5a6268;
  color: white;
}

.bg-purple {
  background-color: #a728af !important;
}

a.bg-purple:hover, a.bg-purple:focus,
button.bg-purple:hover,
button.bg-purple:focus {
  background-color: rgb(133, 32, 138) !important;
}

a.tab-grip {
  background-color: #f4f8fc;
  margin-right: 1px;
}

.table-bordered > thead.no-borders > tr > th {
  border: none;
}

thead.no-borders th {
  font-size: 12px;
}

thead th.light {
  font-weight: normal;
}

.table-hover tr.with-error {
  background: #ffe8e8;
}

.table-hover tbody tr:hover {
  background: rgb(0,0,100,0.07);
  color:#888;
}

.table-hover tbody tr:hover .text-muted {
  color:#ccc !important;
}

.table-hover tbody tr:hover a {
  color: #7093b6;
}

.table-hover tbody tr:hover a:hover {
  color: #a0b5cf;
}

.table-hover tr.with-error:hover {
  background: #ffd8d8;
}

th.rotate {
  height: 140px;
  border-right: none;
  white-space: nowrap;
  width: 60px;
}

th.rotate:last-child {
  min-width: 140px;
  width: none;
}

th.rotate.hover > div > span {
  text-decoration: underline;
}

th.rotate > div {
  transform: translate(5px, -5px) rotate(315deg);
  width: 40px;
}
th.rotate > div > span {
  padding: 5px 10px;
  font-size: 12px;
}





.typeahead-scroller ul.typeahead.dropdown-menu {
  max-height: 400px;
  overflow: auto;
}

ul.typeahead {
  padding-top:0;
  padding-bottom: 0;
}

ul.typeahead li {
  color: #333;
  border-bottom: 1px solid #ddd;
  padding: 4px 8px 4px 8px;
}

ul.typeahead li:last-child {
  border-bottom: none;
}

ul.typeahead li.selectable:hover,
ul.typeahead li.selectable.active {
  background: #b01e9b;
  color: #fff;
  cursor: pointer;
}

ul.typeahead li.section {
  font-weight: 700;
  background: #eee;
  cursor: default;
}

ul.typeahead li.selectable {
  padding-left: 28px;
}





.supplier-class-a {
  background-color: rgba(76, 175, 80, 0.6);
}

.table-hover > tbody > tr.supplier-class-a:hover {
  background-color: rgba(76, 175, 80, 0.8);
}

.supplier-class-b {
  background-color: rgba(255, 215, 66, 0.6);
}

.table-hover > tbody > tr.supplier-class-b:hover {
  background-color: rgba(255, 215, 66, 0.9);
}

.supplier-class-c {
  background-color: rgba(255, 87, 34, 0.6);
}

.table-hover > tbody > tr.supplier-class-c:hover {
  background-color: rgba(255, 87, 34, 0.8);
}

.supplier-class-d {
  background-color: rgba(244, 67, 54, 0.6);
}

.table-hover > tbody > tr.supplier-class-d:hover {
  background-color: rgba(244, 67, 54, 0.8);
}


/* Verwendet in clsFormHandler für textarea-Elemente mit readonly=true */
.textarea-disabled, .textarea-disabled-10 {
  padding: 5px 10px 5px 10px;
  background-color: #e9ecef;
  border: 1px solid rgb(206, 212, 218);
  border-radius: .25rem;
  min-height: 320px;
  overflow: scroll;
}

.textarea-disabled-1 {
  min-height: 32px;
}

.textarea-disabled-2 {
  min-height: 64px;
}

.textarea-disabled-3 {
  min-height: 96px;
}

.textarea-disabled-4 {
  min-height: 128px;
}

.textarea-disabled-5 {
  min-height: 160px;
}

.textarea-disabled-6 {
  min-height: 192px;
}

.textarea-disabled-7 {
  min-height: 224px;
}

.textarea-disabled-8 {
  min-height: 256px;
}

.textarea-disabled-9 {
  min-height: 288px;
}

.filter-body-style-light {
  
}

.filter-body-style-dark {
  background-color: #eaeef2;
}

.tab-body-style-light {
  
}

.tab-body-style-dark {
  background-color: #eaeef2;
}

.tab-body-style-dark input[type='search'],
.tab-body-style-dark select[name='ips_table_length'],
.tab-body-style-dark select[name='domain_table_length'],
.tab-body-style-dark select[name='protocol_table_length']
{
  background-color: #ffffff;
}

.tab-body-style-dark .form-control[readonly],
.tab-body-style-dark .form-control[disabled],
.tab-body-style-dark .textarea-disabled {
  background-color: #f7fafa;
}

.tab-body-style-dark .form-control[readonly],
.tab-body-style-dark .form-control[disabled],
.tab-body-style-dark .textarea-disabled {
  color: #666666;
}

.tab-body-bordered {
  border: 1px solid #D0D0D0;
  border-radius: 4px;
}


/* Select2-Elemente einer Multi-Selectbox werden nach Auswahl in je einer eigenen Zeile angezeigt */

.select2-container .select2-selection--multiple .select2-selection__rendered li.select2-selection__choice {
  display: block;
}

/* Höhe von Select2-Elementen einer einzeiligen Auswahlbox leicht vergrößern */

.select2-container  {
  display: block;
}

.select2-container .select2-selection--single {
  height: 34px;
  padding-top: 1px;
  padding-bottom: 1px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 1px;
  height: 32px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #555555;
}


.front-page h1 {
  font-size: 28px;
}

.front-page-links a {
  width: 100%;
  height: 65px;
  line-height: 50px;
  font-size: 18px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .front-page h1 {
    font-size: 28px;
  }
  .front-page-links a {
    height: 105px;
    line-height: 90px;
  }
}




canvas {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}



.nowrap {
  white-space: nowrap;
}


progress {
  width: 100%;
  height: 20px;
  border: 1px solid #333;
  background-color: #498bcc;
  color: #ffd742;
  transition: all 1s;
}

progress::-moz-progress-bar { background: #ffd742; }
progress::-webkit-progress-bar { background: #498bcc; }
progress::-webkit-progress-value { background: #ffd742; transition: all 1s; }


.form-title {
  font-size: 19px;
  margin-bottom: 25px;
  border-bottom: 1px solid #666;
}

.form-title:not(:first-child) {
  margin-top: 20px;
}

.form-title.form-title-sub-1 {
  font-size: 17px;
}

.form-title.form-title-sub-2 {
  font-size: 15px;
}

#xtag-log {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  display: block;
  padding: 0;
  font-size: 13px;
  line-height: 1.42857143;
  word-break: break-all;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.nav-tabs .nav-item a.active {
  background-color: #eaeef2;
}

.nav-tabs .nav-item a {
  color: #333333;
}

.nav-tabs .nav-item a:hover {
  color: #7093b6;
}

tr.list_inside td p:first-child {
  margin: 0px 0px 0px 0px;
  padding: 0;
}

tr.list_inside td p:not(:first-child) {
  margin: 8px 0px 0px 0px;
  padding: 0;
}

/* Status-Auswahl in Listen zeigt ein throbber.gif am Anfang des Drop-Downs an */

.throbbered-input {
  padding-left: 25px;
}

.input-throbber {
  position: absolute;
  margin-left: 6px;
  margin-top: 10px;
}

.status-throbber {
  position: absolute;
  margin-left: 6px;
  margin-top: 8px;
}


/* ------------------------------------------------------------------------- */
/* plUploader                                                                */
/* ------------------------------------------------------------------------- */

.container #uploader .plupload_header_content {
  background-color: #6c757d;  /* angelehnt an btn-secondary */
}

.container .plupload_filelist_header, .container .plupload_filelist_footer {
  background-color: #d0d3d7;
}

.container .plupload_scroll .plupload_filelist {
  background-color: #f2f3f4;
  height: 185px;
}

.container .plupload_wrapper {
  font-size: 14px;
}

.container .btn-upload {
  font-size: 14px;
}

#files .thead-dark th {
  background-color: #6c757d;
  border-color: #6c757d;
  height: 56px;
}

/* ------------------------------------------------------------------------- */
/* Tooltips                                                                  */
/* ------------------------------------------------------------------------- */

.fa-history + .tooltip > .tooltip-inner {
}

.tooltip-inner {
    max-width: none;
    min-width: 360px;
    padding: 4px;
    white-space: nowrap;
}

.tooltip-inner .tooltip-row:nth-child(even) {
  background-color: #202020;
}

.fa-info + .tooltip > .tooltip-inner {
  background-color: red;
  font-size: 20px;
  padding: 5px;
}

.tooltip.show {
  opacity: 1;
}

.pagination li.active a {
  background-color: #ddd;
  color: #0932ff;
}

.smallhint {
  font-size: 60%;
}

/* ------------------------------------------------------------------------- */
/* Zeiterfassung                                                             */
/* ------------------------------------------------------------------------- */

.tk-lg {
  font-size: 32px;
}

.tk-md {
  font-size: 24px;
}

.tk-sm {
  font-size: 20px;
}

/* ------------------------------------------------------------------------- */
/* Projekte auf der Startseite                                               */
/* ------------------------------------------------------------------------- */

.project-progress-container {
  width: 100%;
  height: 17px;
  background-color: #dadde2;
  border-radius: 4px;
  position: relative;
}

.project-progress-bar {
  height: 100%;
  background-color: #28a745;
  width: 45%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.project-progress-text {
  position: absolute;
  left: 4px;
  top: -0px;
  line-height: 17px;
  white-space: nowrap;
  color: black; /* Added color: black; */
  font-size: 11px;
}


/* ------------------------------------------------------------------------- */
/* Feldbeschriftungen (Developer-Mode)                                       */
/* ------------------------------------------------------------------------- */

/* Container, der das Feld relativ positioniert */
.field-with-label {
  position: relative;
  display: inline-block; /* behält natürliche Größe, passt für die meisten Inputs */
  width: 100%;           /* optional: entfernt, wenn du keine volle Breite willst */
}

/* Falls wir das Eltern-Element benutzen statt Wrappen */
.field-with-label-parent {
  position: relative;
}

/* Das Label oben rechts */
.field-name-label {
  position: absolute;
  right: 0;
  top: -1.5em;           /* Abstand oberhalb des Feldes (anpassen falls nötig) */
  color: gray;
  font-size: 0.6em;
  pointer-events: none;  /* klickbar bleibt das Eingabefeld */
  white-space: nowrap;
  z-index: 1000;
  background: transparent;
  /* optional: kleine Textschattierung oder padding:
  padding-left: 2px;
  */
}


/* ------------------------------------------------------------------------- */
/* Callouts für Hinweistexte                                                 */
/* ------------------------------------------------------------------------- */

.bd-callout {
  padding: 0.75rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  border: 1px solid #eee;
  border-left-width: .25rem;
  border-radius: .25rem;
  border-left-color: #d7d7d7;

  h4 {
    margin-top: 0;
    margin-bottom: .25rem;
  }

  p:last-child {
    margin-bottom: 0;
  }

  code {
    border-radius: .25rem;
  }

  + .bd-callout {
    margin-top: -.25rem;
  }
}

.bd-callout-info { border-left-color: #5bc0de }
