/* MFN Loader: Default theme (List) */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@200;300;400;500;600;700;800&display=swap');

/* Wrapping container */
.mfn-loader-list-container {
    margin: 0 20px 20px 20px;
    max-width: 1000px;
}

/* Content */
.mfn-loader-list-container .mfn-content {
    font-family: Inter Tight, sans-serif;
}

.mfn-loader-list-container .mfn-preamble {
    font-size: 14px;
    font-weight: 300;
    line-height: 19px;
    padding-right: 20%;
    margin-top: 2px;
}

.mfn-loader-list-container .mfn-tags-list {
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    margin: 2px 0 2px 0;
}

.mfn-loader-list-container .mfn-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3pt;
    color: #000000;
    background: #F7C548;
    padding: 2px 4px;
    margin: 4px 5px 4px 0;
    border-radius: 4px;
    cursor: poInter Tight;
    box-shadow: rgba(0, 0, 0, 0.1) 0 1px 4px;
}

.mfn-loader-list-container .mfn-date {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2px;
}

.mfn-loader-list-container .mfn-row {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 14px 0;
    margin: 0;
    border: none;
    transition: background-color 0.3s ease;
}

/* Lägg endast till top-border på alla rader som INTE är första */
.mfn-loader-list-container .mfn-row:not(:first-of-type) {
    border-top: 1px solid #000000;
}

.mfn-loader-list-container .mfn-row:hover {
    background-color: #f9f4e0;
}

.mfn-loader-list-container .mfn-title-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.mfn-loader-list-container a.mfn-title {
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.2pt;
    display: inline; 
    color: #000000;
}

.mfn-loader-list-container .mfn-loader-mfn-loader-list-container pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

/* Toolbar */
.mfn-loader-list-container .mfn-toolbar-options {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    font-family: Inter Tight, sans-serif;
    margin-bottom: 20px;
}

.mfn-loader-list-container .mfn-toolbar-option {
    display: flex;
    margin: 0 0 0 5px;
    flex-direction: column;
    color: #000000;
}

 .mfn-loader-list-container .mfn-toolbar-option select {
font-family: Inter Tight, sans-serif;
    font-size: 14px;
    padding: 6px 36px 6px 12px;
    background-color: #F1F3F6;
    border: 1px solid #ccc;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2354595F' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    cursor: pointer;
    color: #54595F;
}

.mfn-loader-list-container .mfn-toolbar-selects-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.mfn-loader-list-container .mfn-toolbar-option span {
    font-size: 14px;
    font-weight: 700;
    margin: 15px 10px 6px 0;
}

.mfn-loader-list-container .mfn-select {
    font-size: 14px;
    letter-spacing: 0.01em;
    border: none;
    cursor: poInter Tight;
    width: 160px;
    height: 32px;
    padding: 4px 10px;
    border-radius: 4rem;
    outline: none;
    -webkit-appearance: none;
    background: #DEE2EC url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yMy4yNDUgNGwtMTEuMjQ1IDE0LjM3NC0xMS4yMTktMTQuMzc0LS43ODEuNjE5IDEyIDE1LjM4MSAxMi0xNS4zOTEtLjc1NS0uNjA5eiIvPjwvc3ZnPg==) no-repeat right 10px top 50%;
    background-size: 13px 13px;
}

.mfn-loader-list-container #mfn-search {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-basis: 50%;
}

.mfn-loader-list-container .mfn-search-input {
    font-family: Inter Tight, sans-serif;
    font-size: 14px;
    letter-spacing: 0.01em;
    width: 100%;
    min-width: 120px;
    height: 24px;
    color: #6a7b8c;
    margin: 10px 10px 0 0;
    padding: 4px 90px 4px 10px;
    border-radius: 4px;
    border: none;
    outline: none;
    -webkit-appearance: none;
    box-shadow: rgba(0, 0, 0, 0.1) 0 2px 12px;
}

.mfn-loader-list-container .mfn-search-button {
    position: relative;
    margin: 10px 10px 0 0;
}

.mfn-loader-list-container .mfn-search-button:disabled {
    background: #DEE2EC;
    color: #6a7b8c;
    cursor: default;
}

.mfn-loader-list-container .mfn-toolbar-option.mfn-clear {
    flex-basis: 100%;
}


/* Specifically for the slim toolbar setting */
.mfn-loader-list-container #mfn-search-slim {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-basis: 50%;
}

.mfn-loader-list-container .mfn-search-button-slim {
    position: relative;
    left: -70px;
}

.mfn-loader-list-container .mfn-search-input-slim {
    font-family: Inter Tight, sans-serif;
    font-size: 14px;
    letter-spacing: 0.01em;
    width: 100%;
    height: 24px;
    min-width: 180px;
    color: #6a7b8c;
    padding: 4px 90px 4px 10px;
    border: none;
    border-top-left-radius: 4rem;
    border-bottom-left-radius: 4rem;
    outline: none;
    -webkit-appearance: none;
    box-shadow: rgba(0, 0, 0, 0.1) 0 2px 12px;
}

