/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


/*************************************
ROOT
**************************************/

:root {
    --professionalisering: rgb(0, 144, 70);
    --professionalisering-dim-half: rgb(89, 119, 103);
    --professionalisering-dim: rgb(115, 114, 114);
}


/* General */

html {
    font-family: 'Montserrat', sans-serif;
    color: rgb(10, 10, 10);
    font-size: 18px;
}

.lds-grt-box {
    height: 100%;
    scroll-behavior: smooth;
    position: relative;
}

h1,
h2 {
    font-size: 34px;
    font-weight: 700;
    hyphens: manual;
    letter-spacing: -0.5px;
    line-height: 36px;
    text-rendering: optimizeLegibility;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    box-sizing: border-box;
}

h1::after,
h2::after {
    content: '';
    width: 20px;
    min-width: 20px;
    height: 2px;
    background: #008438;
    align-self: flex-start;
}

h4.survey-title {
	font-size: 1.2em;
	font-weight: 600;
	scroll-snap-margin-top: 70px;
	scroll-margin-top: 70px;
}

a:link {
    color: var(--professionalisering);
    text-decoration: none;
}

a:hover,
a:focus,
a:active,
a:visited {
    color: var(--professionalisering);
}


/*************************************
SURVEY
**************************************/

.lds-grt-box #lds-grt-survey {
    width: 100%;
    min-width: 300px;
    margin-top: 1em;
}


/* Survey tabs */

.lds-grt-box .tab {
    display: none;
	background-color: #fff;
    width: 100%;
}

.lds-grt-box form label {
    display: block;
    font-weight: 700;
    margin-bottom: .8em;
    background-color: var(--professionalisering);
    color: #fff;
    padding: .2em;
}

.lds-grt-box form input {
	display: block;
}

.lds-grt-box form p.description {
    font-size: small;
}

.lds-grt-box form input:is([type="button"], [type="submit"], [type="reset"], [type="range"]) {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    -webkit-border-radius: 0;
}

/*************************************
QUESTION
**************************************/


/* Container */

.lds-grt-box form .survey-item {
    padding: 0 0 1em 0;
}

.lds-grt-box form .survey-item:nth-child(odd) {
    background: linear-gradient( 100deg, #fff, rgba(231, 244, 236, 1) 50%, #fff);
}


/*************************************
Slider
**************************************/

.lds-grt-box form input[type=range] {
    width: 100%;
    /* Specific width is required for FF */
    background: transparent;
    /* Otherwise white in Chrome */
    padding: 1em 0;
    border: 0;
}


/* Slider thumb */

.lds-grt-box form input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    /* border: 1px solid #010101; */
    /* border: 2px solid white; */
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--professionalisering);
    cursor: pointer;
    margin-top: -11px;
    /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
}

.lds-grt-box form input[type=range].survey-target-score::-webkit-slider-thumb {
    background: rgb(255, 242, 0);
}

.lds-grt-box form input[type=range]::-moz-range-thumb {
	/* border: 1px solid #010101; */
	border: 0;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--professionalisering);
    cursor: pointer;
}

.lds-grt-box form input[type=range].survey-target-score::-moz-range-thumb {
	background: rgb(255, 242, 0);
}

.lds-grt-box form input[type=range]::-ms-thumb {
	border: 0;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--professionalisering);
    cursor: pointer;
}

.lds-grt-box form input[type=range]::-ms-thumb {
	background: rgb(255, 242, 0);
}
/* Slider track */

.lds-grt-box form input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: rgb(147, 215, 147);
    border-radius: 1.5px;
}

.lds-grt-box form input[type=range].survey-target-score::-webkit-slider-runnable-track {
    background: rgb(231, 225, 117);
}

.lds-grt-box form input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ddd;
}

.lds-grt-box form input[type=range]::-moz-range-track {
	width: 100%;
    height: 4px;
    cursor: pointer;
    background: rgb(147, 215, 147);
    border-radius: 1.5px;
    border: 0;
}

.lds-grt-box form input[type=range].survey-target-score::-moz-range-track {
    background: rgb(231, 225, 117);
}

.lds-grt-box form input[type=range]::-ms-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}

.lds-grt-box form input[type=range]::-ms-fill-lower {
    background: rgb(147, 215, 147);
    border: 0.2px solid #010101;
    border-radius: 3px;
}

