﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.container {
    max-width: 90%;
}

th, td {
    white-space: nowrap;
}

/* firefox fix for scrollbar limitation */
@-moz-document url-prefix() {
    td .horizontal-scrolling {
        padding-bottom: 10px;
    }
}

td .horizontal-scrolling {
    max-width: 350px;
    overflow-x: scroll;
}

    td .horizontal-scrolling ::-webkit-scrollbar {
        width: 3px;
        height: 3px;
    }

    td .horizontal-scrolling ::-webkit-scrollbar-track {
        box-shadow: inset 0 0 2px #E9ECEF;
        border-radius: 10px;
    }

    td .horizontal-scrolling ::-webkit-scrollbar-thumb {
        background: #6C757D;
        border-radius: 10px;
        cursor: pointer;
    }

.container ::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

/* Track */
.container ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px #E9ECEF;
    border-radius: 10px;
}

/* Handle */
.container ::-webkit-scrollbar-thumb {
    background: #6C757D;
    border-radius: 10px;
    cursor: pointer;
}

::-webkit-scrollbar-thumb:hover {
    background: #495057;
}

.dashboard-widget {
    background-color: #EEF3F8;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border: none;
    border-radius: 15px;
    flex: 1 1 400px;
}

.dashboard-widget.full {
    flex: 0 1 100%;
}

    .dashboard-widget .card-body {
        max-height: 350px;
        min-width: 400px;
        overflow-y: auto;
    }

.dashboard-widget-header {
    color: #ffff;
    border-radius: 15px 15px 0px 0px !important;
    font-size: 16px;
}

    .dashboard-widget-header > .navigation-link {
        color: #fff;
        float: right;
    }

.dashboard-widget thead {
    background-color: #F0F3F8;
    font-size: 10px;
}

.dashboard-widget th {
    background-color: #F0F3F8;
}

.dashboard-widget tbody {
    font-size: 12px;
}

    .dashboard-widget tbody th {
        background-color: #fff;
        border: 2px solid #F0F3F8;
        border-bottom: 4px solid #F0F3F8;
        border-radius: 15px 0px 0px 15px;
    }

    .dashboard-widget tbody td {
        background-color: #fff;
        border: 2px solid #F0F3F8;
        border-bottom: 4px solid #F0F3F8;
    }

    .dashboard-widget tbody tr td:last-child {
        border-radius: 0px 15px 15px 0px;
    }

.action-button.action-button-success {
    background: #28a745;
}
.action-button {
    background: rgb(101,147,190);
    font-size: 12px;
    background: linear-gradient(45deg, rgba(101,147,190,1) 0%, rgba(101,140,227,1) 64%, rgba(102,139,233,1) 100%);
    color: #fff;
    padding: 0px 15px 2px 15px;
    border-radius: 10px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: all .2s ease-in-out;
}

    .action-button.disabled {
        background: #C2C2C2;
        color: #fff;
        padding: 0px 15px 2px 15px;
        border-radius: 10px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        transition: all .2s ease-in-out;
    }

    .action-button:hover {
        text-decoration: none;
        color: #fff;
        transform: scale(1.2);
        -webkit-transform: scale(1.2);
        background: rgb(101,147,190);
        background: linear-gradient(45deg, rgba(121,147,199,1) 100%, rgba(101,140,227,1) 0%, rgba(102,139,233,1) 0%);
    }

    .action-button.disabled:hover {
        background: #C2C2C2;
        text-decoration: none;
    }


.dashboard-status-badge {
    min-width: 16px !important;
    min-height: 16px !important;
    cursor: help;
}

.dashboard-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 30px;
    row-gap: 30px;
    align-items: flex-start;
}

.control-label.required::after {
    color: red;
    content: '*';
}

.list-group-item.active {
    color: #495057;
    border-right: 4px solid #007bff;
    border-bottom: 1px solid #495057;
    border-top: 1px solid #495057;
    border-left: 0px;
}