/************************************************************************************
smaller than 980
*************************************************************************************/
@media screen and (max-width: 980px) {


	/* pagewrap */
	.pagewrap {
		width: 100%;
	}

	#header {
		height: 100px;
	}

	/* content */
	#content {
		width: auto;
		padding: 3% 4%;
	}

	h1 {
			text-align: center;
	}

	.subh1 {
		font-size: 18px;
		text-align: center;
	}

	h2 {
		text-align: center;
	}

	h3 {
		text-align: center;
	}

	.calendar-container {
		justify-content: center;
	}

	/* embedded videos */
	.video embed,
	.video object,
	.video iframe {
		width: 100%;
		height: auto;
		min-height: 300px;
	}

}

/************************************************************************************
smaller than 650
*************************************************************************************/
@media screen and (max-width: 800px) {

	.pagewrap {
		width: 100%;
	}

	/* header */
	#header {
		height: 90px;
	}

	#content {
		width: auto;
		margin: 0px 0;
	}

	/* embedded videos */
	.video embed,
	.video object,
	.video iframe {
		min-height: 250px;
	}

	small {
		font-size: 12px;
	}

	td {
		font-size: 14px;
	}

	.maintablefont {
		font-size: 17px;
	}

	.symbolimage {
		width: 32px;
		height: 32px;
	}

	.coinimgcell {
		text-align: center;
		vertical-align: middle;
		width: 32px;
		padding-right: 0px;
	}
}

/************************************************************************************
smaller than 560
*************************************************************************************/
@media screen and (max-width: 480px) {

	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}

	#header {
		height: 70px;

	}

	.rightalign {
		width: 50%;
		text-align: left;
	}

	.logoimg {
		display: block;
	}

	.maintablefont {
		font-size: 14px;
	}

	h1 {
		font-size: 32px;
		text-align: center;
	}

	.subh1 {
		font-size: 18px;
		text-align: center;
	}


}