
/* Variables */

/* CSS tweaks */
/* Padding should not affect box sizing */
*
{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/* Remove outline around clicked links */
a:active, a:focus {
	outline: 0;
	border: none;
	-moz-outline-style: none;
}

/* Standard HTML tags */
body
{
	width: 100%;
	height: 100%;
	margin: 0 auto;
	padding: 0px;
	background-color: white;
	font-family: "Verdana","Arial";
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-align: left;
	letter-spacing: 0px;
	line-height: 17px;
	font-size: 12px;
	color: #171717;
}

h1, h2, h3
{
	margin-top: 23px;
	margin-bottom: 10px;
	font-weight: normal;
}
h1
{
	font-size: 20px;
	margin-top: 0px;
}
h2
{
	font-size: 15px;
}
h3
{
	font-size: 13px;
}

p
{
	font-size: 12px;
	margin-top: 0px;
	margin-bottom: 10px;
}

a
{
	text-decoration: underline;
}

ul li
{
	margin-top: 7px;
}
ol li
{
	margin-top: 7px;
}

table {
	
}


table tr th, td
{
	padding: 3px;
	padding-left: 5px;
	padding-right: 15px;
	vertical-align: top;
}
table th
{
	font-style: italic;
	font-weight: normal;
}

table.odd tr:nth-child(2n+1)
{
	background-color: #D6D6D6;
}

.plant-overview-wrapper > p:first-of-type {
	font-weight: 800;
	margin-bottom: 5px;
}

hr
{
	margin-top: 20px;
	margin-bottom: 20px;
	border: 1px solid #535353;
	border-bottom: 0px;
}

input, select, textarea
{
	font-family: "Verdana","Arial";
	font-size: 12px;
	height: 30px;
}

/* Global tags */
.widthMask,
.widthMaskWide
{
	margin: 0 auto;
	width: 100%;
	margin: 0 auto;
	padding: 10px;
	/* debug */
	/* border: 1px dashed darkgreen; */
}
.widthMask{
	margin-bottom: 50px;
}

@media (min-width: 768px) {
	#map-filter.filter-wrapper {
		max-width: 100px !important;
		width: 100%;
		top: 0;
	}
	
	#map-filter.filter-wrapper .filters {
		background-color: transparent;
	}
	
	#map-filter.filter-wrapper .filters .toggle-filters {
		padding-top: 16.5px;
		padding-bottom: 16.5px;
		text-transform: uppercase;
	}
	
	#map-filter.filter-wrapper .filters .filter-items {
		/*background-color: rgba(0,0,0,0.7);*/
		min-width: 700px;
	}
	
	#map-filter.filter-wrapper .filters .filter-items {
		/*padding: 0px 20px 20px !important;*/
		background-color: rgba(0,0,0,0.7);
	}
	
	#map-filter.filter-wrapper .filters .filter-items > div {
		/*padding: 10px 15px 20px;*/
		/*background-color: rgba(0,0,0,0.7);*/
	}
}


@media (min-width: 1025px)
{
	.widthMask
	{
		width: 1025px;
	}
	
}

@media (min-width: 1025px)
{
	.widthMaskWide
	{
		width: 90%;
	}
}

.btn
{
	display: inline-block;
	/* height: 40px; */
	padding: 10px;
	font-size: 15px;
	text-decoration: none;
	background-color: #535353;
	color: #FFFFFF;
	border-radius: 3px;
}
.btn:hover
{
	cursor: pointer;
}
.btn i
{
	margin-right: 7px;
}
.btnSmall
{
	/* height: 30px; */
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 10px;
	padding-right: 10px;
	font-size: 12px;
}
.btnPrimary
{
	background-color: #f4c402;
}
.btnWhite
{
	background-color: #FFFFFF;
	color: #171717;
}

