/* Utilities and Helpers */
.bodyback { background-color: var(--BODYBACKGROUND); }
.inputcolor { background-color: var(--INPUTBACKGROUND); }
.inputsecondarycolor { background-color: var(--INPUTSECONDARY); }
.themeprimary { background-color: var(--THEMEPRIMARY); }
.themesecondary { background-color: var(--THEMESECONDARY); }
.sidebarbackground { background-color: var(--SIDEBARBACKGROUND); }
.menuborderbackground { background-color: var(--MENUBORDER); }
.lighttext { color: var(--LIGHTTEXT); }
.linkcolor { color: var(--LINKCOLOR); }
.basefont { font-size: calc(var(--FONTSIZE) * 1px); font-family: var(--FONTFAMILY); color: var(--TEXTCOLOR); }

/* Border Styles - Mere forretningsorienteret med skarpere kanter */
.menuborder { border: 1px solid var(--MENUBORDER); }
.border { border: 1px solid var(--BORDERCOLOR); }
.bordershadow {
    border: 1px solid var(--BORDERCOLOR);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 8px;
    border-radius: 2px;
}

/* Base Element Styles */
body {
    background-color: var(--BODYBACKGROUND);
    font-size: calc(var(--FONTSIZE) * 1px);
    font-family: var(--FONTFAMILY);
    color: var(--TEXTCOLOR);
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

body.bodypopup, body.bodyiframe {
    background-color: var(--BODYBACKGROUND);
    font-size: calc(var(--FONTSIZE) * 1px);
    font-family: var(--FONTFAMILY);
    color: var(--TEXTCOLOR);
    padding: 0px;
    margin: 0px;
}

a {
    color: var(--LINKCOLOR);
    text-decoration: none;
    transition: all 0.15s ease;
}

a:hover {
    color: color-mix(in srgb, var(--LINKCOLOR) 85%, black);
    text-decoration: underline;
}

a, img { border: none; outline: none; }

table {
    font-size: calc(var(--FONTSIZE) * 1px);
    font-family: var(--FONTFAMILY);
    color: var(--TEXTCOLOR);
}

hr {
    background-color: var(--BORDERCOLOR);
    border-width: 0;
    color: var(--BORDERCOLOR);
    height: 1px;
    line-height: 0;
    text-align: center;
    width: 80%;
    margin: 20px auto;
    clear: both;
}

/* Form Elements - Mere forretningsm�ssigt og struktureret */
input, select, textarea {
    font-size: calc(var(--FONTSIZE) * 1px);
    font-family: var(--FONTFAMILY);
    background-color: var(--INPUTBACKGROUND);
    border: 1px solid var(--BORDERCOLOR);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
    padding: 8px 10px;
    border-radius: 2px;
    transition: all 0.15s ease;
    color: var(--TEXTCOLOR);
    width: auto;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--THEMEPRIMARY);
    box-shadow: 0 0 0 2px rgba(54, 155, 201, 0.1);
}

input.light {
    font-size: calc(var(--FONTSIZE) * 1px);
    font-family: var(--FONTFAMILY);
    background-color: #f2f2f2;
    background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    padding: 8px 16px;
    color: #444;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    font-weight: normal;
    min-width: 100px;
    text-align: center;
}

