.active a, a.active, .active:hover{
    color:#00a3bf !important;
}

.content p span{
  color: #666 !important;
  float: right;
  width: 41.66667%;
  margin:0 -10% 2em 1em !important;
  box-shadow: 0.8em 0.8em 0 #ccc;
  padding:1em !important;
  border: 1px solid #aaa;
  position: relative;
  top: 0;
  clear: right;
  border-radius: 4px;
  font-size:0.8em;
  line-height: 1.35em;
}

@media only screen and (max-width: 40em) {
  .content p span{
    clear:both;
    float: left;
    width:100%;
    margin:0 0 1em 0 !important;
    box-shadow: 0 0 0 0 #fff;
    box-sizing: border-box;
  }
}

@media only screen and (max-width: 71.25em) { 
  .content p span{
    margin-right: -1em !important;
  }
}

.content p span i{
  display: block;
  font-weight: bold;
  color: #00a3bf;
  text-transform: capitalize;
}

h1{
    font-size:1.975em;
    /*text-align:center;*/
    text-transform: uppercase;
    margin-top: 1.111rem;
    /*font-weight: bold;*/
    /*color:#005b6a;*/
}

h1 span{
    font-size:0.7em;
    font-style: italic;
    font-weight: normal !important;
    text-transform: none;
    display: block;
    }

h2{
    margin-top:3.5553rem;
    margin-bottom:0.9em;
    line-height: 1.389em;
    font-size:1.6875em;
}

.content h2{
  margin-top: 1.111rem;
}

.sidebar h2, #home h2{
  margin-top: 1.111rem;
}

.sidebar h2 span{
  text-transform: none;

}

h3{
  font-size: 1.125em;
}

h1, h2, h3, h4{
    font-family: Futura, Arial, sans-serif;
    text-transform: uppercase;

}

.notes{
    font-size:0.8em;
    text-align:center;
    font-style: italic;
}

p{
    margin-bottom:1.8em;
    line-height: 1.389em;
    font-size:1.125em;
}

 h1 + p, #case blockquote p{
    font-size:1.389em;
    margin-top:2.222em;
    margin-bottom:1.458em;
    font-weight: bold;
}

#case blockquote p{
  color:#00a3bf;
}

.sidebar p, .sidebar ul{
  font-size: 0.8em;
}

.sidebar ul{
  list-style-type: none;
  margin-left:0;
}

.sidebar li{
  margin-bottom: 0.5em;
}

/*#content a{
    text-decoration:none;
    color:#4;
}*/

#content a:hover, .sidebar h2 a:hover{
    color:#00788c;
}

blockquote cite{
    text-align: right;
    display: block;
}

@media screen and (max-device-width: 480px){
    #content p:first-child{
        font-size:1.125em;
    }
    
    blockquote{
        margin:0.9em;
    }
}

blockquote p, blockquote cite, #content a{
    color:#333;
    text-shadow:1px 1px 1px white;
    margin:0;
}

p a, .sidebar h2 a{
    color:#00a3bf;
}

p a:visited, .sidebar a:visited{
    opacity:0.7;

}

.side-nav li a{
  color: #333;
}

.side-nav li a:hover{
  color: #444 !important;
}

.content a:visited{
  color:#00a3bf !important;
}

hr{
    height: 12px;
    border: 0;
    box-shadow: inset 0 12px 12px -12px rgba(0,0,0,0.5);
}

#footer{
  background-color:#333;
  padding-top:1.8em;
  margin-top:1.8em;
}

#footer *{
  color: #fff;
  font-size:.95em;
}

#footer:after{
  content: "";
  display: table;
  clear: both;
}

[data-magellan-expedition], [data-magellan-expedition-clone] {
  min-width: 0;
}

.flex-video{
  margin-top: 1.111rem;
}

.toggle-topbar.menu-icon a {
  float: right;
  margin-right: -2em;
}

.figure img{
  display: block;
  margin: 0 auto;
}

.figure p{
  margin:2em 0 0 0;
}

.figure{
  box-sizing:border-box;
  padding:1em;
  margin:2em 0;

  /*margin:0 -10% 2em 1em !important;*/
  box-shadow: 0.8em 0.8em 0 #ccc;
  border: 1px solid #aaa;
  border-radius: 4px
}

@media only screen and (max-width: 40em) {
  .figure{
    clear:both;
    float: left;
    width:100%;
    margin:0 0 1em 0 !important;
    box-shadow: 0 0 0 0 #fff;
    box-sizing: border-box;
  }
}

@media only screen and (min-width: 40.063em) { 
  .figure{
    margin-right:1em !important;
  }
}

ol{
  font-size: 1.125em;
}

ol#references{
  font-size:1em;
}

#references li{
  margin-bottom: 0.25em;
}

.flex-video{
  padding-bottom: 53.5% !important;
}

a.twitter{
  background-image:(../img/twitter.png) !important;
}

a.button:visited{
  color: white !important;
}

/* BLOG STUFF */

.date{
  font-size:0.8em;
  color: #00a3bf;

}

@media only screen and (min-width: 40.063em) and (max-width: 64em) { 
  .content{
    padding-left:4em;
    padding-right:4em;
  }
}

.content article > h2{
  margin-top: 3.333rem;
}

.content article:first-of-type > h2{
  margin-top: 1.111rem;
}

.next{
  float: right;
}