:root {
    --fm-invert-icons: 0;
}

html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
    background-color: currentColor;
    /*-webkit-mask: url('../images/Sharp.FM.Text.Only.blue.svg');
    mask: url('../images/Sharp.FM.Text.Only.blue.svg');*/
    -webkit-mask: url('../images/Sharp.FM.Header.svg');
    mask: url('../images/Sharp.FM.Header.svg');
    -webkit-mask-position: center;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 180px;
    height: 24px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

.logon-main {
    padding: 20px !important;
    width: 450px !important;
    max-width: 450px !important;
    border: none !important;
    border-radius: 20px !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    /*height: 100% !important;*/
}

.no-border {
    border: none !important;
}

.middle-text-separator {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.toolbar-language-switcher-wrapper {
    min-width: 200px !important;
    margin-right: 0 !important;
    margin-left: auto !important;
}

.logon-toolbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-top: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 120px !important;
}

/*filter: invert(39%) sepia(25%) saturate(367%) hue-rotate(192deg) brightness(100%) contrast(100%) !important;*/
.dxbl-accordion .dxbl-accordion-group .dxbl-accordion-group-header .dxbl-accordion-item-content > .dxbl-image {
    filter: invert(var(--fm-invert-icons)) !important;
}

.logon-right {
    display: block;
    background-color: var(--bs-primary);
    color: white;
    height: 100vh;
}

.logon-holder {
    width: 100% !important;
}

@media (max-width: 1199.98px) {
    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        --bs-gutter-x: 0 !important;
    }

    .logon-holder {
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        --bs-gutter-x: 0 !important;
    }

    .logon-main {
        padding: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        border: none !important;
        border-radius: 20px !important;
        position: absolute;
        margin-left: auto !important;
        margin-right: auto !important;
        /*height: 75% !important;*/
        top: 50%;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .logon-right {
        display: none !important;
    }
}

.dashboard-viewcontainer-top{
    padding-top:50px;
}

.dashboard-viewcontainer .dxbl-btn-toolbar[role="toolbar"] {
    display: flex;
    flex-direction: column;
    color: white;
}

    .dashboard-viewcontainer .dxbl-btn-toolbar[role="toolbar"] > div {
        margin-bottom: 1rem;
        margin-left: 1rem;
        justify-content: center;
    }

.dashboard-viewcontainer button {
    background-color: #004586;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    max-width: 30vw;
    min-width: 30vw;
    height: 60px;
}

    .dashboard-viewcontainer button:disabled {
        background-color: #ced4da;
        color: black;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 4px;
        cursor: pointer;
        font-weight: bold;
        font-size: 20px;
        max-width: 30vw;
        min-width: 30vw;
        height: 60px;
    }

@media (max-width: 800px) {

    .dashboard-viewcontainer button {
        font-size: 15px;
        max-width: 40vw;
        min-width: 40vw;
        height: 45px;
    }

    .dashboard-viewcontainer button:disabled {
        font-size: 15px;
        max-width: 40vw;
        min-width: 40vw;
        height: 45px;
    }
}

@media (max-width: 600px) {

    .dashboard-viewcontainer button {
        font-size: 18px;
        max-width: 70vw;
        min-width: 70vw;
        height: 42px;
    }

    .dashboard-viewcontainer button:disabled {
        font-size: 18px;
        max-width: 70vw;
        min-width: 70vw;
        height: 42px;
    }
}

.dashboard-viewcontainer button:hover {
    background-color: darkblue !important;
    color: white !important;
}

    .dashboard-viewcontainer button:hover:disabled {
        background-color: #ced4da !important;
        color: black !important;
    }

.dashboard-viewcontainer button:active,
.dashboard-viewcontainer button:focus {
    background-color: #004586 !important;
    color: white !important;
    outline: none !important;
    box-shadow: none !important;
}

/*@media (max-width: 1366px) {
    app .header-left-side {
        min-width: 48px !important;
        width: 48px !important;
        background-color: var(--bs-white) !important;
        color: var(--bs-primary) !important;
    }

        app .header-left-side .header-logo {
            display: none !important;
        }

    app .sidebar {
        display: none !important;
    }

    app .collapse-toggle .sidebar {
        display: flex !important;
    }

    app .collapse-toggle .header-left-side {
        min-width: 270px;
        background-color: var(--bs-primary) !important;
        color: var(--bs-white) !important;
    }
}
*/

#QRAndBarcodeReading video {
    width: 80vw;
    max-width: 400px;
    height: auto;
}

@media (max-width: 768px) {
    #QRAndBarcodeReading video {
        width: 95vw; /* Mobilon a videó szélessége 95%-ra nőhet */
        max-width: none; /* Mobilon nincs maximális szélesség limit */
    }
}

.xaf-alerts-stack{
    white-space:pre-line!important;
}

.xaf-alerts-stack-inner{
    width:700px!important;
}

.xaf-masterdetail-detailview{
    margin-left:60px!important;
}