html, body {
    height: 100%;
    min-height: 100%;
    /*overflow: hidden;*/
}

body {
    display: flex;
    flex-direction: column;
    color: #1d1d1d;
    background-color: #f5f5f5;
}

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: 5px 8px;
    resize: none;
}

    input:focus,
    textarea:focus,
    select:focus {
        border: 1px solid #05bad7;
        outline: none;
    }

    input:disabled,
    textarea:disabled,
    select:disabled {
        background-color: #f2f4f8 !important;
    }

img {
    border: none;
}

a {
    text-decoration: none;
    outline: none;
}

fieldset {
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #0396ad;
}

    header h1 {
        font-size: 1.1rem;
        font-weight: 600;
        color: #fff;
    }

    header ul {
        padding: 0;
        margin: 0;
        display: flex;
    }

        header ul li a {
            padding: 10px;
            color: #fff;
            font-size: .8rem;
            border-radius: 4px;
            text-transform: uppercase;
        }

            header ul li a:hover {
                background-color: #047081;
            }

.page {
    display: flex;
    flex: 1 1 auto;
}

nav {
    width: 60px;
    background: #1b1b1b;
}

    nav li:first-child {
        margin-top: 10px;
    }

        nav li a {
            display: block;
            text-align: center;
            vertical-align: middle;
            color: #b5b5b5;
            font-size: .7rem;
            margin-top: 8px;
            padding: 5px;
            border: 2px solid transparent;
            border-top: 0;
            border-bottom: 0;
        }

        nav li a i {
            display: block !important;
            font-size: 1.4rem;
            margin-bottom: 5px;
        }

            nav li a:hover {
                color: #fff;
            }

                nav li a:hover > i {
                    color: #09adca;
                }

            nav li a.active {
                color: #09adca;
                border-left-color: #09adca;
            }

.browse {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

    .browse a {
        display: inline-block;
        width: 80px;
        text-align: center;
        vertical-align: middle;
        color: #1d1d1d;
        font-size: .8rem;
        padding: 10px;
    }

        .browse a:hover {
            color: #000;
        }

        .browse a i {
            display: block !important;
            font-size: 1.5rem;
            color: #b5b5b5;
            margin-bottom: 5px;
        }

            .browse a:hover > i {
                color: #09adca;
            }

        .browse a:hover {
            color: #000;
        }

        .browse a.back i {
            color: #6dbd4f;
        }

        .browse a.back:hover > i {
            color: #61a348;
        }


content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 15px;
    padding-bottom: 0px;
}

.content-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

footer {
    padding: 5px 0 8px 0;
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    /*border-top: 1px solid #000;*/
}

    footer span {
        font-size: .75rem;
    }

/* 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: 0.25rem;
}

.card-header,
.card-footer {
    padding: 10px 15px;
    background-color: #e2e2e6;
}

.card-body {
    padding: 15px;
    background-color: #fafafa;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

    .card-body:first-child {
        border-top: none;
    }

.card-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: .9rem;
    /*background-color: #d6d5e2;*/
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

    .card-header:first-child {
        border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 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-tab {
    padding: 15px;
    background-color: #fafafa;
}

    .card-tab:first-child {
        border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
    }

    .card-tab li {
        display: inline-block;
        margin-right: 30px;
    }

        .card-tab li a {
            display: inline-block;
            padding: 2px 2px 6px 2px;
            color: #8d96a5;
            font-weight: 600;
            border-bottom: 3px solid transparent;
        }

            .card-tab li a i {
                margin-right: 3px;
            }

            .card-tab li a:hover,
            .card-tab li a.active {
                color: #09adca;
                border-bottom-color: #09adca;
            }

.card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

    .card-footer:last-child {
        border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
    }


.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: 4px;
            font-size: .85rem;
            color: #5b6267;
        }


/* Grid
****************************************************************/
.grid {
    border: 1px solid rgba(0, 0, 0, 0.125);
    padding: 0px;
    overflow-y: auto;
}

    .grid table {
        border-collapse: collapse;
        border: none;
        width: 100%;
    }

        .grid table td {
            font-size: .9rem;
            border-bottom: 1px solid rgba(0, 0, 0, 0.125);
        }

        .grid table th,
        .grid table td {
            padding: 6px 8px;
            line-height: 1.5rem;
            vertical-align: top;
            text-align: left;
            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 tr:first-child td {
            border-top: none;
        }

        .grid table th {
            font-size: .8rem;
            font-weight: 600;
            color: #000;
            background-color: #dfdfe1;
            border-bottom: 1px solid rgba(0, 0, 0, 0.125);
        }

        .grid table td .btn {
            font-size: .8rem;
            padding: 0.2rem 0.6rem;
        }

        .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 {
            background-color: #e0f3f6;
        }

        .grid table tbody tr.nohover:hover {
            background-color: transparent;
        }

/*.grid table tbody tr.selected:hover {
            background-color: transparent;
        }*/

.grid-compact table th,
.grid-compact table td {
    padding: 4px 6px;
}

.grid-cart table th,
.grid-cart table td {
    font-size: 90%;
}

.grid-cart tbody tr.selected {
    background-color: #bef0f7;
}

    .grid-cart tbody tr.selected:hover {
        background-color: #75e2f2;
    }

/* Buttons
****************************************************************/
.btn:before {
    content: "";
    display: inline-block;
    height: 16px;
    vertical-align: middle;
}

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    border-color: rgba(0, 0, 0, 0.190);
    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: #277BC0;
    /*border-color: #1d5d92;*/
    
}

    .btn-primary:hover {
        background-color: #1d5d92;
    }

