@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --primary-color: #6d0d32;
    --primary-color-hover: #871c45;
    --primary-color-shadow: 0 0 0 .2rem rgba(109, 13, 50, 0.54);
    --bg-primary: #e0cbd3;
    --toolbar-bg: #f1edf2;
    --container-bg: #faf7f8;
}


html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1,h2,h3,h4,h5,h6{
    color:var(--primary-color);
}


a, .btn-link {
    color: #0366d6;
}

.Logo-HelpDesk {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.myalink:hover {
    color: var(--primary-color);
}
.myfieldset {
    margin: 2px;
    border: 1px solid #ECECEC;
    padding: 8px;
    border-radius: 4px;
}

.mylegend {
    padding: 2px;
}
.form-group{
    margin-bottom: 1rem;
}
.bg-primary {
    background-color: var(--bg-primary) !important;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}


    .btn-primary:hover {
        color: #fff;
        background-color: var(--primary-color-hover);
        border-color: var(--primary-color-hover);
    }

    .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }

    .btn-primary.focus, .btn-primary:focus {
        box-shadow: var(--primary-color-shadow);
    }

    .btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-primary.dropdown-toggle:focus {
        box-shadow: var(--primary-color-shadow);
    }

.link-color {
    color: var(--primary-color);
}

    .link-color:hover {
        color: var(--primary-color-hover);
    }

.demo-notification {
    position: absolute;
    z-index: 100;
}

    .demo-notification .k-notification {
        width: 320px;
    }

.stock-info-message {
    font-size: 16px;
    font-weight: bold;
    padding-left: 6px;
    padding-top: 5px;
    margin: 0;
}

.notif {
    margin-left: 25px;
    margin-right: 25px;
    margin-bottom: 10px;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    width: 100%;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
            color: var(--primary-color) !important;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.app-container {
    padding: 0;
    background: var(--container-bg);
}

.k-toolbar {
    border-color: rgba(0, 0, 0, 0.08);
    color: #424242;
    background-color: var(--toolbar-bg) !important;
    height: 53px;
}

    .k-toolbar .k-button {
        background-color: var(--toolbar-bg) !important;
    }


.k-table-tbody .k-table-row.k-selected > .k-table-td, .k-table-list .k-table-row.k-selected {
    background-color: var(--toolbar-bg) !important;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }




.content {
    padding-top: 1.1rem;
}

   
    .content .myfooter {
        padding-top: 10px;
        max-height: 70px;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        background-color: #DCDCDC;
        color:dimgray;
        text-align: center;
        font-size: small;
    }
.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.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;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .set {
        background-color: darkblue;
        color: white;
        font-weight: bold;
    }
}



.heart-icon.k-checkbox,
.heart-icon.k-checkbox:focus,
.heart-icon.k-checkbox:checked,
.heart-icon.k-checkbox:checked:focus {
    border: none;
    background: none;
    box-shadow: none;
}

    .heart-icon.k-checkbox::before,
    .heart-icon.k-checkbox:checked::before,
    .heart-icon.k-checkbox:indeterminate::before {
        transform: none;
        top: 0;
        left: 0;
        width: auto;
        height: auto;
        font-size: 20px; /* used for dimensions, see the next section */
    }

/* set desired dimensions */
.heart-icon.k-checkbox {
    width: 20px;
    height: 20px;
}
.toolbar-size {
    max-width: 100%;
}

.toolbarbutton-image img, .scale-image {
    max-width: 20px;
    max-height: 20px;
    margin-right: 8px !important;
}

    /* change the font icon glyph to a different one - in this case - a heart icon from the Telerik font
        we also change the colors here to denote states, you can alter this further - like using your own fonts or colors
        */
    .heart-icon.k-checkbox:checked::before {
        content: "\e305";
        color: green;
    }

    .heart-icon.k-checkbox:indeterminate::before {
        content: "\e300";
        color: green;
        background: none;
    }

    .heart-icon.k-checkbox::before {
        content: "\e304";
        color: #656565;
    }

