body div#container h2#formtitle {
    font-size: 20px;
}

body div#container .required {
    font-weight: bold;
    color: #d32b00;
}

body div#container div.required {
    color: inherit;
    border-color: #d32b00;
}

body div#container div.satisfied {
    color: inherit;
    border: 1px solid #eee;
}

body div#container .required div.required {
    color: inherit;
    border-color: transparent;
}

body div#container div.required>h3 {
    color: #d32b00;
}

body div#container div.satisfied>h3 {
    color: #747474 !important;
}

body div#container .required::after {
    content: "*";
}

body div#container .document.required label,
body div#container .document.required div {
    font-weight: normal;
}

body div#container div.required::after {
    content: none;
}

body div#container .satisfied {
    font-weight: normal !important;
    color: #747474 !important;
}

input {
    border: 1px solid #555;
    margin: 1px;
}

textarea {
    font-size: 11px;
    font-weight: normal;
    font-family: Arial, sans-serif;
    line-height: 140%;
    width: 100%;
    margin: 0 10px 20px 0;
}

label {
    float: left;
    display: block;
    width: 120px;
}

.checkboxes label {
    display: inline;
    width: auto;
    float: none;
    margin-left: 5px;
}

.checkboxes span {
    margin-right: 15px;
}

div.group h3:first-child {
    margin-top: 0 !important;
}

ul.radio {
    float: left;
}

ul.radio label {
    float: none !important;
    display: inline !important;
    padding-left: 5px;
}

fieldset.greybox {
    position: relative;
    background: none #f7f7f7;
    border: 1px solid #eee;
    font-size: 13px;
    font-weight: normal;
    font-family: Arial, sans-serif;
    line-height: 140%;
    color: #747474;
    margin-top: 5px;
    padding: 5px 10px;
    float: left;
    margin: 20px 10px 10px 0;
    width: 902px;
}

fieldset.greybox legend {
    font-weight: bold;
    padding: 0 5px;
}

fieldset.whitebox {
    position: relative;
    background: none;
    border: 0;
    font-size: 13px;
    font-weight: normal;
    font-family: Arial, sans-serif;
    line-height: 140%;
    color: #747474;
    margin-top: 5px;
    padding: 0;
    float: left;
    margin: 20px 10px 10px 0;
    width: 923px;
}

fieldset.whitebox legend {
    font-weight: bold;
    padding: 0 5px;
}

input.datetime_future {
    width: 100px !important;
}


/* DATEPICKER */

input.datepicker,
input.hasDatepicker,
input.birthdate,
input.datetime_future {
    background: #fff url("images/icons/calendar.png") right center no-repeat;
}

#ui-datepicker-div {
    background: none #fff;
    box-shadow: 0 0 3px 0 #333;
    border-radius: 5px;
}

div.ui-datepicker-header {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    padding: 5px;
}

.ui-icon {
    background: none #eee;
}

div.ui-datepicker-header .ui-icon-circle-triangle-w {
    float: left;
    padding: 3px 5px;
    cursor: pointer;
    font-size: 12px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    border: 1px solid #ccc;
    color: #747474;
}

div.ui-datepicker-header .ui-icon-circle-triangle-e {
    float: right;
    padding: 3px 5px;
    cursor: pointer;
    font-size: 12px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    border: 1px solid #ccc;
    color: #747474;
}

table.ui-datepicker-calendar {
    margin: 5px;
}

table.ui-datepicker-calendar td.ui-datepicker-week-col {
    width: 15px;
    text-align: right;
    border: 1px solid transparent;
    text-decoration: none;
    margin: 0 1px 1px 0;
    padding: 3px 5px;
    color: #ccc;
    font-size: 10px;
    font-family: Arial, sans-serif;
    font-style: italic;
}

table.ui-datepicker-calendar thead th {
    text-align: center;
    text-decoration: none;
    margin: 0 1px 1px 0;
    padding: 3px 5px;
    color: #747474;
    font-size: 11px;
    font-family: Arial, sans-serif;
    font-weight: bold;
}

table.ui-datepicker-calendar td.ui-datepicker-unselectable span {
    font-family: Arial, sans-serif;
    width: 15px;
    text-align: right;
    display: block;
    background: #fff;
    border: 1px solid #eee;
    text-decoration: none;
    margin: 0 1px 1px 0;
    padding: 3px 5px;
    color: #ccc;
    font-size: 10px;
}

table.ui-datepicker-calendar td a {
    font-family: Arial, sans-serif;
    width: 15px;
    text-align: right;
    display: block;
    background: #eee;
    border: 1px solid #ccc;
    text-decoration: none;
    margin: 0 1px 1px 0;
    padding: 3px 5px;
    color: #747474;
    font-size: 10px;
}

