html, body {
	background: rgb(64, 64, 64);
	color: rgb(212, 212, 212);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    height: 98%;
    font-size: 20px;
    margin: 0;
}

header {
	background: linear-gradient(to right, rgba(0,48,88,1), rgba(0,48,88,0.5));
    height: 80px;
}
/*
footer {
    background: linear-gradient(to right, rgba(0,48,88,1), rgba(0,48,88,0.5));
    font-size: 67%;
    text-align: center;
    height: 80px;
}
*/
h1{
    padding: 20px 10px;
    text-align: left;
    font-size: 150%;
    margin: 0;
}

select, input/*, label*/ {
    cursor: pointer;
}

a {
	font-size: 150%
}

a:link {
    color: rgb(212, 212, 212);
}

a:visited {
    color: rgb(212, 212, 212);
}

a:hover {
    color: rgb(255, 0, 0);
}

a:active {
    color: rgb(0, 0, 255);
}

.can {
    padding: 2px;
    width: 100%;
}

.can:hover {
    background: rgba(255,255,255,0.1);
}

.piece{
    display: inline-block;
    width: 52%;
}

.spaceHeader{
    display: inline-block;
    width: 22%;
}

input[type=checkbox] {
    transform: scale(1.5);
}

/*
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
*/

input[type="number"] {
    cursor: text;
    height: 1.2em;
    width: 5em;
}

select, input {
    background: rgb(212, 212, 212);
    border: 2px solid rgba(64, 64, 64, 0.3);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2);
    color: rgba(0,48,88,0.8);
    font-size: 0.8em;
    padding: 0 5px;
}

select:focus, input:focus {
    background: white;
    box-shadow: 0 1px 3px 0 transparent;
    outline: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 1.5em;
    width: 12em;
}

.grid-container{
    position: static;
	display: grid;
    grid-column-gap: 5px;
	grid-template-rows: 70% 30%;
	padding: 20px;
    height: 90%;
    z-index: -5;
}

.grid-item{
	border: 3px solid rgba(212, 212, 212, 1);
    float: left;
	padding: 20px;
	text-align: left;
    overflow-y: scroll;
    border-radius: 10px;
}


.option-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    height: 90%;
}

.option-item{
    float: left;
    padding: 20px;
    text-align: left;
    overflow-y: scroll;
}

.grid-item .top-item{
    overflow-x: auto;
    z-index: 0;
}

.grid-item .bottom-item{
    overflow-x: auto;
    z-index: -1;
}

.chapter{
    padding-top: 0.75em;
    border-bottom: solid 0.15em;
}

.roundbox{
	border: 3px solid rgba(160, 160, 160, 1);
    padding: 10px;
	border-radius: 20px;
    margin-bottom: 20px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: rgb(64, 64, 64);
    color: rgb(212, 212, 212);
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #efefef;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.saveloadclose {
    color: #efefef;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.saveloadclose:hover,
.saveloadclose:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.right-button {
    float: right;
    font-size: 0.67em;
    transform: scale(1.2);
    margin-right: 5%;
    margin-top: 1%;
}

.localColor {
    color: rgb(255, 160, 122);
}

.globalColor {
    color: rgb(70, 130, 180);
}

.rpColor {
    color: rgb(34, 139, 34);
}

.tooltip {
    position: relative;
    display: inline-block;
    border: 1px solid rgba(160, 160, 160, 1);
    padding: 1px 3px;
    margin-left: 5px;
    border-radius: 6px;
}

.tooltipText {
    color: rgb(212, 212, 212);
}

.tooltip .tooltipText {
    visibility: hidden;
    border: 1px solid rgba(160, 160, 160, 1);
    background-color: rgb(64, 64, 64);
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    overflow-x: hidden;
    white-space: nowrap;

    position: absolute;
    z-index: 2;
    bottom: 125%;
    left: 0;
    margin-left: -100%;

    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltipText {
    visibility: visible;
    opacity: 1;
}

.tooltipNumeric {
    position: relative;
    display: inline-block;
/*    border: 1px solid rgba(160, 160, 160, 1);
    padding: 1px 3px;
    margin-left: 5px;
    border-radius: 6px;*/
}

.tooltipTextNumeric {
    color: rgb(212, 212, 212);
}

.tooltipNumeric .tooltipTextNumeric {
    visibility: hidden;
    border: 1px solid rgba(160, 160, 160, 1);
    background-color: rgb(64, 64, 64);
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    white-space: nowrap;

    position: absolute;
    z-index: 2;
    bottom: 125%;
    left: 0;
    margin-left: 0;

    opacity: 0;
    transition: opacity 0.3s;
}

.tooltipNumeric:hover .tooltipTextNumeric {
    visibility: visible;
    opacity: 1;
}

.subheading {
    font-size: 1.2em;
}

.overlappingImg {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0px;
  left: 0px;
}
.relativePosition {
  position: relative;
}
img { 
    width: 100%;
    height: auto;
}