/*
 * The Drupal "audcom" theme, ported onto Bootstrap 3.  The fixed 992px
 * minimum widths are now maximums so the layout also works on small screens.
 */

/* Undo Bootstrap's typography where the original relied on browser defaults. */
html, body {
  font-family: 'Segoe UI Light', 'Verdana';
  font-size: 15px;
  line-height: normal;
  background-color: #ffffff;
  color: #222222;
  cursor: default;
  margin: 0;
}
#content h1, #content h2, #content h3, #content h4 {
  font-family: inherit;
  font-weight: bold;
  line-height: normal;
}
#content h1 { font-size: 2em; margin: .67em 0; }
#content h2 { font-size: 1.5em; margin: .83em 0; }
#content h3 { font-size: 1.17em; margin: 1em 0; }
#content ul, #content ol { margin: 1em 0; }
#content blockquote {
  margin: 1em 40px;
  padding: 0;
  border: 0;
  font-size: inherit;
}
#content blockquote p {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
a { color: #666666; font-weight: bold; text-decoration: underline; }
a:hover, a:focus { color: #C0C0C0; }
::selection { background-color: #647687; }

/* Centered columns: 50% of the window, but at least 992px of content. */
#header_container,
#link_container,
#content_container,
#footer_container {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}
#header_container { width: max(50%, 992px); }
#link_container { width: calc(max(50%, 992px) + 32px); }
#content_container,
#footer_container { width: calc(max(50%, 992px) + 32px); }

/* Header */
#top_container { background-color: #00ABA9; }
#header_container { background-color: #222222; color: #ffffff; }
#title_container {
  background-color: #00ABA9;
  padding: 40px 16px 8px;
}
#title_container #title { font-size: 40px; }
#header_divider { background-color: #222222; height: 32px; }
#link_container { padding-top: 6px; padding-left: 32px; }
#link_container ul { list-style: none; margin: 0; padding: 0; }
#link_container ul li { display: inline; }
#link_container a {
  margin-right: 16px;
  text-decoration: none;
  color: #cccccc;
  font-weight: bold;
}
#link_container a:hover, #link_container a:focus { color: #ffffff; }

/* Content */
#center_container { background-color: #ffffff; }
#content_container {
  background-color: #ffffff;
  padding: 16px 16px 0;
}
#content_container #content {
  float: left;
  text-align: justify;
  outline: none;
  position: relative;
  left: 16px;
  width: 100%;
}
.divider { background-color: #cccccc; height: 6px; margin-top: 16px; }
.article_title_container {
  background-color: #ffffff;
  font-weight: bold;
  color: #000000;
  overflow: hidden;
  outline: none;
  font-size: 20px;
}
.article_title, .article_date {
  height: 32px;
  padding-top: 6px;
  background-color: inherit;
  box-sizing: content-box;
}
.article_title { float: left; }
.article_date { float: right; text-align: right; }
#content article, #content p {
  background-color: #ffffff;
  padding: 1px 16px;
  margin-bottom: 16px;
}
#content article p,
#content article p:last-child { padding: 0; margin: 16px 0; }

/* Footer */
#footer_divider { background-color: #00ABA9; height: 32px; }
#bottom_container { background-color: #222222; }
#footer_container {
  font-weight: bold;
  background-color: #222222;
  color: #ffffff;
  height: 112px;
  padding: 16px;
}
#footer_container #footer_top { height: 60px; }
#footer_container #footer_bottom { height: 20px; }
#footer_container a { color: #FFF; }
#copyright { float: right; padding-right: 16px; }

@media (max-width: 767px) {
  #title_container { padding-top: 24px; }
  .article_title, .article_date { float: none; height: auto; }
  #copyright { float: none; }
  #content_container #content { left: 0; }
}
