/*--Layout--*/

body {
  margin: 0px;
  background-color: #0c100f;
  background-image: url(emerald_sky_empty.png);
  background-repeat: no-repeat;
  background-size: 100%;
  color: #000;
  font-family: Verdana, Arial;
  font-size: 0.85em;
  text-align: center;
}

div#header {
  padding: 15px 0px 4px 0px;
  background-color: #111;
}

nav {
  float: left;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

div#header-logo {
  width: 208px;
  height: 64px;
  margin: -15px 30px 0px 0px;
  background-image: url(banner.png);
  background-size: contain;
  background-repeat: no-repeat;
}

div#header-other {
  float: right;
  margin: 5px 0px 15px;
  color: #fff;
}

div#header-bottom {
  clear: both;
}

div#heading {
  margin-bottom: 40px;
}

main {
  max-width: 942px;
  margin: 20px auto 0px;
  padding: 15px 15px 30px;
  border: 1px solid #000;
  background-color: #f9f9f9;
  line-height: 150%;
  text-align: left;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

footer {
  padding: 20px 5px;
  color: #999;
  line-height: 180%;
}


/*--Containers--*/

section {
  margin-bottom: 35px;
}

div.contentHeading {
  padding: 2px 6px 0px;
  border-width: 1px 1px 0px;
  border-style: solid;
  border-color: #000;
  background-image: url(content_heading.gif);
  background-repeat: no-repeat;
  background-color: #30472a;
  color: #fff;
  font-size: 0.95em;
  font-weight: bold;
  text-shadow: 1px 1px 4px #333;
}

div.contentHeading span {
  color: #eb9436;
  font-size: 0.85em;
}

div.contentMenu, div.contentBox {
  margin: 0px 0px 50px;
  padding: 6px;
  border: 1px solid #000;
  background-color: #eee;
}

div.contentTags {
  margin-top: 15px;
  font-size: 0.95em;
}

div.panelFull, div.panelSplit {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-top: 5px;
}

div.panelFull div.card {
  max-width: 100%;
}

div.panelSplit div.card {
  max-width: calc((100% - 30px) / 2);
}

div.card {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  padding-right: 10px;
}

div.card a {
  margin-right: 10px;
}

div.card img {
  max-width: 90px;
}

div.card div p {
  margin-top: 5px;
  color: #222;
}

div.invis {
  overflow: hidden;
  height: 100%;
}

.floatleft {
  float: left;
  margin: 0px 12px 4px 0px;
}


/*--Link styles--*/

div#header a, div#header a:visited {
  margin: 4px 10px;
  display: inline-block;
  padding: 3px;
  color: #fff;
}

div#header a:hover, div#header a:active {
  color: #ccc;
}

div#header-logo a {
  height: 100%;
  margin: 0px;
  display: block;
  padding: 0px;
}

div.contentHeading a {
  color: #fff;
}

a, div.contentMenu a, div.contentTags a {
  color: #455da8;
  font-weight: bold;
  text-decoration: none;
}

a:visited {
  color: #672d97;
}

a:hover, a:active,
div.contentMenu a:hover, div.contentMenu a:active,
div.contentTags a:hover, div.contentTags a:active {
  color: #6b89e4;
}

footer a, footer a:visited {
  color: #24a58b;
}

footer a:hover, footer a:active {
  color: #197361;
}

div#error {
  color: #f00;
}


/*--Tag definitions--*/

h1 {
  line-height: 100%;
  font-size: 1.8em;
  font-weight: bold;
}

h2 {
  margin-bottom: 8px;
}

h3 {
  color: #333;
  font-size: 1.2em;
  font-weight: normal;
}

.input {
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  margin-top: 5px;
  padding: 5px;
  font-family: Verdana, Arial;
  font-size: 1.0em;
}

main img {
  max-width: 100%;
}

div.imgRight {
  float: right;
  max-width: 45%;
  margin: 0px 0px 30px 30px;
  text-align: center;
  font-size: 0.9em;
  font-weight: bold;
  color: #555;
}

div.imgRight img {
  display: block;
  margin: 0px auto 8px;
}


/*--Responsive elements--*/

@media screen and (max-width: 962px) {
  body {
    background-image: none;
  }

  main {
    margin: 0px;
    padding: 10px 10px 30px;
    border: none;
    box-shadow: none;
  }
}

@media screen and (max-width: 600px) {

  div.panelSplit div.card {
    max-width: 100%;
  }

  div.imgRight {
    float: none;
    max-width: 100%;
    margin: 0px 0px 30px;
    text-align: center;
  }
}
