body, .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

div.jconfirm.jconfirm-light div.jconfirm-bg {
  background-color: #000;
  opacity: .5;
}

div#myLoader {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  left: 0;
  z-index: 100;
  display: none;
}

div#myLoader>i.fa {
  margin-left: calc(50vw - 0.8em);
  margin-top: calc(50vh - 0.8em);
}

/* bootstrap */
@media (max-width: 2400px) {
  .navbar-header {
    float: none;
  }

  .navbar-left, .navbar-right {
    float: none !important;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-nav {
    float: none !important;
    margin-top: 7.5px;
  }

  .navbar-nav>li {
    float: none;
  }

  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .collapse.in {
    display: block !important;
  }
}

@media (min-width: 560px) {

  #main_calendar div.fc-left .fc-button,
  div.btns_minw108 .btn {
    min-width: 108px;
  }
}

#main_calendar div.fc-left {
  margin-bottom: 12px;
}

#main_calendar .activTimeBtn {
  opacity: .65;
  cursor: default;
}

.btn-success.focus, .btn-success:focus, .btn-success:hover {
  background-color: #009ee0 !important;
  border-color: #009ee0 !important;
}

.btn.btnAvailable,
.btn.btnAvailable:hover,
.btn.btnAvailable:focus {
  background: #008000 !important;
  color: #fff !important;
}

.btn.btnUnavailable,
.btn.btnUnavailable:hover,
.btn.btnUnavailable:focus {
  background: #9b0000 !important;
  color: #fff !important;
}

select:-moz-focusring {
  color: transparent !important;
  text-shadow: 0 0 0 #fff !important;
}

option:focus,
option {
  /*
  color: black !important;
  */
  outline: 0 none !important;
  /* prevent <option>s from becoming transparent as well */
}

select:focus {
  box-shadow: none !important;
}

div.input-group.date {
  color: #000;
}

body>nav>div.container {
  width: 100%;
}

div.bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgb(63, 76, 76);
  z-index: -1;
}

div.container h2.align_right {
  text-align: right;
}

div.container h2.align_right>img.logo {
  position: fixed;
  width: 200px;
  left: calc(50vw - 100px);
}

/*please dont show this anoiyng "you are logged in as mysweettiger" stuff*/
/*please dont show this anoiyng "welcome" stuff*/
/*
*/
div.container h1.bsm,
div.container div.alert.alert-success.alert-dismissable {
  /*
  border: #f00 1px dotted;
  */
  display: none;
}

/*@media (min-width: 768px) {*/
@media (min-width: 2400px) {
  div.container form.mainLogin {
    width: 100%;
    padding: 0;
    display: flex;
    margin: 8px 0;
    justify-content: space-around;
  }

  div.container form.mainLogin label:nth-of-type(1),
  div.container form.mainLogin label:nth-of-type(2),
  div.container form.mainLogin input#id_remember {
    display: none;
  }

  div.container form.mainLogin label:nth-of-type(3) {
    line-height: 32px;
    margin: 0;
  }

  div.container form.mainLogin input {
    border: 0 none;
    outline: 0 none;
  }

  div.container form.mainLogin input[type="password"] {
    width: 80px;
    text-align: center;
  }

  div.container form.mainLogin label[for="id_remember"] {
    padding-right: 38px;
    background: linear-gradient(270deg, #009ee0 32px, rgba(0, 0, 0, 0) 32px);
    cursor: pointer;
    -webkit-user-select: none;
    /* Chrome all / Safari all */
    -moz-user-select: none;
    /* Firefox all */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    /* Likely future */
  }

  .myActiveLoginRemember:after {
    content: "";
    display: inline-block;
    height: 12px;
    width: 18px;
    border-left: 3px solid;
    border-bottom: 3px solid;
    transform: rotate(-45deg);
    margin-left: 13px;
    position: absolute;
    margin-top: 7px;
    color: rgb(63, 76, 76);
  }

  div.container div.navbar-collapse div.col-md-4 {
    display: none;
  }
}

/*@media (max-width: 767px) {*/
@media (max-width: 2399px) {
  div.container h2.align_right {
    top: -15px;
    position: fixed;
    z-index: 10001;
  }
}

input,
div.jconfirm {
  color: #000;
}

div.jconfirm div.jconfirm-box-container div.jconfirm-box,
div.jconfirm div.jconfirm-box-container div.jconfirm-box .btn {
  border-radius: 0;
}

