html, body {
    height: 100%;
    margin: 0;
    background-color: dimgrey;
    color: white;
    font-family: verdana;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
}

.outer-wrapper {
    height: 100%;
}

.inner-wrapper {
    display: table;
    width: 100%;
    height: 500px;
}

.header-wrapper {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 50px;
}

#forsideHeader {
    vertical-align: top;
}

.header-wrapper img {
    display: block;
    margin: 0 auto;
}

#horsfeldtLogo {
    margin-top: 20px;
}

.header-indhold {
    margin-top: -60px;
}

.download-wrapper {
    display: block;
    text-align: center;
    font-size: 20px;
}

.squares {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.square {
    width: 300px;
    height: 200px;
    background-color: #adadad;
    font-family: verdana;
    font-size: 14px;
    font-weight: normal;
    color: white;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-decoration: none;
    cursor: pointer;
    padding: 10px;
}

.square-1 {
    background-color: #c7cdaf;
}

.square-2 {
    background-color: #abae9b;
}

.square-3 {
    background-color: #cdbb93;
}

.square-4 {
    background-color: #a49676;
}

.square-heading {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    margin-top: 10px;
    align-self: center;
    text-align: center;
}

.square-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.copyright {
    position: fixed;
    bottom: 10px;
    left: 10px;
    margin: 0;
    font-size: 20px;
}

.login-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    z-index: 100;
}

.login-navn {
    font-size: 14px;
    color: #ffffff;
    white-space: nowrap;
    padding-bottom: 4px;
}

.login-icon {
    font-size: 40px;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.login-icon:hover {
    filter: brightness(1.2);
}

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-overlay.jmhide {
    display: none;
}

.login-popup {
    background-color: #ffffff;
    border: 1px solid #8a7a55;
    border-radius: 6px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.4);
    padding: 24px 28px;
    min-width: 320px;
    text-align: left;
    color: #333333;
}

.login-popup-titel {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 18px;
    text-align: center;
}

.login-popup-felt {
    margin-bottom: 14px;
}

.login-popup-felt label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 13px;
}

.login-popup-input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #8a7a55;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}

.login-popup-fejl {
    color: #c62828;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.login-popup-fejl.jmhide {
    display: none;
}

.login-popup-knapper {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 6px;
}

.square.deaktiveret {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
    filter: grayscale(60%);
}

a {
    color: white;
    text-decoration: none;
}

.login-form {
    display: inline-block;
    text-align: right;
    font-size: 20px;
}

.login-field {
    width: 300px;
    text-align: left;
}

.login-input {
    width: 300px;
    padding: 4px;
    box-sizing: border-box;
}

.login-button {
    width: 120px;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    border: 1px solid;
    padding: 4px 6px;
    box-sizing: border-box;
    background-color: #abae9b;
    margin-left: auto;
}

.login-button-text {
    margin-left: 10px;
}

.login-back-link {
    display: block;
    text-align: left;
    font-size: 12px;
}

.jmhide {
    display: none;
}

.kategori-select-wrapper {
    margin: 10px 0 0 10px;
    text-align: left;
}

.galleri-side .kategori-select-wrapper {
    position: fixed;
    top: 50px;
    left: 10px;
    margin: 0;
    z-index: 10;
}

.kategori-nav-wrapper {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.kategori-select {
    font-size: 14px;
    padding: 8px 12px;
    min-width: 200px;
    background-color: #cdbb93;
    color: #ffffff;
}

.kategori-select option.kategori-option-base {
    background-color: #cdbb93;
}

.kategori-select option.kategori-option-lys {
    background-color: #dbcAA2;
}

.film-indhold {
    display: flex;
    gap: 30px;
    margin-top: 0;
    padding: 0 10px;
    box-sizing: border-box;
    flex: 1;
    min-height: 0;
}

.film-kolonne {
    flex: 1;
}

.film-kolonne-venstre {
    display: flex;
    flex-direction: column;
}

.film-kolonne label {
    display: block;
    margin-bottom: 3px;
    color: #ffffff;
    text-align: left;
}

.film-kolonne select.fluid {
    width: 100%;
    box-sizing: border-box;
}

.film-luk {
    align-self: flex-start;
    margin: 0 10px 8px 10px;
}

.film-droppe-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 20;
}

.film-droppe-overlay.jmhide {
    display: none;
}

.film-hoejre-indhold {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: 30px;
}

.film-hoejre-indhold .film-poster-ramme {
    margin-right: 10px;
    flex: none;
}

