/* ----------------------------------------------------- */
/* --------- Typography: Heading & Body Copy ----------- */
/* ----------------------------------------------------- */

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on June 14, 2017 */

@font-face {
    font-family: 'sports_worldregular';
    src: url('sports_world-regular-webfont.woff2') format('woff2'),
         url('sports_world-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
	font-family: 'Roboto', sans-serif;
}

h1,h2,h3,h4,h5,h6 {
	font-family: 'sports_worldregular', serif;
}


/* -------------------------------------------------- */
/* --------- Navigation: Main & Secondary ----------- */
/* -------------------------------------------------- */

/* Main Navigation Style */
nav {
	padding: 10px;
	background-color: #D8A600;
	width: 100%;
	position: fixed;
	-moz-box-shadow: -1px 1px 10px 1px #3D414C;
	-webkit-box-shadow: -1px 1px 10px 1px #3D414C;
	box-shadow: -1px 1px 10px 1px #3D414C;
}

nav ul {
	padding: 0px;
	margin: 15px;
	text-align: right;
}

nav li {
	display: inline;
}

nav a:link {
	color: #A81E1E;
	padding: 26px 26px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .1em;	
	font-size: 1.1em;
}

nav a:visited {
	color: #A81E1E;
}

nav a:hover {
	color: #D8A600;
	background-color: #A81E1E;
}

nav a:active {
	color: #F5F6F7;
}

a.current:link, a.current:visited {
	color: #D8A600;
	background-color: #A81E1E;
}

#sm-screen {
	display: none;
}

/* Secondary Navigation Style */
footer {
	padding: 15px;
	text-align: center;
}

footer ul {
	padding: 0px;
	margin: 0px;
}

footer li {
	display: inline;
}

footer a:link{
	color: #A81E1E;
	padding: 10px 25px;
	text-decoration: none;
}

footer a:visited {
	color: #A81E1E;
}

footer a:hover {
	color: #D8A600;
}

footer a:active {
	color: #3D414C;
}




/* ----------------------------------- */
/* --------- HTML Elements ----------- */
/* ----------------------------------- */
/* Styling for all HTML Elements */

/* True for all headings */
h1, h2, h3 ,h4, h5, h6 {
	color: #A81E1E;
	padding: .1em 0;
	margin: .1em 0;
}


/* Style for individual headings */
h1 {
	font-size: 3em;
	padding: 0px;
	margin-top: 30px;
}

h2 {
	font-size: 2.5em;
}

h3 {
	font-size: 2em;
}

h4 {
	font-size: 1.5em;
}

h5 {
	font-family: 'Roboto', sans-serif;
	text-transform: uppercase;
	font-size: 1.3em;	
	letter-spacing: .1em;
}

h6 {
	font-family: 'Roboto', sans-serif;
	text-transform: uppercase;
	font-size: 1.1em;	
	letter-spacing: .1em;
}


/* List Styles */
ul {
	color: #3D414C;
	font-size: 1.1em;
	margin-top: 10px;
}

ul li {
	list-style-type: square;
}

ol {
	color: #3D414C;
	font-size: 1.1em;
}

.list {  
	width: 275px;
	display: inline-block;
	vertical-align: top;
	margin: 20px 0px 16px 0px;
}

.classes-two-column {
	display: none;
}

/* Non-Navigational Link Styles */
a:link {
	color: #D8A600;
	text-decoration: none;
}
a:visited {
	color: #585B6A;
}
a:hover {
	color: #A81E1E;
}
a:active {
	color: #3D414C;
}


/* Paragraph Styles */
p {
	color: #3D414C;
	margin-top: 8px;
	font-size: 1.05em;
}


/* Figure and Figcaption Styles */
figure {  
	width: 275px;
	display: inline-block;
	vertical-align: top;
	margin: 40px 0px 16px 0px;
}

figcaption {
	color: #3D414C;
}

#middle, #middle-list, #middle-no-left, #middle-no-right {
	margin-left: 93px;
	margin-right: 93px;
}

.bottom {
	vertical-align: bottom;
}

/*Form Styles*/
#form {
	margin-top: 51px;
}

.form {
	margin-bottom: 8px;
	width: 100%;
	max-width: 653px;
	font-size: 1.05em;
	color: #3D414C;
	border: 1px solid #3D414C;
  padding: 2px;
}

.form:hover {
	border-color: #D8A600;
}

.form:focus {
	border-color: #D8A600;
	-moz-box-shadow: 0px 1px 2px #3D414C;
	-webkit-box-shadow: 0px 1px 2px #3D414C;
	box-shadow: 0px 1px 2px #D8A600;
}

.form, textarea {
	font-family: 'Roboto';
}

textarea {
	height: 250px;
}

.button {
	margin-top: 6px;
	font-size: 1.1em;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: #A81E1E;
	border: 1px solid #A81E1E;
	padding: 5px 8px;
	background-color: #D8A600;
	-moz-box-shadow: 0px 1px 4px #3D414C;
	-webkit-box-shadow: 0px 1px 4px #3D414C;
	box-shadow: 0px 1px 4px #3D414C;
	margin-bottom: 16.8px;
}

.button:hover {
	color: #D8A600;
	background-color: #A81E1E;
}