.lds-grt-box form input[type=range]:focus::-ms-fill-lower {
    background: rgb(147, 215, 147);
}

.lds-grt-box form input[type=range]::-ms-fill-upper {
    background: #ddd;
    border: 0.2px solid #010101;
    border-radius: 3px;
}

.lds-grt-box form input[type=range]:focus::-ms-fill-upper {
    background: #ddd;
}


/* slider ticks */

.lds-grt-box .lds-grt-range-container {
	display: flex;
	align-items: center;
}

.lds-grt-box .lds-grt-range-container:before {
    content: 'niet';
    margin-right: 1em;
    color: black;
    align-self: center;
    font-size: small;
}

.lds-grt-box .lds-grt-range-container:after {
    content: 'volledig';
    margin-left: 1em;
    color: black;
    align-self: center;
    font-size: small;
}

.lds-grt-box form input[type=submit] {
    background-color: var(--professionalisering-dim-half);
    color: white;
    padding: .5em 1em;
    border-radius: 3px;
    border: 0;
}

.lds-grt-box form input[type=submit]:hover {
    background-color: var(--professionalisering);
}

input[type="submit"],
button {
    appearance: none;
    background: var(--professionalisering-dim-half);
    border: 0;
    border-radius: 2px;
    padding: .3em 1.5em;
    margin-top: 1em;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: all 100ms;
}

input[type="submit"]:hover,
button:hover {
    background-color: var(--professionalisering);
}

input[type="submit"]:disabled,
button:disabled {
    background-color: var(--professionalisering-dim);
    cursor: not-allowed;
}


/*************************************
Stepper
**************************************/

.steps {
    display: flex;
	margin-bottom: 3px;
}

.step {
	height: auto;
	margin: 0 2px;
	background-color: #bbb;
	border: none;
	border-radius: 0;
	display: inline-block;
	opacity: 0.5;
	font-size: small;
	text-align: center;
	overflow-x: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	flex: 1 auto;
}

.step.active {
	background-color: #fff;
	color: var(--professionalisering);
    opacity: 1;
	font-weight: 600;
}

.step.finish {
    opacity: 0.8;
}


/*************************************
Entree
**************************************/

.lds-grt-box form input[type="text"] {
    border: none;
    background: transparent;
    color: var(--professionalisering);
    border-bottom: 1px solid var(--professionalisering);
    margin: 0 0 1em 0;
    border-radius: 0;
    font-size: 1.1em;
}

/*************************************
MANAGE, INSERT
**************************************/
.lds-grt-box:is(.manage, .insert) form label {
	background: white;
	color: #232323;
	font-weight: normal;
	margin-bottom: .2em;
}

.lds-grt-box:is(.manage, .insert) form input:is([type="text"], [type="email"], [type="date"]), .lds-grt-box.manage textarea {
	border: none;
	color: var(--professionalisering);
	border-bottom: 1px solid var(--professionalisering);
	margin-bottom: 1em;
	border-radius: 0;
	font-size: 1.1em;
}
.lds-grt-box:is(.manage, .insert) textarea {
	font-size: .8em;
	min-height: 5em;
	width: 100%;
}

.lds-grt-box:is(.manage, .insert) .chart label {
	background-color: rgb(128, 190, 183);
	padding: 2em;
	font-weight: 700;
	color: #fff;
	width: 100%;
	display: block;
	margin-top: 1em;
}
.lds-grt-box:is(.manage, .insert) .chart .description {
	font-size: small;
}

.lds-grt-box .notice {
	background: #1978cc;
	color: #fff;
	padding: .5em;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.lds-grt-box .notice span.notice-close {
	color: #fff;
	cursor: pointer;
}

/* Mark input boxes that gets an error on validation: */

.lds-grt-box:is(.manage, .insert, .fillin) form.lds-grt:invalid input[type=submit] {
	opacity: 0.3;
	pointer-events: none;
}

/* .lds-grt-box:is(.manage, .insert, .fillin) form.lds-grt input.invalid, */
.lds-grt-box:is(.manage, .insert, .fillin) form.lds-grt input.touched:invalid,
.lds-grt-box:is(.manage, .insert, .fillin) form.lds-grt input.touched:required:invalid
{
	/* background-color: #fffcfc; */
	border-bottom: 3px double #ea2121;
}