.film-info-omraade {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: -3px;
}

.film-info-raekker {
    display: flex;
    align-items: baseline;
}

.film-info-label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-right: 5px;
    white-space: nowrap;
}

.film-info-felt {
    display: inline-block;
    min-width: 60px;
    padding: 0;
    margin-right: 30px;
    box-sizing: border-box;
    font-size: 14px;
    text-align: left;
}

.film-info-felt-sidste {
    margin-right: 0;
}

.film-bottom-raekker {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 25px;
}

.film-resume-label {
    display: block;
}

.film-skuespillere-label {
    display: block;
}

.film-ramme {
    padding: 5px;
    border: 1px solid #8a7a55;
    box-sizing: border-box;
    background-color: #a49676;
    overflow: auto;
    text-align: left;
}

.film-resume-ramme {
    width: 300px;
    height: 260px;
}

.film-actors-ramme {
    width: 250px;
    height: 260px;
}

.film-aktionsraekke {
    display: flex;
    align-items: center;
    margin-top: 23px;
}

.film-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 20px;
    background-color: #000000;
}

.film-imdb-ikon {
    display: inline-block;
    height: 30px;
    cursor: pointer;
}

.film-imdb-ikon.deaktiveret {
    cursor: default;
    opacity: 0.45;
}

.film-knap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    margin-left: 20px;
    padding: 0 12px;
    border: 1px solid #8a7a55;
    box-sizing: border-box;
    background-color: #f0ead8;
    color: #333333;
    font-size: 14px;
    cursor: pointer;
}

.film-eject-knap {
    margin-left: 10px;
}

.film-knap:hover {
    background-color: #e2dac0;
}

.film-knap.deaktiveret,
.film-knap:disabled {
    cursor: default;
    opacity: 0.45;
}

.film-knap.deaktiveret:hover,
.film-knap:disabled:hover {
    background-color: #f0ead8;
    cursor: default;
}

.film-actors-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.film-actors-liste li {
    padding: 1px 0;
}

.film-poster-ramme {
    width: 250px;
    height: 374px;
    border: 1px solid #8a7a55;
    box-sizing: border-box;
    background-color: #a49676;
}

.film-poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.film-select {
    background-color: #a49676;
}

.film-select option.film-option-base {
    background-color: #a49676;
}

.film-select option.film-option-lys {
    background-color: #b2a585;
}

body.film-side {
    height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.film-side .kategorier-titel {
    margin: 0 0 10px 0;
}

.film-detaljer-titel-raekke {
    display: flex;
    align-items: center;
    margin: 0 0 10px 0;
    font-size: 28px;
}

.film-detaljer-titel-raekke .kategorier-titel {
    margin: 0;
}

.film-4k-ikon {
    height: 1em;
    width: auto;
    margin-left: 10px;
}

.film-4k-ikon.jmhide {
    display: none;
}

.film-liste-label {
    display: flex;
    align-items: baseline;
    margin: 10px 0 0 0;
    color: #ffffff;
    font-size: 14px;
}

#filmAntal {
    margin-left: 10px;
    font-weight: normal;
}

.film-liste {
    flex: 1;
    min-height: 0;
    margin: 0 0 10px 0;
    padding: 6px 4px;
    box-sizing: border-box;
    overflow-y: auto;
    border: 1px solid #8a7a55;
    border-radius: 3px;
    background-color: #a49676;
}

.film-liste-raekke {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 3px 8px;
    color: #ffffff;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.film-liste-raekke.valgt {
    background-color: #d9c180;
}

.film-liste-navn {
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.film-liste-aar {
    text-align: right;
    flex: none;
    margin-left: auto;
}

.film-liste-raekke:nth-child(even) {
    background-color: #b2a585;
}

.kategori-antalsvisning {
    font-size: 14px;
    font-weight: normal;
    color: #ffffff;
}

.hamburger-wrapper {
    position: fixed;
    top: 20px;
    right: 10px;
    z-index: 9000;
}

.hamburger-knap {
    width: 40px;
    height: 40px;
    font-size: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    min-width: 200px;
    background-color: #cdbb93;
    border: 1px solid #8a7a55;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-size: 13px;
    color: #ffffff;
    z-index: 9999;
}

.dropdown-menu-punkt {
    padding: 8px 14px;
    cursor: pointer;
    white-space: nowrap;
    text-align: left;
    color: #ffffff;
}

.dropdown-menu-punkt:hover {
    background-color: #c1ad7f;
}

.dropdown-menu-punkt .fa {
    margin-right: 8px;
}

.dropdown-menu-spacer {
    height: 1px;
    margin: 4px 10px;
    background-color: #8a7a55;
}

.kategori-knap {
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    border: 1px solid;
    padding: 4px 13px;
    box-sizing: border-box;
    background-color: #abae9b;
    color: #ffffff;
}

.kategori-knap:disabled {
    opacity: 0.4;
    cursor: default;
}

.galleri-back {
    text-align: center;
    margin: 20px;
}

.galleri-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    padding-top: 140px;
    box-sizing: border-box;
}

