table.matrix td {
  height:2em;
}

table.matrix input {
  margin-top: -1.1em!important;
}

fieldset.fieldset_checkbox,
.x-fieldset.fieldset_checkbox, 
fieldset.fieldset_radio,
.x-fieldset.fieldset_radio {
    width: auto!important;  
}

fieldset.fieldset_text,
.x-fieldset.fieldset_text,
fieldset.fieldset_textarea,
.x-fieldset.fieldset_textarea  {
    width: auto!important;  
}

/* Browser defaults for fieldset used for x-fieldset (we dont want to use fieldsets, because we have no legends. This leads to accessibility warnings in WAVE check) */
/* The div x-fieldset class is a replacement for the fieldsets */
.x-fieldset {
  background-color: #f6f6f6!important;
  display: block;
  margin-inline: 2px;
  padding-block: 0.35em 0.625em;
  padding-inline: 0.75em;
  /* border: 2px groove ThreeDFace; */
  min-inline-size: min-content;
}

.x-fieldset label.text,
.x-fieldset label.select {
  display: inline-block;
  float: none;
  width: 300px;  
}

.x-fieldset input[type=text],
.x-fieldset select,
.x-fieldset textarea {
  vertical-align: top;
  margin-top: 4px;
}


/* By the same reason legend is replaced by div x-legend */
.x-legend { 
  color: #666;
  margin-right: 0.5em;
  margin-left: 8px;
  padding-top: 0.2em;
  margin-bottom: 8px;
}

textarea {
  width: 510px!important;  
}

/* Wege bearbeiten */

.wayline {
  height: 2em;
  line-height: 2em;
  background-color: #eee;
  margin-bottom: 10px;
  padding-left: 6px;
}

.movelink {
  color: #bbb;
  margin-right: 30px;
  float: left;
}

.waynumber {
  font-weight: bold;  
  width: 35px;
  float: left;
}

.waytime { 
  float: left;
  width: 170px
}

.wayinfo { 
  float: left;
}

.movelink form { 
  display: inline;
}

.movelink button {
  padding: 0;
  background-color: transparent;
  color: #000;
  margin: 0px 5px 0 0;
}

select#WEG_AZ_hh,
select#WEG_AZ_mm,
select#WEG_ZZ_hh,
select#WEG_ZZ_mm,
input{
  vertical-align: baseline!important;
}

#WEG_KM,
#WEG_U_KM_01,
#WEG_U_KM_02,
#WEG_U_KM_03,
#WEG_U_KM_04 {
  width: 80px;
}

.important {
  border: none;
  background: none;
  padding: 0;
  color: darkred;
  font-size: 90%;
}

/*
 Lange Texte im label werden sauber unmgebrochen
 Aktivieren durch 'special-style' im type radio oder checkbox
*/
.radio_wrapper,
.checkbox_wrapper {
  padding: 3px;
}

.radio_wrapper label,
.checkbox_wrapper label {
  width: 100%!important;
  padding-left: 10px;
}

.radio_wrapper input,
.checkbox_wrapper input {
  margin-top: 3.5px!important;
}

/*  Radiobuttons/Checkboxes mit zusätzlicher Texteingabe (12.08.2025) */
.radio_wrapper_2,
.checkbox_wrapper_2{
 margin-left: 3px;
 height: 30px;
  margin-top: 1px;
  margin-bottom: -2px;
}

.radio_wrapper_2 label,
.checkbox_wrapper_2 label{
  height: 1em!important;
  margin-top: 2px;
  margin-left: 10px;
  width: auto!important;
}

.radio_wrapper_2 input[type=text],
.checkbox_wrapper_2 input[type=text]{
  margin: -1px 0 0 10px;
  height: 18px!important;
  font-size: 16.0128px!important;
  color: #373a3c;
}
/* ---- */

/* Language switcher */
.mobi_langswitch {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 15px;
    background-color: #f0f0f0;
    border-radius: 0px;
    padding: 10px 15px;
    text-align: right;
}

.mobi_langswitch a {
    text-decoration: none;
    color: #444;
    transition: color 0.3s, background-color 0.3s, border-radius 0.3s;
    padding: 5px;
}

.mobi_langswitch a:hover {
    color: #000!important;
    background-color: #c8c8c8;
    border-radius: 3px;
}