div.jconfirm div.jconfirm-box-container div.jconfirm-box div.jconfirm-buttons .btn {
  font-weight: 700 !important;
  text-transform: uppercase;
  background: #009ee0;
}

div.jconfirm div.jconfirm-box-container div.jconfirm-box div.jconfirm-buttons .btn:not(.large_btn) {
  flex-basis: 40%;
}

div.jconfirm div.jconfirm-box-container div.jconfirm-box div.jconfirm-buttons .btn:not(.btnAvailable),
div.jconfirm div.jconfirm-box-container div.jconfirm-box div.jconfirm-buttons .btn:not(.btnUnavailable) {
  margin-top: 24px;
}

div.jconfirm div.jconfirm-box-container div.jconfirm-box div.jconfirm-buttons .btn.large_btn {
  width: 100%;
}

/*
div.jconfirm div.jconfirm-box-container div.jconfirm-box div.jconfirm-buttons .btn.large_btn:after {
  border-bottom: #ccc 2px solid;
}
*/
div.jconfirm-box div.jconfirm-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.divs-striped .btn_inTabRow {
  padding: 8px;
  width: 36px;
}

.divs-striped .btn_inTabRow,
.list-striped .btn_inTabRow,
table.table-striped .btn_inTabRow {
  outline: 0 none !important;
  color: inherit;
  text-align: center;
  display: inline-table;
  min-width: 20px;
}

/*
#tarif table.table-striped>tbody>tr td:nth-last-of-type(1),
#einsatzplanung table.table-striped>tbody>tr td:nth-last-of-type(2),
div.jumbotron>div.container table.table-striped>tbody>tr td:nth-last-of-type(1),
div.jumbotron>div.container table.table-striped>tbody>tr td:nth-last-of-type(2) {
  width: 38px;
}
*/
table.table-striped>tbody>tr td:nth-last-of-type(1) {
  width: 38px;
}

table.table-striped>tbody>tr td:nth-last-of-type(2) {
  width: 72px;
  text-align: right;
}

table.table-striped td>i.fa:not(.fa-times):not(.fa-check), fa-paperclip {
  margin-right: 18px;
}

.divs-striped .btn_inTabRow:hover,
.list-striped .btn_inTabRow:hover,
table.table-striped .btn_inTabRow:hover {
  color: rgb(63, 76, 76);
  background: #009ee0;
}

.list-striped .btn_inTabRow:hover,
table.table-striped .btn_inTabRow:hover {
  box-shadow: 0px 0px 0px 6px #009ee0;
}

/*@media (min-width: 992px) {*/
@media (min-width: 992px) {
  .navbar {
    min-height: 72px;
  }

  body>div.container:not(.info) {
    padding: 58px 12px 36px 12px;
  }

  .navbar .navbar-header {
    height: 72px;
  }

  div.container h2.align_right>img.logo {
    width: 280px;
    left: calc(50vw - 140px);
  }

  /*
}


@media (min-width: 2400px) {

*/
  div.jumbotron>div.container>div.col-md-4:nth-of-type(1),
  div.jumbotron>div.container>div.col-md-4:nth-of-type(4) {
    padding-left: 0;
    padding-right: 30px;
  }

  div.jumbotron>div.container>div.col-md-4:nth-of-type(3),
  div.jumbotron>div.container>div.col-md-4:nth-of-type(6) {
    padding-left: 30px;
    padding-right: 0;
  }

  div.jumbotron>div.container {
    line-height: 2.4;
  }

  div.jumbotron>div.container table.table-striped {
    margin-top: 72px;
  }
}

button.btn_w100.btn_monthRapport {
  width: 300px;
}

@media (max-width: 360px) {
  button.btn_w100.btn_monthRapport i.fa {
    display: none;
  }

  button.btn_w100.btn_monthRapport {
    width: auto;
    white-space: normal;
  }
}

select#hjselect,
form div.form-group select,
form.reportForm select,
.btn,
#calendar .fc-button,
#main_calendar .fc-button {
  border-radius: 0;
  border: none;
  text-shadow: none;
  box-shadow: none;
  outline: 0 none !important;
  color: rgb(63, 76, 76);
}

