:root {
    --appt-bg-color: #fefefe; /* Standard-Hintergrundfarbe */
    --appt-bg-hover: #e0f1ff; /* Hover-Hintergrundfarbe */
    --appt-icon-color: #007acc; /* Standard-Iconfarbe */
    --appt-icon-hover: #005c8e; /* Hover-Iconfarbe */
}


html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}
.transparent-body {
    top: 0;
    left: 0;
    background-image: url('_content/SO.Blazor.StaticRes/images/logos/logonew.svg'), url('_content/SO.Blazor.StaticRes/images/bg/bg.jpg');
    background-size: contain,cover;
    background-position: center;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
    width: 100%;
    height: 100%;
}
/*.dxbl-fl .dxbl-fl-item.dxbl-fl-item-horizontal*/
.buttonBetont {
    border: double 3px;
    border-color: gold;
    transition: clip-path 0.6s linear;
    /*    mask-image: url("../images/icons/info.svg");
    -webkit-mask-image: url("../images/icons/info.svg");*/
}
buttonBetont:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.header-logo {
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url('_content/SO.Blazor.StaticRes/wwwroot/images/logos/logo2.svg');
    mask: url('_content/SO.Blazor.StaticRes/wwwroot/images/logos/logo2.svg');
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 180px;
    height: 24px;
}



.homeactionbutton {
    /*box-shadow: inset 0px 34px 0px -15px #b54b3a;*/
    background-color: #a73f2d;
    border-radius: 14px;
    border: 1px solid #241d13;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    padding: 12px 43px;
    text-decoration: none;
    text-shadow: 0px -1px 0px #7a2a1d;
}

.homeaparamction {
    /*box-shadow: inset 0px 34px 0px -15px #b54b3a;*/
    background-color: transparent;
    border-radius: 0px;
    border: 0px solid #241d13;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    padding: 12px 43px;
    text-decoration: none;
    text-shadow: 0px -1px 0px #7a2a1d;
}


    .homeStaticText{
       color:red;
    }
.homeStaticTextUserName {
    color: green;
    font-size:24px;
}

.text-red .dxbl-text-edit-input
{
    color:red;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}





.demo-drawer-mini .demo-drawer-mini-menu .dxbl-menu-item-text {
    visibility: hidden;
    transition: visibility linear var(--dxbl-drawer-animation-duration);
}

.demo-drawer .dxbl-drawer-content {
    font-size: var(--dxbl-drawer-panel-font-size);
    line-height: var(--dxbl-drawer-panel-line-height);
    overflow: auto;
    padding: var(--dxbl-drawer-panel-padding-y) var(--dxbl-drawer-panel-padding-x);
}

.demo-drawer:has(.demo-drawer-menu) {
    --dxbl-drawer-panel-body-padding-x: 0;
    --dxbl-drawer-panel-body-padding-y: 0;
}

.dxbl-menu.demo-drawer-menu {
    --dxbl-menu-item-padding-x: 0.9375rem;
    --dxbl-menu-top-left-border-radius: 0;
    --dxbl-menu-top-right-border-radius: 0;
    --dxbl-menu-bottom-left-border-radius: 0;
    --dxbl-menu-bottom-right-border-radius: 0;
}

.dxbl-sm .dxbl-menu.demo-drawer-menu {
    --dxbl-menu-item-padding-x: 0.8125rem;
}

.dxbl-lg .dxbl-menu.demo-drawer-menu {
    --dxbl-menu-item-padding-x: 1.0625rem;
}

.theme-fluent-light .dxbl-menu.demo-drawer-menu,
.theme-fluent-dark .dxbl-menu.demo-drawer-menu {
    --dxbl-menu-item-padding-y-s: var(--DS-sizing-xs);
}

.theme-fluent-light .dxbl-btn-toolbar .dxbl-btn.demo-drawer-toggle-button,
.theme-fluent-dark .dxbl-btn-toolbar .dxbl-btn.demo-drawer-toggle-button {
    --dxbl-btn-padding-x-s: var(--DS-sizing-s);
    --dxbl-btn-padding-x-m: var(--DS-sizing-m);
    --dxbl-btn-padding-x-l: var(--DS-sizing-l);
}

