@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');


.e-toolbar {
    border: 0px solid #dee2e6;
    height: 45px !important;
}



/* FILE UPLOADER*/
.file-row {
    background-color: #e4e4e4;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    border-radius: 0.6rem;
    color: #555;
    display: flex;
    align-items: center;
}

    .file-row h2 {
        margin: 0.3rem 0 0.6rem 0;
        font-weight: bold;
        color: black;
        font-size: 1.1rem;
    }

    .file-row > div {
        flex-grow: 1;
    }

    .file-row button {
        padding: 0.5rem 1rem;
    }

.drag-drop-zone {
    border: 3px dashed #e68710;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
    color: #aeaeae;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 1.5rem 0 2rem 0;
    position: relative;
}

    .drag-drop-zone:hover {
        background-color: #f5f5f5;
    }

    .drag-drop-zone input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

pre {
    background-color: #f0f0f0;
    overflow: auto;
    padding: 1rem;
    height: 10rem;
}
/* FILE UPLOADER*/

.card-contrast {
    
}


/*billing page*/
.card-large {
    max-width: 2560px !important;
}


.datetimepicker-section {
    max-width: 300px !important;
}

.e-checkbox-wrapper .e-frame.e-check {
    background-color: #0065ac !important;
}
.grid-search-input {
    width: 400px !important;
}
.address-top-row {
}
.qc-info-space {
    margin-bottom: -20px !important;
}

.button-dismiss {
    background-color: #FF6464 !important;
}

.account-card {
    padding: 1rem;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.e-grid .e-headercell, .e-grid .e-detailheadercell {

    height: 42px;
    padding: 0 5px 0;
}
.e-grid .e-headercelldiv {
    font-size: 16px;
    font-weight: 500;
}
/*make grid search box more visible*/
.e-input-group:not(.e-success):not(.e-warning):not(.e-error):not(.e-float-icon-left), .e-input-group.e-float-icon-left:not(.e-success):not(.e-warning):not(.e-error) .e-input-in-wrap, .e-input-group.e-control-wrapper:not(.e-success):not(.e-warning):not(.e-error):not(.e-float-icon-left), .e-input-group.e-control-wrapper.e-float-icon-left:not(.e-success):not(.e-warning):not(.e-error) .e-input-in-wrap, .e-float-input.e-float-icon-left:not(.e-success):not(.e-warning):not(.e-error) .e-input-in-wrap, .e-float-input.e-control-wrapper.e-float-icon-left:not(.e-success):not(.e-warning):not(.e-error) .e-input-in-wrap {
    border-color: green;
    border-bottom-width: thin;
}

/*fix huge padding in between cells and fix font size*/
.e-grid .e-rowcell {
    font-size: 15px;
    padding: 8px 5px;
}

/*Grid Alternate Rows*/
.e-grid .e-altrow {
    background-color: #fafafa;
}

/*For Pager color in grid*/
.e-pager .e-currentitem, .e-pager .e-currentitem:hover {
    background: #0065ac;
    color: #fff;
    opacity: 1;
}


.mat-nav-menu:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: white !important;
}
.mat-nav-menu {
    color: #d7d7d7 !important;
}




.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: #0d47a1 !important;
}
.mdc-select--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: #0d47a1 !important;
}


/*Gets rid of green valid lines around text boxes and dropdowns*/
.mdc-select__selected-text modified valid .valid.modified:not([type=checkbox]) {
    outline: none !important;
    border-bottom: 2px solid #10b510 !important;
}
.modified valid mat-text-field-input mdc-text-field__input _mdc-text-field--upgraded {
    outline: none !important;
    border-bottom: 2px solid #10b510 !important;
}


.custom-login-container {
    background: url('../images/login.jpg') no-repeat center center fixed;
    background-size: cover;
    width: 100%;
    height: 100vh !important;
}

.myclass {
    /*background: url('../images/login.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;*/

}

.oi-span {
    font-size: 20px;
}

/*valid mat-text-field-input mdc-text-field__input _mdc-text-field--upgraded*/
div.mdc-text-field--fullwidth-with-leading-icon:not(.mdc-text-field--textarea) > input.mdc-text-field__input {
    padding-left: 40px !important;
    
}

.mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input {
    padding-top: 35px !important;
}


.mdc-select__anchor {
    width: 100%;
}

.mdc-dialog__surface {
    min-width: 700px !important;
    min-height: 200px;
}

#confirm.mdc-dialog__surface {
    min-height: 50px !important;
}


.e-toolbar-items {
    background: white !important;
}

.tab-controller-grumble {
    padding-left: 5px;
    padding-right: 5px;
}

.announcement {
    padding-bottom: 25px !important;

}

.sale-info-space {
    padding-top: 10px !important;
}

.account-space {
    padding-top: 0px !important;
}

.row-space {
    padding-top: 10px !important;
}

/* BELOW RULES FIX/OVERRIDE THE HOVER, CURSOR, AND SELECT EFFECTS OF THE MAT CARD*/
.mdc-card__primary-action:hover::before {
    opacity: 0.00 !important;
    cursor: zoom-in !important;
}

.mdc-card__primary-action {
    cursor: default !important;
}

    .mdc-card__primary-action::before, .mdc-card__primary-action::after {
        width: 0% !important;
        height: 0% !important;
    }
/*END SECTION*/

.mat-card-tab-body {
    padding: 1rem;
}

.mat-card-tab {
    max-width: 1500px;
    /*border-radius: 12px !important;*/
}

/*PAdding below two upper tab controller on edit/add grumble page*/
.my-card-links {
    margin-bottom: 10px !important;
}

/*For sidebar top logo*/
.logo-img {
    height: 40px;
}

/*Navbar Gradient*/
.bg-primary-gradient {
    background-color: transparent !important;
    background-image: linear-gradient(160deg, rgba(15, 92, 102, 0.80) 0%, rgba(21, 130, 103, 0.90) 80%);
}

.sidebar {
    background-image: linear-gradient(150deg, rgb(5, 39, 103) 10%, #23ce6b 100%);
}

.card {
    max-width: 1500px;
}

.mat-form-control {
    width: 100%;
    top: 10px;
}

/* Everything below is pretty much standard except for main page background color*/
/* Everything below is pretty much standard except for main page background color*/
/* Everything below is pretty much standard except for main page background color*/
/* Everything below is pretty much standard except for main page background color*/

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;
}

app {
    position: relative;
    display : flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
    background: #e6e9ec;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
        z-index: 99;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

/*.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;
}

.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;
    }
}