/* Menus and general page layout */
#topMenu
{
	position: fixed;
	width: 100%;
	height: 50px;
	padding: 0px;
	margin: 0px;
	background-color: #f4c402;
	color: #FFFFFF;
	line-height: 33px;
	z-index:39;
}
@media (min-width: 1025px)
{
	#topMenu
	{
		line-height: 28px;
		border-bottom: 1px solid #404040;
	}
}
#topMenu #pageHeading
{
	float: left;
	font-size: 20px;
}
#topMenu #pageHeading a
{
	text-decoration: none;
}
#topMenu #mapOverlayMenuButton
{
	float: right;
	font-size: 24px;
	color: #FFFFFF;
	line-height: 32px;
}

#topMenu #mapOverlayMenuButton a .fa-bars {
	margin-right: 7px;
}

@media (min-width: 1025px)
{
	#topMenu #mapOverlayMenuButton
	{
		display: none;
	}
}
#topMenu #mapOverlayMenuButton a {
	text-decoration: none;
}
#topMenu #languageSelector
{
	display: none;
}
#topMenu #languageSelector a
{
	text-decoration: none;
}
@media (min-width: 1025px)
{
	#topMenu #languageSelector
	{
		display: block;
		float: right;
		color: #FFFFFF;
		font-size: 15px;
	}
	#topMenu #languageSelector #loginButton
	{
		padding: 2px;
		padding-left: 15px;
		padding-right: 15px;
		background-color: #000000;
	}
}
#topMenu #languageSelector a
{
	margin-left: 10px;
}

#topMenu a
{
	color: #FFFFFF;
}

#mapOverlay
{
	position: fixed;
	width: 100%;
	height: auto;
	top: 50px;
	background-color: #FFFFFF;
	color: #171717;
	border-bottom: 1px solid #404040;
	overflow: hidden;
	transition: max-height 0.35s ease-in;
	max-height: 0;
	z-index: 100;
}
@media (min-width: 1025px)
{
	#mapOverlay
	{
		position: relative;
		float: right;
		max-height: 1000px;
		top: 100px;
		width: 275px;
		background-color: transparent;
		border-bottom: 0px;
		z-index: 20;
	}
	#mapOverlay .widthMask
	{
		width: auto;
		padding-right: 0px;
	}
}
#mapOverlay h1, h2, h3
{
	color: #FFFFFF;
}
#mapOverlay h1
{
	font-size: 15px;
}
#mapOverlayWidthMaskContainer
{
	padding: 0px;
}
#mapOverlay .widthMask
{
	padding-top: 0px;
}
#mapOverlay a
{
	color: #171717;
}
#mapOverlay #languageSelectorMobile
{
	margin-top: 10px;
}
#mapOverlay #languageSelectorMobile ul li
{
	display: inline;
	padding-right: 10px;
}
#mapOverlay #languageSelectorMobile #loginButton
{
	padding: 2px;
	padding-left: 10px;
	padding-right: 10px;
	background-color: #000000;
	color: #FFFFFF;
}
@media (min-width: 1025px)
{
	#mapOverlay #languageSelectorMobile
	{
		display: none;
	}
}
#mapOverlay #userMapTutorial
{
	margin-top: 10px;
	padding: 20px;
	background-color: #535353;
	color: #FFFFFF;
}
#mapOverlay #signUpInfoContainer a
{
	text-decoration: none;
}
#mapOverlay #signUpInfoContainer #signUpInfo
{
	margin-top: 10px;
	padding: 20px;
	background-color: #f4c402;
	color: #FFFFFF;
}
#mapOverlay #signUpInfoContainer #signUpInfo h1
{
	margin: 0px;
	text-align: center;
}
#mapOverlay #partnerShowcase
{
	display: block;
	margin-top: 10px;
	padding: 20px;
	background-color: #FFFFFF;
	text-decoration: none;
}
#mapOverlay #partnerShowcase h1
{
	color: #171717;
}
#mapOverlay #partnerShowcase #partnerShowcaseCarusel
{
	height: 60px;
	padding: 5px;
	padding-top: 10px;
}
#mapOverlay #partnerShowcase #partnerShowcaseCarusel img
{
	position: relative;
	top: 100%;
	transform: translateY(-100%);
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
}
#mapOverlay #plantOverview a
{
	text-decoration: none;
}
#mapOverlay #plantOverview #plantOverviewLink
{
	margin-top: 10px;
	padding: 20px;
	background-color: #f4c402;
	color: #FFFFFF;
}
#mapOverlay #plantOverview #plantOverviewLink h1
{
	margin: 0px;
	text-align: center;
}
#mapOverlay #heatProductionSummary
{
	margin-top: 10px;
	padding: 20px;
	background-color: #535353;
	color: #FFFFFF;
}
#mapOverlay #heatProductionSummary #heatProductionValue
{
	font-size: 30px;
	line-height: 40px;
}

