html {
    height: -o-calc(100% - 125px); /* opera */
    height: -webkit-calc(100% - 125px); /* google, safari */
    height: -moz-calc(100% - 125px); /* firefox */
}

body {
  font: 100.01% Verdana, Arial, Helvetica, sans-serif;
  height: 100%;
}

.img-help {
    max-width: 800px;
    height: auto;        
    margin-bottom: 30px;
}

* {
  margin:0;
  padding:0;
}

#page {
  width:100%;
  margin: 0 auto;
  height: 100%; 
}

.header {
  background-color:#457696;
  height: 80px;
  padding: 10px;
  border-bottom: 1px #c6d9e6 solid;
  color: #0E4F76;
  font-weight: bold;
  background-image: url('/images/header_back.jpg');
  background-repeat: repeat;
  box-sizing: content-box !important;
  
}

#headergraph {
  float: left;
  margin-left: -10px;
  margin-top: -10px;  
  margin-bottom: -10px;
  margin-right: 10px;
}

.headinfo {
  font-weight: normal;
}

#headertitle {    
    font-size: 22px;
    font-weight: bold;

    margin-left: auto;
    margin-right: auto;
}
#subtitle {
    font-weight: normal;
    font-size: 16px;
}

#headerlink {
    position: absolute;
    display: block;
    top: 70px;
    right: 10px;
}

.header a {
  font: 100.01% Verdana, Arial, Helvetica, sans-serif;
  color: #77b5da;
}

#filter {
  padding: 6px;
  font-size: 12px;
  font-weight: bold;
  line-height: 2em  
}

#logo {
  position: absolute;
  right: 10px;
  top: 35px;  
}

#content {
  background-color: #ffffff;
  height: 95%; 
  padding: 10px;
  min-width: 88%;
  margin-left: 16%;
}

#result {
  padding: 6px;
  border-top: 1px #457696 solid;
  overflow: visible;  
}

#control {
  float: left;
  width:15%;
  background-color:#f2f6f9;
  padding: 10px;
  height: 100%;
  box-sizing: content-box !important;
}
#extramenu {
}

#footer {
  background-color: #eaf1f7;
  height: 25px;
  padding-top: 5px;
  padding-left: 1%;
  border-top: 1px #457696 solid;
  box-sizing: content-box !important;
}

#footer a {
  font-size: 0.75em;
      color: #105075;
    background: url('/images/text-arrow.png') no-repeat scroll right bottom transparent;
    padding-right: 23px;
    text-decoration: underline;
}

#logon {
  width: 400px;
  height: 262px;
  margin-top: 10px;  
  margin-bottom: 10px;  
  margin-left: auto;
  margin-right: auto;
  border: 3px solid #457696;
  background-color: #eaf1f7;
  box-sizing: content-box !important;
}

a.external {
  font-size: 0.9em;
      color: #105075;
    background: url('/images/text-arrow.png') no-repeat scroll right bottom transparent;
    padding-right: 23px;
    text-decoration: underline;
}


#logon .header {
  height: 25px;
}

#logontabs {
  height: 185px;
  font-size: 14px;
}

