/**
 * ==================================================================================================
 * README
 * ==================================================================================================
 * Author: Marius Melnik - MML@spelsberg.de
 * Organisation: els Spelsberg
 * Brief: Stylesheet for housing temperature rise calculator
 * Details:
 *   
 */

/*	http://meyerweb.com/eric/tools/css/reset/ 
	v2.0 | 20110126
	License: none (public domain)
*/
/* html, body, div, span, applet, object, iframe, */
/* h1, h2, h3, h4, h5, h6, p, blockquote, pre, */
/* a, abbr, acronym, address, big, cite, code, */
/* del, dfn, em, img, ins, kbd, q, s, samp, */
/* small, strike, strong, sub, sup, tt, var, */
/* b, u, i, center, */
/* dl, dt, dd, ol, ul, li, */
/* fieldset, form, label, legend, */
/* table, caption, tbody, tfoot, thead, tr, th, td, */
/* article, aside, canvas, details, embed,  */
/* figure, figcaption, footer, header, hgroup,  */
/* menu, nav, output, ruby, section, summary, */
/* time, mark, audio, video { */
/* 	margin: 0; */
/* 	padding: 0; */
/* 	border: 0; */
/* 	font-size: 100%; */
/* 	font: inherit; */
/* 	vertical-align: baseline; */
/* } */
/* /* HTML5 display-role reset for older browsers */ */
/* article, aside, details, figcaption, figure,  */
/* footer, header, hgroup, menu, nav, section { */
/* 	display: block; */
/* } */
/* body { */
/* 	line-height: 1; */
/* } */
/* ol, ul { */
/* 	list-style: none; */
/* } */
/* blockquote, q { */
/* 	quotes: none; */
/* } */
/* blockquote:before, blockquote:after, */
/* q:before, q:after { */
/* 	content: ''; */
/* 	content: none; */
/* } */
/* table { */
/* 	border-collapse: collapse; */
/* 	border-spacing: 0; */
/* } */

/* /* END RESET CSS */ */

/* body { */
/*     font-weight: 300; */
/*     font-family: "freeset_light","Helvetica Neue",Arial,sans-serif; */
/*     color: #111; */
/* 	line-height: 1.25; */
/* 	font-size: 14px; */
/* } */

/* table { */
/* 	border-collapse: collapse; */
/* 	border: none; */
/* 	margin-bottom: 10px; */
/* } */

/* td { */
/* 	text-align: left; */
/* 	padding-left: 1rem; */
/* 	padding-right: 1rem; */
/* 	border-style: solid; */
/* 	border-width: 1px; */
/* 	border: none; */
/* } */

/* th { */
/* 	font-weight: bold; */
/* 	text-align: left; */
/* 	padding-left: 1rem; */
/* 	padding-right: 1rem; */
/* 	border-style: solid; */
/* 	border-width: 1px; */
/* 	border: none; */
/* } */

/* h1, h2, h3, h4, h5, h6 { */
/* 	font-family: "freeset_book","Helvetica Neue",Arial,sans-serif; */
/* 	-webkit-font-smoothing: subpixel-antialiased; */
/* 	font-weight: 500; */
/* } */

/* h1, h2 { */
/* 	text-align: left; */
/* 	margin-bottom: 20px; */
/* } */

/* h3, h4, h5, h6 { */
/* 	text-align: left; */
/* 	margin-bottom: 10px; */
/* 	font-weight: bold; */
/* } */

/* h1 { */
/* 	font-size: 2em; */
/* } */

/* h2 { */
/* 	font-size: 1.5em; */
/* } */

/* h3 { */
/* 	font-size: 1.25em; */
/* } */

/* p { */
/* 	text-align: left; */
/* 	margin-bottom: 10px; */
/* } */

/* b { */
/* 	font-weight: bold; */
/* } */

/* a { */
/* 	color: #6ab023; */
/* 	font-style: normal; */
/* 	text-decoration: none; */
/* } */

/* a:hover { */
/* 	color: #000; */
/* } */

/* input[type=radio]{ */
/* 	margin-bottom: 20px; */
/* } */

/* select { */
/* 	background-color: #f6f6f6; */
/* 	border: 1px solid #f6f6f6; */
/* 	padding: 3px; */
/* } */

/* select:focus, */
/* input[type=number]:focus-visible, */
/* input[type=text]:focus-visible { */
/* 	border-color: #6ab023; */
/* 	outline: none;	 Override browser default */
/* } */