#sidePanel
{
	position: fixed;
	width: 100%;
	/* height: 100%; */
	top: 50px;
	bottom: 50px;
	left: -100%;
	overflow-x: hidden;
	transition: left 0.75s;
	background-color: #FFFFFF;
	z-index: 50;
}
@media (min-width: 1025px)
{
	#sidePanel
	{
		max-width: 720px;
		border-right: 1px solid #9F9F9F;
	}
}

#sidePanelContent
{
	margin: 20px;
	/* margin-bottom: 125px; */
}
#sidePanelContent h1, h2, h3
{
	color: #3B3B3B;
}

#bottomMenu
{
	position: fixed;
	width: 100%;
	height: 50px;
	padding: 0px;
	margin: 0px;
	bottom: 0;
	background-color: #535353;
	z-index: 80;
}
#bottomMenu a
{
	color: #FFFFFF;
}
#bottomMenu #bottomMenuButton
{
	font-size: 24px;
	line-height: 33px;
}
#bottomMenu #bottomMenuButton a {
	text-decoration: none;
}
#bottomMenu #bottomMenuButton a:hover
{
	color: #FFFFFF;
}
#bottomMenu #bottomMenuLegal
{
	float: right;
	color: #D6D6D6;
	line-height: 31px;
}
#bottomMenu #bottomMenuLegal #bottomMenuLegalExpanded
{
	display: none;
}
@media (min-width: 1025px)
{
	#bottomMenu #bottomMenuLegal #bottomMenuLegalExpanded
	{
		display: inline-block;
	}
}

#bottomMenuSlider
{
	position: fixed;
	width: 100%;
	height: auto;
	bottom: 50px;
	background-color: #535353;
	color: #FFFFFF;
	overflow: hidden;
	overflow-y: auto;
	transition: max-height 0.3s ease-in;
	max-height: 0;
	border-top: 1px solid #9F9F9F;
}
#bottomMenuSlider #bottomMenuSliderFirstPane, #bottomMenuSliderSecondPane, #bottomMenuSliderThirdPane
{
	width: 100%;
	margin-top: 10px;
	margin-bottom: 30px;
}
#bottomMenuSlider #bottomMenuSliderThirdPane
{
	margin-bottom: 0px;
}
@media (min-width: 1025px)
{
	#bottomMenuSlider #bottomMenuSliderFirstPane, #bottomMenuSliderSecondPane, #bottomMenuSliderThirdPane
	{
		float: left;
		width: 33.3%;
		margin-bottom: 20px;
		padding-right: 50px;
	}
	#bottomMenuSlider #bottomMenuSliderThirdPane
	{
		padding-right: 0px;
	}
}

.closeWindowButton
{
	position: absolute;
	float: right;
	top: 15px;
	right: 15px;
	font-size: 24px;
}
.closeWindowButton .fas
{
	color: #171717;
}

/* Map */
#map
{
	position: fixed !important;
	top: 50px;
	bottom: 50px;
	right: 0;
	left: 0;
	z-index: 10;
}

