body {
    background-color: white;
    margin: 0px;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
}

.heading {
    overflow: hidden;
    background-color: #efffef;
    margin: 0px;
    border-bottom-style: solid;
    border-color: #005229;
    border-width: 1px;
}

.title-bar {
    width: 100%;
    height: 55px;
    border-bottom-style: solid;
    border-color: #005229;
    border-width: 0.5px;

}

.title-bar-text {
    color: #005229;
    font-size: 25px;
    line-height: 55px;
}

.title-bar img {
    float: left;
    display: block;
    padding: 3px 30px 0 45px;
    margin-bottom: 0;
}

.top-menu {
}

.top-menu a {
    float: left;
    display: block;
    color: #005229;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
    overflow: hidden;
}

.top-menu a:hover, .top-dropdown:hover .top-dropdown-btn {
  background-color: #005229;
  color: #efffef;
}

.top-menu a.menu-icon:hover {
  background-color: #efffef;
}

.top-menu a.active {
  background-color: #005229;
  color: #efffef;
}

.top-menu a.menu-icon.active {
  background-color: #efffef;
}

.top-menu-right-all {
    display: flex;
    float: right;
}

.top-menu-right {
    display: flex;
    float: left;
}


.top-menu-left {
    display: flex;
    position: relative;
    float: left;
}

.top-menu .menu-icon {
    display: none;
    padding-top: 9px;
    padding-bottom: 5px;
}

.login-menu {
    float: right;
}

.top-dropdown {
    font-size: 17px;
    font-weight: bold;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.top-dropdown-btn {
    border: none;
    outline: none;
    padding: 14px 16px;
    margin: 0;
    color: #005229;
    font-size: 17px;
    font-weight: bold;
    background-color: inherit;
    font-family: inherit;
}    

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

.top-dropdown-content a {
    float: none;
    color: #005229;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.top-dropdown-content a:hover {
    color: #efffef;
    background-color: #005229;
}

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

@media screen and (max-width: 800px) {
  .top-menu.responsive {position: relative;}
  .top-menu-left a {
    float: none;
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .top-menu a.menu-icon {
    float: left;
    display: flex;
  }
  div.allbody {
      display: block;
  }
  .menu {
      width: 0;
      display: none;
  }
  div.textbody {
      padding-left: 5px;
      width: 100%;
      height: 100%;
      float: left;
      overflow-x: auto;
  }
  .top-menu-right a {
      display: none;
      width: 0;
      height: 0;
  }
  
}

/******************/
.allbody {
    width: 100%;
    z-index: 10;
    display: flex;
    flex: 1;
}

.textbody {
    padding: 20px;
    order: 2;
    flex: 1;
    overflow-x: scroll;
}

.frontbox {
    width: 85%;
    position: relative;
    left: 6%;
    border-radius: 25px;
    border: 2px solid #005229;
    padding: 20px;
}

.frontbox h1, .frontbox h2, .frontbox p, .frontbox table {margin:0 10px}

.frontbox table, .frontbox li { padding-top: 1em; }

.frontbox ul {
    margin-top: 0em;
    margin-bottom: 0em;
}

.frontbox h1 {
    margin-top: 0em;
    font-size: large;
    font-weight: bold;
    color: #005229;
    font-family: helvetica,arial,sans-serif;
}

.footer {
    background-color: #efffef;
    z-index: 100;
    font-size: small;
    text-align: center;
    border-top-style: solid;
    border-top-width: thin;
    padding: 10px;
}

.footnote {
    position: static;
    font-size: small;
}

.center {
    text-align: center;
}

img { border: 0; }
img.l { 
   border: 0; 
   float: left;
}

em.alert { 
   color: red; 
   font-style: normal;
}

.error {
    color: #B3001E
}

/**************************/
/****   sidebar menu   ****/
/**************************/

/* Fixed sidenav, full height */
.menu {
  width: 180px;
  flex: 0;
  order: 1;
  flex-basis: 180px;
  border-right-style: solid;
  border-color: #005229;
  border-width: 1px;
}

.sidenav {
  height: 100%;
  width: inherit;
  background-color: #efffef;
  padding-top: 20px;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

/* Style the sidenav links and the dropdown button */
.sidenav a, .dropdown-btn {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 17px;
  color: #005229;
  display: block;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
}

/* On mouse-over */
.sidenav a:hover, .dropdown-btn:hover {
  color: #efffef;
  background-color: #005229;
}

/* Add an active class to the active dropdown button */
.active {
  color: #efffef;
  background-color: #005229;
}

/* Dropdown container (hidden by default).  */
.dropdown-container {
  display: none;
  padding-left: 8px;
}


/* pagination */

.paging {
    clear:both;
}

.pagination {
    display: block;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    justify-content: center;
}

.pagination ul {
    display: flex;
    list-style-type: none;
}

.pagination li {
    display: inline-block;
    list-style-type: none;
}

.pagination li a {
    display: flex;
    padding: 8px 10px;
    margin: 1px 3px;
    color: #005229;
    background-color: #efffef;
    text-decoration: none;
    box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px;
    font-size: smaller;
    border: 1px solid #005229;
    border-radius: 3px;
}

.pagination li a:hover {
    color: #efffef;
    background-color: #005229;
}

.pagination li a.active {
    color: #efffef;
    background-color: #005229;
}

.news-date, .event-date {
    font-weight: bold;
    min-width: 100px;
    vertical-align: top;
}

iframe.embed {
    width: 100%;
    height: 100%;
    border: none;
    overflow-x: auto;
}