/* select:hover, */
/* input[type=radio]:hover, */
/* input[type=button]:hover, */
/* input[type=checkbox]:hover, */
/* input[type=range]:hover, */
/* label:hover */
/* { */
/* 	cursor: pointer; */
/* } */

/* input[type=text] { */
/* 	background-color: #f6f6f6; */
/* 	border: 1px solid #f6f6f6; */
/* 	padding: 3px; */
/* } */

/* input[type=number] { */
/* 	background-color: #f6f6f6; */
/* 	border: 1px solid #f6f6f6; */
/* 	padding: 3px; */
/* } */

/* input[type=button] { */
/* 	background-color: white; */
/* 	color: #6ab023; */
/* 	padding: .65em 1.5em; */
/* 	border: 1px solid #6ab023; */
/* } */

/* input[type=button]:hover { */
/* 	background-color: #f6f6f6; */
/* } */

/* hr { */
/* 	border: none; */
/* 	height: 2px; */
/* 	background-color: #ccc; */
/* 	margin-bottom: 20px; */
/* 	margin-top: 20px; */
/* } */

.btn_search {
	padding: .2em .5em !important;
}

.housingSearchParamHead {
	font-weight: 600;
}

#subtitle {
	font-weight: 400;
	font-size: 1.2em;
	margin-top: -10px;
	margin-bottom: 30px;
}

#wrapper {
	/* width: 100%; */
	overflow: inherit;
}

/* #contentDIV {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
} */

#header {
	margin-top: 3em;
	margin-bottom: 5em;
}

#headerLine {
	position: absolute;
	left: 0;
	width: 100%;
	height: 5px;
	background-color: #f5f5f5;
}
#headerLine:after{
	position: absolute;
	left: 0;
	margin-top: 5px;
	width: 100%;
	height: 5px;
	background-color: #6ab023;
	content: "";
}

#housingDataElsDIV {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	margin-top: 1em;
}

#elsHousingSearchParams {
	width: 200px;
	/* padding-right: 10px; */
}
#housingDataElsTableInfoWrapperDIV {
	flex: 1;
	width: 100%;
	/* width: calc(100% - 200px); */
}

#databaseErrorMessage {
	position: fixed;
	top:0px;
	z-index: 100;
	font-size: 1em;
	text-align: center;
	color: #ccc;
	margin-bottom: 0em;
	padding-top: 1em;
	padding-bottom: 1em;
	background-color: rgba(140, 0, 0, .9);
	width: 100%;
	display: none;
}

#reloadButton {
	font-size: 4em;
}

#reloadButton:hover {
	cursor: pointer;
}

#databaseErrorMessage h1,
#databaseErrorMessage h3,
#databaseErrorMessage h2 {
	text-align: center;
}

#housingDataElsDIV div:not(.chosen-container) {
	margin-bottom: 20px;
}

/* #housingDataElsPictureDIV img {
	max-width: 400px;
	max-height: 400px;
} */

.radioSelectionWrapper {
	padding: 1.5em 1em;
	background-color: #f6f6f6;
	font-weight: bold;
	margin-bottom: 1.5em;
	box-shadow: 0 2px 2px rgba(0,0,0,.09);
}

.radioSelectionOption {
	padding: .1em;
	/* font-size: larger;
	line-height: 1.5;
	font-weight: normal; */
}
.radioSelectionOption > LABEL {
	margin-left: .5em;
}
.radioSelectionOption + .radioSelectionOption {
	margin-top: .5em;
}

/* #housingDataElsDIV select {
	width: 100%;
	padding: 5px;
} */

/* #housingDataElsDIV input[type=text]
{
	width:90%;
	padding: 5px;
} */

/* #housingDataElsDIV input[type=number]
{
	width: 3em;
	background-color: #fff;
	border-color: #fff;
} */

#housingDataElsDIV input[type=range]
{
	flex: 1;
	/* width: 7em; */
	accent-color: rgb(106, 176, 35);
}

#housingElsSelectDropdown {
	margin-bottom: 1rem; /* oder z.B. 10px */
}

#housingDataElsTableBusySymbol {
	color:#fff;
	font-size: 100px;
	/* text-align: center;
	justify-content: center;
	align-items: center; */
	place-items: center;
	/* display: grid; */
	display: none;
	position: absolute;
	top: 65%;
	left: 45%;
	background-color: rgba(106, 176, 35, 0.7);
	padding: 20px;
	width: 150px;
	height: 150px;
	border-radius: 5%;
	/* Animation */
	animation-name: animation_blink;
    animation-timing-function: ease-in;
    animation-duration: 2s; 
    animation-iteration-count: infinite;
}