/* stuff for the buttom of home */
form.reportForm {
  color: #fff;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

form.reportForm div.help-block {
  display: none;
}

form div.form-group select,
form.reportForm select,
nav.navbar form.navbar-form>div.form-group>select.form-control {
  /*org dav*/
  /*
  background: #666;
  padding-left: 8px;
  color: #fff;
  */
  /*new by order*/
  padding-left: 10px;
  color: #333 !important;
  border-radius: 4px;
  /*untouched*/
  background-image: url('../images/arr_down.png');
  height: 32px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-position: right center;
  background-repeat: no-repeat;
  background-color: #fff;
  cursor: pointer;
  margin: 0;
}

select#hjselect:active,
form div.form-group select:active,
form.reportForm select:active,
nav.navbar form.navbar-form>div.form-group>select.form-control:active {
  color: #333 !important;
}

form.reportForm select {
  width: 180px;
}

nav.navbar form.navbar-form>div.form-group>select.form-control {
  width: 112px;
  border: none;
  border-radius: 0;
}

nav.navbar form.navbar-form {
  padding-left: 0;
}

form div.form-group select[multiple],
form.reportForm select[multiple] {
  width: auto;
  height: auto;
  padding-left: 12px;
  background-image: none;
  max-height: 260px;
  overflow-y: scroll;
}

form div.form-group select[multiple] option,
form.reportForm select[multiple] option {
  padding: 6px;
  font-weight: inherit;
}

form div.form-group select[multiple] option:checked,
form.reportForm select[multiple] option:checked {
  background: #d4d4d4 !important;
  color: #222 !important;
}

form.reportForm select#id_kunde {
  /*
  display: none;
  */
  text-overflow: ellipsis;
  padding-right: 40px;
}

form.reportForm select#id_mitarbeiter {
  width: 308px;
}

form.reportForm select#id_mitarbeiter>option {
  text-overflow: ellipsis;
  overflow: hidden;
}

form.reportForm div.form-group {
  display: inline-block;
}

form.reportForm div.form-group:nth-last-of-type(1) {
  text-align: right;
  min-width: 100%;
  white-space: nowrap;
}

#calendar div.fc-view-container,
#main_calendar div.fc-view-container {
  background: rgba(5, 46, 72, 0.05);
}

#main_calendar div.fc-agendaDay-view div.fc-content-col div.fc-event-container {
  margin: 0 0 0 2px;
}

/* end buttom of home */
.btn,
#calendar .fc-button,
#main_calendar .fc-button {
  font-weight: 700 !important;
  text-transform: uppercase;
  background: #009ee0;
}

#main_calendar .fc-button:not(:nth-child(1)) {
  margin-left: 4px;
}

.closebtnCross {
  position: absolute;
  margin-top: 0 !important;
  top: 0;
  right: -2px;
  background: #fff !important;
}

.btn:hover,
#calendar .fc-button:hover {
  background: #009ee0 !important;
  box-shadow: 0px 0px 0px 2px #009ee0;
  color: rgb(31, 44, 44) !important;
}

.btn.fc-state-disabled:hover,
#calendar .fc-button.fc-state-disabled:hover {
  box-shadow: none;
  color: rgb(63, 76, 76) !important;
}

.btn:active,
#calendar .fc-button:active {
  background: #009ee0 !important;
  box-shadow: none;
  color: rgb(31, 44, 44) !important;
}

#calendar .fa-check,
#main_calendar .fa-check {
  position: absolute;
  right: 0;
  line-height: inherit;
  color: #0f0;
  font-size: 1em;
}

#main_calendar div.fc-view.fc-agenda-view tbody.fc-body table td:nth-of-type(1),
#main_calendar div.fc-view.fc-agenda-view tbody.fc-body table th:nth-of-type(1),
#main_calendar div.fc-view.fc-agenda-view div.fc-row.fc-widget-header th:nth-of-type(1) {
  display: none;
}

.navbar-left.btn,
.navbar-right.btn {
  margin-right: 12px !important;
}

.jumbotron {
  border-radius: 0 !important;
  background-color: rgba(239, 239, 239, 0.1);
}

.jumbotron p {
  margin: 0;
}

.fc-unthemed .fc-content, .fc-unthemed .fc-divider, .fc-unthemed .fc-list-heading td, .fc-unthemed .fc-list-view, .fc-unthemed .fc-popover, .fc-unthemed .fc-row, .fc-unthemed tbody, .fc-unthemed td, .fc-unthemed th, .fc-unthemed thead {
  border-color: rgba(239, 239, 239, 0.1) !important;
}

.fc-today {
  background: rgba(239, 239, 239, 0.1) !important;
}

.fc-event {
  border: none !important;
  border-radius: 0 !important;
  padding: 4px;
  margin: 2px;
}

.list-striped {
  /*
  border: #0f0 4px dotted;
  */
}

.list-striped>ul {
  padding-left: 0;
}

