html{
  font-size:16px;
}
@media
(max-device-width: 450px) and (-webkit-min-device-pixel-ratio: 2)
{
  html{
    font-size:40px;
  }
}

#video {
  border: 1px solid black;
  box-shadow: 2px 2px 3px black;
  width:320px;
  height:240px;
}

#photo {
  border: 1px solid black;
  box-shadow: 2px 2px 3px black;
  width:320px;
  height:240px;
}

#canvas {
  display:none;
}

.camera {
  width: 340px;
  display:block;
  top: 10px;
  position: sticky;
  float: left;
}

.output {
  width: 340px;
  display:inline-block;
  float: right;
  clear: both;
}

.output_full_width {
  width: 100%;
  display:inline-block;
  margin-bottom: 20px;
}
.output_full_width p {
  margin-bottom: 10px;
}

.take_picture {
  margin-bottom: 30px;
  border: solid 1px;
  padding: 3px;
  border: 1px solid #002D5C;
  padding: .375rem .75rem;
  border-radius: .25rem;
}
.take_picture > p {
  margin-bottom: 0;
}
.take_picture > button {
  margin-bottom: 5px;
}

#startbutton {
  display:block;
  position:relative;
  margin-left:auto;
  margin-right:auto;
  bottom:32px;
  background-color: rgba(0, 150, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0px 0px 1px 2px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  font-family: "Lucida Grande", "Arial", sans-serif;
  color: rgba(255, 255, 255, 1.0);
}

.contentarea {
  font-size: 16px;
  font-family: "Lucida Grande", "Arial", sans-serif;
  width: 760px;
}

.tab1 {
  display: table;
}
.tab1 > p {
  display: table-row;
}
.tab1 > p > * {
  display: table-cell;
}
.tab1 > p > input {
  display: table-cell;
  width: 20rem;
}

@media
(max-device-width: 450px){
  .tab1 {
    display: block;
  }
  .tab1 > p {
    display: block;
  }
  .tab1 > p > * {
    display: block;
  }
  .tab1 > p > input {
    display: block;
  }
  .tab1 > p > label {
    max-width: none;
  }
}

p, label, input, option, select, button, .btn, .con_div {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}
p {
  margin-bottom: 1.5rem;
}

.part {
  margin-bottom: 20px;
  color: #002D5C;
}

button, .btn {
  -webkit-appearance: button;
  color: #fff;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

div.needs_accept_con {
  display: none;
}
div.accepted_con {
  display: initial;
}

#show_conditions_con, #show_conditions_accept, #clear {
  background-color: #002D5C;
  cursor: pointer;
}

button.no_matter_con, a.no_matter_con {
  background-color: #002D5C;
  cursor: pointer;
}

input, select {
  border: 1px solid #002D5C;
  padding: .175rem .375rem;
  border-radius: .25rem;
  margin-bottom: .3rem;
}
#reg_type {
  font-weight: 600;
  font-size: 1.4rem;
  color: #002D5C;
}
.input_missing {
  border: 3px solid red;
  border-radius: .25rem;
}
.input_missing_insert{
  padding-left: 20px;
  color: red;
}
.output_img {
  width: 338px;
  display:inline-block;
  float: left;
  margin-bottom: 30px;
  border: solid 1px;
  padding: 3px;
  border: 1px solid #002D5C;
  padding: .375rem .5rem;
  border-radius: .25rem;
  margin-right: 10px;
}
.output_img:nth-child(2) {
  margin-right: 0;
}
.output_img > img {
  border: 1px solid black;
  box-shadow: 2px 2px 3px black;
  max-width: 320px;
}
.output_img > p {
  margin-bottom: 0;
}
.img_trash {
  font-family: FontAwesome;
  color: #002D5C;
  float: right;
  cursor: pointer;
}
.signature_div {
  position: relative;
  margin-bottom: 10px;
  height: 4rem;
}
#signature {
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid black;
  box-shadow: 2px 2px 3px black;
  background-color: white;
  width: 24rem;
  height: 3.6rem;
}
@media
(max-device-width: 450px) and (-webkit-min-device-pixel-ratio: 2)
{
  #signature {
    width: 42rem;
    height: 6.3rem;
  }
  .signature_div {
    height: 6.5rem;
  }
}
#signature_clear, #send_pdf, #create_pdf {
  background-color: #002D5C;
  cursor: pointer;
}

.popup_container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.popup {
  display: none;
  width: 100vw;
  height: 100vh;
  background-color: rgb(0,0,0,0.5);
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
}

.spinner > img {
  padding: 50vh 50vw;
}

.popup > div {
  width: 50%;
  background-color: white;
  color: black;
  text-align: center;
  border-radius: 6px;
  padding: 15px;
  position: fixed;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 90%;
  overflow-y: scroll;
}
br.label_break {
  display: none;
}
@media
(max-device-width: 450px){
  br.label_break {
    display: initial;
  }
  .popup > div {
    width: 90%;
  }
}
#mail_pdf::before {
  content: ''
}

.insert_newpage {
  display: none;
}

a.ui-state-default::before {
  content: "";
}

#reg_header {
  width: 100%;
  padding: 0;
  color: #000;
  line-height: 0; 
  margin: 0 auto;
  display: flex;
}

#reg_header a {
  border-bottom: none;
}
#reg_header a:focus,
#reg_header a:hover,
#reg_header a:active {
  background-color: #fff;
}

#reg_header_mainlogo img {
  height: 80px;
}
#reg_header_ownlogo img {
  margin: 1px 0 0 0;
  max-height: 70px;
}


/*   Header-Element Site-Titel  */
#reg_header_sitetitle {
  display: flex;
  /* Fallback fÃ¼r alte Browser */
  width: 445px;
  -webkit-box-flex: 2;
  -moz-box-flex: 2;
  -webkit-flex: 2 1 40%;
  -ms-flex: 2 1 40%;
  flex: 2 1 40%;
}

#reg_header_sitetitle a {
  display: flex;
}


#reg_header_sitetitle h1,
#reg_header_sitetitle_umbruch h1 {
  display: flex;
  padding: 0 0.5em 0.8em 0.5em;
  padding: 0 0.5rem 0.5rem 0.5rem;
  margin: 0;
  font-family:'InfoTextWeb-Bold','Lucida Grande','Lucida Sans Unicode','Lucida Sans',sans-serif;
  font-size: 1.4em;
  font-size: 1.25rem;
  background: transparent;
  letter-spacing: 0.01em;      
  letter-spacing: 0.02rem;      
  line-height: 1.3em;
  line-height: 1.375rem;
  /* Flex-Box - Einstellungen - Umschaltung der BlÃ¶cke der Service-Box auf horizontale Anordnung */
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;   
}

#reg_header_sitetitle_umbruch h1 {
  padding: 0.1rem 0.5rem 0 0.5rem;
}
#reg_header_sitetitle h1 div {
  height: 1.375rem;
}

.ui-widget {
  font-size: 2rem;
}

p > label {
  max-width: 9rem;
  color: #84A3C4;
}

p.input_needed > label {
  color: #0056B1;
}
p.input_needed > label:after {
  content:" *";
}
p.input_needed > input {
  border-color: #0056B1;
}
p > input {
  border-color: #84A3C4;
}
