/* ***** 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-300 - latin */
@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/open-sans-v40-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/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;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/open-sans-v40-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ***** Definition Farben START ***** */
:root {
    --color-grey: #6F7C85;
    --color-border-grey: #a8a8a8;
    --color-light-grey: #eeeeee;
    --sick-blue: #007CC1;
    --color-red: #C10000;
    --font-family: 'Open Sans', Arial, sans-serif;
    --font-regular: 400;
    --font-light: 300;
    --font-bold: 600;
    --form_gap: 1rem;
}

/* ***** Definition Farben END ***** */

body {
    background-color: #ffffff;
    color: var(--color-grey);
    font-size: 18px;
    line-height: 1.6rem;
    font-family: var(--font-family);
    font-weight: var(--font-regular);
    position: relative;
}

.color_blue {
    color: var(--sick-blue);
}

strong,
b {
    font-weight: var(--font-bold);
}

h1 {
    font-size: 2em;
    font-weight: var(--font-light);
    color: var(--sick-blue);
}

h2 {
    font-size: 2em;
    font-weight: var(--font-light);
    color: var(--color-grey);
}

.justify_center {
    display: flex;
    justify-content: center;
}

.btn {
    background-color: var(--sick-blue);
    border: none;
    color: #ffffff;
    padding: .5rem .75rem;
}

.btn:hover {
    opacity: .75;
}

.page_wrapper {
    max-width: 1400px;
    padding: 3rem 3rem 6rem 3rem;
    margin: auto;
}

.page_wrapper__start {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* ***** header START ***** */
header {
    display: flex;
    gap: 5rem;
    justify-content: space-between;
    margin-bottom: 9rem;
}

.header_right {
    flex: 1 1 auto;
}

.contingent header {

}

#menue {
    margin-bottom: 2.5rem;
}

.nav__list {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

.nav__link {
    color: var(--color-grey);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: var(--font-light);
}

.nav__link:hover,
.nav__link.active {
    color: var(--sick-blue);
}

.headline_wrapper {
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.headline_top__wrapper {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}

.headline_top__line_wrapper {
    flex: 1 1 auto;
}

.headline_top__line {
    display: block;
    height: 5px;
    width: 100%;
    background-color: var(--sick-blue);
}

.headline_bottom__wrapper {
    display:flex;
    gap: 3rem;
    justify-content: space-between;
    align-items: center;
}

/* ***** header END ***** */


/* ***** add entry / filter START ***** */
.creation_wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 3rem;
}

.add_entry__wrapper.disabled {
    pointer-events: none;
}

.add_entry__wrapper.disabled .add_entry {
    color: var(--color-border-grey);
}

.add_entry__wrapper.disabled .add_entry svg {
    fill: var(--color-border-grey);
}

.add_entry {
    font-size: 1.1em;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--sick-blue);
    cursor: pointer;
}

.add_entry svg {
    height: 24px;
    width: 24px;
    fill: var(--sick-blue);
}

.add_entry:hover {
    opacity: .75;
}

.filter__search_container {
    display: flex;
    justify-content: center;
}

.filter__search_wrapper {
    display: flex;
    align-items: center;
    min-width: 320px;
    width: 30%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--color-border-grey);
}

#filterSearch {
    flex: 1 0 0;
    border: none;
    padding: .5rem 0 .5rem .75rem;
}

.filter__search__button {
    display: flex;
    align-items: center;
    height: 45px;
    width: 45px;
    justify-content: center;
    cursor: pointer;
    flex: auto 0 0;
}

.filter__search__button svg {
    width: 25px;
    height: 25px;
}

#filter__search__button__close {
    display: none;
    fill: var(--color-red);
    height: 20px;
    width: 20px;
}

#filter__search__button__lupe {
    fill: var(--color-border-grey);
}
/* ***** add entry / filter END ***** */

/* ***** Listing START ***** */
.dashboard_detail__container {
    display: flex;
    flex-flow: column;
}

.dashboard_detail__headline {
    display: flex;
}

.dashboard_detail__headline > div {
    font-size: 16px;
    padding-bottom: .5rem;
}

.dashboard_detail__person {
    display: flex;
    border-width: 1px 1px 0 1px;
    border-style: solid;
    border-color: var(--color-border-grey);
}

