@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Mark Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    background-color: #EEEDEB;
}

.root-font {
    font-family: var(--font-text), 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: var(--font-size-small);
    line-height: var(--font-heigth-small);
    color: var(--color-fallback);
}

@media print {
    html, body {
        background-color: #fff !important;
    }
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
    font-weight: 300;
    font-size: 14px;
    font-family: var(--font-text);
    line-height: 16px;
    margin-top: 8px;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2147483647;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

#components-reconnect-modal {
    z-index: 2147483647 !important;
}

.container-fluid {
    padding: 0 1.5rem;
}

.hero {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px 0 40px;
    gap: 64px;
    background-color: var(--theme-topbar-row);
    border-radius: 0px 0px 200px 0px;
    min-height: 16rem;
    color: #fff;
    overflow: hidden;
}

@media (max-width: 640px) {
    .hero {
        justify-content: center;
    }
}


.input-field-wrapper {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 12px 16px;
    align-items: center;
    border: 1px solid #DDD;
    width: 368px;
    border-radius: var(--input-radius);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
    border: 0;
    height: 48px;
    background-color: #fff;
}

.input-field::placeholder {
    color: var(--color-text-primary);
    font-family: var(--font-bold-text);
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
}

.input-field, .input-field:focus, .input-field:active {
    width: 100%;
    border: 0;
    outline: none;
}

.table-controls {
    margin: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.table {
    box-shadow: 0px var(--table-shadow-offset-x) var(--table-shadow-offset-y) rgba(0, 0, 0, 0.08);
    border-radius: var(--card-radius);
}

    .table thead.thead-mustard tr {
        background-color: var(--color-table-header);
    }

        .table thead.thead-mustard tr:hover {
            background-color: var(--color-table-header);
        }

    .table thead th:first-child {
        border-radius: var(--card-radius) 0px 0px 0px;
    }

    .table thead th:last-child {
        border-radius: 0px var(--card-radius) 0px 0px;
    }

    .table thead th {
        color: var(--color-table-header-text);
        border: 0;
        cursor: pointer;
        white-space: nowrap;
        padding-top: calc(0.75rem + var(--font-padding-top));
    }

.read-indicator div {
    width: 10px;
    height: 10px;
    position: relative;
}

.read-indicator img {
    width: auto;
    height: auto;
    position: absolute;
    margin: auto;
    inset: 0;
}

.table td, .table th {
    border: 0;
    padding-top: calc(0.75rem + var(--font-padding-top));
}

    .table td.read-indicator, .table th.read-indicator {
        position: relative;
        padding-right: 0px !important;
        width: 0;
        padding-top: calc(18px + var(--font-padding-top));
    }

.table tbody tr {
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid var(--color-main-background);
}

    .table tbody tr:hover {
        background-color: var(--color-main10-background);
    }

    .table tbody tr:last-child td:first-child {
        border-radius: 0px 0px 0px var(--card-radius);
    }

    .table tbody tr:last-child td:last-child {
        border-radius: 0px 0px var(--card-radius) 0px;
    }

.box-info-icon {
    /* Card */
    /* Auto layout */

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 8px;
    width: 560px;
    height: 218px;
    /* Neutral / White */

    background: #FFFFFF;
    /* Drop shadow 0-2-4 8% */

    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    /* Inside auto layout */

    flex: none;
    order: 0;
    flex-grow: 0;
}

.rounded-16 {
    border-radius: 16px;
}

.person-single-icon-left {
    padding: 0 0 0 44px;
    background: var(--icon-person) no-repeat;
    background-position: left center;
    background-size: 34px;
    line-height: 34px;
}

.house-icon-left {
    padding: 0 0 0 44px;
    background: var(--icon-house) no-repeat;
    background-position: left center;
    background-size: 34px;
    line-height: 34px;
}

.document-icon-left {
    padding: 0 0 0 44px;
    background: var(--icon-document) no-repeat;
    background-position: left center;
    background-size: 34px;
    line-height: 34px;
}

.credit-check-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    flex-wrap: wrap;
    min-height: 48px;
}

