/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */
html,
button,
input,
select,
textarea {
  color: #222; }

body {
  font-size: 1em;
  line-height: 1.4; }

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none; }

::selection {
  background: #b3d4fc;
  text-shadow: none; }

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0; }

img {
  vertical-align: middle; }

fieldset {
  border: 0;
  margin: 0;
  padding: 0; }

textarea {
  resize: vertical; }

.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0; }

/* ==========================================================================
   Author's re-usable styles
   ========================================================================== */
h1, h2, h3, h4, h5, h6, li, p, blockquote {
  line-height: 1.2em; }

.close {
  cursor: pointer;
  position: absolute;
  top: 8px;
  right: 8px;
  display: block;
  width: 16px;
  height: 16px;
  padding: 3px;
  border-radius: 20px;
  background: url(../img/close.png) no-repeat 3px 3px;
  outline: none; }

.close:hover {
  background-color: #fff;
  -moz-box-shadow: 0 0 1px #000;
  -webkit-box-shadow: 0 0 1px #000;
  box-shadow: 0 0 1px #000; }

.socialBtn {
  display: inline-block;
  position: relative; }

#horizontalShare .socialBtn {
  min-width: 95px;
  padding: 0 10px; }

.socialLink {
  font-size: 12px;
  display: inline-block;
  text-align: center;
  padding: 2px 6px;
  background: #eee;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  margin: 15px 0 0 -2px;
  position: relative;
  top: -5px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4em; }

.socialLink:hover {
  background: #ddd;
  border: 1px solid #ccc;
  color: #000; }

#horizontalShare .socialLink {
  margin: 0 10px 0 15px;
  top: -4px; }

#horizontalShare {
  text-align: center; }

#facebookH {
  top: -3px;
  padding-right: 10px; }

.fb_iframe_widget span {
  vertical-align: text-top !important; }

#twitterH, #googleplusH, #linkedinH {
  top: 2px; }

#stumbleuponH {
  top: 1px; }

#socialFloater {
  display: none;
  position: fixed;
  top: 65px;
  left: 15px;
  width: 50px;
  z-index: 1000; }

#socialFloater .fb-like {
  margin-left: 2px;
  padding-bottom: 10px; }

#socialFloater .twitter-share-button {
  margin-left: -3px;
  padding-bottom: 7px; }

#socialFloater #linkedin {
  left: -5px;
  padding-top: 3px; }

#socialFloater #stumbleupon {
  padding-top: 3px; }

#embed {
  width: 100%;
  height: 190px;
  bottom: -200px;
  background: #f8f8f8;
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-top: 5px solid #555;
  position: fixed;
  text-align: center; }

#embed h5 {
  font-weight: bold;
  font-size: 22px;
  margin: 15px;
  color: #333; }

#embed textarea {
  width: 90%;
  border: 1px #999 solid;
  color: #111;
  font-size: 11px;
  font-family: monospace;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  padding: 5px;
  height: 90px; }

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
  font-family: Helvetica, Helvetica Neue, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4em; }

.wrapper {
  width: 90%;
  margin: 0 5%; }

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 960px) {
  #socialFloater {
    display: none !important; } }
@media only screen and (min-width: 768px) {
  #socialFloater {
    display: block; }

  #embed {
    width: 600px;
    height: 190px;
    left: 50%;
    margin-left: -300px; }

  #embed h5 {
    font-size: 22px; }

  #embed textarea {
    width: 450px; } }
@media only screen and (min-width: 1140px) {
  .wrapper {
    width: 1026px;
    /* 1140px - 10% for margins */
    margin: 0 auto; } }
/* ==========================================================================
   Helper classes
   ========================================================================== */
.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px; }

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%; }

.hidden {
  display: none !important;
  visibility: hidden; }

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px; }

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto; }

.invisible {
  visibility: hidden; }

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table; }

.clearfix:after {
  clear: both; }

.clearfix {
  *zoom: 1; }

/* ==========================================================================
   Site-specific
   ========================================================================== */
/* Preload some images */
body:after {
  display: none;
  content: url(../img/go-button-hover-background.png) url(../img/more-button-hover-background.png) url(../img/more-button-click-background.png); }

@font-face {
  font-family: 'PoetsenOne Regular';
  src: url("../fonts/poetsenone-regular-webfont.eot");
  src: url("../fonts/poetsenone-regular-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/poetsenone-regular-webfont.woff") format("woff"), url("../fonts/poetsenone-regular-webfont.ttf") format("truetype"), url("../fonts/poetsenone-regular-webfont.svg#poetsenoneregular") format("svg");
  font-weight: normal;
  font-style: normal; }

body {
  background: #E8F7F8;
  font-family: 'PoetsenOne Regular', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: #3EB7C8;
  text-align: center; }

#introduction {
  width: 90%;
  margin: 0 5%;
  margin-top: 25px;
  hyphens: manual; }
  #introduction h1 {
    color: #0EA5BA;
    font-size: 37px;
    max-width: 500px; }
    #introduction h1 .big-name {
      font-size: 46px; }
  #introduction p {
    max-width: 430px; }
  #introduction h1, #introduction p {
    margin-left: auto;
    margin-right: auto; }

#content {
  height: 280px;
  margin-top: 35px;
  display: none; }