.galleri-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px 20px;
    width: 90%;
    max-width: 1560px;
    height: 100%;
    padding: 5px 20px;
    box-sizing: border-box;
}

.galleri-cell {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.galleri-cell img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.foto-popup {
    position: fixed;
    z-index: 9999;
    max-width: 340px;
    padding: 8px 10px;
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #8a7a55;
    border-radius: 4px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-size: 13px;
    line-height: 1.4;
}

.foto-popup-raekke {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.foto-popup-label {
    font-weight: bold;
}

.foto-popup-luk {
    display: block;
    margin: 8px auto 0;
    padding: 4px 16px;
    cursor: pointer;
    background-color: #eee4d0;
    border: 1px solid #8a7a55;
    border-radius: 3px;
    color: #333333;
    font-size: 13px;
}

.foto-menu {
    position: fixed;
    z-index: 9998;
    min-width: 200px;
    padding: 4px 0 4px 10px;
    background-color: #ffffff;
    border: 1px solid #8a7a55;
    border-radius: 4px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-size: 13px;
    color: #333333;
}

.foto-menu-punkt {
    padding: 6px 14px;
    cursor: pointer;
    white-space: nowrap;
    text-align: left;
}

.foto-menu-punkt:hover {
    background-color: #eee4d0;
}

.foto-menu-punkt .fa {
    margin-right: 8px;
}

.foto-menu-spacer {
    height: 1px;
    margin: 4px 10px;
    background-color: #8a7a55;
}

#divMenu,
#divMenuBillede {
    z-index: 10050;
}

#kategoriMenu {
    z-index: 10050;
}

.stor-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #cdbb93;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    z-index: 10000;
}

.stor-wrapper.jmhide {
    display: none;
}

.stor-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.stor-tilbage {
    position: fixed;
    left: 10px;
    top: 10px;
}

#detaljerLuk {
    position: absolute;
    left: 20px;
    top: 10px;
    height: 26px;
    line-height: 16px;
    z-index: 10002;
}

.detaljer-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #cdbb93;
    display: flex;
    padding-top: 26px;
    box-sizing: border-box;
    z-index: 10001;
}

.detaljer-wrapper.jmhide {
    display: none;
}

.detaljer-kolonne {
    flex: 1 1 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.detaljer-billede {
    flex: 0 0 75%;
    justify-content: flex-start;
}

.detaljer-billede img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.detaljer-form {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 12px;
}

.detaljer-felt label {
    display: block;
    font-weight: bold;
    margin-bottom: 3px;
    color: #333333;
    text-align: left;
}

.detaljer-felt select {
    display: block;
    width: auto;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid #8a7a55;
    border-radius: 3px;
    background-color: #ffffff;
    color: #333333;
    font-size: 13px;
}

.kategori-raekke {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kategori-tilfoej-overlay {
    position: fixed;
    z-index: 10002;
}

.kategori-tilfoej-overlay.jmhide {
    display: none;
}

.kategori-tilfoej-boks {
    position: fixed;
    background-color: #ffffff;
    border: 1px solid #8a7a55;
    border-radius: 4px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    padding: 14px;
    text-align: left;
}

.kategori-tilfoej-titel {
    font-weight: bold;
    color: #333333;
    font-size: 14px;
    margin-bottom: 10px;
}

.kategori-tilfoej-boks input[type="text"] {
    width: 220px;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid #8a7a55;
    border-radius: 3px;
    font-size: 13px;
    color: #333333;
}

.kategori-tilfoej-knapper {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.kategori-advarsel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10003;
}

.kategori-advarsel-overlay.jmhide {
    display: none;
}

.kategori-advarsel-boks {
    position: fixed;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #8a7a55;
    border-radius: 4px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    padding: 14px;
    text-align: center;
    color: #333333;
    font-size: 14px;
}

.kategori-advarsel-tekst {
    margin-bottom: 12px;
}

.kategori-advarsel-knapper {
    display: flex;
    justify-content: center;
}

.detaljer-felt input[type="text"],
.detaljer-felt textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid #8a7a55;
    border-radius: 3px;
    background-color: #ffffff;
    color: #333333;
    font-size: 13px;
}

.detaljer-felt textarea {
    resize: vertical;
    line-height: 1.4;
}

.detaljer-felt select:disabled,
.detaljer-felt input[type="text"]:disabled,
.detaljer-felt textarea:disabled {
    background-color: #e8e4da;
    color: #8c8c8c;
    border-color: #c4bca8;
    cursor: not-allowed;
}

#detaljerBeskrivelse {
    height: 150px;
}

