@import url('https://rsms.me/inter/inter.css');

html {
    font-family: 'Inter', sans-serif;
}

@supports (font-variation-settings: normal) {
    html {
        font-family: 'Inter var', sans-serif;
    }
}

body {
    font-size: .875rem;
}

header, header .navbar {
    min-height: 58px;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

h1 {
    font-family: Inter;
    font-size: 35.2px !important;
    font-weight: 800 !important;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: .3px;
    color: rgba(0,0,0,.87);
    margin: 24px 0;
}

a, a:visited, a:active {
    color: #304ffe;
}

    a:hover {
        color: #666;
    }

h2 {
    color: #304ffe;
}

#loading {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999998;
    width: 100vw;
    height: 100vh;
    background-color: rgba(256, 256, 256, 0.5);
    background-repeat: no-repeat;
    background-position: center;
}

.spinner > div > div:first-child {
    background: transparent !important;
    box-shadow: none !important;
}

.wrap-box {
    box-shadow: rgba(0,0,0,.2) 0 1px 5px 0, rgba(0,0,0,.12) 0 3px 1px -2px, rgba(0,0,0,.14) 0 2px 2px 0;
    padding: 20px;
    margin-bottom: 20px;
}

.btn-back {
    margin-right: 20px;
    cursor: pointer;
}


/* ****** CARDS ****** */

.card {
    border: 0px;
    box-shadow: 0 .2rem 1rem rgba(0,0,0,0.15);
}

.card-header {
    border: 0px;
    background: none;
    color: #999999;
    font-weight: 500;
}

.card-header-dark {
    background: #252525;
    color: #ffffff;
}

.card-footer button {
    width: 100%;
}

/* ****** CROSS TABLE ****** */

table.cross {
    width: 100%;
    text-align: center;
}

    table.cross td {
        width: 50%;
        padding: 20px;
    }

    table.cross td.bt {
        border-top: 1px solid #ddd;
    }

    table.cross td.bb {
        border-bottom: 1px solid #ddd;
    }

    table.cross td.bl {
        border-left: 1px solid #ddd;
    }

    table.cross td.br {
        border-right: 1px solid #ddd;
    }

/* ****** SECTIONS ****** */

.sections .section {
    display: none;
}

    .sections .section.active {
        display: block;
    }

.sections input {
    cursor: pointer;
}

.sections .loader {
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 100;
    top: 0;
    position: fixed;
    padding-top: 150px;
    text-align: center;
    overflow: hidden;
}

    .sections .loader > div {
        margin-left: -200px;
    }


/* ****** Sidebar ****** */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 70px 0 0; /* Height of navbar */
    /* box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1); */
}

    .sidebar button {
        width: 100%;
    }

@media (max-width: 767.98px) {
    .sidebar {
        top: 3rem;
    }
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    border-left: 5px solid transparent;
}

    .sidebar .nav-link:hover {
        color: #304ffe;
        border-left: 5px solid #bbb;
    }

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #999;
    }

    .sidebar .nav-link.active {
        color: #304ffe;
        border-left: 5px solid #304ffe;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/* ****** Navbar ****** */

.shadow {
    box-shadow: 0 .2rem 1rem rgba(0,0,0,0.15) !important;
}

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: 55px;
    left: 0;
}

    .navbar .navbar-toggler:focus {
        outline: 0px;
    }

    .navbar .navbar-toggler .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 15 15'%3e%3cpath stroke='rgba%280, 0, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='0' fill-rule='evenodd' d='M11.854 4.146a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708-.708l7-7a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 15 15'%3e%3cpath stroke='rgba%280, 0, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='0' fill-rule='evenodd' d='M4.146 4.146a.5.5 0 0 0 0 .708l7 7a.5.5 0 0 0 .708-.708l-7-7a.5.5 0 0 0-.708 0z'/%3e%3c/svg%3e")
    }

    .navbar .navbar-toggler.collapsed .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

    .form-control-dark:focus {
        border-color: transparent;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
    }

.navbar span.title {
    font-family: Inter;
    font-size: 18px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: .3px;
    text-align: center;
    color: rgba(0,0,0,.87);
    text-transform: uppercase;
    margin-top: 8px;
}

.nav-link.active {
    font-weight: bold;
    /* text-decoration: underline; */
    color: #2f4ffd !important;
}


/* ****** CHECKBOX ****** */


.select-checkbox {
    width: 20px;
}

.dataTables_scrollHead table.dataTable thead th.select-checkbox {
    position: relative;
    color: #ffffff;
}

.dataTables_scrollHead table.dataTable thead th.select-checkbox:before {
    content: ' ';
    margin-top: -6px;
    margin-left: -6px;
    border: 1px solid black;
    border-radius: 3px;
    border: 1px solid #2f4ffd;
    width: 16px;
    height: 16px;
    top: 20px;
    left: 50%;
    display: block;
    position: absolute;
}
   