.btn-info {
    background-color: #2FA4FF;
    /*border-color: #2a8cd9;*/
}

    .btn-info:hover {
        background-color: #2a8cd9;
    }

.btn-success {
    background-color: #48aa83;
    /*border-color: #3c8f6e;*/
}

    .btn-success:hover {
        background-color: #3c8f6e;
    }

.btn-warning {
    background-color: #db8702;
    /*border-color: #ae6c04;*/
}

    .btn-warning:hover {
        background-color: #ae6c04;
    }

.btn-danger {
    background-color: #bf3341;
    /*border-color: #ac2d3a;*/
}

    .btn-danger:hover {
        background-color: #ac2d3a;
    }

.btn-light {
    color: #1d1d1d;
    background-color: #ededed;
    /*border-color: #a9a9aa;*/
}

    .btn-light:hover {
        background-color: #e2e2e2;
    }

.btn-denom {
    box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    width: 100% !important;
    font-size: 1rem !important;
}

.btn-tablet {
    height: 50px;
    width: 74px;
    min-width: 74px;
    padding: 0.235rem;
    font-size: 95%;
}

/* Text Styles
****************************************************************/
.text-primary {
    color: #0167aa !important;
}

.text-info {
    color: #2FA4FF !important;
}

.text-success {
    color: #48aa83 !important;
}

.text-warning {
    color: #db8702 !important;
}

.text-danger {
    color: #bf3341 !important;
}

.text-white {
    color: #ffffff !important;
}

.text-black {
    color: #000 !important;
}

.text-muted {
    color: #949494 !important;
}


/* Pager
****************************************************************/
.pager {
    height: 28px;
    display: flex;
    align-items: center;
    gap: 2px;
}

    .pager .btn {
        background-color: #8d96a5;
        padding: 0.2rem 0.8rem;
        border: none;
    }

        .pager .btn:hover {
            background-color: #088ee5;
        }

        .pager .btn.active {
            background-color: #0167aa;
        }

/*  Page Tab
***************************************************************/
.page-tab {
    margin: 0;
    padding: 0;
    color: #949494;
}

    .page-tab li {
        display: inline-block;
        margin-right: 20px;
    }

        .page-tab li a {
            display: inline-block;
            padding: 0;
            height: 15px;
            font-size: .8rem;
            font-weight: 600;
            text-decoration: none;
            text-transform: uppercase;
            color: #000;
            border-bottom: 4px solid transparent;
        }

            .page-tab li a:hover {
                color: #0cb5d0;
            }

            .page-tab li a.active {
                border-bottom-color: #0cb5d0;
                color: #000;
            }


/* Labels
****************************************************************/
.label {
    display: inline-block;
    padding: 0px 6px;
    border-radius: 4px;
    color: #ffffff;
    font-size: .8rem !important;
}

.label-primary {
    background-color: #0167aa;
    color: #7fcbfe;
}

.label-info {
    background-color: #2FA4FF;
    color: #c6e6ff;
}

.label-success {
    background-color: #48aa83;
    color: #bdfce4;
}

.label-warning {
    background-color: #db8702;
    color: #fce2b8;
}

.label-danger {
    background-color: #bf3341;
    color: #fbbdc3;
}


/* Subscription
****************************************************************/
.subscription {
    font-size: 1rem;
    line-height: 20px;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    width: 800px;
    background-color: #fafafa;
}

.subscription-header,
.subscription-body {
    padding: 20px;
}

.subscription-header {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.subscription-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    padding: 10px;
    text-align: center;
}

.subscription article {
    margin-top: 5px;
    margin-left: 15px;
    text-align: justify;
}

        .subscription h1 {
            font-size: 1.2rem;
            font-weight: bold;
            text-align: center;
        }

    .subscription h2 {
        font-size: 1rem;
        font-weight: bold;
        text-align: center;
        margin-top: 5px;
    }

    .subscription h3 {
        font-weight: bold;
    }

    .subscription ol.alpha {
        margin: 15px;
    }

    .subscription ol.alpha li {
        list-style: lower-alpha;
        margin-bottom: 3px;
    }

.subscription ol.numeric {
    margin: 15px;
}

    .subscription ol.numeric li {
        list-style:decimal;
        margin-bottom: 3px;
    }

    
