/*
* cassie.css
* Copyright 2017-2018 Cassie Peele
* http://www.opensource.org/licenses/mit-license.php
*/

/* General
–––––––––––––––––––––––––––––––––––––––––––––––––- */
body {
  background-color: #a1c5e9; }

/* Fake tables */
.table {
  display: table;
  width: 100%;
  border-collapse: collapse; }
.table-row {
  display: table-row; }
.table-cell, .table-head {
  display: table-cell;
  padding: 1rem .7rem;
  border: 0; }
.table-head {
  font-weight: bold;
  border-bottom: #222 1px solid; }
.table-head:first-child,
.table-cell:first-child {
  padding-left: 1rem; }
.table-head:last-child,
.table-cell:last-child {
  padding-right: 1rem; }

/* Mobile text scaling */
p, .table {
  font-size: 1rem; }
@media (min-width: 550px) {
  p, .table {
    font-size: 1.5rem; }
}

/* Modal */
.modal {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #61778c;
  background-color: #0006; }
.modal-content {
  background-color: #a1c5e9;
  border: 1px solid #222;
  margin: 10% auto;
  padding: 0;
  width: 40em;
  max-width: 85%; }
.modal-header {
  padding: 0 1em;
  line-height: 1px;
  background-color: #569bd2;
  color: #222; }
.modal-body {
  margin: 0;
  padding: 0 1em;
  color: #222; }
.close {
  display: block;
  user-select: none;
  -ms-user-select: none;
  -moz-user-select: none
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  color: #215260;
  float: right;
  position: relative;
  top: .3em;
  font-size: 2.4em; }
.close:hover, close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.iframe-video {
  height: 0;
  padding-bottom: 56.25%;
  margin-bottom: 1.25em;
  position: relative; }
.iframe-video iframe {
  width: 100%;
  height: 100%;
  position: absolute;
}
@media (min-width: 550px) {
  .close {
    font-size: 4em; }
}


/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––- */
/* Clickable table rows */
.clickable {
  cursor: pointer; }
.clickable:hover {
  background-color: #657a8d; }
a, a.table-row.clickable {
  color: #569bd2;
  font-weight: 400;
  text-decoration: none; }
a div.table-cell {
  color: #222; }
a:hover, a:active, a:hover .table-cell {
  color: #fff; }


/* Skeleton-style utilities
–––––––––––––––––––––––––––––––––––––––––––––––––- */
.u-centered {
  text-align: center; }
.u-hidden {
  display: none; }
