@charset "utf-8";
@import "normalize.css";
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size:0.75em;
	max-width:498px;
	min-width:320px;
	margin:0 auto;
	padding:0 5%;
	background: linear-gradient(#456C97, #FFF) no-repeat;
	background: -webkit-linear-gradient(#456C97, #FFF) no-repeat;
	background: -moz-linear-gradient(#456C97, #FFF) no-repeat;
	background: -0-linear-gradient(#456C97, #FFF) no-repeat;
}
body #wrapper {
	background:#FFF;
}
body .desktop,
body .tablet {
	display:none;
}
a:focus, a:active {
	outline:none;
}
body div.mobile {
	margin:0;
	padding:0;
	background:white;
}
/* * * * * * * * * * * * * * * * * * * * * * * * *
GLOBAL WEBSITE HEADER 
 * * * * * * * * * * * * * * * * * * * * * * * * */
header {
	position:relative;
	clear:left;
	margin:0;
	padding:0;
	color:#FFF;
	background-color: #456C97;
	height:80px;
	width:100%;
}
header div#logo {
	float:left;
	margin:0;
	padding:0;
	height:80px;
	background: url(../images/_global/acdwyer-logo.gif) no-repeat;
	background-size:80px 80px;
}
header div#logo a,
header nav ul li a {
	height:100%;
	width:100%;
	text-decoration:none;
	display:inline-block;
	color:white;
}
header div#logo a h1 {
	margin:0;
	padding:10px 10px 0 90px;
	font-style:italic;
	font-size:2em;
}
header div#logo a p {
	margin:0;
	padding-left:90px;
	font-size:1.1em;
}
header div#logo a h2 {
	margin:0;
	padding:10px;
	text-align:center;
}
header nav {
	position:absolute;
	top:20px;
	right:5px;
}
header nav a#menu-icon {
	position:absolute;
	top:0;
	right:0;
	width:40px;
	height:50px;
	background: transparent url(../images/_global/mobile-menu-icon.png) center;
	background-size:40px 50px;
	display:inline-block;
}
header nav a#menu-icon:hover,
header nav a#menu-icon:focus, 
header nav a#menu-icon:active {
	border: 1px dotted #AAA;
	border-radius:5px;
}
header nav p {
	position:absolute;
	top:30px;
	right:5px;
	font-weight:600;
}
header nav ul { 
	visibility:hidden; 
	margin:0;
	padding:0;
	position:absolute;
	top:55px;
	right:-199px;
	border: 4px solid #456C97;
	transition:all 1.2s ease;
	-webkit-transition:all 1.2s ease;
	-moz-transition:all 1.2s ease;
	-o-transition:all 1.2s ease;
}
header nav ul li {
	margin:0;
	padding:0;
	height:40px;
	font-size:1.2em;
	font-weight:bold;
	background-color:#BF8300;
	border-bottom: 1px solid #FFF;
	width:150px;
	z-index:10; 
}
header nav ul li:last-child {
	border-bottom:none;
}
header nav:hover ul, 
header nav:active ul {
	visibility:visible; 
	right:-5px;
	z-index:20; 
}
header nav ul li a {
	padding:10px 5px 10px 5px;
}
header nav ul li a:hover {
	color:black;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
GLOBAL WEBSITE FOOTER (see HEADER above for some FOOTER settings)
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
footer {
	position:relative;
	clear:left;
	text-align:center;
	margin:0;
	padding:5px 5px 10px 5px;
	color:#FFF;
	background-color: #456C97;
}
footer p {
	margin:0;
}
footer a {
	padding:0 5px;
	line-height:1.7em;
	text-decoration:none;
	font-size:1.5em;
	color:#FFF;
}
footer a:hover {
	color:#AAA;
	text-decoration:underline;
}
/* * * * * * * * * * * * * * * * * * * * * * *
GLOBAL MAIN CONTENT BETWEEN HEADER AND FOOTER
 * * * * * * * * * * * * * * * * * * * * * * */
#mainContent {
	margin:0;
	padding:10px;	
}
#mainContent img {
	margin:10px;
}
#mainContent .imageLeft {
	float:left; 
}
#mainContent .imageRight {
	float:right;
}
#mainContent .coinImageMed {
	height:100px;
	width:100px;
}
#mainContent .warning {
	color:#F00;
}
#mainContent a,
#aboutMe #mainContent a {
	text-decoration:none;
	border-bottom:1px dotted;
}
#mainContent a:hover,
#mainContent a:focus,
#aboutMe #mainContent a:hover,
#aboutMe #mainContent a:focus {
	text-decoration:underline;
	border-bottom:none;
}
/* * * * * * * * * * * * * * * * * * * * * * *
GLOBAL MESSAGE PAGES (Thank you, About Me, etc.)
 * * * * * * * * * * * * * * * * * * * * * * */
