/* Reset attributes for basic HTML tags */
html, body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, pre, code, address, variable, form, fieldset, blockquote {
	padding: 0;
	margin: 0;
	font-size: 100%;
	font-weight: normal;
}

img {
    border: none;
}

/* Style sheet for JoelRorabaugh.com */

@font-face {
	font-family:'LeagueGothicRegular';
	src:url('../fonts/league_gothic-webfont.eot');
	src:local('?'),url('../fonts/league_gothic-webfont.woff') format('woff'),url('../fonts/league_gothic-webfont.ttf') format('truetype'),url('../fonts/league_gothic-webfont.svg#webfontteNu5xOa') format('svg');
	font-weight:normal;
	font-style:normal
}

@font-face {
    font-family: 'robotoregular';
    src: url('../fonts/Roboto-Regular-webfont.eot');
    src: url('../fonts/Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Roboto-Regular-webfont.woff2') format('woff2'),
         url('../fonts/Roboto-Regular-webfont.woff') format('woff'),
         url('../fonts/Roboto-Regular-webfont.ttf') format('truetype'),
         url('../fonts/Roboto-Regular-webfont.svg#robotoregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'roboto_condensedbold';
    src: url('../fonts/RobotoCondensed-Bold-webfont.eot');
    src: url('../fonts/RobotoCondensed-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/RobotoCondensed-Bold-webfont.woff2') format('woff2'),
         url('../fonts/RobotoCondensed-Bold-webfont.woff') format('woff'),
         url('../fonts/RobotoCondensed-Bold-webfont.ttf') format('truetype'),
         url('../fonts/RobotoCondensed-Bold-webfont.svg#roboto_condensedbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	background: #202936;
/*	background: #1f396b; */
}

p {
	font: 0.9em/1.5em 'robotoregular', 'Lucida Grande', Lucida, Verdana, sans-serif;
	margin: 10px;
	color: #dde;
}

a {
	color: #b0c0dd;
	text-decoration: none;
}

a:hover {
	color: #cc8512;
	text-decoration: underline;
}

#pageContainer {
	width: 90%;
	margin-right: auto;
	margin-left: auto;
	padding: 0;
	background: #b0c0dd;
}

#header {
	width: 100%;
	padding: 20px 0 20px 0;
	background-image: linear-gradient(180deg, #1f396b, #0f5393);
}

#header p {
	text-align: center;
	font: normal 0.8em/0.8em 'roboto_condensedbold', Impact, Helvetica, Arial, Geneva, sans-serif;
	color: #f7c97c;
	margin-top: 3px;
	text-shadow: #000 0 0 15px;
}

#header h1 {
	padding: 0;
	margin: 0;
	color: #d9e5ff;
	text-align: center;
	font: normal 4.5em/1em 'LeagueGothicRegular', Impact, Helvetica, Arial, Geneva, sans-serif;
	text-shadow: #000 0 0 30px;
}

.bodyContainer {
	display: flex;
	flex-direction: row;
}

.bodyBoxNarrow {
	width: 34%;
	margin: 2px 0 0 0;
}

.bodyBoxWide {
	width: 67%;
	margin: 2px 0 0 0;
}

.bodyBoxHalf {
	width: 50%;
	margin: 2px 0 0 0;
}

.bodyContainer h1 {
	margin: 10px;
	color: #d9e5ff;
	text-align: center;
	font: normal 3em 'LeagueGothicRegular', Impact, Helvetica, Arial, Geneva, sans-serif;
}

.bodyContainer h2 {
	margin: 10px;
	color: #f7c97c;
	text-align: center;
	font: normal 2em 'LeagueGothicRegular', Impact, Helvetica, Arial, Geneva, sans-serif;
}

.bodyContainer h3 {
	text-align: center;
	color: #d9e5ff;
	font: 0.8em 'robotoregular', 'Lucida Grande', Lucida, Verdana, sans-serif;
	margin: 10px;
}

/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
p {
	font-size: 1em;	
}
.bodyContainer {
    flex-direction: column;
}
.bodyBoxNarrow {
	width: 100%;
}
.bodyBoxWide {
	width: 100%;
}
.bodyBoxHalf {
	width: 100%;
}
}

#footer {
	clear: both;
	text-align: center;
	margin-top: 2px;
	padding-top: 8px;
	background-color: #202936;
}

#footer p {
	padding: 5px;
	font-size: 0.6em;
	color: #778;
}

/* Style the top navigation bar */
.topnav {
	background-color: #202936;
	overflow: hidden;
	font-family: 'roboto_condensedbold', 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif';
	font-size: 20px;
	margin: 2px 0 0 0;
	text-align: center;
}

/* Style the links inside the navigation bar */
.topnav a {
	float: left;
	display: block;
	color: #f2f2f2;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
	background-color: #CC8512;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
	display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
 	float: left;
	overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
	font-size: 17px; 
	border: none;
	outline: none;
	color: white;
	padding: 14px 16px;
	background-color: inherit;
	font-family: inherit;
	text-transform: uppercase;
	margin: 0;
}

/* Style the active dropdown button to fit inside the topnav */
.dropdown .dropbtnactive {
	font-size: 17px; 
	border: none;
	outline: none;
	color: white;
	padding: 14px 16px;
	background-color: #CC8512;
	font-family: inherit;
	text-transform: uppercase;
	margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
	float: none;
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	text-transform: uppercase;
	text-align: left;
}

/* Add a background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
	background-color: #324054;
	color: white;
}

/* Add a background to dropdown links on hover */
.dropdown-content a:hover {
	background-color: #B2BFD1;
	color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
	display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
.topnav a:not(:first-child), .dropdown .dropbtn {
	display: none;
	}
.topnav a.icon {
	float: right;
	display: block;
	}
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
.topnav.responsive {position: relative;}
.topnav.responsive a.icon {
	position: absolute;
	right: 0;
	top: 0;
	}
.topnav.responsive a {
	float: none;
	display: block;
	text-align: left;
	}
.topnav.responsive .dropdown {float: none;}
.topnav.responsive .dropdown-content {position: relative;}
.topnav.responsive .dropdown .dropbtn {
	display: block;
	width: 100%;
	text-align: left;
	}
}