table.dataTable tbody tr.selected, 
table.dataTable tbody th.selected, 
table.dataTable tbody td.selected {
    color: inherit !important;
}

table.dataTable tbody > tr.selected, 
table.dataTable tbody > tr > .selected {
    background-color: #e8e9ea !important;
}

table.dataTable tbody td.select-checkbox:before, 
table.dataTable thead th.select-checkbox:before {
    border: 1px solid #2f4ffd;
}

table.dataTable tbody td.select-checkbox:before, 
table.dataTable tbody td.select-checkbox:after, 
table.dataTable thead th.select-checkbox:before, 
table.dataTable thead th.select-checkbox:after {
    width: 16px;
    height: 16px;
    top: 20px;
}

table.dataTable tr.selected td.select-checkbox:before, 
table.dataTable tr.selected th.select-checkbox:before {
    background: #2f4ffd;
}

table.dataTable tr.selected td.select-checkbox:after, 
table.dataTable tr.selected th.select-checkbox:after {
    content: " ";
    display: block;
    width: 10px;
    height: 6px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(-45deg) scale(1);
    position: absolute;
    top: 28px;
    left: 53%;
}

.add-user-checkbox {
    display: flex;
}

    .add-user-checkbox > input {
        width: 20px;
        height: 20px;
        border: 1px solid #ced4da;
        border-radius: 0.25rem;
    }

    .add-user-checkbox > label {
        margin-left: 10px;
    }

.select-info {
    cursor: pointer;
}

/* ****** DROPDOWNS ****** */
#userId {
    width: 100%;
    height: 34px;
    border-radius: 4px;
}


/* ****** ACTIVITIES ****** */

.activity-type {
    font-weight: bold;
}




/* ****** DATATABLES OVERWRITES ****** */
.select-info {
    display: inline-block;
}

table.dataTable {
    margin-bottom: 20px !important;
}

.dataTables_length {
    display: inline-block;
}

.dataTables_info {
    display: inline-block;
    margin-left: 20px;
}

.page-item.active .page-link {
    border-color: #2f4ffd;
    background-color: #2f4ffd;
}

.dataTables_paginate {
    display: inline-block;
    float: right;
}

div.dataTables_wrapper div.dataTables_length select {
    width: 70px;
}

.select-info {
    display: inline-block;
    background: #2f4ffd;
    padding: 5px 20px;
    border-radius: 5px;
    margin-left: 20px;
    color: #fff;
}

.dtActions select {
    width: 200px;
}

.dtInfo {
    color: #fff;
    font-size: 0px;
}

    .dtInfo span {
        font-size: 12px;
    }

.dtSearch {
    float: right;
}

.dtActions, .dtInfo, .dtSearch {
    display: inline-block;
}


/* ****** BOOTSTRAP OVERWRITES ****** */

svg {
    overflow: hidden;
    vertical-align: -2px;
}

button:focus {
    outline: none;
}

.btn-secondary {
    color: #6c757d;
    background-color: #eee;
    border-color: #ddd;
}

.btn.btn-primary {
    color: #ffffff;
    background: #2f4ffd;
    border: 0px;
}

    .btn.btn-primary:hover {
        background-color: #2841d1 !important;
    }
    .btn.btn-primary:active {
        background-color: #121e61 !important;
    }
    .btn.btn-primary:focus {
        box-shadow: none !important;
    }

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-inline {
    display: inline;
    vertical-align: -3px;
}

.form-control:focus {
    box-shadow: none !important;
    border: 1px solid #2f4ffd;
}

.table thead th {
    vertical-align: top;
}

.text-primary {
    color: #2f4ffd !important;
}

.text-success {
    color: #45d48d !important;
}

.text-danger {
    color: #d46045 !important;
}

.summary {
    height: 90px;
}

.alert-primary {
    /*background-color: rgba(48,79,254,.2);
    border: 1px solid rgba(48,79,254,.2);
    color: #2f4ffd;*/
    background: #2f4ffd;
    border: 1px solid #2f4ffd;
    color: #ffffff;
    text-shadow: 1px 1px 1px #000000;
}

.alert-secondary {
    background-color: #c1c1d7;
    border: 1px solid #b1b1c7;
    color: #14141f;
}

.alert-black {
    background-color: #252525;
    border: 1px solid #000;
    color: #fff;
}

.alert-success {
    background-color: rgba(69,212,141,.2);
    border: 1px solid rgba(69,212,141,.2);
    color: #45d48d;
}

.alert-danger {
    background-color: rgba(212,96,69,.2);
    border: 1px solid rgba(212,96,69,.2);
    color: #d46045;
}

.alert-light {
    background-color: #eeeeee;
    border: 1px solid rgba(200,200,200,.2);
    color: #818182;
}

/* -------------------------- */

