body{
	background:#333;
}
#all{
	width:90%;
	margin-left:auto;
	margin-right:auto;
	background:#FFF;
}
#main_content{
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content:space-between;
}
a:link{
	text-decoration:none;
	font-weight:bold;
	font-size:1.12em;
	color:#960;
}
a:active{
	text-decoration:underline;
	font-weight:bold;
	font-size:1.12em;
	color:#F90;
}
a:hover{
	text-decoration:underline;
	font-weight:bold;
	font-size:1.12em;
	color:#F90;
}
a:visited{
	text-decoration:none;
	font-weight:bold;
	font-size:1.12em;
	color:#960;
}
/* -------------------------------------------------- 
   top navigation styles
-----------------------------------------------------*/
nav{
	border-bottom:solid 1.5px #FF9900;
}
nav ul {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	/* #2 - add wrap so text doesn't overlap */
	flex-wrap:wrap;
}
nav li {
	margin:.2em;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items:center;
	-ms-flex-align:center;
	align-items:center;
}
nav li a {
    /* #2 - add word-break so text doesn't overlap */
    word-break:break-all;
}
nav li.search-form {
	margin-right: 1em;
	margin-left:auto;
}

/* -------------------------------------------------- 
   sidebar
-----------------------------------------------------*/
aside{
	-webkit-flex-direction:column;
	-ms-flex-direction:colum;
	flex-direction:column;
	-webkit-flex:.5;
	 -ms-flex:.5;
	 flex:.5;
	 /* #1 Link One aligns evenly with tops of h4 tags  */
	 align-self: flex-start;
}
.links{
	list-style: none;
}
.links li {
	margin:.5em auto .5em -.5em;
}
.side a:link{
	text-decoration:none;
	font-weight:bold;
	font-size:.9em;
	color:#960;
}
.side a:active{
	text-decoration:underline;
	font-weight:bold;
	font-size:.9em;
	color:#F90;
}
.side a:hover{
	text-decoration:underline;
	font-weight:bold;
	font-size:.9em;
	color:#F90;
}
.side a:visited{
	text-decoration:none;
	font-weight:bold;
	font-size:.9em;
	color:#960;
}	
/* -------------------------------------------------- 
   main content columns
-----------------------------------------------------*/
.left{
	-webkit-flex:2;
	 -ms-flex:2;
	 flex:1; /* #3 - change flex to 1 */ 
	 padding:.5em;
	 /* #4 - change text and background color */
	 color: white; 
	 background-color:black;
}
.center{
	-webkit-flex:2;
	 -ms-flex:2;
	 flex:1; /* #3 - change flex to 1 */ 
	 padding:.5em;
	 /* #4 - change text and background color */
	 color: teal;
	 background-color:#222;
}
.right{
	-webkit-flex:1;
	 -ms-flex:1;
	 flex:1; /* #3 - flex was already 1, no update needed */ 
	 padding:.5em;
	 /* #4 - change text and background color */
	 color: rgba(50,205,100);
	 background-color:#555;
}
/* -------------------------------------------------- 
   footer
-----------------------------------------------------*/
footer{
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-justify-content:flex-end;
	-ms-flex-pack: justify;
	/* #5 - change alignment of footer items to center */
	justify-content:center;
}
.footer_info{
	padding:.3em;
	font-size:1.1em;
}
/* #6 - add media query for displays under 700 pixels in width */
@media(max-width:700px){
    #main_content{
        flex-flow: column nowrap; 
    }
    .links {
        display: flex;      
        flex-wrap: wrap;     
        justify-content: center; 
    } 
    .links li {
        margin: auto .3em auto; 
    }
    footer {
        flex-flow: row wrap;
    }
}