/* Styling the page body **************************************/
nohead { background: #fff; }

head { background: #fff; }

    @media only screen and (min-width: 600px)
    {
        body {
        	position: absolute;
        	width: 80%;
        	margin: 0 auto;
        	padding: 0;
        	font: 110%/1.7 "Trebuchet MS", Helvetica, Arial, sans-serif;
        	color: #555;
            background: url(images/backgroundopaque600px.png) no-repeat;
            background-position: 35% 40%;
            background-attachment: fixed;
        }
        
        .topnav {
          background-color: #e5ddea;
          overflow: hidden;
          position: fixed; /* Set the navbar to fixed position */
          top: 0; /* Position the navbar at the top of the page */
          width: 80%; /* Full width */
        }
        
        #main-content
        {
            padding: 0px 0px 20px 5px;
        	width: 95%;
            margin-top: 120px;
        }
    }
    
    @media only screen and (max-width: 1000px)
    {
    	body
    	{
        	position: absolute;
        	width: 100%;
        	margin: 0 auto;
        	padding: 0;
        	font: 110%/1.7 "Trebuchet MS", Helvetica, Arial, sans-serif;
        	color: #555;
            background: url(images/backgroundopaque600px.png) no-repeat;
            background-position: 35% 40%;
            background-attachment: fixed;
    	}
    	
        #main-content
        {
            padding: 0px 0px 20px 5px;
        	width: 95%;
            margin-top: 120px;
        }
    }

/* Styling links **********************************************/
a { font-weight: bold; color: #7177f8; text-decoration: none;}
a:link { color: #7177f8; }
a:visited { color: #7177f8; }
a:hover { color: #444df8; font-style: italic;}
a:active { color: #aeb9d4;}

/* Styling headings *******************************************/
h2, h3 {
	color: #006400;
	font: normal 130% "Trebuchet MS", Helvetica, Arial, sans-serif;
	margin-top: 0; }

h3 { font-size: 115%; }
h4 { margin-bottom: -1em; }

/* Styling the address ****************************************/
#address {
	color: #eee;
  position: absolute;
  top: 15px;
  right: 10px;
  margin: 0;
  text-align: left;
  font-size: 90%;
  line-height: 1.3; }

/* Styling the tag line ***************************************/
#tagline {
  margin: 0;
  position: absolute;
  top: 120px;
  right: 0;
  width: 65%;
  font: italic 140% Georgia, "Times New Roman", Times, serif;
  color: #aeb9d4;
  text-align: center; }

#tagline p { margin: 0 0 .2em; }

/* Styling the main content ************************************/

#main-content-nohead
{
    padding: 0px 0px 20px 5px;
	width: 95%;
}
#main-content-nohead p img {
	float: right;
	margin-left: 100px;
	position: relative;
	border: none;
	padding: 2px; }

#main-content p img {
	float: right;
	margin-left: 10px;
	position: relative;
	border: none;
	padding: 2px; }
	
#contact
{
    margin-left: auto;
    margin-right: auto;
    margin-top:20%;
}

#contact tr td
{
  font-size: 180%;
}

#medlinks
{
  border: 2px solid #7177f8;
  border-collapse: collapse;
}
#medlinks tr
{
  border: 2px solid #7177f8;
  border-collapse: collapse;
}
#medlinks tr td
{
  border: 2px solid #7177f8;
  border-collapse: collapse;
}

#topbar
{
  visibility: hidden;
}

/* Drop down menu */


#topbarsmall
{
  position: fixed; /* Set the navbar to fixed position */
  width: 100%;
  background-color: #e5ddea;
  visibility: hidden;
}

#topbarsmall > div
{
  background-color: #e5ddea;
  margin: 20px;
  text-align: left;
  font-size: 90%;
}

.dropbtn {
  background-color: #e5ddea;
  color: white;
  font-size: 16px;
  border: none;
}

.dropdown
{
    background-color: #e5ddea;
    float: right;
    z-index: 5;
}

#dropdown-content {
  display: none;
  position: absolute;
  background-color: #e5ddea;
  min-width: 160px;
  margin-right: 50px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 8;
}

#dropdown-content a {
  color: #7177f8;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

#dropdown-content a:hover {background-color: #ddd; color: #444df8;}

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

.dropdown:hover .dropbtn {background-color: #3e8e41;}

/* Drop down menu */

/* Transition Drop down menu */

#topNavTransition {
  height: 0;
  width: 0;
  float: right;
  position: fixed;
  z-index: 1;
  top: 150px;
  right: 0;
  background-color: #e5ddea;
  overflow-x: hidden;
  transition: 0.5s;
}

#topNavTransition a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 140%;
  color: #7177f8;
  display: block;
  transition: 0.3s;
}

#topNavTransition a:hover {
  color: #444df8;
  background-color: #ddd;
}

#topNavTransition .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Transition Drop down menu */

.largerfont
{
  font-size: 110%;
}

#webmaster
{
	font-size: 70%;
	font-weight: bold;
}

/* Top navigation bar **********************************/

/* Style the links inside the navigation bar */
.topnav a {
  margin-bottom: 10px;
  color: #7177f8;
  text-align: center;
  padding: 14px 16px 20px;
  text-decoration: none;
  font-size: 120%;
  font-weight: bold;
    
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: #444df8;
  font-style: italic;
    
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #04AA6D;
  color: white;
}	
/* END Top navigation bar **********************************/

/* Styling the footer ********************************************/
#footer {
	clear: both;
	text-align: right;
	font-size: 80%;
	color: #444df8;
	padding-top: 10px;
	position: relative;
	visibility: hidden;
	background: transparent url(images/footer.png) 100% 0 repeat-x;
}

