﻿ /* *,
*::before,
*::after {
  box-sizing: border-box;
}  */

/* body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100vh;
  width: 100%;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  margin: 0;
  padding: 32px 16px;
  font-family: Helvetica, Sans-Serif;
} */

.signature-pad {
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  /* display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column; */
  xfont-size: 10px;
  width: 100%;
  min-height: 300px;
  xmax-width: 700px;
  xmax-height: 460px;
  border: 1px solid #e8e8e8;
  xbackground-color: #fff;
  xbox-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
  xborder-radius: 4px;
  xpadding: 16px;
}

/* .signature-pad::before,
.signature-pad::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: 40%;
  height: 10px;
  bottom: 10px;
  background: transparent;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
} */

/* .signature-pad::before {
  left: 20px;
  -webkit-transform: skew(-3deg) rotate(-3deg);
          transform: skew(-3deg) rotate(-3deg);
} */

/* .signature-pad::after {
  right: 20px;
  -webkit-transform: skew(3deg) rotate(3deg);
          transform: skew(3deg) rotate(3deg);
} */

/* .signature-pad--body {
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  border: 1px solid #f4f4f4;
} */

/* dialog podpisu na vysku (WebControls.js SignaturePadOpen, trida html5-qrcode-scanner-modal--fullheight):
   plocha podpisu vyplni vysku mezi hlavickou a patickou, linka pro podpis */
.signaturepad-modal .signaturepad-dialog-body {
  display: none;
}

.signaturepad-modal .signature-pad {
  flex: 1 1 auto;
  min-height: 0;
  border: 0;
  background-color: #fff;
  touch-action: none;
}

.signaturepad-modal .signature-pad::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 25%;
  border-bottom: 1px dashed #9ca3af;
  pointer-events: none;
}

.signature-pad--body
canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  xborder-radius: 4px;
  xbox-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature-pad--footer {
  color: #C3C3C3;
  text-align: center;
  font-size: 1.2em;
  margin-top: 8px;
}

.signature-pad--actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 8px;
}

#github img {
  border: 0;
}

@media (max-width: 940px) {
  #github img {
    width: 90px;
    height: 90px;
  }
}

.amc-controls-signature-pad-img-thumb {
  height: 16px;
  padding-left: 2px;
  display:inline-block;
}

.amc-controls-signature-pad-img-thumb.img-xs {
  height: 10px;
}

  .amc-controls-signature-pad-img-thumb.img-sm {
    height: 16px;
  }

  .amc-controls-signature-pad-img-thumb.img-md {
    height: 18px;
  }

  .amc-controls-signature-pad-img-thumb.img-lg {
    height: 24px;
  }