html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
}

.content {
    background-color: #2F373C !important;
    color: white;
}

.required-caption:after {
    content: '*';
    color: red;
}

.required-caption-double:after {
    content: '**';
    color: red;
}

.pageTitle {
    text-transform:uppercase;
}

.dxbl-itemlist-dropdown {
    max-width: 95vw;
}

.dxbl-group.dxbl-group {
    border-radius: 0.1785rem !important;
}

a.dxbl-active, .dxbl-treeview-item-container.dxbl-active {
    background-color: #303c48 !important;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.tb-icon {
    width: 25px !important;
    height: 25px !important;
    background-size: contain;
    background-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-position: center center;
}

.tb-icon-flag-hu {
    width: 22px !important;
    height: 22px !important;
    background-image: url("../images/flag_hu.png");
}

.tb-icon-flag-en {
    width: 22px !important;
    height: 22px !important;
    background-image: url("../images/flag_en.png");
}

.tb-icon-flag-sv {
    width: 22px !important;
    height: 22px !important;
    background-image: url("../images/flag_sv.png");
}

.dxbs-toolbar-dropdown-item:not(.dx-toolbar-split-btn) > dxbl-toolbar-menu-item > .dropdown-item {
    padding-right: 1rem !important;
}

.dxbl-toolbar-dropdown.dxbl-dropdown-dialog .dxbl-toolbar-dropdown-item .dxbl-toolbar-menu-item .dxbl-dropdown-item.dxbl-btn {
    opacity: unset !important;
}

.dxbl-list-box-render-container > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > .dxbl-list-box-empty-data-container > li:not([dxbl-top-virtual-spacer-element]):not([dxbl-bottom-virtual-spacer-element]) > div:not(.dxbl-list-box-empty-data-area-template-container) {
    padding: 0.1em !important;
    --dxbl-list-box-empty-data-font-weight: bold;
    --dxbl-list-box-empty-data-text-color: black;
}

/*#region Dropdown */
.dd-body-class-25,
.dd-body-class-25 .dxbl-list-box-render-container {
    max-height: 25vh !important;
}

.dd-body-class-50,
.dd-body-class-50 .dxbl-list-box-render-container {
    max-height: 50vh !important;
}

.dd-body-class-75,
.dd-body-class-75 .dxbl-list-box-render-container {
    max-height: 75vh !important;
}
/*#endregion*/

/*#region edit popup */
.edit_popup, .edit_popup-25, .edit_popup-50, .edit_popup-75, .edit_popup-full {
    margin: 0.5em !important;
}

@media(min-width:992px) {
    .edit_popup {
        max-width: min(1000px, 98vw) !important;
    }

    .edit_popup-25 {
        max-width: 25vw !important;
    }

    .edit_popup-50 {
        max-width: 50vw !important;
    }

    .edit_popup-75 {
        max-width: 75vw !important;
    }

    .edit_popup-full {
        max-width: 99vw !important;
    }
}

@media(max-width:991px) {
    .edit_popup {
        max-width: min(700px, 95vw) !important;
    }

    .edit_popup-25 {
        min-width: min(560px, 95vw) !important;
        max-width: 25vw !important;
    }

    .edit_popup-50 {
        min-width: min(560px, 95vw) !important;
        max-width: 50vw !important;
    }

    .edit_popup-75 {
        min-width: min(560px, 95vw) !important;
        max-width: 75vw !important;
    }

    .edit_popup-full {
        max-width: min(989px, 99vw) !important;
    }
}
.edit_popup-h25, .edit_popup-h50, .edit_popup-h75, .edit_popup-hfull {
    overflow: scroll !important;
    margin: 0.5em !important;
}

.edit_popup-h25 {
    height: 25dvh !important;
}

.edit_popup-h50 {
    height: 50dvh !important;
}

.edit_popup-h75 {
    height: 75dvh !important;
}

.edit_popup-hfull {
    height: 98dvh !important;
}
/*#endregion*/