.KBButton {
    background-color: var(--primary-color) !important;
    border: var(--primary-color);
    color: white;
}

    .KBButton:hover {
        color: white !important;
        background-color: var(--primary-color-hover) !important;
        border: 1px solid black !important;
    }

    .KBButton:active {
        color: white !important;
        background-color: var(--primary-color) !important;
        border: 1px solid var(--primary-color) !important;
    }

    .KBButton:focus {
        color: white !important;
        background-color: var(--primary-color) !important;
        border: 1px solid var(--primary-color) !important;
    }


.css-grid-table,
.css-grid-table-header,
.css-grid-table-body {
    display: grid;
}

.css-grid-table {
    grid-template-rows: 24px 72px;
    width: 80%;
}

.css-grid-table-header,
.css-grid-table-body {
    grid-template-columns: 48px 110px 110px 180px;
    width: 100%;
    line-height: 24px;
}

.css-grid-table-header {
    grid-column-gap: 2px;
    grid-template-rows: auto;
}

.css-grid-table-body {
    grid-template-rows: auto auto auto;
}

.css-grid-table-header div {
    text-align: center;
    font-weight: bold;
    background-color: dimgray;
}

.css-grid-table-body div {
    padding-left: 6px;
}


.teamMate img {
    display: inline-block;
    vertical-align: top;
    
    width: 70px;
    height: 70px;
    margin: 4px;
    border: 1px solid #ccc;
    border-radius: 50%;
}


.smallteamMate img {
    display: inline-block;
    vertical-align:central;
    width: 50px;
    height: 50px;
    margin: 2px;
    border: 1px solid #ccc;
    border-radius: 50%;
}
.smallMateInfo {
    display: inline-block;
    vertical-align: central;
}


.MateInfo {
    display: inline-block;
    vertical-align: central;
}

.myVideoWith{

}

.grid-no-scroll .k-grid-content {
    overflow-y: auto;
}

.grid-no-scroll .k-grid-header,
.grid-no-scroll .k-grid-footer {
    padding-right: 0; /* version 2.26 and older requires !important here */
}

.grid-no-scroll .k-grid-header-wrap,
.grid-no-scroll .k-grid-footer-wrap {
    border-right-width: 0;
}

.inline {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.item{
    padding: 18px 18px 0px 18px;
}

.item{
    display: flex;
    align-items: center;
}


.sidebarmsg {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0;
    background-color: #f3f2f7;
    color: rgba(0, 0, 0, 0.75);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    border: 1px solid #8f8a8a;
}

    .sidebarmsg a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        color: rgba(0, 0, 0, 0.75);
        display: block;
        transition: 0.3s;
    }

        .sidebarmsg a:hover {
            color: rgba(0, 0, 0, 0.45);
        }

    .sidebarmsg .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

.openbtn {
    font-size: 18px;
    cursor: pointer;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    margin-bottom: 6px;
    border: none;
}

    .openbtn:hover {
        background-color: var(--primary-color-hover);
    }

#main {
    transition: margin-left .5s;
    padding: 16px;
    text-align: right;
}


.nested-dropdown {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    border: 1px solid #ccc;
    z-index: 1000;
    padding: 5px;
    margin-top: 5px;
    min-width: 150px;
}

    .nested-dropdown .dropdown-item {
        display: block;
        padding: 5px 10px;
        text-align: left;
        background: none;
        border: none;
        text-decoration: none;
        color: #fff;
        cursor: pointer;
        width: 100%;
    }

        .nested-dropdown .dropdown-item:hover {
            background-color: #f0f0f0;
            color: #424242;
        }

.dropdown-item.disabled,
.dropdown-item[disabled] {
    color: #f0f0f0;
    background-color: #6aadd3;
    cursor: not-allowed;
    pointer-events: none;
}

.k-item:hover .nested-dropdown {
    display: block;
}

.btn-check:focus + .btn-outline-danger, .btn-outline-danger:focus {
    box-shadow: 0 0 0 .0 rgba(220, 53, 69, .5);
}


.k-editor-toolbar {
    height: auto;
    overflow: visible;
}

    .k-editor-toolbar .k-button {
        height: auto;
    }

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}