@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');



html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    max-width: 100%;
    overflow-x: hidden;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #00a9cc;
    border-color: #231f20;
}

.color-dark {
    background-color: #231f20;
}

.color-light {
    background-color: #00a9cc;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.button-fill {
    width: 100%;
    height: 100%;
}

.button-medium {
    width: 20rem;
    height: 100%;
}

/*********  sf tab control **************/
/***************************************/

.default-tab .e-item {
    font-size: 12px;
    padding: 10px;
    text-align: justify;
    color: pink;
}

.default-tab .e-tab-header .e-active {
    background-color: #015162;
}

.default-tab .e-toolbar-item .e-title {
    display: block;
    color: #19434d;
}

.default-tab .e-toolbar-items .e-active .e-title {
    display: block;
    color: white;
    font-weight: bold;
}

/***************************************/


/***************************************/
.cart-button {
    background-image: url('../Images/cart.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 1rem;
    border-color: transparent;
    background-color: transparent;
    text-align: right;
    vertical-align: top;
    height: 100%;
    padding: 0;
    width: 3.5rem;
}


.cart-add {
    background-image: url('../Images/black_plus.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-color: transparent;
    background-color: transparent;
    border-width: 0rem;
    height: inherit;
    width: inherit;
}

.cart-close {
    background-image: url('../Images/black_x.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-color: transparent;
    background-color: transparent;
    border-width: 0rem;
    margin: 0rem;
    height: inherit;
    width: inherit;
}


.cart-label-area {
    vertical-align: top;
    background-color: transparent;
    width: 100%;
    height: 100%;
}

.cart-label {
    text-align: right;
    vertical-align: top;
    color: white;
    padding: 0.1rem;
    font-weight: bold;
    background-color: black;
    border-radius: 0.5rem;
}

.cart {
    width: 25rem;
    background-color: whitesmoke;
    border-left: solid;
    border-left-width: 0.05rem;
}

.cart-listview {
    height: 100%;
    padding-bottom: 1rem;
}


/***************************************/

/***************************************/
.r4-outer {
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 5%;
    padding-bottom: 5%;
    height: 100%;
}

.r4-inner {
    background-color: white;
    border-color: #9b9b9b;
    border-style: solid;
    border-radius: 0.25rem;
    border-width: 0.1rem;
    margin: auto;
    width: auto;
    height: inherit;
}

.r4-left {
    float: left;
}

.r4-right {
    float: right;
}

r4-medium-size {
    width: 20rem;
}

.r4-main {
    text-align: center;
}

.r4-overlay {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: pointer;
}


/***************************************/

/***************************************/
.r4-client-select {
    width: 15rem;
    margin-left: 1rem;
    float: none;
}
/***************************************/

/***************************************/
.user-area {
    flex: inherit;
}

.user-form {
    width: 25rem;
    float: left;
}

.user-alerts {
    margin-top: 3rem;
    margin-left: 1rem;
    width: 25rem;
    float: left;
}

.user-input-area {
    margin-bottom: 2rem;
}

.user-form-error {
    color: red;
    font-size: medium;
}

.user-form-label {
    font-size: medium;
    font-weight: bold;
    color: dimgray;
    width: 15rem;
    height: auto;
    padding: 0px;
    margin: 0px;
    grid-column: 1;
    vertical-align: top;
}

.user-form-field {
    font-size: medium;
    font-weight: normal;
    color: black;
    width: 30rem;
    height: auto;
    padding: 0px;
    margin: 0px;
    vertical-align: top;
}

.user-check-box {
    font-size: medium;
    font-weight: normal;
    color: black;
    width: 30rem;
    height: auto;
    padding: 0px;
    margin-top: 1rem;
    vertical-align: top;
}



/***************************************/

/***************************************/
.heading-flex {
    display: flex;
    width: inherit;
    height: auto;
}

.heading-title {
    color: #19434d;
    font-size: x-large;
    font-weight: bold;
    width: 100%;
}

.heading-card {
    width: auto;
    margin-right: 3rem;
}

.heading-info-area {
    background-color: transparent;
    margin-bottom: 1rem;
    width: 100%;
}

.heading-action-card {
    text-align: left;
    margin-right: 1rem;
    width: auto;
    background-color: transparent;
    width: 10rem;
}

.heading-subtitle {
    color: #19434d;
    font-size: large;
    font-weight: bold;
}

.heading-label {
    font-size: medium;
    font-weight: bold;
    color: dimgray;
    width: auto;
    min-width: 6rem;
    height: auto;
    padding: 0px;
    margin: 0px;
    vertical-align: top;
}

.heading-value {
    font-size: medium;
    font-weight: normal;
    color: black;
    width: auto;
    height: auto;
    padding: 0px;
    margin: 0px;
    vertical-align: top;
}

.heading-link {
    font-size: medium;
    font-weight: normal;
    color: Highlight;
    width: auto;
    height: auto;
    padding: 0px;
    margin: 0px;
    vertical-align: top;
}

.heading-button {
    background-color: #007f99;
    color: white;
    font-weight: bold;
    font-size: medium;
    height: inherit;
    width: auto;
    min-width: 15rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    border-color: transparent;
    margin-bottom: 0.25rem;
    border-radius: 1px;
}

    .heading-button:hover {
        background-color: #00a9cc;
        border-color: #007f99;
    }



/***************************************/

/* radar configuration */
/***************************************/
.header-small {
    font-weight: bold;
    font-size: large;
    color: #231f20;
}

/***************************************/

/* table configuration */
/***************************************/
.table-radar {
    border-collapse: collapse;
    width: 100%;
}

.table-radar, th, td {
    border-bottom: 1px solid #ddd;
    padding: 5px;
}

.table-radar, th {
    height: 50px;
}

.table-radar-row {
}

    .table-radar-row:hover {
        background-color: #bbc9cc
    }

    .table-radar-row:nth-child(even) {
        background-color: #ebebeb
    }

        .table-radar-row:nth-child(even):hover {
            background-color: #bbc9cc
        }
/***************************************/

/* customer detail configuration */
/***************************************/
.customer-details {
    background-color: white;
    width: inherit;
    height: auto;
    margin-right: 1rem;
    border-top: solid;
    border-top-color: #dddddd;
    border-bottom: solid;
    border-bottom-color: #dddddd;
    display: flex;
}

#customer-details-left {
    width: 50%;
    background-color: green;
}

#customer-details-middle {
    width: 50%;
    background-color: orange;
}

#customer-details-right {
    width: 10rem;
    background-color: pink;
}

