html, body {
    height: 100%;
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    color: #1d1d1d;
    background-color: #dcdadc;
}

.picker {
    background-color: #545454;
}

/* Header
****************************************************************/
header {
    display: flex;
    justify-content: space-between !important;
    align-items: center;
    background-color: #32353b;
    padding: 4px 20px;
}

    header h1 {
        font-size: 1rem;
        font-weight: bold;
        color: #dcdadc;
    }

    header ul {
        list-style: none;
        padding: 0;
        display: flex;
        gap: 1px;
    }

        header ul li a {
            display: inline-block;
            padding: 8px;
            color: #dcdadc;
            border-radius: 4px;
        }

            header ul li a i {
                margin-right: 4px;
            }

            header ul li a:hover {
                background-color: #586678;
                color: #fff;
                opacity: .8;
            }

nav {
    display: flex;
    justify-content: space-between;
    background-color: #32353b;
    padding: 0px 20px;
}

    nav ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 1px;
    }

        nav ul li a {
            display: inline-block;
            padding: 12px 20px;
            font-size: .9rem;
            font-weight: 600;
            color: #dcdadc;
            border-radius: 4px 4px 0 0;
        }

            nav ul li a i {
                margin-right: 6px;
            }

            nav ul li a:hover {
                color: #2aa2e0;
                background-color: #586678;
            }

            nav ul li a.active {
                color: #fff;
                background-color: #4b5766;
            }


