﻿
body {
	margin: 0;
	padding: 0;
}

#map {
	height: 600px;
	width: 100%;
	margin-bottom: 20px;
}

.mapboxgl-popup {
	max-width: 800px;
	max-height: 60%;
	overflow-y: scroll;
	overflow-x: scroll;
}

.mapboxgl-popup-content {
	text-align: left;
	font-family: "Open Sans", sans-serif;
}

.forecast-title {
	font-weight: 500;
	text-align: left;
	font-size: 24px;
	padding-bottom: 20px;
}

.forecast-content {
	text-align: left;
}

.forecast-author {
	padding-top: 20px;
	font-weight: 500;
	text-align: left;
}

.forecast-date {
	text-align: left;
	padding-bottom: 20px;
}

.hailmap-nomap {
	padding: 20px;
	font-weight: 500;
	font-size: 16px;
}

.alert-header {
	height: 20px !important;
	font-size: 12px !important;
	padding: 5px !important;
}

.alert-head {
	text-transform: capitalize;
	color: var(--psi-palliser-green);
	background-color: var(--psi-grey);
	padding-top: 5px;
	padding-bottom: 5px;
	margin-block-start: 10px;
	margin-block-end: 10px;
}

.alert-issued {
	font-size: 12px;
	color: #444;
}

.alert-desc {

}

.alert-instruct {
	font-weight: 600;
}

.map-container {
	position: relative;
}

.radar-legend {
	position: absolute;
	bottom: 20px;
	right: 10px;
}

.radar-slider-container {
	width: 100%;
}

.radar-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 10px;
	border-radius: 5px;
	background: #d3d3d3;
	outline: none;
	opacity: 1;
	-webkit-transition: .2s;
	transition: opacity .2s;
}

.radar-slider:hover {
	opacity: 1;
}

	.radar-slider::-webkit-slider-thumb {
		-webkit-appearance: none;
		appearance: none;
		width: 25px;
		height: 10px;
		border-radius: 5px;
		background: var(--psi-palliser-green);
		cursor: pointer;
	}

	.radar-slider::-moz-range-thumb {
		width: 25px;
		height: 10px;
		border-radius: 5px;
		background: var(--psi-palliser-green);
		cursor: pointer;
	}


.radar-item {
	display: inline-block;
	font: normal normal normal 14px / 1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	padding: 0rem 1rem
}

.radar-item-first::before {
	content: "\f049";
}

.radar-item-prior::before {
	content: "\f048";
}

.radar-item-play::before {
	content: "\f04b";
}

.radar-item-pause::before {
	content: "\f04c";
}

.radar-item-next::before {
	content: "\f051";
}

.radar-item-last::before {
	content: "\f050";
}

.radar-button {
	padding: 0.25rem 0.5rem;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	color: #fff;
	background-color: var(--psi-palliser-green);
	border: 1px solid var(--psi-palliser-green);
	border-radius: 0.25rem;
	display: inline-block;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}

	.radar-button:disabled {
		color: #fff;
		background-color: var(--psi-palliser-green);
		border: 1px solid var(--psi-palliser-green);
		opacity: 0.65;
		cursor: default;
	}

	.radar-button:hover {
		color: #fff;
		background-color: var(--psi-palliser-green-hover);
		border: 1px solid var(--psi-palliser-green-hover);
	}

	.radar-button:active {
		color: #fff;
		background-color: var(--psi-palliser-green);
		border: 1px solid var(--psi-palliser-green);
		box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	}

	.radar-button:focus {
		box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, .5);
	}

@media (max-width: 499px) {
	.radar-legend {
		width: 78px;
		height: 129px;
	}
}