.credit-check-indicator {
    align-self: center;
}

    .credit-check-indicator div {
        margin: 10px 0;
        display: inline-block;
        vertical-align: middle;
    }

.credit-check-button {
    align-self: end;
    margin-left: auto;
}

#objectreport-detail .control-label, #objecttransfer-detail .control-label {
    /* Rubrik */
    /* Upper-Case/U-C 12-16 Desktop */

    font-family: var(--font-text), 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: var(--font-size-label-small);
    line-height: var(--font-height-label-small);
    /* identical to box height, or 133% */

    display: flex;
    align-items: center;
    letter-spacing: 0.02em;
    text-transform: var(--info-label-text-transform);
    /* Tints/Black 60% */

    color: var(--color-info-label);
    /* Inside auto layout */

    flex: none;
    order: 0;
    flex-grow: 0;
    margin-bottom: 0;
}

.collapsable-panel {
    overflow: hidden;
}

.collapsable .value {
    display: table-cell;
    text-align: right;
}

.tab-control-default {
    margin: 10px;
}

.tab-page-default {
    min-height: 100px;
    padding: 5px;
    background: var(--color-background-element);
    border-radius: 0px 0px 16px 16px;
}

.tab-button-default {
    gap: 5px;
    font-family: var(--font-header-small);
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    /* identical to box height, or 125% */

    display: flex;
    align-items: center;
    /* Primary / SBC Blue */

    color: var(--color-text-primary);
    /* Inside auto layout */

    flex: none;
    order: 0;
    flex-grow: 0;
    font-size: 16px;
    /* Tints / Moss 80% */
    background: #fff;
    border: solid 1px #efefef;
}

    .tab-button-default a {
        cursor: pointer;
    }

.tab-button-active {
    background: #33BB89 !important;
    border-radius: inherit !important;
}

.tab-control-default ul > li:first-child {
    border-radius: 16px 0px 0px 0px !important;
}

.tab-control-default ul > li:last-child {
    border-radius: 0px 16px 0px 0px !important;
}

.object-transfer-detail-info-container {
    background: var(--color-background-element);
    min-height: 150px;
    border-radius: 0px 0px 16px 16px !important;
    border-radius: 0px 16px 16px 16px !important;
    border-left: 2px solid #efefef;
    border-bottom: 2px solid #efefef;
    border-right: 2px solid #efefef;
    border-top-width: 0px;
}

.object-transfer-info-container {
}

th.filelist-column-filename {
    width: 50% !important;
    text-align: left;
}

th.filelist-column-size {
    width: 25% !important;
    text-align: left;
}

th.filelist-column-uploaded {
    width: 25% !important;
    text-align: left;
}

td.filelist-column-download {
    width: 20px !important;
}

table.filelist td, table.filelist th {
    text-align: left;
    padding: 5px !important;
}

.content {
    padding-bottom: 3.2rem;
}

.form-span {
    display: inline-block;
    vertical-align: text-top;
    padding: 5px 15px;
}

    .form-span input {
        width: 100%;
    }

.form-label {
    display: block;
}

.rs-text-input {
    border-radius: var(--input-radius);
    padding: calc(12px + var(--font-padding-top)) 16px 15px 16px;
    height: 48px;
    border: 1px solid var(--color-background-element);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
    font-size: var(--font-size-small);
    color: var(--color-text-primary);
}

    .rs-text-input:disabled {
        background-color: var(--input-disabled-background);
        color: var(--input-disabled-color);
        border-width: var(--input-disabled-border-width);
    }

.input-no-focus.valid {
    outline: none !important;
}

.input-no-focus:focus {
    border-color: var(--color-black);
    border-width: 2px;
    box-shadow: inherit;
}

