﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 5rem;
    /* justify-content: flex-end;
    display: flex;
    align-items: center; */
}

.text-button-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto;
}

.text-button-row_text {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}

.text-button-row_button {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #e6e6e6;
        border-bottom: 1px solid #d6d5d5;
        z-index: 999;
        position: absolute;
    }

.sidebar {
    /* background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #006aa9 70%);*/
    /*linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    background-color: #6c757d; /* rgb(72, 101, 149);*/
}

    .sidebar .top-row {
        background-color: rgb(72, 101, 149) /*rgb(0, 106, 169);*/ /*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;
    }

.centeredlogo {
    position: fixed;
    height: 50vh;
    width: 50vw;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .nav-item:last-of-type {
        padding-bottom: 1rem;
    }

    .nav-item a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-item a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .nav-item a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

.content {
    padding-top: 1.1rem;
}

#parent {
    white-space: nowrap;
}

.child {
    display: inline-block;
}

.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 {
        display: none;
    }
}

@media (min-width: 768px) {
    .page {
        flex-direction: row;
    }


    .sidebar {
        width: 250px;
        min-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;
    }
}


fieldset.group-border {
    border: 1px solid #968b8b;
    border-radius: 25px;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend.group-border {
    font-size: 1.2em;
    font-weight: bold;
    text-align: left;
    width: auto;
    padding: 0 10px;
    border-bottom: none;
}

halfsize {
    max-width: 50%;
}

floatright {
    float: right;
}

timesize {
    max-width: 80px;
}

.center-row {
    align-items: center;
}

.w15 {
    width: 15%;
}

.w20 {
    width: 20%;
}

.w25 {
    width: 25%;
}

.w30 {
    width: 30%;
}

.w35 {
    width: 35%;
}

.w40 {
    width: 40%;
}

.w50 {
    width: 50%;
}

.w75 {
    width: 75%;
}

.w70 {
    width: 70%;
}

.w65 {
    width: 65%;
}

.w100 {
    width: 25%;
}

.h100 {
    height: 100px;
}

.h50 {
    height: 50px;
}

.nav-tabs {
    padding-left: 15px;
    margin-bottom: 0;
    border: none;
}

.tab-content {
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 15px;
}

.bg-header {
    /*background-color: #486595 !important;*/ /*#006aa9 */
    border-bottom: solid 3px #486595;
}

.header-text {
    color: #486595;
    font-weight: bold;
    font-size: 1.2rem;
}

.label-text {
    color: #486595;
    font-weight: bold;
    font-size: 1.0rem;
}

.simple-bold-text {
    font-weight: bold;
    font-size: 1.0rem;
}

.required {
    background: yellow;
}

.btn-primary-custom {
    color: #fff;
    background-color: #486595; /*#006aa9 */
    border-color: #486595; /*#006aa9 */
    width: 150px;
}

.btn-secondary-custom {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    width: 150px;
}

.btn-basic-custom {
    height: 30px;
    width: 150px;
}

.btn-small-custom {
    height: 20px;
    width: 75px;
}

.btn-basic-grid-custom {
    height: 30px;
    width: 95%;
}

.btn-report-quick-custom {
    height: 25px;
    width: 100px;
}

.modal-dialog {
    max-width: 600px !important;
}

div.smallerFont,
div.smallerFont .k-filtercell * {
    font-size: 13px;
}

    div.smallerFont .k-dropdown.k-header.k-dropdown-operator {
        width: calc(8px + 2em) !important;
    }

    div.smallerFont.k-grid td {
        padding: 3px;
    }