/* Layout & Structure */
.so-body {
    height: 100%;
    /* Add other body styles as needed */
}

/* Buttons */
.so-button { /* General button styles */
}

.so-button-primary.btn.btn-primary {
    /* Primary button styles */
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
}

.so-button-secondary.btn.btn-secondary {
    /* Secondary button styles */
    background-color: #6c757d;
    color: #fff;
    border: 1px solid #6c757d;
}

/* Headings */
.so-h1 {
    font-size: 2.5em;
    font-weight: bold;
}

.so-h2 {
    font-size: 2em;
    font-weight: bold;
    opacity: 0.9;
    margin: 10px;
}

.so-h3 {
    font-size: 1.5em;
    font-weight: bold;
}

.so-h4 {
    font-size: 1.2em;
    font-weight: bold;
}

.so-h5 {
    font-size: 1em;
    font-weight: bold;
}

.so-h6 {
    font-size: 0.9em;
    font-weight: bold;
}

/* Text Styles */
.so-text-center.text-center {
    text-align: center;
}

.so-text-right.text-right {
    text-align: right;
}

.so-text-bold.font-weight-bold {
    font-weight: bold;
}

.so-text-italic.font-italic {
    font-style: italic;
}

/* Forms */
.so-input.form-control { /* General input styles */
}

.so-input-text.form-control { /* Text input styles */
}

.so-input-password.form-control { /* Password input styles */
}

.so-form-label.form-label { /* Label styles */
}

/* Lists */
.so-list.list-group { /* List styles */
}

.so-list-item.list-group-item { /* List item styles */
}

/* Navigation (Menus) */
.so-nav.navbar { /* Navigation styles */
}

.so-nav-item.nav-item { /* Navigation item styles */
}

.so-nav-link.nav-link { /* Navigation link styles */
}

/* Icons */
.so-icon { /* Icon styles */
}

.so-footer {
    height: 60px;
}

.so-footer-bar .dxbl-toolbar-placeholder {
    -ms-align-content: center !important;
    -webkit-align-content: center !important;
    align-content: center !important;
}

.main-toolbar {
    height: 50px !important;
}

.small-btn-outline dxbl-btn {
    background-color: red;
}

.so-progressbar .dxbl-progress-bar-indicator {
    background-color: ActiveCaption !important;
}

.so-viewcaption-detail {
    font-size: 2.5em;
    color: darkred
}

.animated-text {
    /*font-size: 50px;*/
    font-size: 1.5em;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6a00, #ee0979, #ff6a00, #ee0979);
    background-size: 400% 400%;
    color: transparent !important;
    -webkit-background-clip: text;
    animation: gradientAnimation 3s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Primärer Outline-Button */
.so-button .dxbl-toolbar-btn {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #007bff; /* Primärfarbe für die Grenze */
    background-color: transparent;
    color: #007bff; /* Primärfarbe für den Text */
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.so-button:hover {
    background-color: #007bff; /* Hintergrundfarbe beim Hover */
    color: white; /* Textfarbe beim Hover */
}

.so-button:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Fokus-Effekt */
}

.button-primary-outline:active {
    background-color: #0056b3; /* Hintergrundfarbe beim Klicken */
    border-color: #0056b3; /* Randfarbe beim Klicken */
    color: white; /* Textfarbe beim Klicken */
}

.so-button-new .so-button {
}
.static-text-big {
    font-size: 1.5em;
    font-weight: bold;
    color: #ff6a00;
}

/*scheduler*/
.appt-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2px 8px;
    border-left: 5px solid #007acc;
    padding-left: 8px;
    background-color: var(--appt-bg-color);/*  Verwende die Standardfarbe */
    border-radius: 4px;
    font-family: sans-serif;
    font-size: 12px;
    color: #333;
    box-sizing: border-box;
    gap: 0;
    height: 100%;
    width:100%;
    min-height: 24px;
    transition: background-color 0.3s, color 0.3s; /* Für den sanften Übergang */
}
.apt-container-border-red.appt-container {
    border-left: 5px solid #7a2a1d !important;
}