.login-form,
.login-form input,
.login-form label {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.login-form input[type=text],
.login-form input[type=password],
.login-form input[type=submit] {
    line-height: 14px;
    margin: 10px 0;
    padding: 6px 15px;
    border: 0;
    outline: none;
 
    font-family: Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0px 1px 1px rgba(255,255,255, .2);
 
    -webkit-border-radius: 26px;
    -moz-border-radius: 26px;
    border-radius: 26px;
 
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}

.login-form label {
   width: 80px;
   display: inline-block;
}

.login-form input[type=text],
.login-form input[type=password] {
    color: #686868;
    width: 170px;
 
    -webkit-box-shadow: inset 1px 1px 1px 0px rgba(255,255,255, .6);
    -moz-box-shadow: inset 1px 1px 1px 0px rgba(255,255,255, .6);
    box-shadow: inset 1px 1px 1px 0px rgba(255,255,255, .6);
 
    background: #dcdcdc;
    background: -moz-linear-gradient(top,  #ffffff 0%, #dcdcdc 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#dcdcdc));
    background: -webkit-linear-gradient(top,  #ffffff 0%,#dcdcdc 100%);
    background: -o-linear-gradient(top,  #ffffff 0%,#dcdcdc 100%);
    background: -ms-linear-gradient(top,  #ffffff 0%,#dcdcdc 100%);
    background: linear-gradient(top,  #ffffff 0%,#dcdcdc 100%);
}

.login-form input[type=text]:hover,
.login-form input[type=password]:hover {
    -webkit-box-shadow: inset 1px 1px 1px 0px rgba(255,255,255, .6), 0px 0px 5px rgba(255,255,255, .5);
    -moz-box-shadow: inset 1px 1px 1px 0px rgba(255,255,255, .6), 0px 0px 5px rgba(255,255,255, .5);
    box-shadow: inset 1px 1px 1px 0px rgba(255,255,255, .6), 0px 0px 5px rgba(255,255,255, .5);
}

.login-form input[type=text]:focus,
.login-form input[type=password]:focus {
    background: #e1e1e1;
    background: -moz-linear-gradient(top,  #ffffff 0%, #e5e5e5 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5));
    background: -webkit-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%);
    background: -o-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%);
    background: -ms-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%);
    background: linear-gradient(top,  #ffffff 0%,#e5e5e5 100%);
}

.login-form input[type=submit] {
    float: right;
    cursor: pointer;
 
    color: #445b0f;
 
    -webkit-box-shadow: inset 1px 1px 1px 0px rgba(255,255,255, .45), 0px 1px 1px 0px rgba(0,0,0, .3);
    -moz-box-shadow: inset 1px 1px 1px 0px rgba(255,255,255, .45), 0px 1px 1px 0px rgba(0,0,0, .3);
    box-shadow: inset 1px 1px 1px 0px rgba(255,255,255, .45), 0px 1px 1px 0px rgba(0,0,0, .3);
}

.login-form input[type=submit]:hover {
    -webkit-box-shadow: inset 1px 1px 3px 0px rgba(255,255,255, .8), 0px 1px 1px 0px rgba(0,0,0, .6);
    -moz-box-shadow: inset 1px 1px 3px 0px rgba(255,255,255, .8), 0px 1px 1px 0px rgba(0,0,0, .6);
    box-shadow: inset 1px 1px 3px 0px rgba(255,255,255, .8), 0px 1px 1px 0px rgba(0,0,0, .6);
}
 
.login-form input[type=submit]:active {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.login-form input[type=submit],
.js .login-form span.checked:before {
    background: #edbf12;
    background: -moz-linear-gradient(top,  #edbf12 0%, #fecf34 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#edbf12), color-stop(100%,#fecf34));
    background: -webkit-linear-gradient(top,  #edbf12 0%,#fecf34 100%);
    background: -o-linear-gradient(top,  #edbf12 0%,#fecf34 100%);
    background: -ms-linear-gradient(top,  #edbf12 0%,#fecf34 100%);
    background: linear-gradient(top,  #edbf12 0%,#fecf34 100%);
}

.login-form span {
    display: inline-block;
    color: #868e96;
    font-style: italic;
}

 #feedback { font-size: 1.4em; }
.selectable .ui-selecting { background: #77b5da; }
.selectable .ui-selected { background: #c5d8e5; }
.selectable { list-style-type: none; margin: 0; padding: 0;}
.selectable li { margin: 3px; padding: 0.3em; font-size: 0.8em; font-weight: bold;}
.selectable span {
  display: block;
  font-size: 0.7em;
  font-weight: lighter;
  padding-left: 5px;
}

.ui-accordion-content {
  padding: 0.6em 0.8em !important;
}

.Error {
  margin: 5px;
  padding: 5px;
  background-color: #ff4141;
  border: 1px solid #ac0404;
}

.filterelement {
  white-space: nowrap;
  display: inline-flex;
  margin: 0 0.5em 0 0.5em;
  width: 360px;
  border-bottom: 0px solid #ffcc00;
}

.filterelement label {
  display: inline-block;
  width: 180px;
  padding-left: 4px;
  overflow: hidden;
  vertical-align: bottom;
}

.filterelement input {
  margin: 0 0 0 0.5em;
}

.filterelementsmall {
  white-space: nowrap;
  display: inline-flex;
  margin: 0 0.5em 0 0.5em;
}


#filtersubmit {
  display: inline-block;
  padding: 2px;
  vertical-align: bottom;  
}

.filterbtn {
  white-space: nowrap;
  display: inline-block;
  margin: 0 0 0 0.5em;
  overflow: hidden;
  vertical-align: bottom;   
}

img {
  border: 0;
}

#helpcontainer {
    padding-left: 150px;
}

 .ui-autocomplete {
max-height: 200px;
overflow-y: auto;
/* prevent horizontal scrollbar */
overflow-x: hidden;
}
/* IE 6 doesn't support max-height
* we use height instead, but this forces the menu to always be this tall
*/
* .ui-autocomplete {
height: 200px;
}

.flexigrid {
  overflow: visible;
   box-sizing: content-box !important;
}

#main {
  display: inline-block;
  width:96%;
  height: 100%;
}

#error {
    background-color: #ffcc00;
    position: absolute;
    width: 300px;
    height: 100px;
    top: 20%;
    left: 50%;
    border: 1px solid #457696;
    display: none;
}

#errorcontent {
    padding: 5px;
    clear: both;
    text-align: center;
    color: #5e5a72;
}

.errbtn {
    float: right;
    padding: 5px;
    background-image: url('/images/close.png');
    background-repeat: no-repeat;
    background-position: 50%, 50%;
    width:20px;
    height: 20px;
}

#sidebox {
    //background-color: #f2f6f9;
    //width: 200px;
    //height: 500px;
    //float: right;
    display: none;
    
    border-top: 1px solid #457696;
    padding: 10px;
    display: none;
    float: left;
    clear: both;
    width: 15%;
}
#sideboxcaption {
    padding: 5px;
    color: #457696;
    font-weight: bold;
    border-bottom: 1px dashed #457696;
}

.sideboxitem {
    
}

.delbtn {
   float: right;
    background-image: url('/images/close-orange.png');
    background-repeat: no-repeat;
    background-position: 0%, 50%;
    width:18px;
    height: 18px; 
    display: none;
}

.sideboxbutton {
    width: 99%;
    font-size: 0.9em !important;
}

.jumbotron {
    padding: 1em 1em 1em 4em !important;
    background-color: #f2f6f9 !important;
    text-align: center;
    border-bottom: .05rem solid #e5e5e5;   
}

.btn_right {
    float: right;
}

h4 {
    clear: both;
}

.anchor {
    display: block;
    position: relative;
    top: -100px;
}

.mandatory {
    background-color:#fff495 !important; 
}

.mandatory_group {
    background-color:#ff8000 !important; 
}

/*'m': GridTiere.Columns[col].Color := clYellow;
        'o': GridTiere.Columns[col].Color := clWindow;
        'x': GridTiere.Columns[col].Color := $000080FF;*/

.input_desc {
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: .375rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

table.inputtable  {
    counter-reset: rowNumber;
}

table.inputtable  tr td:first-child{
    counter-increment: rowNumber;
}

table.inputtable  tr td:first-child::before {
    content: counter(rowNumber);
    min-width: 1em;
    margin-right: 0.5em;
}

.multiselect-container>li:hover {
    background-color: lightgrey;
}

.multiselect-container>li>a>label.checkbox, .multiselect-container>li>a>label.radio {
    /*display: block;*/
    width: 100%;
}

#sfutabs {
    overflow: scroll;
    /*overflow-y: hidden;*/
    max-height: 500px;
}

.dropdown-menu {
    height: auto;
    max-height: 200px;
    overflow-x: hidden;
}

.form-row {
    margin-bottom: 10px;
    /*max-width: 600px;*/
    /*display: flex;*/
}

.col {
    /*flex: 50%;*/
}

.leistungen {
    margin-top: 15px;
}

.leistung-row {
    
}

.col-header {
    font-weight: 700 !important;
}    

.main-header {
    margin-bottom: 2rem;
}

.col-input-short{
    
}

.row-leistungkopf {    
    border-bottom: 1px solid #EB8F00;
    padding-bottom: 3px;
}

.cell-leistungkopf div:hover > .row-leistungkopf{    
    background-color: #c5d8e5;
    cursor: pointer;
}

section:hover {
    background: #c5d8e5;
    cursor: pointer;
}

p.warning {
    color: red;   
}

div.warning {
    color: red;   
}


.menu-link {
    cursor: pointer;
}

p.footer {
    text-align: center;
    font-weight: bold;
}

.filter {  
  display: inline-flex;
  margin: 0 0.5em 0 0.5em;
  width: 100%;    
}

.hidden-column {
  display: none !important;
}

.hidden-row {
  display: none !important;
}

.cb-label {
  display: inline-flex; 
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.leistung-title {
  margin-top: 40px;
  margin-left: 3px !important;
}

/* Farbpalette
 #457696
 #f2f6f9
 #eaf1f7
 #5e5a72
 #ffcc00
*/