@keyframes animation_blink {
    25% { opacity: 0.25; }
    50% { opacity: 0.5; }
    75% { opacity: 0.75; }
    100% { opacity: 1; }    
}

#housingDataElsTableDIV {
	height: 40em;
	overflow-x: auto;
	/* width: min-content; --- mobile design!!! */
	/* width: max-content; */
	line-height: 2;
}

#housingDataElsTableDIV tr:hover{
	cursor: pointer;
}

#housingDataElsTableDIV th {
	position: sticky;
	top: 0; /* Required for the stickiness */
	background-color: white;
}

#housingDataElsTableInfoDIV{
	font-size: smaller;
	line-height: 1;
}

#housingDetailsElsDIV {
	margin-top: 1.5em;
	width: 100%;
}

#housingDetailsElsContentDIV {
	display: flex;
	flex-wrap: wrap;
	gap: 2em;
}

/* #housingSelectedElsData {
	margin-left: 2em;
} */

#housingSelectedElsDataTable {
	/* display: inline; */
	line-height: 2.5;
	margin-block: 0;
	/* border: 1px solid #f5f5f5; */
}

/* #housingSelectedElsDataTableWrapper
{
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.09);
} */

#housingSelectedElsDataTable tr:nth-child(even) {
	background-color: #fff;
}

#housingSelectedElsDataTable tr:nth-child(odd) {
	background-color: #f6f6f6;
}

#housingSelectedElsDataTable td {
	padding-left: 2em !important; 
	padding-right: 2em !important; 
	margin: 0;
	border-width: 0;
}

#housingDataCustomContentWrapperDIV {
	display: flex;
	flex-wrap: wrap;
	gap: 2em;
}
#housingDataCustomTableWrappDIV th{
	padding: 0.5em;
	vertical-align: middle;
}
#housingDataCustomTableWrappDIV td{
	padding: 0.5em;
}

#housingDataCustomTableWrappDIV input[type=number]{
	line-height: 2.5;
	width: 5em;
	text-align: center;
}

#elsLogo {
	background-image: url("/typo3conf/ext/swelspowertool/Resources/Public/Js/housing_calculator/logo/spelsberg-logo.svg");
	background-repeat: no-repeat;
	width: 230px;
	height: 65px;
	display: block;
	margin-top: 1em;
	margin-bottom: 1em;
}

/* #elsMySpelsberg {
	width: 147px;
    height: 36px;
    background-image: url("/typo3conf/ext/swelspowertool/Resources/Public/Js/housing_calculator/img/els-my-spelsberg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #333;
	cursor: pointer;
	display: inline-block;
}

#elsContact {
	width: 147px;
    height: 36px;
    background-image: url("/typo3conf/ext/swelspowertool/Resources/Public/Js/housing_calculator/img/els-contact.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #333;
	cursor: pointer;
	display: inline-block;
} */


#policyWrapper {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .7);
	z-index: 999;
}

#policyContainer {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: auto;
	max-height: 70%;
	width: 40%;
	min-width: 420px;
	max-width: 550px;
	z-index: 999;
	text-align: center;
	background-color: #fff;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	padding: 1.5em 2em 2em 2em;
	border-radius: 24px;
}

#policyContainer .policy-close-btn {
	position: absolute;
	top: 0.3em;
	right: 0.8em;
	background: none !important;
	border: none !important;
	font-size: 2.2em;
	color: #888888c7 !important;
	cursor: pointer;
	line-height: 1.46;
	padding: 0;
	width: 30px;
	height: 30px;
}

#policyContainer .policy-close-btn:hover {
	color: #333 !important;
}

#policyContent {
	height: auto;
	max-height: 300px;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	padding: 1.2em;
	margin-bottom: 1.5em;
	text-align: left;
	overflow: auto;
	background-color: #fafafa;
}

#policyContainer h4 {
	margin-bottom: 0.8em;
	margin-top: 0;
	font-weight: 600;
	line-height: 1.46;
	text-align: left;
}

#policyContainer input[type=button] {
	padding: 0.8em 2em;
	border-radius: 8px;
	font-size: 1em;
	cursor: pointer;
	margin: 0.3em;
	transition: background-color 0.2s ease-in-out;
}

