/*
You know you could be getting paid to poke around in our code?
We're hiring designers and developers worldwide: careers@bettermood.com
*/


* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    text-rendering: optimizeLegibility;
}

a,
button {
    cursor: pointer !important;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0 0 100px;
    background: #ffffff;
    font-family: 'Nunito', 'Open Sans', 'Tahoma', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-align: left;
    color: #152129;
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 1. Intro Page */
header,
header.challenges {
    width: calc(100% - 32px);
    max-width: 560px;
    margin: 0 auto 40px;
}

header h1 {
    font-weight: 800;
    font-size: calc(2.1em + ((1vw - 2.75px) * 1.6901));
    line-height: 100%;
    letter-spacing: 0.38px;
    margin: 0 0 20px;
}

header h1 span {
    display: inline-block;
}

header h1 strong,
.highlight {
    background: linear-gradient(180deg, transparent 40%, #F8E587 40%, #F8E587 85%, transparent 85%);
}

header h2 {
    font-weight: 400;
    font-size: calc(1.37em + ((1vw - 4.75px) * 1.6901));
    line-height: 127%;
    letter-spacing: 0.22px;
    color: #1A1A34;
    margin: 0;
    margin-bottom: calc(40px + ((1vw - 3.75px) * 2.6901));
}

header h3.error {
    background: rgb(247, 20, 77);
    border-radius: 7px;
    font-weight: 400;
    font-size: calc(1em + ((1vw - 4.75px) * 1.6901));
    padding: 20px 20px;
    color: #fff;
    line-height: 130%;
}

header h3.error strong {
    font-weight: 600;
    display: inline-block;
    margin-bottom: 7px;
}

@media (min-width: 750px) {
    header h1 {
        font-size: 3em;
    }

    header h2 {
        font-size: 1.5em;
    }

    header h3.error {
        font-size: 1em;
    }
}

section.introbg {
    position: relative;
}

section.introbg > img:first-child {
    /* display: none; */
    width: 21vw;
    max-width: 70px;
    position: absolute;
    left: calc(3vw - ((1vw - 3.75px) * 2.6901));
    top: calc(-20px + ((1vw + 4.75px) * 4.6901));
    height: calc(47px + ((1vw - 3.75px) * 4.6901));
    width: calc(50px + ((1vw - 3.75px) * 4.6901));
    animation: float 30s ease-in-out infinite;
}

section.introbg > img:nth-child(2) {
    position: absolute;
    right: 0%;
    top: calc(-17px + ((1vw + 4.75px) * 4.6901));
    animation: float2 15s ease-in-out infinite;
}

section.introbg {
    height: calc(100px + ((1vw - 3.75px) * 5.6901));
    max-width: 920px;
    margin: 0 auto;
    transition: all 0.4s ease-in-out;
}

@media (min-width: 750px) {
    section.introbg {
        height: calc(80px + ((1vw - 3.75px) * 5.6901));
    }

    #questionaireform article {
        min-height: 60vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

section.introbg > img:nth-child(3) {
    z-index: -9;
    position: absolute;
    right: -9vw;
    /* transform: rotate(-30deg); */
    top: calc(-3vh + ((1vw - 3.75px) * 2.6901));
    height: calc(147px + ((1vw - 3.75px) * 2.6901));
    width: calc(150px + ((1vw - 3.75px) * 2.6901));
    animation: float3 15s ease-in-out infinite;
}

@keyframes float {
	0% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(30px);
	}
	100% {
		transform: translateY(0px);
	}
}

@keyframes float2 {
	0% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-20px);
	}
	100% {
		transform: translateY(0px);
	}
}

@keyframes float3 {
	0% {
		transform: translateX(0px);
	}
	50% {
		transform: translateX(-20px);
	}
	100% {
		transform: translateX(0px);
	}
}


/* 1.1. Gender Selection */
fieldset {
    border: 0;
    margin: 0 auto;
    padding: 0;
    padding-bottom: calc(70px + ((1vw - 3.75px) * 4.6901));
    width: calc(100% - 32px);
    max-width: 560px;
}

fieldset h3 {
    font-size: calc(0.97em + ((1vw - 3.75px) * 1.1901));
    margin-top: 0;
}

