@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
}

.content, .page, .page-layout {
    height: 100%;
}

.content {
    position: relative;
}

.valid.modified:not([type=checkbox]):not(dxbl-check) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    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;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
}
/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
/* The slider (round shape) */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

a {
    color: #1c2a39;
    text-decoration: underline;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

.nightMode-icon {
    position: relative;
    left: -10px;
    top: 3px;
    font-size: 18px !important;
}

.form-check-input:checked {
    background-color: #03a9f4 !important;
    border-color: #03a9f4 !important;
}

.logo-name {
    width: 175px;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #03a9f4;
}

.navbar {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.navbar-toggler > i {
    color: #00beff;
}

.header-navbar .navbar-toggler {
    border-radius: 23px !important;
    height: 42px;
    position: relative;
    padding-left: 13px !important;
    top: 8px;
    left: 3px;
}

.navbar-toggler:hover {
    background: rgb(255, 255, 255, .08);
}

.dark-theme > .sidebar {
    background-color: #363640 !important;
}

.dark-theme > .navbar {
    background-color: #2a2a32 !important;
}

div.content.px-4.layout-item.dark-theme.dx-gridlayout-item {
    background-color: #2a2a32 !important;
}
.btn-modal-transparent {
    background-size: cover;
    width: 10px;
    height: 10px;
    padding: 13px;
    background-color: transparent !important;
    box-shadow: none;
    border: none;
}
.btn-close:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(9 52 254 / 25%);
    opacity: 1;
}
.popup-300 {
    max-width: 300px !important;
    width: 300px !important;
}
.popup-800 {
    max-width: 800px !important;
    width: 800px !important;
}

.popup-80vw {
    max-width: 80vw !important;
}
.popup-with-fixed-header {
    display: flex;
    flex-direction: column;
}

    .popup-with-fixed-header .dx-popup-content {
        flex-grow: 1;
        overflow-y: auto;
    }


@media (min-width: 576px) {
    .dxbl-modal > .dxbl-modal-root > .dxbl-popup {
         max-width: 1000px !important;
    }
}
.btn-icon {
    background: transparent;
    border: none;
    height: 15px;
    color: #265479;
    box-shadow: none;
}

.dxbl-checkbox.valid.modified:not([type=checkbox]) {
    --dxbl-checkbox-check-element-checked-bg: #4396d8;
    --dxbl-checkbox-check-element-unchecked-border-color: unset;
    --dxbl-checkbox-check-element-unchecked-hover-border-color: unset;
    --dxbl-checkbox-switch-checked-bg: #4396d8;
    --dxbl-checkbox-switch-checked-hover-bg: unset;
    --dxbl-checkbox-switch-unchecked-bg: unset;
    --dxbl-checkbox-switch-unchecked-hover-bg: unset;
    --dxbl-checkbox-radio-unchecked-hover-border-color: unset;
    --dxbl-checkbox-radio-unchecked-border-color: unset;
    --dxbl-checkbox-checked-focus-shadow-color: unset;
    --dxbl-checkbox-checked-focus-shadow-spread: 0.125rem;
    --dxbl-checkbox-checked-focus-shadow-blur: 0rem;
    --dxbl-checkbox-unchecked-focus-shadow-color: unset;
    --dxbl-checkbox-unchecked-focus-shadow-spread: 0.125rem;
    --dxbl-checkbox-unchecked-focus-shadow-blur: 0rem;
    --dxbl-checkbox-check-element-checked-hover-bg: #4396d8;
    --dxbl-checkbox-switch-checked-hover-bg: #4396d8;
    --dxbl-checkbox-radio-checked-hover-bg: #4396d8;
    outline: none;
}

.grid-container {
    position: absolute;
    top: 60px;
    right: 25px;
    left: 25px;
    bottom: 20px;
}

.grid-container dxbl-grid {
    height: 100%;
}

.loading-subgrid {
    max-height:280px;
}