.mfn-loader-list-container #mfn-search-slim span {
    margin: 5px 10px 6px 0;
}

.mfn-loader-list-container .mfn-clear-reset {
    white-space: nowrap;
    position: relative;
    display: inline-block;
    left: -80px;
    color: #F7C548;
    height: 20px;
    width: 20px;
    padding: 0 5px;
    justify-content: center;
    align-items: center;
    background-color: #F1F3F6;
    border-radius: 50%;
}

.mfn-loader-list-container .mfn-clear-reset span {
    position: relative;
    top: -2px;
    right: -1px;
    font-size: 13px;
}

.mfn-loader-list-container .mfn-clear-reset:hover {
    background: #F7C548;
    color: #ffffff;
}

.mfn-loader-list-container .mfn-clear-button {
    margin-top: 15px;
}

.mfn-loader-list-container .mfn-toolbar-option .mfn-clear {
    flex-basis: 100%;
}

.mfn-loader-list-container button,
.mfn-loader-list-container .mfn-pagination-link {
    font-family: Inter Tight, sans-serif;
    font-weight: 600;
    letter-spacing: 0.4pt;
    width: min-content;
    cursor: poInter Tight;
    color: #000000;
    background: #F7C548;
    font-size: 14px;
    padding: 8px 18px;
    border: none;
    border-radius: 4px;
    white-space: nowrap;
}

.mfn-loader-list-container .mfn-pagination {
    display: flex;
    justify-content: center; /* ← centrera alla pagineringsdelar */
    gap: 12px;                /* lite mellanrum mellan knappar/sidnummer */
    margin-top: 20px;
}

.mfn-loader-list-container button:hover,
.mfn-loader-list-container .mfn-pagination-link:hover {
    background: #000000;
    color: #FFFFFF; 
}

/* Attachments */
.mfn-loader-list-container .mfn-attachments {
    display: flex;
    flex-wrap: wrap;
    min-width: 100px;
    justify-content: flex-end;
    margin-left: auto;
}

.mfn-loader-list-container .mfn-attachment-wrapper:hover {
    opacity: .8;
}

.mfn-loader-list-container .mfn-attachment.mfn-file-icon {
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    height: 26px;
    width: 26px;
    filter: filter: invert(22%) sepia(76%) saturate(1718%) hue-rotate(191deg) brightness(104%) contrast(117%);}

.mfn-loader-list-container .mfn-attachment.mfn-file-icon:hover {
    cursor: poInter Tight;
}

