@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,800;1,300;1,400;1,500;1,700;1,800&display=swap");

html, body {
	width: 100%;
	height: 100%;
	margin: 0px;
	overflow: hidden;
	font-family: Tahoma;
}

/*login form*/

.login_block{
	margin:auto;
	width:400px;
	height:260px;

    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;

	padding-top:40px;
}
.login_line{
	height: 45px;
}
.login_line input{
	font-size: 16px;
	padding: 5px;
}
.login_line label{
	display: inline-block;
	width:110px;
	text-align: right;
	padding-right: 20px;
}
.login_button{
	margin-top: 10px; 
	text-align: center;
}
.login_button input{
	width:350px;
}






/*app specific*/
.bg_block{
    position:relative;
    overflow: hidden;
    border-radius:2px;
    margin:8px 10px 20px 8px;
    padding-bottom:10px;
}
.bg_block h2{
    margin-top:0px;
    padding:10px 20px;
    border-bottom: 1px solid #eee;
}
.bg_block h4{
    margin:25px 25px 9px;
    font-weight: normal;
    font-size:13px;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
}
.bg_block p{
    margin:5px 25px;
}
.bg_block pre{
    font-family: inherit;
}
.bg_block blockquote{
    border-left:2px solid #ccc;
    margin-left:25px;
    padding-left:20px;
}

.npm_message {
    padding:20px 40px;
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid #eee;
}

.npm_message + .dhtmlx_app_box{
    height: calc(100% - 110px);
}

.npm_message p {
    padding: 10px 30px;
}

.bg_active_false h2{
    color: #aaa;
}
.bg_active_false {
	background: #eee;
}
.danger_marker, .success_marker{
    position:absolute;
    top:24px;
    right:-32px;
    padding:5px 0px;
    transform: rotate(45deg);
    background: #faa; color: #000;
    text-align: center;
    width:150px;
}

.success_marker{
    background: #afa;
}

.bg_subblock{
    padding-bottom: 10px;
}
.hype{
    font-size:20px; 
    font-weight: bold;
}
.dhtmlx_button {
    border:1px solid #edf2f1;
    font-size:14px;color:#3498db;background:0 0;height:34px;line-height:24px;
    border-width:0;border-radius:2px;color:#8bc4ea;
    min-width: 150px;
    text-transform:uppercase;text-shadow:none;color:#3498db;
    background-color:transparent;
    padding:0 12px;
    box-shadow:none;box-shadow:0 0 5px rgba(0,0,0,.3);color:#fff;background-color:#3498db;
}
.dhtmlx_button:hover{
    background: lighten(#3498db, 5%)
}
.dhtmlx_button:active{
    background: darken(#3498db, 10%)
}

.dhtmlx_app_box{
    padding:20px 40px;

    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
}
.dhtmlx_app_box p {
    padding: 10px 0px;
}

.support_line{
    display: table;
    width:90%;
    min-height:148px; 
}
.support_block{
    display: table-cell; text-align:center;
}
.button_disabled{
    background: #888 !important;
}
.grid_link .dhtmlx_icon{
  font-size: 20px;
  color: #666;
  position: relative;
  top: 2px;
  margin-right: 9px;
}
.grid_link:hover .dhtmlx_icon{
    color:#3498db;
}
a.grid_link{
    color: #666;
    text-decoration: none;
}
a.grid_link:hover{
    color:#3498db;
}




.dlist h3{
    margin:5px 15px;
}
.dlist h3 span{
	font-size:13px;
	font-weight: normal;
}
.dlist p{
	padding:0px 15px;
}

.webixbutton{
    padding:5px 10px;
    font-weight: normal;
    margin-left: 20px;
}
.infolink{
	color: #3498db;
}


.infobox h3{
	margin: 5px 15px;
}
.infobox li{
	padding: 0px 15px;
	list-style-type: none;
}

.center_text{
	text-align:center;
	margin-top:50px;
}

.dhxsidebar_item {
    cursor: pointer !important;
}
.dhxsidebar_item_icon{
    padding-left: 10px !important;
}
.dhxsidebar_item_text{
    padding-left: 70px !important;
}

/* npm pages */

:root {
    --npm-dialog-clr-primary: #3498db;
    --npm-dialog-clr-primary-light: #39a6ef;
    --npm-dialog-clr-text-on-primary: #ffffff;
    --npm-dialog-clr-bg: #ffffff;
    --npm-dialog-clr-header-bg: var(--npm-dialog-clr-primary);
    --npm-dialog-clr-border: #eee;
    --npm-dialog-clr-error: #e53935;
    --npm-dialog-clr-error-light: #fa3e3a;
    --npm-dialog-clr-footer-bg: #f4f4f4;
    --npm-dialog-clr-shadow: rgba(0, 0, 0, .25);
    --npm-dialog-font-size: 16px;
    --npm-dialog-line-height: 1.4;
    --npm-dialog-font-family: "Roboto", Arial, sans-serif;
    --npm-dialog-radius: 6px;
    --npm-dialog-radius-input: 4px;
    --npm-dialog-gap: 12px;
}

.npm-access-view{
    display: flex;
    flex-direction: column;
    height: 100%;

}
.npm_code_block{
    padding: 10px 20px;
    background: #292d3e;
    color: #bfc7d5;
    border: 1px solid #eee;
    border-radius: 2px;
    margin: 10px 20px;
    font-family: monospace;
    font-size: 14px;

}

.npm-access-info{
    flex-shrink: 0;
    margin-bottom: 0;
}

.npm-access-users{
    flex-grow: 1;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.npm-access-users > * {
    flex-shrink: 0;
}

.npm-access-users #grid_container{
    flex-grow: 1;
}


dialog.npm-access-dialog {
    width: 360px;
    border: none;
    border-radius: var(--npm-dialog-radius);
    padding: 0;
    box-shadow: 0 2px 10px var(--npm-dialog-clr-shadow);
    background: var(--npm-dialog-clr-bg);
    font-size: var(--npm-dialog-font-size);
    font-family: var(--npm-dialog-font-family);
    line-height: var(--npm-dialog-line-height);
    font-weight: 300;
}

.npm-access-dialog header {
    padding: 12px 16px;
    background: var(--npm-dialog-clr-header-bg);
    color: var(--npm-dialog-clr-text-on-primary);
    font-size: var(--npm-dialog-font-size);
    font-weight: 400;
}

.npm-access-dialog .npm-access-dialog-row{
    margin:0;
    position:relative;
    padding: 10px 16px;
}

.npm-access-dialog form {
    padding: 16px 16px 10px
}

.npm-access-dialog label {
    display: block;
    margin-bottom: 6px;
    font-weight: 400;
}

.npm-access-dialog input[type=text],
.npm-access-dialog input[type=password] {
    width: 100%;
    margin-top:5px;
    padding: 6px 8px;
    box-sizing: border-box;
    border: 1px solid var(--npm-dialog-clr-border);
    border-radius: var(--npm-dialog-radius-input);
}

.npm-access-dialog .npm-form-error {
    color: var(--npm-dialog-clr-error);
    font-size: 12px;
    height: auto;
    margin: 2px 0 8px;
}

.npm-access-dialog footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--npm-dialog-gap);
    padding: 12px 20px;
    background: var(--npm-dialog-clr-footer-bg);
    border-top: 1px solid var(--npm-dialog-clr-border);
}

