/* Encorp Pacific (Canada) Return-It 101 School Teacher's Dashboard Sub CSS */
/* Last Updated: 2023.07.24 ET */

@import url('encp_ris.css');

section.stats {
	display: inline-block;
	position: relative;
	width: 410px;
	height: 450px;
	background: url('/images/encp_ris101_border_chalk_410x450.png') no-repeat center center;
	background-size: contain;
	padding: 2em;
	margin: 1em;
	vertical-align: top;
}

section.stats > h3 {
	max-width: 10em;
}

section.stats > p.sum {
	position: absolute;
	top: 54%;
	left: 50%;
	margin: 0;
	margin-right: -50%;
	transform: translate(-50%, -50%);
	font-size: 3rem;
	line-height: 1;
}

p.sum > img {
	position: relative;
	vertical-align: middle;
	top: -10px;
	margin-right: 5px;
}

section.stats > table.containers {
	position: absolute;
	top: 52%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);
}

section.depotmap {
	position: relative;
	overflow: hidden;
	max-width: 100%;
	height: 100vh;
	background-color: rgb(172,188,200);
}

section.depotmap > * {
	z-index: 300;
}

table.containers {
	border-spacing: 0;
}

table.containers td {
	text-align: left;
	vertical-align: middle;
	padding: 2px 8px;
}

/* table.containers td.icon {
	width: 62px;
} */

/* table.containers td.icon img {
	display: block;
} */

table.containers td.icon {
	text-align: center;
}

@media (max-width: 1420px) {

	section.stats {
		width: 276px;
		background: url('/images/encp_ris101_border_chalk_276x450.png') no-repeat center center;
		padding: 2em 1em;
	}

	section.stats > p.sum {
		font-size: 2.6rem;
	}

	p.sum > img {
		transform: scale(0.8);
		top: -5px;
		margin-right: 0;
	}

	table.containers {
		max-width: 260px;
	}

}

@media (max-width: 500px) {

	section.stats {
		margin: 0.5em 0em;
	}

	section.stats:first-of-type {
		margin-top: 1.5em;
	}

	#reportcard {
		padding: 3em 10px 2em;
	}

}

table.collection {
	border-spacing: 0;
	margin: 2.5em auto;
}

table.collection th {
	text-align: left;
	padding: 0 0.5em;
}

table.collection td.icon {
	text-align: center;
}

table.collection a.button,
table.collection a.button:visited {
	padding-left: 0.7em;
	padding-right: 0.7em;
}

table.collection input[type="text"] {
	width: 24em;
}

form > p {
	text-align: center;
}

input[name="TotalRefund"] {
	width: 32em;
}

@media (max-width: 700px) {

	table.collection input[type="text"] {
		width: 4em;
	}

	input[name="TotalRefund"] {
		width: 13em;
	}

}

@media (max-width: 400px) {

	table.collection th {
		max-width: 6em;
		font-size: 0.8em;
		line-height: 1.1;
	}

	table.collection td.icon {
		padding-left: 0;
		padding-right: 0;
	}

}

article > aside {
	text-align: center;
	font-size: 1.2em;
	line-height: 1.2;
}

article > aside > p {
	display: inline-block;
	position: relative;
	width: 46%;
	text-align: left;
	padding: 0 20px 0 40px;
	vertical-align: top;
}

article > aside > p > img {
	position: absolute;
	left: 0;
}

/* Map for Depots Near Your School */

.iw {
	margin-top: 8px !important;
	margin-bottom: 8px;
}

h3.iw {
	font-size: 18px !important;
}

ul.iw.pgms {
	list-style: none;
	background-color: rgb(244,245,250);
	border-radius: 4px;
	text-align: center;
	padding: 16px 0;
	margin: 16px 0;
}

ul.iw.pgms > li {
	display: inline-block;
	text-align: center;
	padding: 0;
	margin: 0 4px 6px;
}

img.pgmicon {
	display: block;
	width: 80px;
	height: auto;
	margin-bottom: 2px;
}

div.iw {
	margin-bottom: 16px;
}

div.iw.state {
	font-weight: bold;
	margin-bottom: 32px;
}

div.iw > b {
	padding-left: 0.3em;
}

.iw.cta {
	text-align: center;
}

a.button.dtls,
a.button.dtls:visited,
a.button.dirs,
a.button.dirs:visited {
	display: inline-block;
	color: white;
	font-size: 14px;
	line-height: 1;
	padding: 8px 16px;
	border-radius: 4px;
	margin: 0;
	box-shadow: none;
}

a.button.dtls,
a.button.dtls:visited {
	background-color: rgb(249,158,28);
}

a.button.dirs,
a.button.dirs:visited {
	background-color: rgb(34,67,156);
}

/* Marker label which contains fontFamily "Arctic" in JS */
div[style*="Arctic"] {
	text-shadow: 1px 1px #ffffff, -1px 1px #ffffff, -1px -1px #ffffff, 1px -1px #ffffff;
}

#map_canvas {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 200;
}