fieldset ul.gender-select {
    list-style-type: none;
    margin: 21px auto 0 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 370px;
}

fieldset ul.gender-select li {
    position: relative;
    flex-basis: 30%;
    max-width: 100px;
    min-height: 100px;
    position: relative;
    margin: 0 0 21px;
}

fieldset ul.gender-select input[type="radio"] {
    opacity: 0;
    z-index: 100;
}

fieldset ul.gender-select a {
    text-decoration: none;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    border: 1px solid #D9D9D9;
    border-radius: 9px;
    background: #FEFFFE;
    /* box-shadow: 0 0 9px 0 rgba(0,0,0,0.12); */
    cursor: pointer !important;
}

fieldset ul.gender-select a:focus, 
fieldset ul.gender-select a:active, 
fieldset ul.gender-select a:hover {
    background: #FFFFFF;
    border: 1px solid #00D184;
    box-shadow: 0 0 0 2px #7DE0A7;
    border-radius: 5px;
    outline: none;
}

fieldset ul.gender-select a span.icon {
    display: block;
    padding-top: 23px;
    position: relative;
}

fieldset ul.gender-select a span svg {
    height: 37px;
    display: block;
    margin: 0 auto; 
}

fieldset ul.gender-select a span.icon-label {
    font-size: 0.675em;
    font-weight: 700;
    color: #5E5E5E;
    letter-spacing: 0;
    line-height: 100%;
    display: block;
    margin-top: 9px;
    text-align: center;
}
fieldset svg .filler {
    fill: #5E5E5E;
}
fieldset ul.gender-select a:focus span.icon-label,
fieldset ul.gender-select a:active span.icon-label,
fieldset ul.gender-select a:hover span.icon-label {
    color: #00D184;
}

fieldset ul.gender-select a:focus span.icon svg .filler,
fieldset ul.gender-select a:active span.icon svg .filler,
fieldset ul.gender-select a:hover span.icon svg .filler {
    fill: #00D184;
}

fieldset ul.gender-select a:focus span.icon svg .filler,
fieldset ul.gender-select a:active span.icon svg .filler,
fieldset ul.gender-select a:hover span.icon svg .filler {
    fill: #00D184;
}

aside.community {
    display: flex;
    flex-wrap: wrap;
    width: 150px;
    margin-left: 0;
    margin-top: 20px;
    justify-content: flex-start;
}

aside.community img {
    margin: 0 6px 0 0;
}

aside.community > div {
    margin-top: 16px;
    font-size: 0.777em;
    letter-spacing: 0.4px;
}

aside.community > div strong {
    font-weight: 900;
    color: #29CC6D;
}



section.reasonwhy {
    margin-top: 20px;
}

section.reasonwhy nav {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 0.33px;
    color: #7E7E7E;
}

