/*  CSS for index  */
body{
  margin: 0;
  padding: 0;
}

main{
  margin-top: 7em; 
  margin-bottom: 0.8em;
  margin-left: 30px;
  padding: 0px 20px;
  overflow-y: auto; 
}

nav{
  background-color:  #2d2d86;
  color: white; 
  top: 0; left: 0; width: 100%; 
  position: fixed;
  padding: 0 0.1em;
  min-height: 60px;
  max-height: 130px;
  overflow: auto;
}

nav ul li {
  float: left; 
  list-style: none;
  position: relative;
}

nav ul li a {
  display: block;
  font-family: arial;
  color: white;
  font-size: 14px;
  padding: 12px 14px;
  text-decoration: none;
}

nav ul li ul {
   display: none;
   position: absolute;
   background-color: #10089b ;
   padding: 0px;
   border-radius: 0px 0px 4px 0px;
}

nav ul li:hover ul {
  display: block;
}

nav ul li ul li{
  width: 180px;
  border-radius: 8px;
}

nav a{
  padding: 8px 14px;
  text-decoration: none;
}

nav ul li a:hover {
  background-color: #323AC2; 
}

footer {
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  background-color: black; color: white; text-align: center;
  font-family:verdana, Arial, sans-serif;
  font-size: 10px;
}

table {
  table-layout: auto;
  width: max-content;
  border-collapse: collapse;
} 

td, th {
  padding: .3em; 
  border: 1px solid;
  border-collapse: collapse;
}

th {
  text-align: left;
  padding-right: 2em;
  border-bottom: 3px solid blue;
}

#ul{
  float: left; 
}

#p{
  font-family: arial;
  color: white;
  font-size: 30px;
  line-height: 55px; 
  float: left;
  padding: 0px 10px;
  margin-left: 0px;
  margin-right: 30px;
}

.fp{
  text-align: center;
  text-decoration: wavy;
  font-size: 300%;
  font-weight: bolder;
  padding: 150px;
}

/*Events & Services page & Class */
p.events{
  margin-bottom: 2em;
  margin-top: 0em;
}
h2.events {
  display: inline;
}
h3.events {
  display: inline;
}
.small {
  font-size: x-small;
}

select {
  margin-bottom: 3em;
}

label {
  margin-right: .3em;
  font-weight: 600;
}
#extraEvents {
  display: none;
}

#eventsBtn {
  position: relative;
  top: -1em;
}

h1.services {
  display: inline-block;
}

ul.services, ul.services li {
  display: inline;
  font-size: 1em;
  padding: 0 1em;
  text-decoration: none;
  font-weight: bold;
}

/* small devices */
@media screen and (max-width: 480px) {
  #p {margin-right: 10px; font-size: 20px; line-height: 20px;}
  ul.services {display: block; padding: 0.5em;} 
}
