@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.loader {
    background-image: url('/images/loaders/initializing.gif');
    background-repeat: no-repeat;
    background-position: left;
    height: 25px;
    width: 68px;
}

.top-row {
    height: 5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

.main .top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
}

.main .top-row > a {
    margin-left: 1.5rem;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(0, 0, 0) 0%, #3e3e3e 100%);
}

.sidebar .top-row {
    background-color: rgba(0,0,0,0.4);
}

.sidebar .navbar-brand {
    font-size: 1.1rem;
}

.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type {
    padding-top: 1rem;
}

.nav-item:last-of-type {
    padding-bottom: 1rem;
}

.nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.nav-item a.active {
    background-color: rgba(255,255,255,0.20);
    color: white;
}

.nav-item a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}





.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.text-inactive {
    color: #C3C3C3;
}


/* ------- Dividers -------- */

.icon-btn {
    color: darkgray !important;
    margin-left: 3px !important;
    cursor: pointer;
}

.icon-btn:hover {
    color: black !important;
}

/* ------- Top Bar -------- */

.top-bar {
    margin-top: -25px;
    margin-left: -15px;
    margin-right: -15px;
}

.top-bar-divider {
    border-color: #828282;
    border-width: 1px;
    margin-left: -32px;
    margin-right: -24px;
    box-shadow: 0px 1.2px 2px #a1a1a1;
}


/* ------- Dividers -------- */


.divider-thin {
    border-color: black;
    border-width: 1px;
}
.divider {
    border-color:black;
    border-width:2px;
}
.divider-thick {
    border-color: black;
    border-width: 3px;
}

/* -------- Tabs ----------*/

.nav-tabs {
    color: #c7c7c7;
    cursor:pointer;
}

.nav-tabs .active {
    border-color: black;
    border-color: #a4a4a4;
    color: black;
    cursor: default;
    pointer-events:none;
    font-weight:bold;
}

.nav-tabs > li {
    margin-bottom: -1px;
}

.nav-tabs-body {
    border-top-width: 0;
}

/* ----------- Blazored -------------*/
/* --------- Simple Modal ----------*/

.simple-modal {
    display: flex;
    flex-direction: column;
    width: 40rem;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #fff;
    /*padding: 1.5rem;*/
    padding:20px;
    padding-bottom:5px;
    box-shadow: 0 2px 2px rgba(0,0,0,.25);
}

.blazored-modal-top-center .blazored-modal-wrapper {
    position: absolute;
    top: 105px;
    left: 50%;
    margin-left: -25rem; /* <-- Half the width of the modal */
}

/* ------------ Modes ---------------*/

.node-move-from-box {
    border-color: #c2c2c2;
    border-width: 1px;
    border-style: dotted;
    padding: 3px;
    padding-left: 8px;
    padding-right: 8px;
    background-color: #f3f3f3;
}

.node-move-to-box {
    border-color: #ff803e;
    border-width: 1px;
    border-style: dotted;
    padding: 3px;
    padding-left: 8px;
    padding-right: 8px;
    background-color: #fff0cf;
}

/* ------------ Tags ---------------*/

.tag-box {
    border-color: #c2c2c2;
    border-width: 1px;
    border-style: solid;
    padding: 8px;
    padding-left: 12px;
    padding-right: 12px;
    background-color: #f3f3f3;
    margin-right: 14px;
    margin-bottom: 14px;
}

.tag-checkbox {
    padding-right: 20px;
    padding-bottom: 12px;
    float: left;
    cursor: pointer;
    font-size: 18px;
    color: #B0B0B0;
}

.tag-assigned {
    color: #0032bd;
}

/* ------------ Nodes ---------------*/

.node-list-item {
    color: #808080;
    font-size: 28px;
    margin-left:20px;
    margin-right: 20px;
    cursor: pointer
}

.node-list-item:hover {
    color: #000000;
}


/* -------- Media Queries ----------*/

@media (max-width: 767.98px) {
    .main .top-row {
        display: none;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 210px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