.npm-access-hint {
    font-size: calc(var(--npm-dialog-font-size) - 2px);
    padding-top: 4px;
    padding-bottom: 13px;
}

.npm-button {
    padding: 6px 18px;
    border: none;
    border-radius: var(--npm-dialog-radius-input);
    cursor: pointer;
}

.npm-access-dialog .npm-form-primary {
    background: var(--npm-dialog-clr-primary);
    color: var(--npm-dialog-clr-text-on-primary);
}

.npm-access-dialog .npm-form-primary:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.npm-icon-btn {

    border: none;
    background: none;
    cursor: pointer;
    font-size: 13px;
    color: var(--npm-dialog-clr-primary);
}
.npm-icon-btn:hover {
    color: var(--npm-dialog-clr-primary-light);
}

.npm-icon-btn[disabled] {
    opacity: .4;
    cursor: not-allowed;
}

.npm-button-danger {
    background: var(--npm-dialog-clr-error);
    color: var(--npm-dialog-clr-text-on-primary);
}

.npm-button-danger:hover {
    background: var(--npm-dialog-clr-error-light);
}

.npm-access-dialog .npm-icon-btn {
    position: absolute;
    right: -4px;
    top: 29px;
}



@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.npm-access-dialog .spinner, .loading-spinner {
    display: block;
    width: var(--load-spinner-size, 14px);
    height: var(--load-spinner-size, 14px);
    border: 2px solid var(--npm-dialog-clr-primary, #3498db);
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .6s linear infinite;
}

#grid_spinner{
    --load-spinner-size: 40px;
    position: absolute;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    background: #80808000;
}

.loading-spinner {
    /* position: relative; */
    top: 50%;
    bottom: 50%;
    left: 50%; 
    margin-top:auto;
    margin-left:auto;
    margin-right: auto;
    margin-bottom: auto;
}
.npm-access-dialog.npm-credentials{
    width: 660px;
}

.npm-access-dialog.npm-credentials .npm-icon-btn{
    right: 17px;
    top: 6px;
}

.npm-access-dialog .npm_code_block{
    margin-left: 0;
    margin-right: 0;
}

.npm-access-users div.gridbox table.row20px tr  td{
    height: 40px !important;
    line-height: 40px !important
}

.npm-access-users div.gridbox .hdr td:nth-child(3) .hdrcell,
.npm-access-users div.gridbox .hdr td:nth-child(5) .hdrcell{
    text-align: center !important;
    padding-left: 0 !important;
}