@import url(https://fonts.googleapis.com/css?family=Raleway);
h2 {
  vertical-align: center;
  text-align: center;
}
h1 { font-size: 150%}

html, body {
  margin: 0;
  height: 100%;
}
table {
  vertical-align: top;
}

textarea { max-width: 95%;}

#title {height: 120%}

* {
  font-family: "Raleway";
  box-sizing: border-box;
}

.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #00BAF0;
  background: linear-gradient(to left, #3030ee, #d0d0ff);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #FFF;
  height: 100px;
  padding: 1em;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu > li a {
	color: #FFFFFF;
    width: 120px;
	font-size: 1em;
	font-weight: bolder;
	letter-spacing: 0.1em;
	padding: 0px;
	text-transform: uppercase;
	border: none;
  text-decoration: none;
}

.menu > li a:hover {
	color: #E15CFF;
    background-position:bottom;
}

.menu li a.selected {
		color: #000000;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 1600px) {
  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 100px;
    right: 0;
    flex-direction: column;
    width: 250px;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #000000;
  }
  .menu li a.selected {
		color: #3333FF;
}
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
  #title {  width: 50%;
            height: auto;}
}

#logo {height: 140%}

footer {
	clear: both;
	background: url(/images/header_bg.png) repeat-x;
	padding-top: 10px;
    height: 84px;
	border: none;
}

.main-body {
  padding-left: 20px;
  padding-right: 10px;
}



footer p {
	float: left;
    margin-left: 10px;
 	font-size: 0.8em;
    color: #0000000;
	border: none;
}

footer ul {
	float: right;
	list-style: none;
	width: 550px;
	padding-top: 3px;
	text-align: right;
    margin-right: 10px;
	border: none;
}

footer ul li {
	display: inline;
	margin: 0 5px;
	border: none;
}

footer ul li a {
	font-size: 0.9em;
}

footer ul li a:hover {
	color: #000000;
}
