/* This file is changes by the customer Telge and contains comments for them to remember */

/* Font used on Telges homepage */
@font-face {
    font-family: 'StRyde-BoldItalic';
	src: url(https://www.telge.se/Static/Telge/Webfonts/2DF0EE_0_0.woff2) format('woff2'),
	url(https://www.telge.se/Static/Telge/Webfonts/2DF0EE_0_0.woff) format('woff'); /* IE11 supported font */
}

h2 {
	margin-top: 25px;
	font-weight: 500;
	line-height: 1.1;
	margin-bottom: 5px;
	font-size: 28pt;
	font-family: "StRyde-BoldItalic";
	color:  #333333;
}

html {
	height: 100%;
}

body {
	height: inherit;
	margin: 0px;
	font-family: "Arial", Sans-serif;
	color: #223344;
	/* background-color: rgb(242,242,238); */
}

/* Outer wrapping */

div.outer {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	width: 100%;
	margin: auto;
	background-color: rgb(255,255,255);
}

div.outagemap {
	width: inherit;
	/* padding: 20px;
	border-color: rgb(211,215,207);
	border-left-style: solid;
	border-right-style: solid; */
}

/* Disturbance information */

div#dinfoOuter {
	max-height: 450px;
	overflow-y: auto;
	overflow-x: hidden;
}

div.dinfoWrapper {
	background-color: rgb(242,242,238);
	font-weight: normal;
	font-size: 14pt;
	padding: 10px;
	margin: 5px;
	margin-right: 10px;
	border-style: solid;
	border-width: 1px;
	border-color: rgb(211,215,207);
}

div.dinfo {
	font-family: "StRyde-BoldItalic";
	font-size: 22pt;
	padding-left: 5px;
	padding-bottom: 5px;
	width: auto;
	color: #333333;
}

div.dinfoHeader {
	font-family: "StRyde-BoldItalic";
	background-size: 20px 20px;
	background-repeat: no-repeat;
	padding-left: 20px;
	padding-bottom: 5px;
	font-size: 12pt;
	font-weight: bold;
	color: #333333;
}

div.dinfoHeader#status1, #status2 {
	background-image: url("../images/information.png");
}

div.dinfoHeader#status3, #status4 {
	background-image: url("../images/warning.png");
}

div.dinfoHeader#status5 {
	background-image: url("../images/check2.png");
}

div.dinfoText {
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	color: #333333;
	font-size: 12pt;
	padding-top: 5px;
}
div.statTableOdd {
	width: 50%;
}

div.statTableEven{
	width: 50%;
	float: left;
}

/* Map legend */

div.legend {
	margin: 5px;
	margin-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

div.pin {
	background-size: 32px 32px;
	background-repeat: no-repeat;
	color: rgb(68,51,68);
	padding-left: 32px;
	padding-bottom: 5px;
	font-size: 10pt;
}

#red {
	float: left;
	background-image: url("../images/redpin.png");
}

#green {
	float: right;
	background-image: url("../images/greenpin.png");
}

/* Map */

div.mapWrapper {
	float: left;
	width: 100%;
}

div.map {
	border: 1px solid rgb(153,153,153);
	margin: 10px;
	height: 500px;
}

/* Statistics */

table {
	float: left;
	border-collapse: separate;
	border-spacing: 10px;
	border: 0px;
	width: 100%;
}

td div td {
	font-size: 14px;
	border-style: none;
	border-bottom-style: dotted;
	border-bottom-width: 1px;
	border-bottom-color: rgb(34,51,68);
}

th {
	color: rgb(0,0,0);
	border-radius: 10px;
	border: 1px solid rgb(211,215,207);
	padding: 10px;
	height: 15px;
}

th#statsFppHeader {
	background-color: rgb(242,242,238);
}

th#statsFpgasHeader {
	background-color: rgb(242,242,238);
}

th#statsFpdhHeader {
	background-color: rgb(242,242,238);
}

th#statsDpwawHeader {
	background-color: rgb(242,242,238);
}

th#statsOptoHeader {
	background-color: rgb(242,242,238);
}

th#statsSummeryHeader {
	background-color: rgb(242,242,238);
}

div.reset {
	clear: left;
	padding-left: 10px;
}

.container {
	display: inherit;
	width: 100px;
}

.activeRed {
	width: 14px;
	height: 14px;
	background-color: rgb(229,58,53);
}

.inactiveGreen {
	width: 14px;
	height: 14px;
	background-color: rgb(103,159,66);	
}

.plannedYellow {
	width: 14px;
	height: 14px;
	background-color: rgb(246,178,26);	
}

.legend p {
	margin: 0;
	font-size: 13px;
	padding-left: 10px;
}

.legend {
	display: flex;
}