﻿/********************************************************************
 **** Skip links
 ********************************************************************/

.skip-link {
    background-color: white;
    color: var(--text-link);
    display: block;
    padding: 1em;
}

    .skip-link:focus {
        clip: auto;
        clip-path: none;
        height: auto;
        left: 1em;
        top: 1em;
        width: auto;
        z-index: 5000001;
        position: fixed;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        outline-offset: 0;
    }

/* Do not show the outline on the skip link target. */
#main-content[tabindex="-1"]:focus {
    outline: 0;
}
/* Do not show the outline on the skip link target. */
#filters[tabindex="-1"]:focus {
    outline: 0;
}

/*important*/


#data-check-div {
    width: calc(100% - 3rem);
}
ol.topbar__lang-list.is-visible {
    min-width: 27rem;
}

*:focus, *:focus-visible {
    outline-color: black;
    outline-offset: 3px;
    z-index: 10;
}

.screen-reader-only {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}


a {
    color: var(--text-link);
    text-decoration: underline;
    border: 0;
    background-color: transparent;
}

    a:hover, a:focus {
        color: var(--text-link-hover);
        text-decoration: underline;
    }

    a.btn, a.btn:focus, a.btn:active {
        text-decoration: none;
    }

/*less important*/
.btn {
    min-height: 0;
    height: auto;
    line-height: 14px;
    padding: 0.5rem min(5%,1rem);
}

.centeredButton {
    justify-self: center;
}


.btn.btn-disabled {
    opacity: 0.3;
    font-style: italic;
}

.btn.btn-block {
    width: 100%;
    text-align: left;
}

.btn:focus {
    box-shadow: none !important;
    outline-offset: 3px;
}

/* unused for now
.radio span,
.checkbox span {
    position: relative;
    padding: 0 0px 0 24px;*/ /* old: padding: 0 12px 0 24px; shortened so not entire screen is clickable */
    /*font-size: 16px;
    display: block;
    width: fit-content;*/ /*this shortens the label of checkbox form-groups so that not the entire screen is clickable */
/*}

    .radio span:before,
    .checkbox span:before {
        position: absolute;
        top: 0;
        left: 0;
        content: "";
        display: block;
        width: 18px;
        height: 18px;
        line-height: 17px;
        text-align: center;
        background: #fff;
        border: 1px solid var(--form-control-border);
        border-radius: 4px;
        color: #fff;
        font-weight: bold;
    }*/


/*important*/

/* hover checkboxes using <span> */
.radio:hover span::before,
.checkbox:hover span::before,
.radio span:hover::before,
.checkbox span:hover::before,
/*hover checkboxes using <label> */
.radio:hover label::before,
.checkbox:hover label::before,
.radio label:hover::before,
.checkbox label:hover::before,
/* hover checkboxes using <label> and input[type="checkbox"] */
.checkbox input[type="checkbox"]:hover + label:before,
.checkbox input[type="radio"]:hover + label:before {
    border-color: var(--form-control-border-hover);
}

/* focus checkboxes using <span> */
.radio:focus span::before,
.checkbox:focus span::before,
.radio span:focus::before,
.checkbox span:focus::before,
/* focus checkboxes using <label> */
.radio:focus label::before,
.checkbox:focus label::before,
.radio label:focus::before,
.checkbox label:focus::before,
/* focus checkboxes using <label> and input[type="checkbox"] */
.checkbox input[type="checkbox"]:focus + label:before,
.checkbox input[type="radio"]:focus + label:before {
    outline: 5px auto Highlight;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: 3px;
}

/* disabled checkboxes using <span> */
.radio--disabled:hover span::before, .radio--disabled:focus span::before,
.checkbox--disabled:hover span::before, .checkbox--disabled:focus span::before,
.radio--disabled span:hover::before, .radio--disabled span:focus::before,
.checkbox--disabled span:hover::before, .checkbox--disabled span:focus::before,
/* disabled checkboxes using <label> */
.radio--disabled:hover label::before, .radio--disabled:focus label::before,
.checkbox--disabled:hover label::before, .checkbox--disabled:focus label::before,
.radio--disabled label:hover::before, .radio--disabled label:focus::before,
.checkbox--disabled label:hover::before, .checkbox--disabled label:focus::before,
/* disabled checkboxes using <label> and input[type="checkbox"] */
.checkbox--disabled input[type="checkbox"]:hover + label:before, .checkbox--disabled input[type="checkbox"]:focus + label:before,
.checkbox--disabled input[type="radio"]:hover + label:before, .checkbox--disabled input[type="radio"]:focus + label:before {
    outline: none;
    pointer-events: none;
    cursor: default;
}
        /* WCAG colors should not override previous styling
    .radio input:checked + span:before,
.checkbox input:not([disabled]):checked + span:before,
.checkbox input:not([disabled]):checked + label:before {
    background: var(--form-control-checked-background);
    font-size: 10px;
    border: 1px solid var(--form-control-checked-border);
}
*/
        .radio input:checked + span:before,
        .checkbox input:checked + span:before,
        .checkbox input:checked + label:before {
            background: var(--form-control-checked-background); /* WCAG compliant fallback color*/
            background-color: var(--primary-color);
            font-size: 10px;
            border: 1px solid var(--form-control-checked-border); /* WCAG compliant fallback color*/
            border: 0.2rem solid var(--primary-color);
        }

