body {
  overflow-y: scroll;
  background: #ffffff;
}

table th {
  text-align: left;
}

input[type="checkbox"] {
  /*visibility: hidden;*/
}

.vertragsfeld_input {
  margin: 0;
  padding: 0;
  border: 1px solid #333;
  background-color: #ffffff;
}

input.vertragsfeld_input:focus,
select.vertragsfeld_input:focus,
input[type="checkbox"]:focus {
  background-color: lightgreen;
}

.fcheckbox label {
  cursor: pointer;
  position: absolute;
  /*width: 25px;
    height: 25px;*/
  top: 0;
  left: 0;
  background: #eee;
  border: 1px solid #999;
}

.fcheckbox label:before {
  opacity: 0.2;
  content: "";
  position: absolute;
  width: 50%;
  height: 50%;
  background: transparent;
  bottom: -12%;
  left: 22%;
  border: 3px solid #333;
  border-bottom: none;
  border-left: none;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.fcheckbox label:after {
  opacity: 0.2;
  content: "";
  position: absolute;
  width: 50%;
  height: 50%;
  background: transparent;
  top: -12%;
  left: 22%;
  border: 3px solid #333;
  border-top: none;
  border-right: none;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.fcheckbox label:hover::after,
.fcheckbox label:hover::before {
  opacity: 0.5;
}

.fcheckbox input[type="checkbox"]:checked + label:after,
.fcheckbox input[type="checkbox"]:checked + label:before {
  opacity: 1;
}

.vfelddraggable {
}

#vertragsfeld-eigenschaften {
  position: fixed;
  margin-right: 10px;
  width: 200px;
  min-height: 20px;
  float: right;
  right: 0px;
}

#eigenschaftenContainer {
  /*display: none;*/
}

.liste_vertragsvorlage_name {
  font-weight: bold;
}
.liste_vertragsvorlage_beschreibung {
  font-size: 75%;
}

.list_def {
  __background-color: red;
  min-width: 170px;
  width: 150px;
  display: inline-block;
  padding: 0px;
  margin: 0px;
  vertical-align: top;
}

#pdfSeitenContainer {
  /*margin: 0px 200px 0px 200px; text-align: center;    */
  /*TODO:tablet: 760px 2x*/
  min-width: 900px;
  max-width: 900px;

  position: relative;
  /*position: absolute;*/
  /*margin: 0 auto;   */
  /*margin: 0 0 0 250px;*/
}

.pdfseite {
  width: 100%;
  height: auto;
  /*TODO:tablet: 760px*/
  max-width: 900px;
  border: 1px solid #000;
}

#hilfslinie_v {
  position: absolute;
  height: 100%;
  width: 2px;
  background-color: #235494;
  font-size: 1px;
  line-height: 1px;
  cursor: move;
}

#hilfslinie_h {
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: #235494;
  font-size: 1px;
  line-height: 1px;
  cursor: move;
}

.spezial {
  display: none;
}

#listPromocodes li {
  cursor: pointer;
}

.ui-select-spacer {
  clear: both;
  width: 100%;
  height: 10px;
}

.popupMessageText {
  margin-top: 10px;
}
.popupMessageBtnDiv {
  margin-top: 20px;
}

#felderGrid {
  display: none;
  margin: 15px 0px 0px 0px;
}

.tblInGrid td {
  min-width: 5%;
}

.vfID {
  display: none;
}

.felderCol {
  width: 120px;
  font-weight: normal;
}

.felderCol div {
  width: 120px;
  height: 100%;
  overflow: hidden;
}

.spnRowName,
.tblRowData {
  background-color: indianred;
}

.tblOuterContainer {
  position: relative;
}

.tblOpacContainer {
  position: absolute;
  right: 0;
  width: 30px;
  height: 100%;
  background-image: -webkit-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.5),
    #fff
  );
  background-image: -moz-linear-gradient(0deg, rgba(255, 255, 255, 0.5), #fff);
  background-image: -ms-linear-gradient(0deg, rgba(255, 255, 255, 0.5), #fff);
  background-image: -o-linear-gradient(0deg, rgba(255, 255, 255, 0.5), #fff);
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.5), #fff);
}

/*

*/

#tooltip {
  font-family: Arial, sans-serif;
  font-size: 0.875em;
  text-align: center;
  text-shadow: 0 1px rgba(0, 0, 0, 0.5);
  line-height: 1.5;
  color: #fff;
  background: #333;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(0, 0, 0, 0.6)),
    to(rgba(0, 0, 0, 0.8))
  );
  background: -webkit-linear-gradient(
    top,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.8)
  );
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  background: -ms-radial-gradient(top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  background: linear-gradient(top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border-top: 1px solid #fff;
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  position: absolute;
  z-index: 9999;
  padding: 15px;
}
#tooltip:after {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #333;
  border-top-color: rgba(0, 0, 0, 0.7);
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  margin-left: -10px;
}
#tooltip.top:after {
  border-top-color: transparent;
  border-bottom: 10px solid #333;
  border-bottom-color: rgba(0, 0, 0, 0.6);
  top: -20px;
  bottom: auto;
}
#tooltip.left:after {
  left: 10px;
  margin: 0;
}
#tooltip.right:after {
  right: 10px;
  left: auto;
  margin: 0;
}