.button:active {
	color: #F5F6F7;
	-moz-box-shadow: 0px 1px 2px #3D414C;
	-webkit-box-shadow: 0px 1px 2px #3D414C;
	box-shadow: 0px 1px 2px #3D414C;
}

/* Page layout */
body {
	margin: 0px;
	background-color: #F5F6F7;
	background-image: url("../images/light_wool.png");  /* Background pattern from Subtle Patterns */
}

#logo-container {
	position: fixed;
	margin: 6px 26px;
	z-index: 10;
}

#banner-img {
	padding-top: 73px;
}

main {
	max-width: 1023px;
	margin: auto;
	margin-bottom: 200px;
	padding: 0px 26px;
}

img {
	max-width: 100%;
	height: auto;
}

#fig-container {
	max-width: 1020px;
}

#copyright {
	margin-left: 26px;
	margin-right: 26px;
}

#small-copyright {
	display: none;
}

address {
	font-style: normal;
}

#img-container {
	display: inline-block;
	margin-top: 54px;
}

#trainers {
	max-width:calc(100% - 331px);
	display: inline-block;
	vertical-align: top;
	margin-left: 26px;
}


/* Change the layout for screens smaller than 1316 pixels */

@media screen and (max-width: 82.25em) {
	/*change nav menu font size*/
	nav a:link {
		font-size: 1.3vw;
		padding-top: 30px;
		padding-bottom: 28px;
	}
	
	nav {
		padding-bottom: 12px;
	}	
}


/* Change the layout for screens smaller than 1167.2 pixels */

@media screen and (max-width: 72.95em) {
	/*remove horizontal menu and change to dropdown menu*/
	#lrg-screen {
		display: none;
	}
	
	#sm-screen {
		display: block;
		color: #A81E1E;
		padding: 0px;	
		text-transform: uppercase;
		letter-spacing: .1em;	
		font-size: 1.1em;
		position: relative;
		right: 0px;
	}
	
	#menu {
		padding: 26px;
	}
	
	nav a:link {
		color: #A81E1E;
		padding: 4.5px 26px;
		text-decoration: none;
		text-transform: uppercase;
		letter-spacing: .1em;	
		font-size: 1.1em;
		line-height: 36px;
	}

	nav a:hover {
		color: #D8A600;
	}

	nav a:active {
		color: #F5F6F7;
	}

	nav ul li ul li:hover {
		background-color: #A81E1E;
	}

	ul li ul {
		position: absolute;
		top: 32px;
		right: -20px;
		-moz-box-shadow: -1px 1px 10px 1px #3D414C;
		-webkit-box-shadow: -1px 1px 10px 1px #3D414C;
		box-shadow: -1px 1px 10px #3D414C;
		display: none;		
	}
	
	ul li ul li {
		display: block;
		background-color:#D8A600; 
		padding-right: 5px;
		width: 230px;
	}
 
	nav ul li:hover ul {
		display: block;
	}
}


/* Change the layout for screens smaller than 1088 pixels */

@media screen and (max-width: 68em) {
	/*change figures and lists to centered two column display*/
	#fig-container, #list-container {
		max-width: 647.45px;
		margin: auto;
	}
	
	#middle, #middle-list, #middle-no-right {
		margin-right: 0px;
	}
	
	.right {
		margin-right: 93px;
	}
		
	#middle-no-left {
		margin-left: 0px;
	}
	
	/*change order of lists on about page*/
	.classes-two-column {
		display: inline-block;
	}
	
	#classes {
		display: none;
	}
		
	/*change contact form size and center*/
	#form {
		max-width: 647.45px;
		margin: auto;
		margin-top: 51px;
	}
}
	
	
/* Change the layout for screens smaller than 813 pixels */

@media screen and (max-width: 50.8125em) {
	/*change figures and lists to centered single column display*/
	figure {  
		display: block;
	}

	#middle, #middle-no-left, #middle-no-right, .right {
		margin-left: 0px;
		margin-right: 0px;
	}

	#fig-container {
		max-width: 275px;
		margin: auto;
	}
	
	.list, #middle-list {
		display: block;
		max-width: 220px;
		margin: auto;
	}
	
	#img-container {
		display: block;
		max-width: 300px;
		margin: auto;
		margin-top: 54px;
	}
	
	#trainers {	 
		display: block;
		margin-left: 0px;
		max-width: 100%;
  }
	
	/*change contact form width for single column display*/
	#form {
		max-width: 500px;
	}
			
	/*adjust footer links and text sizes, move to two lines*/
	#copyright {
		display: none;
	}
	
	#small-copyright {
		font-size: 1em;
		display: block;
		margin-top: 15px;
		margin-bottom: 0px;
	}
	
	footer li {
		font-size: .9em;
	}
	
	footer a:link {
		padding-left: 8px;
		padding-right: 8px;
	}
}


/* Change the layout for screens smaller than 329 pixels */

@media screen and (max-width: 20.5625em) {
	/*change margins in nav bar*/
	#logo-container {
		margin-left: 16px;
	}
	
	#menu {
		padding-right: 16px;
	}
	
	nav a:link {
		padding-right: 16px;
	}
}