.list-striped>ul>li {
  padding: 8px 0 8px 12px;
  list-style-position: inside;
}

.divs-striped:nth-of-type(2n+1),
.list-striped>ul>li:nth-of-type(2n+1) {
  background: #fff;
}

.divs-striped {
  /*
  border: #fff 1px solid;
  margin-bottom: 36px;
  */
}

.divs-striped h3,
.divs-striped p {
  margin: 18px 12px;
}

.divs-striped h3 {
  font-size: 24px;
  font-weight: 600;
}

.divs-striped:nth-of-type(2n+1) h3 {
  padding-top: 18px;
  color: #000;
}

div.divs-striped.inactiv-info {
  border: 8px #86000d dashed;
  border-top: 0 none;
  border-bottom: 0 none;
}

div.divs-striped.inactiv-info h3 {
  color: #86000d;
}

.divs-striped p.delediline {
  text-align: right;
  height: 0px;
}

.divs-striped p a {
  top: -48px;
  position: relative;
}

.divs-striped:nth-of-type(2n+1) * {
  color: #000;
}

.divs-striped div.info_images_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 44px;
}

.divs-striped div.info_images_container>a {
  margin-bottom: 36px;
  align-self: center;
  box-shadow: 2px 2px 12px 8px rgba(0, 0, 0, 0.4);
  max-width: 40%;
}

.divs-striped div.info_images_container>a>img {
  width: 100%;
}

.divs-striped div.positioner {
  /*
  width: 10px;
  height: 10px;
  background: #f00;
  */
  margin-top: -72px;
  position: absolute;
}

body>div.container.info {
  padding: 16px 0 0 0;
  width: 100%;
}

form.infoForm {
  margin-bottom: 24px;
}

.list-striped>ul>li .fa-paperclip,
.list-striped>ul>li a {
  float: right;
  margin-right: 12px;
}

.list-striped>ul>li .fa-paperclip {
  right: 148px;
  position: relative;
  margin-right: -64px;
  margin-top: 3px;
}

/* re visualisation of table-striped ... */
.list-striped>ul>li:nth-of-type(2n+1),
.table-striped>tbody>tr:nth-of-type(2n+1) {
  color: #000;
  border-top: rgb(63, 76, 76) 3px solid;
  border-bottom: rgb(63, 76, 76) 3px solid;
}

.table-striped>tbody .mynamerow {
  /*
  content: attr(add-name);
  */
}

.table-striped>tbody .mynamerow>td:nth-child(1) {
  visibility: hidden;
}

.table-striped>tbody .mynamerow>td:nth-child(2) {
  font-weight: bold;
  text-align: left !important;
  margin-left: -72px;
  position: absolute;
  background: inherit;
}

/*  fa symbols in events  */
div.fc-content.inkl-icon>.fc-title {
  position: relative;
  max-width: calc(100% - 18px);
  display: inline-block;
  overflow: hidden;
  margin: -3px 0;
}

div.fc-content.inkl-icon i.fa {
  right: 0;
  position: absolute;
  margin-top: 3px;
}

div.fc-content.inkl-icon i.fa.green-icon {
    color: #0f0;
}

/*  datatables  */
#workDeploymentsTable_info {
  display: none;
}

#workDeploymentsTable_filter label {
  font-weight: lighter;
  position: relative;
  margin-bottom: 12px;
  direction: rtl;
}

#workDeploymentsTable_filter label input {
  background: rgba(255, 255, 255, 0.1);
  border: 0 none;
  border-bottom: rgba(255, 255, 255, 0.8) 1px solid;
  color: #fff;
  padding: 0 8px;
  height: 36px;
  outline: 0 none !important;
  direction: ltr;
  margin-right: -24px;
}

table.dataTable.dtr-inline.collapsed ul.dtr-details span.dtr-title:after {
  content: " :";
}

table.dataTable.dtr-inline.collapsed ul.dtr-details span.dtr-data {
  width: 52%;
  float: right;
}

table.dataTable.dtr-inline.collapsed ul.dtr-details {
  padding-left: 0;
}

table.dataTable.dtr-inline.collapsed ul.dtr-details>li {
  overflow: auto;
  list-style-position: inside;
}

table.dataTable.dtr-inline>tbody>tr[role="row"]>td {
  white-space: nowrap;
}

table.dataTable.dtr-inline>tbody>tr[role="row"]>td>div.mw100 {
  white-space: normal;
}

