.selectBox {
	position: relative;
	vertical-align: top;
	display: inline-block;
	text-align: center;
	width: 128px;
	height: 150px;
	margin: 3px;
	padding: 5px;
	box-shadow: 0 0 25px #785858 inset, 3px 3px #999;
	background-image: linear-gradient(135deg, white, #fed);
	cursor: pointer;
}

.selected {
	box-shadow: 0 0 25px #d89858 inset, 3px 3px #555;
	background-image: linear-gradient(135deg, white, #fed);
}


.selectBox canvas {
	max-height: 128px;
	max-width: 128px;
	/*border: 1px solid red;*/
}

.label {
	display: block;
	font-size: 16px;
	margin-top: 5px;
}

#tint {
	margin: 0;
	padding: 0;
	z-index: 1;
	position: absolute;
	background-color: black;
	opacity: 0.5;
	width: 100%;
	height: 100%;
}

#downloadOptions {
	z-index: 99;
	position: absolute;
	border: 1px solid black;
	box-shadow: 5px 5px #333;
	height: 450px;
	width: 600px;
	margin-left: calc(50vw - 300px);
	margin-top: calc(50vh - 225px);
	text-align: center;
	padding: 1%;
	transition: background-image 0.25s ease-in-out;
	background-image: linear-gradient(165deg, white 60%, #ddd);
}



#optionsHeader {
	position: relative;
	height: 45px;
	line-height: 45px;
	font-size: 25px;
	vertical-align: middle;
	text-decoration: underline;
}


#sizeTable {
	margin: 10%;
	text-align: center;
}


#closeButton {
	cursor: pointer;
	position: relative;
	top: -50px;
	right: -280px;
	display: inline-block;
	background-image: url("images/closeX.png");
	background-size: 32px 32px;
	background-repeat: no-repeat;
	background-position: center;
	width: 32px;
	height: 32px;
	padding: 5px;
}

#closeButton:hover {
	background-image: url("images/closeXfill.png");
}

#confirmDownload {
	width: 30%;
	height: 50px;
	margin: auto;
	margin-top: 15px;
	text-align: center;
	line-height: 50px;
	font-size: 20px;
	border: 1px solid black;
	background-color: #585858;
	box-shadow: 3px 3px #888;
	color: white;
	opacity: 0.4;
}

#canvas128 {
	height: 80px;
	width: 80px;
	margin-top: calc(50% - 40px);
	margin-bottom: calc(50% - 40px);
}

#canvas64 {
	height: 50px;
	width: 50px;
	margin-top: calc(50% - 25px);
	margin-bottom: calc(50% - 25px);
}

#canvas48 {
	height: 40px;
	width: 40px;
	margin-top: calc(50% - 20px);
	margin-bottom: calc(50% - 20px);
}

#canvas32 {
	margin-top: calc(50% - 16px);
	margin-bottom: calc(50% - 16px);
}

#canvas24 {
	margin-top: calc(50% - 12px);
	margin-bottom: calc(50% - 12px);
}

#canvas16 {
	margin-top: calc(50% - 8px);
	margin-bottom: calc(50% - 8px);
}

#canvas8 {
	margin-top: calc(50% - 4px);
	margin-bottom: calc(50% - 4px);
}