/*less important*/

.radio span div,
.checkbox span div {
    position: relative;
    /*padding: 0 0px 0 24px;*/ /* old: padding: 0 12px 0 24px; shortened so not entire screen is clickable */
    font-size: 16px;
    display: block;
    width: fit-content; /*this shortens the label of checkbox form-groups so that not the entire screen is clickable */
}

.checkbox input:not([disabled]):checked + span:before {
    font-family: "Font Awesome 5 Free";
    content: "";
    color: #fff;
}

.checkbox.disabled span, .checkbox.disabled {
    pointer-events: none;
}

    .checkbox.disabled span:before {
        background: var(--btn-disabled-background);
        border-color: var(--btn-disabled-border);
    }

.checkbox.readOnly input:not([disabled]):checked + span:before {
    background: var(--form-control-background-readonly);
    border-color: var(--form-control-border-readonly);
}

.readOnly {
    pointer-events: none;
}

input.not_allowed, textarea.not_allowed, .checkbox input[type="radio"] + label.not_allowed::before, .checkbox input[type="radio"] + label.not_allowed::after, .checkbox input[type="checkbox"] + label.not_allowed::before, .checkbox input[type="checkbox"] + label.not_allowed::after {
    background-color: var(--form-control-background-readonly);
    cursor: not-allowed !important;
}
label.not-allowed{
    cursor: not-allowed;
}

.readOnly, .form-control:disabled, .form-control[readonly] {
    background: var(--form-control-background-readonly);
    opacity: 1;
}

.radio span:before {
    border-radius: 10px;
}

.radio input:checked + span:before {
    border: 1px solid var(--form-control-checked-border);
    box-shadow: inset 0 0 0 2px #fff;
}

.radioLabel {
    margin-left: 18px;
}




/*important*/

.radio > input:focus + span:before, .checkbox > input:focus + span:before, checkbox + .toggle-extra,
.form-group .input-group:focus-within .input-group-append,
.form-group .input-group:focus-within .input-group-append .input-group-text,
.form-group .input-group:focus-within .input-group-prepend,
.form-group .input-group:focus-within .input-group-prepend .input-group-text {
    outline: 5px auto Highlight;
    outline: 5px auto -webkit-focus-ring-color;
}

.radio:hover span:before, .radio:focus span:before,
.checkbox:hover span:before, .checkbox:focus span:before,
.radio span:hover::before, .radio span:focus::before,
.checkbox span:hover::before, .checkbox span:focus::before {
    border-color: var(--form-control-border-hover);
}

.checkbox input[type="radio"].gender{
    z-index:-1;
}

details{
    transition: .15s ease-in;
    margin-bottom: 0px;
    max-height:max-content;
}

details[open] {
    margin-bottom: 10px;
    max-height:calc(fit-content -10px);
}

.collapse-table__title {
    display: revert;
}
.accordions .form__container{
    max-height: 100%;
    margin-bottom:1rem;
    margin-top:0;
}
.accordions .form__heading {
    margin-bottom: 1rem;
    margin-top: 0;
}

/* + and - icons for product groups */
details.collapse-table__item > summary.collapse-table__title::marker {
    content: url("data:image/svg+xml,%3Csvg width='15px' height='15px' viewBox='0 0 15 15' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' %3E%3Cg id='iAM-Portal---Uitklapbaar' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' %3E%3Cg id='Artboard' transform='translate(-250.000000, -819.000000)' stroke='%23002978' stroke-width='2' %3E%3Cg id='Group' transform='translate(250.000000, 819.000000)' %3E%3Crect id='Rectangle' x='1' y='7' width='13' height='1' rx='0.5' %3E%3C/rect %3E%3Crect id='Rectangle' transform='translate(7.500000, 7.500000) rotate(-270.000000) translate(-7.500000, -7.500000) ' x='1' y='7' width='13' height='1' rx='0.5' %3E%3C/rect %3E%3C/g %3E%3C/g %3E%3C/g %3E%3C/svg %3E%0A");
}

