/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: 1px solid #AAA;
    cursor: pointer;
    padding: 2vw 2vw;
    /*
    transition: 0.3s;
    */
}

.controls button {
    background-color: #f1f1f1;
    float: left;
    border: none;
    outline: 1px solid #AAA;
    cursor: pointer;
    font-size: 4vw;
    padding: 2vw 2vw;
    width: 50%;
    /*
    transition: 0.3s;
    */
}

/* Change background color of buttons on hover */
button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
button.active {
    background-color: #BBB;
}

/* Style the tab content */
.tabcontent {
    padding: 0vw 1vw;
}

.tablinks {
    width: 16.666%;
    font-size: 5vw;
}

input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.number-input {
    border: 2px solid #ddd;
    display: inline-flex;
}

.number-input,
.number-input * {
    box-sizing: border-box;
}

.number-input button {
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-color: #f1f1f1;
    border: none;
    align-items: center;
    justify-content: center;
    width: 9vw;
    height: 9vw;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.number-input button:before,
.number-input button:after {
    display: inline-block;
    position: absolute;
    content: '';
    width: 3vw;
    height: 0.5vw;
    background-color: #212121;
    transform: translate(-50%, -50%);
}

.number-input button.plus:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.number-input input[type=number] {
    font-family: sans-serif;
    max-width: 15vw;
    padding: 1.5vw;
    border: solid #ddd;
    border-width: 0 2px;
    font-size: 6vw;
    height: 9vw;
    text-align: center;
}

table {
    margin-top: 3vw;
    margin-bottom: 3vw;
}

td {
    font-family: sans-serif;
    font-size: 4vw;
}

/* disable text selection */
.prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

/* prevent pull down to refresh */
html {
    overflow: hidden;
    overscroll-behavior: none;
}

html,body {
    touch-action: none;
}