﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body,
td {
    font-family: 'Roboto', sans-serif;
}

body
{
    padding-top: 100px;
}

h1 
{
    margin-bottom: 2rem;
}

table.table-auto-width
{
    width: auto;
}

a {
    color: #17a2b8;
    text-decoration: none;
    outline-style: none;
}

a.disabled {
    cursor: default;
    color: #848484 !important;
    opacity: .5;
}

/* main menu */
/*#header nav {
    border-radius: 0px;
}
*/

#header .navbar {
    padding: 0;
}

#header .navbar .container-fluid {
    padding-left: 0;
}

#header .navbar .navbar-brand {
    font-weight: 400;
    font-size: 1.15rem;
    padding: 10px 15px;
}

#header .navbar .navbar-brand img {
    max-height: 30px;
    display: inline-block;
}

#header .navbar .navbar-brand img.commetric-logo {
    width: 45px;
    margin-right: 6px;
}

#top-nav {
    background-color: #343a40;
}
/* end main menu */




/*#page {
    min-height: calc(100vh - 100px - 65px);
    padding-bottom: 45px;
}*/


/* footer */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 120px;
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0px 0px 0px 0px;
    border-top: 1px solid #e5e5e5;
    color: #767676;
    text-align: center;
    padding: 20px 0px;
}

/* end footer */

/* pagination */

.btn-page-size {
    background-color: #ffffff;
    border-color: #dddddd;
    padding: 5px 10px;
}

.page-link {
    color: #17a2b8;
}

.pagination-sm .page-link {
    padding: 5px 10px;
    font-size: 12px;
}

.page-item.active .page-link {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: #ffffff;
    z-index: unset;
}

.pagination-and-options-container .btn-sm,
.selection-actions .btn-sm,
.non-selection-actions .btn-sm {
    font-size: 12px;
}

/* end pagination */

/* tables */

.table > :not(:first-child) {
    border-top-style: none;
}

.table.table-striped > :not(caption) > * > * {
    box-shadow: none;
}

.table th {
    border-top-style: none;
}

.table > thead > tr > th a.sort-asc::after,
.table > thead > tr > th a.sort-desc::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 6px;
    color: #ffa000;
}

.table > thead > tr > th a.sort-asc.after-nowrap::after,
.table > thead > tr > th a.sort-desc.after-nowrap::after {
    margin-right: -9px;
    margin-left: 3px;
}

.table > thead > tr > th a.sort-asc::after {
    content: "\f106";
}

.table > thead > tr > th a.sort-desc::after {
    content: "\f107";
}

.table td .fas,
.table td .far {
    font-size: 15px;
    margin-right: 2px;
    margin-left: 2px;
}

.table-sm td, .table-sm th {
    /*padding: .4rem;*/
    font-size: 0.9rem;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.table .badge-info {
    border-radius: 10px;
    padding: 3px 5px;
}

/* end tables */


/* error and info alert dialog */

.ui-dialog.error-alert .ui-icon,
.ui-dialog.info-alert .ui-icon
{
    float: left;
    margin-right: 7px;
}

.ui-dialog.error-alert .ui-dialog-titlebar {
    background-color: #d9534f;
}

.ui-dialog.error-alert .ui-dialog-buttonset button.ui-state-default {
    border-color: #d9534f;
    color: #d9534f;
}

/* end error and info alert dialog */


.form-group {
    margin-bottom: 1rem !important
}

@media(min-width: 768px) {
    .form-control.date-flatpickr {
        width: 106px;
    }

    .form-control.datetime-flatpickr {
        width: 154px;
    }
    
}

/* adds scroll bar on dropdown menu */
.dropdown-menu {
    max-height: 20em; /* you can change as you need it */
    overflow: auto; /* to get scroll */
}

.btn-tools {
    background-color: transparent;
    border-style: none;
    padding: 0px 4px;
    cursor: pointer;
}

/* validation errors */

.validation-summary-errors,
.field-validation-error {
    color: #c93333;
}

.input-validation-error {
    border: 1px solid #ff0000 !important;
    background-color: #ffeeee;
}

.validation-summary-valid,
.field-validation-valid {
    display: none;
}

/* end validation errors */

/* buttons */

.btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-info:hover {
    color: #fff;
    background-color: #138496;
    border-color: #117a8b;
}

.btn-info:disabled,
.btn-info.disabled {
    color: #fff; 
}

.btn-outline-info {
    color: #17a2b8;
    border-color: #17a2b8;
}

.btn-outline-info:hover {
    color: #fff;
    background-color: #138496;
    border-color: #117a8b;
}

.btn-info-inverted {
    color: #17a2b8;
}

.btn-info-inverted:hover {
    color: #138496;
}

.btn-info-inverted:focus {
    box-shadow: none;
}

.btn-warning {
    color: #fff;
}

.btn-warning:hover,
.btn-warning:active,
.btn-warning:focus {
    color: #fff;
}

/* end buttons */

.bg-info 
{
    background-color: #17a2b8 !important;
}


.max-w-100 {
    max-width: 100%;
}