/* Main Navigation
****************************************************************/
.subnav {
    background: linear-gradient(#4c5867, #373b41);
    padding-left: 20px;
}

    .subnav ul {
        list-style: none;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        border-radius: 4px;
    }

    .subnav li {
        float: left;
        position: relative;
        padding: 2px 0 3px 0;
    }

        .subnav li a {
            color: #d3d3d3;
            font-size: 1em;
            font-weight: 600;
            display: block;
            text-decoration: none;
            padding: 8px 15px;
        }

            .subnav li a:hover {
                text-decoration: none;
                color: #fff;
            }

            .subnav li a.active {
                color: #2aa2e0;
            }

            .subnav li a i {
                float: right;
                margin-left: 5px;
            }

        .subnav li:hover,
        .subnav li:focus-within {
            background-color: transparent;
            color: #fff;
            cursor: pointer;
            padding: 2px 0 3px 0;
        }

            .subnav li:focus-within a {
                outline: none;
            }

    /* 2nd Level */
    .subnav ul li ul {
        background: #373b41;
        min-width: 15rem;
        position: absolute;
        left: 0;
        display: none;
        z-index: 1;
    }

        .subnav ul li:hover > ul,
        .subnav ul li:focus-within > ul,
        .subnav ul li ul:hover,
        .subnav ul li ul:focus {
            display: block;
        }

        .subnav ul li ul li {
            clear: both;
            width: 100%;
        }

            .subnav ul li ul li:first-child {
                margin-left: 0;
                border-top: none;
                border-radius: 4px;
            }

            .subnav ul li ul li:last-child {
                margin-left: 0;
                border-top: none;
                border-radius: 4px;
            }

            .subnav ul li ul li:hover,
            .subnav ul li ul li:focus-within {
                background-color: #292d31;
                color: #fff;
                cursor: pointer;
            }

            .subnav ul li ul li a {
                padding: 8px 15px;
                color: #d3d3d3;
            }

                .subnav ul li ul li a:hover,
                .subnav ul li ul li a.active {
                    text-decoration: none;
                    background-color: #292d31;
                    color: #fff;
                }

    /* 3rd Level */
    .subnav > ul li > ul li > ul {
        display: none;
        background: #373b41;
    }

    .subnav > ul li > ul li:hover > ul {
        display: block;
        position: absolute;
        left: 100%;
        top: 0;
        width: 100%;
        margin-top: 0px;
        border-left: 1px solid #4c5867;
    }

    .subnav > ul li > ul > li ul > li {
        display: block;
    }

    .subnav li.sep {
        background-color: transparent !important;
        cursor: default !important;
    }

        .subnav li.sep div {
            border-top: 1px solid #4c5867;
            margin: 0 10px;
        }


/* Content
****************************************************************/
content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.content-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

footer {
    flex: 0 0 auto;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 3px 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    line-height: 25px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

    footer span {
        color: #4c5867;
        font-size: .75rem;
    }

        footer span i {
            margin: 0 6px;
        }


html,
body,
label,
span,
button,
input,
textarea,
select,
textarea {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: .9rem;
}

input,
textarea,
select {
    border: 1px solid rgba(0, 0, 0, 0.125);
    margin: 0;
    background-color: #fff;
    color: #161616;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-radius: 4px;
}

input,
textarea,
select {
    padding: 6px 8px;
    resize: none;
}

    input:focus,
    textarea:focus,
    select:focus {
        border: 1px solid #2babed;
        outline: none;
    }

    input:disabled,
    textarea:disabled,
    select:disabled {
        background-color: #f2f4f8 !important;
    }

fieldset {
    display: flex;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 4px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 15px;
    background-color: #fff;
}

b, strong {
    font-weight: bold;
}

em {
    font-style: italic !important;
}

ul {
    list-style-type: disc;
    list-style-position: inside;
}

ol {
    list-style-type: decimal;
    list-style-position: inside;
}

    ul ul, ol ul {
        list-style-type: circle;
        list-style-position: inside;
        margin-left: 15px;
    }

    ol ol, ul ol {
        list-style-type: lower-latin;
        list-style-position: inside;
        margin-left: 15px;
    }

img {
    border: none;
}

a {
    text-decoration: none;
    outline: none;
}

optgroup[label] {
    font-style: normal;
}

.page-title {
    font-size: 1.1rem;
    font-weight: 600;
    /*color: #2479b1;*/
    color: #000;
    margin-bottom: 10px;
}



/*  Page Tab
***************************************************************/
.page-tab {
    border-bottom: 3px solid #b2b2b2;
}

    .page-tab li {
        display: inline-block;
    }

        .page-tab li a {
            display: inline-block;
            padding: 9px 12px;
            font-size: .9rem;
            font-weight: 600;
            text-decoration: none;
            border: 1px solid #b2b2b2;
            border-bottom: none;
            border-radius: 6px 6px 0 0;
            color: #373b41;
            background: linear-gradient(#d9d9d9, #d4d4d4);
        }

            .page-tab li a:hover,
            .page-tab li a.active {
                color: #000;
                background: linear-gradient(#c8c8c8, #b2b2b2);
            }

            .page-tab li a i {
                margin-right: 4px;
            }

/* Card
****************************************************************/
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 4px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.card-header,
.card-footer {
    padding: 10px 8px;
}

.card-body {
    padding: 15px;
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

    .card-body:first-child {
        border-top: none;
    }

.card-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: #373b41;
    font-weight: 600;
    font-size: .9rem;
    background: linear-gradient(#fafafa, #dcdcdc);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

    .card-header:first-child {
        border-radius: 4px 4px 0 0;
    }

    .card-header input,
    .card-header select {
        border-color: rgba(0, 0, 0, 0.25);
    }

    .card-header .btn {
        font-size: .85rem;
        padding: 0.27rem 0.85rem;
    }

    .card-header .win-close {
        padding: 0rem 0.3rem;
    }

.card-footer {
    background-color: #f1f1f1;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

    .card-footer:last-child {
        border-radius: 0 0 4px 4px;
    }

.grid-b-0 {
    border: none !important;
}

    .grid-b-0 table tbody tr:last-child > td {
        border-bottom: none !important;
    }

.card-tab {
    padding: 10px 15px;
    background-color: #fff;
}

    .card-tab li {
        display: inline-block;
        margin-right: 10px;
    }

        .card-tab li a {
            display: inline-block;
            padding: 8px 15px;
            font-size: .9rem;
            font-weight: 600;
            text-decoration: none;
            text-transform: uppercase;
            border: 1px solid rgba(0, 0, 0, 0.175);
            border-radius: 16px;
            color: #fff;
            background-color: #2aa2e0;
        }

            .card-tab li a i {
                margin-right: 4px;
            }

            .card-tab li a:hover,
            .card-tab li a.active {
                color: #fff;
                background-color: #2ac4e0;
            }

.card-primary {
    border-left: 4px solid #277BC0;
}

.card-info {
    border-left: 4px solid #2FA4FF;
}

.card-success {
    border-left: 4px solid #48aa83;
}

.card-warning {
    border-left: 4px solid #db8702;
}

.card-danger {
    border-left: 4px solid #bf3341;
}


/* Form
****************************************************************/
.form {
    border-collapse: separate;
    border-spacing: 0 5px;
}

    .form tr {
        padding-bottom: 5px;
    }

    .form th {
        vertical-align: top;
        text-align: right;
        padding-top: 4px;
        padding-right: 10px;
        white-space: nowrap;
    }

    .form td {
        vertical-align: middle;
    }

        .form td .btn {
            padding: 0.25rem 0.85rem;
        }

        .form td label {
            display: block;
            margin-bottom: 6px;
            font-size: .8rem;
            color: #5b6267;
        }


/* Grid
****************************************************************/
.grid {
    border: 1px solid rgba(0, 0, 0, 0.125);
    background-color: #fff;
    padding: 0px;
    display: flex;
    flex: 1 1 auto;
    min-width: 100px;
}

    .grid table {
        border-collapse: collapse;
        border: none;
        width: 100%;
    }

        .grid table.fixed {
            table-layout: fixed;
        }

        .grid table td {
            font-size: .9rem;
            color: #575757;
            border-bottom: 1px solid rgba(0, 0, 0, 0.125);
        }

        /*.grid table tbody tr:last-child > td {
            border-bottom: none;
        }*/

        .grid table th,
        .grid table td {
            padding: 6px 8px;
            line-height: 1.5rem;
            vertical-align: top;
            text-align: left;
            /*white-space: nowrap;*/
            border-left: 1px solid rgba(0, 0, 0, 0.125);
        }

            .grid table th:first-child,
            .grid table td:first-child {
                border-left: none;
            }

        .grid table tbody tr:first-child td {
            border-top: none;
        }

        .grid table th {
            font-size: .8rem;
            font-weight: 600;
            color: #8e8e8e;
            background: linear-gradient(#fafafa, #dcdcdc);
            border-bottom: 1px solid rgba(0, 0, 0, 0.125);
        }

        .grid table td .btn {
            font-size: .8rem;
            padding: 0.2rem 0.8rem;
        }

        .grid table td a.link {
            font-weight: 600;
            color: #2987c4;
        }

            .grid table td a.link:hover {
                color: #1f6490;
                text-decoration: underline;
            }

        .grid table tbody tr:hover,
        .grid table tbody tr.nohover:hover,
        .grid table tbody tr.selected,
        .grid table tbody tr.selected:hover {
            cursor: default;
        }

        .grid table tbody tr:hover {
            color: #373b41;
            background-color: #e0f3f6;
        }

        .grid table tbody tr.nohover:hover {
            background-color: transparent;
        }

.grid-borderless table th,
.grid-borderless table td {
    padding: 4px 8px;
    border: 0;
}

.grid-compact table th {
    color: #000;
    font-weight: 600;
}

.grid-compact table th,
.grid-compact table td {
    background: none;
    padding: 2px 4px;
    border: 0;
}

.grid-compact table tbody tr:hover {
    background-color: transparent;
}


/* Buttons
****************************************************************/
.btn:before {
    content: "";
    display: inline-block;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.175);
    padding: 0.235rem 0.85rem;
    font-size: .9rem;
    border-radius: 4px;
}

a.btn {
    padding: 0.245rem 0.85rem;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.65;
}

.btn:active {
    outline: none;
}

.btn i {
    margin-right: 4px;
}

.btn:focus-visible {
    outline: none;
}

.btn-primary {
    background-color: #2479b1;
}

    .btn-primary:hover {
        background-color: #2784c2;
    }

.btn-info {
    background-color: #2aa2e0;
}

    .btn-info:hover {
        background-color: #2babed;
    }

.btn-success {
    background-color: #278f56;
}

    .btn-success:hover {
        background-color: #2a985c;
    }

.btn-warning {
    background-color: #db8702;
}

    .btn-warning:hover {
        background-color: #ae6c04;
    }

.btn-danger {
    background-color: #bf3341;
}

    .btn-danger:hover {
        background-color: #ac2d3a;
    }

.btn-light {
    color: #1d1d1d;
    background-color: #ededed;
    border-color: #a9a9aa;
}

    .btn-light:hover {
        background-color: #e2e2e2;
    }


/* Text Styles
****************************************************************/
.text-primary {
    color: #2479b1 !important;
}

.text-info {
    color: #2FA4FF !important;
}

.text-success {
    color: #278f56 !important;
}

.text-warning {
    color: #db8702 !important;
}

.text-danger {
    color: #bf3341 !important;
}

.text-orange {
    color: #e09319 !important;
}

.text-white {
    color: #ffffff !important;
}

.text-black {
    color: #000 !important;
}

.text-muted {
    color: #8b8b8b !important;
}


/* Pager
****************************************************************/
.pager {
    height: 28px;
    display: flex;
    align-items: center;
    gap: 2px;
}

    .pager .btn {
        background-color: #8d96a5;
        padding: 0.2rem 0.8rem;
        border: 1px solid rgba(0, 0, 0, 0.175);
    }

        .pager .btn:hover {
            background-color: #2479b1;
        }

        .pager .btn.active {
            background-color: #2479b1;
        }

/* Labels
****************************************************************/
.label {
    display: inline-block;
    padding: 0 10px;
    border-radius: 8px;
    color: #ffffff;
    font-size: .78rem !important;
    line-height: 1.3rem;
}

.label-primary {
    background-color: #0167aa;
    color: #f6f6f6;
}

.label-info {
    background-color: #2FA4FF;
}

.label-success {
    background-color: #48aa83;
}

.label-warning {
    background-color: #db8702;
}

.label-danger {
    background-color: #bf3341;
}

.label-critical {
    background-color: #fc0019;
}

.label-gray {
    background-color: #8c949d;
    color: #f6f6f6;
}

.label-purple {
    background-color: #9e66b3;
    color: #f6f6f6;
}

.label-dark {
    background-color: #373b41;
    color: #f6f6f6;
}

/* Stats
****************************************************************/
.stats-header {
    color: #000;
    font-size: .8rem;
    text-transform: uppercase;
    line-height: 1.2rem;
}

.stats-body {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 5px;
}


/* Cart Styles
****************************************************************/
.cart-menu-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 85px;
    min-width: 85px;
    height: 60px;
}

.grid-cart tbody td {
    padding: 8px 10px;
}

.grid-cart tbody tr.selected {
    background-color: #e0f3f6;
}

    .grid-cart tbody tr.selected:hover {
        background-color: #c8ecf2;
    }