main > .container {
    /*
     * Footer ist "fixed-bottom" (siehe layouts/main.php) und damit aus dem
     * normalen Dokumentfluss genommen - ohne einen zum Footer passenden
     * Bottom-Puffer hier endet das scrollbare Dokument genau am Ende des
     * eigentlichen Inhalts, wodurch der letzte sichtbare Bereich (z.B. die
     * Führerscheine-Tabelle bei /mitarbeiter auf schmalen Displays, wo die
     * Bootstrap-Spalten untereinander gestapelt werden und der Inhalt
     * dadurch insgesamt höher wird) hinter dem fixierten Footer verschwindet
     * und nicht mehr weggescrollt werden kann.
     */
    padding: 4rem 1rem calc(1rem + 30px);
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);

    margin-left: 1rem;
    margin-right: 1rem;
    /*
    height: 100%;

    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 0;
    */
}

.footer{
    height: 30px !important;
}


input:invalid{
    background-color: red;
}

.table-hover:hover {
  background-color: grey ;
  /*cursor: pointer;*/
}
.table-hand{
    cursor: pointer;
    background-color: blue !important;
}

.input-group-search{
    font-size: 0.8rem !important;
}

.tourenplan-index{
    
    height: -moz-calc(100% - (20px + 30px));
    height: -webkit-calc(100% - (20px + 30px));
    height: calc(100vh - (148px));
    margin-bottom: 0px;
}

.tourenlist{
    height: calc(100vh - (100vh * 0.25));
    height: calc(100dvh - (100dvh * 0.25));
    margin-left: 0;
    margin-right: 0;
    margin-top: 1em;
    margin-bottom: 0;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
}

.adressenlist{
    height: calc(100vh - (100vh * 0.4));
    margin-left: 0;
    margin-right: 0;
    margin-top: 1em;
    margin-bottom: 0;
}

.auftrag-step{
    /*
    height: -moz-calc(100% - (100% * 0.6));
    height: -webkit-calc(100% - (100% * 0.6));
    */
    height: calc(100vh - (100vh * 0.6));

}

@media (max-width: 767px) {
    /* Auf schmalen Bildschirmen keine eigene, feste Scroll-Box mehr:
       der Block wächst mit seinem Inhalt und scrollt mit der Seite,
       statt Einträge am unteren Rand hinter dem Footer zu verstecken. */
    .auftrag-step {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        padding-bottom: 2rem !important;
    }
}

.focusedRow
{
    font-weight: bold;
    text-shadow: 1px 1px 0px #EEE;
    color: #111;   
}

.fa-pen-to-square:hover{
    color: green;
}

.fa-trash-can:hover{
    color: red;
}

.btn-group-xs>.btn.custom, .btn-xs.custom {
font-size: 10px;
padding: 1px 10px}

.h-20{
    
    height: 20% !important;
    
}

.h-30{
    
    height: 30% !important;
    
}

.h-40{
    
    height: 40% !important;
    
}

.h-20{
    
    height: 20% !important;
    
}



.h-60{
    
    height: 60% !important;
    
}

.h-70{
    
    height: 70% !important;
    
}

.h-80{
    
    height: 80% !important;
    
}

.h-85{
    
    height: 85% !important;
    
}

.h-90{
    
    height: 80% !important;
    
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.modal-backdrop {
    background-color: #495057;
}

.modal-backdrop.show {
    opacity: 0.6;
}