.ciw_title:hover{
	opacity:0.7;
}
.ciw_title{
	cursor:pointer;
}

.iw_title{
	margin-top:0;
	font-weight:bold;
}

.iw_datafield_value{
	text-align:right;
}

.gm-style-iw /* Remove border radious from info windows */
{
	border-radius: 0 !important;
	font-family: "Verdana","Arial" !important;
}
.gm-style-iw table
{
	font-size: 12px !important;
}
.gm-ui-hover-effect /* Remove close button in info windows */
{
	display: none !important;
}

/* Page elements */
#currentProductionPanel
{
	background-color: #535353;
	color: #FFFFFF;
	padding: 15px;
	margin-top: 15px;
}
#currentProductionPanel h2
{
	/* display: inline-block; */
	color: #FFFFFF;
	margin-top: 0px;
}

#historicalDataPanel
{
	background-color: #535353;
	color: #FFFFFF;
	padding: 15px;
	margin-top: 15px;
}
#historicalDataPanel h2
{
	display: inline-block;
	color: #FFFFFF;
	margin: 0px;
}
#historicalDataPanel h3
{
	color: #FFFFFF;
}
#historicalDataPanel div
{
	vertical-align: text-top;
}
#historicalDataPanel #filters
{
	margin-bottom: 20px;
}
#historicalDataPanel #filters:after
{
	content: "";
	clear: both;
	display: table;
}
#historicalDataPanel #filters h3
{
	margin-top: 20px;
}
#historicalDataPanel #filters .filterBox
{
	float: left;
	width: 33.3%;
	min-height: 40px;
	text-align: center;
}

#graphPanel
{
	margin-top: 15px;
}
#graphPanel a
{
	margin-bottom: 5px;
}

#graphBackground
{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0.7;
	z-index: 120;
	cursor: pointer;
}

#graphCanvasContainer
{
	display: none;
    position: fixed;
    /* height: 100%; */
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-top: 15px;
    box-sizing: border-box;
    flex-direction: column;
	background: #FFFFFF;
	z-index: 120;
}
#graphCanvasContainer h1{
	margin-top: 5px;
	text-align: center;
}

#graphCanvasSubContainerWrapper {
	position: relative;
    min-width: 50%;
	flex-grow: 1;
	overflow: hidden;
}

#graphCanvasSubContainer {
	position: relative;
    min-width: 50%;
	height: 100%;
    overflow-x: auto;
    padding-bottom: 15px;
}

#graphCanvasSubSubContainer {
	min-width: 100%;
	height: 100%;
}

#graphCanvasSubContainerWrapper > canvas {
   position: absolute;
   pointer-events:none;
}

#graphCanvasSubContainerWrapper > canvas#graphCanvas-axis {
   left: 0;
   top: 0;
}
#graphCanvasSubContainerWrapper > canvas#graphCanvas-axis-right {
   right: 0;
   top: 0;
}

#js-legend{
	display:inline;
	text-align:center;
	margin:0 auto;
}

#js-legend ul{
	list-style-type:none;
	padding:0;
}

#js-legend ul li::selection{
	background:none;
}

#js-legend ul li{
	display:inline-block;
	cursor: pointer;
}

#js-legend li span{
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 15px;
    margin-right: 5px;
}

#js-legend .strike{
	text-decoration:line-through;
}

#measurementsTable td{
	border-top:1px solid #666;
}

@media (min-width: 1025px)
{
	#graphCanvasContainer
	{
		max-width: 90vw;
		max-height: 90vh;
	}
}

/* // Before test
#graphCanvasContainer
{
	display: none;
	position: fixed;
	height: 100%;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #FFFFFF;
	padding-top: 15px;
	padding-bottom: 15px;
	z-index: 120;
	box-sizing: border-box;
	overflow-x:scroll;
}
#graphCanvasContainer h1{
	margin-top: 5px;
	text-align: center;
}


#graphCanvasSubSubContainer{
	overflow-x:scroll;
	height:100%;
}

#graphCanvasSubContainer{
	height:100%;
	width:5000px;
	padding-bottom:25px;
}
*/

