

/* High-level sizing and organization */
body {
  font-family:'Lato',sans-serif;
  font-size: 1.25em;
  line-height: 1.25em;
  background-color: #EAEDF1;
  color: #FFFFFF;
}

.content {
  max-width: 75ex;
  margin-left: auto;
  margin-right: auto;
  margin-top: 16px;
  margin-bottom: 16px;

  background-color: #9EA7B3;
}

main > * {
  position: relative;
  border-bottom: 0.1em solid #EAEDF1;
}

/* Header and footer with blur */
.bg {
  height: 25em;
  position: relative;
}

.bg > div {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-position: center top;
  background-size: 100%;
  position: absolute;
}

.bg-morning-normal{
  background-image: url('csw.png');
}

.bg-morning-blur{
  background-image: url('csw-blur.png');
  opacity: 0;
}

.bg-evening-normal{
  background-image: url('dusk.jpg');
}

.bg-evening-blur{
  background-image: url('dusk-blur.jpg');
  opacity: 1;
}

.bg > h1 {
  font-size: 3em;
}

/* Document-wide styles */

strong {
  color: #F27935;
}

a {
  color: #FFF;
}

a:visited {
  color: #FFF;
}

figure {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  box-shadow: 5px 5px 2px #999;
}

figcaption {
  text-align: right;
  color: #EAEDF1;
  padding-right: 1em;
}

img {
  width: 90%;
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 5%;
  padding-bottom: 0;
  overflow: hidden;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

p {
  padding: 1em 0.5em;
  text-indent: 1em;
}

.announcement > h1 {
  position: static;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  font-family: 'Oswald", sans-serif;
  text-transform: uppercase;
  display: inline-block;
  font-size: 2em;
  line-height: 1.25em;
  position: absolute;
  bottom: 0;
  right: 0;
  padding-right: 0.5em;
  padding-left: 0.5em;
  font-style: normal;
}

h2 {
  font-size: 1.5em;
  line-height: 1.25em;
}

/* Section styles */
.section > h2, nav > a{
  background-color: inherit;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2ex;
  padding-right:2ex;
}

.section, nav {
  text-align: center;
  background-image: url('lines.png');
  background-repeat: repeat-both;
  background-color: #00AFD1;
}

/* Program styles */
.talk {
  height: 4.5em;
}

.talk, .break, #breakfast, #lunch {
  padding-left: 6em;
  position: relative;
}

.time {
  height: 100%;
  width: 5em;
  padding-left: 0.5em;
  background-color: #F27935;;
  position: absolute;
  left: 0;
  top: 0;

  border-right: 0.1em solid #EAEDF1;


  background-image: url('lines.png');
  background-repeat: repeat-both;
}

/* item-specific styles */
.announcement {
  background-color: #F27935;
  position: relative;

  height: 15em;

  background-image: url("present.png");
  background-repeat: no-repeat;
  background-position: right center;
}

.announcement > p {
  padding-right: 10em;
}

#breakfast {
  height: 6.5em;
  background-image: url('breakfast.jpg');
}

#lunch {
  height: 12.5em;
  background-image: url('lunch.jpg');
}

.break {
  height: 1.5em;
  background-image: url('lines.png');
  background-repeat: repeat-both;
  background-color: #56C4C3;
}

#breakfast, #lunch {
  background-size: cover;
  background-position: center;
}

/* Plumbing */
.disable-pointer-events {
  pointer-events:none!important;
}

