/***********
* Allgemeines
************/

.standardcell{padding:1px 2px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:#ccc;}
.switchbutton{font-weight:bold;}
.allpagebackground{background-color: #F3F3F6; padding: 0px 1rem 0px 1rem; min-height: 100vh}
.cursor-pointer{  cursor: pointer; }

/***********************************************
* Styles aus dem Analyse - Jinja Template
*************************************************/

/*#analysentable{border-style:solid;border-width:1px;} Analysen Übersichtsliste*/

.tg  {border-collapse:collapse;border-spacing:0;border-color:#ccc;}
.tg td{font-size: .875rem;padding:1px 2px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:#ccc;color:#666666;
    /*background-color:#fff;*/
}
.tg th{font-size:12px;padding:1px 2px;border-style:solid;border-width: 0px 1px 1px 1px;overflow:hidden;word-break:normal;border-color:#ccc;color:#666666;background-color:#f0f0f0;
        /* Fixierung der Tabellenkoepfe beim Scrollen */
        position: -webkit-sticky;
        position: sticky;
        top: 0px;
        z-index: 2;
}

/*Safebutton Popup*/
.popover{
    max-width: 100%; /* Max Width of the popover (depending on the container!) */
}
.safebuttonclass{color: orange; white-space: nowrap; margin:0px 0px 0px 20px;
}

.world_container{margin:0px 0px 10px 0px;background-color:#F2F2F2; padding:10px 10px 10px 10px;}
.rationsabschnitt{background-color:#FAFAFA; margin:5px 5px 10px 5px;border-style:solid; border-width: 1px 0px 1px 0px;border-color:rgb(182, 185, 189);}

#analysekopf{padding:10px 10px 10px 10px; font-size:14px;overflow: hidden; }

.kopfformtable{border-radius: 12px; min-width: 365px; float:left; min-height: 400px; background-color:#F0F0F0; margin: 5px; border-style:solid;border-width:1px; border-color:rgb(182, 185, 189)}
table.kopfformtable td{padding: 2px 10px 2px 10px;}
.kopfformth{background-color:rgb(206, 210, 215); font-weight:bold; padding:5px;}
#beratungskommentar{height: 130px;}

.kopfformtable_basis{min-width: 230px; float:left; min-height: 400px; background-color:#F0F0F0; margin: 5px; border-style:solid;border-width:1px; border-color:rgb(182, 185, 189)}
table.kopfformtable_basis td{padding: 2px 10px 2px 10px;}
.kopfformth_basis{background-color:rgb(206, 210, 215); font-weight:bold; padding:5px; height: 32px}

.kopfformtable_napf{border-radius: 12px; min-width: 325px; float:left; min-height: 6em; background-color:#F0F0F0; margin: 5px; border-style:solid;border-width:1px; border-color:rgb(182, 185, 189)}
table.kopfformtable_napf td{padding: 2px 10px 2px 10px;}

.kopfformtable_barf{min-width: 300px; float:left; min-height: 300px; background-color:#F0F0F0; margin: 5px; border-style:solid;border-width:1px; border-color:rgb(182, 185, 189)}
table.kopfformtable_barf td{padding: 2px 10px 2px 10px;}

.kopfinfoitem {padding:1px 20px 1px 20px; border-style:solid; border-width: 1px;font-size:12px; font-weight:normal }
#kalkuliertekopfdatendiv{min-height:35px;padding:2px;background-color:rgb(206, 210, 215);}
.titelzeile{float:left; font-weight:bold;}
.titelinfoboxdiv{font-size:.875rem;float:left; background-color:#e9e9e9; padding:4px; border-radius:.25rem;}
#futteranlegenbutton{padding:3px;float:left;}

.analyseformdiv{float:left;display: flex; flex-wrap: wrap; width:100%;}
#generaloptionsdiv{float:right;}
#faktorenswitch{}
.indifaktorenswitchlabel{font-size:12px; font-weight:normal;}

.tablecontainer{ width:100%;} /* overflow: auto;  muss entfernt werden für Funktion der
y css fue fixierung der table header. geht sonst nicht https://www.designcise.com/web/tutorial/how-to-fix-issues-with-css-position-sticky-not-working*/
.datagridtable{
    table-layout:fixed;
    width: 100%;
    overflow-x: auto;
    min-width:1200px;
}

#buttonleiste{width:100%;padding:10px 3px; border-style:solid;border-width: 1px 0px 1px 0px;border-color:#ddd;margin-bottom:1px}
td.korrekturenkopf {padding:1px 2px;font-weight: bold;background-color:#FFFAFA; border-width: 1px 0px 1px 0px;}
.addbutton{width:100%;font-size:12px;}
.delbuttons{width:100%;font-size:12px;}
th.actionth{width:30px; border-width: 0px 0px 1px 0px;}
th.beschreibungth{width:200px;border-width: 0px 0px 1px 0px; font-size: .875rem}
th.mengeth{width: 70px;border-width: 0px 0px 1px 1px;}

.inhaltskopf{width:auto;
      font-weight: bold;
    /*-webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);*/

}
.indidatafield{width:autopx;}

th.noborder{border-style:none;border-width:0px}
td.noborder{border-style:none;border-width:0px}

.new::after {
   background:url(/static/icons/neu.png);
   background-size: 30px 30px;
   display: inline-block;
   width: 30px;
   height: 30px;
   margin-left: 8px;
   margin-bottom: -8px;
   content: "";
}​

input.mengetd{width:100%; padding:.15rem .25rem;}

 input.barf_percent_input{float: left; width: 55px}

td.summenwert{}
td.summenzeile{font-size:12px;background-color:#727F8C;color:white;}
td.summennormiertzeile{font-size:12px;background-color:#727F8C;color:white;}
td.ergaenzungzeile{font-size:12px;background-color:#3E464D;color:white;}
td.ergaenzungnormiertzeile{font-size:12px;background-color:#3E464D;color:white;}
td.ratplusergzeile{font-size:12px;background-color:#A6B9CC;color:white;}
td.sollzeile{font-size:12px;background-color:#A6B9CC;color:white;}
td.uberunterzeile{font-size:12px;background-color:#A6B9CC;color:white;}
td.bdeckungzeile{font-size:12px;background-color:#343A40;color:white;white-space: nowrap;}
.deckungswert{display: inline-block; }


.futtermittelwahl{background-color:#ffffF4;}
.select2-results__options{
    font-size: .875rem;
    background-color: aliceblue;}
.select2-search {
    font-size: .875rem;
    background-color: orange;}
/*.select2-results { font-size: .875rem; background-color:#ffffF4; }*/

/*input.select2-search__field {*/
/*    font-size: .875rem;*/
/*    width: max-content !important;*/
/*    background-color: transparent;}*/

/*li.select2-search.select2-search--inline {*/
/*    background-color: transparent;*/
/*}*/

.select2-container--default .select2-results>.select2-results__options {
    border: solid darkslategrey !important;
    max-height: 500px !important;
    width: max-content !important;
    overflow-y: auto !important;
}

.select2-container--default .select2-results__group {
    cursor: default !important;
    display: block !important;
    padding: 6px !important;
    text-align: center !important;
    background: skyblue !important;
}

/* Formatierung für Wachstum Select2 der Analysen. hier nur eine Klasse */
.select2-results__group {
    cursor: default !important;
    display: block !important;
    padding: 6px !important;
    text-align: center !important;
    background: skyblue !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #ffc107 !important;
    color: #000000 !important;
}

.select2-dropdown {
    margin-left: 200px; /*your input height*/
    margin-top: -33px;
}

span.select2-selection--single[aria-expanded=true] {
    border-left: solid orange 15px;
    border-right: solid orange 5px;
    /*border-bottom: solid skyblue 5px;*/
    /*border-top: solid skyblue 5px;*/
}

.select2-selection__choice {
    color: #bf6b0b;
    /*border-bottom: solid skyblue 5px;*/
    /*border-top: solid skyblue 5px;*/
}

.toggle-handle { border-radius: 5px;  background:#BBBBBB;}

.btn-buttonson{background-color: rgb(52 58 64); color: rgb(255 165 0); }
.btn-buttonsoff{background-color:#FFFFFF; box-shadow: inset 0 3px 5px rgba(0,0,0,.125);}
.toggle.general{background-color:#111111;}
.toggle.buttonson{background-color:#111111;}
.toggle.buttonoff{box-shadow: inset 0 3px 5px rgba(0,0,0,.125);}
#chartdiv{max-height: 550px; height:550px; margin-bottom: 40px}

/**********************
* Style für den CSS Slider https://www.w3schools.com/howto/howto_css_switch.asp
**********************/
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
  margin:3px;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider_switch {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fafafa;
  transition: .4s;
}

.slider_switch:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: orange;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider_switch {
  background-color: #343A40;
}

input:focus + .slider_switch {
  box-shadow: 0 0 1px #343A40;
}

input:checked + .slider_switch:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

input:checked + .slider_switch_autoSave:before {
  -webkit-transform: translateX(27px);
  -ms-transform: translateX(27px);
  transform: translateX(27px);
}

input:checked + .slider_switch_autoSave {
  background-color: #7ce004;
}

/* Rounded sliders */
.slider_switch.round {
  border-radius: 17px;
}

.slider_switch.round:before {
  border-radius: 50%;
}
/*------ ADDED CSS for text Elements on/off---------*/
/* https://stackoverflow.com/questions/39846282/how-to-add-the-text-on-and-off-to-toggle-button */
.slider_switch_autoSave:after
{
 content:'Off';
 color: #343a40;
 display: block;
 position: absolute;
 transform: translate(-50%,-50%);
 top: 50%;
 left: 60%;
 font-size: 10px;
 font-family: Verdana, sans-serif;
}

input:checked + .slider_switch_autoSave:after
{
  content:'On';
  left: 35%;
  color: #343a40;
    font-size: 12px;
}

/*--------- END --------*/

/* Nummersauswahl für Chart Y-Achsenskalierung*/

.number-style input{

    display: inline-block;
    width: 30px;
    vertical-align: middle;
    text-align: center;
    border: none;
    font-size: 15px;
    color: #000000;

}

.number-style span{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
}

.number-style span.number-minus{
    border: 2px solid #fe0021;
}

.number-style span.number-minus::after{

    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -1px 0 0 -5px;
    width: 10px;
    height: 2px;
    background-color: #fe0021;
}

.number-style span.number-plus{
    border: 2px solid #00fe02;
}

.number-style span.number-plus::after{

    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -1px 0 0 -5px;
    width: 10px;
    height: 2px;
    background-color: #00fe02;
}

.number-style span.number-plus::before{

    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -5px 0 0 -1px;
    width: 2px;
    height: 10px;
    background-color: #00fe02;
}

.number-style span.disabled{
    border: 2px solid #a4a3a0;
}

.number-style span.disabled::after,
.number-style span.disabled::before{

    background-color: #a4a3a0;

}

.number-style input[type='number'] {
    -moz-appearance:textfield;
}

.number-style input::-webkit-outer-spin-button,
.number-style input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}



.cc-selector input{
    margin:6px; padding:1px;
    -webkit-appearance:none;
       -moz-appearance:none;
            appearance:none;
}

/* CSS für Tierauswahl in Analyse */
.dog{background-image:url(/static/icons/dog.png); margin-top: 10px}
.cat{background-image:url(/static/icons/cat.png); margin-top: 10px}

.drinkcard-cc, .cc-selector input:checked +.drinkcard-cc{
    -webkit-filter: none;
       -moz-filter: none;
            filter: none;
}
.drinkcard-cc{
    cursor:pointer;
    background-size:contain;
    background-repeat:no-repeat;
    display:inline-block;
    width:80px;height:70px;
    -webkit-transition: all 100ms ease-in;
       -moz-transition: all 100ms ease-in;
            transition: all 100ms ease-in;
    -webkit-filter: brightness(1.8) grayscale(1) opacity(.7);
       -moz-filter: brightness(1.8) grayscale(1) opacity(.7);
            filter: brightness(1.8) grayscale(1) opacity(.7);
}
.drinkcard-cc:hover{
    -webkit-filter: brightness(1.2) grayscale(.5) opacity(.9);
       -moz-filter: brightness(1.2) grayscale(.5) opacity(.9);
            filter: brightness(1.2) grayscale(.5) opacity(.9);
}

/* generelle Tooltip Formatierung */
.tooltip.show {
    opacity: 0.7;
}

.disabled{
    cursor: no-drop;
}

/* Slider für Wertauswahl */

.range_slider {
    -webkit-appearance: none;
    width: 100%;
    height:10px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.range_slider:hover {
    opacity: 1;
}

.range_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
}

.range_slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
}

/* Styles für die Dashboard Colors */

.bg-custom-grey {
    background: #aaa38e
}
.border-custom-grey {
    border-color: #aaa38e;
}
.text-custom-grey {
    color: #aaa38e;
}

.bg-custom-yellow {
    background: #fecb00;
}
.border-custom-yellow {
    border-color: #fecb00;
}
.text-custom-yellow {
    color: #fecb00;
}

.bg-custom-blue {
    background: #92a2bd;
}
.border-custom-blue {
    border-color: #92a2bd;
}
.text-custom-blue {
    color: #92a2bd;
}

.bg-custom-dgrey {
    background: #444444;
}
.border-custom-dgrey {
    border-color: #444444;
}
.text-custom-dgrey {
    color: #444444;
}

.bg-custom-green {
    background: #a2ad00;
}
.border-custom-green {
    border-color: #a2ad00;
}
.text-custom-green {
    color: #a2ad00;
}

.bg-warning-light {
    background: rgba(162, 173, 0, 0.33);
}

.bg-warning-light2 {
    background: rgb(255, 243, 173);
}

.bg-light-red {
    background: #c44646;
}

.border-light-red {
    border-color: #c44646;
}

.text-custom-lightred {
    color: #c44646;
}

img.disabled
{
    opacity:0.4;
}

.card-footer {
    height: 3rem; /* Set a fixed height (adjust as needed) */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.image-with-shadow-and-rounded-corners {
  box-shadow: 5px 5px 10px #888888;
  border-radius: 10px; /* Adjust the value to control the roundness */
}


/**********************
* Style Dropdownmenues um Bootstrap Formatierung zu überschreiben
**********************/

.dropdown-menu {
    background-color: rgba(52, 58, 64, 0.85);
}

.hover-custom > a:hover {
    background-color: rgba(52, 58, 64);
    color: white;
}

.dropdown-menu > a {
		color: white;
}

.hover-custom-grey:hover {
		background: #aaa38e
}

.hover-custom-yellow:hover {
		background: #fecb00;
}

.hover-custom-blue:hover {
		background: #92a2bd;
}

.hover-custom-dgrey:hover {
		background: #444444;
        color: white;
}

.hover-custom-green:hover {
		background: #a2ad00;
        color: white;
}

/* Custom color outline buttons */
.btn-outline-custom-grey {
    color: #aaa38e;
    border: 1px solid #aaa38e;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

.btn-outline-custom-grey:hover {
    background-color: #aaa38e;
    color: white;
}

.btn-outline-custom-yellow {
    color: #fecb00;
    border: 1px solid #fecb00;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

.btn-outline-custom-yellow:hover {
    background-color: #fecb00;
    color: white;
}

.btn-outline-custom-blue {
    color: #92a2bd;
    border: 1px solid #92a2bd;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

.btn-outline-custom-blue:hover {
    background-color: #92a2bd;
    color: white;
}

.btn-outline-custom-dgrey {
    color: #444444;
    border: 1px solid #444444;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

.btn-outline-custom-dgrey:hover {
    background-color: #444444;
    color: white;
}

.btn-outline-custom-green {
    color: #a2ad00;
    border: 1px solid #a2ad00;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

.btn-outline-custom-green:hover {
    background-color: #a2ad00;
    color: white;
}

.btn-outline-custom-red {
    color: #c44646;
    border: 1px solid #c44646;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

.btn-outline-custom-red:hover {
    background-color: #c44646;
    color: white;
}

/**********************
* Style Rating Stars, https://github.com/auxiliary/rater
**********************/
.rate-base-layer
{
    color: #aaa;
}
.rate-hover-layer
{
    color: orange;
}
.rate .rate-select-layer
{
    color: orange
}
/**********************
* Blinker Text, z.B für Angebotskunden in user.html, https://stackoverflow.com/questions/16344354/how-to-make-blinking-flashing-text-with-css-3
**********************/
.blink_me {
  animation: blinker 1500ms step-start infinite;
}
@keyframes blinker {
  50% {
    opacity: 0;
  }
}

/* drag container (contains two tables) */
/*

Darko Bunic
http://www.redips.net/
Apr, 2013.

*/

/* drag container*/
#redips-drag {
	/*border: 2px dashed LightBlue;*/
	/*width: 1100px;*/
	margin: auto;
}
		/* left container */
		#redips-drag #left {
            overflow: auto;
			/*float: left;*/
			/*width: 50px;*/
		}
		/* right container */
		#redips-drag #right {
            overflow: auto;
		  	/*display: table;*/
		    /*table-layout: auto;*/
			/* align div to the right */
			/*margin-left: auto;*/

		}


/* DIV object */
.redips-drag {
	/*margin: auto;*/
	text-align: left;
	width: 200px;
	line-height: 18px;
	background-color: white;
	font-size: 10pt; /* needed for cloned object */
	/* round corners */
	border-radius: 4px; /* Opera, Chrome */
	-moz-border-radius: 4px; /* FF */
    margin-top: 5px;
	margin-bottom: 5px;
    margin-left: auto;
}

/* tables */
div#redips-drag table {
	background-color: #eee;
	border-collapse: collapse;
	margin: 5px;
}
	/* table cells */
	div#redips-drag td {
		border: 1px solid #bfbfbf;
		text-align: center;
		font-size: 10pt;
		padding: 2px;
	}
	table#table1 td {
		height: 40px;
	}
	table#table2 td.first_column {
        border-bottom: 2px solid #1D658E;
		height: 120px;
        min-width: 100px;
        font-size: 18px;
	}
	table#table2 td.columns {
        border-bottom: 2px solid #1D658E;
        height: 120px;
        min-width: 160px;
	}

/*td.redips-single:hover {*/
/*    !*background-color: orange;*!*/
/*    outline: 3px solid orange;*/
/*    opacity: 90%;*/
/*}*/

.bordered_cell {
    outline: 3px solid #4682b4;
    opacity: 90%;
}
.selected_cell {
    background-color: #4682b4;
    color: black;
    /*outline: 3px solid orange;*/
    opacity: 70%;

}

/* Color code für eigene FM */
.selected_row {
    background-color: #a2ad00 !important;
    cursor: pointer;
    /*outline: 3px solid orange;*/

}

/* Color code für custom FM */
.selected_row_customFM {
    background-color: rgba(129, 176, 241, 0.73) !important;
    cursor: pointer;
    /*outline: 3px solid orange;*/

}

.bg-success-light {
    background: #5abf5b;
}

/* green, orange and blue DIV elements */
.green {
	border: 2px solid #499B33;
    padding-left: 5px;
}
.orange {
	border: 2px solid orange;
    padding-left: 5px;
}
.blue {
	border: 2px solid SteelBlue;
    /*background: SteelBlue;*/
    padding-left: 5px;
}

.grey {
	border: 2px solid grey;
    /*background: SteelBlue;*/
}

.red {
	border: 2px solid #e70505;
    /*background: SteelBlue;*/
}

.black {
	border: 2px solid black;
    /*background: SteelBlue;*/
}

/* message below tables */
#message {
	padding-left: 10px;
	color: #6A93D4;
	height: 100px;
	padding-top: 20px;
}

/* single content cells (with clone objects on the left) */
.redips-single {
	/*background-color: #e0e0e0;*/
}

/* trash cell */
.redips-trash {
	color: white;
	background-color: SteelBlue;
	height: 26px;
}

.btn-group.special {
  display: flex;
}

.special .btn {
  flex: 1
}

.btn-outline-light:hover {
    color: black;
}

@media print{
   .noprint{
       display:none;
   }
}
@media print{
    @page {
        size: landscape;
        margin: 1cm;
    }
    body {
        margin: 0;
    }
}

/*input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {*/
/*    -webkit-appearance: none !important;*/
/*    margin: 0 !important;*/
/*}*/

/*input[type="number"] {*/
/*    -moz-appearance: textfield !important;*/
/*}*/

.no_spin_buttons::-webkit-outer-spin-button, .no_spin_buttons::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.no_spin_buttons {
    -moz-appearance: textfield !important;
}

@keyframes fa-blink {
     0% { opacity: 1; }
     50% { opacity: 0.5; }
     100% { opacity: 0; }
 }
.fa-blink {
   -webkit-animation: fa-blink .75s linear infinite;
   -moz-animation: fa-blink .75s linear infinite;
   -ms-animation: fa-blink .75s linear infinite;
   -o-animation: fa-blink .75s linear infinite;
   animation: fa-blink .75s linear infinite;
}

.popover-header{
    background: rgba(52, 58, 64, 0.1);
}
.popover-body{
    background: rgba(112, 196, 255, 0.1);
}

/*custom cursor*/
.cursor_up { cursor: url(/static/icons/up.png) 15 30, crosshair }

#map {
  height: 100%;
}

.custom_formfield_error { border: 1px solid #ff0000 }

@media (min-width: 768px) {
  .modal-xl {
    width: 90%;
   max-width:1200px;
  }
}

.napfplan_input_wochentage {
    border: 1px solid #4682b4;
    margin-top: 15px;
    width: 80%;
    margin-left: 17px;
}

.bg_gradient {
background: #304352;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #d7d2cc, #304352);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #d7d2cc, #304352); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

.bg_gradient_blue {
   background: rgb(0,35,36);
   background: radial-gradient(circle, rgba(223,240,236,0.20211834733893552) 0%, rgba(51,141,167,0.13769257703081228) 64%, rgba(0,202,255,0.06206232492997199) 100%);
}


/* css für Modal popups der ChartsJS Grafiken (Vergrößerungsfunktion) */
#modalBackground, #modal, #modal2 {
    display: none;
    position: fixed;
}

#modalBackground {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
    z-index: 1;
}

#modal, #modal2{
    width: 80%;
    top: 10%;
    border: #343a40 solid;
    left: 10%;
    background: #f0f0f0;
    z-index: 2;
}

.ignore-css
{
    all:unset;
}

#slider12c .slider-selection {
	background: #343a40;
}
#slider12c .slider-handle {
    height: 20px;
	background: orange;
}

#slider_barf_major_css {
    min-height: 330px;
    margin-top: 20px;
    margin-bottom: 15px;
}

#slider_barf_major_css .slider-track-high {
	background: rgb(252, 193, 116, 0.7);
}

#slider_barf_major_css .slider-selection {
	background: rgb(161, 182, 126, 0.7);
}

#slider_barf_major_css .slider-tick  {
	background: rgb(252, 193, 116, 1)!important;
}

#slider_barf_major_css .min-slider-handle {
	background: rgb(252, 193, 116, 1);
}

#slider_barf_major_css .slider-tick.round.in-selection {
	background: rgb(161, 182, 126, 1)!important;
}

.kopfformth_barf_p{background-color:rgb(161, 182, 126, 1); font-weight:bold; padding:5px;}
.kopfformth_barf_t{background-color:rgb(252, 193, 116, 1); font-weight:bold; padding:5px;}
/*.container {*/
/*    height: 100vh*/
/*}*/

#slider_verteilung_pflanzlich_css .slider-track-high, #slider_verteilung_pflanzlich_css .slider-track-low, #slider_verteilung_pflanzlich_css .slider-selection, tr.barf_gemüse_tr:hover, .bg-barf-pflanzlich-light {
	background: rgb(161, 182, 126, 0.7);
}

#slider_verteilung_pflanzlich_css .min-slider-handle, #slider_verteilung_pflanzlich_css .max-slider-handle  {
	background: rgb(100, 119, 67) !important;
}

#slider_verteilung_tierisch .slider-track-high, #slider_verteilung_tierisch .slider-track-low, #slider_verteilung_tierisch .slider-selection, tr.barf_fleisch_tr:hover, .bg-barf-tierisch-light {
	background: rgb(252, 193, 116, 0.7);
}

#slider_verteilung_tierisch .min-slider-handle, #slider_verteilung_tierisch .max-slider-handle  {
	background: rgb(217, 143, 51) !important;
}

tr.barf_gemüse_tr {
    line-height: 1em;
}

tr.barf_fleisch_tr {
    line-height: 2rem;
}

div.barf_allgemein_bg:hover, .bg-barf-allgemein-light {
    background: rgba(80, 206, 245, 0.7);
}

/* Formatierungen für Affiliate Step Progress Bar */
.progresses {
    display: flex;
    align-items: center
}

.line {
    width: 50px;
    height: 6px;
}

.steps {
    display: flex;
    color: #fff;
    font-size: 14px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%
}

/* Bildzentrierung für Thumbnails */
/* Quelle: https://jonathannicol.com/blog/2014/06/16/centre-crop-thumbnails-with-css/ */

.thumbnail {
  position: relative;
  width: 200px;
  height: 250px;
  overflow: hidden;
}
.thumbnail img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}
.thumbnail img.portrait {
  width: 100%;
  height: auto;
}

/* Lade Icon für Background Processing bis Response kommt, lange Transaktionen wie BLS Migrations. */

div#loading {
  border: 16px solid #797878;
  border-radius: 50%;
  border-top: 16px solid #45db34;
  width: 120px;
  height: 120px;
  display: none;
  margin: auto;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Ende Lade Icon */

.my-sidebar {
    -ms-flex: 0 0 260px;
    flex: 0 0 260px;
}

.margin_for_icons {
    margin: 0 5px 0 5px;
}

.blink-one {
 animation: blinker-one 2s linear infinite;
}
@keyframes blinker-one {
 0% { opacity: 0; }
}

.invert_100 {
    filter: invert(100);
}

/* Start für Flex Boxen der neuen Navigation in der Analyse */
/* Quelle: https://jsfiddle.net/qpn614eo/27/ */
 article.how-accordion {
    display: flex;
    width: 100%;
    margin: 0 auto;
    background-image: linear-gradient(#b1ad9f, #ccd0d6);
    overflow: auto;
    text-indent: 1em;
  }

  article.how-accordion section {
    position: relative;
    display: block;
    float: left;
    /*height: 12em;*/
    color: transparent;
    background-color: transparent;
    overflow: hidden;
    border-radius: 10px;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 5%;
    border-right: 5px solid #f8f8f9; /* Add a right border in grey */
  }


  article.how-accordion section:last-child {
    border-right: none; /* Remove right border from the last section */
  }

  article.how-accordion section h1 {
    position: relative;
    font-size: 1.8em;
    font-weight: bold;
    /*width: 12em;*/
    height: 2em;
    left: 0;
    text-indent: 0.3em;
    padding: 0.3em;
    margin: 0;
    color: #ddd;
  }

article.how-accordion section h1 a {
  display: block;
  /*width: calc(100% - 1em);*/
  line-height: 1em;
  text-decoration: none;
  color: #f3f0f0;
  outline: 0 none;
}

article.how-accordion section h1 a:hover {
    color: #343a40;
}

.initial {
  color: black;
}

article.how-accordion section:target .initial {
  display: none;
}

/* Adjust initial content visibility */
article.how-accordion section .initial {
  /*display: block;*/
  padding: 0 0.5em 0 1.3em;
  font-size: 1.3em;
  text-indent: 0em;
}

/* Adjust table content visibility */
article.how-accordion section:target .initial {
  display: none;
}

article.how-accordion table.kopfformtable, article.how-accordion div.display_none, article.how-accordion div.display_astable {
  display: none;
}

article.how-accordion section:target table.kopfformtable, article.how-accordion section:target div.display_astable {
  display: table; /* Change the display back to table */
}

article.how-accordion section:target div.display_none {
  display: flex;
}

.closedown {
  position: absolute; /* Positionieren Sie den Link absolut */
  top: 0em; /* Positionieren Sie den Link oben */
  right: 1em; /* Positionieren Sie den Link rechts */
  color: transparent;
}

.closedown span {
  display: inline-block;
  margin-left: 5px;
  font-size: 3em;
}

article.how-accordion section:target .closedown {
  color:#ffffff;
}

article.how-accordion section:target {
  /* width: 90%; */
  padding: 1em 1em;
  color: #333030;
  background-image:
    linear-gradient(hsl(45, 13%, 70%) 0%, hsla(215,30%,70%,0) 50%, hsl(47, 11%, 66%) 100%),
    linear-gradient(to right, hsl(45, 13%, 70%) 30%, white 50%, hsl(45, 13%, 70%) 70%);
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
}

article.how-accordion section:target h1 {
  /*position: static;*/
  font-size: 2.3em;
  text-indent: 0;
  color: transparent;
}

article.how-accordion section,
article.how-accordion section h1 {
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

/* Ende der neuen Flexboxen in der analyse */
.list-group-item-small-padding {
    padding: 3px;
}

/* KPI Card Styles für Analyse Kennzahlen wie PEQ, CaP etc */
.kpi-card {
  /* Basis-Styles beibehalten */
  display: inline-block;
  text-align: center;

  /* HINTERGRUND & RAHMEN */
  background: #FaFaFa; /* Leichtes, helles Weiß */
  border: 1px solid #e0e0e0; /* Weicherer, hellerer Rahmen */

  border-radius: 12px;
  padding: 10px 10px;
  min-width: 80px;
  margin: 4px;

  /* SCHATTEN */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Tieferer, weicherer Schatten */

  transition: all 0.2s ease-in-out, box-shadow 0.2s ease;
  cursor: help;
}

.kpi-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); /* Hover: Schatten wird noch stärker */
  transform: translateY(-2px);
}
.kpi-lamp {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-bottom: 6px;
}

.kpi-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #555;
  margin-top: -5px;
  gap: 10px;
}

.kpi-value {
  font-size: 1.2rem;
  font-weight: bold;
  color: #222;
  line-height: 1.3;
}
.kpi-range {
  font-size: 0.8rem;
  color: #777;
}

.epa-dha-container {
  display: flex;
  align-items: center; /* vertikal zentriert */
  width: 100%;
}

.epa-dha-left {
  flex: 0 0 15%;
  text-align: center;
  font-size: 1.3rem;
}

.epa-dha-right {
  flex: 1;
  padding-left: 8px;
}

#epa_dha_span {
  font-size: 0.75rem;
  text-align: center;
  margin-bottom: 4px;
}

.progress {
  height: 10px;
  border-radius: 6px;
  overflow: hidden;
}
