﻿body {
    font-size: 0.9rem;
}

.header-background-color {
    /*background-color: #0397d6;*/
    background-color: white;
}

.list-group-item.active {
    color: #495057;
    border-right: 4px solid #007bff;
    border-bottom: 1px solid #495057;
    border-top: 1px solid #495057;
    border-left: 0px;
}

.sidebar-button {
    font-size: 14px;
    border-width: 1px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 7px;
    padding-right: 7px;
}

.mycheckbox {
    height: 1em;
}

.right-align {
    text-align:right;
}

.bold {
    font-weight:bold;
}

table.narrow-rows tbody tr {
    line-height: 1em;
}

.section-title {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #0397D6;
    line-height: 1.2;
    font-size: 1.5rem;
}

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-grow: 1;
}

    .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;
        vertical-align: middle;
    }

    .dashboard-widget tbody tr td:last-child {
        border-radius: 0px 15px 15px 0px;
    }

    .dashboard-widget button {
        font-weight : 500;
        text-transform : lowercase;
        font-size : .7rem;
        border-radius : 20px;
        margin : 0 auto;
        padding : 3px 15px 3px 15px;
    }

.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;
    align-content: stretch;
    justify-content: flex-start;
    column-gap: 30px;
    row-gap: 30px;
    align-items: flex-start;
}