html, body {
    height: 100%;
    margin: 0;
    padding: 0px;
    overflow: hidden;
}

#canvas {
    width: 100%;
    height: 100%;
    background: rgb(248, 248, 248);
}

.grabbable {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

/* (Optional) Apply a "closed-hand" cursor during drag operation. */
.grabbable:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}


.modal {
    display: none;
    
    position: absolute;
    z-index: 9999999;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;

    background: #070707c7;
}

.modal .modal-body {
    padding: 3rem;
    background-color: #fff;
    border-radius: 6px;
    width: 640px;
}


/* #user-box {
    display: none;
    
    position: absolute;
    z-index: 9999999;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;

    background: #070707c7;
}

#user-box-container {
    padding: 3rem;
    background-color: #fff;
    border-radius: 6px;
    width: 640px;
} */

#user_data_alert {
    display: none;
    margin-bottom: 0;
    margin-top: .6rem;
}


.tools {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
}

.tools button {
    font-size: 16px;
    background-color: #0D99FF;
    color:white;
    border: none;
    box-shadow: 1px 1px 2px #00000040;
    padding: 12px;
    border-radius: 3px;
    font-weight: 600;
    cursor: pointer;
}

.side-tools {
    position: absolute;
    z-index: 2;
    top: 0;
    width: max-content;
    padding: 20px;
}

.side-tools.side-tools-left {
    left:0;
}

.side-tools.side-tools-right {
    right: 0;
}

.side-tools button {
    font-size: 16px;
    background-color: #0D99FF;
    color: white;
    border: none;
    box-shadow: 1px 1px 2px #00000040;
    padding: 12px;
    border-radius: 3px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: max-content;
}

#type-filters button {
    background-color:#e9e9e9;
    color: #212529;
    /* border:1px solid #d3d3d3; */
    font-size: 12px;
}

#type-filters .type-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 6px;
}


.panel {
    position: absolute;
    z-index: 4;
    width: 40vw;
    height: 100vh;
    padding: 20px;
    /* padding-top: 5px; */
    background: white;
    box-shadow: -2px 0 16px #00000040;
    display: none;
    overflow-y: scroll;
}

.panel.panel-right {
    top: 0;
    right: 0;
}

.panel-right .panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.panel-active {
    display: block;
}




/* Override */

.btn-light {
    color: #212529;
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

.btn-light:hover {
    color: #212529;
    background-color: #c0c4c9;
    border-color: #acb0b4;
}


#loading {
    width: 100vw;
    height: 100vh;
    position: absolute;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    background-color: #f1f1f1;
    z-index: 99999;
}

#loading-title {
    color: #4c7eaae0;
    margin-top: 3rem;
}

/**
* Hidden on initialize
*/

#clear-ingredient-filter {
    display: none;
}

#clear-type-filter {
    display: none;
}


/**
Login
**/

#login  {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
}

.noble-ui-logo {
	font-weight: 900;
	font-size: 25px;
	letter-spacing: -1px;
	color: #031a61;
}

.noble-ui-logo span {
	color: #727cf5;
	font-weight: 300;
}

.auth-left-wrapper {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .25rem 0 0 .25rem;
}

#login .btn-primary {
    background-color: #727cf5;
    border-color: #727cf5;
}