#policyContainer input[type=button].btn {
	background-color: #6ab023;
	color: #fff;
	border: 1px solid #6ab023;
}

#policyContainer input[type=button].btn:hover {
	background-color: #5a9a1e;
}

#policyContainer input[type=button]:not(.btn) {
	background-color: #fff;
	color: #333;
	border: 1px solid #ccc;
}

#policyContainer input[type=button]:not(.btn):hover {
	background-color: #f5f5f5;
}


#mountingDIV {
	display: flow-root;
}

#mountingPositionSelectorDIV {
	font-weight: bold;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5em;
}

#customerNoteValue {
	/* width: 100%; */
	height: 100px;  
	word-wrap: break-word;
	overflow-wrap: break-word;
	resize: none;
	margin-top: 10px;
}

#calculationInputDataDIV,
#calculationResultDIV,
#calculationBelAirActive,
#calculationAlternativeHousing {
	/* border-style: solid;
	border-width: 1px; */
	padding: 2em;
	margin-bottom: 3em;
	box-shadow: 1px 5px 18px rgba(0,0,0,0.1)
}

#calculationInputDataDIV
{
	display: flex;
	gap: 2em;
}

/* #calculationInputDataTableWrapper {
	float: left;
} */

@media only screen and (max-width: 900px) {
	#calculationInputDataHousingImage img {
		display: none;
	}
}

#calculationInputDataHousingImage img {
	width: 300px;
	margin: 2em;
}

#calculationResultTemperatureReserve
{
	font-weight: bold;
}

.mountingPositionSelectorImgDIV {
	/* float: left; */
	/* overflow: auto; */
	/* zoom: 1; */
	text-align: center;
	/* padding: 0.75em; */
}

.mountingPositionSelectorImgDIV img {
	border-width: 3px;
	border-color: transparent;
	border-style: solid;
	transition: all .2s ease;
	width: 140px;
	margin-bottom: 1em;
	cursor: pointer;
}

.mountingPositionSelectorImgDIV img:hover,
.mountingPositionSelectorImgSelected {
	border-color: #6ab023 !important;
}

/** Clearfix-hack */
.mountingPositionSelectorImgDIV::after {
	content: "";
	clear: both;
	display: table;
}

.tableRowHousingSelected td {
	background: rgba(106, 176, 35, 0.5) !important;
}

/* #environmentParametersDIV {
	margin-top: 2em;
	margin-bottom: 2em;
} */

/* #environmentParametersDIV td {
	padding: 0.25em;
} */

#environmentParametersDIV input[type=number]{
	line-height: 2;
	width: 5em;
	text-align: center;
}

#installedPowerDissipation {
	margin-top: 2em;
	margin-bottom: 2em;
}

#powerDissipationManualDIV {
	display: block;
}

#componentRDF {
	margin-top: 2em;
	margin-bottom: 3em;
}
#componentRDF input[type=number] {
	line-height: 2;
    width: 5em;
    text-align: center;
}

#powerDissipationManualDIV input[type=number]{
	line-height: 2;
	width: 5em;
	text-align: center;
}

#installedComponentsWrapper {
	display: none;
}

#installedComponentsTable td{
	line-height: 2;
	padding: 0.5em 1em;
}

#installedComponentsTable input[type=number],
#installedComponentsTable input[type=text],
#installedComponentsTable select
{
	height: 2em;
	line-height: 2;
	padding-top: 0;
	padding-bottom: 0;
}

.componentCategory {
	width: 250px;
}

.componentCount,
.componentThermalDischarge {
	text-align: center;
}

#installedComponentsTable input:disabled {
	background-color: #fff;
	border-color: #fff;
}
.componentTypeSelectionCell SELECT {
	transition: none;
}
.componentTypeSelectionCell SELECT:hover {
	background-color: #fff;
    background-image: url(../../../Images/select-arrow.svg);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}
.componentTypeSelectionCell SELECT:focus {
	box-shadow: none
}
.componentCountCell {
	text-align: center;
}
.componentThermalDischargeCell {
	text-align: center;
}
.componentRemoveButtonCell {
	text-align: center;
}
.componentRemoveButtonCell INPUT {
	padding: .65em 1em;
    color: #fff !important;
    border: 1px solid #6ab023;
    background-color: #6ab023;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    transition: background-color .2s ease-in-out;
	cursor: pointer;
}
.componentRemoveButtonCell INPUT:hover {
    background-color: rgb(98.3137440758,163.2379146919,32.4620853081);
}