.form-label {
    /* Heading/S 16-20 Desktop */
    font-weight: 700;
    line-height: 20px;
    /* identical to box height, or 125% */

    align-items: center;
    /* Primary / SBC Blue */

    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

h3 {
    /* Heading/M 24-32 Desktop */

    font-family: var(--font-header-small);
    font-style: normal;
    font-weight: 700;
    font-size: var(--font-size-section);
    line-height: 32px;
    /* identical to box height, or 133% */

    display: flex;
    align-items: center;
    color: var(--color-text-primary);
}

select {
    border-radius: 16px;
    padding: 12px 16px;
    height: 48px;
    border: 1px solid var(--color-background-element);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
}

.icon-button {
    cursor: pointer;
}

.rs-file-upload {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 12px 16px;
    align-items: center;
    border: 1px solid #DDD;
    width: 368px;
    border-radius: 16px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
    border: 0;
    background-color: #fff;
    justify-content: center;
    width: 100%;
    height: 144px;
    position: relative;
}

    .rs-file-upload.listed-file {
        height: 48px;
        justify-content: left;
    }

    .rs-file-upload > input[type="file"] {
        position: absolute;
        padding: 0;
        margin: 0;
        opacity: 0;
        width: 100%;
        height: 100%;
    }


.rs-checkbox {
    height: fit-content;
    align-self: center;
}

h3 > span {
    position: relative;
}

    h3 > span > svg {
        position: absolute;
        left: 0.3em;
        top: -0.4em;
    }

.inline-validation > .validation-message {
    display: inline;
    background-color: red;
    color: white;
    font-size: 16px;
}

.form-loading-container {
    height: 25px;
}

.form-loading {
    position: absolute;
    left: 50%;
}

.w-45 {
    width: 45% !important;
}


/* �verl�telseadmin*/
.card-title-wrapper {
    display: inline-block;
}

.card-edit-button {
    float: right;
    margin-top: -7px;
}

label > input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    display: none;
}

    label > input[type="radio"] + *::before {
        content: "";
        display: inline-block;
        vertical-align: middle;
        height: 42px;
        margin-right: 0.3rem;
        padding: 0 0 0 44px !important;
        background-position: left center !important;
        background: url('../images/icons/radio-button-off.svg') no-repeat;
    }

    label > input[type="radio"]:checked + *::before {
        background: url('../images/icons/radio-button-on.svg') no-repeat;
    }

.rs-textarea {
    border-radius: var(--input-radius);
    padding: calc(12px + var(--font-padding-top)) 16px 15px 16px;
    width: 100%;
    border: 1px solid var(--color-background-element);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
    font-size: var(--font-size-small);
    color: var(--color-text-primary);
}

.NABO.input-focus:focus {
    border-color: hsl(120 10% 31% / 1);
    outline: 0;
    box-shadow: 0 0 1px 0.1rem rgb(94 114 94 / 40%);
}

.rs-textarea-label {
    display: inline-block;
}

.rs-modal {
    background: #0000009e;
}

    .rs-modal .modal-content {
        background: var(--color-main-background);
        /*Standardsaker f�r modaler*/
    }
    /*Specifika modaler*/
    .rs-modal.party-info .modal-content {
        max-width: 1140px;
        max-height: 95vh;
    }

    .rs-modal.party-info .modal-dialog {
        max-width: 1140px;
        padding: 0 15px;
    }

    .rs-modal.party-info .modal-body {
        /*height: 762px;*/
        overflow-y: scroll;
        max-height: 70vh;
    }

@media (max-width: 575px) {
    .rs-modal.party-info .modal-content {
        padding: 0 5px;
    }

    .rs-modal .modal-dialog {
        padding: 0 5px;
    }
}

.selector-popup {
    padding-top: 15px;
    position: absolute;
    top: 35px;
    /*height: 200px;*/
    background: green;
    z-index: 1000;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    width: max-content;
    min-width: -webkit-fill-available;
    min-width: -moz-available;
}

    .selector-popup.right {
        right: 0;
    }

.selector-popup-list {
    max-height: 500px;
    overflow-y: auto;
    padding-left: 4px;
}

.pagination-list-label {
    position: absolute;
    top: -24px;
    left: 8px;
}

.object-transfer-detail-info-container .button {
    min-width: 130px;
}

.card-section {
    border-top: 1px solid #dee2e6;
    padding-top: 10px;
}

