﻿body{background:#fff;font-family:Verdana}

.topmenu {border-bottom: 5px solid #9C0623;}


.topnav {overflow: hidden;float: right;}
.topnav a {float: left;display: block;color: #0000f2;
  text-align: center;padding: 14px 6px;text-decoration: none;
  font-size: 17px;border-radius: 10px;}

.active {color: #0000ff;font-weight: bold;background-color: #ddf;}
.topnav .icon {display: none;}
.dropdown {float: left;overflow: hidden;}

.dropdown .dropbtn {font-size: 17px;border: none;outline: none;color: #0000f2;padding: 14px 16px;
background-color: inherit;font-family: inherit;margin: 0;border-radius: 10px;}

.dropdown-content {display: none;position: absolute;background-color: #f9f9f9;min-width: 160px;box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);z-index: 1;}

.dropdown-content a {float: none;color: #0000f2;padding: 14px 16px;text-decoration: none;display: block;text-align: left;}

.topnav a:hover, .dropdown:hover .dropbtn {background-color: #ddd;}
.dropdown-content a:hover {background-color: #ddf;color: black;}
.dropdown:hover .dropdown-content {display: block;}


/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a, .dropdown .dropbtn {display: none;}
  .topnav a.icon {float: right;display: block;}
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {position: absolute;right: 0;top: 0;}
  .topnav.responsive a {float: none;display: block;text-align: left;padding: 14px 6px;}
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative; display: inline;}
  .topnav.responsive .dropdown  {display: block;width: 100%;text-align: left;}
  
}


/* rest of site specific css */

.newtxt {color:red;}

#maincontent {margin: auto;}

.whitebox {position:relative;height:120px;text-align:center;float:left;display:inline;margin:10px;padding:0 6px 2px 2px;border: 2px solid black;border-radius: 6px;min-width:400px;max-width:472px;}
.whitebox img {vertical-align:text-top;float:right;margin-top:3px;margin-right:0px;border-radius: 6px;}
.whitebox:hover {background-color: #ddf;}

.centerp {text-align:center;}
.imagep {text-align:center;text-indent:1em;font-style:italic;}
.imagep img, .centerp img {padding:1px;border:1px solid #021a40;border-radius: 10px;max-width: 100%;margin: auto;display: block;}

h1, h2, h3, h4 {clear: both;}
#footer{clear:both;text-align:center;font-size:12px;font-weight:700;padding-top:6px;}
#footer a,#footlinks a,#nolink a{color:#000;text-decoration:none;}

.h1title {font-weight: bold;}

@media screen and (max-width: 1022px) {
	.topmenu img {height: 50px;}
}

@media screen and (min-width: 1023px) {
	.topmenu img {height: 80px;}
	p {max-width: 1023px;}
}

