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;
  flex-wrap: wrap;
  word-break: break-all;
  align-items: flex-start;
}
nav li {
  margin: 0.2em;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
nav li.search-form {
  margin-right: 1em;
  margin-left: auto;
}

/* -------------------------------------------------- 
   sidebar
-----------------------------------------------------*/
aside {
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex: 0.5;
  -ms-flex: 0.5;
  flex: 0.5;
  align-items: flex-start;
}
.links {
  list-style: none;
}
.links li {
  margin: 0.5em auto 0.5em -0.5em;
}
.side a:link {
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  color: #960;
}
.side a:active {
  text-decoration: underline;
  font-weight: bold;
  font-size: 0.9em;
  color: #f90;
}
.side a:hover {
  text-decoration: underline;
  font-weight: bold;
  font-size: 0.9em;
  color: #f90;
}
.side a:visited {
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  color: #960;
}
/* -------------------------------------------------- 
   main content columns
-----------------------------------------------------*/
.left {
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 0.5em;
  color: rgb(236, 248, 0);
  background-color: rgb(0, 0, 0);
}
.center {
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 0.5em;
  color: red;
  background-color: gold;
}
.right {
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 0.5em;
  color: blue;
  background-color: yellowgreen;
}

/* -------------------------------------------------- 
   footer
-----------------------------------------------------*/
footer {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: justify;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}
.footer_info {
  padding: 0.3em;
  font-size: 1.1em;
}
/* add media query for displays under 700 pixels in width */

@media screen and (max-width: 700px) {
  #main_content {
    flex-direction: column;
  }
  .links {
    display: flex;
    flex-direction: row;
  }
  .links li {
    margin: auto 0.3em auto;
  }
}
