﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200&display=swap');

@font-face {
    font-family: "Bebas Light";
    src: url("../Login/bebas-neue-light.otf") format("opentype");
}

@font-face {
    font-family: "Oswald Light";
    src: url("../Login/Oswald-Light.ttf") format("truetype");
}


*:focus, *:focus-visible {
    outline: none;
    box-shadow: none;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
    }

.navbar-brand {
    width: 300px;
    margin-right: 0;
}

    .navbar-brand .logo {
        background-image: url("../Logo_BI.svg");
        height: 27px;
    }

/*.own-palette:hover {
    background-image: url(icons/palette-dark.png);
}

.own-palette {
    background-image: url(icons/palette.svg);
}
*/
.own-share:hover {
    background-image: url(icons/share-variant-hover.svg);
}

.own-share {
    background-image: url(icons/share-variant.svg);
}

.own-update:hover {
    background-image: url(icons/application-edit-outline-hover.svg);
}

.own-update {
    background-image: url(icons/application-edit-outline.svg);
}

.add-new {
    background-image: url(icons/table-large-plus.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    border-bottom: 1px solid #e0e0e0;
}

.tb-disabled {
    display: none !important;
}

.dropdown-item.focused, .dropdown-item.focused:hover {
    background-color: #403636 !important;
}

.center-loader {
    width: 100vw;
    height: 100vh;
    top: 0px;
    position: fixed;
    text-align: center;
    z-index: 1000;
    background: rgba(200, 200, 200, 0.4);
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas:
        ". . ."
        ". loader ."
        ". . .";
}

@media (max-width: 540px) {
    .center-loader > * {
        width: 15rem !important;
        height: 15rem !important;
    }
}

.center-loader > * {
    grid-area: loader;
}

.modal-dialog.sharing-modal .modal-header {
    border-bottom: none;
}

.sharing-modal.modal-title {
    font-size: 24px;
}

.modal-content .dx-btn {
    float: right;
    margin: 0 3px;
}

.modal-content .buttons {
    height: 40px;
}

    .modal-content .buttons > div {
        width: 30px;
        float: left;
        margin-top: 2px;
    }

@media (min-width: 576px) {
    .modal-dialog {
        max-width: unset;
    }

    .dxbs-modal > .sharing-modal {
        width: 70vw !important;
    }
}

@media (max-width: 475px) {
    .dxbs-modal > .sharing-modal {
        margin: 0 !important;
    }

    .navbar-brand {
        width: 30px !important;
        overflow: hidden;
    }
}

@media (max-width: 650px) {
    .navbar-brand {
        width: unset;
    }

        .navbar-brand .logo {
            background-image: url("../Logo_BI_Fanda_short.svg");
            width: 160px;
        }

    .navbar > div > .icons > div {
        width: 40vw !important;
    }
}

@media (min-width: 768px) {
    .dxbs-modal > .sharing-modal {
        width: 60vw !important;
    }
}

input[type=text] {
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    padding: 10px;
}

.buttons .search-bar {
    height: 30px;
}

.sharing-modal .btn-primary, .sharing-modal .page-link, .sharing-modal .btn,
.update-modal .btn-primary, .update-modal .btn-primary, .update-modal .page-link, .update-modal .btn,
.btn-secondary {
    background-color: #403636 !important;
    border-color: #403636 !important;
}

    .sharing-modal .btn-primary.disabled, .sharing-modal .btn-primary:disabled,
    .update-modal .btn-primary.disabled, .update-modal .btn-primary:disabled {
        background-color: #5e5454;
        border-color: #5e5454;
    }

.sharing-modal .btn-primary, .sharing-modal .page-link, .sharing-modal .btn,
.adding-modal .btn-primary, .adding-modal .btn-primary, .adding-modal .page-link, .adding-modal .btn,
.btn-secondary {
    background-color: #403636 !important;
    border-color: #403636 !important;
}

    .sharing-modal .btn-primary.disabled, .sharing-modal .btn-primary:disabled,
    .adding-modal .btn-primary.disabled, .adding-modal .btn-primary:disabled {
        background-color: #5e5454;
        border-color: #5e5454;
    }

    .sharing-modal .btn-primary.focus, .sharing-modal .btn-primary:focus,
    .sharing-modal .btn.focus, .sharing-modal .btn:focus, .sharing-modal .form-control:focus,
    .adding-modal .btn-primary.focus, .adding-modal .btn-primary:focus,
    .adding-modal .btn.focus, .adding-modal .btn:focus, .adding-modal .form-control:focus {
        border: none;
    }

.sharing-modal button.dxbs-sort-order-indicator {
    background-color: transparent !important;
}

.adding-modal input.form-control:focus {
    border: 1px solid black;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #403636 !important;
    border-color: #403636 !important;
    color: black !important;
}

.table-active.bg-primary {
    background-color: #e1e1e1 !important;
    color: black !important;
}

.adding-modal .modal-body, .update-modal .modal-body {
    height: 200px;
}

.form-control {
    border: none;
    color: black;
}

    .form-control:focus {
        box-shadow: none;
    }

.adding-modal .dx-blazor-checkbox, .update-modal .dx-blazor-checkbox {
    margin-top: 10px;
}

.dxbs-data-row:hover {
    background-color: #f2f2f2;
}

.dx-blazor-checkbox label, .dxbs-data-row {
    cursor: pointer;
}

.block label {
    cursor: not-allowed;
}

.dx-state-hover svg {
    fill: #3c3c3c;
}

/*Login v2*/
.btn-primary.pop-btn {
    background-color: #C82127;
    border-color: #C82127;
}

    .btn-primary.pop-btn:focus, .btn-primary.pop-btn:active {
        background-color: #C82127 !important;
        border-color: #C82127 !important;
        box-shadow: none!important;
    }

.content-login .card h1,
.content-login .card h3 {
    font-family: 'Oswald', sans-serif;
}

.content-login .login h3,
.content-login .register,
.content-login .forgotten-password,
.content-login .login-button,
.content-login .rememberme,
.content-login .label
.content-login .login-page .nav-menu,
.content-login .login .container p {
    font-family: "Open Sans";
}

.grid-login .e-checkbox-wrapper label span.e-frame.e-check,
.grid-login .e-checkbox-wrapper .e-checkbox:focus + .e-frame.e-check {
    background-color: #C82127;
    border-color: #C82127;
}

.grid-login .e-checkbox-wrapper:hover label span.e-frame.e-check {
    background-color: rgba(200,18,39, 0.9);
    border-color: #C82127;
}

.grid-login .e-label {
    margin-top: 0.25rem;
    font-weight: bold;
}

.grid-login .e-label,
.grid-login .e-checkbox-wrapper:hover .e-label {
    color: #FDFDFD;
}


.beat-loader {
    stroke: red;
    stroke-dasharray: 175;
    stroke-dashoffset: 350;
    animation: draw 1.4s linear;
    animation-iteration-count: infinite;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }

    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.wrap {
    width: 128px;
    border: 2px solid red;
    border-radius: 50%;
    margin: 0 auto;
}
