
// main.scss: Global styles
// ========================

@import "fonts"; // Fonts (only Noto Serif currently)

::selection {
  background-color: #468;
  color: #fff;
}

::-moz-selection {
  background-color: #468;
  color: #fff;
}

body {
    padding: 0;
    background-color: #f2f2f2;
    cursor: default;
    line-height: 1.618; // Golden ratio
    font-family: "Noto Serif";
}

p,
li,
table {
  font-size: 1.15em;
}

table {
  margin: 2.5em 0;
}

tr {
  border-bottom: 1px solid #aaa;
}

code {
  background-color: #eee;
  color: #555;
}

@media (max-width: 500px) {
  .logo {
    display: none;
  }
}

@media (min-width: 1200px) {
    .slogan {
        line-height:205px;
    }
}

@media (min-width: 768px) {
    .title {
        margin:0;
        line-height:205px;
    }
}

h1,
h2,
h3 {
  margin: 1em 0 1em 0.5em;
}

a {
  transition: 0.15s color;
}

.title {
    font-size: 3em;
    font-weight: bold;
}

.slogan {
    font-size: 2em;
    font-style: italic;
}

.bar {
  margin-top: 5em; // Prevent the navbar from overlaying the title
}

.navbar {
  background-color: rgba(.35, .35, .35, .7);
  border: 0;
}

.navbar-brand,
.navbar a {
  color: #eee !important;
}

.navbar a:hover,
.navbar a:focus {
  color: #bbb !important;
}

.navbar a:active {
  color: #fff !important;
  text-shadow: 0 0 0.1em #fff;
  transition: 0.15s text-shadow;
}

div.logo {
    padding: 2em 0;
    
    img {
        height: 3em;
        margin: 0 2em 0 0;
        vertical-align: bottom;
        width: 3em;
    }
    
    span {
        font-size: 2em;
        font-weight: bold;
    }
}

.recent { // Add recent class to news less than 2 weeks old
  color: #262;
}

.footer {
  color: #777;
  font-size: 1.1em;
  margin-top: 2em;
  padding: 2em 0;
  text-align: center;
}

/* For the navbar and the main banner graphic*/
.navbar{border-radius:0!important;}
.website-banner { width: 280px; }
@media screen and (min-width: 768px) {
    .website-banner { width: 590px; }
}
@media screen and (min-width: 992px) {
    .website-banner { width: 640px; }
}

/*
    The following allows a bootstrap hamburger menu to work without javascript

    Created using JS Bin
    http://jsbin.com

    Copyright (c) 2016 by maniqui (http://jsbin.com/sevula/2/edit)

    Released under the MIT license: http://jsbin.mit-license.org
*/
.no-js .navbar-collapse-close {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9997;
}
.no-js .navbar-collapse:target {
    display: block;
    visibility: visible;
}
.no-js .navbar-collapse:target .navbar-nav {
    position: relative;
    z-index: 9998;
}
.no-js .navbar-collapse:target .navbar-collapse-close {
    display: block;
}
