@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.container-wide {
    max-width: calc(100vw - 55px) !important;
    height: calc(100vh - 36px) !important;
    overflow: auto;
    padding-bottom: 32px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  /*box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;*/
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

body {
    font-family: var(--kendo-font-family);
    color: var(--kendo-color-on-app-surface);
    background-color: var(--kendo-color-app-surface);
    overflow: hidden;
    scrollbar-width: thin;
}

.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.wrapper {
    display: flex;
    position: relative;
    min-height: 100vh;
}

    .wrapper header {
        width: 55px;
        height: 100%;
        padding: 0;
        position: fixed;
        z-index: 4;
        transition: width 0.1s;
    }

        .wrapper header ul.navbar-nav {
            white-space: nowrap;
            overflow: hidden;
        }

            .wrapper header ul li {
                padding: 0 1rem;
            }

                .wrapper header ul li a {
                    display: block;
                }

                    .wrapper header ul li a .fas {
                        width: 25px;
                    }

                /* Should be replaced with theme specific primary-hover or similar */
                .wrapper header ul li:hover {
                    background-color: rgba(255, 255, 255, 0.15);
                }

                    .wrapper header ul li:hover a {
                        /*color: var(--sidebar-color);*/
                    }



    .wrapper .main-content {
        width: 100%;
        min-height: 100%;
        margin-left: 55px;
        display: grid;
    }

    .wrapper .details-pane {
        width: 0px;
        height: 100%;
        padding: 0;
        position: fixed;
        right: 0;
        z-index: 3;
        background-color: var(--kendo-color-base);
        transition: width 0.1s;
        box-shadow: 0px 8px 10px 0 rgba(0,0,0,.2),0px 6px 30px 0 rgba(0,0,0,.12),0px 16px 24px 0 rgba(0,0,0,.14);
    }

/* Should be replaced with theme specific primary-active or similar */
li.nav-item.active {
    background-color: rgba(255, 255, 255, 0.15);
}

.sidebar-text {
    margin-left: 0.5rem;
}

.fa-fw {
    font-size: 12pt;
}


.k-orgchart-card-active {
    background-color: var(--kendo-color-success);
}

.details-pane .k-overlay {
    opacity: 0 !important;
}

.details-pane .k-window {
    width: 100%;
    max-height: 100vh;
    top: 0 !important;
    left: 0 !important;
    box-shadow: none;
    background-color: inherit;
}

.details-pane .k-window .k-popup-edit-form .k-edit-form-container {
    width: 100%;
}

.details-pane .k-window .k-actions [ref-cancel-button] {
    display: none;
}

a.nav-link, a.nav-link:hover, a.nav-link:visited, a.nav-link:active a{
    color: var(--kendo-color-on-app-surface);
}

.user-menu {
    background-color: var(--kendo-color-base);
    width: 200px;
    position: absolute;
    right: 0;
    box-shadow: 0px 8px 10px 0 rgba(0,0,0,.2),0px 6px 30px 0 rgba(0,0,0,.12),0px 16px 24px 0 rgba(0,0,0,.14);
    z-index: 4;
}

    .user-menu .navbar-nav {
        flex-direction: column;
    }

        .user-menu ul li:hover {
            background-color: var(--kendo-color-base-hover);
        }


.project-status-badge {
    padding: 0.25rem;
    border-radius: 3px;
    white-space: nowrap;
    color: #fff;
}

.nav-link {
    transition: none;
}

.warning-dot {
    width: 8px;
    height: 8px;
    background-color: darkorange;
    border-radius: 100%;

}
.custom-tooltip {
    position: relative;
    display: block;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.tooltiptext {
    visibility: hidden;
    width: fit-content;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 8px 10px;
    position: absolute;
    top: 50%;
    left: 120%; /* positions it to the right of the icon */
    transform: translateY(-50%);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

    .tooltiptext::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 100%; /* Arrow points to the element */
        margin-top: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: transparent #333 transparent transparent;
    }

.custom-tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.k-radio-list-horizontal, .k-radio-list.k-list-horizontal {
    gap: 0.75rem;
}

.text-danger {
    color: var(--kendo-color-error-active) !important;
}

.validation-summary-errors ul {
    list-style: none;
    padding-left: 0;
}


.project-detail-menu {
    height: 40px;
}

.project-detail-item{
    opacity: 0.5;
}
.project-detail-item:hover {
    opacity: 1;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: var(--kendo-color-base-subtle);
}

.active-project-detail {
    position: relative;
    height: 41px;
    background-color: var(--kendo-color-app-surface);
    border-top: 2px solid #dee2e6;
    border-left: 2px solid #dee2e6;
    border-right: 2px solid #dee2e6;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    color: var(--kendo-color-primary) !important;
    opacity: 1;
}

.k-grid td {
    white-space: nowrap;
    overflow: hidden;
}

.k-grid .k-grid-md td, .k-grid .k-grid-md .k-table-td, .k-grid-md td, .k-grid-md .k-table-td, .k-grid-md .k-table-th {
    padding-block: 2px;
    padding-inline: 5px;
}

.k-grid .k-grid-md .k-table-th, .k-grid-md .k-table-th {
    padding-block: 2px;
    padding-inline: 5px;
}

.k-grid td, .k-grid .k-table-td {
    white-space: nowrap;
}

.budget-keypoint {
    min-width: 100px;
    padding: 16px;
    border: 2px solid var(--kendo-color-border);
    border-radius: 8px;
    text-align: center;
    background-color: var(--kendo-color-primary-subtle);
}

.price-container {
    padding: 16px;
    border: 1px solid var(--kendo-color-base-subtle);
    border-radius: 8px;
}

.main-tab-strip > .k-tabstrip-items-wrapper {
    background-color: var(--kendo-color-base);
}

.k-checkbox-label{
    margin-right: 16px;
}

.budget-active-pill {
    padding: 4px 8px;
    border-radius: 16px;
    background-color: var(--kendo-color-success);
    font-size: 10px;
    color: black;
}
.k-input-value-text{
    display: flex;
    width: 100%
}

.k-list-item-text {
    display: flex;
    width: 100%;
}

.registration-price:hover {
    background-color: var(--kendo-color-base-subtle);
}

.overview-info-container {
    border: 1px solid var(--kendo-color-base-subtle);
    border-radius: 8px;
    padding: 16px;
}

.registraitons-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    width: 54px;
    border-radius: 100%;
}

.primary-background {
    background-color: var(--kendo-color-primary);
}

.primary-subtle-background {
    background-color: var(--kendo-color-primary-subtle);
}

.success-background {
    background-color: var(--kendo-color-success);
}

.success-subtle-background {
    background-color: var(--kendo-color-success-subtle);
}

.secondary-background {
    background-color: var(--kendo-color-secondary);
}

.warning-background {
    background-color: var(--kendo-color-warning);
}

.alert-subtle-background {
    background-color: var(--kendo-color-error-subtle)
}

.dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 100%;
    font-size: 8px;
}

