/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body {
  width: 100%;
  height: 100%
}

body {
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #fff;
  line-height: 1.5;
  background: #0e83cd;
  position: relative;
}

@media (min-height: 500px) {
  body {
    overflow: hidden;
  }
}

b, strong {
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  text-rendering: optimizelegibility;
  font-weight: 400;
}

h1 { font-size: 36px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 15px; }
h6 { font-size: 12px; }


.skip-intro {
  position: absolute;
  display: block;
  bottom: 0;
  text-align: center;
  width: 100%;
  padding: 20px 0;
}

.skip-intro a {
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.5;
}

.skip-intro a:hover,
.skip-intro a:active,
.skip-intro a:focus {
  opacity: 1;
}

/* prevent animation/ transition */
.no-anim * {
  -webkit-transition: none !important;
  transition: none !important;
}

.mask {
  height: 100%;
  width: 100%;
  opacity: 0;
  -webkit-transition: all 1s;
  transition: all 1s;
}

.blur.anim {
  opacity: 1;
}

.story-explain {
  position: fixed;
  top: 40%;
  width: 100%;
}

.story {
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all 2.5s;
  transition: all 2.5s; 
  opacity: 0;
  color: white;
  font-size: 3em;
  width: 100%;
  text-align: center;
  letter-spacing: 1px;
}

.story-1,
.story-3 {
  text-align: center;
}

.story.anim {
  opacity: 1;
}

.story-2.move-up {
  opacity: 1;
  -webkit-transition-duration: 0.7s;
  transition-duration: 0.7s;
}

.story-2.move-up.anim,
.story-2.remove.anim {
  top: -72px;
  opacity: 1;
}

.story-2.remove {
  top: -72px;
  opacity: 0;
}

.del-ins {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  width: 360px;
  height: 50px;
  top: 10px;
  left: -8px;
}

.del-ins span,
.del-ins del,
.del-ins ins {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  -webkit-transition: all 0.7s;
  transition: all 0.7s;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
}

.del-ins span,
.del-ins del {  
  width: 200px;
  height: 50px;
  line-height: 42px;
  text-indent: 10px;
  border-radius: 3px;
}

.del-ins del {  
  background: rgba(0,0,0,.3);
}

.del-ins span {
  opacity: 1;
}

.del-ins ins {
  width: 0;
  opacity: 0;
  text-decoration: none;
  height: 50px;
  line-height: 50px;
  top: -3px;
}

.del-ins span.anim {
  opacity: 0;
}

.del-ins del.anim,
.del-ins del.remove {
  opacity: 1;
}

.del-ins del.remove.anim {
  width: 0;
}

.del-ins ins.anim,
.del-ins ins.highlight {
  width: 360px;
  height: 50px;
  line-height: 50px;
  text-indent: 10px;
  opacity: 1;
  background: rgba(0,0,0,.3);
  border-radius: 3px;
}

/*.del-ins ins.highlight {
  -webkit-animation: blink .75s ease-out infinite;
  animation: blink .75s ease-out infinite;
}


@keyframes blink {
  from{
      text-shadow:0px 0px 10px #fff,
      0px 0px 10px #fff, 
      0px 0px 25px #fff,
      0px 0px 25px #fff,
      0px 0px 25px #fff
    }
}

@-webkit-keyframes blink {
  from{
      text-shadow: 0px 0px 10px #fff,
      0px 0px 10px #fff, 
      0px 0px 25px #fff,
      0px 0px 25px #fff,
      0px 0px 25px #fff
    }
}*/

.hd-avatar {
  position: absolute;
  left: -20px;
  float: left;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,.85);
  overflow: hidden;
  height: 64px;
  width: 64px;
}

.hd-avatar img {
  border-radius: 50%;
  min-height: 64px;
  height: 64px;
  width: 64px;
  min-width: 64px;
}

.pin {
  display: none;
  overflow: hidden;
  margin-bottom: 15px;
  -webkit-transition: all 0.7s;
  transition: all 0.7s;
}

.pin .avatar {
  float: left;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,.85);
  overflow: hidden;
  height: 64px;
  width: 64px;
}

.pin .avatar img {
  border-radius: 50%;
  min-height: 64px;
  height: 64px;
  width: 64px;
  min-width: 64px;
}

.pin.question .avatar {
  border-color: rgba(0,0,0,.5);
}

