//do not use auto-format in eclipse

@import "standard.less";

@colorMain: black;
@contentWidth: 1100px;
@footerHeight: 30px;

body,html {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-color: black;
	background-repeat: no-repeat;
    background-attachment: fixed;
}

a img {
	border: none;
}

.horizontalWrap {
	width: @contentWidth;
	background-color: #fff;
	position: relative;
	margin: 0px auto;
}

.footer { 
	.push;
	line-height: @footerHeight;
	color: #fff;
	text-align: center;
	width: @contentWidth;
}

.footer a {
	color:#fff;
}

.login {
	.border-radius;
	vertical-align: middle;
	background-color: #fff;
	padding: 5px;
	float: right;
}

.login table, .login tr, .login td.ui-panelgrid-cell {
	border:0;
	width:100%;	
}

.login button {
	float:right;
}

.login input {
	border: 1px solid #333;
	color: #ccc;
	padding: 2px;
	width: 150px;
}

.loginbox a {
	text-decoration: none;
}

.login .iceCmdBtn, .iceCmdBtn.dark {
	border-radius:2px;
	color: #FFF;
	padding-left: 10px;
	padding-right: 10px;
	width: auto;
}

.horizontalBar {
	height: 30px;
	background-image: url("../img/bar.jpg");
	vertical-align: middle;
	font-size: 11px;
}

.type-icons {
	position:absolute;
	top: 30px;
	right: 0;
}

.type-icons img {
	margin-right: 5px;
}

.menu {
	position: relative;
}

.topmenu, .submenu {
	background: none !important;
	border: none !important;
	float:left;
	box-shadow: none !important;
}

.topmenu A:link, .topmenu A:visited{
	color: #fff;
}

.topmenu a:hover, .topmenu a:active, .topmenu a.active {
	color: yellow !important;
	background: none !important;
}

a:hover {
	text-decoration: underline;
}

.ui-menu {
	padding: 2px 0px 0px 0px;
}

.ui-button, .ui-button span {
	font-weight: normal !important;
}

.ui-menu .ui-menuitem-link {
    font-weight: 400;
    line-height: 16px;
}

.ui-menu .ui-menuitem {
	margin:0;
}

.submenu_container {
	margin-left:30px;
	float:left;
	width:90%;
}

.submenu {
	background: none;
	border: none;
}

.submenu A:link, .submenu A:visited{
	color: #000;
	background: none;
}

.submenu a:hover, .submenu a.ui-state-hover, .submenu a.active {
	color: #000 !important;
	background-color: #F4FA58 !important;
	background-image: none !important;
}

.submenu_mob {
	background: none;
	border: none;
	margin-top: -20px;
	margin-left: 279px;
}

.submenu_mob A:link, .submenu_mob A:visited{
	color: #000;
	font-weight: bold;
	background: none;
}

.submenu_mob A:hover, .submenu_mob A:active {
	font-weight: bold !important;
	color: #000;
	border-style: none;
	background-color: #F4FA58;
}

.submenu_kennzahlen {
	background: none;
	border: none;
	margin-top: -20px;
	margin-left: 377px;
}

.submenu_kennzahlen A:link, .submenu_kennzahlen A:visited{
	color: #000;
	font-weight: bold;
	background: none;
}

.submenu_kennzahlen A:hover, .submenu_kennzahlen A:active {
	font-weight: bold !important;
	color: #000;
	border-style: none;
	background-color: #F4FA58;
}

.ui-radiobutton .ui-radiobutton-box {
	position:relative;
}

.info {
	 width: 200px;
	 background-color: #86d2ff;
	 left: 610px !important;
}

.info table, .info table td, .info table th {
	border:0px;
}


.info2 {
	 width: 200px;
	 background-color: #86d2ff;
	 left: 330px !important;
}

.notice {
	 background-color: #FACC2E;
	 width:250px; 
	 line-height: 24px;
	 margin-bottom: 5px;
}

.warning {
	 background-color: #F4FA58;
	 width:250px; 
	 line-height: 24px;
	 margin-bottom: 5px;
}

.calculation td {
	padding-right:20px;
}

.calculation {
	float:left; 
	width: 800px; 
	line-height: 24px; 
	border:none; 
}

.calculation input {
	width: auto;
	float: left;	
}

input[type="radio"]{
	width: auto;
	float: left;	
}

.label {
	display:block;
	width: 300px;
	float: left;
}

.label span {
	float: left;
}

.unit {
	display:block;
	float: left;
	margin-left:5px;
}

.unit_small {
	display:block;
	width: auto;
	float: left;
	margin-left:5px;
}

.unit_spaced {
	display:block;
	width: 75px;
	float: left;
	margin-left:5px;
}

.building_table .unit {
	width: auto;
	line-height: 24px;
}

input {
	width: 100px;
	float: left;
}

input[type=file] {
	width: auto;
	float: none;
}

.ui-datatable-tablewrapper input, .ui-datatable-tablewrapper .unit{
	float: none;
	display:inline;
}

.ui-spinner input[type=text] {
	margin-bottom:0px;
}

input[disabled], input[readonly] { 
	background-color: #dedede !important; 
	color: #555 !important;
}

