@import url("https://fonts.googleapis.com/css?family=Roboto:400,900");
@import url("http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css");
* {
  box-shadow: 0 0 1em transparent;
  box-sizing: border-box;
  font-family:"Roboto", sans-serif;
  transition: all 0.25s ease, height none, display none;
}

*:focus {
  outline: 3px solid black;
}

.whiteText {
  color: white;
}

.whiteText a {
  color: #85ff9e;
  position: relative;
}

.whiteText a:hover {
  color: #85ff9e;
  filter: brightness(1.5);
  top: -2px;
}

.whiteText a:active {
  transform: translate(0, 1px);
  top: 1px;
}

.blackText {
  color: black;
}

.blackText a {
  color: #13294b;
  position: relative;
}

.blackText a:hover {
  color: #13294b;
  filter: brightness(1.5);
  top: -2px;
}

.blackText a:active {
  text-shadow: 0 0 0 rgba(255, 255, 255, 0.1);
  top: 1px;
}

body {
  background-color: #fff;
  font-family: "Roboto", sans-serif;
  padding: 0;
}

body div {
  padding: 0;
}

.greenBG {
  background-color: #85ff9e;
}

.orangeBG {
  background-color: #e04e39;
}

.blueBG {
  background-color: #13294b;
}

.goldBG {
  background-color: #c5ae87;
}

.yellowBG {
  background-color: #fffd98;
}

.blackBG {
  background-color: #000;
}

#main-header {
  background-color: #000;
  font-family: "Roboto", sans-serif;
  height: 160px;
  padding: 10px 5vw;
  width: auto;
}

#header-back-button {
  color: white;
  display: block;
  padding: 10px;
}

#header-back-button > * {
  height: 100px;
  margin: 10px;
  vertical-align: middle;
}

#header-back-button:hover {
  padding: 10px;
  vertical-align: middle;
}

#main-header.collapsed #header-logo {
  background-color: #fff;
  border-radius: 10px;
  display: inline-block;
  height: 84px;
  padding: 10px;
  width: 84px;
}

#main-header.collapsed h1 {
  color: #fff;
  display: inline-block;
  font-size: 36px;
  font-weight: bolder;
  line-height: 100px;
  text-align: left;
  top: 0;
  width: auto;
}

#main-header.collapsed #header-back-button img {
  border-radius: 10px;
  height: 64px;
  width: 64px;
}

#main-header.collapsed #header-back-button #logo-img {
  display: inline-block;
  opacity: 1;
}

#main-header.collapsed #header-back-button #logo-hoverImg {
  display: none;
}

#main-header.collapsed #header-back-button #logo-activeImg {
  display: none;
}

#main-header.collapsed #header-back-button:hover #logo-img {
  display: none;
}

#main-header.collapsed #header-back-button:hover #logo-hoverImg {
  display: inline-block;
  opacity: 1;
}

#main-header.collapsed #header-back-button:hover #logo-activeImg {
  display: none;
}

#main-header.collapsed #header-back-button:active #logo-img {
  display: none;
}

#main-header.collapsed #header-back-button:active #logo-hoverImg {
  display: none;
}

#main-header.collapsed #header-back-button:active #logo-activeImg {
  display: inline-block;
  opacity: 1;
}

h2,
h3 {
  font-family: "Roboto", sans-serif;
}

h1 {
  text-align: center;
}

.main-section {
  box-shadow: 0 -20px -2em rgba(0, 0, 0, 0.3);
  display: block;
  height: 100vh;
}

.main-section .whiteText .section-icon,
.main-section .whiteText.section-icon {
  color: rgba(255, 255, 255, 0.5);
  font-variant: small-caps;
  text-transform: lowercase;
}

.main-section .blackText .section-icon,
.main-section .blackText.section-icon {
  color: rgba(255, 255, 255, 0.5);
  font-variant: small-caps;
  text-transform: lowercase;
}

.main-section h2 {
  display: inline-block;
  padding: 64px 0;
  text-align: left;
}

.main-section .section-icon {
  font-variant: small-caps;
  text-transform: lowercase;
}

article {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5em;
  margin: calc(max(5vw, 5px));
  max-width: 720px;
}

article.wide {
  max-width: 1080px;
}

h,
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2em;
  text-align: left;
}

h1 {
  font-size: 36px;
  font-weight: 900;
}

.tag {
  padding: 0.5em;
  width: fit-content;
  border-radius: 0.25em;
}

img {
  max-width: 720px;
}

.gallery {
  display: inline-block;
  margin-bottom: 0.25em;
}

.gallery.two > img {
  float: left;
  margin-right: 2px;
  width: calc(50% - 2px);
}

.gallery.three > img {
  float: left;
  margin-right: 2px;
  width: calc(33.333% - 2px);
}

.gallery.four > img {
  float: left;
  margin-right: 2px;
  width: calc(25% - 2px);
}

.gallery.five > img {
  float: left;
  margin-right: 2px;
  width: calc(20% - 2px);
}

.gallery + * {
  clear: left;
}

.main-footer {
  display: block;
  height: calc(100vh - 64px - 1.5em);
  text-align: center;
}

.main-footer .section-icon {
  font-variant: small-caps;
  text-transform: lowercase;
}

.main-footer h2 {
  display: inline-block;
  padding: 64px 0;
  text-align: left;
}

#featured-image {
  background: black;
  color: white;
  padding: calc(max(0.5vw, 10px));
  width: 100%; 
  padding: calc(max(0.5vw, 10px));
}

/* Sortable tables */

table.sortable {
  max-width: 1080px;
}

table.sortable thead {
  background-color:#aaa;
  color: black;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
  padding: 0.5em;
}

table.sortable {
  border-collapse: collapse;
}

table.sortable td {
  border-left: none;
  border-right: none;
  border-bottom: 2px solid white; /*TODO: make conform to a theme*/
  background-color: #eee;
  padding: 0.5em;
}

.gallery-right {
  float: right;
  max-width: 25%;
  margin-left: 20px;
}

.gallery-left {
  float: left;
  height: 400px;
  border: 10px solid black;
  margin-left: 20px;
}

.gallery-borderless {
  max-width: 330px;
  background: white;
  padding: calc(max(0.5vw, 10px));
}

.gallery-wide {
  width: 100%;
  background: white;
  padding: calc(max(0.5vw, 10px));
}

.clear-left {
  clear: left;
}

.clear-right {
  clear: right;
}

.clear-both {
  clear: both;
}

iframe {
  border-width: 0px;
}