/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */

body {
  padding-top: 50px;
  font-family: 'Open Sans', sans-serif;
}

/*
 * Global add-ons
 */

.trHover:hover {
  background-color: whitesmoke !important;
}

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */

.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

.btn-primary, .btn-primary:active, .btn-primary:visited, .btn-primary:focus, .btn-primary:active:focus {
  background: #44b338;
  border: 1px solid gray;
}

.btn-primary:hover {
  background: #56dc47;
}

button:focus {
  outline: 0 !important;
}

/* Hide for mobile, show later */

.sidebar {
  display: none;
}

@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto;
    /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */

.nav-sidebar {
  margin-right: -21px;
  /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}

.nav-sidebar>li>a {
  padding-right: 20px;
  padding-left: 20px;
}

.nav-sidebar>.active>a, .nav-sidebar>.active>a:hover, .nav-sidebar>.active>a:focus {
  color: #fff;
  background-color: #428bca;
}

/*
 * Main content
 */

.main {
  padding: 20px;
}

@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}

.main .page-header {
  margin-top: 0;
}

/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}

.placeholders h4 {
  margin-bottom: 0;
}

.placeholder {
  margin-bottom: 20px;
}

.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

.navbar-inverse {
  background-color: #ffe500;
}

#mainLogo {
  width: 40px;
  position: fixed;
}

#mainLogoContainer {
  width: 70px;
}

.navbar-inverse .navbar-nav>li>a {
  color: #000000;
}

.site {
  display: none;
  position: relative;
  top: 20px;
}

input {
  border-radius: 3px;
  border: 1px solid #bfbaba;
  height: 28px;
}

input[type=checkbox], input[type=radio] {
  height: 15px;
  position: relative;
  top: 2px;
}

.main {
  padding-right: 25px;
  padding-left: 25px;
}

.col-sm-5, .col-sm-7, .col-sm-12 {
  padding-right: 10px;
  padding-left: 0px;
}

.panel {
  margin-bottom: 0px;
}

.dataTables_info, .dataTables_length {
  float: left;
}

.dataTables_paginate, .resetFilter {
  float: right;
}

.resetFilter {
  position: relative;
  top: 2px;
  height: 34px;
  left: -9px;
}

.changePwTable td {
  padding: 2px;
}

td.highlight, .dataTable>tbody>tr:hover {
  background-color: whitesmoke !important;
}

.dataTable tfoot input {
  width: 100%;
}

.redInputBorder {
  border: 1px solid red !important;
}

.cursorPointer {
  cursor: pointer;
}

.dataTables_wrapper .col-sm-6 {
  padding-right: 11px;
  padding-left: 0px;
}

.panel-title a {
  display: block;
  padding: 10px 15px;
  margin: -10px -15px;
}

.accordEditIcon {
  padding: 5px;
  top: -20px;
  position: relative;
  cursor: pointer;
}

.ltableAddDataBtn:focus {
  border: 1px solid #9191bf !important;
  border-radius: 3px;
  padding-bottom: 5px;
}

.modal-lg {
  width: 1000px;
}

.editSpan {
  display: none;
}

.editLine {
  display: none;
}

select {
  border-radius: 3px;
  height: 28px;
}

.editIconContainer {
  display: none;
}

.select2-results__option {
  border-bottom: 1px solid #d6d6d6;
}

.fa.cursorPointer:hover, .fa.accordEditIcon:hover {
  color: #337ab7;
}

.newALTr, .newPovTr {
  background: #f5f5f5;
}

.panel-default>.panel-heading {
  background: rgb(243, 243, 243);
}

/* DATATABLE BUTTONS */

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
  background-color: rgba(180, 180, 181, 0.77);
  border-color: rgba(180, 180, 181, 0.77);
}

.pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover, .pagination>li>a, .pagination>li>span, .pagination>.disabled>a {
  color: #777;
  background-color: #f5f5f5;
  border-color: #f5f5f5;
}

.proTrActive {
  background-color: whitesmoke !important;
}

.proTableActiveTR>th {
  border-top: 0px !important;
}

.nav-sidebar>.active>a, .nav-sidebar>.active>a:hover, .nav-sidebar>.active>a:focus {
  color: black;
  background-color: #ffff55;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
  color: #2c2c2c;
  border-bottom: 2px solid #080808;
  background-color: #ffe500;
}

.navbar-inverse {
  font-size: 17px;
}

label {
  font-weight: 100;
}