.dashboard_detail__person_borderBottom {
    border-bottom: 1px solid var(--color-border-grey);
}

.dashboard_detail__col {
    padding: .75rem;
    font-size:20px
}

.page_admin .dashboard_detail__col {
    display: flex;
    align-items: center;
}

.contingent .dashboard_detail__col {
    align-items: flex-start;
}

.dashboard_detail__person .dashboard_detail__col {
    border-right: 1px solid var(--color-border-grey);
}

.dashboard_detail__person .dashboard_detail__col:last-child {
    border-right: none;
}

.dashboard_detail__person_borderBottom {
    border-bottom: 1px solid var(--color-border-grey);
}

.dashboard_detail__person input:disabled {
    border:none;
}

.dashboard_detail__person input[readonly] {
    background-color: var(--color-light-grey);
    border: none;
}

.dashboard_detail__form {
    max-width:100%;
    width: 100%;
}

.col__name {
    width: 30%;
}

.dashboard_detail__col_content.col__name {
    display: flex;
    gap: .5rem;
    flex-flow: column;
    justify-content: space-between;
}

.col__seats {
    width: 10%;
}

.col__invites {
    width: 10%;
}

.col__confirmed {
    width: 10%;
}

.col__link {
    width: 30%;
}

.col__edit {
    width: 10%;
}

.contingent .col__name {
    width: 35%;
}

.col__mail {
    width: 35%;
    flex-flow: column;
}

