* {
    box-sizing: border-box;
}

html {
    height: 100%;
    font-family: sans-serif;
    font-size: 100%;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

body {
    height: 100%;
    background: grey;
}

h2 {
    font-family: sans-serif;
    font-size: 1.2em;
    font-weight: normal;
}
h3 {
    font-family: sans-serif;
    font-size: 1.05em;
    font-weight: normal;
}

.no-tap-zoom {
    touch-action: manipulation;
}

.dual-column {
    column-count: 2;
}

.content {
    padding: 2rem;
    min-height: 30rem;
}

.base-content {
    opacity: 1;
    -webkit-transition: 0.6s;
    transition: opacity 0.6s;
}

.hidden-content {
    opacity: 0;
    height: 0 !important;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    display: none !important;
}

.align-left {
    float: left;
}
.align-right {
    float: right;
}

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

.right-text {
    text-align: right;
}

.flexible {
    display: flex;
}

.thin-line {
    border-top: 1px solid #4c4c4c;
    border-bottom: 0px;
    border-left: 0px;
    border-right: 0px;
    margin: 0;
}

.max-width-btn {
    max-width: 15rem;
}

.height-one {
    height: 1rem;
}
.height-onehalf {
    height: 1.5rem;
}
.height-two {
    height: 2rem;
}

.grid-item-2 { grid-column: span 2; }
.grid-item-3 { grid-column: span 3; }
.grid-item-4 { grid-column: span 4; }
.grid-item-5 { grid-column: span 5; }

button, input {
    margin: 0.2em;
    width: calc(100% - 0.4em);
}

button {
    background-color: #494949;
    border-radius: 0.5em;
    border: 1px solid #e95a00;
    color: white;
    padding: 0.3em;
    padding-left: 0.8em;
    padding-right: 0.8em;
    text-align: left;
    -webkit-transition: 0.2s;
    transition: opacity 0.2s;
    cursor: pointer;
}

button:hover {
    background-color: #595959;
}

button:active {
    background-color: #797979;
}

button:disabled {
    color: #494949;
    background-color: #2f2f2f;
    cursor: unset;
    border-color: #000;
}

#font-size-detect {
    position: absolute;
    left: -9999px;
}
