.tab-items ul, .tab-items li {
  margin: 0;
  padding: 0;
  list-style-type: none; }

.tabs {
  margin: 0 0 0; }

.content {
  padding: .3em; }

@media screen and (max-width: 30em) {
  .tab-container .tab-items {
    position: relative; }
    .tab-container .tab-items ul {
      top: 2em;
      left: 0;
      width: 100%;
      position: absolute;
      background: rgba(255, 255, 255, 0.9);
      display: none; }
      .tab-container .tab-items ul li a {
        display: block;
        padding: .3em;
        color: #000; }
        .tab-container .tab-items ul li a:hover {
          background: #999;
          color: #fff; }
    .tab-container .tab-items .tab-label {
      display: block;
      background: #0083AC;
      color: #fff;
      padding: .5em .5em;
      border-radius: 0;
      position: relative; }
      .tab-container .tab-items .tab-label:before {
        content: ' ';
        display: block;
        position: absolute;
        top: .8em;
        right: .8em;
        width: 0;
        height: 0;
        overflow: hidden;
        border-width: .5em .5em 0;
        border-style: solid;
        border-color: #fff transparent; }
  .tab-container.active ul {
    display: block; }
  .tab-container .tabbed-content {
    display: none; }
    .tab-container .tabbed-content.active {
      display: block; }
    .tab-container .tabbed-content h3 {
      display: none; } }
@media screen and (min-width: 30.0625em) and (max-width: 50em) {
  .tab-container .tab-items {
    display: none; }
  .tab-container .tabbed-content h3 {
    background: #eee;
    padding: .3em;
    cursor: pointer;
    margin: 0 0 1px;
    font-weight: normal;
    color: #333; }
  .tab-container .tabbed-content .content-container {
    overflow: hidden; }
  .tab-container .tabbed-content .content {
    display: none; }
  .tab-container .tabbed-content.active .content {
    display: block; }
  .tab-container .tabbed-content.header-inactive .content {
    display: none; }
  .tab-container .tabbed-content:last-child h3 {
    border-radius: 0 0 0 0; }
  .tab-container .tabbed-content:last-child.active h3 {
    border-radius: 0; }
  .tab-container .tabbed-content.active h3 {
    background: #0083AC;
    color: #fff; }
  .tab-container .tabbed-content.header-inactive h3 {
    background: #eee;
    color: #333; }
  .tab-container .tabbed-content.header-inactive:last-child h3 {
    border-radius: 0 0 0 0; }
  .tab-container .tab-items + .tabbed-content h3 {
    border-radius: 0 0 0 0; } }
@media screen and (min-width: 50.0625em) {
  .tab-container .tab-label {
    display: none; }
  .tab-container .tabbed-content {
    display: none;
    padding: 0;
    border-color: rgb(204, 204, 204);
    border-style: solid;
    border-width: 1px 0 0;
    border-radius: 0 0 0 0; }
    .tab-container .tabbed-content.active {
      display: block; }
    .tab-container .tabbed-content h3 {
      display: none; }
  .tab-container .tab-items ul {
    *zoom: 1; }
    .tab-container .tab-items ul:after {
      content: "";
      display: table;
      clear: both; }
    .tab-container .tab-items ul li {
      float: left;
      margin: 0 1px 0 0;
	  border: 0;
    }
    .tab-container .tab-items ul li.active a {
      background: #0083AC;
	  border: 0 !important;
      color: #fff !important; }
    .tab-container .tab-items ul a {
      display: block;
      padding: .5em;
      background: #eee;
      color: #333; }
    .tab-container .tab-items ul li:first-child a {
      border-radius: 0 0 0 0; }
    .tab-container .tab-items ul li:last-child a {
      border-radius: 0 0 0 0; } }

@media screen and (min-width: 36em) {
  .logo {
    float: left; } }
.logo {
  display: inline-block;
  padding: 1.6em 0;
  font-size: 1.4em; }
  .logo a {
    border-width: 1em 0;
    border-style: solid;
    border-color: #eee;
    text-decoration: none;
    padding: 0 0 .2em 0;
    position: relative;
    border-radius: .4em;
    font-weight: bold; }
    .logo a:before, .logo a:after {
      content: ' ';
      display: block;
      position: absolute; }
    .logo a:before {
      top: -2.4em;
      left: .2em;
      width: 2.6em;
      height: 1em;
      background: #eee;
      border-radius: .4em .4em 0 0; }
    .logo a:after {
      top: -2.3em;
      left: 2.9em;
      height: .9em;
      width: 2.3em;
      background: #f9f9f9;
      border-radius: 0 .4em 0 0; }
  .logo a, .logo span {
    display: block; }
  .logo span {
    padding: .1em 2em; }
  .logo .a {
    color: #900;
    position: relative; }
    .logo .a :before {
      content: ' ';
      display: block;
      width: 0;
      height: 0;
      overflow: hidden;
      border-style: solid;
      border-color: #fff transparent;
      border-width: .6em .6em 0;
      position: absolute;
      top: -1em;
      right: .5em; }
  .logo .b {
    background: #900;
    color: #fff; }

.ribbon {
  background-color: #a00;
  overflow: hidden;
  position: absolute;
  right: -3em;
  top: 2em;
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-box-shadow: 0 0 1em #888;
  -webkit-box-shadow: 0 0 1em #888; }

.ribbon a {
  border: 1px solid #faa;
  color: #fff;
  display: block;
  font: bold 81.25% 'Helvetiva Neue', Helvetica, Arial, sans-serif;
  margin: 0.05em 0 0.075em 0;
  padding: 0.5em 3.5em;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 0 0.5em #444; }