.col__status {
    width: 30%;
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.dashboard_detail__col_content.col__edit {
    justify-content: center;
}

.edit_actions {
    display: flex;
    gap: .5rem;
}

.edit_actions svg {
    height: 30px;
    width: 30px;
    fill: var(--color-grey);
    cursor: pointer;
}

.edit_actions svg:hover {
    fill: var(--sick-blue);
}

svg.spinner {
    height: 20px;
    width: 30px;
}

svg.btn_close {
    fill:var(--color-red);
}

svg.btn_close:hover {
    fill:#ff0000;
}

.btn_error {
    width: 100%;
    height: 100%;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    padding: .3rem;
    background-color: var(--color-red);
    color: #ffffff;
}

.prev_company,
.prev_function {
    font-size: .9em;
}

a.toggle_more {
    text-decoration: none;
    color: var(--color-grey);
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .9em;
    cursor: pointer;
}


.toggle_more svg {
    height: 11px;
    width: 18px;
    stroke: var(--color-grey);
    transition: all 0.25s ease-out;
}

.toggle_more.opened svg {
    transform: rotate(180deg);
}

.toggle_more:hover {
    color: var(--sick-blue);;
}

.toggle_more:hover svg {
    stroke: var(--sick-blue);;
}

.mail_form,
.manuell_toggle {
    display: flex;
    flex-flow: column;
    gap: .5rem;
}

.sendmail_form {
    margin-bottom: .75rem;
}

.contingent .col__mail .form_row {
    margin-bottom: .25rem;
}

.contingent .col__mail .form_row label {
    font-size:.9em
}

.mail_form:nth-child(2) {
    margin-top: .75rem;
    border-top: 1px solid var(--color-border-grey);
    padding-top: .5rem;
}

.sendmail__wrapper {
    width: 100%;
    background: var(--color-light-grey);
    display: flex;
    align-items: center;
}

.sendmail__select_wrapper {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1 1 auto;
}

select.sendmail__select {
    width: 100%;
    background: transparent;
    padding: .5rem 2.5rem .5rem 1rem;
    -webkit-appearance: none;
    cursor: pointer;
}

.sendmail__btn {
    border-radius: 0;
    padding: .5rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sendmail__btn svg {
    fill: #ffffff;
    height: 1.5rem;
    width: 30px;
    transition: all 0.25s ease-out;
}

.sendmail__ic_down {
    position: absolute;
    right: .75rem;
    height: 13px;
    width: 20px;
    stroke: var(--color-border-grey);
    pointer-events: none;
}

.sendmail_mail__wrapper {
    display: flex;
    gap: .5rem;
    align-items: center;
    cursor: pointer;
}

.sendmail_mail__wrapper input[type="checkbox"] {
    height: 1rem;
    width: 1rem;
    cursor: pointer;
}

.sendmail_mail__wrapper input[type="text"],
.sendmail_mail__wrapper input[type="date"] {
    padding: .5rem 1rem;
    background: var(--color-light-grey);
    width: 100%;
    border: none;
}

.sendmail_mail__wrapper label {
    cursor: pointer;
}

.dashboard_detail__person_details_wrapper {
    position: relative;
    display: none;
    line-height: 2rem;
    width: 100%;
    background: var(--color-light-grey);
    border-width: 1px 1px 0 1px;
    border-style: solid;
    border-color: var(--color-border-grey);
}

.dashboard_detail__person_details {
    display: flex;
    flex-flow: column;
    width: 100%;
    max-width: initial;
}

.person_details__wrapper {
    display: flex;
    gap: 6rem;
    width: 100%;
}

.person_details__info_col {
    display: flex;
    flex-flow: column;
    gap: 1.5rem;
    width: 50%;
}

.person_details__form_row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .5rem;
}

.person_details__form_row:last-child {
    margin-bottom:0;
}

.person_details__form_row input,
.person_details__form_row select {
    flex: 1 1 auto;
}

.person_details__form_row select {
    cursor: pointer;
}

.person_details__form_row .textarea {
    flex: 1 0 100%;
}

.person_details__headline {
    font-size: 1.25rem;
    margin-bottom: .5rem;
    color: var(--sick-blue);
}

.dashboard_detail__person_details_wrapper .edit_actions {
    position: absolute;
    top: 0;
    right: 0;
    padding: .75rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
}

.dashboard_detail__person_details_wrapper input[type="text"],
.dashboard_detail__person_details_wrapper input[type="email"],
.dashboard_detail__person_details_wrapper select {
    width: auto;
    padding: .05rem .5rem;
    border: none;
    border-radius: 0;
    background: #ffffff;
}

.dashboard_detail__person_details_wrapper .select_wrapper {
    width: auto;
    border: none;
}

.dashboard_detail__person_details_wrapper .select_wrapper.disabled {
    border: none;
}

.dashboard_detail__person_details_wrapper .select_wrapper.disabled svg {
    display: none;
}

.dashboard_detail__person_details_wrapper select {
    width: auto;
}

.dashboard_detail__person_details_wrapper .textarea {
    display: block;
    padding: .5rem .75rem .5rem 0;
}

.dashboard_detail__person_details_wrapper .textarea[contenteditable] {
    background: #ffffff;
    min-height: 50px;
    padding: .5rem .75rem;
}

.dashboard_detail__person_details_wrapper .textarea.disabled {
    opacity: 1;
    cursor: initial;
}

.dashboard_detail__person_details_wrapper input:disabled,
.dashboard_detail__person_details_wrapper textarea:disabled,
.dashboard_detail__person_details_wrapper select:disabled {
    background: none;
    color: var(--color-grey);
    -webkit-appearance: none;
    cursor: initial;
    opacity: 1;
}

.status_main {
    display: flex;
    flex-flow: column;
}

.icon_status {
    height: 45px;
    width: 45px;
}

.icon_status_wrapper {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.icon_status_wrapper.neutral {
    color: var(--color-border-grey);
}

.icon_status_wrapper.neutral svg {
    fill: var(--color-border-grey);
}

.icon_status_wrapper.check {
    color: #00C10C;
}

.icon_status_wrapper.check svg {
    fill: #00C10C;
}

.icon_status_wrapper.denied {
    color: var(--color-red);
}

.icon_status_wrapper.denied svg {
    fill: var(--color-red);
}

.status_email_wrapper {
    display: flex;
    flex-flow: column;
    gap: .25rem;
    font-size: .9em;
}

.status_email {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}

.status_email__icon svg {
    width: 23px;
    height: 23px;
    fill: var(--color-grey);
}

/* ***** Listing END ***** */


/* ***** Zahlen START ***** */
.backend_zahlen__wrapper {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 3rem;
    justify-content: center;
    margin-bottom: 6rem;
}

.backend_zahlen {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.backend_zahlen__box {
    border-right: 2px solid var(--color-border-grey);
    padding-right: 3rem;
}

.backend_zahlen__box.confirmed {
    color: #00C10C;
}

.backend_zahlen__box.declined,
.backend_zahlen__box.cancelled,
.backend_zahlen__box.expired,
.backend_zahlen__box.revoked {
    color: var(--color-red);
}

.backend_zahlen__box:last-child {
    border-right: none;
    padding-right: 0;
}

.backend_zahlen__zahl {
    font-size: 2rem;
    line-height: 2.5rem;
    text-align: center;
}

.backend_zahlen__bezeichnung {
    font-size: 1.5rem;
    line-height: 2rem;
    text-align: center;
}
/* ***** Zahlen END ***** */

/* ***** form START ***** */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="date"],
textarea {
    width: 100%;
    font-family: var(--font-family);
    color: var(--color-grey);
    border: 1px solid var(--color-border-grey);
    padding: .5rem .75rem;
}

.overlay .textarea[contenteditable] {
    background: #ffffff;
    min-height: 41px;
    padding: .5rem .75rem;
    border: 1px solid var(--color-border-grey);
    width: 100%;
    display: block;
}

select {
    background: none;
    border: none;
    font-family: var(--font-family);
    color: var(--color-grey);
    -webkit-appearance: none;
    width: 100%;
    padding: .5rem 2.75rem .5rem .75rem;
    cursor: pointer;
}

.select_wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    flex: 1 0 auto;
    border: 1px solid var(--color-border-grey);
}

.select_ic_down {
    position: absolute;
    right: .75rem;
    width: 20px;
    pointer-events: none;
}

.select_ic_down svg {
    width: 20px;
    height: 13px;
    stroke: var(--color-border-grey);
}

select option:disabled {
    color: var(--color-border-grey);
}

label {
    color: var(--color-grey);
    margin-bottom: .1rem;
}

form {
    width: 100%;
    max-width: 600px;
}

#login {
    max-width: 300px;
    margin-top: 5rem;
}