textarea[disabled], textarea[readonly] { 
	background-color: #dedede !important; 
	color: #555 !important;
}

.ui-panelgrid-cell .ui-state-disabled {
	background-color: #dedede !important;
	color: #555 !important;
	opacity: 1 !important;
}

input.ui-inputfield.invalid {
	border-color: #B94A48;
	color: #B94A48;
}

.invalid {
	color: #B94A48;
}

.ui-state-disabled {
	opacity: 1;
}

.ui-slider.invalid,
.ui-slider.invalid .ui-slider-handle {
	border-color:red;
}

.nav-item-active {
	background-color: #F4FA58;
}

.dateHighlightGray {
	background-color: #fff;
}

.reset {
	margin-left:5px;
	float: left;
}

.heading {
	float: left;
    margin-top: 15px;
	max-width: 500px;
	line-height: 24px;
	font-weight: bold;
	font-size: 1.17em;
}

.ui-messages-info {
	line-height: 150%;
	background-color: #d9edf7 !important;
    border-color: #d9edf7 !important;
    color: #147EB3 !important;
}

.ui-messages-info-summary {
	font-weight: normal !important;
}

.heading a span {
	margin-left:5px;
}

.heading a {
	color:#000;
	text-decoration: none;
}

.heading .ui-state-disabled {
	background:none;
}

.input_container {
	float: left;
	width: 100%;
	line-height: 22px;
}

.container_result_sub .label {
	margin-left:15px;
	width:290px;
}

.input_left {
	float: left;
	width: 700px;
	margin: 2px 0px 2px 0px;
}

.input_right {
	float: right;
	width: 350px;
	margin: 2px 0px 2px 0px;
}

.input_left select {
	max-width: 160px;
	float: left;
}

.tooltip {
	float:left;
	margin-top:3px;
}

.tooltip_content {
	max-width:300px;
	display:block;
	text-align:left;
	font-weight:normal;
	white-space: pre-wrap;
}

.result-table {
	margin-top:10px;
	border-spacing: 0px;
	border-collapse: collapse;
}

.result-table td, .result-table th {
	padding:5px;
	border: 1px solid #ccc;
}

.result-table tr td{
	text-align:right;
}

.result-table-center tr td{
	text-align:center;
}

.result-table tr td:first-child {
	text-align:left;
}

.result-table-header {
	background-color:#ccc;
	text-align:left;
}

.result-table thead a {
	color:#000;
}

table.alignTop td {
	vertical-align:top;
}

.energysystem-table {
	border-collapse: collapse;
	width:100%;
}

.energysystem-table input {
	float:none !important;
}

.energysystem-table input[type=text] {
	width: 50px;
}

.energysystem-table td:first-child {
	width:150px;
}

.energysystem-table td:first-child input[type=text] {
	width:100px;
}

.energysystem-table td {
	padding: 4px;
	margin: 3px;
	border: 2px solid #CCC;
	text-align:center;
}

.energysystem-table th {
	height:50px;
	max-width:100px;
	border: 2px solid #CCC;
}

fieldset {
	border:none;
}

#busyOverlay {
	display:none;
	background: rgba(0,0,0,0.5); 
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	font-size:16px;
	color:#666;
	z-index:10000;
}

#busyOverlayCenter {
	width:300px;
	text-align:center;
	margin:auto;
	background-color:rgba(255,255,255,1); 
	border:3px solid #666;
	border-radius:5px;
	position:relative;
	top:50%;
	margin-top:-100px;
	padding:10px;
}


.ui-selectonemenu-panel .ui-selectonemenu-filter-container {
	width:100%;
}


.ui-datatable thead th, .ui-datatable tbody td, .ui-datatable tfoot td {
    white-space: normal;
    word-break: normal;
}

.ui-messages ul li span {
	display:block;
}

.fieldTable, .fieldTableWind {
	border-spacing: 0px;
}

.fieldTable tr, .fieldTable td, .fieldTableWind tr {
	margin: 0;
	padding: 0;
	border: 0;
}

.fieldTableWind td {
	margin: 0;
	padding: 3px 0 3px 0;
	border: 0;
}

table.noborder td {
	border: 0;
}

.noLegend .jqplot-table-legend {
	display:none;
}

.highlight-legend table.jqplot-table-legend tr:last-child .jqplot-table-legend-label:last-child {
	font-weight: bold;
	font-style: italic;
}

.jqplot-highlighter-tooltip, .jqplot-canvasOverlay-tooltip {
    background: #eee;
    font-size: 0.75em;
    padding: 1px;
    z-index:99;
}

.chartContainer {
	position: relative;
	float: left;
	margin-top:30px;
}

.exportButton {
	position: absolute;
	right: 10px;
	top: 0px;
}

.ui-datatable .jqplot-table-legend {
	width:auto;
}

.noBorder.ui-datatable .ui-datatable-data td,
.noBorder.ui-datatable .ui-datatable-data-empty td,
.noBorder.ui-datatable .ui-datatable-tablewrapper,
.noBorder.ui-datatable tbody,
.noBorder.ui-datatable tr {
	border-style: none;
}