table.ui-datepicker-calendar td a.ui-state-active {
    background: none #ddd;
}

table.ui-datepicker-calendar thead th {
    background: none #fff;
}


/* PAINTER */

.painterBox {
    border: 1px solid #ccc;
}

.painterBox label {
    margin: 3px 5px;
}

.painterBox .toolbar {
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    background: none #eee;
    width: auto;
    min-width: 185px;
    height: 27px;
    clear: left;
}

.painterBox .toolbar .tool {
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: none transparent;
    cursor: pointer;
    margin: 3px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 13px;
}

.painterBox .toolbar a.tool {
    display: none;
}

.painterBox .toolbar div.undo {
    background: transparent url("images/icons/undo.png") 1px 1px no-repeat;
}

.painterBox .toolbar div.redo {
    background: transparent url("images/icons/redo.png") 1px 1px no-repeat;
}

.painterBox .toolbar div.new {
    background: transparent url("images/icons/new.png") 1px 1px no-repeat;
}

.painterBox .toolbar .color {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-clip: padding-box;
    white-space: normal;
    cursor: pointer;
    margin: 3px;
    border-radius: 13px;
    display: none;
}

.painterBox .toolbar .colors .chosen {
    -webkit-box-shadow: 0 0 2px 2px #FFE042;
    box-shadow: 0 0 2px 2px #FFE042;
}

.painterBox .toolbar div {
    display: inline;
}

canvas.painter {
    background: none 0 0 no-repeat transparent;
}

br {
    clear: both;
}


/* DENTURE */
/* Nur für die Gebiss-Inputs, bei denen Zähne/Kronen mit Werten aus Auswahllisten benannt werden können, nicht freie Zeichen-Felder. martin 29.10.2019 */
ul.denture {
    position: absolute;
    top: -30px;
    right: 10px;
    width: 282px;
    height: 462px;
    background: url("images/gebiss.png") 0 0 no-repeat transparent;
}

ul.denture li {
    position: absolute;
    display: inline;
}

ul.denture select::-ms-expand {
    display: none;
    text-align: center;
}

ul.denture select {
    background: none transparent;
    padding: 0 3px 0 0;
    -moz-appearance: none;
    border: medium none;
    font-size: 10px;
    text-align: center;
    font-weight: normal;
    color: #329842;
    color: #000;
    text-align: center !important;
}

ul.denture .option {
    text-align: center !important;
}

ul.denture li.denture_i_1 {
    top: 11px;
    left: 105px;
}

ul.denture li.denture_i_2 {
    top: 23px;
    left: 74px;
}

ul.denture li.denture_i_3 {
    top: 41px;
    left: 48px;
}

ul.denture li.denture_i_4 {
    top: 70px;
    left: 36px;
}

ul.denture li.denture_i_5 {
    top: 97px;
    left: 24px;
}

ul.denture li.denture_i_6 {
    top: 135px;
    left: 20px;
}

ul.denture li.denture_i_7 {
    top: 177px;
    left: 18px;
}

ul.denture li.denture_iv_1 {
    left: 113px;
    top: 433px;
}

ul.denture li.denture_iv_2 {
    left: 90px;
    top: 427px;
}

ul.denture li.denture_iv_3 {
    left: 65px;
    top: 414px;
}

ul.denture li.denture_iv_4 {
    left: 51px;
    top: 386px;
}

ul.denture li.denture_iv_5 {
    left: 39px;
    top: 356px;
}

ul.denture li.denture_iv_6 {
    left: 29px;
    top: 315px;
}

ul.denture li.denture_iv_7 {
    left: 18px;
    top: 268px;
}

ul.denture li.denture_ii_1 {
    top: 11px;
    left: 143px;
}

ul.denture li.denture_ii_2 {
    left: 174px;
    top: 21px;
}

ul.denture li.denture_ii_3 {
    left: 200px;
    top: 38px;
}

ul.denture li.denture_ii_4 {
    top: 70px;
    left: 211px;
}

ul.denture li.denture_ii_5 {
    top: 97px;
    left: 222px;
}

ul.denture li.denture_ii_6 {
    left: 229px;
    top: 132px;
}

ul.denture li.denture_ii_7 {
    left: 233px;
    top: 175px;
}

ul.denture li.denture_iii_1 {
    left: 138px;
    top: 433px;
}

ul.denture li.denture_iii_2 {
    left: 161px;
    top: 427px;
}

ul.denture li.denture_iii_3 {
    left: 183px;
    top: 414px;
}

ul.denture li.denture_iii_4 {
    left: 199px;
    top: 386px;
}

