/*
Farben OVV:

Blau: #37537c
hellblau: #b1bdda
grau: color: #333;
Sehr dunkel: #0f1419;

*/
html{
    background-color: #0f1419;
}

body {
    color: #333;
    padding-top: 60px;
}

h1, h2, h3, h4, h5, h6, th, a, td a {
    color: #337ab7;
}
button a, button a:hover{
    color: #fff;
}

.col-md-1.icons,
.col-md-1.icons-tools{
    padding-left: 0;
    padding-right: 0;
}

.col-md-1.icons a.btn-primary,
.col-md-1.icons-tools a.btn-primary {
    border: 0px solid #fff;
    padding: .275rem .65rem;
}

.col-md-1.icons-tools a.btn-primary {
    background-color: #218838;
}

.panel-success > .panel-heading {
    background-color: #b1bdda;
    color: #37537c;
    font-weight: bold;
    border-color: #b1bdda;
}

.panel-success {
    border-color: #b1bdda;
}
.dev-hinweis {
    color: darkred;
    background: #fff;
    margin-top: 17px;
    padding: 2px;
    display: inline-block;
}
.live-hinweis {
    color: #fff;
    margin-top: 17px;
    padding: 2px;
    display: inline-block;
}
#flashmessages {
    margin-bottom: 0;
    position: fixed;
    z-index: 10;
    top: 112px;
    right: 33%;
    margin-top: 5px;
}
li.wrap-dl-bilder {
    display: none
}

@media (max-width: 500px) {
    #flashmessages {
        top: 59px;
        right: 5%;
        width: 90%;
    }
}
table {
    font-size: 10px;

}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding: 3px;
    border: 1px solid #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
#tableErfassungen{
    width: 95%;
}
.tableStammdaten{
    width: 100%;
}
.listen {
    min-height: 20px;
    overflow: auto;
    height: 500px;
    width: 100%;
    padding: 0px 0px 15px 1px;
    margin: 1rem 0px 2rem 0;
    background-color: aliceblue;
}


#tableErfassungen,
.tableStammdaten {
    position: relative;
}
#tableErfassungen thead th,
#tableErfassungen thead td,
.tableStammdaten thead th, 
.tableStammdaten thead td {
    position: sticky;
    top: 0;
}
.navbar {
    background-color: rgb(55, 83, 124);
    margin-top: -36px;
    padding: 0;
}
.navbar-right{
justify-content: flex-end;
}
.navbar-nav > li > a {
    color: #b1bdda;
    font-weight: bold;
    padding-left: 1em;
}

.navbar-nav > li > a:hover {
    color: #337ab7;
    text-decoration: underline;
}

.navbar-brand img {
    margin-top: 1px;
    margin-right: 5px;
    display: inline;
}

.navbar-default a.navbar-brand {
    color: #fff;
}

.navbar-default a:hover.navbar-brand {
    color: #b1bdda;
}

a.navbar-brand {
    padding-top: 0px;
    display: inline-block;
}

.container, .container-fluid{


}
.messages {
    min-height: 4rem;
}
#erfassungen {

}
main {
    min-height: 900px;
    padding-top: 50px;
    padding-bottom: 50px;
}

footer {
    color: #b1bdda;
    background: #0f1419;
    padding-top: 1rem;
}

#menu_user {
    background-color: #2c3f5b;
    width: 100%;
    height: 25px;
    border-bottom: 1px solid #333;
    color: white;
    text-align: right;
    font-size: 13px;
}

#menu_user span {
    color: #b1bdda;
}

#menu_user a, #menu_user a:hover {
    color: #fff;
}

#menu_user li {
    display: inline-block;
    padding: 3px 20px 0px 20px;
}


.custom-select {
    -moz-appearance: none;
    background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 4 5\'%3E%3Cpath fill=\'%23333\' d=\'M2 0L0 2h4zm0 5L0 3h4z\'/%3E%3C/svg%3E") no-repeat scroll right 0.75rem center / 8px 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    color: #464a4c;
    display: inline-block;
    height: calc(2.25rem + 2px);
    line-height: 1.25;
    max-width: 100%;
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
    vertical-align: middle;
}

label.col-sm-4.form-check-label.radio {
    font-weight: normal;
}