section.reasonwhy aside:before {
    content: "";
    position: absolute;
    left: 11%;
    top: -9px;
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 5px 6px 5px;
    border-color: transparent transparent #C1F2D6 transparent;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

section.reasonwhy aside {
    display: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Arial, Verdana, sans-serif;
    font-size: 0.75em;
    color: #1D2022;
    background: #fff;
    letter-spacing: 0.3px;
    line-height: 150%;
    margin: 20px auto 20px 0;
    padding: 10px 20px;
    border: 1px solid #00D184;
    box-shadow: 0 0 0 2px #C1F2D6;
    border-radius: 6px;
    position: relative;
}

@media (min-width: 750px) {
    fieldset h3 {
        font-size: 1.1em;
    }
}

/* 1.2. Figure */
figure.footerillustration {
    margin: 0;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

figure.footerillustration img {
    display: block;
    z-index: -999;
    -webkit-align-self: center;
    align-self: center;
    height: auto;
    min-width: 560px;
    width: 100%;
    max-width: 1024px;
    opacity: 0.7;
}

@media (min-width: 750px) {
    figure.footerillustration {
        margin-top: 30px;
    }
}

/* 1.3. Tips */

#s2 {
    display: none;
}

section.tips {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    padding: 20px 15px 15px;
    overflow: hidden;
    width: calc(100% - 32px);
}

section.tips aside {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    max-width: 210px;
    margin: 10px;
    padding: 30px 0;
    position: relative;
    z-index: 4;
}

section.tips aside img:first-child {
    margin-bottom: 20px;
    max-height: 70px;
}

section.tips aside img:nth-child(2) {
    position: absolute;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    max-height: 90px;
    z-index: -1;
}

section.tips aside h3 {
    font-weight: 800;
    font-size: 1.5em;
    text-align: center;
    line-height: 100%;
    margin: 0 0 10px;
}

section.tips aside p {
    font-weight: 300;
    font-size: 1em;
    color: #20242A;
    letter-spacing: -0.18px;
    text-align: center;
    line-height: 150%;
    margin: 0;
    letter-spacing: 0.4
}

section.tips aside.buttonholder {
    max-width: 100%;
}


@media (min-width: 750px) {
    article.tipsholder {
        display: flex;
        align-items: center;
        height: 70vh;
    }

    section.tips {
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 900px;
        margin: 0 auto;
        justify-content: space-around;
        align-items: flex-start;
    }

    section.tips aside.buttonholder {
        width: 100%;
    }

    section.tips aside h3 {
        font-size: 1.5em;
    }
    
    section.tips aside p {
        font-size: 1em;
    }

    section.tips aside img:first-child {
        margin-bottom: 40px;
    }

}

/* 2. Footer */
footer {
    width: calc(100% - 32px);
    max-width: 650px;
    margin: 30px auto 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

footer a {
    font-weight: 700;
    font-size: 0.7em;
    letter-spacing: 0.26px;
    text-transform: uppercase;
    text-decoration: none;
    color: grey;
    margin: 5px;
}


/* 3. Current Callenges */

header.challenges span {
     display: block;
}

header.challenges p.warning {
    display: none;
    justify-content: flex-start;
    align-items: center;
    font-size: 0.9em;
    font-weight: 400;
    line-height: 100%;
    color: #FA3E3D;
}

header.challenges p.warning img {
    height: 20px;
    width: 20px;
    padding-bottom: 2px;
    margin-right: 10px;
}

.symptom-list {
    width: 100%;
    padding: 0;
    margin: 0 0 40px;
    list-style: none;
}

.symptom-list label {
    position: relative;
    display: block;
    font-size: 0.7em;
    font-weight: 700;
    color: #5E5E5E;
    text-transform: uppercase;
    letter-spacing: 0.34px;
    cursor: pointer !important;
}

.symptom-list [type="checkbox"], 
.symptom-list [type="radio"] {
    position: fixed;
    left: 0;
    top: 0;
    opacity: 0;
    z-index: -1;
}

.symptom-list [type="radio"]:checked ~ .fake-label,
.symptom-list [type="checkbox"]:checked ~ .fake-label {
    color: #00D184;
}

.symptom-list .fake-input {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border: 1px solid #EDEDED;
    border-width: 0 0 1px;
    z-index: -1;
}

.symptom-list li:last-child .fake-input {
    border: none;
}

.symptom-list [type="radio"]:checked + .fake-input:before,
.symptom-list [type="checkbox"]:checked + .fake-input:before {
    background-color: #00D184;
    border-color: #00D184;
    width: 19px;
    height: 19px;
}

.symptom-list .fake-input:before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
    border: 1px solid #D9D9D9;
    background-color: #fff;
    border-radius: 50%;
    margin: -1px 0 0;
}

.symptom-list .fake-input:after {
    content: url(../images/questionaire/check.svg);
    position: absolute;
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    opacity: 0;
    margin: -1px 0;
}

.symptom-list [type="radio"]:checked + .fake-input:after,
.symptom-list [type="checkbox"]:checked + .fake-input:after {
    opacity: 1;
}

.symptom-list .fake-label {
    padding: 27px 10px 27px 64px;
    display: block;
    white-space: nowrap;
}

button,
a.button {
    position: relative;
    display: block;
    font-size: 0.88em;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.6px;    
    color: #ffffff;
    margin: 0 auto 0px;
    padding-top: 2px;
    width: calc(100% - 32px);
    max-width: 320px;
    border-radius: 28px;
    background: #00D184;
    line-height: 57px;
    border: none;
    outline: none;
}

button:after,
a.button:after {
    content: url(../images/questionaire/arrow.svg);
    position: absolute;
    top: calc(50% + 1.5px);
    right: 15%;
    transform: translateY(-50%);
    margin-top: 1px;
    color: #fff;
    text-align: center;
}

a.start {
    max-width: 200px;
    margin: 0 auto 45px 0;
    display: none;
}

@media (min-width: 480px) {
    .symptom-list {
        margin-bottom: 50px;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: flex-start;
    }

    .symptom-list li {
        display: inline-block;
        width: 47%;
        max-width: 268px;
        margin: 0;
    }

    .symptom-list .column-split {
        border: none;
    }

    .symptom-list li:last-child .fake-input,
    .symptom-list li:nth-child(7) .fake-input {
        border: none;
    }
}

/* 4. Assessment */

/* 4.1. Progress Bar */
nav.progress-mobi {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 60px;
    background-color: #f5f5f5;
}

nav.progress-desk {
    display: none;
}

nav.progress-mobi a.backbutton {
    padding: 25px 0;
}

nav.progress-mobi a.backbutton,
#questionaireform a.backbutton {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
}

