form>*:not(.input),
form>.w50>*:not(.input),
form>.w100>*:not(.input),
.filters span {
    position: relative;
    display: block;
}
form h1,
form h2,
form h3,
form h1,
form h2,
form h3 {
    line-height: 2.5em;
}


.filters a.button,
.filters button:not([class*='ql-']):not([class*='choices']),
.filters input[type="submit"] {
    margin-block-start: 0;
}

.filters .choices,
.filters input {
    margin-block-end: 0 !important;
}

form>*>input:not([type="submit"]):not([type="color"]),
form>.w50>*>input:not([type="submit"]):not([type="color"]),
form>.w100>*>input:not([type="submit"]):not([type="color"]),
form select,
form input:not(.choices__input):not([type="submit"]):not([type="color"]),
.form>*>input:not([type="submit"]):not([type="color"]),
.form>*>select {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: #000;
    margin-block-end: 30px;
    border: none;
    border-block-end: 1px solid #000;
    outline: none;
    background: transparent;

}

form input[type="range"] {
    max-width: 12.5rem;
}

.range {
    display: flex;
}

.range>div {
    padding-block-start: 0.55rem;
    padding-inline: 0.5rem;
    color: #3071a9;
}

form .range input[type="range"] {
    -webkit-appearance: none;
    border: none !important;
    padding: unset !important;
    margin-top: 1rem;
    margin-right: 15px;
    width: 200px;
    height: 7px;
    background: rgba(255, 255, 255, 0.6) !important;
    border-radius: 5px;
    background-image: linear-gradient(#3071a9, #3071a9) !important;
    background-size: 70% 100%;
    background-repeat: no-repeat;
}

form .range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border: none;
    border-radius: 50%;
    background: var(--header-color);
    cursor: ew-resize;
    box-shadow: 0 0 2px 0 #555;
    transition: background .3s ease-in-out;
}

form .range input[type=range]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    border: none !important;
    box-shadow: none;
    border: none;
    background: transparent;
}

form input[type="number"] {
    margin-block-end: 0 !important;
}

.form>* {
    position: relative;
}

.dinamicDropdown {
    max-width: 200px;
}

.editable {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #d01818;
    cursor: crosshair;
}

form span>label,
.form span>label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.4rem 0;
    font-size: 1rem;
    color: #000;
    pointer-events: none;
    transition: .5s;
    display: block;
    white-space: nowrap;
}

form input[type="checkbox"],
form input[type="radio"],
.form input[type="checkbox"],
.form input[type="radio"] {
    width: auto !important;
}

form input[type="checkbox"]~label,
form input[type="radio"]~label,
.form input[type="checkbox"]~label,
.form input[type="radio"]~label {
    position: relative;
    top: auto !important;
    font-size: 1em !important;
    display: inline-block;
}

form input:focus~label,
form input:required~label,
form input:valid~label,
form span+label,
form input[readonly]~label,
form select~label,
form textarea~label,
form .editor~label,
.choices+label,
.form input:focus~label,
.form input:valid~label,
.form input:required~label,
.form span+label,
.form input[readonly]~label,
.form select~label,
.form textarea~label,
.form .editor~label,
.choices+label {
    top: -1.5em;
    left: 0;
    color: #07868c;
    font-size: 0.85em;
}

.choices {
    min-width: 9em;
}

form .advancedSearch input:not(button):not([type="submit"]):not(.choices__input) {
    font-size: 1.2rem;
    line-height: 1em;
    margin-block-end: 10px;
}

form a.button,
form button:not([class*='ql-']):not([class*='choices']),
form input[type="submit"],
.form a.button,
.form button:not([class*='ql-']):not([class*='choices']),
.form input[type="submit"],
.button,
.imagePreviewer label::before {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    color: #07868c;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: .5s;
    margin-block-start: 40px;
    letter-spacing: 3px;
    background: transparent;
    outline: none;
    border: none;
    font-weight: 600;
    border-radius: 5px;
    box-shadow: 0 0 4px #07868c;
}

form td a {
    color: #000;
}

form a.button:hover,
form button:not([class*='ql-']):not([class*='choices']):hover,
form input[type="submit"]:hover,
.button:hover , .mapPrompt.control-window button:hover {
    background: #07868c;
    color: #fff;
    cursor: pointer;
}

.resetData {
    margin-block-start: 0 !important;
    margin-block-end: 0.75em;
}

.resetMargin {
    margin: 0 !important;
}

form a span,
form button span {
    position: absolute;
    display: block;
}

form a span:nth-child(1),
form button span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #07868c);
    animation: btn-anim1 1s linear infinite;
}

form input[type="tel"] {
    text-align: right;
}

input[type="tel"]::-webkit-inner-spin-button,
input[type="tel"]::-webkit-outer-spin-button {
    opacity: 1;
}

@keyframes btn-anim1 {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

form a span:nth-child(2),
form button span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #07868c);
    animation: btn-anim2 1s linear infinite;
    animation-delay: .25s
}