.filter input,
.filter select,
.filter .btn-info,
.input-group>.form-control,
.input-group>.custom-select,
.input-group .bootstrap-select .dropdown-toggle {
    font-size: 12px;
    height: 28px;
    margin-bottom: 10px;
}
.filter .btn {
    min-width: 6rem;
    padding-bottom: 1.6rem;
}
 .col-md-2.filter {
     text-align: right;
     align-items: center;
}
.form-inline .form-group{
    flex: 0 1 auto!important;
    justify-content: space-between;
    align-content: center;
}

.display-url-label {
    font-style: italic;
    font-weight: normal;
    margin-top: -6px;
}
.label-erf-von
{
    color: gray!important;
    font-size: 0.8rem!important;
    margin-bottom: 10px!important;
}

td a {
    cursor: pointer;
    color: #337ab7!important;
}

.hover_img a {
    position: relative;
    outline: none;
}

.hover_img a div {
    position: absolute;
    display: none;
    z-index: 99;
}

.hover_img a:hover div {
    display: block;
    border: 2px solid #464a4c;
    box-shadow: 4px 4px 8px #464a4c;
}

/* Fehlermeldungen in Formularen */
.input-group ul {
    position: absolute;
    z-index: 100;
    background-color: rgba(255, 255, 0, 0.5);
    border: 1px solid silver;
    list-style-type: none;
    margin-left: 0px;
    margin-top: 25px;
    padding: 5px;
    font-size: 10px;
}

.form-group ul {
    background-color: rgba(255, 255, 0, 0.5);
    border: 1px solid silver;
    list-style-type: none;
    margin-left: 0px;
    margin-top: 2px;
    padding: 5px;
    font-size: 10px;
}

.disabled {
    color: silver;
    pointer-events: none;
    cursor: not-allowed;
}

.debug {
    color: silver;
    cursor: pointer;
}
#loeschen.show{
    display: inline-block;
}
#loeschen{
    display: none;
}
#filterListe {
    display: none;
    font-size: 0.8em;
    line-height: 1.1em;
    padding: 10px;
    border: 1px solid silver;
}

.ui-widget-overlay {
    background: #000;
    opacity: 0.8;
    filter: Alpha(Opacity=.8);
}

.navbar {
    border: 0px solid transparent;
}

.ui-dialog-content {
    text-align: center;
}
.ui-dialog .ui-dialog-buttonpane {
    padding: 0;
}
.main-button {
    width: 195px;
    height: 50px;
    font-size: 1.5em;
    border-radius: 10px;
    background: rgb(224, 22, 43);
    color: white;
    margin: 15px;
    border: 1px solid black !important;
}
.main-button:hover {
    background: rgba(224, 22, 43, 0.5);
    color: white;
}
/*!
* jquery.fixedHeaderTable. The jQuery fixedHeaderTable plugin
*
* Copyright (c) 2011 Mark Malek
* http://fixedheadertable.com
*
* Licensed under MIT
* http://www.opensource.org/licenses/mit-license.php
*
* http://docs.jquery.com/Plugins/Authoring
* jQuery authoring guidelines
*
* Launch  : October 2009
* Version : 1.3
* Released: May 9th, 2011
*
*
* all CSS sizing (width,height) is done in pixels (px)
*/

/* @group Reset */

.fht-table,
.fht-table thead,
.fht-table tfoot,
.fht-table tbody,
.fht-table tr,
.fht-table th,
.fht-table td {
    /* position */
    margin: 0;

    /* size */
    padding: 0;

    /* text */
    font: inherit;
    vertical-align: top;
}

.fht-table thead tr {
    height: 20px !important;

}

.fht-table {
    /* appearance */
    border-collapse: collapse;
    border-spacing: 0;
}

/* @end */

/* @group Content */

.fht-table-wrapper,
.fht-table-wrapper .fht-thead,
.fht-table-wrapper .fht-tfoot,
.fht-table-wrapper .fht-fixed-column .fht-tbody,
.fht-table-wrapper .fht-fixed-body .fht-tbody,
.fht-table-wrapper .fht-tbody {
    /* appearance */
    overflow: hidden;

    /* position */
    position: relative;

    border: 1px solid #dee2e6;
}

.fht-table-wrapper .fht-fixed-body .fht-tbody,
.fht-table-wrapper .fht-tbody {
    /* appearance */
    overflow: auto;
}

