html,
 body {
    height: 100%;
}

html {
	-webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard syntax */
    scrollbar-color: #77818b rgba(0, 0, 0, 0.125);
}

.modal_active {
	overflow: hidden;
}

body {
	background: #080808;
	color: #ddd;
	font-size: 12pt;
	font-family: 'Source Sans Pro', sans-serif;
}

.selectable {
	-webkit-user-select: text; /* Safari 3.1+ */
	-moz-user-select: text; /* Firefox 2+ */
	-ms-user-select: text; /* IE 10+ */
	user-select: text; /* Standard syntax */
}

#main-root {
	position: absolute;
	display: grid;
	left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    overflow-y: scroll;
}

#modal-root:not(:empty) ~ #main-root *,
#widget-root:not(:empty) ~ #main-root *,
#meta-root:not(:empty) ~ #main-root * {
	-webkit-user-select: none; /* Safari 3.1+ */
	-moz-user-select: none; /* Firefox 2+ */
	-ms-user-select: none; /* IE 10+ */
	user-select: none; /* Standard syntax */
}

#modal-root:not(:empty) ~ #main-root {
    position: fixed;
}
#modal-root:not(:empty) ~ #main-root::-webkit-scrollbar-thumb {
    background-color: transparent;
}

#modal-root .selectable {
	-webkit-user-select: none; /* Safari 3.1+ */
	-moz-user-select: none; /* Firefox 2+ */
	-ms-user-select: none; /* IE 10+ */
	user-select: none; /* Standard syntax */
}

#modal-root > *:last-child .selectable {
	-webkit-user-select: text; /* Safari 3.1+ */
	-moz-user-select: text; /* Firefox 2+ */
	-ms-user-select: text; /* IE 10+ */
	user-select: text; /* Standard syntax */
}

#modal-root {
	position: absolute;
    top: 0;
    bottom: 0;
	left: 0;
	right: 0;
    z-index: 2;
}

#modal-root:empty {
	display: none;
}

#widget-root {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
}

#widget-root:empty {
	display: none;
}

#meta-root {
	position: absolute;
    top: 0;
    bottom: 0;
	left: 0;
	right: 0;
    z-index: 4;
    pointer-events: none;
}
#meta-root .meta_notice_container {
    pointer-events: initial;
}

#meta-root:empty {
	display: none;
}

@keyframes spin_CW {
	from {
		transform: rotate(0deg);
	}

	to {
        transform: rotate(359deg);
	}
}

@keyframes spin_CCW {
	from {
		transform: rotate(0deg);
	}

	to {
        transform: rotate(-359deg);
	}
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
  background-color: #77818b80;
}

p {
    line-height: 1.5;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    text-indent: 1em;
}

pre {
    line-height: 1.5;
}

code {
    font-family: monospace;
}
