#headerImage{
    background: url('../images/headerbild_Biogasanlage_Tag2_408_b_1920.jpg') no-repeat top center; height: 20vh; overflow: hidden;
    background-size: cover;
    position: relative;
}

#title{
    margin-left: 5%;
    font-size: 2em;
    text-shadow: 2px 2px 2px #666, -2px 2px 2px #777;
}

#logo{
    background: url('../images/terravis_logo.png') no-repeat top center;
    background-size: contain;
    width: 10%;
    height: 10vh;
    margin: 1vh 5%;
}
.testSystem{
    color: rgb(200,4,23);
}

.list-unstyled .dropdown{z-index: 1052 !important;}

#menu{
    background-color: #63b32b;
    height: 40px;
    width: 100%;
}

#menu nav{width: 60%; padding: 0}

nav {z-index: 500;}
nav hr{margin: 0.33rem 0;}
nav p{
    margin: 0;
    padding: 0.2rem 0.33rem;
}
#userLoginMenu{width: 39%;}

#userName a{
    display: flex;
    align-items: center;
    height: 39px;
    font-weight: bold; 
    color: #333333;
    text-shadow: 1px 1px 3px #afafaf, -1px 1px 3px #afafaf;
}

#user_form_gesperrt:checked{
    background-color: #dc3545;
    border-color: #dc3545;
}

.text-responsive {
    font-size: calc(100% + 1vw - 1vh);
    overflow: visible;
}

.headline{
    font-size: 0.85rem;
}

.headline.bottom{
    border-bottom: 1px solid #CBCBCB;
}

.description{
    color: #999;
    font-size: 0.8rem;
}

.text-shadow{
    text-shadow: 2px 2px 2px #999999, -2px 2px 1px #CCCCCC;
}

.border-bottom.border-grey{border-color: #ABABAB !important;}

.text-highlight{
    font-size: 0.8rem;
    font-weight: bold;
}

.text-80{
    font-size: 0.8rem;
}

.text-85{
    font-size: 0.85rem;
}

.text-90{
    font-size: 0.9rem;
}

.noPointer {
    cursor: default !important;
}

.pointer{
    cursor: pointer;
}

.list .row:nth-child(odd) {
    color: var(--light);
}

.list .row:nth-child(even) {
    color: var(--gray-light);
}

.list .row:hover{background-color: rgba(230,230,230,0.8);}



.modal-dialog .btn-secondary:hover{
    background-color: #dc3545;
}

#userList .row{
    align-items: center;
}

#stockOverview .btn.small-text{
    font-size: 0.8rem;
}


/*select.form-select { color: red; }*/
select::placeholder { color: red !important; }

#warenbestandsWrapper .accordion-button {
    background-color: #efefef;
    padding: 0.25rem 1.25rem;
}

#warenbestandsWrapper #balance .accordion-collapse .accordion-button.collapsed{
    border: 1px solid rgba(0, 0, 0, 0.125);
}

#warenbestandsWrapper #balance .accordion-collapse .accordion-button:not(.collapsed){
    color: #333333;
    border-width: 2px 2px 0 2px;
    border-color: #CCCCCC;
    border-style: inset;
}
#warenbestandsWrapper #balance .accordion-collapse .accordion-item{border: none;}
#warenbestandsWrapper #balance .accordion-button:focus{border-color: #333; box-shadow: none;}
#warenbestandsWrapper #balance .stock-positions-bottom{background-color: #fefefe;}
#warenbestandsWrapper i{display: inline-block; width: 16px;}



.lieferschein{
    border: solid #63b32b;
    border-radius: 4px 4px 0 0;
    border-width:  1px 1px 0 1px;
}

.lieferschein.collapsed{
    background-color: #FFFFFF;
    border-width:  0;
}

.lieferscheinView{
    border: solid #63b32b;
    border-width: 0 1px 1px 1px;
    border-radius: 0 0 4px 4px;
    padding: 1rem 1.25rem;
}

.lieferscheinDisplay {
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    box-shadow: 1px 2px 2px #999, -1px 2px 2px #aaa;
}


