* {
    box-sizing: border-box;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	text-align:center;
	margin:0;
	color:#0f2e67;
}

html, body {
	/*min-height:100%;*/
}

#wrap {
	width: 100%;
	height:100%;
	//border:2px dotted green;
	display: flex;
	flex-direction: column;
	/*the below allows the color button to be offscreen and not scrollable*/
	/*overflow: hidden;
	position: fixed;*/
}

#heading {
	min-height:50px;
	line-height:50px;
	background:#0f2e67;
	//border:5px dotted red;
}

h1 {
	color:#ffffff;
	font-size:15pt;
	display:block;
	vertical-align:middle;
	//border:1px solid pink;
}

#datehead {
	/*height:30px;
	line-height:30px;*/
	background:#0f2e67;
	color:#ffffff;
	margin:0 auto;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	display:none;
	padding:20px 0;
	//border:1px solid orange;
}

#dateform {
	display:inline-block;
	vertical-align:middle;
}

#datehead .forminput {
	border:1px solid #4a4a4a;
	width:60%;
	border-radius:2px;
}

#datehead .formsubmit {
	//border:1px solid #4a4a4a;
	margin-left:5px;
	background:#fbf14b;
	border-radius:2px;
}

#help {
	font-size:6pt;
	font-weight:bold;
	color:#ffffff;
	margin:4px
}

.help {
	font-size:6pt;
	margin-bottom:5px;
	//border:1px solid blue;	
}

#heading, #datehead, #today, #content {
	z-index: 101;
}

#contentwrap {
	/*padding:5px 0;*/
	//border:2px solid red;
	flex: 1;
	display: flex;
	flex-direction: column;
}

#content {
	width:100%;
	//border-top:3px solid #0f2e67;
	//border-bottom:3px solid #0f2e67;
	/*border-radius:5px;*/
	margin:25px auto 0 auto;
	font-size:13pt;
	overflow:hidden;
}

.row {
	display:flex;
	flex-direction:row;
	//padding:6px 0;
	//margin:2px;
	//border:1px solid navy;
}

.bold {
	font-weight:bold;
}

.name, .namebold {
	width:50%;
	text-align: right;
	//padding-right: 10px;
	padding:6px 10px 6px 0;
	border-right:2px solid #0f2e67;
}

.time, .timebold {
	width:50%;
	text-align: left;
	//padding-left: 10px;
	padding:6px 0 6px 10px;
	border-left:2px solid #0f2e67;
}

/*.timebold, .namebold {
	font-weight:bold;
}*/

#nav-buttons {
	flex-grow: 1;
	display: flex;
	flex-direction: row;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}

#prev, #next {
	width:50%;
	flex-grow: 1;
	//border:5px solid black;
}

#prev {
	background:url(prev.png);
	//background-position:center;
	background-position:50% 92%;
	background-repeat:no-repeat;
}

#next {
	background:url(next.png);
	//background-position:center; 
	background-position:50% 92%;
	background-repeat:no-repeat;
}

#today {
	position: fixed;
	//bottom: 25;
	bottom: 4%;
	margin:25px auto; /*look at this*/
	//width:60px;
	padding:15px;
	background:#0f2e67;
	border:1px solid #0f2e67;
	color:#ffffff;
	//border-radius:5px;
	display:none;
}

.pressed {
	-moz-box-shadow: 3px 3px 2px #0f2e67;
	-webkit-box-shadow: 3px 3px 2px #0f2e67;
	box-shadow: 3px 3px 2px #0f2e67;
}

#colorwrap {
	//position: absolute;
	//bottom:-50px;
	background:#0f2e67;
	border:1px solid #0f2e67;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	padding:10px;
	z-index: 1000;
	//transition: bottom 0.5s;
	margin: 0 auto;
	display: none;
}

#color-dark, #color-main {
	width:25px;
	height:25px;
	background:#000;
	//border:1px solid #F9F06A;
}

#color-main {
	display: none;
}

@media only screen and (min-width: 285px) {

	#content {
		width:60%;
	}

}

@media only screen and (min-width: 520px) {

	h1 {
		font-size:18pt;
	}

	#heading {
		min-height: 70px;
		line-height:70px;
	}

	#datehead {
		padding:15px 0;
	}

	#content {
		margin:35px auto 0 auto;
		width: 400px;
		font-size:14pt;
		//z-index: 100;
		border:3px solid #0f2e67;
	}

	.row {
		margin:3px;
	}

	.name, .namebold, .time, .timebold {
		padding: 7px;
		border: 0;
	}

	.name, .namebold {
		text-align: left;
	}

	.time, .timebold {
		text-align: right;
	}

	#today {
		padding:20px;
		font-size:14pt;
		margin: 35px auto;
		position: static;
	}

	#nav-buttons {
	}

	#prev {
		background:url(prev.png);
		background-position:8% 92%;
		background-repeat:no-repeat;
	}

	#next {
		background:url(next.png);
		background-position:92% 92%;
		background-repeat:no-repeat;
	}
}

@media only screen and (min-width: 1024px) {

	#content {
		margin:45px auto;
		width: 650px;
		font-size:14pt;
		//z-index: 100;
	}

	.name, .namebold, .time, .timebold {
		padding: 10px;
		border: 0;
	}

	#today {
		padding:25px;
		//z-index: 100;
	}

}