.pin .popin {
  margin-left: 85px;
  font-size: 15px;
  background: rgba(255,255,255,.85);
  color: #435a6b;
  padding: 10px 20px 0;
  border-radius: 3px;
  position: relative; 
  width: 415px;
  height: 70px;
  font-weight: 400;
  
  -webkit-transition: all 0.5s;
  transition: all 0.5s;

  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.dim-pin .faq .pin,
.dim-pin .mask {
  opacity: 1;
  -webkit-transition: all 1s;
  transition: all 1s;
}

.dim-pin.anim .faq .pin,
.dim-pin .mask {
  opacity: 0;
}

.pin .popin:before {
  content: "";
  left: -7px;
  top: 28px; 
  position: absolute; 
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 7px solid rgba(255,255,255,.85);
}

/*.pin.choosen .popin {
  color:#25AE5F;
}*/

.pin.question .popin {
  margin-left: 85px;
}

.pin.question .popin {
  background: rgba(0,0,0,.5);
  color: #fff;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 20px;
  padding-top: 20px;
  font-weight: 300;
}

.pin.question .popin:before {
  border-right-color: rgba(0,0,0,.5);
}

.pin .popin p {
  margin: 0;
}

.pin.ready {
  display: block;
  position: fixed;
  opacity: 0;
}

.pin.anim {
  opacity: 1;
}

/* question */
.qalayer .question {
    top: 45%;
    left: 45%;
}
.qalayer .pin-1{
    top: 10%;
    left: 10%;
}
.qalayer .pin-2{
    top: 80%;
    left: 50%;
}
.qalayer .pin-3{
    top: 20%;
    left: 55%;
}
.qalayer .pin-4{
    top: 30%;
    left: 2%;
}
.qalayer .pin-5{
    top: 75%;
    left: 5%;
}

@keyframes popin {
  0% {
    transform: scale(0);
  }

  40% {
    transform: scale(1.1);
  }

  60% {
    transform: scale(0.9);
  }   

  100% {
    transform: scale(1);
  }
}

@-webkit-keyframes popin {
  0% {
    -webkit-transform: scale(0);
  }

  40% {
    -webkit-transform: scale(1.1);
  }

  60% {
    -webkit-transform: scale(0.9);
  }   

  100% {
    -webkit-transform: scale(1);
  }
}

@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


/* FAQ */
.faq {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 600px;
  margin-top: -255px;
  margin-left: -300px;

  display: none;

  z-index: 3; /* must be higher signup form */
}

.faq .faq-inner {
  padding-left: 50px;
}

.faq.remove,
.faq.movedown {
  -webkit-transition: all 0.7s;
  transition: all 0.7s;
}

.faq.remove {
  opacity: 1;
  margin-top: -80px;
}
.faq.remove.anim {
  opacity: 0;
}

.faq.movedown {
  margin-top: -80px;
}

.faq.movedown.anim {
  
}

.faq .pin {
  display: none;
  max-height: 100px;
}

.faq.show {
  display: block;
}

.faq.show .pin {
  display: block;
}


/* VOTE */
.vote {
  display: none;
  overflow: hidden;
  float: left;
  width: 0;
  height: 64px;
  display: block;
  color: #fff;
  margin-top: 3px;

  -webkit-transition: width 0.3s;
  transition: width 0.3s;
}

.vote-up,
.vote-down {
  border-left: 10px dashed transparent;
  border-right: 10px solid transparent;
  display: block;
  width: 0;

  opacity: .5;
  filter: ~"alpha(opacity=50)";
}

.vote-up {
  border-bottom: 10px solid #fff;
  margin-top: 8px; 
}
.vote-down {
  border-top: 10px solid #fff;
}

.vote-num {
  display: block; 
  margin: 3px 0;
  width: 19px;  
  text-align: center; 
}

.faq .pin.complete {
  position: relative;
}

.faq .pin.complete .vote {
  display: block;
  width: 0;
}

.faq .pin.complete .vote-up.anim,
.faq .pin.complete .vote-down.anim {
  -webkit-animation: highlight 0.2s both;
  animation: highlight 0.2s both;

  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.faq .pin.complete.remove {
  max-height: 100px;
  opacity: 1;
}

.faq .pin.show-vote.anim .popin,
.faq .pin.show-vote.choosen .popin,
.faq .pin.remove .popin {
  margin-left: 115px;
  width: 385px;
}

.faq .pin.show-vote.anim .vote,
.faq .pin.show-vote.choosen .vote,
.faq .pin.remove .vote {
  width: 30px;
}

.faq .pin.complete.remove.anim {
  max-height: 0;
  margin-bottom: 0;
  opacity: 0;
}

.faq .pin.complete.choosen.anim {
  position: static;
  -webkit-transform: translate3d(0, 0, 0);
}

@keyframes highlight {
  0% {
    opacity: .5;
    filter: ~"alpha(opacity=50)";
  }

  50% {
    opacity: 1;
    filter: ~"alpha(opacity=100)";
  }

  100% {
    opacity: .5;
    filter: ~"alpha(opacity=50)";
  }
}

@-webkit-keyframes highlight {
  0% {
    opacity: .5;
    filter: ~"alpha(opacity=50)";
  }

  50% {
    opacity: 1;
    filter: ~"alpha(opacity=100)";
  }

  100% {
    opacity: .5;
    filter: ~"alpha(opacity=50)";
  }
}

/* sign up */
.signup {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 500px;
  margin-top: -300px;
  margin-left: -300px;
  display: none;
  z-index: 2;
}

.signup.skip {
  -webkit-transition: opacity 1s;
  transition: opacity 1s;
  opacity: 0;
  display: block;
}

.signup.skip.anim {
  opacity: 1;
}

.signup.skip * {
  opacity: 1 !important;
  -webkit-transition-duration: 0;
  transition-duration: 0;
}

.pre-heading {
  -webkit-transition: opacity 2s;
  transition: opacity 2s; 
  opacity: 0;
  color: white;
  font-size: 2.6em;
  width: 100%;
  text-align: center;
  letter-spacing: 1px;
}

.pre-heading.anim {
  opacity: 1;
}

.pre-heading .del-ins {
  display: block;
  margin: 0 auto;
  width: 290px;
  left: 0;
}

.pre-heading .del-ins ins {
  top: 0;
  line-height: 42px;
}

.pre-heading .del-ins ins.the-same.anim {
  width: 288px;
}

.signup h2 {
  font-size: 3em;
  line-height: 1.2;
  margin-top: 20px;
  margin-bottom: 10px;
}

.signup .signup-inner {
  height: 100%;
}

.signup .signup-form,
.signup .heading,
.signup .sign-me-up {
  -webkit-transition: opacity 1s;
  transition: opacity 1s;

  position: absolute;
  opacity: 0;
  left: 50%;
  width: 100%;
  margin-left: -300px;

  display: none;
}

.signup .signup-form.anim,
.signup .heading.anim,
.signup .sign-me-up.anim {
  opacity: 1; 
}

.signup .signup-form {
  top: 180px;
  text-align: center;
  color: #fff;
}

.signup .signup-form input[type="text"],
.signup .signup-form input[type="email"] {
  border: medium none;
  border-radius: 3px;
  padding: 10px;
  width: 80%;

  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.willing {
  margin: 10px 0 20px;
}

.willing > label {
  margin: 0 10px;
}

.willing input {
  display: none;
}

.willing label {
  
}

.willing .radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  display: inline-block;
  margin-right: 6px;

  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.willing .active .radio-dot span {
  width: 4px;
  height: 4px;
  background: #fff;
  display: block;
  border-radius: 50%;
  margin: 2px auto;
}

.signup .signup-form .btn {
  padding: 18px 40px;
  background: #26b262;
  border: 1px solid #209753;
  border-bottom-width: 3px; 
  color: #fff;
  border-radius: 3px;
  letter-spacing: 2px;
  font-size: 18px;
  text-transform: uppercase;
  width: 500px;
  display: block;
  margin: 0 auto;

  -webkit-transition: 100ms;
  transition: 100ms;
  position: relative;
}

.signup .heading {
  text-align: center;
  color: #fff;
  font-size: 14px;
}

.signup .heading strong {
  font-size: 16px;
}

.signup .sign-me-up {
  bottom: 0;
  padding: 18px 40px;
  background: #26b262;
  border: 1px solid #209753;
  border-bottom-width: 3px; 
  color: #fff;
  border-radius: 3px;
  letter-spacing: 2px;
  font-size: 18px;
  text-transform: uppercase;
  width: 500px;
  margin-left: -250px;
}

.signup .sign-me-up:focus,
.signup .signup-form .btn:focus {
  background: #209753;
  border: 1px solid #1b7c44;
  outline: none;
}

.signup .signup-form .btn:focus {
  top: 2px;
}

.signup .sign-me-up.remove {
  opacity: 1;
  margin-left: -250px;
}

.signup .sign-me-up.remove.anim {
  opacity: 0;
}

.wufoo-form-container {
  min-height: 500px !important;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

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

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@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;
    }
}



/* IE CSS Hacks */
@media screen and (min-width:0\0) {
  .skip-intro a {
    font-size: 11px;
    opacity: 0.6;
  }
}