.setup-background {
    color: black;
    background: repeating-linear-gradient(45deg, #D3D3D3, #D3D3D3 3px, #DCDCDC 3px, #DCDCDC 10px);
    display: flex;
    align-items: center;
}

.cleanup-background {
    color: black;
    background: repeating-linear-gradient(45deg, #D3D3D3, #D3D3D3 3px, #DCDCDC 3px, #DCDCDC 10px);
    display: flex;
    align-items: center;
}

.k-menu:not(.k-context-menu) {
    background-color: #6c757d !important;
}

.setup-background {
    color: black;
    background: repeating-linear-gradient(45deg, #D3D3D3, #D3D3D3 3px, #DCDCDC 3px, #DCDCDC 10px);
    display: flex;
    align-items: center;
}

.cleanup-background {
    color: black;
    background: repeating-linear-gradient(45deg, #D3D3D3, #D3D3D3 3px, #DCDCDC 3px, #DCDCDC 10px);
    display: flex;
    align-items: center;
}

.k-menu.k-header {
    border-color: #6c757d !important;
}

.k-menu:not(.k-context-menu) > .k-item {
    color: #fcfcfc !important;
}

.k-menu-expand-arrow {
    margin-top: 2px !important;
}

.k-menu-vertical > .k-menu-item > .k-menu-link {
    padding: 10px 1.5rem !important;
    padding-right: calc(3rem + 16px)
}

.k-menu-group, .k-menu.k-context-menu {
    color: #6c757d !important;
    background-color: #e6e6e6 !important;
}

.k-menu .k-item > .k-link > .k-icon {
    margin-top: -2px;
    margin-right: 8px !important;
    margin-bottom: 0 !important;
    margin-left: 0px !important;
    /*margin: -2px 8px 0 0px !important;*/
}

.k-calendar .k-calendar-view {
    width: 20em !important;
}

.loading-panel-wrapper {
    /* size and appearance that try to match its container with as little CSS as possible,
           you can alter them as necessary for your use case and as per your preferences 
        */
    width: 100%;
    height: 100%;
    min-height: 200px;
    position: absolute;
    z-index: 123456;
    /* one way center the loading indicator inside */
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-panel-wrapper-95 {
    /* size and appearance that try to match its container with as little CSS as possible,
           you can alter them as necessary for your use case and as per your preferences 
        */
    width: 95%;
    height: 100%;
    min-height: 200px;
    position: absolute;
    z-index: 123456;
    /* one way center the loading indicator inside */
    display: flex;
    justify-content: center;
    align-items: center;
}

    .loading-panel-wrapper .loading-panel-overlay {
        background: gray;
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0.5;
    }

.k-multiselect-wrap li {
    padding: .1em 1.6em .1em .4em !important;
}

.backGreen {
    background-color: lightgreen;
}

.backRed {
    background-color: red;
}
.option-frame {
    padding: 15px 0;
    background-color: #e9ecef;
    border-bottom: 1px solid #cbcbcb;
}
.option-frame h6 {
    font-size: 14px;
    margin-bottom: 0;
    font-weight: 500;
    color: #483213;
}
.select-color-frame {
   /* height: 38px;*/
    width: 165px;
    margin-top: 20px;
    cursor: pointer;
    border: 1px solid #cbcbcb;
}
.select-color-frame.selected-color-frame{
    width: auto;
}
.select-color-frame.clear-selected-color-frame{
    border-color:#DC3545;
}
.clear-selected-color-frame.clear-selected-color-frame .text{
    color:#DC3545;
}
.select-color-frame .color-box {
    width: 38px;
    height: 35px;
    display: block;
}
.select-color-frame .text {
    display: block;
    font-size: 12px;
    color: #483213;
    padding: 10px 15px;
    border-left: 1px solid #cbcbcb;
}
.checkbox-frame label {
    color: #777;
    font-size: 14px;
}


/* 18/07/2022 */
.mw-375 {
    max-width: 375px;
}
.orange-bg {
    background-color: #486595; 
}
.custom-card {
    padding: 60px 40px;
    border-radius: 20px;
    transition: padding .15s ease-in-out;
}
.custom-card figure img {
    height: 30px;
}
.custom-card .page-title {
    font-weight: 700;
    color: #483213;
    font-size: 2.25rem;
    transition: font-size .15s ease-in-out;
}
.instructions {
    font-size: 1rem;
    line-height: 25px;
    font-weight: 400;
}
.custom-card .sub-title {
    font-size: 1rem;
    line-height: 25px;
    font-weight: 400;
    margin-bottom: 30px;
}
.custom-card .text-secondary {
    font-size: 0.75rem;
}
.custom-card .k-button {
    font-size: 1rem;
    color: #FFF;
    border-radius: 5px;
    border-color: #E78200;
    background-color: #E78200;
    transition: min-width .15s ease-in-out;
    /* height: 50px;
    min-width: 170px; */
}
.custom-card .k-button:hover {
    border-color: #7E7E7E;
    background-color: #7E7E7E;
}
.custom-card .k-button:active,
.custom-card .k-button:focus {
    border-color: #E78200;
    background-color: #E78200;
}
.k-menu.k-menu-vertical:not(.k-context-menu) {
    padding-top: 1rem !important;
}
.text-end {
    text-align: right !important;
}
.text-start {
    text-align: left !important;
}



@media screen and (max-width: 767px) {
    .custom-card .mw-375 {
        max-width: 100%;
    }
}
@media screen and (max-width: 575px) {
    .custom-card {
        padding: 40px 20px;
    }
    .custom-card .page-title {
        font-size: 2rem;
    }
    .custom-card .k-button {
        min-width: 100%;
    }
}

.pos-button {
    position: relative;

}

.pos-img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    transition: -webkit-transform .5s ease-in-out;
    transition: transform .5s ease-in-out;
}

    .pos-img:hover {
        -webkit-transform: scale(1.07);
        transform: scale(1.07);
    }

.pos-text-center {
    align-items: center;
}

.pos-text-bottom {
    align-items: flex-end;
}

.pos-caption {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    word-break: break-word;
    display: flex;
}

.fill-container {
    height: 100%;
    width: 100%;
}

