/* CSCF Mobile COVID Check App */
:root {
    --blue: #01a1dd;
    --darkblue: #005ca8;
    --lightblue: #6ebeff;
    --orange: #f26122;
    --lightred: #ff6a6a;
    --green:#3eb049;
    --lightgreen:#00df16;
    --lightgray: #f7f7f7;
    --charcoal: #575757;
    --gray: #b1b1b1;
    --white: #fff;
}
strong {
    font-family: 'ProximaBold', sans-serif;
}
.name {
    color: transparent!important;
    background: -webkit-linear-gradient(-45deg, #01a1dd, #96c93d, #01a1dd, #96c93d, #01a1dd);
    background: linear-gradient(-45deg, #01a1dd, #96c93d, #01a1dd, #96c93d, #01a1dd);
	background-size: 400% 400%;
	animation: gradient 5s ease infinite;
    transition: all 0.4s;
    font-size:2.2em;
    -webkit-background-clip: text;
    background-clip: text;
    font-family: 'ProximaBold', sans-serif;
}
.name-safe {
    font-family: 'ProximaBold', sans-serif;
}
.name-2 {
    font-family: 'ProximaBold', sans-serif;
}
.name-go {
    font-family: 'ProximaBold', sans-serif;
}
* {
    -webkit-tap-highlight-color: transparent!important;
}
input:-webkit-autofill, input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px white inset!important;
  -webkit-text-fill-color: #333!important;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 60px #fafafa inset !important;
    background-color: #fafafa !important;
    background-clip: content-box !important;
}
img {
    user-select: none;
    -webkit-user-select: none;
}
body {
    width: 500px;
    max-width: 100%;
    background: #fbfbfb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.myFSform {
    width: 800px;
    max-width: 100%;
}
header {
    margin-top: 2vh;
    /* margin-bottom: 15vh; */
}
.credit {
    opacity: 0.2;
    font-size: 0.8em;
}
.welcome {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 5vh;
    margin-bottom: 5vh;
}
#greeting {
    font-size: 1.4em;
    font-family: 'ProximaBold', sans-serif;
    color: var(--blue);
    margin-bottom:1em;
}
.form-page {
    margin-top: 5vh;
    flex-shrink: 0;
}
.form-group {
    margin-bottom: 6vh;
}
.form-group.form-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.form-text-input[type="email"] {
    text-transform: none;
    font-size: 1em!important;
}
.form-text-input::placeholder {
    text-transform: none;
}
.form-text-input {
    border: 0;
    appearance: none;
    outline: 0;
    border-radius: 0px;
    padding: 3vw;
    border-bottom: 2px solid var(--blue);
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 5vh;
    background: transparent!important;
    width: 70%;
    text-transform: capitalize;
}
.has-autocomplete {
    margin-bottom: 0!important;
}
/* AUTOCOMPLETE */
.user-autocomplete {
    background: #f7f7f7;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    max-height: 20vh;
    overflow: scroll;
    width: 100%;
    
}
.user-autocomplete::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
.auto-user:active {
    opacity: 0.85;
    background: var(--blue);
    color: var(--white)!important;
}
.auto-user:hover {
    background: #ececec;
    cursor: pointer;
}
.auto-user {
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    color: var(--blue);
}
div#firstNameInitialValue {
    text-align: center;
    justify-content: center;
    font-size: 1em;
    color: var(--charcoal);
}
span.auto-first-name {
    font-family: 'ProximaBold';
}
span.auto-last-name {
    font-size: 0.75em;
}
/* END AUTOCOMPLETE */
.replaceWithName {
    font-family: 'ProximaBold';
}
.form-section-title {
    text-align: center;
    font-family: 'ProximaBold';
    color: var(--blue);
    max-width: 90%;
    margin: 0 auto;
    margin-bottom: 2vh;
    /* z-index: 10; */
}