#questionaireform a.backbutton {
    display: none;
    max-width: 550px;
    margin: 0 auto;
}

#questionaireform a.backbutton {
    margin-bottom: 10vh;
}

nav.progress-mobi a.backbutton svg {
    height: 14px;
}

#questionaireform a.backbutton svg {
    height: 30px;
}

nav.progress-mobi a.backbutton i,
#questionaireform a.backbutton i {
    font-style: normal;
    font-weight: 800;
    color: #5E5E5E;
    display: inline-block;
    line-height: 14px;
    font-size: 13px;
    padding: 0 0 0 9px;
}

#questionaireform a.backbutton i {
    font-size: 1em;
    line-height: 100%;
    padding-left: 15px;
    color: #9b9faa;
}


nav.progress-mobi section:last-child {
    color: #9b9faa;
    flex-basis: 40px;
    font-weight: 800;
    font-size: 13px;
    text-align: right;
}

nav.progress-mobi aside {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 55%;
    flex: 0 0 55%;
    height: 4px;
    border-radius: 10px;
    background-color: #E7E8EB;
    margin-right: 0;
    margin-left: 20px;
    position: relative;
    overflow: hidden;
}

nav.progress-mobi aside div {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 7px;
    background-color: #00D184;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

@media (min-width: 800px) {
    nav.progress-mobi {
        display: none;
    }

    #questionaireform a.backbutton {
        display: flex;
    }  

    nav.progress-desk {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        height: 30px;
        z-index: 999;        
    }

    nav.progress-desk .line-holder {
        background: #edeef0;
    }

    nav.progress-desk .line {
        display: block;
        background-image: -webkit-linear-gradient(135deg, #00D184 0%, #00BC77 100%);
        background-image: linear-gradient(-45deg, #00D184 0%, #00BC77 100%);
        height: 3px;
        position: relative;
        -webkit-transition: width .3s;
        transition: width .3s;
    }

    nav.progress-desk .progress-value {
        width: 39px;
        height: 27px;
        position: absolute;
        right: 0;
        top: calc(100% + 6px);
        display: block;
        border-radius: 5px;
        background-color: #00D184;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
        color: #fff;
        font: 800 12px/29px "Nunito", sans-serif;
        text-align: center;
        letter-spacing: .2px;
    }

    nav.progress-desk .progress-value:before {
        content: "";
        position: absolute;
        left: 50%;
        top: -5px;
        display: inline-block;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 4px 5px 4px;
        border-color: transparent transparent #00D184 transparent;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

/* 4.2. Question */

#questionaireform {
    width: calc(100% - 32px);
    max-width: 500px;
    margin: 30px auto 0;
}

#questionaireform article h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: calc(1.5em + ((1vw - 2.75px) * 1.6901));
    height: 20vh;
    min-height: 25vh;
    text-align: center;
    color: #1F2925;
}

#questionaireform article section.decision {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    max-width: 400px;
    margin-top: calc(40px + ((1vw - 3.75px) * 2.6901));
    margin-bottom: calc(30vh + ((1vw - 3.75px) * 4.6901));
}

#questionaireform article section.decision ul,
#questionaireform7 article section aside.decision ul {
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    order: 1;
}