.noBorder.ui-datatable .ui-datatable-odd {
	background:none;
}

.noBorder.ui-datatable table thead {
	display: none;
}

.result-table-colored-cell {
	background-color: #F5E708;
}

.active-gemeinde {
	background-color: #F5E708;
	color: #000;
	line-height:30px;
	padding: 0 5px;
	float: right;
	margin-right: 5px;
	text-decoration: none;
	font-weight: bold;
}

.active-gemeinde:hover {
	text-decoration: underline;
}

.condensed table th {
	padding: 4px 4px;
}

.tableCondensed input {
	width: 70px;
}

.ui-datatable.tableCondensed td {
	padding: 2px;
}

.ui-panel {
	border:1px solid #f5f5f5 !important;
}

.verlaufChartOptions .ui-outputlabel {
	vertical-align: top;
	line-height: 26px;
	margin-right:5px;
}

/* fix tables in tables size */
.ui-datatable table {
    table-layout: auto;
}

#langForm a {
	float:right;
	margin-left:5px;
}

.building_table input {
	width:calc(~"100% - 35px");
	box-sizing:border-box;
}

.building_table .reset {
	float: none;
}

.energysystem-table .reset {
    float: right;
}

/* force show of accordian triangle icons for bootstrap theme */
.ui-accordion .ui-accordion-header .ui-icon {
    display: block !important;
}

/* custom styles to allow dialog with percentage height */
.dialog90 {
	height: 90% !important;
	top: 5% !important;
}

.dialog90 .ui-dialog-content {
	height: calc(~"100% - 110px") !important;
}

/* fix for primefaces carousel with lots of pages */
.ui-carousel .ui-carousel-viewport .ui-carousel-items {
	width: 100000px; /* default was 32000px */
}

.ui-carousel .ui-carousel-header .ui-carousel-header-title {
    width: auto;
}

/* fix checkbox in selection table */
.ui-state-highlight .ui-icon {
    background-image: url("/javax.faces.resource/images/ui-icons_333333_256x240.png.xhtml?ln=primefaces-bootstrap");
}

.vectorOverlay .vectorBlock {
	float:left;
	margin-right:2px;
}

.vectorOverlay .vectorLabel {
	display:block;
	text-align:center;
}

.vectorOverlay .vectorInput {
	width:22px;
	margin-bottom:5px;
	float:none;
}

.vectorOverlay .vectorBlock .ui-slider-vertical {
    margin-left: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* do not show year in datepicker */
.ui-datepicker-year {
	display: none;
}

/*ui tree full size */
.ui-tree {
	width: 100% !important;
}

/* changes due to switch to omega theme */
h2 {
    display: block;
    font-size: 1.5em;
    -webkit-margin-before: 0.83em;
    -webkit-margin-after: 0.3em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: normal;
}

h3 {
    display: block;
    font-size: 1.17em;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 0.3em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: normal;
}

.ui-datatable th {
    font-weight: normal;
    font-size: 1.1em;
}

.ui-growl-item-container {
	opacity: .95;
}

.ui-messages-info-summary, .ui-messages-warn-summary, .ui-messages-error-summary, .ui-messages-fatal-summary, .ui-message-info-summary, .ui-message-warn-summary, .ui-message-error-summary, .ui-message-fatal-summary {
    margin-left: 10px;
    font-weight: normal;
}

.parameterTable .unit {
	width: auto;
	line-height: 24px;
}

.parameterTable input {
	width:calc(~"100% - 37px");
	box-sizing:border-box;
}

.parameterTable .result {
	width:100%;
	box-sizing:border-box;
}

.parameterTable .reset {
	float: none;
}

.parameterTable tr, .parameterTable td {
	margin: 0;
	padding: 0;
	border: 1px solid #dddddd;
}

.parameterTable .celltopborder {
	border-top: 2px solid #c7c7c7;
}

/* rework wizard header*/
.ui-wizard-step-title {
	font-size: 1em;
	cursor: default !important;
	margin: 0px;
	
	-moz-border-radius-bottomright: 0px;
    -webkit-border-bottom-right-radius: 0px;
    -khtml-border-bottom-right-radius: 0px;
    border-bottom-right-radius: 0px;
    -moz-border-radius-bottomleft: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -khtml-border-bottom-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.ui-wizard-content {
	margin: 0px;
}

.jqplot-meterGauge-label {
	font-size: 16px;
	font-weight: bold;
	color: #525252;
}

.jqplot-meterGauge-label {
	font-size: 16px;
	font-weight: bold;
	color: #525252;
}

.jqplot-meterGauge-tick {
	font-size: 14px;
}

/* cell coloring*/
.blankCell {
}

.greenCell {
	border: 2px solid #76E004 !important;
}

.redCell {
	border: 2px solid #FF4040 !important;
}

.yellowCell {
	border: 2px solid #FFF700 !important;
}

/* table scroll fix */
.ui-datatable-tablewrapper {
    overflow: inherit !important;
}

#efre a:hover {
	text-decoration: none;
	background-color: transparent;
}

.ui-messages-warn, .ui-message-warn {
	color: #000;
	font-size: 14px;
}