details.collapse-table__item[open] > summary.collapse-table__title::marker {
    content: url("data:image/svg+xml,%3Csvg width='15px' height='15px' viewBox='0 0 15 15' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' %3E%3Cg id='iAM-Portal---Uitklapbaar' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' %3E%3Cg id='Artboard' transform='translate(-250.000000, -819.000000)' stroke='%23002978' stroke-width='2' %3E%3Cg id='Group' transform='translate(250.000000, 819.000000)' %3E%3Crect id='Rectangle' x='1' y='7' width='13' height='1' rx='0.5' %3E%3C/rect %3E%3Crect id='Rectangle' transform='translate(7.500000, 7.%0A500000) rotate(-270.000000) translate(-7.500000, -7.500000) ' x='1' y='7' width='13' height='1' rx='0.5' %3E%3C/rect %3E%3C/g %3E%3C/g %3E%3C/g %3E%3C/svg %3E");
}

details.collapse-table__item > summary.collapse-table__title > h3.groupName {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    margin-left: 1rem;
}

details.collapse-table__item > summary.collapse-table__title > * {
    display: inline;
}

p.thankyouDescription, p.info-text {
/* TODO use h5 styling*/
    display: block;
    font-size: 0.83em;
    margin-block-start: 1.67em;
    margin-block-end: 1.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;

    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;

    box-sizing: border-box;
}

.newappointmentlink > p.appointmentLinkText, p > a.appointmentLinkText {
    display: block;
    font-size: 0.67em;
    margin-block-start: 2.33em;
    margin-block-end: 2.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-decoration: underline;
}

#blazored-modal-title{
    /*TODO use h3 styling*/
    asd
}

.form__container > form > div {
    position: relative;
    padding: 3rem;
}

p#thankYouTitle {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: var(--bold);
    line-height: 1.2;
}

/*
    If I use the top-bar as absolute positioned, the page should be moved down 70px (height of the bar)
    
    .top-bar{
    position:absolute;
    width:100%;
}
.page{
    padding-top: 17rem;
}*/

summary.collapse-table__title.checked::after {
    content: "\EA12";
    content: "✓";
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.75rem;
    color: var(--primary-color);
}

.form__time-item label {
    padding: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.2rem solid var(--primary-color);
    border-radius: 1rem;
    transition: all ease-in-out 0.2s;
    cursor: pointer;
}

.form__time-item input{
    display:revert;
}

    .form__time-item input + label {
        align-items: center;
        justify-content: center;
        padding: 1.4rem;
        display: flex;
    }

.form__time-item input + label::before, .form__time-item input + label::after {
    display: none;
}

.form__time-item input:focus + label{
    color: #FFF;
    background-color: var(--primary-color);
    outline: 5px auto Highlight;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset:3px;
}

h2.form__heading-title {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

.numberwithcode

.landcode::after, .land::after {
    right: 1rem;
}

.number > .checkIntegerOnly {
    min-width: 12rem;
}

.landcode, .landcode-option, .landcode-input,
.land, .land-option, .land-input {
    overflow: visible;
    min-width: 12rem;
}
.landcode-option,
.land-option {
    border-radius: 1rem;
    position: relative;
}
.form__field div.dropdown-content {
    padding: 2rem 1.5rem;
    margin-top: 8rem;
    scrollbar-width: none;
    /*  if you want to show scrollbar  
    scrollbar-width: thin;
    border-width: 0.27rem;*/
}
    .dropdown-content .land-option {
        border:0;
    }
    .dropdown-content div.noItemsFound {
        display: none;
        pointer-events: none;
    }
@media (min-width: 850px) {
    .form__field .numberwithcode .code {
        width: 39%;
    }

    .form__field .numberwithcode .number {
        width: calc(61% - 1rem)
    }
}
.collapse-table__inner {
    max-height: unset;
}
.language_selection_header {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 1rem;
}
.topbar__lang-title{
    margin-right:0.5rem;
    margin-right:unset;
}
.topbar__lang-title strong {
    margin-right: 0.5rem;
}
.topbar__lang-active {
    border-radius: 1rem;
    cursor: pointer;
    transition: all ease-in-out 0.2s, border-bottom-right-radius ease-in-out 0.05s;
    z-index:12;
}
.topbar__lang-active[open], .topbar__lang-active:hover {
    background-color: #FFF;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.07);
    margin-bottom: 0px;
    max-height: unset; 
}
    .topbar__lang-active[open] {
        border-bottom-right-radius: 0;
    }
    .topbar__lang-active[open] .icon {
        transform: rotate(180deg);
    }
.topbar__lang-list {
    top: 3rem;
    padding-top: 0.5rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    right: 0;
    z-index: 11;
    box-shadow: 2px 6px 9px 0 rgba(0, 0, 0, 0.07);
}
.topbar__lang-list li.topbar__lang-item:last-child{
    border-bottom-right-radius:1rem;
    border-bottom-left-radius:1rem;
}
.topbar__lang-item {
    position: relative;
}
    .topbar__lang-item a{
        text-decoration:none;
        color:unset;
    }
.topbar__lang-item a::after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}