#questionaireform article section.decision strong,
#questionaireform7 article section aside.decision strong {
    font-size: 0.7em;
    letter-spacing: 0.33px;
    color:  #5E5E5E;
    font-weight: 800;
    flex-basis: 45%;
    margin-top: 17px;
    order: 2;
    text-transform: uppercase;
}

#questionaireform article section.decision strong:last-child,
#questionaireform7 article section aside.decision strong:last-child {
    text-align: right;
}

#questionaireform article ul li,
#questionaireform7 article section aside.decision ul li {
    font-size: 0;
}

#questionaireform article ul li label,
#questionaireform7 article section aside.decision ul li label {
    display: inline-block;
    height: 45px;
    width: 45px;
    position: relative;
    cursor: pointer !important;
}

#questionaireform article ul li label * {
	pointer-events: none;
}

#questionaireform article ul input[type="radio"],
#questionaireform7 article section aside.decision ul input[type="radio"] {
    position: fixed;
    opacity: 0;
    display: block;
}

#questionaireform article ul li label .fake-input,
#questionaireform7 article section aside.decision ul li label .fake-input {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
    border: 2px solid #979797;
    background-color: #fff;
    border-radius: 50%;
    margin: -1px 0 0;
    cursor: pointer !important;
    transition: all 100ms ease-in-out 0ms;
}

#questionaireform article ul li label .fake-input img,
#questionaireform7 article section aside.decision ul li label .fake-input img {
    height: 50%;
    width: 50%;
    opacity: 0;
}

#questionaireform article ul li input[type="radio"]:checked + .fake-input img,
#questionaireform7 article section aside.decision ul li input[type="radio"]:checked + .fake-input img {
    opacity: 1;
}

#questionaireform article ul li:nth-child(1) label,
#questionaireform7 article section aside.decision ul li:nth-child(1) label,
#questionaireform article ul li:nth-child(7) label,
#questionaireform7 article section aside.decision ul li:nth-child(7) label {
    height: 45px;
    width: 45px;
}

#questionaireform article ul li:nth-child(2) label,
#questionaireform7 article section aside.decision ul li:nth-child(2) label,
#questionaireform article ul li:nth-child(6) label,
#questionaireform7 article section aside.decision ul li:nth-child(6) label {
    height: 35px;
    width: 35px;
}   

#questionaireform article ul li:nth-child(3) label,
#questionaireform7 article section aside.decision ul li:nth-child(3) label,
#questionaireform article ul li:nth-child(5) label,
#questionaireform7 article section aside.decision ul li:nth-child(5) label {
    height: 28px;
    width: 28px;
}   

#questionaireform article ul li:nth-child(4) label,
#questionaireform7 article section aside.decision ul li:nth-child(4) label {
    height: 25px;
    width: 25px;
}   

#questionaireform article ul li input[type="radio"]:checked + .fake-input,
#questionaireform7 article section aside.decision ul li input[type="radio"]:checked + .fake-input {
    background-color: #F8E587;
    border-color: #F8E587;
}

@media (max-width: 370px) {
    #questionaireform article ul li label,
    #questionaireform7 article section aside.decision ul li label {
        height: 43px;
        width: 43px;
    }
    
    #questionaireform article ul li:nth-child(1) label,
    #questionaireform7 article section aside.decision ul li:nth-child(1) label,
    #questionaireform article ul li:nth-child(7) label,
    #questionaireform7 article section aside.decision ul li:nth-child(7) label {
        height: 43px;
        width: 43px;
    }

    #questionaireform article ul li:nth-child(2) label,
    #questionaireform7 article section aside.decision ul li:nth-child(2) label,
    #questionaireform article ul li:nth-child(6) label,
    #questionaireform7 article section aside.decision ul li:nth-child(6) label {
        height: 33px;
        width: 33px;
    }   

    #questionaireform article ul li:nth-child(3) label,
    #questionaireform7 article section aside.decision ul li:nth-child(3) label,
    #questionaireform article ul li:nth-child(5) label,
    #questionaireform7 article section aside.decision ul li:nth-child(5) label {
        height: 25px;
        width: 25px;
    }   

    #questionaireform article ul li:nth-child(4) label,
    #questionaireform7 article section aside.decision ul li:nth-child(4) label {
        height: 23px;
        width: 23px;
    }   
}