.submenu {
  background: #ffff55;
  width: 100%;
  height: 30px;
  z-index: 100;
  position: fixed;
  top: 50px;
  padding-left: 30px;
}

.submenu>ul {
  list-style-type: none;
}

.submenu>ul>li {
  float: left;
  height: 30px;
  padding: 5px;
  margin-left: 7px;
}

li.active {
  font-weight: bold;
}

.submenu>ul>li>a, .submenu>ul>li>a:focus, .submenu>ul>li>a:hover {
  color: #2c2c2c;
  text-decoration: none;
}

.submenu>ul>li>a:hover {
  color: #fff;
  text-decoration: none;
}

.submenu>ul>li.active>a:hover {
  color: #2c2c2c;
  text-decoration: none;
}

.submenu>ul>li.active {
  border-bottom: 2px solid #080808;
}

a:focus {
  outline-color: rgb(221, 221, 221);
}

.btn-default {
  border-color: rgba(204, 204, 204, 0.43);
}

.noteHove {
  background: rgba(255, 0, 0, 0.18);
}

.arbeitsartenSelect, .panel input[sendname=newBemerkung] {
  max-width: 100px;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
  padding: 5px;
}

h3 {
  margin-top: 0px;
}

.fa {
  font-size: 15px;
}

.tooltip-inner {
  max-width: 500px;
}

.table-striped>tbody>tr:nth-of-type(odd) {
  background: white;
}

.farbenSelect {
  max-width: 100px;
}

.provisionsTable>tbody>tr>td, .provisionsTable>thead>tr>th, .auftragsverhabeTableTable>tbody>tr>td, .auftragsverhabeTableTable>thead>tr>th, .printRechungsTable>tbody>tr>td, .printRechungsTable>tbody>tr>td {
  padding: 0px;
}

.provisionsTable .gesamtProvTr>td {
  border-top: 1px solid #999;
}

.provisionsTable>tbody>tr:not(.gesamtProvTr):hover {
  background: rgba(0, 0, 255, 0.06);
}

.auftragsverhabeTableTable .gesamtProvTr>td {
  border-top: 1px solid #999;
}

.auftragsverhabeTableTable>tbody>tr:hover {
  background: rgba(0, 0, 255, 0.06);
}

.briefkopf {
  padding-left: 30px;
  margin-top: 110px;
  margin-bottom: 30px;
  min-height: 185px;
  position: relative;
}

.brieftext {
  padding-left: 30px;
  padding-right: 30px;
}

.briefende {
  padding-left: 30px;
  padding-right: 30px;
}

.briefkopf>.briefdatumaktuell {
  position: absolute;
  top: 51mm;
  right: 70px;
}

.briefkopf>.unserzeichen {
  position: absolute;
  top: 51mm;
  right: 411px;
}

.briefkopf>.ihrzeichen {
  position: absolute;
  top: 51mm;
  left: 30px;
}

.brieftable td {
  vertical-align: top;
}

/* PRINT SETTINGS */

* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.printpage {
  position: relative;
  width: 210mm;
  min-height: 297mm;
  padding: 10mm;
  margin: 0mm auto;
  margin-bottom: 15px;
  border: 1px #D3D3D3 solid;
  border-radius: 5px;
  background: white;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.35);
}

@page {
  size: A4;
  margin: 0;
  margin-top:20px;
}

@media print {
  html, body {
    width: 210mm;
  }
  body * {
    visibility: hidden;
  }
  .printpage, .printpage * {
    visibility: visible;
  }
  .printpage {
    width: 210mm;
    height: 291.5mm;
    margin: 0;
    margin-bottom: 0px;
    border: initial;
    border-radius: initial;
    /* width: initial; */
    min-height: initial;
    box-shadow: initial;
    background: initial;
    page-break-after: always;
  } 
}

table.dataTable.table-striped.DTFC_Cloned tbody tr td {
  background: white;

}

.dataTable.DTFC_Cloned {
  margin-bottom: 0px !important;
  margin-top: 0px !important;
  
}
.DTFC_LeftBodyWrapper {
  position: relative !important;
  top: 4px !important;
}
.DTFC_LeftHeadWrapper {
  background: white;
  position: relative !important;
  top: 6px !important;
}

.adminOnly {
  display: none;
}

#langContainer>.select2-container--default .select2-selection--single {
  background-color: #fff0;
  border: 0px solid #aaa;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
  background-color: #ffe50000;
}

@font-face {
  font-family: 'ocra';
  src: url('/fonts/OCR-A Regular.ttf');
}

.modal-xl {
  width: 90%;
 max-width:1100px;
}