﻿.main-content{
  background:#fff; -ms-grid-row:3; -ms-grid-row-span: 1; -ms-grid-column:1; -ms-grid-column-span:3; grid-area:main-content;
  -ms-grid-rows: min-content min-content min-content;
  -ms-grid-columns: 50% 50%;
  grid-template-rows: min-content min-content min-content;
  grid-template-columns: 50% 50%;
  grid-template-areas:
    "message message" "data chart" "additional additional";
  margin:0; padding:10px; border:none;
  padding-top:30px;
  z-index:0;
  overflow: hidden;
}

.message {
	background: #eee;
	-ms-grid-row: 1;
	-ms-grid-row-span: 1;
	-ms-grid-column: 1;
	-ms-grid-column-span: 2;
	grid-area: message;
	height: auto;
	min-height: 0;
	padding: 20px;
	margin: 3px;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: normal;
	font-weight: normal;
	color: #111;
	line-height: 1.5;
}

.data {
	background: #efefef; /*#f8eccc;*/
	-ms-grid-row: 2;
	-ms-grid-row-span: 1;
	-ms-grid-column: 1;
	-ms-grid-column-span: 1;
	grid-area: data;
	height: auto;
	min-height: 0;
	padding: 20px;
	margin: 3px;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: normal;
	font-weight: normal;
	color: #111;
	line-height: 1.5;
}

.chart {
	background: #efefef;
	-ms-grid-row: 2;
	-ms-grid-row-span: 1;
	-ms-grid-column: 2;
	-ms-grid-column-span: 1;
	grid-area: chart;
	height: auto;
	min-height: 0;
	padding: 20px;
	margin: 3px;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: normal;
	font-weight: normal;
	color: #111;
	line-height: 1.5;
}

.additional {
	background-color: #efefef;
	-ms-grid-row: 3;
	-ms-grid-row-span: 1;
	-ms-grid-column: 1;
	-ms-grid-column-span: 2;
	grid-area: additional;
	height: auto;
	min-height: 0;
	padding: 20px;
	margin-bottom: 5px;
	margin: 3px;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: normal;
	font-weight: normal;
	color: #111;
	line-height: 1.5;
}

.chart a {
	line-height:150%;
	color:#222;
	 font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: normal;
	font-weight: normal;
	text-decoration:none;
}

.chart a:hover {
	color:fuchsia;
	font-weight:bold;
	transition: .25s;
}

.button-container {
	padding-top: 20px;
}

.button-1 {
	height: 34px;
	width: 200 px;
	font-size: 16px;
	font-weight: bold;
}

.button-4 {
	margin: 0;
	padding: 0;
	height: 35px;
	width: 100%;
	min-width: 100px;
	min-height: 35px;
	background-color: #3c3;
	color: #fff;
	font-weight: bold;
}

	.button-4:hover {
		background-color: #5a5;
		color: #fff;
	}

.InvoiceContainer {
	float: left;
	max-height: calc(100% - 50px);
	height: 100%;
	margin-top: 15px;
	width: 100%;
	padding: 3px;
	margin: 5px;
	background: #555;
}

.InvoiceContent {
	height: 100%;
	display: block;
	overflow-y: scroll;
	background: #eee;
}

.chart a:hover {
	color: fuchsia;
	font-weight: bolder;
	transition: .25s;
}

.info-tab1, .info-tab2, .info-tab3, .info-tab4, .info-tab5 {
	border-radius: 10px;
	margin: 10px;
	display: grid;
	grid-template-rows: 50px auto auto 60px;
	grid-template-columns: 100%;
	line-height: 1.35;
	text-align: left;
	color: rgba(50,50,50,1);
	background-color: rgba(255, 255, 255, 1);
	-webkit-box-shadow: -2px 2px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: -2px 2px 5px 0px rgba(0,0,0,0.75);
	box-shadow: -2px 2px 5px 0px rgba(0,0,0,0.75);
	z-index: 100;
	grid-column-end: span 1;
	grid-row-start: 1;
	grid-row-end: span 1;
}

.info-tab {
	margin-left: 0px;
	margin-right: 0px;
	grid-template-rows: auto;
	grid-template-columns: 25% 25% 25% 25%;
	display: grid;
	
}

.info-tab1 {
	grid-column-start: 1;
	
}

.info-tab2 {
	grid-column-start: 2;
	
}

.info-tab3 {
	grid-column-start: 3;
	
}

.info-tab4 {
	grid-column-start: 4;
	
}

.start {
	z-index: 100;
	margin: 10px;
	margin-left: auto;
	margin-right: auto;
	display: block;
	height: 35px;
	border: 1px solid grey;
	border-radius: 5px;
	background-color: rgba(255, 255, 255, 0);
	color: white;
	font-family: sans-serif;
	font-weight: bold;
	border-radius: 5px;
	transition: background-color 1000ms, color 1000ms;
	font-size: 22px;
}

	.start:hover {
		background-color: rgba(255, 255, 255, 1);
		color: #222;
		cursor: pointer;
		transition: background-color 1000ms, color 1000ms;
	}

.link-button {
	list-style: none;
	width: 100%;
}

.link-button li {
	width: 50%;
	float: left;
}