@media (min-width: 750px) {
    #questionaireform {
        max-width: 700px;
    }

    #questionaireform article h2 {
        font-size: 2.3em;
    }

    #questionaireform article section.decision {
        margin-bottom: 20vh;
        max-width: 550px;
    }

    #questionaireform article section.decision strong:first-child {
        padding-left: 5px;
    }

    #questionaireform article section.decision ul {
        max-width: 550px;
    }

    #questionaireform article ul li label .fake-input {
        border-width: 3px;
    }

    #questionaireform article ul li:nth-child(1) label,
    #questionaireform article ul li:nth-child(7) label {
        height: 60px;
        width: 60px;
    }

    #questionaireform article ul li:nth-child(2) label,
    #questionaireform article ul li:nth-child(6) label {
        height: 50px;
        width: 50px;
    }   

    #questionaireform article ul li:nth-child(3) label,
    #questionaireform article ul li:nth-child(5) label {
        height: 40px;
        width: 40px;
    }   

    #questionaireform article ul li:nth-child(4) label {
        height: 30px;
        width: 30px;
    }   
}


@media (min-width: 750px) and (min-height: 750px) {
    #questionaireform {
        max-width: 700px;
    }

    #questionaireform article h2 {
        font-size: 2.5em;
    }

    #questionaireform article section.decision {
        margin-bottom: 20vh;
        max-width: 600px;
    }

    #questionaireform article section.decision strong:first-child {
        padding-left: 5px;
    }

    #questionaireform article section.decision ul {
        max-width: 600px;
    }

    #questionaireform article ul li label .fake-input {
        border-width: 3px;
    }

    #questionaireform article ul li:nth-child(1) label,
    #questionaireform article ul li:nth-child(7) label {
        height: 70px;
        width: 70px;
    }

    #questionaireform article ul li:nth-child(2) label,
    #questionaireform article ul li:nth-child(6) label {
        height: 55px;
        width: 55px;
    }   

    #questionaireform article ul li:nth-child(3) label,
    #questionaireform article ul li:nth-child(5) label {
        height: 45px;
        width: 45px;
    }   

    #questionaireform article ul li:nth-child(4) label {
        height: 35px;
        width: 35px;
    }   

    #questionaireform a.backbutton {
        max-width: 600px;
    }
    
}

/* 4.1.1. Multiple Questions per page */

#questionaireform7 {
    width: calc(100% - 32px);
    margin: 30px auto 0;
}

#questionaireform7 article {
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px 0;
}

#questionaireform7 article.current {
    display: flex;
}

#questionaireform7 article section {
    padding: 35px 0;
    width: 100%;
    border-bottom: 1px solid #dcdcdc;
}

#questionaireform7 article section:nth-child(6) {
    border-bottom: none;
}

#questionaireform7 article section h2 {
    font-size: 1.1em;
    font-weight: 700;
    color: #576071;
    text-align: center;
    line-height: 1.5;
}

#questionaireform7 article aside.decision {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    max-width: 400px;
}

#questionaireform7 article section aside.decision ul {
    margin-top: 30px;
    margin-bottom: 15px;
}

#questionaireform7 article a.button {
    margin-top: 30px;
    margin-bottom: 70px;
    cursor: pointer !important;
}

@media (min-width: 750px) {
    #questionaireform7 {
        width: calc(100% - 60px);
        margin: 30px auto 0;
    }
    
    #questionaireform7 article section {
        padding: 40px 0 40px;
    }

    #questionaireform7 article section h2 {
        font-size: 1.4em;
        margin: 0;
    }

    #questionaireform7 article section aside.decision {
        max-width: none;
        justify-content: center;
        margin-top: 40px;
    }

    #questionaireform7 article section aside.decision ul {
        order: inherit;
        flex: 0 0 400px;
        margin: 0 30px;
    }

    #questionaireform7 article section aside.decision strong {
        margin: 0;
        order: inherit;
        flex-basis: inherit;
        font-size: 1.1em;
        text-transform: capitalize;
        opacity: 0.777;
    }
}