@keyframes btn-anim2 {
    0% {
        top: -100%;
    }

    50%,
    100% {
        top: 100%;
    }
}

.nomargininput input {
    margin: 0 !important;
}

form a span:nth-child(3),
form button span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #07868c);
    animation: btn-anim3 1s linear infinite;
    animation-delay: .5s
}

@keyframes btn-anim3 {
    0% {
        right: -100%;
    }

    50%,
    100% {
        right: 100%;
    }
}

form a span:nth-child(4),
form button span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #07868c);
    animation: btn-anim4 1s linear infinite;
    animation-delay: .75s
}

@keyframes btn-anim4 {
    0% {
        bottom: -100%;
    }

    50%,
    100% {
        bottom: 100%;
    }
}


/* section */

.questionForm section {
    width: 50%;
    min-height: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.questionForm section::before,
.questionForm section::after {
    content: "";
    display: block;
    border-radius: 100%;
    position: absolute;
}

.questionForm section::before {
    width: 30px;
    height: 30px;
    background: var(--primary);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    top: 18px;
    left: 18px;
}

.questionForm section::after {
    width: 42px;
    height: 42px;
    border: 1px solid var(--primary);
    top: 11px;
    left: 11px;
}

.questionForm {
    font-family: Roboto, Arial;
    color: #000;
    --other: hsl(0, 0%, 14%);
}

@media (prefers-color-scheme: dark) {
    .questionForm {
        color: #07868c;
    }
}


/* h1 */

.questionForm h2 {
    color: var(--other);
    padding: 8px 4px;
    /*border-bottom: 2px solid var(--other);*/
    pointer-events: auto;
    font-size: 1.2em;
    font-weight: 600;
    display: flex;
    justify-content: flex-start;
    gap: 2em;
    align-items: flex-start;
}


/* label */

.questionForm label {
    pointer-events: auto;
    position: relative;
}

.questionForm>h1 {
    display: block;
    color: #000;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.5rem;
    text-align: center;
}

.radio {
    margin: 0.5em 0;
    display: flex;
    cursor: pointer;
    align-items: flex-end;
}

.radio input {
    opacity: 0;
    padding: 0 !important;
    margin: 0 !important;
    position: absolute;
    left: 5px;
}

.radio input+span {
    line-height: 22px;
    min-height: 22px;
    padding-inline-start: 22px;
    display: block;
    position: relative;
}

.radio input+span:not(:empty) {
    padding-inline-start: 30px;
}

.radio input+span:before,
.radio input+span:after {
    content: "";
    width: 22px;
    height: 22px;
    display: block;
    border-radius: 50%;
    left: 0;
    top: 0;
    position: absolute;
}

.radio input+span:before {
    background: #d1d7e3;
    transition: background 0.2s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 2);
}

.formBody textarea {
    resize: none;
    padding-inline-start: 0.4rem;
    border: none;
    border-radius: 0;
    border-block-end: 1px solid #c6c6c6;
    width: 100%;
    height: 3em;
}

.formBody textarea:focus {
    outline: none;
}

.formBody textarea:focus~.bar:before {
    width: 100%;
}

.formBody .bar {
    position: relative;
    display: block;
    width: 100%;
}

.formBody .bar:before {
    content: "";
    height: 2px;
    width: 0;
    bottom: 0px;
    position: absolute;
    background: #fff;
    transition: 300ms ease all;
    left: 0%;
}

.radio input+span:after {
    background: #fff;
    transform: scale(0.78);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.4);
}

.radio input:checked+span:before {
    transform: scale(1.04);
    background: #5d9bfb;
}

.radio input:checked+span:after {
    transform: scale(0.4);
    transition: transform 0.3s ease;
}

.radio:hover input+span:before {
    transform: scale(0.92);
}

.radio:hover input+span:after {
    transform: scale(0.74);
}

.radio:hover input:checked+span:after {
    transform: scale(0.4);
}

.checkbox {
    display: block;
    margin: 0.5em 0;
}

.checkbox input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.checkbox span {
    position: relative;
    display: flex;
    align-items: center;
    user-select: none;
    cursor: pointer;
}

.checkbox span::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    overflow: hidden;
    margin-inline-end: 10px;
    border-radius: 3px;
    background-color: #fff;
    border: 3px solid #d1d7e3;
}

.checkbox input:checked+span::before {
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMiAxMiI+PHBvbHlsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIzIiBwb2ludHM9IjEuMDc5IDQuOTk5IDUgOSAxMC44MzcgMiIvPjwvc3ZnPg==) center/cover no-repeat;
    background-color: #5d9bfb;
    border-color: #5d9bfb;
}


/*
.checkbox input:focus+span::before {
    border: 3px solid #70d03a;
}*/

.checkbox input:disabled+span::before {
    border: 3px solid #9b9b9b;
}

.checkbox input:disabled+span {
    cursor: auto;
}

.checkbox input:checked:disabled+span::before {
    background-color: #9b9b9b;
}

.classSelector .formType {
    border-block-end: none;
    margin-block-end: 0;
}