#detaljerStikord {
    height: 100px;
}

.detaljer-vaerdi {
    color: #333333;
    font-size: 13px;
    text-align: left;
}

.detaljer-label {
    font-weight: bold;
}

.detaljer-label-vaerdi {
    margin-left: 10px;
}

.detaljer-raekke {
    display: flex;
    gap: 12px;
    text-align: left;
}

.detaljer-raekke .detaljer-vaerdi {
    flex: 1 1 auto;
}

.detaljer-link-wrapper {
    text-align: left;
}

.detaljer-lokationslink {
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
}

.detaljer-knapper {
    display: flex;
    gap: 10px;
}

.detaljer-besked {
    font-weight: bold;
    font-size: 13px;
    margin-top: 4px;
    text-align: left;
}

.detaljer-besked-succes {
    color: #2e7d32;
}

.detaljer-besked-fejl {
    color: #c62828;
}

.bekraeft-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
}

.bekraeft-overlay.jmhide {
    display: none;
}

.bekraeft-boks {
    position: fixed;
    background-color: #ffffff;
    border: 1px solid #8a7a55;
    border-radius: 4px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    padding: 20px;
    max-width: 420px;
    text-align: center;
    color: #333333;
    font-size: 14px;
}

.bekraeft-tekst {
    margin-bottom: 4px;
}

.bekraeft-knapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.galleri-velkomst-boks {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: -300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.galleri-velkomst-boks.jmhide {
    display: none;
}

.galleri-velkommen {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 34px;
    color: #ffffff;
}

.galleri-besked {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 28px;
    color: #ffffff;
}

.login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login-button:hover,
.square:hover {
    filter: brightness(1.1);
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.popup-overlay.visible {
    display: flex;
}

.popup-box {
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    font-weight: normal;
    transform: translateY(-150px);
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.popup-message {
    margin-bottom: 15px;
}

.popup-ok {
    cursor: pointer;
    font-size: 14px;
    padding: 4px 16px;
}

.fotos-title {
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 30px;
}

.fotos-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    transform: translateY(-150px);
}

.kategorier-titel {
    text-align: left;
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 0 10px;
}

.importer-dropfelt {
    width: 300px;
    height: 150px;
    margin: 20px 0 0 10px;
    box-sizing: border-box;
    background-color: #b9a884;
    border: 2px dotted #8a7a55;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6e6a5e;
}

.importer-thumbnails {
    width: fit-content;
    max-width: calc(100% - 10px);
    height: 440px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    background-color: #cdbb93;
    border: 1px solid #8a7a55;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(6, 200px);
    gap: 10px;
    align-content: start;
    justify-items: center;
    margin: 20px 0 0 10px;
}

.importer-mapke-raekke {
    display: flex;
    align-items: center;
    margin: 20px 0 0 10px;
}

.importer-mapkenavn {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    text-align: left;
}

.importer-mapke-raekke + .importer-thumbnails {
    margin-top: 4px;
}

.importer-thumbnails + .export-knapper {
    margin-left: 10px;
}

.importer-status {
    margin-left: 20px;
    align-self: center;
    font-weight: bold;
}

.importer-status.succes {
    color: green;
}

.importer-status.fejl {
    color: #c62828;
}

.importer-progress {
    width: 300px;
    height: 5px;
    margin-left: 20px;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    overflow: hidden;
}

.importer-progress-fyld {
    height: 100%;
    width: 0%;
    background-color: green;
}

.importer-thumbnails img.landscape {
    width: 200px;
    max-width: 100%;
    height: auto;
}

.importer-thumbnails img.portrait {
    height: 200px;
    width: auto;
    max-width: 100%;
}

@media (max-width: 1600px) {
    .importer-thumbnails {
        width: auto;
        max-width: calc(100% - 10px);
        grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)) !important;
    }
}

