@font-face {
    font-weight: 800;
    font-family: EsRebondGrotesque;
    src:  url('../fonts/esrebond-black.woff') format('woff');
    font-display: auto !default;
}
@font-face {
    font-weight: 400;
    font-family: EsRebondGrotesque;
    src:  url('../fonts/esrebond-regular.woff') format('woff');
    font-display: auto !default;
}

/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Tootmood
   ========================================================================== */

body { background: #E7ECEF; font-family: EsRebondGrotesque, verdana, sans-serif; font-weight: 400; color: #1d1d1b; letter-spacing: 0.025em; font-size: 18px; line-height: 1.6; }

.wrap, .wide-wrap { margin: 0 auto; text-align: center; margin-bottom: 50px; }
.wrap { max-width: 600px; }
.wide-wrap { max-width: 1000px; }
.content { text-align: left; margin-top: 30px; background: #fff; border-radius: 15px; padding: 20px 40px; }
.question { color: #1d1d1b; margin-bottom: 10px; font-weight: 600; text-align: center; font-size: 30px; line-height: 45px; letter-spacing: 0.025em; }
.smaller { font-size: 22px!important; }
.notstarted { font-size: 18px!important; }
.notstarted > div:first-child { margin-bottom: 15px; }
.center { text-align: center; }

.flex-container { display: flex; }
.flex-child { flex: 1; align-items: stretch; justify-content: center; }

.organic-box-label { align-self: flex-start; border-radius: .5rem; padding: .25rem .5rem; color: #1d1d1b; background-image: url(../images/organic-box-label.png); background-size: 100% 100%; background-repeat: no-repeat; }

.previous-question { font-size: 13px; margin-top: 15px; text-align: left; margin-bottom: -15px; }

.yswd-title { flex-direction: column; gap: 5px; padding: 0px 10px; }
.yswd-container { padding: 0px 30px; margin: 0 auto; gap: 40px; flex-wrap: wrap; margin: 30px auto; max-width: 800px; }
.yswd { justify-content: center; background: #ffffff; border-radius: 30px; padding: 20px; width: 100%; }
.yswd .title { color: #1d1d1b; margin-bottom: 10px; font-weight: 600; font-size: 25px; line-height: 25px; }
.yswd .small-text { font-size: 14px; color: #999999; }
.yswd .note { background: rgb(243 244 246); color: #1d1d1b; border-radius: 5px; padding: 5px; }
.yswd .graph-container { display: flex; flex-direction: row; width: 100%; }
.yswd .graph-container .graph-response { height: 60px; }
.yswd .graph-container .graph-response.first { border-top-left-radius: 30px; border-bottom-left-radius: 30px; }
.yswd .graph-container .graph-response.last { border-top-right-radius: 30px; border-bottom-right-radius: 30px; }
.yswd .legend { display: flex; justify-content: space-around; align-items: center; gap: 10px; margin: 10px auto; flex-wrap: wrap; }
.yswd .legend .key { display: flex; align-items: center; justify-content: space-between; font-size: 16px; gap: 4px; }
.yswd .legend .key .legend-colour { width: 30px; height: 30px; border-radius: 5px; }
.yswd .published-date { margin-top: 10px; }

.logo { max-height: 60px; margin-top: 20px; }
.poweredby { width: 200px; float: right; margin-top: 20px; opacity: 0.1; margin-bottom: 30px; }

.group-count { margin-top: 25px; font-size: 22px; }
.num-of-num { color: #4a4a4a; font-weight: 600; }

.progress-bar-container { margin-top: 25px; font-size: 22px; background: #ffffff; border-radius: 15px; }
.progress-bar { background: #f9d815; border-radius: 15px; font-weight: 600; min-width: 60px; text-align: center; }

a, a:active { text-decoration: underline; color: #4a4a4a; }

.labels-mobile { display: none; }
.labels { margin-top: 5px; }
.labels .left-label { float: left; text-align: left; }
.labels .right-label { float: right; text-align: right; }
.answer { float: left; cursor: pointer; text-align: center; }
.vote, .vote-selected { cursor: pointer; }
.emoji { user-select: none; margin-left: 25px; }
.yesno { user-select: none; margin-left: 60px; }
.slider { user-select: none; border-radius: 10px; margin-left: 7px; padding: 5px 15px; font-weight: 600; font-size: 20px; }
.custom { user-select: none; width: 100%; text-align: center; border-radius: 50px; padding: 10px; margin-bottom: 15px; font-weight: 600; font-size: 20px; background: #fff;  }
.selection-row { display: flex; flex-direction: row; justify-content: space-between; }

/* WCAG 2.2 AA Focus Styles for Keyboard Navigation */
.answer:focus {
    outline: 3px solid #1d1d1b;
    outline-offset: 4px;
}
.answer:focus:not(:focus-visible) {
    outline: none;
}
.answer:focus-visible {
    outline: 3px solid #1d1d1b;
    outline-offset: 4px;
}
.emoji:focus, .emoji:focus-visible { border-radius: 10px; }
.yesno:focus, .yesno:focus-visible { border-radius: 10px; }
.slider:focus, .slider:focus-visible { outline-offset: 2px; }
.custom:focus, .custom:focus-visible { outline-offset: 2px; }
.word-tile:focus {
    outline: 3px solid #1d1d1b;
    outline-offset: 2px;
}
.word-tile:focus:not(:focus-visible) {
    outline: none;
}
.word-tile:focus-visible {
    outline: 3px solid #1d1d1b;
    outline-offset: 2px;
}

.anon { text-align: center; color: #fff; background: #3a1435; border-radius: 50px; padding: 10px; margin-top: 30px; }
.anon a, anon a:active { color: #fff; }

.dont_know { cursor: pointer; display: inline-block; text-align: center; margin: 0 auto; font-size: 16px; font-weight: 600; border: 3px solid #34495E; color: #34495E; background: #EBEDEF; border-radius: 15px; padding: 10px; width: 100px; margin-top: 30px; }

.pulse_plus { margin-top: 10px; }
.word-tile-container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.word-tile-checkbox { 
    display: inline-block; 
    cursor: pointer;
    pointer-events: none; /* Let the parent div handle clicks for accessibility */
}
.word-tile { border:  1px solid #1d1d1b; color: #1d1d1b; user-select: none; margin: 10px; margin-top: 0px; cursor: pointer; width: auto; border-radius: 10px; padding: 10px 15px; font-size: 16px; text-align: center; display: inline-block; }
.unselected { background: #f3f3f3; }
.selected { background-color: #f9d815; }

textarea { border-radius: 15px; box-sizing: border-box; width: 100%; border: 1px solid #1d1d1b; outline: 0; padding: 15px;}
textarea::placeholder { opacity: 0.3; }

select { width: 100%; padding: 10px 5px; }

button { cursor: pointer; display: block; text-align: center; margin: 0 auto; margin-top: 20px; border: 0; outline: 0; background: none; }
.button-container {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 15px 30px;
  background: none;
}

.button-container svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.button-container div {
    font-weight: 600;
    background: #74959d;
    color: #fff;
    border-radius: 500px;
    padding: 15px 20px;
}

.button-container path {
  stroke: #db3157;
  stroke-width: 5px;
  stroke-dasharray: 0 1500;
}

.button-container:hover path {
  animation: draw 0.5s forwards;
}

@keyframes draw {
  from {
    stroke-dasharray: 0 1500;
  }

  to {
    stroke-dasharray: 1500 1500;
  }
}

form { display: none; }
.success, .info, .error, .not-saved { text-align: center; padding: 10px; border-radius: 15px; margin-bottom: 30px; }
.more-questions { margin-top: 20px; }
.more-questions > div { margin-top: 20px; display: none; }
.success { background: #D4EFDF; color: #145A32; margin-top: 30px; }
.info { background: #fef8af; color: #6c5313; }
.not-saved { background: #fef8af; color: #6c5313; }
.error { background: #fccfcf; color: #9a0a0a; }
hr { opacity: 0.2; }

.captcha { margin: 0 auto; text-align: center; display: block; margin-top: 20px; }
.g-recaptcha { margin: 0 auto; text-align: center; display: inline-block; }

.text-center { text-align: center; }
.center { margin: 0 auto; }

.allow-response { text-align: center; margin: 0 auto; margin-top: 30px!important; }

.tooltip {
  position:relative;
  border-bottom:1px dashed #1d1d1b; 
}

.simple-tooltip {
  position:relative;
  cursor: pointer;
}

.tooltip:before, .simple-tooltip:before {
  content: attr(data-text);
  position: absolute;
  transform: translateX(-50%);
  top: 100%;
  margin-top: 15px;
  left: 50%;
  width: 300px;
  padding: 10px;
  border-radius: 10px;
  background:#000;
  color: #fff;
  text-align: center;
  display: none;
}

.tooltip:hover:before, .simple-tooltip:hover:before {
  display: block;
  z-index: 100!important;
}

.wave { animation-name: wave-animation; animation-duration: 2.5s; animation-iteration-count: infinite; transform-origin: 70% 70%; display: inline-block; }
@keyframes wave-animation {
    0% { transform: rotate( 0.0deg) }
   10% { transform: rotate(14.0deg) }
   20% { transform: rotate(-8.0deg) }
   30% { transform: rotate(14.0deg) }
   40% { transform: rotate(-4.0deg) }
   50% { transform: rotate(10.0deg) }
   60% { transform: rotate( 0.0deg) }
  100% { transform: rotate( 0.0deg) }
}

a.shout-out-button-gray {
    background: rgb(111,171,221);
    background: #74959D; 
    border: 2px solid #74959D;
    padding: 10px 30px; 
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    display: inline-block;
    margin: 20px auto;
    font-size: 16px;
}

a.shout-out-button-white {
    background: rgb(111,171,221);
    background: #F9D815; 
    padding: 10px 30px; 
    border-radius: 50px;
    text-decoration: none;
    color: #000;
    border: 2px solid #F9D815;
    font-weight: 600;
    display: inline-block;
    margin: 20px auto;
    font-size: 16px;
}

a.shout-out-button .bold {
    margin: 0px 15px;
}

.activate-your-account, .shout-outs { text-align: left; margin-top: 30px; background: #fff; border-radius: 15px!important; padding: 0; text-align: center; }
.shout-outs { min-height: 650px; }
.activate-your-account > div, .shout-outs > div { padding: 15px; }
.not-signed-up { 
    border-bottom-left-radius: 15px; border-top-left-radius: 15px;
    background-image: url('../images/success/phone.png'), url('../images/success/top-left-icon.png');
    background-size: 250px, 150px;
    background-position: bottom -240px center, top 5px left 170px;
    background-repeat: no-repeat;
    background-color: #f9d815;
}
.sign-up { 
    border-bottom-right-radius: 15px; border-top-right-radius: 15px;
    background-color: #ffffff;
    background-image: url('../images/success/phone.png'), url('../images/success/bottom-right-icon.png');
    background-size: 250px, 150px;
    background-position: top -300px center, bottom 25px right 170px;
    background-repeat: no-repeat;
}
.shout-out-icons {
    background-image: url('../images/success/shout-out-icons.png'), url('../images/success/shout-out-people.png');
    background-position: top 30px left 20px, bottom -5px right 70px;
    background-size: 450px, 350px;
    background-repeat: no-repeat;
    background-color: #f9d815;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
}
.shout-out-examples {
    background-image: url('../images/success/shout-out-examples.png');
    background-position: top 70px left 40px;
    background-color: #eaf6fe;
    background-size: 400px;
    background-repeat: no-repeat;
    background-color: #74959D;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
}
.shout-out-examples > a {
    margin-top: 300px;
}

.activate-your-account p.title { font-weight: 600; font-size: 26px; margin-top: 220px; margin-bottom: 10px; }
.activate-your-account p { font-weight: 300; font-size: 18px; margin: 0; }
.shout-outs p.title { color: #1d1d1b; margin-top: 160px; font-weight: 600; font-size: 26px; }
.shout-outs p { color: #1d1d1b; margin-bottom: 15px; font-size: 16px; }

.not-signed-up p.title { margin-top: 170px; }

.activate-your-account button { 
    margin-bottom: 220px; 
    background-image: url('../images/success/wand.png');
    background-color: #74959D;
    color: #ffffff;
    font-weight: 600;
    background-repeat: no-repeat;
    background-position: top 50% left 15px;
    background-size: 30px;
    padding: 15px 20px 15px 50px;
    border-radius: 40px;
}

.activate-your-account button:hover {
    background-color: #8faab0;
}

a.confetti, a.confetti:active, a.confetti:hover, a.confetti:visited { cursor: pointer; font-size: 14px; color: #c8c8c8; font-style: italic; text-decoration: none; outline: none; margin-top: 30px; }


@media only screen and (max-width: 900px) {
    .not-signed-up, .shout-out-examples { display: none; }
    .activate-your-account p.title { margin-top: 40px!important; }
    .activate-your-account button { margin-bottom: 550px!important; }
    .sign-up { 
        align-self: flex-start;
        border-radius: 15px;
        background-image: url('../images/success/phone.png')!important;
        background-size: 250px!important;
        background-position: bottom 20px center!important;
        background-repeat: no-repeat!important;
    }
}

@media only screen and (max-width: 600px) {
    .content { padding: 10px 10px; }
    .answer { float: none; margin-left: 0; margin: 20px auto; display: block; text-align: center; }
    .slider { padding: 3px 6px; }
}

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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

.text-center { text-align: center; }

.no-margin-bottom { margin-bottom: 0px!important; }

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

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

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

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

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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