/* Animations */
.loading
{
	border: 2px solid #FFFFFF;
	border-radius: 50%;
	border-top: 2px solid #535353;
	border-bottom: 2px solid #535353;
	width: 15px;
	height: 15px;
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
}

@-webkit-keyframes spin
{
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin
{
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.stom-page-seperator{
	background-color:#535353;
	height:4px;
	width:100%;
	display:block;
	margin-top:15px;
	margin-bottom:10px;
}

.stom-page-seperator.platform-1{
	background-color: #f4c402;
}

.stom-page-seperator.platform-2{
	background-color:rgb(12, 111, 158);
}

.stom-page-seperator.platform-3{
	background-color:#d70a0a;
}

.partner-wrap{
	display:block;
	margin-top:20px;
	margin-bottom:40px;
}

.partner-text-wrap{
	width:70%;
	display:inline-block;
	padding-left:15px;
}

.partner-logo-wrap{
	width:30%;
	display:inline-block;
}

.partner-logo{
	width:100%;
	margin-bottom:10px;
}
.toggle-filters{
	cursor:pointer;
	padding-bottom: 7px;
    padding-top: 7px;
	text-transform: uppercase;
}



/* Oversigt styling */

/*
.plant-overview-wrapper table {
	border-spacing: 0 !important;
    border: 2px solid #000;
}
*/

.plant-overview-wrapper table tr td:nth-child(3),
.plant-overview-wrapper table tr td:nth-child(4) {
	text-align: center;
}

.plant-overview-wrapper table tr:not(:last-of-type) td {
	border-bottom: 2px solid #95B3D7;
}

.plant-overview-wrapper table tr.tr-header-overview th {
	border-bottom: 2px solid #000;
	background-color: #D9D9D9;
	font-weight: 800;
	text-align: center;
	padding: 10px 8px;
}

.plant-overview-wrapper table tr.tr-header-overview th:nth-child(1) {
	width: 30%;
}

.plant-overview-wrapper table tr.tr-header-overview th:nth-child(3) {
	width: 30%;
}

.plant-overview-wrapper table tr.tr-header-overview th:nth-child(4) {
	width: 20%;
}

.plant-overview-wrapper table tr.tr-header-titles th {
	background-color: #4F81BD;
	color: #fff;
	font-weight: 800;
	border-bottom: 2px solid #95B3D7;
}

.plant-overview-wrapper table tr.tr-header-titles th:nth-child(3),
.plant-overview-wrapper table tr.tr-header-titles th:nth-child(4) {
	text-align: center;
}

.plant-overview-wrapper table tr:nth-child(odd) {
	background-color: #DCE6F1;
}

.plant-overview-wrapper table tr:nth-child(even) {
	background-color: #fff;
}

.plant-overview-wrapper table tr th, 
.plant-overview-wrapper table tr td
{
	padding-left: 5px;
	padding-right: 15px;
	vertical-align: top;
	font-size: 11px;
}
.plant-overview-wrapper table th
{
	font-style: normal;
}

/* END Oversigt styling */

/* Filtre styling */

#map-filter.filter-wrapper .filters {
	/* padding: 20px; */
	position: relative;
}

#map-filter.filter-wrapper .filters .filter-items {
	/*display: grid;*/
	display: flex;
	justify-content: center;
	/*grid-template-columns: 1fr 1fr 1fr 1fr;*/
	grid-column-gap: 20px;
	padding: 10px 20px 20px;
	position: absolute;
    left: -300%;
}

#map-filter.filter-wrapper .filters .filter-items > div {
	
}

#map-filter.filter-wrapper .filters .filter-items > div > label {
	font-size: 10px;
}