#pictures {
  display: table;
  height: 100%; }
  #pictures figure {
    display: table-cell;
    vertical-align: middle; }
    #pictures figure img {
      max-width: 94%;
      max-height: 280px;
      border: 12px solid #fff;
      border-radius: 12px; }

.button-background {
  color: #E64683;
  display: inline-block;
  text-decoration: none;
  background-repeat: no-repeat; }

#go-button {
  background-image: url(../img/go-button-background.png);
  font-size: 49px;
  height: 46px;
  width: 164px;
  padding-top: 14px;
  margin-top: 20px; }
  #go-button:hover {
    background-image: url(../img/go-button-hover-background.png);
    position: relative;
    bottom: -2px; }

#more-button {
  display: none;
  background-image: url(../img/more-button-background.png);
  font-size: 24px;
  height: 32px;
  width: 220px;
  margin-top: 30px;
  color: #E7357F;
  line-height: 32px; }
  #more-button:hover {
    color: #EC5A99; }
  #more-button.pressed {
    background-image: url(../img/more-button-click-background.png);
    position: relative;
    bottom: -2px;
    color: #EC5A99; }

#footer {
  display: none;
  margin-bottom: 20px p;
    margin-bottom-margin: 0.5em 0; }

.addthis_toolbox {
  margin: 20px 0;
  display: inline-block;
  margin-top: 0; }

.social-button {
  position: relative;
  margin: 0 10px; }

.addthis_button_tweet {
  margin-right: 0px;
  max-width: 100px;
  left: 5px; }

.addthis_button_facebook_like {
  top: -1px;
  min-width: 110px !important;
  height: auto !important; }
  .addthis_button_facebook_like span iframe {
    min-width: 110px !important;
    height: auto !important; }

.addthis_button_google_plusone {
  width: 60px !important; }

#logo {
  display: none;
  margin-top: 20px; }
  #logo:hover {
    opacity: 0.5; }

#attribution-links {
  height: 30px; }

.attribution-link {
  font-size: 10px;
  color: #3EB7C8;
  font-family: Arial, sans-serif;
  display: none; }

#widescreen-share {
  display: none; }

#spread-happiness {
  margin-top: 2em; }

@media screen and (max-width: 360px) {
  #spread-happiness {
    font-size: 15px; } }
@media screen and (max-width: 450px) {
  #go-button {
    font-size: 39px;
    height: 36px;
    width: 124px;
    padding-top: 7px;
    margin-top: 20px;
    background-size: 100% 100%; } }
@media screen and (min-width: 540px) {
  #introduction {
    width: 76%;
    margin: 0 12%; }

  #content {
    height: 350px; }
    #content figure img {
      max-height: 350px; } }
@media screen and (min-width: 720px) {
  #introduction {
    margin-top: 80px; }
    #introduction h1 {
      font-size: 49px; }
      #introduction h1 .big-name {
        font-size: 60px; }

  #mobile-share {
    display: none; }

  #widescreen-share {
    display: inline-block; } }
@media screen and (min-width: 900px) and (min-height: 440px) {
  #logo, #attribution-links {
    position: fixed; }

  #logo {
    right: 20px;
    bottom: 30px; }

  #attribution-links {
    left: 20px;
    bottom: 42px; }

  #footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    margin: 0;
    margin-bottom: 20px; } }
@media screen and (max-width: 360px), screen and (max-height: 320px) {
  #introduction {
    font-size: 14px; }
    #introduction h1 {
      font-size: 22px; }
      #introduction h1 .big-name {
        font-size: 28px; } }
@media screen and (min-height: 1021px), screen and (min-width: 1041px) {
  #content {
    height: 780px; }
    #content figure img {
      max-height: 756px; } }
@media screen and (max-height: 1020px), screen and (max-width: 1040px) {
  #content {
    height: 580px; }
    #content figure img {
      max-height: 556px; } }
@media screen and (max-height: 820px), screen and (max-width: 960px) {
  #content {
    height: 480px; }
    #content figure img {
      max-height: 456px; } }
@media screen and (max-height: 770px), screen and (max-width: 820px) {
  #content {
    height: 410px; }
    #content figure img {
      max-height: 386px; } }
@media screen and (max-height: 720px), screen and (max-width: 720px) {
  #content {
    height: 360px; }
    #content figure img {
      max-height: 336px; } }
@media screen and (max-height: 670px), screen and (max-width: 670px) {
  #content {
    height: 330px; }
    #content figure img {
      max-height: 306px; } }
@media screen and (max-height: 620px), screen and (max-width: 600px) {
  #content {
    height: 280px;
    margin-top: 5px; }
    #content figure img {
      max-height: 256px; }

  #more-button {
    margin-top: 40px; } }
@media screen and (max-height: 490px) {
  #content {
    height: 220px; }
    #content figure img {
      max-height: 196px; } }
/* ==========================================================================
   Print styles
   ========================================================================== */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important; }

  a,
  a:visited {
    text-decoration: underline; }

  a[href]:after {
    content: " (" attr(href) ")"; }

  abbr[title]:after {
    content: " (" attr(title) ")"; }

  /*
   * Don't show links for images, or javascript/internal links
   */
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: ""; }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid; }

  thead {
    display: table-header-group;
    /* h5bp.com/t */ }

  tr,
  img {
    page-break-inside: avoid; }

  img {
    max-width: 100% !important; }

  @page {
    margin: 0.5cm; }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3; }

  h2,
  h3 {
    page-break-after: avoid; } }
