body{
  font-family: arial, verdana, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  width: 948px;
  margin-left: auto;
  margin-right: auto;
}

h1{
  color: #00008b;
  margin-left: 20px;
  text-align: left;
}

#gallery{
  display: block;
}

#gallery img{
  text-align: center;
}

#gallery p{
  margin-left: 20px;
  margin-right: 100px;
  text-align: left;
}

#top p{
  margin-left: 20px;
  text-align: left;
}

#top div{
  height: 259px;
  margin-top: 86px;
  display: block;
}

#top div ul{
  float: left;
  list-style: none;
  width: 948px;
  height: 259px;
  overflow: hidden;
  position: relative;
  margin: 0px;
  padding: 0px;
}

#top div ul img{
  margin-right: 10px;
}

#profile{
  display: block;
}

#profile p{
  margin-left: 20px;
  margin-right: 120px;
  text-align: left;
}

#contact{
  display: block;
  margin-left: 20px;
  margin-right: 120px;
  text-align: left;
}

#contact small{
  color: #808080;
}

#header{
  color: #00008b;
}

#header p{
  text-align: center;
  font-size: small;
}

#menu{
  list-style-type: none;
  height: 40px;
  margin: 0px auto;
  padding: 0;
  background: #4169e1;
  border-bottom: 5px solid #00008b;
}

#menu li{
  position: relative;
  width: 25%;
  float: left;
  margin: 0;
  padding: 0;
  text-align: center;
}

#menu li a{
  display: block;
  margin: 0;
  padding: 15px 0 11px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
}

#menu li:hover > a{
  background: #0000cd;
}

#menu li ul{
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
}

#menu li ul li{
  overflow: hidden;
  width: 100%;
  height: 0;
  color: #fff;
  -moz-transition: .2s;
  -webkit-transition: .2s;
  -o-transition: .2s;
  -ms-transition: .2s;
  transition: .2s;
}

#menu li ul li a{
  padding: 13px 15px;
  background: #4169e1;
  text-align: left;
  font-size: 16px;
  font-weight: normal;
}

#menu li:hover ul li{
  overflow: visible;
  height: 38px;
  border-top: 1px solid #00008b;
}

#menu li:hover ul li:first-child{
  border-top: 0;
}

#menu li:hover ul li:last-child{
  border-bottom: 0;
}

footer{
  height: 50px;
  padding: 0;
  background: #4169e1;
  text-align: center;
}

footer a:link{
  color: #fff;
}

footer a:visited{
  color: #fff;
}

footer a:hover{
  color: #000;
}
