body {
	margin: 0;
	min-height: 100vh;
}

#api-output {
	display: block;
	/*min-width: 570px;*/
	min-width: 700px;
	max-width: 750px;
	margin: auto;
	overflow-y: hidden;
}

.top-heading {
	display: block;
	max-width: 750px;
	margin: auto;
	color: #004791;
}

.top-contents {
	margin-top: -8px;
	min-width: 700px;
	/*max-width: 750px;*/
	width: 100%;
	height: 115px;
	background-color: #fff;
	/*margin-left: -8px;
    	margin-right: -8px;*/
}

.masthead {
	position: relative;
	top: 11;
	margin-left: 20%;
	float: left;
	width: 200px;
	display: block;
}

.mob-masthead {
	display: none;
	}

#title {
	font-size: 25px;
	line-height: 29px;
	/*font-family: Poppins;*/
	font-family: roboto;
	text-align: right;
	position: relative;
	top: 8;
	width: 220px;
	margin-right: 20%;
	float: right;	
}

#pressy {
	width: 130px;
	font-size: 15px;
	border-radius: 3px;
	line-height: 25px;
	font-family: roboto;
	color: fff;
	text-align: center;
	/*padding: 3px 0 3px 0;*/
	clear: both;
	margin: auto;
	position: relative;
	top: 11;
	border-top-left-radius: 7px 15px;
	border-bottom-left-radius: 7px 15px;
	border-top-right-radius: 7px 15px;
	border-bottom-right-radius: 7px 15px;
}

#press-region {
}

#last-update {
	margin: auto;
	text-align: center;
	margin-top: 13px;
	margin-bottom: 5px;
	clear: both;
	color: #004791;
	font-family: roboto;
	font-size: 14px;
}

.unit {
	max-width: 750px;
	min-width: 700px;
	text-align: center;	
	background-color: #333;
	color: #fff;
	cursor: default;
	padding-top: 0px;
	padding-bottom: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	z-index: 10;
	overflow: hidden;
}

.detail {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	/*width: 100%;*/
	margin-left: 15%;
	margin-right: 15%;
	
	background-color: #333;
	overflow-y: auto;
	overflow-x: hidden;
	max-height: 300px;
	font-family: Poppins;
	z-index: 1010;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

.info, .info-list, .info-list-mob {
	margin-bottom: -2px;
	padding: 0 15px 0 15px;
	font-size: 15px;
	line-height: 19px;
}

.info {
	margin-top: -9px;
}

.info-list {
	margin-top: 21px;
}

.area {
	font-size: 13px;
	line-height: 19px;
}

.station, .station2 {
	text-align: left;
	padding: 0 0 0 5px;
	}

.station {
	height: 30px;
	margin-top: 0;
	margin-bottom: 0;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #aeaeae;
}

.station2 {
	padding-bottom: 7px;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #ffbf00;
	position: relative;
	top: -6px;
}

.heading, .heading2 {
	font-size: 12px;
	font-family: 'Press Start 2P';
	color: #ffbf00;
}

.heading {
	line-height: 50px;
	height: 12px;
	position: relative;
	z-index: 1000;
	top: -9;
	padding-bottom: 8px;
	padding-top: 8px;
	padding-left: 5px;
	margin-left: -5px;
	background-color: #333;
}

.heading2 {
	display: block;
	text-align: center;
}

.notification {
	font-size: 7px;
	line-height: 30px;
	padding-left: 7px;
	padding-bottom: 15px;
	color: #f4f4f3;
	top: -1px;
	z-index: 5;
	font-family: 'Press Start 2P';
	overflow: hidden;
	margin-bottom: 40px;
}

.notif-inner {
	position: relative;
	bottom: 9px;
	width: 100%;
	font-size: 12px;
	line-height: 32px;
	text-align: center;
}

.control, .control2 {
	float: right;
	font-size: 25px;
	cursor: pointer;
	font-family: helvetica;
	position: relative;
	z-index: 1000;
}

.control {
	margin-top: -5px;
	padding-left: 8px;
	padding-right: 8px;
	background-color: #004791;
	color: #fff;
	position: relative;
	top: 5;
	right: 0;	
	line-height: 30px;
}

.control2 {
	background-color: #ee0000;
	color: #fff;
	font-size: 30px;
	padding-left: 11px;
	padding-right: 11px;
	padding-bottom: 2px;
	line-height: 27px;
	top: -22;
}

.control:hover {
	background-color: #0060c4;
}

.control2:hover {
	background-color: #ff5151;
}

#time-warning {
	width: 100%;
	text-align: center;
	font-family: helvetica;
	background-color: #004791;
	color: #fff;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	width: 100%;
	position: fixed;
	top: 10;
	height: 44px;
	line-height: 44px;
	font-size: 25px;
	z-index: 100;
	}