.kategorier-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 20px 0 0 10px;
}

.kategorier-grid {
    width: fit-content;
    min-width: 300px;
    height: 300px;
    overflow-y: auto;
    box-sizing: border-box;
    background-color: #cdbb93;
    border: 1px solid #8a7a55;
    text-align: left;
}

.kategorier-tabel {
    width: 100%;
    border-collapse: collapse;
    color: #ffffff;
}

.kategorier-tabel th {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #cdbb93;
    color: #ffffff;
    font-weight: bold;
    text-align: left;
    padding: 6px 10px;
    border-bottom: 2px solid #8a7a55;
    white-space: nowrap;
}

.kategorier-tabel td {
    padding: 6px 10px;
    color: #ffffff;
    border-bottom: 1px solid #8a7a55;
}

.kategorier-tabel tbody tr:nth-child(even) {
    background-color: #d2c29e;
}

.kategorier-tabel tbody tr {
    cursor: pointer;
}

.kategorier-tabel tbody tr.valgt {
    background-color: #bdaa80;
}

.kategorier-detajler {
    text-align: left;
    color: #ffffff;
}

.detajler-boks {
    border: 1px solid #8a7a55;
    padding: 10px;
}

.detajler-titel {
    font-weight: bold;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 12px;
    border-bottom: 2px solid #8a7a55;
    padding-bottom: 6px;
}

.detajler-felter {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detajler-felt {
    margin-bottom: 12px;
}

.detajler-felt label {
    display: block;
    margin-bottom: 3px;
    color: #ffffff;
    text-align: left;
}

.detajler-vaerdi {
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    width: 80px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #8a7a55;
    border-radius: 3px;
    box-sizing: border-box;
}

.detajler-felt input[type="text"] {
    width: 320px;
    height: 30px;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid #8a7a55;
    border-radius: 3px;
    background-color: #ffffff;
    color: #333333;
    font-size: 13px;
}

.detajler-felt input[type="text"]:disabled {
    background-color: #e8e4da;
    color: #8c8c8c;
    border-color: #c4bca8;
    cursor: not-allowed;
}

#brugerDetaljerNavn,
#brugerDetaljerEmail,
#brugerDetaljerPassword {
    width: 250px;
}

.brugere-select {
    height: 30px;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid #8a7a55;
    border-radius: 3px;
    background-color: #ffffff;
    color: #333333;
    font-size: 13px;
}

.brugere-select:disabled {
    background-color: #e8e4da;
    color: #8c8c8c;
    border-color: #c4bca8;
    cursor: not-allowed;
}

.bruger-id-felt {
    display: inline-block;
}

.bruger-id-felt .detajler-vaerdi {
    width: auto;
}

.brugere-raekke2 {
    margin-top: 8px;
}

.detajler-luk {
    position: fixed;
    left: 10px;
    top: 10px;
    z-index: 10000;
}

.detajler-knap-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.detajler-status {
    margin-top: 20px;
    font-weight: bold;
    font-size: 14px;
}

.detajler-status.succes {
    color: #2e7d32;
}

.detajler-status.fejl {
    color: #c62828;
}

.detajler-popup {
    position: fixed;
    z-index: 10001;
    background-color: #ffffff;
    border: 1px solid #8a7a55;
    border-radius: 4px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    padding: 14px;
    color: #333333;
    font-size: 14px;
    text-align: center;
}

.detajler-popup-message {
    margin-bottom: 12px;
}

.popup-knap-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.kategorier-tabel th:nth-child(1),
.kategorier-tabel td:nth-child(1) {
    white-space: nowrap;
}

.export-luk {
    position: fixed;
    left: 10px;
    top: 10px;
}

.brugere-luk {
    position: fixed;
    left: 10px;
    top: 10px;
}

.export-tabel tbody tr {
    cursor: default;
}

.export-grid {
    height: auto;
}

.export-hoejre {
    position: relative;
    flex: 0 1 auto;
    width: fit-content;
    min-width: 0;
    max-width: 100%;
    margin-right: 10px;
}

.export-antal {
    position: absolute;
    left: -1px;
    bottom: calc(100% + 20px);
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    white-space: nowrap;
}

.export-thumbnails {
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    background-color: #cdbb93;
    border: 1px solid #8a7a55;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, 200px);
    gap: 10px;
    align-content: start;
    justify-items: center;
}