@media (max-width: 1100px) {
	.main-content {
		-ms-grid-rows: min-content min-content min-content min-content;
		-ms-grid-columns: 1fr;
		grid-template-rows: min-content min-content min-content min-content;
		grid-template-columns: 1fr;
		grid-template-areas: 
			"message"
			"data" 
			"chart"
			"additional";
	}
	.message {
		-ms-grid-row: 1;
		-ms-grid-row-span: 1;
		-ms-grid-column: 1;
		-ms-grid-column-span: 1;
	}
	.data {
		-ms-grid-row: 2;
		-ms-grid-row-span: 1;
		-ms-grid-column: 1;
		-ms-grid-column-span: 1;
	}

	.chart {
		-ms-grid-row: 3;
		-ms-grid-row-span: 1;
		-ms-grid-column: 1;
		-ms-grid-column-span: 1;
	}
	.additional {
		-ms-grid-row: 4;
		-ms-grid-row-span: 1;
		-ms-grid-column: 1;
		-ms-grid-column-span: 1;
	}
	.InvoiceContainer {
		max-height: 300px;
	}

	.InvoiceContent {
		max-height: 296px;
	}

	.info-tab {
		grid-template-rows: auto auto;
		grid-template-columns: 50% 50%;
	}

	.info-tab3 {
		grid-column-start: 1;
		grid-row-start: 2;
	}

	.info-tab4 {
		grid-column-start: 2;
		grid-row-start: 2;
	}
}

.overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	transition: opacity 500ms;
	visibility: hidden;
	opacity: 0;
	z-index: 1000;
}

	.overlay:target {
		visibility: visible;
		opacity: 1;
	}

.popup {
	margin: auto;
	margin-top: 30%;
	padding: 16px;
	background: #eee;
	border-radius: 5px;
	width: 400px;
	height: auto;
	position: relative;
	transition: all 5s ease-in-out;
}

	.popup h2 {
		margin-top: 0;
		color: #333;
		font-family: Tahoma, Arial, sans-serif;
	}

	.popup .close {
		position: absolute;
		top: 14px;
		right: 20px;
		transition: all 200ms;
		font-size: 30px;
		font-weight: bold;
		text-decoration: none;
		color: #333;
	}

		.popup .close:hover {
			color: #06D85F;
		}

	.popup .content {
		color: #555;
		font-size: 18px;
		overflow: auto;
		width: 400px;
		margin-left: auto;
		margin-right: auto;
	}

@media screen and (max-width: 700px) {
	.box {
		width: 70%;
	}

	.popup {
		width: 400px;
	}
	
	.info-tab {
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
		grid-template-rows: auto auto auto auto;
		grid-template-columns: 100%;
	}

	.info-tab2 {
		grid-column-start: 1;
		grid-row-start: 2;
	}

	.info-tab3 {
		grid-column-start: 1;
		grid-row-start: 3;
	}

	.info-tab4 {
		grid-column-start: 1;
		grid-row-start: 4;
	}
}

.radio-toolbar1, .radio-toolbar2 {
	margin-top: 20px;
	width: 100%;
	display: inline-block;
	margin-left: auto;
	text-align: center;
}

.radio-toolbar2 {
	width: 400px;
}

	.radio-toolbar1 input[type="radio"] {
		opacity: 0;
		position: fixed;
		display: list-item;
		padding-top: 10px;
	}

	.radio-toolbar2 input[type="radio"] {
		opacity: 0;
		position: fixed;
		display: float;
		padding-top: 10px;
		
	}

	.radio-toolbar1 label, .radio-toolbar2 label {
		display: inline-block;
		background-color: #666;
		color: #eee;
		margin-top: 7px;
		font-family: sans-serif, Arial;
		border: 2px solid #444;
		border-radius: 3px;
		padding-top: 9px;
		padding-bottom: 9px;
	}

	.radio-toolbar1 label {
		font-size: 15px;
		display: block;
		margin-left: auto;
		margin-right: auto;
		
	}

	.radio-toolbar2 label {
		display: inline-block;
		font-size: 16px;
		padding-left:3px;
		padding-right:3px;
	}

	label#labelOnce {
		margin-left: 0;
		width: 184px;
		margin-right: 3px;
	}

	label#labelAbo {
		width: 184px;
		margin-right: 0;
		margin-left: 3px;
	}

	.radio-toolbar2 label {
		width: auto;
		width: 140px;
		text-align: center;
	}

	.radio-toolbar1 label:hover:enabled {
		background-color: #888;
		color: #ddd;
	}

	.radio-toolbar1 input[type="radio"]:focus + label {
		border: 2px solid #444;
	}

	.radio-toolbar1 input[type="radio"]:checked + label {
		background-color: #c63;
		border-color: #b33;
		color: #ddd;
		font-weight: bold;
	}

	.radio-toolbar2 label:hover:enabled {
		background-color: #ddf;
	}

	.radio-toolbar2 input[type="radio"]:focus + label {
		border: 2px solid #444;
	}

	.radio-toolbar2 input[type="radio"]:checked + label {
		background-color: #c63;
		border-color: #b33;
		color: #ddd;
		font-weight: bold;
	}

.radio-toolbar1 label:enabled, .radio-toolbar2 label:enabled {
	background-color: #eee;
	color: #555;
}

.button-3 {
	display: inline-block;
	margin-top: 35px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}

.submit-container {
	text-align: center;
}