html {
    font-family: sans-serif;
    font-size: 125%;
}

.hidden {
    display: none !important;
}

html, body {
    padding: 0px;
    margin: 0px;
}

body {
    background-color: #C5D8A4;
    color: #534340;
    text-align: center;
}

.canvasWrapper {
    position: relative;
    display: inline-block;
}

.canvasWrapper .background {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.canvasWrapper .grid {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8) 2px, transparent 2px), linear-gradient(90deg, rgba(0, 0, 0, 0.8) 2px, transparent 2px);
    background-size: 40px 40px;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    box-sizing: border-box;
}

.canvasWrapper .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1) 2px, transparent 2px), linear-gradient(90deg, rgba(0, 0, 0, 0.1), transparent 2px);
    background-size: 40px 40px;
    border-right: 2px solid rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    pointer-events: none;
    overflow: hidden;
}

.canvasWrapper .overlay .nameInp {
    background-color: rgba(0, 0, 0, 0.5);
    color: yellow;
    font-size: 1.5em;
    pointer-events: all;
    position: absolute;
    bottom: 0px;
    right: 0px;
    font-weight: bold;
    min-width: 1em;
}

.controls {
    margin: 0px auto;
    width: 1280px;
    text-align: left;
}

.full {
    display: inline-block;
    vertical-align: top;
    height: 100%;
}

.full input {
    width: 2.2em;
    height: 2.2em;
}

.full .clr-field button {
    width: 100%;
    height: 100%;
}

#colorPicker {
    cursor: pointer;
    display: inline-block;
}

.roomLabel {
    background-color: rgba(255, 255, 255, 0.5);
    font-weight: bold;
    position: absolute;
    transform: translate(-50%, -50%);
    padding: 0.1em;
    pointer-events: all;
    min-width: 1em;
}

h2 {
    margin-bottom: 0.5em;
}

.calculations .report {
    display: inline-block;
    background-color: rgb(250, 250, 210);
    border: 3px solid goldenrod;
    padding: 0.5em;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 1em;
    user-select: none;
}

.calculations .report .overall {
    background-color: goldenrod;
    color: lightgoldenrodyellow;
    font-size: 1.2em;
}

.calculations .report div {
    margin: 0.5em;
}

button[type="button"] {
    font-size: inherit;
}

button[type="submit"] {
    font-size: inherit;
    margin-top: 1em;
}

.units {
    margin-left: 0.5em;
}

.calculations input[type="number"] {
    font-size: inherit;
    margin-left: 0.5em;
}

.calculations label {
    display: block;
    margin: 0.25em;
}

input[type="file"] {
    display: none;
}

#shapeDropdown {
    position: absolute;
    z-index: 1;
    background-color: white;
    border: 1px solid black;
}

#shapeDropdown div {
    padding: 0.5em;
    transition: background-color 250ms;
}

#shapeDropdown div:hover {
    background-color: skyblue;
    cursor: pointer;
}