/* CSCF OFFICE */
div#cscf-office, div#organization {
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    align-items: center;
}
div#cscf-office input, div#organization input {
    visibility: hidden;
    width: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    appearance: none;
}
div#cscf-office [type="radio"]:checked + label, div#organization [type="radio"]:checked + label {
    color: white;
    background: var(--blue);
    transform: scale(1.1);
    box-shadow: 0px 0px 0px black;
}
div#cscf-office label:hover, div#organization label:hover {
    cursor: pointer!important;
    box-shadow: 0px 0px 0px black;
    background: var(--darkblue);
    color: var(--white);
    opacity: 0.8;
}
div#cscf-office label, div#organization label {
    width: 35%;
    box-sizing: border-box;
    padding: 5vw;
    background: var(--white);
    margin: 5vw;
    /* transition: box-shadow 0.3s ease-in-out; */
    border-radius: 3vw;
    box-shadow:
  0 2.8px 2.2px rgba(0, 0, 0, 0.014),
  0 6.7px 5.3px rgba(0, 0, 0, 0.028),
  0 12.5px 10px rgba(0, 0, 0, 0.04),
  0 22.3px 17.9px rgba(0, 0, 0, 0.052),
  0 41.8px 33.4px rgba(0, 0, 0, 0.066),
  0 100px 80px rgba(0, 0, 0, 0.10)
}
/* END CSCF OFFICE */

/* SYMPTOMS */
.form-group-symptoms {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.form-checkbox {
    width: 50%;
    margin: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.symptom-checkbox {
    visibility: hidden;
    width: 0;
    height: 0;
    opacity: 0;
    appearance: none;
    outline: 0;
    display: none;
}
.symptom-label:active {
    transform: scale(0.9);
}
.symptom-label {
    box-sizing: border-box;
    padding: 5vw;
    line-height: 1.2em;
    background: var(--white);
    margin: 5vw;
    /* transition: box-shadow 0.3s ease-in-out; */
    border-radius: 3vw;
    box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.014), 0 6.7px 5.3px rgba(0, 0, 0, 0.028), 0 12.5px 10px rgba(0, 0, 0, 0.04), 0 22.3px 17.9px rgba(0, 0, 0, 0.052), 0 41.8px 33.4px rgba(0, 0, 0, 0.066), 0 100px 80px rgba(0, 0, 0, 0.10);
    height: 35vh;
    min-height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    font-family: 'ProximaBold';
    border: 1px solid transparent;
    transition: transform 0.5s;
}
.symptom-glyph {
    max-width: 100%;
    width: 80%;
    opacity: 1;
    user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}
.symptom-checkbox:checked + label {
    color: var(--white);
    background: var(--lightblue);
}
.symptom-checkbox:checked + label > img {
    opacity: 1;
}

/* individual symptoms */

/* cleared */
#cb-clear .symptom-checkbox:checked + label {
    background: #ceffd3;
    border: 1px solid #00df16;
    color: #00a711;
}
div#cb-clear label {
    height: 25vh;
}

div#cb-clear img {
    width: 30%;
}
div#cb-clear {
    width: 100%;
}
/* covid positive */
#cb-covidpositive .symptom-checkbox:checked + label {
    background: var(--lightred);
}
/* END SYMPTOMS */