.fht-table-wrapper .fht-table .fht-cell {
    /* appearance */
    overflow: hidden;

    /* size */
    height: 1px;
}

.fht-table-wrapper .fht-fixed-column,
.fht-table-wrapper .fht-fixed-body {
    /* position */
    top: 0;
    left: 0;
    position: absolute;
}

.fht-table-wrapper .fht-fixed-column {
    /* position */
    z-index: 1;
}

/* @end */

.fancyTable td, .fancyTable th {
    /* appearance */
    border: 1px solid #778899;
    /* size */
    padding: 5px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 10px !important;
    max-width: 400px;
}

.fancyTable th {
    font-weight: bold;
}

.fancyTable {
    /* text */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.fancyTable thead tr th,
.fancyTable thead tr td,
.fancyTable tfoot tr th,
.fancyTable tfoot tr td {
    /* appearance */
    background-color: #8ca9cf;
    background-image: -moz-linear-gradient(
            top,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.1) 51%,
            rgba(255, 255, 255, 0.0) 100%);

    background-image: -webkit-gradient(
            linear, left top, left bottom,
            color-stop(0%, rgba(255, 255, 255, 0.4)),
            color-stop(50%, rgba(255, 255, 255, 0.2)),
            color-stop(51%, rgba(255, 255, 255, 0.1)),
            color-stop(100%, rgba(255, 255, 255, 0.0)));

    /* text */
    color: #121517;
}

.fancyTable thead tr th br {
    display: none;
}

.gridview {
    border-collapse: collapse;
    /* margin: 0px 10px 10px 0; */
}

.gridview, .gridview td, .gridview th {
    border: 1px solid #cccccc;
}

.gridview th {
    text-align: left;
    /*font-size: 1.2em;*/
    font-weight: normal;
    color: #F9F9F9;
    background: #337EB5;
}

.gridview th a, .gridview th a:link, .gridview th a:visited, .gridview th a:active {
    text-decoration: none;
}

.gridview th a:hover {
    text-decoration: underline;
}

.gridview tr {
    background: #F4F9FD;
}

.gridview tr:nth-child(odd) {
    background-color: #F4F9FD;
}

.gridview tr:nth-child(even) {
    background-color: #EDF5FC;
}

.gridview td {
    font-weight: normal;
    text-align: left;
    vertical-align: top;
}

.gridview td, table th {
    /*padding: 5px 8px; */
}

.gridview tfoot td {
    /*background-color: #EEEEEE;*/
}

.gridview tfoot td .page {
    color: #000000;
    font-weight: bold;
}

.gridview tr.subfoot, .gridview tr.subfoot td {
    background-color: #FFFFEC;
}

.gridview tr.selected {
    background-color: #6ccbfb;
}

.gridview tr:hover {
    background-color: #FFFFD7;
    color: #696969;
}

.gridview tr.selected:hover {
    background-color: #c1f2cb;
}

.xdsoft_datetimepicker .xdsoft_label {
    z-index: 99;
}

.fancybox-slide--iframe .fancybox-content {
    width: 700px!important;
    max-height: 1000px !important;
    max-width: 90%;
    margin: 0;
}

#pictooltip {
    position: absolute;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.25);
    border: 1px solid #337EB5;
    background-color: #fff;
    z-index: 1;
}
#pictooltip img {
    max-width: 500px;
    max-height: 500px;
    object-fit: contain;
}

/** multiselect dropdown */
#bs-select-1{
    padding-bottom: 20px;
}

.form-group .bootstrap-select .btn {
    padding-bottom: .375rem;
}
.form-group .bootstrap-select ul {
    background-color: transparent;
}
.bootstrap-select .dropdown-toggle .filter-option {
    overflow: visible;
}


/** Bildübersicht */

.imagelist .imageitem figure>a {
    display: block;
    position: relative;
    background-color: #eee;
    width: 100%;
    height: 0;
    padding: 0 0 100% 0;
    margin: 0;
}
    .imagelist .imageitem figure>a>img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .imagelist .imageitem figcontent {
        font-size: 10pt;
        line-height: 1.25em;
    }
@media (min-width: 576px) {
    .form-inline .custom-select, .form-inline .input-group {
        width: auto;
    }
    .form-inline .form-group {
        display: -ms-flexbox;
        display: flex;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -ms-flex-align: center;
        align-items: center;
        margin-bottom: 0;
    }
}