.badge {
    padding: 5px;
    cursor: default;
}

.badge-success {
    background-color: #45d48d;
}

.badge-soft-success {
    color: #00c9a7;
    background-color: rgba(0,201,167,.1);
}

.badge-danger {
    background-color: #d46045;
}

.badge-soft-danger {
    color: #ed4c78;
    background-color: rgba(237,76,120,.1);
}

.badge-soft-secondary {
    color: #71869d;
    background-color: rgba(113,134,157,.1);
}

.badge-Unmanaged {
    background-color: rgba(48,79,254,.2);
    border: 1px solid rgba(48,79,254,.2);
    color: #2f4ffd;
}

.badge-Monitored, .badge-Monitoring {
    background-color: #c1c1d7;
    border: 1px solid #b1b1c7;
    color: #14141f;
}

.badge-Managed, .badge-MiningBenchmark, .badge-MiningPerformance, .badge-MiningPowerSaver, .badge-MiningNormal {
    background-color: rgba(69,212,141,.2);
    border: 1px solid rgba(69,212,141,.2);
    color: #45d48d;
}

.badge-Unknown, .badge-Offline, .badge-Fault {
    background-color: rgba(212,96,69,.2);
    border: 1px solid rgba(212,96,69,.2);
    color: #d46045;
}

.badge-light, .badge-Ignored, .badge-None {
    background-color: #eeeeee;
    border: 1px solid rgba(200,200,200,.2);
    color: #818182;
}


.badge-Switching, .badge-PendingDecommission, .badge-PendingConfiguration {
    background-color: #ffc107;
    color: #000;
}

/* ----------------------------------------- */

.datepicker .active.range-start, .datepicker .active.range-end {
    background: #304ffd !important;
}

.dropdown-menu {
    margin-top: 7px;
    border: 1px solid #304ffd;
    box-shadow: 0 0.2rem 1rem rgb(0 0 0 / 20%);
    padding: 10px;
}

    .dropdown-menu th {
        color: #304ffd;
        font-weight: 600;
    }

.datepicker-dropdown:before {
    border-bottom-color: #304ffd;
}


/* ****** SPARK LINES ****** */
/*
.spark {
    width:100%;
}

.spark canvas {
    width:100% !important;
}
    */
.jqstooltip {
    width: auto !important;
    height: auto !important;
    padding: 4px !important;
    border: 0px !important;
}

.jqsfield {
    font-size: 12px !important;
    text-align: center !important;
}

    .jqsfield span {
        display: none !important;
    }

/* ****** WORKERS PAGE ****** */


.edit-group {
    display: none;
    position: absolute;
    top: 5px;
    right: 10px;
}

.edit-group-save {
    display: none;
}

.edit-group-text {
    width: 69%;
    text-align: left;
    display: none;
    margin-left: 30px;
}

.nav-group {
    position: relative;
}

    .nav-group:hover .edit-group, .edit-group.editing {
        display: block;
    }

.edit-group .edit-group-text {
    float: left;
    border: 1px #2f4ffd solid;
}

    .edit-group .edit-group-text:focus {
        border: 2px #2f4ffd solid;
    }

.edit-group .edit-group-save {
    float: right;
    margin-top: 2px;
    margin-left: 6px;
    cursor: pointer;
}

.edit-group.editing {
    width: 100%;
    padding: 0 0 0 60px;
}

    .edit-group.editing .edit-group-save, .edit-group.editing .edit-group-text {
        display: block;
    }

.edit-group .edit-group-edit, .edit-group .edit-group-remove {
    float: right;
    margin-top: 4px;
    cursor: pointer;
}

.edit-group.editing .edit-group-edit, .edit-group.editing .edit-group-remove {
    display: none;
}






/* ****** WALLETS PAGE ****** */
#table-balances th {
    cursor: pointer;
}

.activity {
    display: none;
}

.wallet-activity .date-label {
    font-weight: bold;
    font-size: 14px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.wallet-activity .icon {
    font-size: 30px;
    color: #3856fe;
}

.wallet-activity .arrow-container {
    background-color: transparent;
    color: #43d38e;
}

.wallet-activity .activity-table tr {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    margin-top: 10px;
}

/* ****** INDEX PAGE ****** */

#blocks tbody tr {
    display: none;
}

#blocks tbody tr.active-page {
    display: table-row;
}

.enable-two-factor {
    color: white !important;
    text-decoration: underline;
}


/* ****** ADD USER PAGE ****** */
.worker-group {
    margin-bottom: 1rem;
}

/* ****** EDIT USER PAGE ****** */
.edit-group-id {
    width: 20px;
    height: 15px;
    margin: .25rem 0.5rem 0 0;
}

.edit-groups {
    padding-left: 1.25rem;
    font-size: 1rem;
}

    .edit-groups div:first-child {
        font-weight: 500;
    }