#powerDissipationWiringDIV {
	margin-top: 2em;
	margin-bottom: 1em;
}

#customerDataContenWrapper {
	display: flex;
	flex-wrap: wrap;
	line-height: 3;
	gap: 2em;
}

#customerDataContenWrapper input[type=text]
{
	/* height: 2em; */
	/* width: 25em; */
}

#customerDateTabelDIV {
	flex: 1;
	/* margin-left: 1em; */
	/* margin-right: 1em; */
}
#customerDateTabelDIV table {
	margin-bottom: 0;
}

#customerDataNtoesWrapper {
	flex: 1;
	/* margin-left: 1em;
	margin-right: 1em; */
	font-weight: bold;
}

textarea {
	background-color: #f6f6f6;
	border: 1px solid #f6f6f6;
	padding: 1em;
}

textarea:focus-visible {
	border-color: #6ab023;
	outline: none;	 /* Override browser default */
}

#calculationDIV {
	margin-top: 2em;
	margin-bottom: 3em;
}

/* #calculationDIV table {
	box-shadow: 2px 2px rgba(0, 0, 0, 0.09);
} */

#calculationButton {
	margin-bottom: 2em;
}

/* .button_highlighted {
	padding: 1em 3em !important;
	color: #fff !important;
	background-color: #6ab023 !important;
	border: 1px solid #6ab023 !important;
	transition: background-color .2s ease-in-out !important;
	-webkit-font-smoothing: antialiased !important;
}

.button_highlighted:hover {
	background-color: rgb(98.3137440758,163.2379146919,32.4620853081) !important;
} */

#calculationDetailsDIV {
	display: none;
	line-height: 3em;
}

#calculationDIV tr:nth-child(even) {
	background-color: #fff;
}

#calculationDIV tr:nth-child(odd) {
	background-color: #f6f6f6;
}

#saveCalculationDIV {
	display: none;
	margin: 3em 0;
	line-height: 2;
}

#calculationResultPassed {
	color: #6ab023;
	display: none;
}

#calculationResultFailed {
	color: #f11;
	display: none;
}

#calculationBelAirActive,
#calculationAlternativeHousing {
	color: #111;
	margin-top: 4em;
}

#calculationBelAirActiveWrapper {
	display: flex;
}

#BelAirActiveAlternativeNotification {
	display: none;
}

#calculationBelAirActive img {
	/* width: 300px;
	height: auto; */
	padding: 20px;
}

#BelAirActiveDisclaimer {
	line-height: normal;
	font-size: small;
}

#calculationResultTemperatureReserve_active {
	color: #6ab023;
	font-weight: bold;
}

.calculationHighlightedInfo {
	line-height: 2em;
	font-size: x-large;
	text-align: center;
	font-weight: 600;
	color: #6ab023;
}

#calculationFailedNoSolution {
	display: none;
	text-align: center;
	color: #6ab023;
	margin-top: 3em;
}


/*-----------------------------------------------*/

/*  //margin-top: 10px;//font-size: 16px;//color: #333;*/

/*
select.dropdown {
  margin-bottom: 1rem;
}
*/

/*
.mountingPositionSelectorImgDIV {
  margin-bottom: 20px;
  text-align: center;
}

.mountingPositionSelectorImgDIV img {
  margin-bottom: 10px;
}
*/

/*
form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

form label,
form input,
form select,
form textarea,
form button {
  flex: 1 1 100%;
  max-width: 100%;
  box-sizing: border-box;
}
*/

/*
#installedComponentsTable th {
  padding-left: 1rem;
  padding-right: 1rem;
}
*/

/* Smartphones (Hochformat, bis 480px) */
/*
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  form {
    padding: 10px;
  }

  header img {
    width: 100px;
  }
}
*/

/* Kleine Tablets (bis 768px) */
/*
@media (max-width: 768px) {
  form label,
  form input,
  form select,
  form textarea {
    flex: 1 1 100%;
  }

  form button {
    flex: 1 1 100%;
  }
  
    header img {
    width: 140px;
  }
}
*/

/* Große Bildschirme (ab 1200px) */
/*
@media (min-width: 1200px) {
  form {
    max-width: 1000px;
    margin: 0 auto;
  }

  header img {
    width: 180px;
  }
}
*/