#map-filter.filter-wrapper .filters .filter-items > div > .slider-range {
	max-width: 155px;
	margin: 10px auto 0;
}

#map-filter.filter-wrapper .filters .filter-items > div > .slider-range .ui-slider-handle,
#map-filter.filter-wrapper .filters .filter-items > div > .slider-range .ui-slider-handle.active {
	background-color: #0C6F9E;
}

/* END Filtre styling */


@media screen and (max-width: 767px) { 
	#map-filter.filter-wrapper .filters .filter-items {
		left: inherit;
		position: static;
		flex-wrap: wrap;
		/*flex-direction: initial;*/
		display: grid;
	}
	
	#map-filter.filter-wrapper .filters .filter-items > div {
		width: 100%;
	}
	
	
	
}


@media screen 
	and (min-device-width: 480px)
	and (max-device-width: 767px) 
	and (-webkit-min-device-pixel-ratio: 1) { 
		#map-filter.filter-wrapper .filters .filter-items {
			grid-template-columns: 1fr 1fr;
		}
		
		#map-filter.filter-wrapper .filters .filter-items > div select,
		#map-filter.filter-wrapper .filters .filter-items > div input {
			width: 100%;
		}
		
		#map-filter.filter-wrapper .filters .filter-items > div > .slider-range {
			max-width: 85%;
		}
}

@media screen and (max-width: 479px) {
	#map-filter.filter-wrapper {
		max-width: none;
		width: 100%;	
	}
	
	#map-filter.filter-wrapper .filters {
		width: 100%;
	}
	
	#map-filter.filter-wrapper .filters .toggle-filters {
		width: 100% !important;
		text-align: center;
	}
	
	#map-filter.filter-wrapper .filters .filter-items {
		grid-template-columns: 1fr;
	}
	
	#map-filter.filter-wrapper .filters .filter-items > div {
		margin-bottom: 10px;
	}
	
	#map-filter.filter-wrapper .filters .filter-items > div > select,
	#map-filter.filter-wrapper .filters .filter-items > div > input	{
		width: 100%;
	}
	
	#map-filter.filter-wrapper .filters .filter-items > div > .slider-range {
		max-width: 93%;
	}
}

@media screen and (max-width: 475px) {
	.plant-overview-wrapper table tr th,
	.plant-overview-wrapper table tr td	{
		font-size: 8px;
		line-height: 1.25;
	}
}

@media screen and (max-width: 375px) {
	.plant-overview-wrapper table tr th,
	.plant-overview-wrapper table tr td	{
		font-size: 6px;
		line-height: 1.25;
	}
	#mapOverlayMenuButton .menu-text{
		display:none;
	}
}

@media screen and (max-width: 320px) {
	.plant-overview-wrapper table tr th,
	.plant-overview-wrapper table tr td {
		font-size: 6px;
	}
}

.filter-wrapper {
	z-index: 40;
	position: absolute;
	top: 50px;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	width: 700px;
	max-width:100vw;
}

.filter-wrapper .filters{
	display:inline-block;
	text-align:center; 
	background-color:rgba(0,0,0,0.7);
	color:#fff;
	width: 100%;
}
.filter-wrapper .filters .filter-item{
	display:inline-block;
	padding:5px;
}

#dateFrom,
#dateTo{
	text-align:center;
}

.datepicker-wrapper{
	display:inline-block;
	position: relative
}
.datepicker-wrapper:after{
	font-family: 'Font Awesome 5 Free';
	content: '\f073';
	position: absolute;
    top: 6px;
    right: 6px;
    bottom: 6px;
	color:#000;
	font-size:15px;
	pointer-events: none;
}

.language_selector .lang-item{
	display:inline;
}

#measurementsTable tr.has_error{
	position:relative;
}
#measurementsTable tr.has_error td:first-child:before {
    content: "! ";
	color:red;
	position:absolute;
	left:-5px;
}

body{
	--repop-element-distance-bottom:5em;
}