@charset "UTF-8";
/* CSS Document */

    h1 {
      font-family: sans-serif;
      font-size: 25px;
    }
	
	.select-wrapper {
 	 position: relative;
	  width: 205px;
	}
	.select-wrapper::before {
	  color: #000;
	  font-size: 20px;
	  pointer-events: none;
	  position: absolute;
	  right: 15px;
	  top: 10px;
	}
    select {
	  -moz-appearance: none;
	  -webkit-appearance: none;
	  appearance: none;
	  border: none;
      font-size: 12px;
      padding: 5px;
	  margin-bottom:10px;
	  border-radius: 0px;
	  outline: none;
	  cursor: pointer;
	  font-family: sans-serif;
   	  color: #000;
	 background-color: rgb(255 204 0 / 1);
	 height: 36px;
	  width:205px;
	  padding:10px;
    }
	select::-ms-expand {
  display: none;
	}
	select:focus::-ms-value {
  background-color: transparent;
}
	
	input {
      font-size: 14px;
      color: rgb(0, 0, 0);
      font-weight: normal;
      padding: 5px;
	  margin-bottom:10px;
	  border: 1px solid #999;
	  width:90px;
	  text-align:right;
	  border-radius:0px;
	  -webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
    }


	
	input[type=button] {
    width: 125px;
    text-align: center;
    background-color: #666;
    color: #fff;
	margin-top:10px;
	border-radius:none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	
	
}

    .result {
      width:auto;
	  margin-left:222px;
    }
	
	
    #rest-umsatz-info, #rest-gewinn-info {
      font-size: 10px;
      display: inline-block;
      color: red;
    }
	
	.view-scroll { width:100%; }
	.view-scroll-sec {}
	
	.masterBox { width:100%; display:block; }
	.masterBox .masterBoxHl, .masterBox .masterBoxInput  { width:100px; display:inline-block; margin-right:10px; }
	/*.masterBox .masterBoxHl.lastCol, .masterBox .masterBoxInput.lastCol { width:70px; margin-right:10px; }*/
	.masterBox.result { margin-bottom:10px; }
	.masterBox.notVisi { display:none; }
	.masterBox.trueVisi { display:block; }
	.masterBoxInput {font-weight:normal; width:210px; position:relative; }
	.masterBoxInput.text { width:210px; }
	.masterBoxInput.value { text-align:right; font-weight:normal; vertical-align: top;}
	.masterBoxInput.value.red { color:red;}
	.masterBoxInput.checkValue { color:red; font-size: 12px; line-height: 15px;}
	.masterBox .masterBoxHl.width { width:210px; }
	
	.masterBoxInput.restCol, .masterBoxHl.restCol{text-align:right; width:85px; margin-right: 0;}
	
	.masterBox.mobile.trueVisi {
		margin-bottom:25px; 
		}
	.masterboxErgebnis { <?php echo $display ?>}
	
	.masterBox.tax.first { margin-top:0px; border-top:0px solid #000; padding-top:20px;background-color: rgba(245, 235, 105, 0.7);
    font-size: 16px;}
	.masterBox.tax.first .masterBoxInput.text,
	.masterBox.tax.last .masterBoxInput.text
	 { width:210px;}
	.masterBox.tax.last {border-bottom:2px solid #000; padding-bottom:20px;font-size: 16px; background-color: rgba(245, 235, 105, 0.7);}
	.masterBox.tax  .masterBoxInput.text {width:240px;}
	.masterBox.tax.last .masterBoxInput.value.last { width:auto; }
	.masterBox.mobile .masterBoxHl.mobile { width:210px; }



	.formBox.tax.first { margin-top:20px; border-top:2px solid #000; padding-top:20px;background-color: rgba(245, 235, 105, 0.7);
    font-size: 18px;}
	.formBox.tax.last {border-bottom:2px solid #000; padding-bottom:20px;background-color: rgba(245, 235, 105, 0.7);}
	.formBox.tax  .formBoxInput.text {width:240px;}
	.formBox.tax.last .formBoxInput.value.last { width:auto; }
	.formBox.mobile .formBoxHl.mobile { width:210px; }



	
		/* >= IE10 */
    @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
		.masterBox .masterBoxHl.width { 
		vertical-align:top; padding-top:10px;}
		.masterBoxInput.text, .masterBoxInput.restCol { 
		vertical-align:top; padding-top:0px; line-height:16px;}
		.masterBoxInput.text .tooltip, .masterBoxInput.restCol .tooltip{ 
		top:7px; }
		
		}
	
	.tooltip img { width:15px; height:auto; }
	
	.fas, .far {font-size:16px;}
	
	
	/* Results */
	.masterBoxInput.text.sp1 { width:210px; }
	.masterBoxInput.text.sp2,
	.masterBoxInput.text.sp3,
	.masterBoxInput.text.sp4,
	.masterBoxInput.text.sp5,
	.masterBoxInput.text.sp6 { width:100px; text-align:right; vertical-align:top; }
	
	

.tooltip {
  position: absolute;
  display: inline-block;
  right:0px;
  cursor: pointer;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: #999;
  color: #fff;
  text-align: left;
  border-radius: 0px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: -540%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  font-weight:initial;
}

.tooltiptext.red { color:#fff; background-color:red; }

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: 0px;
  border-width: 5px;
  border-style: solid;
  border-color: #999 transparent transparent transparent;
}

.tooltip .tooltiptext.red::after {
  border-color: red transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/*#tooltip {
	position: absolute;
    display: inline-block;
    right: 0;
	z-index:99999;
  width: auzo;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-size: 20px;
  text-align: center;
  padding: 50px;
  margin: 100px auto;
  background: white;
  position: relative;
  border-radius: 5px;
  box-shadow: 10px 10px 0px rgba(0,0,0,.05);
}

#tooltip:before {
  content: attr(data-description);
  box-sizing: border-box;
  display: block;
  background: rgba(0,0,0,.7);
  color: white;
  padding: 5px;
  position: absolute;
  left: 50%;
  top: -30px;
  margin-left: -100px;
  width: 200px;
  height: 65px;
  line-height: 25px;
  border-radius: 5px;
  opacity: 0;
  transition: .25s ease-in-out;
}

#tooltip:after {
  content: '';
  display: block;
  position: absolute;
  top: 35px;
  left: 50%;
  margin-left: -8px;
  height: 0;
  width: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(0,0,0,.7);
  transition: .25s ease-in-out;
  opacity: 0;
}

#tooltip:hover:before {
  opacity: 1;
  top: -50px;
}

#tooltip:hover:after {
  opacity: 1;
  top: 15px;
}*/

/* Field Number without arrows Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Field Number without arrows Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


/* On screens that are 992px or less, set the background color to blue */
@media screen and (min-width: 769px) {
	.boxFooter {font-size:13px !Important; line-height:18px !Important; margin-top:10px;}

}

/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 768px) {
	
	.view-scroll { width:100%; }
	.view-scroll-sec {overflow-y: hidden; overflow-x: scroll;}
	
	.tooltip {display:none;}
	
  .masterBox .masterBoxHl.width {
    width: 100%;
	margin-bottom: 10px;
}
.masterBox .masterBoxHl {width:100%;}
.select-wrapper.fa.fa-angle-down {width:100%;}
#checkKanton {width:100%;}

.masterBox.mobile {width:820px; display:block;}
.masterBox.mobile .masterBoxInput.text, 
.masterBox.mobile .masterBoxHl, 
.masterBox.mobile .masterBoxHl.width {width:100px; display:inline-block;}

.masterBox.mobile .masterBox .masterBoxHl, .masterBox.mobile .masterBox .masterBoxInput {
    width: 100px;
    display: inline-block;
    margin-right: 10px;
}

.masterBox.mobile .masterBoxInput.text {
	hyphens: auto;
	line-height:16px;
}

.masterBox.mobile .masterBoxInput.text.mobile {
	width:210px;
	margin-right:13px;
}

.masterBoxInput.blind.mobile { display:none; }

.masterBox.tax .masterBoxInput.text {
	width: 250px;
	text-align:left;
	display:inline-block;
	}

.masterBox.tax .masterBoxInput.value {
	width: 100px;
	text-align:right;
	display:inline-block;
	}
	
	.masterBox.tax.first { margin-top:0px; border-top:0px solid #000; padding-top:20px; width:100%; }
	.masterBox.tax.last { border-bottom:2px solid #000; border-top:none; padding-bottom:20px; width:100%;}
	
	.masterBox.tax.last .masterBoxInput.value { vertical-align:top; }
	.masterBox.tax.last .masterBoxInput.value.last { width:250px; }

.masterBox.notVisi { display:none; }

.masterBox.mobile.trueVisi .masterBoxInput.text,
.masterBox.mobile.trueVisi .masterBoxInput,
.masterBox.mobile.trueVisi .masterBoxInput .result{
	width:100%;
	margin-left:initial;
}
.masterBox.mobile .masterBoxHl.mobile { display:none; }

    .result {
      width:100%;
	  margin-left:0px;
    }


}
