/* ***** Normalise CSS START ***** */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

[tabindex='-1']:focus:not(:focus-visible) {
    outline: 0 !important;
}

*:focus-visible {
    outline: none;
}

hr {
    background-color: currentColor;
    border: 0;
}

hr:not([size]) {
    height: 1px;
}

h1,
h2,
h3 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: normal;
}

p {
    margin-top: 0;
    margin-bottom: 2rem;
}

p:last-child {
    margin-bottom: 0;
}

abbr[title],
abbr[data-original-title] {
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
    cursor: help;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
}

address {
    margin-bottom: 1rem;
    font-style: normal;
    line-height: inherit;
}

ol,
ul {
    padding-left: 2rem;
}

ol,
ul,
dl {
    margin-top: 0;
    margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
    margin-bottom: 0;
}

dd {
    margin-bottom: 0.5rem;
    margin-left: 0;
}

blockquote {
    margin: 0 0 1rem;
}

b,
strong {
    font-weight: bold;
}

sub,
sup {
    position: relative;
    line-height: 0;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -1.3rem;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
    color: inherit;
    text-decoration: none;
}

figure {
    margin: 0 0 1rem;
}

img,
svg {
    vertical-align: middle;
}

img {
    max-width: 100%;
    height: auto;
}

table {
    caption-side: bottom;
    border-collapse: collapse;
}

th {
    text-align: inherit;
    text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

label {
    display: inline-block;
}

button {
    border-radius: 0;
    cursor: pointer;
}

button:focus {
    outline: none;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

select {
    word-wrap: normal;
}

[list]::-webkit-calendar-picker-indicator {
    display: none;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button;
}

::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

textarea {
    resize: vertical;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    float: left;
    width: 100%;
    padding: 0;
    line-height: inherit;
    white-space: normal;
}

legend + * {
    clear: left;
}

::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-year-field {
    padding: 0;
}

::-webkit-inner-spin-button {
    height: auto;
}

[type='search'] {
    outline-offset: -2px;
    -webkit-appearance: textfield;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-color-swatch-wrapper {
    padding: 0;
}

::-webkit-file-upload-button {
    font: inherit;
    -webkit-appearance: button;
}

output {
    display: inline-block;
}

iframe {
    border: 0;
}

summary {
    display: list-item;
    cursor: pointer;
}

progress {
    vertical-align: baseline;
}

[hidden] {
    display: none !important;
}

iframe {
    width: 100%;
    margin-bottom: 0;
}

/* ***** Normalise CSS END ***** */


/* open-sans-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../font/open-sans-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../font/open-sans-v40-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {

    /*colors:*/
    --color-bg: #ffffff;
    --color-text: #2a2125;
    --color-blue: #00619b;
    --color-blue-light: #239fe1;
    --color-green: #139b00;
    --color-red: #9b0000;
    --color-grey: #999999;

    /*fonts:*/
    --font-family: 'Open Sans', Arial, sans-serif;
    --font-bold: 600;
}

html {
    height: 100%;
}

body {
    display: flex;
    flex-flow: column;
    font-family: var(--font-family);
    font-size: 18px;
    line-height: 1.5rem;
    min-height: 100%;
    height: 100%;
    color: var(--color-text);
    background-color: var(--color-bg);
}

strong {
    font-weight: var(--font-bold);
}

.btn {
    border: none;
    background-color: var(--color-blue);
    color: var(--color-bg);
    padding: .5rem 1rem;
    transition: all .2s;
}

.btn:hover {
    border: none;
    background-color: var(--color-blue-light);
    color: var(--color-bg);
}

.btn:disabled,
.btn:disabled:hover {
    background-color: var(--color-grey);
    color: var(--color-bg);
    cursor: not-allowed;
}

.text_blue {
    color: var(--color-blue);
}

main {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.storno_page main {
    max-width: 600px;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-flow: column;
}

.registration_form {
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.storno_form {
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
    padding: 0 1rem;
}

.form_row__margin_bottom {
    margin-bottom: 1rem;
}

input[type='text'],
input[type='email'] {
    width: 100%;
    padding: .25rem;
    font-family: var(--font-family);
    border: 1px solid var(--color-grey);
}


/* CUSTOM CHECKBOX START */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    /* hide the checkbox without making it hidden for
    the screen readers */
    position: absolute;
    left: 0;
    opacity: 0.01;
}

/* styling the label and making room for the boxes */
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
    position: relative; /* make label the reference to position the custom boxes */
    cursor: pointer;
    padding-left: 46px;
    line-height: 29px;
}

/* styling the new boxes*/
[type="checkbox"]:not(:checked) + label::before,
[type="checkbox"]:checked + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-grey);
    transition: all .275s;
}

/* the checked box */
[type="checkbox"]:not(:checked) + label::after,
[type="checkbox"]:checked + label::after {
    content: '';
    background: url('../img/icon_checkmark.svg') center center no-repeat;
    background-size: 23px auto;
    height: 23px;
    width: 23px;
    position: absolute;
    top: 3px;
    left: 4px;
    transition: all .2s;
}

/* how a no check state should look like  */
[type="checkbox"]:not(:checked) + label::after {
    opacity: 0;
    transform: scale(0) rotate(45deg);
}

/* how a check should look like */
[type="checkbox"]:checked + label::after {
    opacity: 1;
    transform: scale(1) rotate(0);
}
/* CUSTOM CHECKBOX END */

.feedback_wrapper {
    display: inline-flex;
    flex-flow: column;
    gap: 1rem;
}

.feedback_wrapper .feedback_box {
    margin: 0 auto;
    text-align: center;
}

.feedback_box,
.datacheck_box {
    display: inline-block;
    padding: .5rem 1rem;
    color: var(--color-bg);
}

.feedback_box a {
    color: var(--color-bg);
}

.feedback_box.error {
    background-color: var(--color-red);
}

.feedback_box.success {
    background-color: var(--color-green);
}

.datacheck_box {
    color: var(--color-text);
    border: 3px solid var(--color-blue);
    margin-bottom: 1rem;
}

.datacheck_item {
    display: block;
}

.datacheck_item img {
    margin-right: .5rem;
}

.icon_x {
    height: 22px;
    width: 22px;
    fill:var(--color-red);
    margin-right: .5rem;
}

.icon_wait {
    height: 22px;
    width: 22px;
    fill:var(--color-grey);
    margin-right: .5rem;
}



/* HTML: <div class="loader"></div> */
.loader {
    width: 20px;
    display: inline-block;
    aspect-ratio: 2;
    --_g: no-repeat radial-gradient(circle closest-side,#fff 90%,#0000);
    background:
            var(--_g) 0%   50%,
            var(--_g) 50%  50%,
            var(--_g) 100% 50%;
    background-size: calc(100%/3) 50%;
    animation: l3 1s infinite linear;
}
@keyframes l3 {
    20%{background-position:0%   0%, 50%  50%,100%  50%}
    40%{background-position:0% 100%, 50%   0%,100%  50%}
    60%{background-position:0%  50%, 50% 100%,100%   0%}
    80%{background-position:0%  50%, 50%  50%,100% 100%}
}

.hidden {
    display: none;
}