.toggle-buttons input[type="radio"] {visibility: hidden;}

.toggle-buttons label {border: 1px solid #333;	border-radius: 0.5em;	padding: 0.5em;}

.toggle-buttons input:checked + label {background: #ebf5d7; color: #5a9900;	box-shadow: none;}

input:hover + label, input:focus + label {background: #ffebe6; }

.together {position: relative;}

.together input {position: absolute; width: 1px; height: 1px;	top: 2;	left: 2;}

.together label {margin: 0.5em 0; border-radius: 0;}

.together label:first-of-type {border-radius: 0.5em 0 0 0.5em;}

.together label:last-of-type {border-radius: 0 0.5em 0.5em 0;}


/*-------------------------------------------------------------------*/

.l-radio {
  padding: 6px;
  border-radius: 50px;
  display: inline-flex;
  cursor: pointer;
  transition: background 0.2s ease;
  margin: 8px 0;
  -webkit-tap-highlight-color: transparent;
}
.l-radio:hover, .l-radio:focus-within {
  background: rgba(159, 159, 159, 0.1);
}
.l-radio input {
  vertical-align: middle;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: none;
  border: 0;
  box-shadow: inset 0 0 0 1px #9F9F9F;
  box-shadow: inset 0 0 0 1.5px #9F9F9F;
  appearance: none;
  padding: 0;
  margin: 0;
  transition: box-shadow 150ms cubic-bezier(0.95, 0.15, 0.5, 1.25);
  pointer-events: none;
}
.l-radio input:focus {
  outline: none;
}
.l-radio input:checked {
  box-shadow: inset 0 0 0 6px #000000;
}
.l-radio span {
  vertical-align: middle;
  display: inline-block;
  line-height: 20px;
  padding: 0 8px;
}


/*--------------------------------------------------------------------*/

*,
*:before,
*:after {
  box-sizing: border-box;
}

.toggle {
  cursor: pointer;
  display: inline-block;
}

.toggle-switch {
  display: inline-block;
  background: #ccc;
  border-radius: 16px;
  width: 58px;
  height: 32px;
  position: relative;
  vertical-align: middle;
  transition: background 0.25s;
}
.toggle-switch:before, .toggle-switch:after {
  content: "";
}
.toggle-switch:before {
  display: block;
  background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  width: 24px;
  height: 24px;
  position: absolute;
  top: 4px;
  left: 4px;
  transition: left 0.25s;
}
.toggle:hover .toggle-switch:before {
  background: linear-gradient(to bottom, #fff 0%, #fff 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.toggle-checkbox:checked + .toggle-switch {
  background: #000000;
}
.toggle-checkbox:checked + .toggle-switch:before {
  left: 30px;
}

.toggle-checkbox {
  position: absolute;
  visibility: hidden;
}

.toggle-label {
  margin-left: 5px;
  position: relative;
  top: 2px;
}

/*-slider-------------------------------------*/


.slider {
  background: #ccc;
  width: 340px;
  padding: 20px;
  padding-left: 1%;
  border-radius: 20px;
}

.slider input[type="range"] {
  width: 300px;
  height: 2px;
  background: black;
  border: none;
  outline: none;
} 



/*------------------------------------*/

.input[type=text] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.button {
  position: relative;
  display: block;
  width: 340px;
  height: 36px;
  border-radius: 22px;
  background-color: #000000;
  border: solid 1px transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  cursor: pointer;
  transition: all .1s ease-in-out;
  &:hover {
    background-color: #ccc;
    border-color: #fff;
    transition: all .1s ease-in-out;
  }
  
}


/*----------------------------------------------------*/
.tipp {
  /*background-color: #5a9900;*/
  border: 1px;
  text-align: left;
  width: 350px;
}



/*----------------------------------------------------*/

/*https://wiki.selfhtml.org/extensions/Selfhtml/frickl.php/Beispiel:Tabellen-5.html#view_result*/

table.auswertung {
	border-collapse: collapse;
	border-spacing: 0;
	border-width: thin 0 0 thin;
	margin: 0 0 1em;
	table-layout: auto;
	max-width: 100%;
}

/*
.fixed{
  position: absolute;
  background: #ccc;
}

.wrapper{
  overflow-x: scroll;
}
*/
/*
tbody tr:hover,
tfoot tr:hover {
	background-color: #cccc;
}
*/

tr:hover {
  background: #cccc !important;
}

/*
tr:hover { background: #cccc !important; }
tr:hover td { background: #cccc; }
*/
th,
td {
	font-weight: normal;
	/*text-align: left;*/
}

th,
caption {
	background-color: #f1f3f4;
	font-weight: 700;
}

th,
td,
caption {
	padding: .4em .6em;
}

caption {
	text-align: center;
	border-width: thin thin 0 thin;
}

table.finanz td {
	text-align: right;
}

table.finanz tr.result > * {
	border-top-width: medium;
}



/*----------------------------------------------*/


