html {
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    margin: 0px;
    height: 100%;
    max-height: 100%;
}

#flex-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
}

#app {
    height: 100%;
}

#wrapper-left {
    width: 300px;
    height: 100%;
    background-color: #374346;
}

#wrapper-left.collapsed {
    width: 32px !important;
    overflow: hidden;
    overflow-y: hidden !important;
}

#wrapper-left.collapsed #panel-toggle::before {
    transform: translateY(-50%) translateX(-50%) rotateZ(90deg);
}

#wrapper-right {
    width: 300px;
    height: 100%;
    background-color: #374346;
}

.control-panel {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    position: relative;
}

#panel-toggle {
    width: 32px;
    height: 32px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1000;
    padding: 0;
    cursor: pointer;
}

#panel-toggle::before {
    font-family: 'pc-icon';
    content: '\E183';
    font-weight: 200;
    font-size: 14px;
    margin-right: 10px;
    text-align: center;
    color: #f60;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
}

#panel-toggle:hover::before {
    color: white;
}

#canvas-wrapper {
    position: relative;
    width: 0 !important;
    flex-grow: 1;
    display: flex;
}

#application-canvas {
    width: 0 !important;
    flex-grow: 1;
    height: 500px;
}

h3 {
    margin: 0px;
    padding: 5px;
    font-size: 9pt;
    color: #fff;
    background-color: #293538;
}

label {
    display: inline-block;
    vertical-align: middle;
    font-size: 10pt;
    color: #bbb;
    width: 60px;
}

button {
    width: 100%;
    text-align: left;
}

ul {
    list-style-type: none;
    list-style-position: inside;
    margin: 0px;
    padding: 0px;
}

input {
    font-size: 10pt;
    width: 170px;
    margin: 0px;
    vertical-align: middle;
    background-color: 293538;
}

.header {
    display: block !important;
    margin: 0px;
    height: 32px;
    line-height: 32px;
}

.header img {
    width: 32px;
    height: 32px;
}

.header div {
    color: #fff;
    display: inline-block;
    vertical-align: top;
    line-height: 32px;
    padding: 0px 0px 0px 8px;
}

.header span {
    color: #b1b8ba;;
}

.pcui-infobox {
    border-radius: 8px;
    font-size: 16px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.pcui-infobox.pcui-error {
    position: absolute;
}

#load-controls .pcui-container {
    position: absolute;
}

.load-button-panel {
    width: 320;
    width: 320;
    background-color: #475457;
    padding: 16px 16px 16px 16px;
    border-radius: 8px;
    font-size: 16px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.centered-label {
    text-align: center;
}

.load-button-panel.hide {
    display: none !important;
}

.initial-cta.no-cta {
    display: none !important;
}

.pcui-infobox.pcui-error :first-child {
    color: red;
}

.pcui-infobox.pcui-error:before {
    color: red;
}

.controls {
    margin: 0px;
    padding: 10px 4px;
    background-color: #374346;
}

.controls div {
    margin: 3px 0px;
}

#scrub-container {
    text-align: center;
    margin: 2px 0px 10px 0px;
}

#scrub-container input {
    width: 40px;
}

.panel-option {
    display: flex;
    align-items: center;
}

.panel-option > .pcui-label {
    min-width: 30%;
    font-size: 14px;
}

.panel-option > .pcui-select-input {
    flex-grow: 1;
}

.panel-option > .pcui-slider {
    flex-grow: 1;
}

.panel-option > .pcui-vector-input {
    flex-grow: 1;
}

/* apply spacing to all panel option elements */
.panel-option > .pcui-vector-input > .pcui-numeric-input, .panel-option > .pcui-select-input, .panel-option > .pcui-slider {
    margin: 4px 4px;
}

.panel-option > .pcui-label, .panel-option > .pcui-boolean-input-toggle {
    margin: 8px 4px;
}

.animation-buttons {
    display: flex;
}

.animation-list-container {
    display: flex;
    flex-direction: column;
    margin-right: 12px;
}

.morph-target-panel {
    margin: 6px;
    border: 1px solid #232e30 !important;
}

.morph-target-label {
    min-width: 24% !important;
}

@keyframes animation-spin {
    from {
        transform: rotate(0deg);
    } to {
        transform: rotate(360deg);
    }
}

.pcui-spinner {
    position: absolute;
    margin: 0;
    left: calc(50% - 15px);
    top: calc(50% - 15px);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #20292b;
}
::-webkit-scrollbar-thumb {
    background: #5b7073;
}
/* ::-webkit-scrollbar-corner {
    background: $editor-tooltip-bg;
} */

.modelHierarchyPanel > .pcui-panel-content {
    overflow-x: auto;
    overflow-y: hidden;
}

.modelHierarchyPanel, .modelSelectedNodePanel {
    margin: 6px;
    border: 1px solid rgb(41, 53, 56);
}

.modelSelectedNodePanel > .pcui-panel-content {
    padding-right: 6px;
}

.modelHierarchyPanel .pcui-treeview-item-text {
    font-size: 14px;
}

.load-button-panel {
	width:50%;
}

body{
	padding: 0 !important;
}

.pcui-label{
	text-align: center !important;
}

#wrapper-left.collapsed #controls-left, #wrapper-left.collapsed .header, #wrapper-right.collapsed {
   display: none !important;
}

#wrapper-left{
    display: none !important;
}

div .load-button-panel{
	background-color: #DDDDDD !important;
	width: 400px !important;
}

@media only screen and (max-width: 780px) {
	div .load-button-panel{
		width: 50% !important;
	}

}

.pcui-label{
	color: black !important;
}