.stock-positions{
    border-width: 0 2px 2px 2px;
    border-color: #CCCCCC;
    border-style: inset;
    margin-bottom: 0.25rem;
}

.invisibleField{
    display: none;
}

.terraVis{
    font-style: italic;
    font-size: 0.8rem;
    color: #bb0000;
}

.selectIntervalRow{
    border: 1px solid #888888;
}
#furtherTimeIntervalSelections .selectIntervalRow{
    border-top: none;
}

.selectInterval{
    border-right: 1px solid #888888;
    padding-bottom: 2px;
    cursor: pointer;
}

.selectInterval:last-child{
    border-right: none;
}

.selectInterval.bg-primary{
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px #999, -1px 1px 2px #888888;
}

select,
select option {
    color: #000000;
}

select:invalid,
select option[value=""],
select option[value=" "]{
    color: #999999;
    user-select: none;
}

body{
    position: relative;
}

footer{
    background-color: #1a2e0c;
    position: relative;
}
footer a:active,
footer a:hover,
footer a:focus,
footer a{
    color: white;
}

#home {margin-top: 3rem;}

#home h1 {
    color: #63b32b;
    font-weight: 700;
    font-size: 2.5rem;
}
#home h2{
    color: #000000;
    font-size: 2rem;
    font-weight: 600;
}

#home .background-clouds {
    background-color: #efedec;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    margin-left: 2rem;
    border: 1px solid #e7e5e5;
    box-shadow: 1px 1px 4px #c7c6c6;

}

#home .background-clouds h2 {
    color: #63b32b;
    font-weight: 600;
    font-size: 2rem;

}

.ccm-settings-summoner{
    bottom: 12px !important;
}

.page h1,
.page h2,
.page h3{color: black; margin:10px 0 0 ; display:inline-block;}
.page h1{font-size: 2rem;}
.page h2{font-size: 1.5rem; font-weight: bold;}
.page h3{font-size: 1.25rem; font-weight: bold;}
.page ul,
.page li{display: inline-block;}
.page ul{margin: 5px 0}

.gasTransferDeliveryNoteToolbar{right: 50px; top: 0; width: 50px; z-index: 100;}
.deliveryNoteData{background-color: #EFEFEF; border: 3px inset #666; box-shadow: 1px 1px 2px #666;}
.text-processing-plant{color: #0d6efd !important;}
.text-sustainable{color: #080 !important;}
.text-unsustainable{color: #A33 !important;}

#substratRowTemplate .code:hover,
#deliveryNotePositions .substrat:hover,
#deliveryNotePositions .deliveryNumber:hover,
#deliveryNotePositions .maStRNr:hover{ background-color: #DDFFDD;}

.insetFrame {
    border-width: 0 2px 2px;
    border-style: outset;
    border-color: #CCCCCC;
}

#invalidUsedBhkws{
    border: 2px inset #ccc;
    border-radius: 8px;
    background-color: #fefefe;
}

.substratOrCategoryNameCell{
    width: 20%;
}

.substratOrCategoryName{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

hr.h-2{height: 2px;}
hr.h-3{height: 3px;}
hr.h-4{height: 4px;}
hr.h-5{height: 5px;}

.colInfoRight .bi{right: -10px}
.bi-info-circle.position-absolute{ z-index: 100;}

.bi-check-lg,
.bi-x-lg{
    -webkit-text-stroke: 2px;
}

.row.hover:hover{
    background-color: #F6F6F6;
}

.border-top-gasDistribution{border-top: 1px solid #6666FF;}

Element {
    border-top: 1px solid #6666FF;

}
.table-mb thead th {
    border: none;
    border-right-width: medium;
    border-right-style: none;
    border-right-color: currentcolor;

}
.fs-0{font-size: 2rem;}

.h5, .headline, .table-mb thead th, h5 {
    color: rgba(0,0,0,.5);
}
.h3, .h4, .h5, .headline, .table-mb thead th, h3, h4, h5 {
    font-size: 1rem;
}
.h1, .h2, .h3, .h4, .h5, .h6, .headline, .table-mb thead th, h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: .5rem;
    margin-top: 0;
}
.table-mb th {
    text-align: center;
    vertical-align: top;
}
.table-sm > :not(caption) > * > * {
    padding: .25rem;

}
.table > :not(caption) > * > * {
    background-color: var(--bs-table-bg);
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
    padding: .5rem;
}
.border-top.border-top-gasDistribution{border-top: 1px solid #6666FF !important;}
.border-end.border-end-gasDistribution{border-right: 1px solid #6666FF !important; }
.border-bottom.border-bottom-gasDistribution{border-top: 1px solid #6666FF !important;}

#gasDistributionOverview .left-side{
    min-width: 361px;
    max-width: 361px;
}
#gasDistributionOverview .scroll-area{
    width: 100px;
    overflow: hidden;
}
#gasDistributionOverview .right-side{
    width: 136px;
    overflow: hidden;
}

#gasDistributionOverview .scroll-item{
    min-width: 200px;
    max-width: 200px;
}
#gasDistributionOverview .row{
    min-height: 24px;
}

#gasDistributionOverview .title{
    height: 48px;
    max-height: 50px;
    align-items: center;
}
#gasDistributionOverview .scrollPane{
    height: 14px;
}