#tooltip_valid {
  font-family: Arial, sans-serif;
  font-size: 0.875em;
  text-align: center;
  text-shadow: 0 1px rgba(100, 0, 0, 0.5);
  line-height: 1.5;
  color: #fff;
  background: #ff0000;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(100, 0, 0, 0.6)),
    to(rgba(100, 0, 0, 0.8))
  );
  background: -webkit-linear-gradient(
    top,
    rgba(100, 0, 0, 0.6),
    rgba(100, 0, 0, 0.8)
  );
  background: -moz-linear-gradient(
    top,
    rgba(100, 0, 0, 0.6),
    rgba(100, 0, 0, 0.8)
  );
  background: -ms-radial-gradient(
    top,
    rgba(100, 0, 0, 0.6),
    rgba(100, 0, 0, 0.8)
  );
  background: -o-linear-gradient(
    top,
    rgba(100, 0, 0, 0.6),
    rgba(100, 0, 0, 0.8)
  );
  background: linear-gradient(top, rgba(100, 0, 0, 0.6), rgba(100, 0, 0, 0.8));
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border-top: 1px solid #fff;
  -webkit-box-shadow: 0 3px 5px rgba(100, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 5px rgba(100, 0, 0, 0.3);
  box-shadow: 0 3px 5px rgba(100, 0, 0, 0.3);
  position: absolute;
  z-index: 99;
  padding: 15px;
}
#tooltip_valid:after {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #ff0000;
  border-top-color: rgba(100, 0, 0, 0.7);
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  margin-left: -10px;
}
#tooltip_valid.top:after {
  border-top-color: transparent;
  border-bottom: 10px solid #ff0000;
  border-bottom-color: rgba(100, 0, 0, 0.6);
  top: -20px;
  bottom: auto;
}
#tooltip_valid.left:after {
  left: 10px;
  margin: 0;
}
#tooltip_valid.right:after {
  right: 10px;
  left: auto;
  margin: 0;
}

.liste_vertragsfeld_name {
  position: relative;
  width: 100%;
  clear: both;
  font-weight: bold;
}
.liste_vertragsfeld_daten {
  position: relative;
  display: inline;
  margin-top: 10px;
  font-size: 75%;
}

.syst_custom_option {
  font-size: 14px;
}

/*.hbig{ height: 60px;}*/
.big {
  height: 32px;
}
.big .ui-btn-inner {
}

.ui-input-listview {
  /*border: medium none;*/
  /*display: block;*/
  margin: -5px 0 0 0;
  /*outline: 0 none !important;*/
  /*padding: 0.4em 0;*/
  width: 80%;

  font-size: 16px;
  line-height: 1.4em;
  min-height: 1.4em;
}

.syst_custom_dialog_title {
  margin-left: 5% !important;
  margin-right: 5% !important;
}

/* Performance-Fix (iPad A16): dieser after-Pseudo-Element wird fuer JEDE
   Checkbox auf der Seite gerendert (bis zu 50x im Vertragsformular). Ein
   Gradient ist fuer den Compositor/Paint teurer als eine einfarbige
   Flaeche, und der visuelle Unterschied zwischen den zwei sehr aehnlichen
   Gruentoenen (#00bf00 -> #009400) ist minimal. Daher: einfache
   background-color statt vendor-prefixed linear-gradient-Ketten.
   Siehe PERFORMANCE_FIX_PLAN.md (P3). */
input[type="checkbox"]:after {
  content: " ";

  display: inline-block;
  visibility: visible;

  background-color: #009400;
}


/*TODO:tablet*/
#cnt_fill_ctrct {
  padding: 0;
  margin: 0;
}

.set-member {
  /* cursor: pointer; */
}

.trf-lst {
  border-collapse: collapse;
  border: none;
  width: 100%;
  height: 14px;
  font-size: 11px;
}

.trf-lst td {
  border: none;
  font-size: 12px;
}

.signature-pad {
  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;
  font-size: 10px;
  width: 100%;
  height: 100%;
  max-width: 700px;
  max-height: 460px;
  border: 1px solid #e8e8e8;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
  border-radius: 4px;
  padding: 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;
}

.signature-pad--body canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature-pad--footer,
.signature-pad--footer {
  color: #c3c3c3;
  text-align: center;
  font-size: 1.2em;
  margin-top: 8px;
}