.too-soon {
	background-color: #aeaeae;
	cursor: default;
}

.good-to-go {
	background-color: #004791;
	cursor: pointer;
}

.good-to-go:hover {
	background-color: #0060c4;
}

/*#left-cover, #right-cover {
	background-color: #000;
	position: absolute;
	height: 100%;
	z-index: 2000;
}*/

footer {
	font-family: roboto;
	color: #fff;
	font-size: 8px;
	padding-top: 5px;
	min-height: 100vh;
	/*padding-bottom: 3px;*/
	position: relative;
	left: 0;
	bottom: 0;
	margin-top: -1px;
	clear: both;
	/*margin: 0;*/
	min-width: 700px;
	width: 100%;
	background-color: #004791;
	border-top: 1px solid #0060c4;
	z-index: 1000;
}

/* START OF MOBILE */

@media only screen and (max-width: 570px) {
	
	#api-output {
		min-width: 250px;
		max-width: 570px;
		margin-top: 53px;
	}

	.unit {
		min-width: 100px;
		width: 100%;
		margin-left: 0;
	}

	.top-contents {
		font-size: 21px;
		background-color: #fff;
		top: 0;
		left: 0;
		right: 0;
		min-width: 100px;
		max-width: 570px;
		height: 61px;
		position: fixed;
		z-index: 2000;
		background-color: #004791;
		/*border-bottom: 1px solid #fff;*/
	}
	
	.top-heading {
		min-width: 0;
		max-width: 570px;
	}

	#image-box {	
		min-width: 100px;
		display: block;
		/*background-color: #ee0000;*/
	}

	.masthead {
		display: none;
	}

	.mob-masthead {
		display: block;
		max-width: 80px;
		position: absolute;
		left: 0;
		margin: auto;
    		padding-bottom: 15px;
    		padding-left: 11px;
    		margin-top: 24px;
	}

	#press-region {
		/*clear: right;*/
		/*left: 33%;*/
		/*left: 50%;*/
		position: relative;
		right: -65%;
		width: 69%;
		height: 100%;
		background-color: #fff;
	}
	
	#title {
		padding-top: 20px;
		padding-bottom: 10px;
		padding-right: 9px;
		text-align: center;
		left: -35%;
		font-size: 11px;
		line-height: 16px;
		width: 88px;
		/*float: right;*/
		color: #fff;
		position: relative;
		top: 0;
		margin: auto;
		background-color: #004791;
	}

	#pressy {
		width: 25%;
		line-height: 26px;
		padding-top: 1px;
		padding-left: 0px;
		position: relative;
		top: -46;
		left: -24.5%;
		font-size: 12px;
	}

	.too-soon {
		background-color: #aeaeae;
		/*background-color: #333;*/
	}

	.good-to-go {
		background-color: #004791;
	}
	
	#last-update {
		width: 150px;
		/*clear: none;*/
		position: relative;
		top: -41;
		margin: auto;
		left: -24.5%;
		/*right: 8;
		float: right;*/
		text-align: center;
		font-size: 9px;
		color: #004791;
	}
	
	.station {
		height: 36px;
		/*text-align: center;*/
	}
	
	.station2 {	
		padding-bottom: 0;
		margin-bottom: -2px;
	}

	.info {	
		padding-top: 15px;
		margin-bottom: -3px;
	}
	
	.info-list-mob {
		padding-top: 6px;
		margin-bottom: -3px;
	}

	.notif-inner {
		position: relative;
		top: -3;
		width: 150px;
		display: block;
		font-size: 8px;
		line-height: 0px;
	}

	.heading {
		font-size: 8px;
		width: 100%;
		text-align: left;
		margin-top: 0;
		top: -5;
		margin-left: 2px;
		line-height: 0px;
		padding-bottom: 0px;
	}
	
	.heading2 {
		position: relative;
		/*top: -1px;*/
		font-size: 10px;
		margin-left: 2px;
		margin-bottom: 0;
		line-height: 9px;
		padding-bottom: 9px;
	}

	.control {
		position: relative;
		right: 0;
		margin-top: -5px;
		padding-top: 1px;	
		line-height: 35px;
	}
	
	.control2 {
		height: 26px;
		padding-top: 2px;
		padding-right: 10px;	
		padding-bottom: 2px;
		top: -30;
	}

	.detail {
		margin-left: 0;
		margin-right: 0;
		z-index: 2500;
		border-left: none;
		border-right: none;
		width: 100%;
		max-height: 500px;
		/*border-bottom: 1px solid #fff;*/
	}

	#time-warning {
		z-index: 5000;
		font-size: 15px;
		padding-top: 2px;
	}

	footer {
		min-width: 50px;
		max-width: 570px;
		min-height: 40vh;
	}

}

/* END OF MOBILE */