/*******************************************************************************
    Default
*******************************************************************************/
body {
  color: hsl(0, 0%, 46%);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  background: hsl(0, 0%, 97%);
  overflow: hidden;
}
/*******************************************************************************
    Navigation - Taskleiste
*******************************************************************************/
#navigation {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 50px;
  background: #ffffff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  text-align: center;
}
#navigation .left {
  float: left;
  padding: 14px 0 0 16px;
  display: none;
}
#navigation .right {
  float: right;
}
#navigation .middle {
  float: right;
  margin: auto;
  padding: 7px 10px 0 0;
  text-align: center;
}
#navigation .middle .pagingButton {
  display: inline-block;
  cursor: pointer;
  color: #424242;
}
#navigation .middle .pagingButton:hover {
  color: #757575;
}
#navigation .middle .pagingButton i {
  display: block;
  padding: 10px 16px;
}
#navigation .middle .pagingButtonDisabled {
  cursor: not-allowed;
  color: #c2c2c2;
}
#navigation .middle .pagingButtonDisabled:hover {
  color: #c2c2c2;
}
#navigation .middle.navigationHide {
  display: none;
}
.upload {
  display: block;
  height: 50px;
  padding: 0 16px;
  width: auto !important;
  color: #ffffff;
  font-weight: 300;
  border: none;
  background: #8bc34a;
}
.upload .fa {
  margin-right: 6px;
}
.upload:disabled {
  background: #DCEDC8;
}
.upload:hover {
  background: #a4d070;
}
@media only screen and (min-width: 480px) {
  #navigation .middle {
    float: none;
  }
  #navigation .left {
    white-space: nowrap;
    display: block;
    max-width: 170px;
    overflow: hidden;
  }
}
@media only screen and (min-width: 640px) {
  #navigation .middle {
    float: none;
  }
  #navigation .left {
    display: block;
    max-width: 340px;
    overflow: hidden;
  }
}
@media only screen and (min-width: 768px) {
  #navigation .middle {
    float: none;
  }
  #navigation .left {
    display: block;
    max-width: none;
    overflow: hidden;
  }
}
/*******************************************************************************
    Signature Buttons
*******************************************************************************/
.button-nav {
  position: absolute;
  z-index: 99;
  top: 0;
  right: 0;
}
.button-nav.onpaint {
  display: none;
}
.buttons {
  display: inline-block;
  padding: 10px 16px;
  color: #ffffff;
  font-weight: 300;
  border: none;
  box-shadow: 1px 2px 9px -2px rgba(0, 0, 0, 0.3);
  background: none;
}
.buttons .fa {
  margin-right: 6px;
}
.buttons.eraser {
  margin: 16px 8px;
  background: #ffc107;
}
.buttons.eraser:hover {
  background: #ecb100;
}
.buttons.check {
  margin: 16px 16px 16px 8px;
  background: #8bc34a;
}
.buttons.check:hover {
  background: #7eb73d;
}
/*******************************************************************************
    Absolute Contentbereich
*******************************************************************************/
#content {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
}
#contentinner {
  position: relative;
  max-width: 1200px;
  margin: 15px auto;
  text-align: center;
  border-radius: 5px;
  box-shadow: 1px 2px 9px -2px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
#contentinner #image {
  width: 100%;
}
/*******************************************************************************
    Formularfields
*******************************************************************************/
.formularField {
  position: absolute;
  display: block;
}
.formularField .input {
  min-width: 100%;
  border: none;
  font-size: 22px;
  background: transparent;
}
.signField {
  position: absolute;
  cursor: pointer;
}
.signField img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.signFieldBorder {
  border: 4px solid #8bc34a;
  border-radius: 4px;
}
.formularFieldBorder {
  border: 2px solid #FFC107;
  border-radius: 4px;
}
.formularFieldBorderRequired {
  border: 2px solid #F44336;
  border-radius: 4px;
}
/*******************************************************************************
    SignatureContent
*******************************************************************************/
.currSignField {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  width: 100%;
  justify-content: center;
  align-content: center;
  align-items: center;
}
/*******************************************************************************
    Signaturefields
*******************************************************************************/
.currSignField .canvasContainer {
  position: relative;
  border-radius: 5px;
  box-shadow: 1px 2px 9px -2px rgba(0, 0, 0, 0.3);
  background: #ffffff;
}
.currSignField .canvasContainer #paintCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}
.signature {
  position: absolute;
  left: 0;
  top: 25%;
  width: 100%;
  height: 50%;
  background: rgba(139, 195, 74, 0.1);
  border-bottom: 2px dashed hsl(0, 0%, 46%);
  pointer-events: none;
  z-index: 1;
}
.signature div {
  position: absolute;
  top: 102%;
  right: 2%;
  pointer-events: none;
}
/*******************************************************************************
    Checked
*******************************************************************************/
.showSending {
  position: absolute;
  left: 10%;
  top: 10%;
  bottom: 10%;
  right: 10%;
  text-align: center;
  font-size: 40px;
}
.showError div {
  text-align: center;
}
.showSending i {
  color: green;
}
.showBy {
  position: absolute;
  left: 10%;
  top: 10%;
  bottom: 10%;
  right: 10%;
  text-align: center;
  font-size: 40px;
  color: green;
}