#messagePage #mainContent p {
	font-size:1.5em;
}
#messagePage #mainContent,
#aboutMe #mainContent {
	padding:25px;
}
#messagePage #mainContent #thankYou p {
	font-size:2em;
}
#messagePage #mainContent #thankYou p:first-of-type {
	margin:48px 0 12px 0;
}
#messagePage #mainContent #thankYou p:last-of-type {
	margin:12px 0 460px 0;
}
#messagePage #mainContent #thankYou p {
	color:#00F;
}
#aboutMe #mainContent .collectorsWeekly {
	width:80%;
	font-size:1.2em;
	line-height:1.25em;
	margin:5px 10% 5px 10%;
	padding:10px 10px;
	border:1px solid #000;
	background: linear-gradient(#FFF, #999) no-repeat;
	background: -webkit-linear-gradient(#FFF, #999) no-repeat;
	background: -moz-linear-gradient(#FFF, #999) no-repeat;
	background: -0-linear-gradient(#FFF, #999) no-repeat;
}
/* * * * * * * * * * * * * * * * * * * * *
GLOBAL TABLET (and cascade to desktop)
 * * * * * * * * * * * * * * * * * * * * */
@media only screen and (min-width:499px) {
	body {
		max-width:798px;	
	}
	body .tablet {
		display:block;
	}
	header div#logo a h1 {
		font-size:2.25em;
	}
	header div#logo a p {
		font-size:1.1em;
	}
	#mainContent .coinImageMed {
		height:150px;
		width:150px;
	}
	#aboutMe #mainContent .collectorsWeekly a {
		font-weight:bold;
	}
}
/* * * * * * * * * * * * * * * * * * * * *
GLOBAL DESKTOP
 * * * * * * * * * * * * * * * * * * * * */
@media only screen and (min-width:799px) {
	body {
		max-width:1024px;	
	}
	body .desktop {
		display:block;
	}
	header {
		height:110px;
	}
	header div#logo a h1 {
		font-size:2.5em;
	}
	header div#logo a p {
		font-size:1.25em;
	}
	header nav {
		position:absolute;
		top:80px;
		left:0;
		margin:0;
		padding:0;
	}
	header nav a#menu-icon,
	header nav p {
		display:none;
	}
	header nav ul {
		visibility:visible;
		position:absolute;
		top:0;
		left:0;
		display:block;
		padding:0px;
		border:none;
		margin:0px 0px 5px 0px;
		list-style-type:none;	
		transition:none;
		-webkit-transition:none;
		-moz-transition:none;
		-o-transition:none;
	}
	header nav ul li:first-child {
		margin-left:0.4em;
		clear:left;
	}
	header nav ul li {
		float:left;
		width:auto;
		padding:5px;
		height:auto;
		font-size:1em;
		font-weight:bold;
		margin-right:0.4em;
		background-color:#BF8300;
		border:none;
		border-right: 1px solid #FFCA55;
		border-bottom: 1px solid #FFCA55;
		display:block; /* :KLUDGE: Removes large gaps in IE6 and below */
	}
	header nav ul li a {
		color:white;
		text-decoration:none; 
		padding:0;
	}
	footer a {
		line-height:1.5em;
		font-size:1em;	
	}
	#mainContent a,
	#aboutMe #mainContent a {
		border-bottom:none;
	}
	#mainContent a:hover, 
	#mainContent a:focus,
	#aboutMe #mainContent a:hover,
	#aboutMe #mainContent a:focus {
		text-decoration:underline;
		border-bottom:none;
	}
	#mainContent .coinImageMed {
		height:200px;
		width:200px;
	}
	#messagePage #mainContent p {
		font-size:1em;
	}
	#aboutMe #mainContent .collectorsWeekly {
		font-weight:bold;
	}
}
