/* Page Framework */

a:link { color: #339999; font-weight: bold; }
a:visited { color: #006666; font-weight: bold; }
body { font-size: 18px; margin: 0; padding: 0; padding-right: 5px; }
h1 { font-weight: normal; margin-bottom: 12px; margin-top: 0; padding: 0; }
h2 { font-size: 32px; font-weight: normal; margin-bottom: 12px; margin-top: 0; padding: 0; }
/* Use border: 0; to get rid of border on linked images in IE */
img { border: 0; }
p { margin-bottom: 12px; margin-top: 0; }
/* overflow: hidden is a hack to get bullets to align properly when bulleted list is to the 
	right of a left-floated element. */
ul { overflow: hidden; padding-left: 20px; }

.container { border-collapse: collapse; margin: 0; padding: 0; width: 100%; }
.logo { margin: 0; padding-bottom: 7px; padding-left: 11px; padding-top: 11px; }
.page-header { color: #008080; font-size: 48px; padding-left: 15px; padding-top: 6px; }
.page-footer { width: 100%; text-align: center; }

.leftsash { background-color: #20b2aa; border-radius:10px; font-size: 18px; margin: 0; padding: 0; vertical-align: top; width: 150px; }
.leftsash ul { list-style: none; margin: 0; padding: 8px; }
.leftsash li { margin-bottom: 18px; }
.leftsash a:link { color: #000000; font-weight: normal; }
.leftsash a:visited { color: #ffffff; font-weight: normal; }

.content { padding: 0; padding-left: 10px; vertical-align: top; }

.section { clear: both; margin-bottom: 10px; }
.float-left { clear: left; float: left; margin-bottom: 10px; margin-right: 10px; }
.float-right {  clear: right; float: right; margin-bottom: 10px; margin-left: 10px; }

.center { text-align: center; }
.right { text-align: right; }

table.float-left { border-collapse: collapse; width: 1%; }
table.float-right { border-collapse: collapse; width: 1%; }
table.layout { border-collapse: collapse; margin: 0; padding: 0 }
table.layout td { padding: 0; }

/* 2015-11-24 (JK): .button class created for "Donate" button on home page. If we implement other buttons, we may want to make this class more general. */
a.button { background-color:#20b2aa; border:1px solid; border-radius:10px; color:white; display:inline-block; font-family:Arial; font-size:24px; 
   padding:4px 0; text-decoration:none; width:100%; }
.caption { font-size: 14px; font-style: italic; }
ul.toc { background-color: #eeeeee; border: solid 0px #eeeeee; 
	font-family: arial, sans-serif; font-size: 14px; list-style: none;
	margin: 0; margin-bottom: 10px; padding: 0; width: 100%; }
ul.toc li { padding: 5px; }

/* 2016-01-19 (JK): Added for redesign - from http://cssmenumaker.com/menu/css3-drop-down-menu */
#cssmenu,
#cssmenu ul,
#cssmenu li,
#cssmenu a {
  border: none;
  line-height: 1;
  margin: 0;
  padding: 0;
}
#cssmenu {
  height: 37px;
  display: block;
  /* 2016-01-19 (JK): we don't want a border
  border: 1px solid;
  */
  border-radius: 5px;
  width: auto;
  border-color: #080808;
  margin: 0;
  padding: 0;
}
#cssmenu > ul {
  list-style: inside none;
  margin: 0;
  padding: 0;
}
#cssmenu > ul > li {
  list-style: inside none;
  float: right; /* 2016-01-19 (JK): was float: left in original; we want it right aligned. */
  display: inline-block;
  position: relative;
  margin: 0;
  padding: 0 6px 0 0;
}
#cssmenu.align-center > ul {
  text-align: center;
}
#cssmenu.align-center > ul > li {
  float: none;
  margin-left: -3px;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-center > ul > li:first-child > a {
  border-radius: 0;
}
#cssmenu > ul > li > a {
  outline: none;
  display: block;
  position: relative;
  text-align: center;
  text-decoration: none;
  /* 2016-01-19 (JK): removed; not sure what this does 
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4); 
  */
  font-weight: 700;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  /* 2016-01-19 (JK): removed; we don't want a border
  border-right: 1px solid #080808;
  */
background-color: #20b2aa;
border-radius: 6px;
  color: #ffffff;
  padding: 6px;
}
/* 2016-01-19 (JK): removed; all buttons treated the same
#cssmenu > ul > li:first-child > a {
  border-radius: 5px 0 0 5px;
}
*/
#cssmenu > ul > li > a:after {
  content: "";
  position: absolute;
  #border-right: 1px solid;
  top: -1px;
  bottom: -1px;
  right: -2px;
  z-index: 99;
  border-color: #3c3c3c;
}
#cssmenu ul li.has-sub:hover > a:after {
  top: 0;
  bottom: 0;
}
#cssmenu > ul > li.has-sub > a:before {
  content: "";
  position: absolute;
  top: 18px;
  right: 6px;
  border: 5px solid transparent;
  border-top: 5px solid #ffffff;
}
#cssmenu > ul > li.has-sub:hover > a:before {
  top: 19px;
}
#cssmenu > ul > li.has-sub:hover > a {
  padding-bottom: 14px;
  z-index: 999;
  border-color: #3f3f3f;
}
#cssmenu ul li.has-sub:hover > ul,
#cssmenu ul li.has-sub:hover > div {
  display: block;
}
#cssmenu > ul > li.has-sub > a:hover,
#cssmenu > ul > li.has-sub:hover > a {
  background: #3f3f3f;
  border-color: #3f3f3f;
}
#cssmenu ul li > ul,
#cssmenu ul li > div {
  display: none;
  width: auto;
  position: absolute;
  top: 38px;
  background: #3f3f3f;
  border-radius: 0 0 5px 5px;
  z-index: 999;
  padding: 10px 0;
}
#cssmenu ul li > ul {
  width: 200px;
}
#cssmenu ul ul ul {
  position: absolute;
}
#cssmenu ul ul li:hover > ul {
  left: 100%;
  top: -10px;
  border-radius: 5px;
}
#cssmenu ul li > ul li {
  display: block;
  list-style: inside none;
  position: relative;
  margin: 0;
  padding: 0;
}
#cssmenu ul li > ul li a {
  outline: none;
  display: block;
  position: relative;
  font: 10pt Arial, Helvetica, sans-serif;
  color: #ffffff;
  text-decoration: none;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
  margin: 0;
  padding: 8px 20px;
}
/* 2016-01-19 (JK): These provide a black background for the entire div - we don't want this.
#cssmenu,
#cssmenu ul ul > li:hover > a,
#cssmenu ul ul li a:hover {
  background: #3c3c3c;
  background: -moz-linear-gradient(top, #3c3c3c 0%, #222222 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3c3c3c), color-stop(100%, #222222));
  background: -webkit-linear-gradient(top, #3c3c3c 0%, #222222 100%);
  background: -o-linear-gradient(top, #3c3c3c 0%, #222222 100%);
  background: -ms-linear-gradient(top, #3c3c3c 0%, #222222 100%);
  background: linear-gradient(top, #3c3c3c 0%, #222222 100%);
}
*/
/* 2016-01-19 (JK): Don't need hover effects
#cssmenu > ul > li > a:hover {
  background: #080808;
  color: #ffffff;
}
#cssmenu ul ul a:hover {
  color: #ffffff;
}
*/
#cssmenu > ul > li.has-sub > a:hover:before {
  border-top: 5px solid #ffffff;
}