.export-knapper {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

body.export-side {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
}

body.export-side .kategorier-wrapper {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow-x: hidden;
}

body.export-side .export-raekke {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    align-items: stretch;
    gap: 10px;
    overflow-x: hidden;
}

body.export-side .export-grid {
    flex: 0 0 auto;
    min-width: 0;
    overflow-x: hidden;
}

body.export-side .export-hoejre {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: 100%;
    overflow-x: hidden;
}

body.export-side .export-thumbnails {
    flex: 1 1 auto;
    width: 100%;
    max-width: 1290px;
    min-width: 0;
    min-height: 0;
    grid-template-columns: repeat(auto-fill, 200px);
    overflow-x: hidden;
}

body.export-side .export-knapper {
    margin-bottom: 10px;
}

.export-gem-besked {
    margin-left: 20px;
    align-self: center;
    color: green;
    font-weight: bold;
}

.export-progress {
    width: 300px;
    height: 5px;
    margin-left: 20px;
    align-self: center;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    overflow: hidden;
}

.export-progress-fyld {
    height: 100%;
    width: 0%;
    background-color: green;
}

.export-gem-besked.export-gem-besked-fejl {
    color: red;
}

.thumbnail-celle {
    position: relative;
    width: fit-content;
    cursor: pointer;
}

.thumbnail-celle input[type="checkbox"] {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    margin: 0;
    pointer-events: none;
}

.export-thumbnails img.landscape {
    width: 200px;
    max-width: 100%;
    height: auto;
}

.export-thumbnails img.portrait {
    height: 200px;
    width: auto;
    max-width: 100%;
}

.arranger-thumbnails img.landscape {
    width: 200px;
    max-width: 100%;
    height: auto;
}

.arranger-thumbnails img.portrait {
    height: 200px;
    width: auto;
    max-width: 100%;
}

.arranger-indhold {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 20px 0 0 10px;
    box-sizing: border-box;
}

.arranger-thumbnails {
    width: fit-content;
    max-width: calc(100% - 10px);
    height: auto;
    min-height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    background-color: #cdbb93;
    border: 1px solid #8a7a55;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(5, 200px);
    gap: 10px;
    align-content: start;
    justify-items: center;
    margin: 0;
}

.arranger-kategori-valg {
    display: grid;
    grid-template-columns: repeat(4, 200px);
    gap: 5px;
    align-content: start;
    box-sizing: border-box;
    background-color: #cdbb93;
    border: 1px solid #8a7a55;
    padding: 5px;
}

.arranger-kategori-valg .kategori-rektangel {
    width: 200px;
    height: 140px;
    box-sizing: border-box;
    border: 1px solid #8a7a55;
    background-color: #b8a884;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
}

.arranger-kategori-valg .kategori-rektangel.draeger-over {
    outline: 2px dashed #8a7a55;
    outline-offset: -2px;
    background-color: #9d8a5e;
}

.arranger-knapper {
    display: flex;
    gap: 10px;
    margin: 10px 0 0 10px;
}

.arranger-knapper .arranger-ny-kategori {
    margin-left: 0;
}

.arranger-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.arranger-popup.jmhide {
    display: none;
}

.arranger-popup-boks {
    background-color: #ffffff;
    border: 1px solid #8a7a55;
    border-radius: 4px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    padding: 18px;
    color: #333333;
    font-size: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 280px;
}

.arranger-popup-boks label {
    font-weight: bold;
}

.arranger-popup-boks input[type="text"] {
    padding: 6px 8px;
    border: 1px solid #8a7a55;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    width: 100%;
}

.arranger-popup-knapper {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.arranger-popup-message {
    margin-bottom: 4px;
}

.arranger-thumbnails .thumbnail-celle {
    cursor: move;
}

.thumbnail-celle.draeger-celle {
    opacity: 0.4;
}

.thumbnail-celle.draeger-over {
    outline: 2px dashed #8a7a55;
    outline-offset: -2px;
}

@media (max-width: 1900px) {
    .arranger-kategori-valg {
        grid-template-columns: repeat(3, 200px);
    }
}

@media (max-width: 1695px) {
    .arranger-kategori-valg {
        grid-template-columns: repeat(2, 200px);
    }
}

@media (max-width: 1490px) {
    .arranger-thumbnails {
        grid-template-columns: repeat(4, 200px) !important;
    }
}

@media (max-width: 1280px) {
    .arranger-thumbnails {
        grid-template-columns: repeat(3, 200px) !important;
    }
}

@media (max-width: 1060px) {
    .arranger-thumbnails {
        grid-template-columns: repeat(2, 200px) !important;
    }
}
