
body {
    margin-left:0; 
    margin-right:0; 
    margin-top: 5}

div.subpage {
    width: 90%; 
    align:center;
    margin-left: auto ;
    margin-right: auto ;
}

div.navhead {
    width: 99%;
}

h1.navhead { 
    display: block;
    font-size: 1.4em;
    margin-top: 0.2em;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
    align: center;
}

h1.navhead a {
    text-decoration: none;
    color: black;
}

h2.navhead {
    display: block;
    font-size: 0.8em;
    margin-top: 0.1em;
    margin-bottom: 0.3em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
    align: center;
}

/*
ul.navhead {
    list-style-type: none;
    margin-top: 0;
    margin-bottom: 0.5em;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
    top: 0;
    width: 100%;
    text-align: center;
    align: center;
}
*/

/*
ul.navheadr {
    list-style-type: none;
    margin-top: 0;
    margin-bottom: 0.5em;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
    top: 0;
}


li.navhead {
    display: inline;
}

li.navhead a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 0.5em 0.8em;
    text-decoration: none;
}
*/

/*
li.navheadr a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 0em 0em;
    text-decoration: none;
}


li.navhead a:hover
{
    background-color:white;
    color: black;
    
}


li.navhead a:active
{
    background-color:white;
    color: black;
}
*/

/*
.dropdown {
    display: inline-block;
   
}

.dropdown-content {
    display: none;
    position: absolute;
    height: auto;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    text-align: left;
    margin: 0;
}

.dropdown-content a {
    color: black;
    padding: 1em 0.5em;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1
}

.dropdown:hover .dropdown-content {
    display: block;
    
}


.dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 0.2em 0.5em;
    text-decoration: none;
    position: relative;
}

.dropdown a:hover
{
    background-color:white;
    color: black;
}
*/

#navbar {
   text-align: center;
   width: 100%;
   background: #831923;
   padding: 0 0;
   margin: 0.5em 0em 0.5em 0em;
}


nav ul {
    text-align: center;
    color: white; 
    padding: 0em 0.2em;
    list-style: none;
    position: relative;
    display: inline-block;
}

nav ul ul {
    display: none;
    border: 1;
    background: black; 
    padding: 0em;
    position: absolute; 
    top: 100%;
    right: 0;
}

nav ul li:hover > ul {
    display: block;
    border: 1px solid black;
}

nav ul:after {
    content: ""; clear: both; display: block;
}

nav ul li {
    float: left;
}

nav ul li:hover {
    background: black;
 
}

nav ul li:hover a {
   color: black;
   background: white;
}
	
nav ul li a {
   display: block; 
   padding: 0em 0.5em;
   color: white; 
   text-decoration: none;
   text-align: center;
   font-size: 1em;
}


nav ul ul li {
   float: none; 
   border-top: 1px solid #6b727c;
   border-bottom: 1px solid #575f6a;
   position: relative;
}

nav ul ul li a {
   padding: 0.5em 0.5em;
   color: white;
   text-align: left;
}	

nav ul ul li a:hover {
   background: white;
}

@media (min-width: 100px) {
 
   h1.navhead { 
      font-size: 1.1em;
   }
   h2.navhead {
      display: block;
      font-size: 0.6em;
   }
   h2 {
      font-size: 1.2em;
   }
   h3 {
      font-size: 1.05em;
   }
   nav ul li a {
      font-size: 1.1em;
   }
}

@media (min-width: 600px) {
 
   h1.navhead { 
      font-size: 1.5em;
   }
   h2.navhead {
      display: block;
      font-size: 1.0em;
   }
   h2 {
      font-size: 1.3em;
   }
   h3 {
      font-size: 1.2em;
   }
   nav ul li a {
      font-size: 1.2em;
   }
}

@media (min-width: 1000px) {
 
   h1.navhead { 
      font-size: 2.0em;
   }
   h2.navhead {
      display: block;
      font-size: 1.2em;
   }
   h2 {
      font-size: 1.5em;
   }
   h3 {
      font-size: 1.4em;
   }

   nav ul li a {
      font-size: 1.5em;
   }
   nav ul li a {
      padding: 0em 1em;
   }
}

@media (min-width: 1400px) {
   body {
      width: 60%;
      margin-left: auto ;
      margin-right: auto ;
   } 
   div.subpage {
      margin-left: auto ;
      margin-right: auto ;
      width: 95%; 
   }
}


