﻿body {
  /*ModalerDialog*/
}
body #editModalWindow {
  overflow-x: hidden!important;
  overflow-y: auto!important;
}
body .modalFlexContainer {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}
body .modalFlexContainer .timeControlFlex {
  flex: 3;
  order: 1;
  /*background-color:forestgreen;*/
}
body .modalFlexContainer .timesControlFlex {
  flex: 3;
  order: 2;
}
body .modalFlexContainer .statusControlFlex {
  flex: 1;
  order: 3;
  /*background-color:yellow;*/
}
body .modalFlexContainer .infoTextControlFlex {
  flex: 1 1 800px;
  order: 3;
  /*background-color:deeppink;*/
}
body .modalFlexContainer .selectionControlFlex {
  display: block;
  order: 4;
  width: 900px;
}
body .modalFlexContainer .descriptionControlFlex {
  order: 5;
  flex: 1 1 800px;
  /*background-color:blueviolet;*/
}
body .modalFlexContainer .fileControlFlex {
  order: 6;
  flex: 1 1 800px;
  /*background-color:bisque;*/
}
body #editWindowAbsenceReasons .col-lg-3.contingentGroup {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: space-between;
  background-color: transparent;
  margin: 10px;
  border: none;
  border-color: darkgray;
  border-style: dashed;
  border-width: 1px;
  border-radius: 0px;
  min-height: 70px;
  height: auto;
  /*padding: 12px 12px;*/
  text-align: right;
  overflow: hidden;
  padding: 0;
  /*Shadow*/
  /*.contingent:after {
                content: ' Anspruch';
                font-size: 10px;
            }*/
}
body #editWindowAbsenceReasons .col-lg-3.contingentGroup .absenceReasonsContainer {
  display: block;
  flex-wrap: wrap;
  /*justify-content: space-between;*/
  flex-direction: row;
  order: 1;
  /*Abwesenheit*/
}
body #editWindowAbsenceReasons .col-lg-3.contingentGroup .absenceReasonsContainer .absenceReason {
  /*margin-left: 10px;*/
  border-color: black;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
  margin: 5px;
  height: 55px;
  padding: 12px 12px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
}
body #editWindowAbsenceReasons .col-lg-3.contingentGroup .absenceReasonsContainer .absenceReason .absenceReasonText {
  pointer-events: none;
}
body #editWindowAbsenceReasons .col-lg-3.contingentGroup .absenceReasonsContainer .absenceReason .absenceReasonText div {
  display: block;
  margin: 0 auto;
  width: 80%;
  pointer-events: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
body #editWindowAbsenceReasons .col-lg-3.contingentGroup .absenceReasonsContainer .absenceReason:hover {
  border-color: dimgray;
  border-width: 2px;
}
body #editWindowAbsenceReasons .col-lg-3.contingentGroup .absenceReasonsContainer .absenceReason.disabled {
  color: gray;
  border-color: gray;
  border-width: 1px;
}
body #editWindowAbsenceReasons .col-lg-3.contingentGroup .absenceReasonsContainer .absenceReason.selected {
  border-color: darkseagreen;
  border-width: 3px;
  color: darkgreen;
  /*.contingent {
            position: absolute;
            color: darkgreen;
            top: 30px;
            font-size:20px;
            background-color: white;
        }*/
}
body #editWindowAbsenceReasons .col-lg-3.contingentGroup .contingent {
  order: 2;
  /*position: relative;*/
  /*align-self:flex-end;*/
  color: black;
  background-color: whitesmoke;
  font-size: 20px;
  height: 25px;
  /*font-weight:bold;*/
  padding-right: 10px;
  pointer-events: none;
  border: none;
  border-color: dimgray;
  border-top-style: dashed;
  border-top-width: 1px;
}
body #editWindowAbsenceReasons .contingentGroup.disabled {
  pointer-events: none;
  color: gray;
  border-color: gray;
  border-width: 1px;
}
body #editWindowAbsenceReasons .contingentGroup.disabled .contingent {
  color: gray;
  background-color: white;
}
body .modal-body {
  font-size: 13px;
}
body .modal-body .statusText {
  font-size: 25px;
}
body .modal-body .timePickerContainer .formLayoutElement {
  margin-top: 10px;
}
body .modal-body .timePickerContainer .formLayoutElement .formLayoutLabel {
  width: 50px;
  display: inline-flex;
  overflow: hidden;
}
body .modal-body .descriptionTextBox textarea {
  width: 100%;
  height: 100px;
}
body .modal-body .filesContainer {
  width: 100%;
  height: 300px;
}
body .modal-body .filesContainer .filesBody {
  border-width: 1px;
  border-style: solid;
  height: 200px;
  overflow-y: scroll;
}
body .modal-body .filesContainer .filesBody .fileList {
  list-style-type: none;
  padding: 0px;
}
body .modal-body .filesContainer .filesBody .fileList li {
  padding-left: 10px;
  margin-top: 5px;
}
body .modal-body .filesContainer .filesBody .fileList li[data=new] .fileName {
  color: cornflowerblue;
}
body .modal-body .filesContainer .filesBody .fileList li[data=new] .fileName:after {
  content: " (Neu)";
}
body .modal-body .filesContainer .filesBody .fileList li:after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  margin-top: 2px;
  margin-bottom: 2px;
  background-color: lightgray;
}
body .modal-body .filesContainer .filesBody .fileList .fileName {
  width: 60%;
  float: left;
  height: 20px;
  overflow: hidden;
  font-weight: bold;
}
body .modal-body .filesContainer .filesBody .fileList .fileStatus {
  width: 20%;
  float: left;
}
body .modal-body .filesContainer .filesBody .fileList .fileStatus .approved {
  color: #007226;
}
body .modal-body .filesContainer .filesBody .fileList .fileStatus .declined {
  color: #c13b3b;
}
body .modal-body .filesContainer .filesBody .fileList .fileInfoButton {
  width: 10%;
  cursor: pointer;
}
body .modal-body .filesContainer .filesBody .fileList .fileDeleteButton {
  cursor: pointer;
  width: 10%;
}
body .modal-body .filesContainer .filesBody .fileList .fileDispatchingRemark {
  width: 500px;
}
body .modal-body .filesContainer .fileButtonContainer {
  position: absolute;
  right: 20px;
}
body .modal-body .filesContainer .fileButtonContainer .newFileButton {
  position: relative;
  float: left;
  font-size: 20px;
  cursor: pointer;
}
body .modal-body .filesContainer .fileButtonContainer .newFileButton input {
  position: absolute;
  bottom: 0;
  left: 0;
  with: 100%;
  height: 20px;
  opacity: 0;
}
body .modal-body .absenceReasonsInfoText {
  margin-top: 10px;
  color: dodgerblue !important;
  font-weight: lighter;
}
body .onlyOnTabletAndDesktop {
  display: inline-block;
}
@media only screen and (max-width: 767px) {
  .newFileButton {
    position: relative !important;
    float: left !important;
    right: 0 !important;
    margin-left: 20px !important;
    font-size: 20px !important;
    cursor: pointer !important;
  }
  .onlyOnTabletAndDesktop {
    display: none !important;
  }
}