/**
 * Copyright 2018 Billie Rinaldi
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.svg-container {
  display: inline-block;
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  vertical-align: middle;
  overflow: hidden;
}
.svg-content {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
}
body {
  font-family: "Lucida Console", Monaco, monospace;
}
h1 {
  padding: 10px;
  margin: 0px;
}
a.manual {
  padding: 10px;
  font-size: 12px;
}
rect.tilingBorder {
  stroke: gray;
  fill: none;
}
text.title {
  font-size: 12px;
}
form {
  font-size: 14px;
}
form {
  display: table;
}
p {
  display: table-row;
}
label {
  display: table-cell;
  text-align: right;
  padding: 5px 10px;
}
label#needsUpdate {
  color: red;
  font-size: 9px;
  text-align: left;
  vertical-align: middle;
  padding: 0px 5px 0px 5px;
}
span {
  display: table-cell;
  border: solid #D3D3D3 1px;
  padding: 0px 5px 0px 3px;
}
input {
  display: table-cell; font-size: 14px;
}
input.number {
  width: 50px;
}
input.button {
  display: inline-block;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
  color: #fff;
  background-color: slateblue;
  outline: none;
  border: none;
  border-radius: 10px;
  box-shadow: 0 3px darkslateblue;
}
input.button:hover {
  background-color: mediumslateblue;
}
input.button:active {
  background-color: mediumslateblue;
  box-shadow: 0 2px darkslateblue;
  transform: translateY(1px);
}
.carat {
  border: solid black;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
}
.carat:active {
  border: solid gray;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
}
.l {
  transform: rotate(135deg) translate(-2px, -2px);
}
.l:active {
  transform: rotate(135deg) translate(-1px, -3px);
}
.r {
  transform: rotate(-45deg);
}
.r:active {
  transform: rotate(-45deg) translate(-1px, 1px);
}
.u {
  transform: rotate(-135deg);
}
.u:active {
  transform: rotate(-135deg) translate(-1px, -1px);
}
.d {
  transform: rotate(45deg);
}
.d:active {
  transform: rotate(45deg) translate(1px, 1px);
}
