* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
}

.content {
  /* provides the margins removed from the body */
  margin-left: 8px;
  margin-right: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}

main {
  font-family: "Lora", serif;
  max-width: 560px;
  /* center the main content */
  margin-left: auto;
  margin-right: auto;
}

a {
  color: #215C7C;
  text-decoration: none;
}

h1 {
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 0px;
}

p {
  line-height: 130%;
}

.dateline {
    font-weight: bold;
}
/******************************************************************************/
.top-bar {
  background-color: #eeeeee;
  display: block;
}

.top-bar a {
  color: #000000;
  text-decoration: none;
}

.top-content {
  display: block;
}

.top-block {
  display: flex;
  /* width: 100%; */
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.top-logo {
  align-self: center;
  margin-left: 0;
  margin-right: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.top-logo img {
  display: block;
}

.top-title {
  align-self: center;
  margin: 8px;
  font-size: 48px;
  font-weight: bold;
}

.top-menu {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin-left: auto;
}

.top-menu a {
  display: flex;
  align-self: stretch;
  text-decoration: none;
}

.top-menu-item {
  align-self: center;
  margin: 8px;
  margin-left: 8px;
  margin-right: 8px;
  font-weight: bold;
}

.top-menu-box:hover {
  background-color: #d0d0ff;
}

.top-menu-box.active {
  background-color: #d0d0ff;
}

/******************************************************************************/
/* Forms                                                                      */
/******************************************************************************/
form {
  background-color: #eeeeee;
  display: flex;
  flex-wrap: wrap;
  padding: 24px;
  font-weight: bold;
}

form .title {
  font-size: 24px;
  font-weight: bold;
}

label {
  display: block;
  width: 100%;
  margin-left: 0px;
  margin-right: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}

input {
  display: block;
  width: 100%;
  margin-left: 0;
  margin-right: 8px;
  margin-top: 0;
  margin-bottom: 8px;
}

textarea {
  display: block;
  width: 100%;
  height: 8em;
  margin-left: 0;
  margin-right: 8px;
  margin-top: 0;
  margin-bottom: 8px;
}

form button {
  margin-left: auto;
  margin-right: 8px;
}

/******************************************************************************/
/* Link Block                                                                 */
/******************************************************************************/
.link-panel {
  /* margin-left: auto;
  margin-right: auto; */
}

.link-block {
  background-color: #eeeeee;
  display: flex;
  margin: 8px;
  margin-left: 0;
  margin-right: 0;
}

.link {
  display: inline;
  align-self: center;
}

.link-icon {
  margin: 8px;
}

.link-title {
  display: inline;
  align-self: center;
}

/******************************************************************************/
/* Mobile adjustments                                                         */
/******************************************************************************/
@media screen and (max-width: 560px) {
  .top-title {
    display: none;
  }

  .top-logo {
    margin-left: 8px;
  }
}