ul.denture li.denture_iii_5 {
    left: 212px;
    top: 356px;
}

ul.denture li.denture_iii_6 {
    left: 223px;
    top: 315px;
}

ul.denture li.denture_iii_7 {
    left: 232px;
    top: 268px;
}

table.legend {
    -webkit-box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.4);
}

table.legend th,
table.legend td {
    text-align: left;
    font-size: 10px;
    padding: 1px 3px;
    background: none #eee;
}

table.legend tr.odd th,
table.legend tr.odd td {
    background: none #fff;
}

table.denture_matrix th {
    vertical-align: middle;
    padding: 5px 10px;
}

table.denture_matrix td {
    padding: 5px 8px;
    cursor: pointer;
    color: #ddd
}

table.denture_matrix tr:first-child td {
    border-bottom: 1px dashed #747474;
}

table.denture_matrix tr:first-child td:nth-child(9) {
    border-right: 1px dashed #747474;
}

table.denture_matrix tr:nth-child(2) td:nth-child(8) {
    border-right: 1px dashed #747474;
}

table.denture_matrix td.selected {
    font-weight: bold;
    color: #329842;
}

table.matrix {
    width: 100%;
}

table.matrix th {
    text-align: left;
    padding: 2px 3px;
    font-weight: normal;
}

table.matrix thead th {
    text-align: center;
}

table.matrix th label {
    display: inline;
    width: auto;
}

table.matrix th label.satisfied {
    font-weight: bold !important;
}

table.matrix td {
    text-align: center;
}

table.matrix tr.odd td,
table.matrix tr.odd th {
    background: none #eee;
}

table.matrix tr.odd td.odd {
    background: none #e7e7e7;
}

table.matrix thead th.odd,
table.matrix tr.even td.odd {
    background: none #eee;
}

table.matrix thead th {
    vertical-align: bottom;
}

table.matrix thead th.name {
    font-size: 16px;
    font-weight: normal;
    text-align: left;
}

#privacy_acception_checkbox input {
    float: left;
    margin: 40px 20px 20px 20px;
}

#privacy_acception_checkbox label {
    display: block;
    width: 840px;
    margin: 20px auto;
}

.desiredatebox {
    border: 1px solid silver;
    background: none #e7e7e7;
    padding: 5px;
}

.desiredatebox .info {
    font-size: 10px;
    line-height: 1.2em;
}

table.multitable {
    width: 100%;
}

table.multitable * {
    font-size: 11px;
}

table.multitable th {
    padding: 2px 5px;
    background: none #e8e8e8;
    vertical-align: middle;
}

table.multitable td {
    padding: 2px 5px;
    text-align: center;
}

table.multitable tr.even td {
    background: none #eee;
}

table.multitable tr.odd td.even {
    background: none #f2f2f2;
}



table.multitable td input {
    width: 50px;
    border: none;
    background: none #f7f7f7;
    text-align: right;
    border: 1px solid #ddd;
}

table.multitable th.blank {
    background: none transparent;
}

table.multitable th.grey {
    background: none #aaa;
}

table.multitable th.legend {
    display: table-cell !important;
    text-align: left;
    background: none transparent;
    font-weight: normal;
}

table.multitable th.light {
    font-weight: normal;
}

table.multitable *.bordertop {
    border-top: 1px solid #ccc !important;
}

table.multitable *.borderright {
    border-right: 1px solid #ccc !important;
}

table.multitable th.lower {
    font-weight: normal;
}

table.multitable *.darkbg {
    background: none #aaa !important;
    color: #fff;
}

table.multitable *.bigborderright {
    border-right: 2px solid #666 !important;
}

table.multitable *.bigborderleft {
    border-left: 2px solid #666 !important;
}

table.multitable *.bigbordertop {
    border-top: 2px solid #666 !important;
}

table.multitable *.bigborderbottom {
    border-bottom: 2px solid #666 !important;
}

.parkedAndEdited {
    outline: 1px solid #fde3c1;
    -webkit-box-shadow: 0 0 2px 4px #fff7c5;
    box-shadow: 0 0 2px 4px #fff7c5;
}


/* Test um Radio-Buttons besonders zu markieren. martin 18.12.2019 */
/*
ul.radio .parkedAndEdited {
    outline: 0px solid #ff0000;
    -webkit-box-shadow: 0 0 0px 0px #ff0000;
    box-shadow: 0 0 2px 4px #ff0000;
}
*/

/* Damit die gelben Rahmen der geladenen Checkbox-Werte nicht größer sind als die Checkbox. War bis dahin in allen (beiden) Formularen falsch. martin 13.11.2019 */
table.multitable input[type="checkbox"].parkedAndEdited {
    width: auto;
}

