@charset "utf-8";
/* CSS Document */

body, html {
	font: 1em "Raleway", Helvetica, "sans-serif";
	background-color: #fff;/* #E5E3E5 ;*/
	width: 90%;
	padding: 0 5% 0 5%;
}

h1 {
	font: 3em "Raleway", Helvetica, "sans-serif";
	color: #000;
/*	margin-left: 0.5em;*/
	margin-bottom: 0.1em;
}

h2 {
	font: italic  2em "Raleway", Helvetica, "sans-serif";
	color: #000;
	padding: 1.5em 0 0 0;
}

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

q {
	font-size: 1.5em;
	font-style: italic;
	padding: 2em 4em 2em 4em;
}

/*img.headphoto{
	float: left;
	clear: right;
	margin-right: 3%;
	margin-bottom: 3%;
	width: auto;
	height: 25em;
}*/

article {
/*	margin-left: 1.7em;*/
	max-width: 36em;
	min-width: 15em;
	min-height: 20em;
	line-height: 1.5em;
	float: left;
	clear: both;
	marin-top: 1em;
}

/*NAVIGATION*/

.nav {
    list-style: none;
    font-weight: bold;
    margin: 0 0 10px 0;
    float: left; /* Clear floats */
    width: 100%;
	font-size: 1em;
	
	padding: 0em;
    /* Bring the nav above everything else--uncomment if needed.
    position: relative;
    z-index: 5;
    */
}
.nav li {
    float: left;
    position: relative;
    margin: 0.7em 0.7em 0 0;
    background-color: #61E9CD;
    
    
}
.nav a {
    display: block;
    padding: 0.5em;
    color: #000;
    background-color: #61E9CD;
    text-decoration: none;
}
.nav a:hover {
    color: #fff;
    background-color: red; /*#e5e5e5;/* #6b0c36;*/
    text-decoration: underline;
}

/*--- DROPDOWN ---*/
.nav ul {
    background-color: white; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
    background: rgba(255,255	,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
    list-style: none;
    list-style-position: inside; 
    padding-left: 0;
    position: absolute;
    padding: 0;
    left: -9999px; /* Hide off-screen when not needed (this is more accessible than display: none;) */
}
.nav ul li {
    padding: 0.2em; /* Introducing a padding between the li and the a give the illusion spaced items */
    float: none;
      left: 0; /* Bring back on-screen when needed */
      padding: 0;
      margin: 0 0 0 0;
}
.nav ul a {
 /*   white-space: nowrap;  Stop text wrapping and creating multi-line dropdown items */
 
 padding-left: 8px;
}
.nav li:hover ul { /* Display the dropdown on hover */
 left: 0; /* Bring back on-screen when needed */  
}

ul li ul li{
	font-weight: normal;
	       /*background-color: #e5e5e5;*/
	border-bottom: 1px solid #333;
	margin: 2em 1em 1em 1em;
	text-align: center;
	z-index: 100;
	
}
ul li ul li a{
	max-width: 16em;
	font-size: 0.8em;
	/*margin-left: 1em!important;*/
	list-style: square outside none;
		text-align: left;
}
ul li ul li a:before{
	content: "\25B7\0020"; /*"\00BB ";*/ 
		color: #000!important;
}

.nav li:hover a { /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
    text-decoration: none;
}
.nav li:hover ul a { /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
    text-decoration: none;
}

.nav li:hover ul li a:hover { /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	background-color: red;
	color: #fff;
}



.headphoto{
	width: 100%;
	clear: both;
	float: none;
	display: block;
	margin: 0 auto 0 auto;
}


#sidebar{
	float: right;
	width: 30%;

	margin: 4.5em 0 0 0;
	display: block;
	position: relative;
	height: 100%;
		
}

.sidephoto{
	width: 100%;
	margin: 0 0 4.5em 0;
}

footer{
	/*	border-top: 2px solid #333;*/
	margin: 2em 0 0 0 ;	bottom: 0;
	clear: both;
	float: none;
}


footer p a{
	align-content: center;
	text-align: center;
	font-size: 1.5em;
	background-color: #c0c0c0;
	width: 100%;
	padding: 0.5em 0 0.5em 0;

	position: relative;
	display: block;
	
		
}

footer p a:hover{
 background-color: red;
}