#gasDistributionOverview input{
    background-color: #DDDDDD;
    border: 1px inset #AAAAAA;
    margin-top: 1px;
    padding: 0 4px 0 0;
    text-align: right;
}

#gasDistributionOverview .summary{
    background-color: #555555;
    color: #CCCCCC;
    font-weight: bold;
}

#gasDistributionOverview .highlight{
    background-color: #FEFEFE;

}

.shadowWhite{
    text-shadow: 1px 1px 2px #CCCCCC;
}

.bg-changed{
    background-color: rgb(255, 140, 140);
}

::-webkit-scrollbar {
    height: 8px;
    width: 8px;
    background: #CCCCCC;
}
::-webkit-scrollbar-thumb {
    background: #393812;
    -webkit-border-radius: 1.2ex;

}

.scrollable {
    max-width: 200px;
    max-height: 100%;

    height: 450px;
    /* change ` overflow: scroll ` to ` overflow: auto ` if you only want vertical scroll */
    overflow: scroll;
}

#thgBalanceOverview .left-side{
     max-width: 440px;
 }
#thgBalanceOverview .row.title{ height: 49px;}
#thgBalanceOverview .dataRow{ height: 33px;}
#thgBalanceOverview input {
    border: 1px inset #AAAAAA;
    padding: 1px 4px 1px 0;
    text-align: right;
}
.copyButton{margin: -3px 5px 0 0;}

#thgBalanceOverview #dataWrapper .col{ min-width: 70px; max-width: 180px}

#lieferscheineNachLeistungsArten .accordion-item:not(:first-of-type){border-top: 1px solid rgba(0, 0, 0, 0.125);}

#substratList .sticky-top{
    border-bottom: 1px solid #666666;
    box-shadow: 0 1px 1px #CCCCCC;
}


@media (min-width: 1400px) {
    .d-xxl-none {
        display: none !important;
    }
    .d-xxl-inline {
        display: inline !important;
    }
    .d-xxl-inline-block {
        display: inline-block !important;
    }
    .d-xxl-block {
        display: block !important;
    }
    .d-xxl-table {
        display: table !important;
    }
    .d-xxl-table-row {
        display: table-row !important;
    }
    .d-xxl-table-cell {
        display: table-cell !important;
    }
    .d-xxl-flex {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }
    .d-xxl-inline-flex {
        display: -ms-inline-flexbox !important;
        display: inline-flex !important;
    }
}

@media (min-width: 1600px) {
    .d-xxxl-none {
        display: none !important;
    }
    .d-xxxl-inline {
        display: inline !important;
    }
    .d-xxxl-inline-block {
        display: inline-block !important;
    }
    .d-xxxl-block {
        display: block !important;
    }
    .d-xxxl-table {
        display: table !important;
    }
    .d-xxxl-table-row {
        display: table-row !important;
    }
    .d-xxxl-table-cell {
        display: table-cell !important;
    }
    .d-xxxl-flex {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }
    .d-xxxl-inline-flex {
        display: -ms-inline-flexbox !important;
        display: inline-flex !important;
    }
}