@font-face {
    font-family: Ubuntu-Regular;
    src: url("/fonts/Ubuntu-Regular.ttf"); 
}
@font-face {
    font-family: Ubuntu-Bold;
    src: url("/fonts/Ubuntu-Bold.ttf"); 
}

* {
    margin: 0;
    padding: 0;
}

body {
    height: calc(var(--vh, 1vh) * 100);
    width: 100%;
}

#login {
    font-family: Ubuntu-Bold;
    color: #403866;
    top: 0;
    left: 0;
    z-index: 999999;
    display: flex;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 20vh;
    align-items: center;
    justify-content: center;
}

#login_form {
    display: inline-block;
    padding: 15px;
    background: white;
    vertical-align: middle;
    width: 390px;
}

#login_form > input[type=text], textarea {
    font-family: Ubuntu-Bold;
    color: #403866;
    line-height: 1.2;
    font-size: 18px;
    display: block;
    width: 100%;
    background: #e6e6e6;
    height: 64px;
    padding: 0 20px 0 38px;
    border: unset;
    border-radius: 3px;
    resize: none;
    outline: none !important;
}

#login_form > textarea {
    padding: 10px 20px 10px 38px !important;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
    line-height:41px;
}
::-webkit-input-placeholder { /* Webkit */
    line-height:41px;
}
:-ms-input-placeholder { /* IE */
    line-height:41px;
}

#login_form > input[type=button] {
    font-family: Ubuntu-Bold;
    width: 100%;
    height: 62px;
    font-size: 16px;
    background-color: #827ffe;
    border-radius: 3px;
    text-transform: uppercase;
    outline: none;
    border: none;
    color: white;
    transition: all 0.4s;
    cursor: pointer;
}

#login_form > input[type=button]:hover {
    background-color: #473e70;
}

#login_form > input[type=button]:active {
    background-color: #28233f;
}

#login_form > input[type=text]:focus, textarea:focus {
    border: 1px solid #827ffe;
}

#loaderbox {
    z-index: 9999;
    position: fixed;
}

#loaderbox > div {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: fixed;
    background: #00000082;
}

.nb-spinner {
    width: 75px;
    height: 75px;
    margin: 0;
    background: transparent;
    border-top: 4px solid #03A9F4;
    border-right: 4px solid transparent;
    border-radius: 50%;
    -webkit-animation: 1s spin linear infinite;
    animation: 1s spin linear infinite;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#header {
    display: flex;
    align-items: center;
    font-family: Ubuntu-Regular;
    width: 100%;
    height: 50px;
    background: #3693cf;
    border-bottom: 1px solid #c3c3c3;
    color: white;
}

#header_text {
    padding: 10px;
    width: 100%;
}

#header_btns {
    padding-right: 10px;
    display: block;
    width: 100%;
    text-align: right;
}

#header_btns > button {
    width: 38px;
    outline: none;
    border: 0;
    padding: 8px;
    border-radius: 4px;
    color: white;
    background-color: #17a2b8;
    -webkit-box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
    transition: 0.3s;
    cursor: pointer;
}

#header_btns > button:hover {
    background-color: #138496;
}

#scan-div {
    height: calc(100vh - 51px);
}

#scan-table {
    font-family: Ubuntu-Regular;
    font-size: 16px;
    width: 100%;
    border-collapse: collapse;
}

#scan-table > thead {
    background: #c0c0c033;
}

#scan-table > thead > tr > th {
    border: 1px solid #bdbaba;
    padding: 6px;
}

#scan-table > tbody > tr > td {
    border: 0 solid #dee2e6;
    border-width: 1px 0;
    padding: 6px;
}

#scan-table > tbody > tr {
    cursor: pointer;
}

#scan-table > tbody > tr:hover {
    background: #00ffe233;
}

#scan-table > tbody > tr:active {
    background: #00c5ae2a;
}

.noselect {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

#path {
    width: 100%;
    height: 30px;
    padding: 3px 8px;
    font-size: 18px;
}

#log-view {
    font-family: Ubuntu-Regular;
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}

#log-view-layer {
    display: block;
    position: absolute;
    height: auto;
    bottom:0;
    top:0;
    left:0;
    right:0;
    margin: 1vh;
    background-color: #ebebeb;
}

#log-view-box {
    background-color: white;
    bottom:0;
    top:0;
    left:0;
    right:0;
    margin: 10px;
    margin-top: 40px;
    height: auto;
    position: absolute;
    display: block;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid rgba(0,0,0,.125);
}

.btn-log-view {
    background: #828282;
    cursor: pointer;
    font-size: 16pt;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    border: 0;
    padding: 10px;
}

.btn-log-view:hover {
    background-color: #9f9f9f;
}

.btn-log-view:active {
    background-color: #6d6d6d;
}

#log-view-btns {
    margin: -45px 3px;
    float: right;
}

#log-view-box > table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

#log-view-box > table > tbody > tr > td {
    word-wrap:break-word;
    padding: 4px;
}

#log-view-box > table > tbody > tr:nth-child(odd) {
    background: #ff810029;
}

#log-view-box > table > tbody > tr:nth-child(even) {
    background: #f3f3f3;
}

#log-view-box > table > tbody > tr > td:nth-child(1) {
    width: 40px;
    text-align: center;
    border-right: 1px solid #cfcfcf;
}

.tag-color-0 {
    color: #009b00;
}

.tag-color-1 {
    color: #0000d1;
}

.tag-color-2 {
    color: #e400ff;
}

.tag-color-3 {
    color: #848600;
}

.log-view-isobject {
    font-weight: bold;
    letter-spacing: 3px;
    color: #3c3c3c;
    padding-left: 4px;
    cursor: pointer;
}

.log-view-isobject:hover {
    color: black;
    background: white;
    padding: 1px;
    padding-left: 4px;
    border-radius: 9px;
    border: 1px solid #d9d9d9;
}