.budget-tabel {
    border: 1px solid var(--kendo-color-border) !important;
    padding: 4px !important;
}

.k-popup .k-menu-group {
    background-color: var(--kendo-color-base);
}

.key-number {
    padding: 0px 4px;
    border-radius: 8px;
    font-size: 14px;
}

.disabled-color {
    background-color: var(--kendo-color-border);
}

.gauge-font {
    font-size: 14px;
}

.help-icon-container {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}
.help-icon-container:hover {
    background-color: var(--kendo-color-base-subtle-hover);
    cursor: pointer;
}
/* Er angivet, da arcgauge har svært ved at alligne texten, hvis elementet skjules også vises. Alignment passer til dem der bliver brugt i overblik og budget */
.k-arcgauge-label {
    top: 22.5px !important;
}

.color-yellow {
    color: var(--kendo-color-warning);
}

.subscription-container {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid var(--kendo-color-primary);
    min-width: 250px;
}

.subscription-current-tier {
    background-color: var(--kendo-color-primary);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    width: fit-content;
    padding: 4px 16px;
}

.text-color-primary {
    color: var(--kendo-color-primary);
}

.primary-round-border {
    border: 1px solid var(--kendo-color-primary);
    padding: 0 4px;
    border-radius: 8px;
}

.reg-multiplier-dot {
    padding: 1px 4px;
    border-radius: 100%;
    background-color: var(--kendo-color-primary-subtle-active);
    margin-right: 4px;
}

.banner-warning {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 26px;
    background-color: var(--kendo-color-warning);
    position: absolute;
    z-index: 1;
    padding: 0 8px;
}

.close-banner{
    padding: 0 8px;
    cursor: pointer;
    border-radius: 8px;
}

.close-banner:hover {
    background-color: var(--kendo-color-warning-subtle-hover);
}

.state-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.k-tabstrip-content:focus, .k-tabstrip-content.k-state-focused, .k-tabstrip > .k-content:focus, .k-tabstrip > .k-content.k-state-focused {
    outline: none;
}

.background-series-a {
    background-color: var(--kendo-color-series-a);
}

.background-series-b {
    background-color: var(--kendo-color-series-b);
}

.background-series-c {
    background-color: var(--kendo-color-series-c);
}

.background-series-d {
    background-color: var(--kendo-color-series-d);
}

.background-series-e {
    background-color: var(--kendo-color-series-e);
}

.background-series-f {
    background-color: var(--kendo-color-series-f);
}

.projectcard-sub-grid {
    background-color: var(--kendo-color-primary-sublte);
}

.project-card-btn {
    height: 35px;
    width: 35px;
}

#projectCardGrid, #projectCardGrid :is(div, tr, thead, .k-group-footer td, tfoot) {
    background-color: transparent !important;
}

.k-toolbar .k-button-group .k-button-solid-base.k-selected {
    color: var(--kendo-color-on-primary);
    background-color: var(--kendo-color-primary);
    border-color: var(--kendo-color-primary);
}

#invoicingWindow {
    max-height: calc(100vh - 56px) !important;
}

#projectTreeList .k-grid-content tr:hover {
    cursor: pointer;
}