@media (min-width: 992px) {
    #questionaireform7 {
        padding: 15px;
    }

    #questionaireform7 article section {
        padding: 60px 0 75px;
    }

    #questionaireform7 article section h2 {
        font-size: 1.6em;
    }

    #questionaireform7 article section aside.decision ul {
        max-width: 600px;
        flex: 0 0 600px;
    }

    #questionaireform7 article section aside.decision ul li label .fake-input {
        border-width: 3px;
    }

    
    #questionaireform7 article section aside.decision ul li:nth-child(1) label,
    #questionaireform7 article section aside.decision ul li:nth-child(7) label {
        height: 70px;
        width: 70px;
    }

    #questionaireform7 article section aside.decision ul li:nth-child(2) label,
    #questionaireform7 article section aside.decision ul li:nth-child(6) label {
        height: 55px;
        width: 55px;
    }   

    #questionaireform7 article section aside.decision ul li:nth-child(3) label,
    #questionaireform7 article section aside.decision ul li:nth-child(5) label {
        height: 45px;
        width: 45px;
    }   

    #questionaireform7 article section aside.decision ul li:nth-child(4) label {
        height: 35px;
        width: 35px;
    }   

}



/* 4.2. Question Swipes */

#questionaireform article {
    display: none;
}

#questionaireform article.current {
    display: block;
}

.slide-out {
	-webkit-animation: slideOutLeft 200ms linear forwards;
	animation: slideOutLeft 200ms linear forwards;
}

.slide-in {
	-webkit-animation: slideInLeft 200ms linear forwards;
	animation: slideInLeft 200ms linear forwards;
}

@-webkit-keyframes slideOutLeft {
	from {
		-webkit-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}

	to {
		visibility: visible;
		-webkit-transform: translateX(-5%);
		transform: translateX(-5%);
		opacity: 0;
	}
}

@keyframes slideOutLeft {
	from {
		-webkit-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}

	to {
		visibility: visible;
		-webkit-transform: translateX(-5%);
		transform: translateX(-5%);
		opacity: 0;
	}
}

@-webkit-keyframes slideInLeft {
	from {
		-webkit-transform: translateX(5%);
		transform: translateX(5%);
		opacity: 0;
	}

	to {
		-webkit-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideInLeft {
	from {
		-webkit-transform: translateX(5%);
		transform: translateX(5%);
		opacity: 0;
	}

	to {
		-webkit-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}
}

.slide-back-out {
    -webkit-animation: slideOutRight 250ms linear forwards;
  animation: slideOutRight 250ms linear forwards;
}

.slide-back-in {
    -webkit-animation: slideInRight 250ms linear forwards;
  animation: slideInRight 250ms linear forwards;
}

@-webkit-keyframes slideInRight {
	from {
		-webkit-transform: translateX(-5%);
		transform: translateX(-5%);
		opacity: 0;
	}

	to {
		-webkit-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideInRight {
	from {
		-webkit-transform: translateX(-5%);
		transform: translateX(-5%);
		opacity: 0;
	}

	to {
		-webkit-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}
}


@-webkit-keyframes slideOutRight {
	from {
		-webkit-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}

	to {
        right: -5%; 
		visibility: visible;
		-webkit-transform: translateX(5%);
		transform: translateX(5%);
		opacity: 0;
	}
}

@keyframes slideOutRight {
	from {
		-webkit-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}

	to {
		-webkit-transform: translateX(5%);
		transform: translateX(5%);
		opacity: 0;
	}
}


/* 5. Loading */
main.loading {
    display: flex;
    flex-flow: column;
    justify-content: center;
    height: 80vh;
}

main.loading .logo {
    display: block;
    margin: 0 auto 20px;
    opacity: 0.5;
    height: 28px;
    width: 86px;
}

main.loading header {
    display: block;
    text-align: center;
    padding-top: 20px;
}

main.loading article {
    flex: 1;
    display: flex;
    flex-flow: column;
    justify-content: center;
    padding-bottom: 0vh;
}

main.loading article a {
    margin-top: 50px;
    max-width: 250px;
    opacity: 0;
}

@media (min-height: 341px) {
    main.loading article {
        padding-bottom: 2vh; 
    }
}

@media (min-height: 700px) {
    main.loading article {
        padding-bottom: 7vh; 
    }
}

@media (min-height: 800px) {
    main.loading article {
        padding-bottom: 15vh; 
    }
}

#gif {
    padding: 0;
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border: 1px dashed transparent;
}


#gif * {
    margin:0;
    padding:0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline:0px none transparent;
    -webkit-tap-highlight-color:transparent;
    list-style-type: none;
}

#gif .inner-wrap {
    position: relative;
    width:100%;
    height:100%;
    border:1px dashed transparent;
    -webkit-border-radius:50%;
    -moz-border-radius:50%;
    border-radius:50%;	
}

#gif .dot-full {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #00D184;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    z-index: 2;
    padding: 0px;
    text-align: center;
}

