/**
 * main.css - Core original styling restored
 * Base styles that maintain original design with modern security
 */


/* ==========================================================================
   WEB FONTS & RESET (Original Style)
   ========================================================================== */
@import url(//fonts.googleapis.com/css?family=Montserrat|Oswald|Lato);

/* RESET */
* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

/* ==========================================================================
   BASIC TYPOGRAPHY (Original Style)
   ========================================================================== */
body {
  font: normal 18px/22px "Lato", sans-serif;
  background-color: #fff;
  color: #333;
  font-weight: regular;
}

h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  font-size: 36px;
  line-height: 46px;
  color: #e0e0e0;
}

h2 {
  font-size: 24px;
  line-height: 33px;
  margin-bottom: -20px;
}

h3 {
  font-size: 18px;
  line-height: 24px;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: -20px;
}

p {
  margin: 20px 0;
}

a:link {
  font-weight: 600;
  color: #666666;
  text-decoration: none;
}

a:visited, a:hover, a:active {
  color: #ac2b1a;
  text-decoration: none;
}

/* ==========================================================================
   FIXED NAVIGATION BAR (Original Style)
   ========================================================================== */
.fixed-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  height: 50px;
  background-color: #2a2a2a;
  box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.6);
}

/* Navigation styling */
.fixed-nav-bar li, .fixed-nav-bar a { 
  height: 50px;
  line-height: 50px;
}

.menu {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

.menu a, .menu a:visited {
  font: normal 18px/22px "Montserrat", sans-serif;
  color: #ffffff;
}

.menu a:hover, .menu a:target {
  color: #ac2b1a;
}

.menu-items {
  display: inline-block;
}

.sitename {
  display: inline-block;
  margin-right: 20px;
  margin-left: 10px;
}

a.sitename, a:visited.sitename {
  color: #e0e0e0;
}

.menu-items li {
  display: inline-block;
  margin-right: 10px;
  margin-left: 10px;
}

.menu-items a {
  text-decoration: none;
}

.show, .hide {
  display: none;
  padding-left: 15px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center left;
  color: #dde1e2;
}

.show {
  background-image: url(../images/down-arrow-icon.png);
}

.hide {
  background-image: url(../images/up-arrow-icon.png);
}

.logo {
  float: left;
  margin-top: 10px;
  padding: 0px 20px;
  vertical-align: text-bottom;
}

/* ==========================================================================
   LAYOUT (Original Style with Background)
   ========================================================================== */
.content {
  position: relative;
  background: #464646 url(../images/dbt_bg.jpg) no-repeat center center fixed;
  background-size: cover;
  margin-top: 20px; /* Account for fixed nav */
}

.content, .description a:link, a:visited, a:hover, a:active {
  color: #ac2b1a;
}

.description, .some-related-articles {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

.description {
  padding-top: 100px;
  min-height: 150px;
  text-align: center;
}

.some-related-articles {
  color: #747474;
}

.some-related-articles h1 {
  color: #384e56;
  margin-top: 30px;
  text-transform: uppercase;
}

.some-related-articles h2 a:link, .some-related-articles h2 a:visited {
  color: #464646;
  transition: color 0.1s ease;
}

.some-related-articles h2 a:hover {
  color: #000000;
  transition: color 0.3s ease;
}

.quote {
  padding-left: 30px;
  font-style: italic;
}

/* ==========================================================================
   FOOTER (Original Style - Fixed Alignment)
   ========================================================================== */
footer {
  padding: 20px 0;
  border-top: 1px #dedede solid;
  background: #2a2a2a;
  text-align: center;
}

footer .footer-content {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

footer .rights {
  color: #999999;
  font-family: "Lato", arial;
  font-size: 16px;
  margin-top: 10px;
  line-height: 25px;
}

footer .rights a {
  text-decoration: none;
  font-family: 'Lato', arial;
  font-weight: bold;
  color: #999999;
}

footer a:hover {
  color: #ac2b1a;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.clear, .clearfix::after {
  clear: both;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Improve focus visibility for accessibility */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid #ac2b1a;
  outline-offset: 2px;
}

/* ==========================================================================
   RESPONSIVE NAVIGATION
   ========================================================================== */
@media only screen and (max-width: 800px) {
  .menu {
    position: relative;
    width: 100%;
  }

  .sitename {
    position: absolute;
    top: 0;
    left: 15px;
    margin-left: 0px;
  }

  .menu-items {
    display: none;
    width: 100%;
    margin-top: 50px;
    background-color: #999;
  }

  .menu-items li {
    display: block;
    text-align: center;
  }

  .show, .hide {
    position: absolute;
    top: 0;
    right: 15px;
  }

  .show {
    display: inline-block;
  }

  .hide {
    display: none;
  }

  #menu:target .show {
    display: none;
  }

  #menu:target .hide, #menu:target .menu-items {
    display: inline-block;
  }
}

@media only screen and (max-width: 220px) {
  .sitename, .show, .hide {
    font-size: 14px;
  }
}