/* The navigation bar */
@import url(http://fonts.googleapis.com/css?family=Open+Sans);

#nav{
  list-style: none;
  position: fixed;
  margin-top: 10px;
  width: 100%;
  font-family: 'Open Sans';
  font-size: 0;
  text-align: center;
  padding-left:0px;
}
#nav li{
  position: relative;
  height: 1.2em;
  display: inline-block;
  text-align: center;
  padding-top: 5px;
  background-color: white;
  font-size: 30px;
  box-shadow: 10px 6px 2px 0 rgba(0, 0, 0, 0.19);
}
#nav li.first{
  border-top-left-radius:5px;
  border-bottom-left-radius:5px;
}
#nav li.last{
  border-top-right-radius:5px;
  border-bottom-right-radius:5px;
}
#nav a{
  display: block;
  text-decoration: none;
  width: auto;   /* adjust width as needed or use auto */
  padding: 0.5em;
  line-height: 1em;
  color:black;
  border-right: 1px solid #000;
  font-size: 0.5em;
  z-index= 10;
}
#nav a.on{
  color: red;
}
#nav li:last-child a {
  border:none;
}

/* Change background on mouse-over */
#nav a:hover {
    color: red;
}

body {
 margin-top: 0px;
 margin-right: 0px;
 margin-bottom: 0px;
 margin-left: 0px
}

#bannerimage{
 width: 100%;
 margin-top: 0px;
 background-position: 0px 0px;
 background-image: url(./banner1.jpg);
 background-repeat: no-repeat; 
 /* background-repeat: repeat;*/
 height: 452px;
 background-position: center;
 clear: both;
}

#bannerimage h2{ 
   position: absolute; 
   top: 10em; 
   left: 0; 
   width: 100%; 
}

#bannerimage h2 span{ 
   color: white; 
   font: bold 24px/45px Helvetica, Sans-Serif; 
   letter-spacing: -1px;  
   background: rgb(0, 0, 0); /* fallback color */
   background: rgba(0, 0, 0, 0.7);
   padding: 10px;
}

#bannerimage h2 span.spacer{
   padding:0 5px;
}

div.main{
  font-family: 'Open Sans';
  margin: auto;
  width: 70%;
  text-align: center;
  text-justify: inter-word;
}

div.main p{
  font-family: 'Open Sans';
  text-align: justify;
}

div.main h2{
  text-align: left;
}

div.main li{
text-align: left;
}

#sponsors {
    margin-top: 75px;
    text-align: center;
    width= 75%;
}

#footer {
    margin-top: 50px;
    text-align: center;
    width= 100%;
}

#footer img {
    display: inline-block;
    height: 100px;
}

#footer:after {
    content: '';
    display: inline-block;
    width: 100%;
}