.card {
    border-radius: var(--card-radius);
}

    .card.NABO {
        box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
        border: none;
    }

    .card.ODEVO {
        box-shadow: 0.06rem .1rem 0.1rem rgba(0, 0, 0, 0.12);
        border: none;
    }

    .card .control-label {
        /* Rubrik */
        /* Upper-Case/U-C 12-16 Desktop */

        font-family: var(--font-text), 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-style: normal;
        font-weight: 500;
        font-size: 12px;
        line-height: 16px;
        /* identical to box height, or 133% */

        display: flex;
        align-items: center;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        /* Tints/Black 60% */

        color: var(--color-text-information);
        /* Inside auto layout */

        flex: none;
        order: 0;
        flex-grow: 0;
        margin-bottom: 0;
    }

    .card span {
        /* Text/16-24 Desktop */

        font-family: var(--font-text), 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-style: normal;
        /* identical to box height, or 150% */
        /* Primary / SBC Blue */

        color: var(--color-body-text);
        /* Inside auto layout */
    }

.no-select {
    -webkit-touch-callout: none;
    user-select: none;
}

.row-gap {
    row-gap: 0.8rem;
}

.item-gap {
    gap: 0.8rem;
}

.button-gap {
    gap: 6px;
}

.pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default !important;
}

.no-clicks {
    pointer-events: none;
}

.rz-dropdown-label {
    cursor: pointer;
}

@media (min-width: 641px) {
    .only-on-mobile {
        display: none;
    }
}

.bs-padding {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

/* Overwrite errors */
.validation-errors {
    background-color: #f7d7d9;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0px 2px 4px 0px #00000014;
    position: relative;
    gap: 10px;
    width: 100%;
}

    .validation-errors::before {
        display: block;
        content: ' ';
        background-image: url('/images/illustrations/error.svg');
        background-size: 28px 28px;
        height: 28px;
        width: 28px;
        position: absolute;
        top: calc(calc(100% / 2) - 14px);
    }

    .validation-errors > li {
        margin: 2px 10px 2px 65px;
        color: #3e0d11;
    }


/* Standard scrollbars */
::-webkit-scrollbar {
    width: 6px; /* Mostly for vertical scrollbars */
    height: 6px; /* Mostly for horizontal scrollbars */
}

::-webkit-scrollbar-thumb { /* Foreground */
    background: #6C6C6C;
    border-radius: 100px;
}

::-webkit-scrollbar-track { /* Background */
    background: #D9D9D9;
}

/* Overwrites radzen scrollbar settings that hides overflow between these sizes*/
@media (min-width: 601px) and (max-width: 768px) {
    body {
        overflow-x: auto;
    }
}

/* General input styleing */

input::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
}

.notice-of-membership h1 {
    font-size: 45px;
}

.notice-of-membership {
    font-size: 16px;
}

.event-card-internal .internal-icon {
    width: 36px;
    height: 36px;
    padding: 4px;
    float: left;
    margin-right: 10px;
}

.white-dot {
    height: 34px;
    width: 34px;
    background-color: #fff;
    border-radius: 50%;
}

.ext-link {
    position: relative;
    padding-right: 1.1em; /* plats för ikonen */
    text-decoration: underline;
    color: #0a66c2;
}

    .ext-link::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        width: 0.95em;
        height: 0.95em;
        transform: translateY(-50%);
        background: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%230a66c2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>');
    }

    Hover/focus-färg
    .ext-link:hover,
    .ext-link:focus {
        color: #084b8a;
        text-decoration-thickness: 2px;
    }

        .ext-link:hover::after,
        .ext-link:focus::after {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23084b8a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>');
        }

.dark .ext-link {
    color: #8ab4f8;
}

    .dark .ext-link::after {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%238ab4f8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>');
    }

    .dark .ext-link:hover,
    .dark .ext-link:focus {
        color: #a5c9ff;
    }

        .dark .ext-link:hover::after,
        .dark .ext-link:focus::after {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23a5c9ff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>');
        }

.top-banner {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 10px 125px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    font: 600 12px/1 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    opacity: 0.95;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

    .top-banner small {
        display: inline-block;
        margin-left: 8px;
        opacity: .85;
        font-weight: 600;
    }
