@font-face {
  font-family: 'Rosario';
  font-style: normal;
  font-weight: 400;
  src: url('../vendor/fonts/Rosario-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Rosario';
  font-style: normal;
  font-weight: 700;
  src: url('../vendor/fonts/Rosario-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Rosario';
  font-style: italic;
  font-weight: 400;
  src: url('../vendor/fonts/Rosario-Italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Rosario';
  font-style: italic;
  font-weight: 700;
  src: url('../vendor/fonts/Rosario-BoldItalic.woff2') format('woff2');
}

* {
  margin: 0;
  padding: 0;
}

html, body {
  font-family: Rosario, sans-serif;
  font-size: 1em;
}

html, body, a {
  color: #020860;
}

img {
  max-width: 100%;
  display: block;
}

img.banner {
  margin: 0 auto;
}

img.loading-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto;
}

p {
  margin-bottom: 0.8em;
}

ul {
  margin-left: 2em;
}

#wrapper {
  width: 70%;
  margin: 0 auto;
}

#header {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 8vh;
  margin-bottom: 4vh;
  background-color: #FFF;
  border-bottom: 2px solid transparent;
  transition: border-bottom-color 0.5s;
}

#header.collapsed {
  width: inherit;
  position: fixed;
  margin: 0 auto;
  top: 0;
  z-index: 10;
  border-bottom: 2px solid #020860;
  opacity: 0.95;
}

#header #hamburger-toggle {
  display: none;
}

#header #top-nav {
  width: 100%;
  display: table;
  table-layout: fixed;
  text-align: center;
  margin-bottom: 0.5em;
}

#header #top-nav a {
  display: table-cell;
  padding: 10px 0;
  text-decoration: none;
  position: relative;
  color: #CACACA;
  transition: all 0.5s;
}

#header #top-nav a:hover {
  cursor: pointer;
}

#header #top-nav a.active {
  color: #020860;
}

#header #top-nav a:hover {
  cursor: pointer;
}

#header:hover #top-nav a {
  color: #020860;
}

#nav-underline {
  position: absolute;
  background: #020860;
  height: 1px;
  left: 0;
}

#content {
  width: 80%;
  margin: 0 auto;
  font-size: 0.8em;
  bottom: 100vh;
}

#content > {
  position: absolute;
  top: 0;
}

#content > .ng-enter,
#content > .ng-leave {
  transition: all 650ms;
  -webkit-transition: all 650ms;
}

#content > .ng-enter {
  opacity: 0;
}

#content > .ng-enter-active {
  opacity: 1;
}

#content > .ng-leave {
  opacity: 1;
}

#content > .ng-leave-active {
  display: none;
}

div.section {
  margin: 1em;
}

div.section div.title {
  margin-bottom: 0.5em;
  font-weight: bold;
  text-align: center;
}

#home {
  margin-left: -25%;
  margin-right: -25%;
}

#officers {
  height: 100%;
}

#officer-circles {
  text-align: center;
  min-height: 78vh;
}

#officer-circles a {
  display: inline-block;
}

#officer-circles img {
  cursor: pointer;
  width: initial;
  transition: all 0.5s;
}

#officer-circles img:hover {
  opacity: 0.75;
}

#officer-profiles {
  margin-top: 10px;
  margin-bottom: 10px;
}

#officer-profiles > div {
  padding: 75px 0 75px;
  width: 100%;
  display: table;
  table-layout: fixed;
}

#officer-profiles div.left,
#officer-profiles div.right {
  display: table-cell;
  vertical-align: middle;
}

#officer-profiles div.left {
  padding-right: 5px;
  width: 60%;
}

#officer-profiles div.left img.profile {
  float: right;
}

#officer-profiles div.right {
  padding-left: 5px;
  width: 40%;
}

#officer-profiles div.right div.superpower {
  margin-top: 0.5em;
}

#officer-profiles div.right div.superpower div.superquote p {
  font-style: italic;
  margin-bottom: 0;
}

#officer-profiles div.right div.superpower div.superquote p:before {
  content: "\201C";
}

#officer-profiles div.right div.superpower div.superquote p:after {
  content: "\201D";
}

#events ul {
  list-style-type: none;
  margin: 0;
}

#events li.event {
  padding-top: 1.5em;
  padding-bottom: 1.5em;
  border-bottom: 2px solid #020860;
  text-align: center;
}

#events li.event:last-child {
  border: none;
}

#events li.event div.event-title {
  font-size: 1.4em;
  font-weight: bold;
  width: 100%;
  padding-bottom: 0.5em;
  display: table;
}

#events li.event div.event-time {
  margin-bottom: 0.4em;
}

#events li.event div.event-description {
  width: 60%;
  margin: 0 auto;
}

#instagram-feed {
  text-align: center;
}

#instagram-feed div.instagram-post {
  margin: 0.5em;
  display: inline-block;
  width: 300px;
  position: relative;
}

#instagram-feed div.instagram-post.spanner {
  height: 0;
}

#instagram-feed div.instagram-post img {
  width: initial;
  max-width: 100%;
}

#instagram-feed div.instagram-post .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  background-color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
  text-align: center;
  opacity: 0;

  transition: opacity 0.2s;
}

#instagram-feed div.instagram-post .overlay .timestamp {
  font-size: 1.5em;
  color: #FFF;
  line-height: 300px;
}

#instagram-feed div.instagram-post:hover .overlay {
  opacity: 1;
}

#content-overlay {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000;
  opacity: 0.5;
}
