/* 
Seth Mendenhall
800#: 800478316
CMIS 300
*/

/* the reset selector */
*
{
	margin: 0;
	padding: 0;
}
/* the styles for the elements */
html
{
	background-color: #f8f8f8;
}
/* the styles for the body */
body 
{
	font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
	width: 100%;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	background-color: #f8f8f8;
}


/* the styles for the header */
header
{
	padding: 1.5em 0 2em 0;
}
header h2
{
	font-size: 200%;
	color: #1f2833;
	padding: 0 5% 0 5%;
}
header h3
{
	font-size: 130%;
	padding: 0 5% 0 5%;
}
header img {
	margin: 0 0 0 5%;
}
header #printButton {
	float: right;
	border: none;
	margin-right: 1em;
    padding: 10px 40px 10px 40px;
	color: white;
	background: #993333;
	transition: 0.4s;
	border-radius: 5px;
	
}
#printButton:hover {
    background: red;
    transition: 0.4s;
}
.shadow
{
	text-shadow: -2px -2px 2px ;
}

/* the styles for the navigation menu */
#nav_menu ul
{
	list-style-type: none;
	position: relative;
	margin: 0;
	padding: 0;
}
#nav_menu ul li
{
	float: left;
	width: 20%;
}
#nav_menu ul ul
{
	display: none;
	position: absolute;
	top: 100%;
}
#nav_menu ul ul li
{
	float: none;
	position: relative;
}
#nav_menu ul li:hover > ul
{
	display: block;
}

#nav_menu > ul::after
{
	content: "";
	clear: both;
	display: block;
}
#nav_menu ul li a
{
	text-align: center;
	display: block;
	padding: 1em 0 1em 0;
	text-decoration: none;
	background-color: #1f2833;
	color: white;
	font-weight: bold;
}
#nav_menu ul li a.current
{
	color: #3aafa9;
}
#nav_menu ul li a:hover, #nav_menu ul li a:focus
{
	background-color: #993333;
	transition: 0.4s;
}
/* the styles for buttons */
.btn {
    display: inline-block;
    background: #993333;
    color: white;
    font-weight: bolder;
    text-decoration: none;
    border-radius: 5px;
    padding: 10px 40px 10px 40px;
    margin: 15px 0;
    transition: 0.4s;
}
.btn:hover {
    background: red;
    transition: 0.4s;
}
/* the styles for the section */
section {
	width: 45%;
	float: left;
	padding: 0 1% 20px 2.5%;
	margin-left: 3em;
	clear: left;
}
section h1
{
	font-size: 180%;
	padding: 1em 0 .25em 0;
	margin-top: 0px;
	margin-bottom: 0px;
}
section h2
{
	font-size: 140%;
	color: #993333;
	padding: .5em 0 .25em 0;
}
section h3 {
	font-size: 125%;
	padding: .25em 0 .4em 0;
}
section h4 {
	padding-bottom: .5em;
	font-size: 100%;
	font-style: italic;
}

section ul
{
	padding: 0 0 .25em 2.5em;
}
section li
{
	padding: .25em;
}
section p
{
	padding: .7em 0 .7em 0;
}
.photo
{
	float: none;
	margin: 10px 0 20px 0;
	max-width: 100%;
	min-width: 150px;
	width: auto;
	height: auto;

}
.profile-photo
{
	float: none;
	margin: 60px 0 0 60px;
	max-width: 425px;
	min-width: 150px;
	width: auto;
	height: auto;

}
/* the styles for the contact info*/
.form-box {
	margin-top: 30px;
}
.input-group input {
	display: inline-block;
	width: 85%;
	border: 0;
	outline: none !important;
	padding: 10px;
	margin: 2%;
	background: #fff;
}
.text-area textarea {
	width: 85%;
	border: 0;
	outline: none !important;
	padding: 10px;
	margin: 2%;
	background: #fff;
}
.submit-btn {
	border: 0;
	outline: none !important;
	padding: 10px 20px;
	margin: 2%;
	background: #993333;
	color: white;
    border-radius: 5px;
}
.submit-btn:hover {
    background: red;
    transition: 0.4s;
}
.reset {
	border: 0;
	outline: none !important;
	padding: 10px 20px;
	margin: 2%;
	background: #993333;
	color: white;
    border-radius: 5px;
}
.reset:hover {
    background: red;
    transition: 0.4s;
}
.contact img {
	display: block;
	float: left;
	margin-bottom: 3%;
	margin-right: 20px;
	width: 30px;
	vertical-align: middle;
	
}
.contact p {
	margin: 6%;
}
.contact h2 {
	margin-bottom: 1.5em;
}
.contact {
	display: block;
	margin-top: 2.5em;
	width: 100%;
}
/* the styles for the table */

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 2em;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}


/* the styles for the aside */
aside {
	width: 35%;
	float: left;
	padding: 0 2.5% 20px 2.5%;
	clear: right;
}

aside h1
{
	font-size: 180%;
	border-bottom: 3px solid black;
	padding: .5em 0 .25em 0;
	margin: 0 0 0 0;
	margin-top: 0px;
	margin-bottom: 0px;
}
aside h2
{
	font-size: 140%;
	color: #993333;
	padding: .5em 0 .25em 0;
	margin: 3em 0 0 0;
}
aside h3 {
	font-size: 125%;
	padding: .25em 0 .4em 0;
}
aside h4 {
	padding-bottom: .5em;
	font-size: 100%;
	font-style: italic;
}

aside ul
{
	padding: 0 0 .25em 2.5em;
}
aside li
{
	padding: .25em;
}
aside p
{
	padding: .7em 0 .7em 0;
}

/* the styles for the footer */
footer
{
	padding: 1em;
	background-color: #1f2833;
	clear: both;
}
footer p
{
	text-align: center;
	color: white;
	padding: 1em 0 1em 0;
}

/* hide mobile menu */
#mobile_menu
{
	display: none;
}
/* media queries*/
@media only screen and (max-width:959px) {
	section h1
	{
		font-size: 135%;
	}
	section h2, aside h2
	{
		font-size: 120%;
	}
}
@media only screen and (max-width:767px) {
	#nav_menu {
		display: none;
	}
	#printButton {
		display: none;
	}
	#mobile_menu {
		display: block;
	}
	.slicknav_menu {
		background-color: #1f2833 !important;
	}
	header h2, header h3 {
		text-align: center;
	}
	header img {
		float: none;
		display: block;
		margin: auto;
	}
	main {
		padding: 0.5em 1.5em 0.5em 1.5em;
	}
	section, aside {
		margin: 0;
		float: none;
		width: 95%;
	}
	aside {
		padding-right: 2.5%;
	}
	aside h2 {
		margin: auto;
	}
	aside .profile-photo {
		max-width: 100%;
		margin: auto;
	}
}

@media only screen and (max-width:479px) {
	body {
		font-size: 90%;
	}
}