.appt-container.border-red {
    border-left: 5px solid #7a2a1d !important;
}

.apt-container-border-green.appt-container {
    border-left: 5px solid #2d7a1d !important;
}

.appt-container.border-blue {
    border-left: 5px solid #1d5d7a !important;
}


.appt-container:hover {
    background-color: var(--appt-bg-hover); /* Hintergrundfarbe beim Hover */
}

.appt-header {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #007acc;
    min-height: 24px;
    padding: 2px 0;
}

.appt-icon {
    margin-right: 6px;
    font-size: 14px;
    color: var(--appt-icon-color); /* Standard-Iconfarbe */
    transition: color 0.3s; /* Sanfter Übergang für Iconfarbe */
}

    .appt-icon:hover {
        color: var(--appt-icon-hover); /* Hover-Iconfarbe */
    }

/*.appt-subject {
    font-size: 12px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}*/
.appt-subject {
    font-size: 12px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: bold
}

.appt-time {
    font-size: 12px;
    color: #666;
}

.appt-description {
    font-size: 12px;
    color: #444;
    max-height: 2.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.appt-extra {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.appt-short {
    height: 100%;
    overflow: hidden;
    padding: 0px 6px;
    font-size: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.appt-short-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2px 8px; /* Mehr Abstand zwischen Inhalt und Rand */
    width: 100%;
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
    font-weight: bold; /* Subject fett */
    color: #007acc;
    box-sizing: border-box;
    font-weight: bold
}

.appt-icon-wrapper {
    position: relative;
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.appt-icon-default,
.appt-icon-hover {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    transition: opacity 0.3s;
}

.appt-icon-hover {
    opacity: 0;
}

.appt-container:hover .appt-icon-default {
    opacity: 0;
}

.appt-container:hover .appt-icon-hover {
    opacity: 1;
}
}
.so-additionalcaption {
    margin-left: 30px;
    font-size: 1.5em;
    font-weight: bold;
    color: #ff6a00;
}
.so-row {
    display: flex; /* Enables flexbox */
    width: 100%; /* Occupy full width of parent */
}

.so-column {
    /* Common styles for both columns */
    padding: 10px; /* Add some padding */
    box-sizing: border-box; /* Include padding in width calculation */
}


.so-column-25 {
    width: 25%;
}
.so-column-50 {
    width: 50%;
}
.so-column-75 {
    width: 75%;
}
.so-column-33 {
    width: 33%;
}

/*template classes*/
.so-functions-action-container {
    margin-bottom:5px;
    /*    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #ccc;*/
}

.so-additional-caption {
    font-size: 1.5em;
    font-weight: bold;
    color: #ff6a00;
}
.so-object-message {
    font-size: 1.5em;
    font-weight: bold;
    color: lightgreen;
}
.so-object-description {
    font-size: 1.5em;
    font-weight: bold;
    color: lightgoldenrodyellow;
}
.so-caption-detailview {
    font-size: 1.5em;
    font-weight: bold;
    color: lightgoldenrodyellow;
}

.so-label-editor {
    font-size: 1.5em;
    font-weight: bold;
    color: lightgoldenrodyellow;
}
.iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: white;
}

    .iframe-container.hidden {
        opacity: 0;
        pointer-events: none;
    }

    .iframe-container.visible {
        opacity: 1;
    }



.dynamic-iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

.dashboard-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: darkgoldenrod;
    color: black;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

    .dashboard-button:hover {
        background-color: #005a9e;
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }

.user-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 400px;
    background-color: #fff;
    transition: transform 0.2s ease-in-out;
    height: 100%;
}

    .user-card:hover {
        transform: scale(1.02);
    }

.user-image {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: bold;
    font-size: 1.2rem;
}

.user-description {
    color: #555;
    font-size: 0.95rem;
}
/*Dashboard termin liste*/
.event-list-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-card {
    padding: 10px;
    /*background-color: #f5f5f5;*/
    border-left: 5px solid #007acc;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}



.event-time, .event-location {
    font-size: 0.9rem;
    color: #555;
}
/*DAshboard extern*/
.dashboard-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