.mfn-loader-list-container .mfn-attachment.mfn-file-type-archive {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M369.9,98L286,14.1C277,5.1 264.8,-0 252.1,-0L48,-0C21.5,0.1 0,21.6 0,48.1L0,464.1C0,490.6 21.5,512.1 48,512.1L336,512.1C362.5,512.1 384,490.6 384,464.1L384,132C384,119.3 378.9,107 369.9,98ZM129.016,48.1L208,48.1L208,152.1C208,165.4 218.7,176.1 232,176.1L336,176.1L336,464.1L48,464.1L48,48.1L105.445,48.1L105.445,57.912L129.016,57.912L129.016,48.1ZM165.871,340.17L106.238,422.994L165.796,422.994L165.796,443.323L72.582,443.323L72.582,429.469L133.269,347.022L77.1,347.022L77.1,326.692L165.871,326.692L165.871,340.17ZM207.961,326.692L207.961,443.323L183.114,443.323L183.114,326.692L207.961,326.692ZM259.763,402.664L259.763,443.323L234.916,443.323L234.916,326.692L275.048,326.692C304.061,326.692 318.568,338.99 318.568,363.586C318.568,375.533 314.188,385.108 305.429,392.311C296.67,399.514 285.715,402.965 272.563,402.664L259.763,402.664ZM259.763,345.968L259.763,383.615L270.53,383.615C285.137,383.615 292.441,377.265 292.441,364.565C292.441,352.167 285.213,345.968 270.756,345.968L259.763,345.968ZM130.422,135.753C129.608,131.626 125.956,128.624 121.75,128.624L105.445,128.624L105.445,105.054L81.874,105.054L81.874,128.624L67.371,200.151C62.516,224.094 80.816,246.478 105.246,246.478C129.592,246.478 147.873,224.239 143.162,200.353L130.422,135.753ZM105.445,227.38C92.247,227.38 81.547,218.464 81.547,207.466C81.547,196.467 92.246,187.552 105.445,187.552C118.644,187.552 129.343,196.468 129.343,207.466C129.343,218.464 118.643,227.38 105.445,227.38ZM332.1,128.1L256,128.1L256,52L332.1,128.1ZM129.016,105.054L105.445,105.054L105.445,81.483L129.016,81.483L129.016,105.054ZM105.445,57.912L105.445,81.483L81.874,81.483L81.874,57.912L105.445,57.912Z"/></svg>');
}
.mfn-loader-list-container .mfn-attachment.mfn-file-type-pdf {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm250.2-143.7c-12.2-12-47-8.7-64.4-6.5-17.2-10.5-28.7-25-36.8-46.3 3.9-16.1 10.1-40.6 5.4-56-4.2-26.2-37.8-23.6-42.6-5.9-4.4 16.1-.4 38.5 7 67.1-10 23.9-24.9 56-35.4 74.4-20 10.3-47 26.2-51 46.2-3.3 15.8 26 55.2 76.1-31.2 22.4-7.4 46.8-16.5 68.4-20.1 18.9 10.2 41 17 55.8 17 25.5 0 28-28.2 17.5-38.7zm-198.1 77.8c5.1-13.7 24.5-29.5 30.4-35-19 30.3-30.4 35.7-30.4 35zm81.6-190.6c7.4 0 6.7 32.1 1.8 40.8-4.4-13.9-4.3-40.8-1.8-40.8zm-24.4 136.6c9.7-16.9 18-37 24.7-54.7 8.3 15.1 18.9 27.2 30.1 35.5-20.8 4.3-38.9 13.1-54.8 19.2zm131.6-5s-5 6-37.3-7.8c35.1-2.6 40.9 5.4 37.3 7.8z"></path></svg>');
}
.mfn-loader-list-container .mfn-attachment.mfn-file-type-image {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm32-48h224V288l-23.5-23.5c-4.7-4.7-12.3-4.7-17 0L176 352l-39.5-39.5c-4.7-4.7-12.3-4.7-17 0L80 352v64zm48-240c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z"></path></svg>');
}
.mfn-loader-list-container .mfn-attachment.mfn-file-type-excel {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm212-240h-28.8c-4.4 0-8.4 2.4-10.5 6.3-18 33.1-22.2 42.4-28.6 57.7-13.9-29.1-6.9-17.3-28.6-57.7-2.1-3.9-6.2-6.3-10.6-6.3H124c-9.3 0-15 10-10.4 18l46.3 78-46.3 78c-4.7 8 1.1 18 10.4 18h28.9c4.4 0 8.4-2.4 10.5-6.3 21.7-40 23-45 28.6-57.7 14.9 30.2 5.9 15.9 28.6 57.7 2.1 3.9 6.2 6.3 10.6 6.3H260c9.3 0 15-10 10.4-18L224 320c.7-1.1 30.3-50.5 46.3-78 4.7-8-1.1-18-10.3-18z"></path></svg>');
}
.mfn-loader-list-container .mfn-attachment.mfn-file-type-alt {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M288 248v28c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-28c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm-12 72H108c-6.6 0-12 5.4-12 12v28c0 6.6 5.4 12 12 12h168c6.6 0 12-5.4 12-12v-28c0-6.6-5.4-12-12-12zm108-188.1V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V48C0 21.5 21.5 0 48 0h204.1C264.8 0 277 5.1 286 14.1L369.9 98c9 8.9 14.1 21.2 14.1 33.9zm-128-80V128h76.1L256 51.9zM336 464V176H232c-13.3 0-24-10.7-24-24V48H48v416h288z"/></svg>');
}
.mfn-loader-list-container .mfn-attachment.mfn-file-type-file {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48z"></path></svg>');
}

.mfn-loader-list-container .mfn-info,
.mfn-loader-list-container .mfn-notfound {
    font-size: 14px;
    font-weight: 300;
    margin-top: 10px;
}

/* Hiding the attachment link text (default) */
.mfn-loader-list-container .mfn-attachment-text {
    display: none;
}

/* Used by setting 'clickable_tags' if true */
.mfn-loader-list-container .mfn-disabled {
    poInter Tight-events: none;
}

.mfn-loader-list-container .mfn-read-more {
    font-size: 0;
    height: 40px;
    width: 40px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    margin-top: 10px;
    cursor: poInter Tight;
    position: absolute;
    right: 5px;
    top: 33%;
    background: url(https://ureka.se/wp-content/uploads/2024/09/round-arrow.svg);
    background-repeat: no-repeat;
    background-size: 30px;
    
}

.mfn-left {
    grid-column: 1;
    justify-self: start;
}

.mfn-pagination-current-page {
    font-size: 14px;
    text-decoration: none;
    grid-column: 2;
    justify-self: center;
    align-self: center;
}

.mfn-next {
    grid-column: 3;
    justify-self: end;
}

.mfn-loader-list-container .mfn-toolbar-option span {
    display: none;
}

.mfn-loader-list-container .mfn-preamble {
    position: relative;
    z-index: 3;
    pointer-events: none; /* ← gör den icke-klickbar så att klicket går till den stora raden-länken under */
}