input.light:hover {
    background-image: linear-gradient(to bottom, #ffffff, #e8e8e8);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

input.dark {
    font-size: calc(var(--FONTSIZE) * 1px);
    font-family: var(--FONTFAMILY);
    background-color: var(--THEMEPRIMARY);
    background-image: linear-gradient(to bottom, color-mix(in srgb, var(--THEMEPRIMARY) 90%, white), var(--THEMEPRIMARY));
    border-radius: 2px;
    padding: 8px 16px;
    color: white;
    border: 1px solid color-mix(in srgb, var(--THEMEPRIMARY) 80%, black);
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    font-weight: normal;
    min-width: 100px;
    text-align: center;
}

input.dark:hover {
    background-image: linear-gradient(to bottom, var(--THEMEPRIMARY), color-mix(in srgb, var(--THEMEPRIMARY) 90%, black));
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

input:disabled, select:disabled, textarea:disabled {
    opacity: 0.6;
    background-color: #f5f5f5;
    cursor: not-allowed;
}

input.light:disabled, input.dark:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Layout Structure - Mere struktureret og forretningsorienteret */
div.main {
    background-color: #ffffff;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 950px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--BORDERCOLOR);
}

div.popupmain {
    background-color: #ffffff;
    width: 100%;
    padding: 0px;
    margin: 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--BORDERCOLOR);
}

div.iframemain {
    background-color: #ffffff;
    width: 100%;
    padding: 0px;
    margin: 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--BORDERCOLOR);
}

/* Header Styles - Business-orienteret header */
div.header {
    display: table;
    width: 100%;
    height: 80px;
    background-color: white;
    border-bottom: 1px solid var(--BORDERCOLOR);
}

div.popupheader {
    display: table;
    width: 100%;
    height: 30px;
    background-color: white;
    border-bottom: 1px solid var(--BORDERCOLOR);
}

div.iframeheader { display: none; }

/* Logo - venstre celle */
div.headerlogo {
    display: table-cell;
    padding: 12px;
    padding-top: 10px;
    vertical-align: middle;
}

img.logo, img.popuplogo {
    height: 55px;
    vertical-align: middle;
}

/* Navn - midterste celle */
div.headername, div.popupheadername {
    display: table-cell;
    width: 100%;
    padding-left: 10px;
    vertical-align: middle;
    font-size: 2em;
    font-weight: 500;
    color: #333;
}

/* Betalingslogoer - h�jre celle */
.logocontainer {
    float: right;
    text-align: center;
    line-height: 120%;
    padding: 5px;
    padding-right: 10px;
    font-size: 12px;
}

img.logo {
    height: 55px;
    max-width: 100%;
    display: block;
}

img.popuplogo { height: 20px; }

/* Menu Styles - Business-orienteret menu med distinkte afsnit */
div.mainmenu, div.popupmainmenu {
    min-height: 50px;
    background-color: var(--THEMEPRIMARY);
    background-image: linear-gradient(to bottom, color-mix(in srgb, var(--THEMEPRIMARY) 92%, white), var(--THEMEPRIMARY));
    width: 100%;
    position: relative;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    z-index: 100;
    border-bottom: 1px solid color-mix(in srgb, var(--THEMEPRIMARY) 70%, black);
}

div.mainmenuinner, div.popupmainmenuinner {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

div.menupadder {
    padding-top: 8px;
    height: 100%;
}

div.menutable {
    display: table;
    height: 33px;
}

div.menuspacer {
    display: table-cell;
    width: 1px;
}

div.menuspacer:first-child {
    display: table-cell;
    width: 10px;
}

/* Menu items - forretningsorienteret design */
div.menuitem, div.menuitemactive, div.menuitemhover {
    font-size: 14px;
    display: table-cell;
    cursor: pointer;
    transition: all 0.15s ease;
}

div.menuitem {
    background-color: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

div.childmenu div.menuitem {
    z-index: 10000;
    background-color: var(--THEMESECONDARY);
}

div.menuitemactive {
    background-color: rgba(255, 255, 255, 0.15);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

div.menuitem:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

div.menuitem > div, div.menuitemhover > div {
    padding: 8px 15px;
    color: white;
    font-weight: 400;
}

div.menuitemactive > div {
    color: white;
    padding: 8px 15px;
    font-weight: 500;
}

div.menuitem a {
    color: white;
    text-decoration: none;
    transition: color 0.15s;
}

div.menuitemactive a {
    color: white;
    text-decoration: none;
}

/* Login knap - business stil */
div.logoutdiv {
    position: absolute;
    top: 0;
    right: 0;
    height: 50px;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

div.logoutdiv > div {
    background-color: white;
    background-image: linear-gradient(to bottom, #ffffff, #f5f5f5);
    padding: 6px 14px;
    border-radius: 2px;
    color: var(--THEMEPRIMARY);
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    transition: all 0.15s ease;
    border: 1px solid #e0e0e0;
}

div.logoutdiv > div:hover {
    background-image: linear-gradient(to bottom, #ffffff, #eeeeee);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

div.logoutdiv > div img {
    margin-left: 8px;
    height: 16px;
}


div.logindiv { font-size: 12px; float: right; padding: 6px; color: white; padding-bottom: 0px; text-align: center; }
div.logindiv > div { float: right; margin: 3px; margin-left: 5px; background-color: white; cursor: pointer; padding: 5px; -webkit-border-radius: 4px; border-radius: 4px; color: #333333; }


/* Mobile menu styling */
div.mobiletoggle {
    display: none;
    padding: 10px 15px;
    text-align: right;
}

/* Content Styles - Business-orienteret indhold */
div.contentdiv {
    width: 100%;
    padding: 0px;
    margin: 0px;
}

div.contenttable {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

div.contentcell {
    display: table-cell;
    padding: 0px;
    margin: 0px;
    background-color: white;
    vertical-align: top;
    overflow-x: hidden;
}

div.contenthead {
    width: 100%;
    height: auto;
    min-height: 60px;
    background: linear-gradient(to bottom, #ffffff, #f7f7f7);
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
}

div.contenthead > div {
    padding: 15px 25px;
    font-size: 1.5em;
    font-weight: 400;
    color: #333;
}

div.contentbody {
    padding: 20px;
    padding-top: 10px;
}

div.contentpadding {
    padding: 20px;
}

/* Text and Table Styles */
div.text {
    margin: 0 0 20px 0;
    line-height: 1.6;
}

div.fulltable {
    display: table;
    width: 100%;
    margin-bottom: 20px;
}

div.tablerow {
    display: table-row;
}

div.halfcell {
    display: table-cell;
    width: 50%;
    vertical-align: top;
    padding: 0 15px;
}

div.halfcell:first-child {
    padding-left: 0;
}

div.halfcell:last-child {
    padding-right: 0;
}

/* Content Box Styles - Forretningsorienteret boks design */
div.contentbox {
    margin: 0 0 25px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
    background-color: white;
    border: 1px solid var(--BORDERCOLOR);
}

div.contentheader, div.contentboxsub:first-child {
    width: 100%;
    height: auto;
    min-height: 44px;
    background-color: var(--THEMESECONDARY);
    background-image: linear-gradient(to bottom, color-mix(in srgb, var(--THEMESECONDARY) 92%, white), var(--THEMESECONDARY));
    border: none;
    border-bottom: 1px solid color-mix(in srgb, var(--THEMESECONDARY) 80%, black);
    display: flex;
    align-items: center;
}

div.contentheader > div, div.contentboxsub:first-child > div {
    color: var(--LIGHTTEXT);
    font-size: 1.05em;
    padding: 12px 15px;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

div.contentboxmain {
    width: 100%;
    border: none;
    background-color: white;
    padding: 15px;
    box-sizing: border-box;
}

/* Ekstra information header */
div.contentboxsub {
    width: 100%;
    border: none;
    border-top: 1px solid var(--BORDERCOLOR);
    background-color: var(--INPUTSECONDARY);
    border-right: 1px solid var(--BORDERCOLOR);
}

div.contentboxsub > div {
    color: #444;
    padding: 10px 15px;
    font-weight: 500;
}

/* Form Layout - Business-orienteret layout */
div.formname {
    display: table-cell;
    padding: 8px 15px;
    text-align: right;
    vertical-align: middle;
    font-weight: 500;
    color: #444;
    width: 40%;
}

div.forminput {
    display: table-cell;
    padding: 8px;
    vertical-align: middle;
}

div.formbuttonbar {
    text-align: right;
    padding: 20px 10px 5px;
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
}

/* Sidebar Styles - Forretningsorienteret sidebar */
div.sidebarcell, div.sidebarcellleft, div.sidebarcellright {
    overflow-x: hidden;
    display: table-cell;
    padding: 0px;
    margin: 0px;
    width: 280px;
    background-color: var(--SIDEBARBACKGROUND);
    vertical-align: top;
}

div.sidebarcell { border-left: 1px solid var(--BORDERCOLOR); }
div.sidebarcellleft { border-right: 1px solid var(--BORDERCOLOR); }
div.sidebarcellright { border-left: 1px solid var(--BORDERCOLOR); }

div.sidebarcellleft > div, div.sidebarcellright > div {
    padding: 20px;
    padding-top: 10px;
}

div.sidebarbox {
    clear: both;
    margin: 0 0 20px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
    background-color: white;
    border: 1px solid var(--BORDERCOLOR);
}

div.sidebarboxhead {
    width: 100%;
    height: auto;
    min-height: 44px;
    background-color: var(--THEMESECONDARY);
    background-image: linear-gradient(to bottom, color-mix(in srgb, var(--THEMESECONDARY) 92%, white), var(--THEMESECONDARY));
    border: none;
    border-bottom: 1px solid color-mix(in srgb, var(--THEMESECONDARY) 80%, black);
    display: flex;
    align-items: center;
}

div.sidebarboxhead > div {
    color: var(--LIGHTTEXT);
    font-size: 1.05em;
    padding: 10px 15px;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

div.sidebarboxnav {
    width: 100%;
    border: none;
    background-color: white;
}

div.sidebarboxnavitem {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.15s;
}

div.sidebarboxnavitem:last-child {
    border-bottom: none;
}

div.sidebarboxnavitem:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

div.sidebarboxnavitem img {
    padding-right: 10px;
    opacity: 0.7;
    vertical-align: middle;
}

div.sidebarboxnavitem > a {
    color: var(--TEXTCOLOR);
    text-decoration: none;
    display: block;
}

div.sidebarboxmain {
    clear: both;
    width: 100%;
    border: none;
    background-color: #fafafa;
    overflow: hidden;
    padding: 15px;
    box-sizing: border-box;
}

div.sidetext {
    padding: 5px;
    line-height: 1.5;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
}

/* Notification and Calendar - Forretningsm�ssig stil */
div.notification {
    height: 21px;
    width: 23px;
    background-image: url(../images/notice.png);
    background-repeat: no-repeat;
    color: white;
    font-size: 12px;
    text-align: center;
    padding-top: 3px;
}

div.calendaricon {
    float: left;
    margin-right: 15px;
}

div.calendaricon > div {
    width: 48px;
    height: 40px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: bold;
    background-color: white;
    text-align: center;
    padding-top: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    border: 1px solid #e0e0e0;
}

div.eventtitle {
    padding: 5px 3px;
    font-size: 1.1em;
    font-weight: 500;
    color: var(--LINKCOLOR);
}

div.eventsub {
    padding: 4px;
    padding-top: 1px;
    font-size: 0.85em;
    color: #666;
}

/* Data Tables - Business-orienteret tabel */
table.data {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin: 15px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    overflow: hidden;
    background-color: white;
    border: 1px solid var(--BORDERCOLOR);
}

table.data thead:first-child td {
    height: auto;
    min-height: 44px;
    font-size: 1.05em;
    background-color: var(--THEMESECONDARY);
    background-image: linear-gradient(to bottom, color-mix(in srgb, var(--THEMESECONDARY) 92%, white), var(--THEMESECONDARY));
    color: var(--LIGHTTEXT);
    text-align: left;
    padding: 10px 15px;
    font-weight: 500;
    border: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

table.data thead td {
    background-color: #f5f5f5;
    background-image: linear-gradient(to bottom, #ffffff, #f5f5f5);
    border: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 15px;
    font-weight: 500;
    text-align: left;
    color: #444;
}

table.data tbody td {
    background-color: #ffffff;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 8px 15px;
}

table.data tbody tr:last-child td {
    border-bottom: none;
}

table.data tbody tr:hover td {
    background-color: rgba(0, 0, 0, 0.01);
}

/* Footer - Business-orienteret footer */
div.footer, div.popupfooter {
    height: auto;
    min-height: 50px;
    width: 100%;
    background-color: var(--SIDEBARBACKGROUND);
    background-image: linear-gradient(to bottom, #f5f5f5, #eeeeee);
    border-top: 1px solid var(--BORDERCOLOR);
    overflow: hidden;
    display: flex;
    align-items: center;
}

div.iframefooter { display: none; }

div.footerleft {
    padding: 0 25px;
    color: var(--LINKCOLOR);
    flex: 1;
    line-height: 50px;
}

div.footerright {
    padding: 0 25px;
    color: var(--LINKCOLOR);
    line-height: 50px;
}

/* Utility Classes */
div.loader {
    margin: 40px;
    text-align: center;
    font-weight: 500;
    color: #666;
}

.errormessage {
    text-align: center;
    color: #e53935;
    padding: 12px;
    margin: 15px 0;
    background-color: rgba(229, 57, 53, 0.05);
    border-radius: 2px;
    border: 1px solid rgba(229, 57, 53, 0.2);
}

.errormessage:empty { display: none; }

.okmessage {
    margin: 15px 0;
    text-align: center;
    font-weight: 500;
    color: #43a047;
    padding: 12px;
    background-color: rgba(67, 160, 71, 0.05);
    border-radius: 2px;
    border: 1px solid rgba(67, 160, 71, 0.2);
}

.hidden { display: none; }
div.stdmargin { margin: 25px; }

/* Dialog Overlay - Business-orienteret dialogs */
#darkoverlay {
    display: none;
    position: fixed;
    z-index: 800;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}

#dialogdiv {
    display: none;
    position: fixed;
    z-index: 801;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}

#dialogdiv .dialoginner {
    position: relative;
    text-align: left;
    overflow: hidden;
    padding: 0px;
    font-size: 14px;
    margin: 100px auto 0;
    background: white;
    width: 700px;
    height: auto;
    max-height: 80vh;
    border-radius: 2px;
    border: 1px solid var(--BORDERCOLOR);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    max-width: 95%;
}

/* Close button (luk-ikon) styling */
#dialogdiv .close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    opacity: 0.7;
    transition: opacity 0.15s;
}

#dialogdiv .close img {
    width: 100%;
    height: 100%;
}

#dialogdiv .close:hover {
    opacity: 1;
}

#dialogdiv .dialogcontent {
    max-height: calc(80vh - 100px);
    overflow-y: auto;
    padding: 20px;
}

/* Dialog Footer styling */
.dialogfootertext {
    float: left;
    padding: 15px;
    text-align: left;
}

.buttonrow {
    float: right;
    padding: 10px;
    text-align: right;
}

.buttonrow input[type="button"] {
    margin-left: 10px;
}

#dialogdiv .footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}

@media screen and (max-width: 600px) {
    #dialogdiv .footer {
        flex-direction: column;
        padding-bottom: 10px;
    }

    .dialogfootertext {
        width: 100%;
        text-align: center;
        padding: 10px 15px;
    }

    .buttonrow {
        width: 100%;
        text-align: center;
        padding: 0 10px 10px;
    }
}

/* Auth Button Styles - Business-orienteret sociale medieknapper */
.btn-auth, .btn-auth:visited {
    position: relative;
    display: inline-block;
    height: 24px;
    padding: 0 1.2em;
    border: 1px solid #999;
    border-radius: 2px;
    margin: 5px 0;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    line-height: 24px;
    white-space: nowrap;
    cursor: pointer;
    color: #222;
    background: #fff;
    box-sizing: content-box;
    transition: all 0.15s ease;
}

.btn-auth:hover, .btn-auth:focus, .btn-auth:active {
    color: #222;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-auth:before {
    content: "";
    float: left;
    width: 24px;
    height: 24px;
    background: url(../images/auth-icons.png) no-repeat 99px 99px;
}

.btn-auth.large {
    height: 38px;
    line-height: 38px;
    font-size: 15px;
    border-radius: 2px;
    margin: 8px 0;
}

.btn-auth.large:before {
    width: 38px;
    height: 38px;
}

.btn-auth::-moz-focus-inner { border: 0; padding: 0; }

/* Facebook Button */
.btn-facebook, .btn-facebook:visited {
    border-color: #2e4677;
    color: #fff;
    background-color: #3b5998;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-facebook:hover, .btn-facebook:focus {
    color: #fff;
    background-color: #324b81;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-facebook:active {
    color: #fff;
    background: #2e4677;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-facebook:before {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 1em 0 -1em;
    background-position: 0 0;
}

.btn-facebook.large:before { background-position: 0 -22px; }

/* Google Button */
.btn-google, .btn-google:visited {
    border: 1px solid #3079ed;
    color: #fff;
    background: #4285F4;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-google:hover, .btn-google:focus, .btn-google:active {
    color: #fff;
    background-color: #3275e3;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-google:active {
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-google:before {
    margin: 0 1em 0 -1em;
    background-position: -88px 0;
    background-color: white;
    border-radius: 1px 0 0 1px;
}

.btn-google.large:before { background-position: -144px -22px; }

/* Cookie Consent Banner - Business-orienteret banner */
#mscwbox {
    border: none !important;
    background: rgba(35, 35, 35, 0.95) !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    position: fixed;
    width: 100%;
    z-index: 2147483647;
    min-height: 50px;
    bottom: 0;
    opacity: 1 !important;
    padding: 12px 0;
}

#mscwout {
    max-width: 1200px;
    margin: 0 auto;
}

#mscwbox a {
    color: var(--THEMESECONDARY);
    text-decoration: underline;
}

#mscwbtn {
    margin-left: 15px;
    background-color: var(--THEMEPRIMARY);
    background-image: linear-gradient(to bottom, color-mix(in srgb, var(--THEMEPRIMARY) 92%, white), var(--THEMEPRIMARY));
    color: white;
    border: 1px solid color-mix(in srgb, var(--THEMEPRIMARY) 80%, black);
    padding: 8px 16px;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.15s;
    font-weight: 500;
}

#mscwbtn:hover {
    background-image: linear-gradient(to bottom, var(--THEMEPRIMARY), color-mix(in srgb, var(--THEMEPRIMARY) 90%, black));
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Miscellaneous */
.faw-cal-details img {
    max-width: 100%;
    height: auto;
}

div.mobiletoggle {
    display: none;
    padding: 0 15px;
    align-items: center;
    height: 50px;
}

.btn-login-small { display: none; }

/* Login Dialog Styles */
#logindialog, #forgotdialog {
    padding: 20px;
}

.logintextdiv {
    margin-bottom: 20px;
    line-height: 1.6;
}

.logincredentials {
    margin-bottom: 20px;
}

.loginmfadialog {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 2px;
    margin: 15px 0;
    border: 1px solid #e5e5e5;
}

#securitycode {
    letter-spacing: 2px;
    text-align: center;
}

.verifyerror {
    color: #e53935;
    font-weight: 500;
}

#loginthirdparty {
    margin-top: 20px;
    padding: 15px;
    border-top: 1px solid #e5e5e5;
}

/* Responsive Styles */
@media screen and (max-width: 950px) {
    div.main {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }
}

@media screen and (max-width: 768px) {
    div.headerlogo {
        padding: 10px 15px;
    }

    div.headername, div.popupheadername {
        padding: 5px 10px;
        font-size: 1.4em;
    }

    .logocontainer {
        padding: 5px 10px;
        font-size: 11px;
    }

    div.contenthead > div {
        padding: 15px;
        font-size: 1.3em;
    }

    div.contentbody {
        padding: 15px;
    }

    div.contentpadding {
        padding: 15px;
    }

    div.formname {
        width: 30%;
    }

    div.footerleft, div.footerright {
        padding: 0 15px;
        line-height: 40px;
    }

    div.mainmenu {
        justify-content: space-between;
    }

    div.logoutdiv {
        position: static;
        right: auto;
    }
}

@media screen and (max-width: 700px) {
    body {
        font-size: calc((var(--FONTSIZE) - 1) * 1px);
    }

    div.header {
        flex-direction: column;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    div.headerlogo {
        width: auto;
        justify-content: center;
        padding: 10px;
        margin: 0 auto;
    }

    div.headername, div.popupheadername {
        width: 100%;
        padding: 10px 15px;
        text-align: center;
        justify-content: center;
        font-size: 1.5em;
        order: 2;
    }

    .logocontainer {
        width: 100%;
        text-align: center;
        justify-content: center;
        align-items: center;
        padding: 10px 15px;
        margin: 0;
        order: 3;
        background: none;
    }

    div.mainmenu {
        position: relative;
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
    }

    div.mobiletoggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 0 15px;
        height: 50px;
    }

    div.logoutdiv {
        position: absolute;
        top: 0;
        right: 15px;
        height: 50px;
        padding: 0;
        display: flex;
        align-items: center;
        z-index: 5;
    }

    div.logoutdiv > div {
        padding: 6px 12px;
        font-size: 13px;
    }

    div.mainmenuinner {
        display: none;
        flex-direction: column;
    }

    div.mainmenuinneractive {
        display: flex;
        margin-top: 10px;
    }

    div.menupadder {
        flex-direction: column;
        padding-top: 0;
    }

    div.menutable {
        flex-direction: column;
    }

    div.menuitem, div.menuitemactive {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-right: none;
    }

    div.menuitem:last-child, div.menuitemactive:last-child {
        border-bottom: none;
    }

    div.menuitem > div, div.menuitemactive > div {
        padding: 0;
        width: 100%;
    }

    div.menuitem a, div.menuitemactive a {
        padding: 12px 15px;
        width: 100%;
        display: block;
    }

    div.sidebarcellleft { display: none !important; }
    div.sidebarcellright {
        display: block;
        width: 100%;
        border: none;
        border-top: 1px solid var(--BORDERCOLOR);
    }

    div.contentcell {
        display: block;
        width: 100%;
    }

    div.contenthead {
        border-radius: 0;
    }

    div.halfcell {
        display: block;
        width: 100%;
        padding: 0;
    }

    div.halfcell:not(:first-child) {
        margin-top: 20px;
    }

    div.fulltable div.contentpadding {
        padding: 10px;
    }

    div.contentbox div.contentpadding {
        padding: 10px;
    }

    div.responsivetable {
        display: block;
    }

    div.responsivetable div.tablerow {
        display: block;
        margin-bottom: 15px;
    }

    div.responsivetable div.formname {
        display: block;
        width: 100%;
        text-align: left !important;
        padding: 5px 0;
    }

    div.responsivetable div.forminput {
        display: block;
        width: 100%;
        padding: 5px 0;
    }

    div.formbuttonbar {
        text-align: center;
    }

    table.data {
        display: block;
        overflow-x: auto;
    }

    #dialogdiv .dialoginner {
        margin-top: 50px;
        max-height: 85vh;
        left: 2.5% !important;
        width: 95% !important;
        margin-left: 0 !important;
        position: relative;
        overflow: visible;
    }

    #dialogdiv .dialogcontent {
        max-height: calc(85vh - 100px);
    }

    .btn-login-small { display: inline-block; }
    .btn-login-large { margin-bottom: 80px !important; }

    input.memberusername, input.memberpassword, input.memberusernameforgot {
        width: 100%;
    }

    #mscwbox .mscwin {
        flex-direction: column;
        align-items: center;
    }

    #mscwbox #mscwbtn {
        margin-top: 15px;
        margin-left: 0;
    }

    div.formname, div.forminput {
        box-sizing: border-box;
    }

    div.forminput input, div.forminput select, div.forminput textarea {
        width: 100%;
    }

    div.contentboxsub {
        border-right: 1px solid var(--BORDERCOLOR);
    }
}

/* Print Styles */
@media print {
    div.main {
        box-shadow: none;
        width: 100%;
        margin: 0;
    }

    div.header, div.mainmenu, div.footer, div.sidebarcell,
    div.sidebarcellleft, div.sidebarcellright {
        display: none !important;
    }

    div.contentcell {
        display: block;
        width: 100%;
    }

    div.contentbody {
        padding: 0;
    }

    div.formbuttonbar, input.light, input.dark {
        display: none;
    }

    div.contentbox, div.sidebarbox, table.data {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    a {
        color: #333 !important;
        text-decoration: none !important;
    }
}

.eventbigrow td { background: white !important; border-bottom: 1px solid #C2C8CF; padding: 20px; }
@media screen and (max-width: 600px) {
    .eventbigrow td { display: block; width: 100% !important; }
    .eventbigrow td:first-child {  border-bottom: none !important; }
    .eventbigrow td:first-child div{ width: 300px !important; height: 200px !important; }
}