#gif .dot-full.hollow {
    background: #ffffff;
    border: 3px solid #00D184;
    z-index: 1;
}

#gif .dot-full svg {
    margin-top: 13px;
    margin-left: 2px;
}

#gif .dot-full-wrap {
    position: absolute;
    width: 20%;
    height: 20%;
    float: left;
    padding: 8px;
}

#gif .dot-wrap-grid {
    position:absolute;
    border:1px dashed transparent;
}


#gif .block {
    display:block !important;	
}

#gif + h2.text-wrap {
    font-weight: 700;
    font-size: 0.777em;
    text-align: center;
    letter-spacing: 0.33px;
    margin-top: 40px;
    color: #152129;
    text-transform: uppercase;
}

h2.text-wrap a {
    text-align: center;
    letter-spacing: 0.33px;
    color: #152129;
    text-transform: uppercase;
    text-decoration: underline;
}



/* 8. Loading animation */
.pb-0 {
    padding-bottom: 0 !important;
}

main.breathing,
main.onepager {
    box-sizing: border-box;
    width: 100vw;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

main.onepager:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
    z-index: -1;
}

main.breathing.onepager {
    justify-content: center;
    align-items: center;
}

main.onepager section.introbg {
    width: 100% !important;
    position: absolute;
    top: 0;
}

main.breathing h1 {
    margin-top: 40px;
    font-size: 1.5em;
    text-align: center;
}

main.breathing p {
    font-size: 1.1em;
    width: calc(100% - 32px);
    max-width: 343px;
    margin: 0 auto;
    text-align: center;
    color: #606060;
}

.container {
    margin: 30px;
    height: 90px;
    width: 90px;
    animation: pulse 4s cubic-bezier(0.5, 0, 0.5, 1) alternate infinite;
}
  
.circle {
    height: 90px;
    width: 90px;
    border-radius: 50%;
    position: absolute;
    mix-blend-mode: darken;
    transform: translate(0, 0);
    animation: center 6s infinite;
}
  
.circle:nth-child(odd) {
    background: #00D184;
    opacity: 0.4;
}
  
.circle:nth-child(even) {
    background: #00D184;
    opacity: 0.4;
}
  
.circle:nth-child(1) {
    animation: circle-1 4s ease alternate infinite;
}
  
.circle:nth-child(2) {
    animation: circle-2 4s ease alternate infinite;
}
  
.circle:nth-child(3) {
    animation: circle-3 4s ease alternate infinite;
}
  
.circle:nth-child(4) {
    animation: circle-4 4s ease alternate infinite;
}
  
.circle:nth-child(5) {
    animation: circle-5 4s ease alternate infinite;
}
  
.circle:nth-child(6) {
    animation: circle-6 4s ease alternate infinite;
}
  
@keyframes pulse {
    0% {
      transform: scale(.33) rotate(180deg);
    }
    100% {
      transform: scale(0.65);
    }
}
  
@keyframes circle-1 {
    0% {
      transform: translate(0, 0);
    }
    100% {
        transform: translate(-18px, -33px);
    }
}
  
@keyframes circle-2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(18px, 33px);
    }
}
  
@keyframes circle-3 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(-38px, 0);
    }
}
  
@keyframes circle-4 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(38px, 0);
    }
}
  
@keyframes circle-5 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(-18px, 33px);
    }
}
  
@keyframes circle-6 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(18px, -33px);
    }
}