/* BUTTONS */
.form-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5vh;
    margin-bottom: 5vh;
}
.form-button:hover {
    cursor: pointer;
}
.form-button {
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: white;
    color: black;
    font-size: 1em;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    padding: 4vw;
    width: 90%;
    border-radius: 10vw;
    box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.014), 0 6.7px 5.3px rgba(0, 0, 0, 0.028), 0 12.5px 10px rgba(0, 0, 0, 0.04), 0 22.3px 17.9px rgba(0, 0, 0, 0.052), 0 41.8px 33.4px rgba(0, 0, 0, 0.066), 0 100px 80px rgba(0, 0, 0, 0.10);
}
.form-button-ready:active {
    transform: scale(0.9);
}
.form-button-ready {
    color: var(--white);
    background: -webkit-linear-gradient(-45deg, #01a1dd, #96c93d, #01a1dd, #96c93d, #01a1dd);
    background: linear-gradient(-45deg, #01a1dd, #96c93d, #01a1dd, #96c93d, #01a1dd);
	background-size: 400% 400%;
	animation: gradient 2s ease infinite;
    transition: all 0.4s;
}

.form-button-disabled {
    background: var(--gray);
    opacity: 0.7;
    color: var(--charcoal);
}
/* END BUTTONS */
/* RESULTS PAGE */
.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}
.result-shield {
    max-width: 100%;
    width: 100px;
}
#page4 {
    height: auto;
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    padding-bottom: 5vh;
    min-height: 100vh;
}
.result-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3vw;
    box-sizing: border-box;
}
.results-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding-top: 3vh;
}
img.result-logo {
    max-width: 90%;
    width: 200px;
}
h3.result-label {
    background: white;
    padding: 3px;
    border-radius: 3vw;
    box-shadow: 0px 5px 8px #84848442;
}
.result-name {
    font-family: 'ProximaBold';
    color: var(--green);
}
p.message {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}
.pass #page4 {
    background: rgb(126, 222, 93);
    background: -moz-linear-gradient(0deg, rgb(126, 222, 93) 0%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(0deg, rgb(126, 222, 93) 0%, rgba(255,255,255,0) 100%);
    background: linear-gradient(0deg, rgb(126, 222, 93) 0%, rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ff99",endColorstr="#ffffff",GradientType=1);
}
.fail #page4 {
    background: #c03f3f;
    background: #c03f3f;
    background: -moz-linear-gradient(0deg, rgba(192, 63, 63, 0.57) 0%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(192, 63, 63, 0.57) 0%, rgba(255,255,255,0) 100%);
    background: linear-gradient(0deg, rgba(192, 63, 63, 0.57) 0%, rgba(255,255,255,0) 100%);
}
/* END RESULTS PAGE */
/* VACCINE PAGE */
.vaccine-question, .fullpage-question {
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    padding: 30px;
}
.fullpage-question {
    justify-content: flex-start;
}
.vaccine-desc, .fullpage-desc {
    text-align: left;
}
.vaccine-desc, .fullpage-desc {
    color: var(--blue);
}
span.vaccine-context {
    color: var(--charcoal);
    font-size: 0.85em;
}
.vaccine-options, .fullpage-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.fullpage-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 50px;
}
.vaccine-options button, .fullpage-options button {
    width: 40%;
    border: 0px;
    user-select: none;
    -webkit-user-select: none;
    background: #c8f9f3;
    padding-top: 3vh;
    padding-bottom: 3vh;
    text-align: center;
    box-sizing: border-box;
    margin: 1vh;
    border-radius: 20px;
    font-family: 'ProximaBold';
    font-size: 1.3em;
    color: #319cff;
    transition: transform 0.3s ease-in-out;
}
.vaccine-options button:hover, .fullpage-options button:hover {
    cursor: pointer;
    background: #e5f1f0;
    color: #027dee;
    box-shadow: 0px 5px 11px #b8b8b8;
}
.vaccine-options button:active, .fullpage-options button:active {
    transform: scale(0.95);
}
button#vQ-skip {
    width: 100%;
    background: #dedede;
    color: gray;
}
/* END VACCINE PAGE */
/* DISABLE SYMPTOMS */
/* 
    Add the ID of any symptom you wish to disable.
*/
#cb-isolationcovid, #cb-quarentineexposed, #cb-closecontact {
    display: none;
}
/* DISABLE SYMPTOMS */

/* ANIMATIONS */
@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
/* END ANIMATIONS */

/* DESKTOP */
@media only screen and (min-width: 600px) {
    body {
        width: 550px;
    }
    .form-button {
        padding: 10px;
    }
    .form-text-input {
        padding: 10px;
        margin-bottom: 3vh;
    }
    div#cscf-office label, div#organization label {
        width: 35%;
        padding: 15px;
        margin: 15px;
        border-radius: 10px;
    }
    .symptom-label:hover .symptom-glyph {
        transform: scale(1.1);
        opacity: 1;
    }
    .symptom-label:active {
        transform: scale(0.9);
    }
    .symptom-label:hover {
        cursor: pointer;
        background: var(--lightblue);
        color: var(--white);
    }
    .symptom-label {
        box-sizing: border-box;
        padding: 15px;
        margin: 15px;
        border-radius: 15px;
        height: 180px;
    }
    .symptom-glyph {
        max-width: 100%;
        transition: transform 0.3s ease-in-out;
        width: 80%;
        opacity: 0.75;
        max-height: 60%;
        object-fit: contain;
    }
}