/*#region User profile*/
.user-profile {
    display: grid;
    justify-content: center;
}

.user-profile .user-image-container {
    width: 150px;
    height: 150px;
    margin-left: calc((100% - 158px) / 2);
}

.user-profile .user-image {
    height: 150px;
    width: 150px;
    border-radius: 50%;
}

.user-profile .user-image-none {
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background-color: lightgray;
    font-size: 70px;
    text-align: center;
    padding-top: 18%;
}

.user-profile .log-off-btn {
    padding-top: 0.815rem;
    padding-bottom: 0.815rem;
    border-top: 1px solid #e5e5e5;
}

.user-profile .menu-icon-user-profile {
    opacity: 0.25;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}
/*#endregion*/

.alertMessage .dxbs-modal-header {
    font-weight: bold;
    background: linear-gradient(150deg, red, transparent);
}

.alertMessage .dxbs-modal-content {
    background-color: floralwhite !important;
}

.custom-drop-zone {
    padding: 0 !important;
    border-style: dashed !important;
    border-width: 2px !important;
    height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.drop-file-icon {
    background-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-position: center center;
    background-color: currentColor;
    width: 42px;
    height: 42px;
    -webkit-mask-image: url("/images/DropFile.svg");
    mask-image: url("/images/DropFile.svg");
}

.dxbs-calendar .dxbs-calendar-footer {
    display: none !important;
}

.dxbs-gridview .dxbs-table > tbody > tr > td .dxbl-checkbox .dxbl-checkbox-check-element,
.dxbs-gridview .dxbs-table > thead > tr > th .dxbl-checkbox .dxbl-checkbox-check-element {
    margin: 4px 0px 0px 0px !important;
}

.dxbl-fl .dxbl-row .row {
    --bs-gutter-x: 0 !important;
}

.roller-footer.btn-toolbar.card-footer {
    display: none !important;
}

.icon-style {
    margin: 0px 6px 0px 0px;
}

/*#region Progress bar*/
.progress {
    width: 100%;
    background-color: #e9ecef;
}

.progress-bar {
    width: 0;
    background-color: #007bff;
    color: white;
    text-align: center;
    line-height: 30px;
    transition: width 0.4s ease;
}
/*#endregion*/

#reconnect-modal {
    background: white;
    opacity: 0.5;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    position: fixed;
    width: 100%;
    z-index: 1000;
    text-align:center;
    font-size:25px;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
.dxbl-a11y-status-helper {
    display: none;
}

.login-form {
    max-width: 60ch !important;
    margin: 0 auto;
}

.software-info {
    color: #b6b8bb;
    font-size: 0.7rem;
}

.software-info-title {
    font-size: 1.0rem;
}

.width-min-content {
    width: min-content !important;
}

.mw-60 {
    max-height: 60vh;
}

.hidden {
    visibility:collapse;
}

.fs-15 {
    font-size: 1.5em;
}

.dxbl-btn-group {
    align-self: stretch;
}

/*#region Login*/
.login-container {
    background-color: white;
    z-index: 10;
}

.login-info-container {
    min-width: 50vw;
    min-height: 50vh;
    width: max-content;
    border-color: #2F373C !important;
}

.login-header {
    font-size: min(2.2em, 7vmin);
    font-weight: bold;
    text-transform: uppercase;
}

.login-logo {
    max-width: 80vw;
    max-height: 9vh;
}

.login-infos {
    background-color: #2F373C;
    color: white;
    min-width: min(20ch, 30vw);
}

.login-language-select-btn {
    width: 35px !important;
    height: 35px !important;
}
/*#endregion*/

/*#region People */
.selected-count input {
    text-align: center;
}

.person_movementevents_popup {
    max-height: 98dvh;
    overflow:auto;
}

.person_movementevents_popup .movement_event_filter_group label {
    color: black !important;
}

.person_movementevents_popup .pageTitle {
    display: none;
}

.person_edit_popup > * dxbl-form-layout-item + .person_edit_popup > * dxbl-form-layout-item::before {
    content: '/';
    margin: 0 .2em;
}

@media(min-width:992px) {
    .person_edit_popup, .person_movementevents_popup {
        max-width: min(2000px, 98%) !important;
    }
}

.delete-confirm-list {
    max-height: 60vh;
    overflow: auto;
}

.delete-confirm-list li{
    margin-right: 3rem;
}

.person-default-portrait-container {
    width: 15vmin;
    height: 15vmin;
    min-width: 150px;
    min-height: 150px;
}
.person-portrait-container {
    width: 10vmin;
    min-width: min(70px, 45%);
    aspect-ratio: 1/1;
    height: fit-content;
}

.dx_tag_person_ban_log_active {
    background-color: orangered;
}

.dx_tag_person_ban_log_past{
    background-color: yellow;
}
/*#endregion*/
/*#region MovementEvent*/
.movement_event_filter_group .dxbl-group {
    background: transparent !important;
    border: none !important
}

.movement_event_filter_group label {
    color: white !important;
}

.label_min_content label {
    width: min-content !important;
    white-space: nowrap;
}

.movement_event_filter_group input {
    text-overflow:ellipsis;
}

.movement_event_filter_group .dxbl-tag-box > .dxbl-text-edit-input {
    width: 0px;
}
/*#endregion*/

@media(max-width:767px) {
    .dxbl-grid .dxbl-grid-table .dxbl-grid-detail-cell {
        padding: .5rem .5rem .5rem 1.75rem !important;
    }
}

.persongroupmember-edit-popup {
    min-width: 50vw;
}

.edit-popup-wide {
    min-width: 85vw;
}

/*#region MovementEvents */
.movement-event-custom-filter-div {
    display: flex;
    flex-direction: row;
    margin-bottom: 0.5vh;
}

.movement-event-custom-filter-datetime-div {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.movement-event-custom-filter-datetime-span {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.movement-event-custom-filter-child-div {
    margin-left: 1em;
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.movement-event-custom-filter-child-span {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.movement-event-filter {
    max-height: 8em;
    overflow-y: auto;
    overflow-x: hidden;
}
/*#endregion*/

.custom-drop-zone {
    padding: 0 !important;
    border-style: dashed;
    border-width: 2px !important;
    height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(183, 183, 183, 0.1);
}

.custom-drop-zone.custom-drop-zone-hover {
    border-style: solid;
}

.custom-drop-zone svg {
    width: 42px;
    height: 42px;
}

.custom-drop-zone > *:not(#overviewDemoSelectButton) {
    pointer-events: none;
}

/*#region FileUploader */
/*------------- Fájlfeltöltés -------------*/
.upload-container {
    width: fit-content;
    height: fit-content;
    display: flex;
}

#dropzone-external {
    width: fit-content;
    height: fit-content;
    background-color: rgba(183, 183, 183, 0.1);
    border-width: 2px;
    border-style: dashed;
}

.dropzone-external:hover {
    border-style: solid;
}

/*-------------- Képkészítés --------------*/
.take_picture_popup {
    max-width: 98% !important;
    max-height: 98% !important;
    width: 98% !important;
    height: 98% !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.take_picture_popup > * .dxbl-modal-body {
    position: relative;
}
.camera_capture {
    height: 100%;
    width: 100%;
}

.camera_capture > * .take-picture-content-container {
    max-width: 100%;
    max-height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vh;
    position: absolute;
    inset: 0;
    padding: 0.5em;
    /*background: black;*/
}

.camera_capture > * .image-container {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera_capture > * .image-container * {
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain
}

.camera_capture > * .icon-button-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    position: absolute;
    bottom: 0;
    padding: 0.5em;
}

.camera_capture > * .icon-button-container .icon-button {
    font-size: max(5vmin, 40px);
    aspect-ratio: 1/1;
    line-height: 0;
    background: rgba(155,155,155,0.5);
    border: none;
    border-radius: 50%;
    padding: 0.15em;
}

#camera-container {
    display: flex;
}

#image-crop-container {
    display: none;
}

/*----------- Előnézet ------------*/
.file-preview {
    max-width: 20vw;
    max-height: 10vh;
}

.file-view-popup {
    max-width: 98dvw !important;
    height: 98dvh;
    margin: 0 !important;
}

.file-view-popup > * .dxbl-modal-body {
    flex-grow: 1;
    overflow: auto;
}

.file-view {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.file-viewer-preview {
    width: 5vmin;
    height: 5vmin;
    min-width: 50px;
    min-height: 50px;
    position: relative;
}
.file-viewer-preview > * {
    font-size: max(3vmin, 30px);
}
/*#endregion*/

/*#region Kártya sablon*/
dxbl-ribbon {
    background: white !important;
}

.hide-rulers > * .dxreRulerWrapper {
    display: none;
}

.richedit-zoom > * .dxreRuler {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.richedit-zoom > * .dxreLeftIndentDragHandle,
.richedit-zoom > * .dxreFirstLineIndentDragHandle,
.richedit-zoom > * .dxreEntitlementIndentDragHandle {
    overflow: visible !important;
}

.card-template-edit > * dxbl-ribbon {
    overflow: auto;
}

.richedit-menu-icon {
    color: #636669;
    font-size: 1.2em;
}

.card_template_edit_popup {
    height: 98%;
    overflow: auto !important;
}

.card_template_edit_popup > * .dxbl-modal-body {
    padding-bottom: 0 !important;
}

.card_template_edit_popup > * .dxbl-grid-popup-edit-form,
.card_template_edit_popup > * form,
.card_template_edit_popup > * .dxbl-row {
    height: 100%;
}

.card_template_edit_popup > * .card-template-form-layout > .dxbl-row {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.card_template_edit_popup > * .dxbl-fl-ctrl {
    margin-top: 0 !important;
    height: 100%;
}

.card_template_edit_popup > .dxbl-modal-content {
    overflow: auto;
}

@media(min-width:992px) {
    .card_template_edit_popup {
        max-width: min(2000px, 98%) !important;
    }
}
/*#endregion*/

/*#region Entitlement editor*/
.denied-entitlement {
    font-size: 1.0em;
    color: red;
}

.granted-entitlement {
    font-size: 1.0em;
    color: green;
}

.not-regulated-entitlement {
    font-size: 1.0em;
    color: #bcbcbc;
}

.select-entitlement {
    font-size: 1.0em;
    color: gray;
}
/*#endregion*/

/*#region Grid layout*/
.grid_layout_popup {
    max-height: 80dvh;
    overflow: auto;
    min-width: min(95vw, 450px) !important;
}
/*#endregion*/

.visual-porter-denied-movement-event-border {
    background-color: red;
    animation: blink 1s;
    animation-iteration-count: infinite;
}

@keyframes blink {
    50% {
        background-color: #fff;
    }
}

.visual-porter-card-p {
    margin-bottom: 0;
    font-size: 1.25rem;
}

/*#region Vendég regisztráció*/

/*#region Vendég érkeztetés ablak méretének beállítása*/
.edit_popup_guest_welcoming {
    margin: 0.5em !important;
}

@media(min-width:992px) {
    .edit_popup_guest_welcoming {
        max-width: min(1300px, 102vw) !important;
    }
}

@media(max-width:991px) {
    .edit_popup_guest_welcoming {
        max-width: min(700px, 95vw) !important;
    }
}
/*#endregion*/

/*#region Vendég érkeztetés lenyíló lista magasságának beállítása*/
.dd-body-class,
.dd-body-class .dxbl-list-box-render-container {
    max-height: 450px !important;
}
/*#endregion*/

.ebk-guide-class {
    border: 2px solid #FF5733; /* A kívánt szín kódja */
    border-radius: 5px; /* Ha lekerekített sarkokat szeretnél */
}

/*#endregion*/