.form_col {
    display: flex;
    gap: var(--form_gap);
}

.form_col__50 {
    width: calc(50% - (var(--form_gap) / 2));
}

.form_row {
    margin-bottom: 1rem;
    width: 100%;
}

.error {
    color: #ff0000;
}

.login_error {
    text-align: center;
}

.margin_top__small {
    margin-top: 1rem;
}

.mandatory {
    font-size: .80em;
    color: var(--color-grey);
}
/* ***** form END ***** */

/* ***** overlay START ***** */
.overlay_wrapper {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.overlay {
    position:relative;
    background-color: #ffffff;
    color: var(--color-grey);
    width: 600px;
    margin: 9rem auto 6rem auto;
    padding: 2rem;
    -webkit-box-shadow: 0px 0px 25px 5px rgba(0,0,0,0.10);
    box-shadow: 0px 0px 25px 5px rgba(0,0,0,0.10);
}

.overlay_close {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 30px;
    width: 30px;
    fill: var(--color-red);
    cursor:pointer;
}

.overlay_close:hover {
    fill: #ff0000;
}

.overlay h2 {
    margin-bottom: 3rem;
}

.overlay fieldset {
    margin-bottom: 1rem;
}

.overlay textarea {
    height: 42px;
    resize: none;
    overflow: hidden;
}

.revoke_trigger {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .9em;
    color: var(--color-red);
    cursor: pointer;
}

.revoke_trigger svg {
    height: 20px;
    width: 20px;
    fill: var(--color-red);
}

.revoke_trigger:hover {
    text-decoration: underline;
}

.revoke_toggle {
    font-size: .9em;
    margin:.5rem 0 0 calc(20px + .5rem);
}

.revoke_toggle__btn_wrapper {
    display: flex;
    gap: .5rem;
}

.revoke_toggle__btn_wrapper .btn {
    background-color: var(--color-red);
    cursor: pointer;
    font-size: .9em;
}

.btn.btn_revoke_false {
    background-color: var(--color-border-grey);
}

/* ***** overlay END ***** */


/* ***** footer START ***** */
footer {
    margin-top: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav_footer {
    list-style-type: none;
    padding: 0;
    display: flex;
}

.nav_footer__item:after {
    content: "|";
    color: var(--color-grey);
    font-size: 14px;
    margin: 0 .5rem;
}

.nav_footer__item:last-child::after {
    content: "";
    margin: 0;
}

.nav_footer__link {
    text-decoration: none;
    color: var(--color-grey);
    font-size: 14px;
}

.nav_footer__link:hover {
    color: var(--sick-blue);
}

/* ***** footer END ***** */


.hidden {
    display: none;
}