.customer-details-header {
    font-size: x-large;
    font-weight: bold;
    margin-right: 1rem;
}

.customer-details-label {
    font-weight: bold;
    vertical-align: top;
    text-align: end;
    width: 6.5rem;
}

.customer-details-value {
    vertical-align: top;
    white-space: pre-wrap;
}
/***************************************/


/* order detail configuration */
/***************************************/
.order-details {
    background-color: white;
    width: inherit;
    height: auto;
    margin-right: 1rem;
    border-top: solid;
    border-top-color: #dddddd;
    border-bottom: solid;
    border-bottom-color: #dddddd;
    display: flex;
}

#order-details-left {
    width: 50%;
    background-color: transparent;
}

#order-details-middle {
    width: 50%;
    background-color: transparent;
}

#order-details-right {
    padding-top: 0.5rem;
    width: 10rem;
    background-color: transparent;
    text-align: right;
}

.order-details-header {
    font-size: x-large;
    font-weight: bold;
    margin-right: 1rem;
}

.order-details-label {
    font-weight: bold;
    vertical-align: top;
    text-align: end;
    width: 9.0rem;
}

.order-details-value {
    vertical-align: top;
    white-space: pre-wrap;
}
/***************************************/



.login-area {
    margin-top: 2rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.login-entry-label {
    color: #ffffff;
}

.index-title {
    color: #19434d;
    font-size: xx-large;
    font-weight: bold;
    width: inherit;
}

.index-subtitle {
    color: #19434d;
    font-size: x-large;
    font-weight: bold;
    width: inherit;
}

.index-logo {
    width: inherit;
    height: inherit;
}

.logo {
    width: inherit;
    height: inherit;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row-logo {
    height: 8.0rem;
    display: flex;
    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;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }



.sidebar {
    background-image: linear-gradient(180deg, #231f20 10%, #00a9cc 175%);
    /* background-color: #231f20; */
}

    .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;
    }
}