table.dataTable.dtr-inline tr.child .dtr-title div,
table.dataTable.dtr-inline tr.child .dtr-data div {
  display: initial;
  width: auto;
}

table.dataTable>tbody>tr>td {
  vertical-align: middle;
  border-top: 0 none;
}

/*
table.dataTable.dtr-inline>tbody>tr[role="row"]>td>div.mw60,
table.dataTable.dtr-inline>tbody>tr[role="row"]>td>div.mw100 {
  overflow: hidden;
  text-overflow: ellipsis;
}

table.dataTable.dtr-inline>tbody>tr[role="row"]>td>div.mw60 {
  max-width: 60px;
}

table.dataTable.dtr-inline>tbody>tr[role="row"]>td>div.mw100 {
  max-width: 100px;
}
*/
table.dataTable.dtr-inline.collapsed>thead>tr[role="row"]>th:first-child,
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child {
  user-select: none;
  padding-left: 28px;
  position: relative;
}

table.dataTable.dtr-inline tr[role="row"]>th:nth-last-child(3),
table.dataTable.dtr-inline tr[role="row"]>td:nth-last-child(3),
table.dataTable.dtr-inline tr[role="row"] div.alri {
  text-align: right;
}

table.dataTable.dtr-inline tr[role="row"]>th:nth-last-child(3),
table.dataTable.dtr-inline tr[role="row"]>th>div.alri {
  white-space: nowrap;
}

table.dataTable.dtr-inline tr[role="row"] div.alce {
  text-align: center;
}

table.dataTable.dtr-inline>thead>tr[role="row"]>th {
  cursor: pointer;
}

table.dataTable.dtr-inline>tfoot>tr>td {
  padding-top: 32px;
}

table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child::before {
  top: 9px;
  left: 4px;
  height: 14px;
  width: 14px;
  /*
  display: block;
  */
  position: absolute;
  color: white;
  border: 2px solid white;
  border-radius: 14px;
  box-shadow: 0 0 3px #444;
  box-sizing: content-box;
  text-align: center;
  text-indent: 0 !important;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  line-height: 14px;
  content: '+';
  background-color: #31b131;
  cursor: pointer;
}

#myFakeFooter {
  /*
  display: flex;
  justify-content: space-between;
  */
  position: relative;
  border-top: #fff 1px solid;
  padding-top: 8px;
  line-height: 0.6;
  margin-top: -4px;
}

#myFakeFooter span {
  position: absolute;
  padding: 8px;
}

#myFakeFooter span:not(:nth-child(1)) {
  direction: rtl;
}

#myFakeFooter span:nth-child(1) {
  display: inline-block;
  position: relative;
}

#myFakeFooter span.ff_mobile.ff_mobile_ch:before {
  content: "CHF: ";
}

#myFakeFooter span.ff_mobile.ff_mobile_km:before {
  content: "KM: ";
}

#myFakeFooter span.ff_mobile.ff_mobile_sp:before {
  content: "Spesen CHF: ";
}

#myFakeFooter span.ff_mobile.ff_mobile_to:before {
  content: "Total CHF: ";
}

#myFakeFooter span.ff_mobile {
  display: block;
  position: relative;
}

table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"].minus_sign>td.sorting_1:before {
  content: "-";
  background-color: #bd0808;
}

/* login form */
div#navbar.navbar-collapse.collapse.in {
  overflow-y: visible;
}

div#navbar form.navbar-form.navbar-right.mainLogin {
  display: flex !important;
  /*
  justify-content: space-around;
  */
  flex-wrap: wrap;
  flex-direction: column;
  height: 100vh;
  background: #222;
  margin: 0 -15px;
  font-size: 1.2em;
  padding: 15px;
}

div#navbar form.navbar-form.navbar-right.mainLogin>label {
  font-size: 14px;
}

div#navbar form.navbar-form.navbar-right.mainLogin>a.btn,
div#navbar form.navbar-form.navbar-right.mainLogin>button.btn,
div#navbar form.navbar-form.navbar-right.mainLogin>input#id_login,
div#navbar form.navbar-form.navbar-right.mainLogin>input#id_password {
  width: 100%;
}

div#navbar form.navbar-form.navbar-right.mainLogin>input,
div#navbar form.navbar-form.navbar-right.mainLogin>a.btn,
div#navbar form.navbar-form.navbar-right.mainLogin>button.btn {
  margin-bottom: 36px;
}

button#btn_internalpdf,
button#btn_externalpdf,
button#btn_externalexcel,
button#btn_reportexcel {
  min-width: 256px;
}