:root {
    --bg: #e7e7e7;
    --side-bg: #fff;
    --main-btn-color: #FFF;
    --main-btn-bg: #0047FF;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: sans-serif;
    background: var(--bg);
}

main>section {
    padding: 1rem;
    max-height: 100vh;
}

header {
    display: flex;
    align-items: center;
    margin: 0 0 1rem 0;
}

header img {
    margin: 0 1rem 0 0;
}

h1 {
    margin: 0;
}

main {
    display: flex;
    justify-content: space-between;
}

#left {
    flex-grow: 1;
}

#right {
    position: relative;
    height: 100vh;
    background: var(--side-bg);
    width: 400px;
    flex-grow: 0;
    flex-shrink: 0;
    padding: 0;
}

.special-w{
    width: calc(200% + 3px);
}

.cashier {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: 0 0 1rem 0;
}

.cashier-btn {
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    background-size: cover!important;
    flex-basis: calc(20% - 1rem);
    height: 15vh;
    margin: 0.5rem 0.5rem 0.5rem 0;
    position: relative;
    overflow: hidden;
    visibility: hidden;
}

.cashier-btn-sm {
    flex-basis: calc(16.5% - 1rem);
}

.cashier-btn.defined {
    visibility: visible;
}

.cashier-btn-title {
    font-size: 1.2rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(0deg, #0000006e, transparent);
    padding: 0.5rem 0 0 0.5rem;
    color: #fff;
}

.cashier-btn.centered .cashier-btn-title {
    bottom: unset;
    top: 0;
    background: transparent;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bottom form {
    display: flex;
}

.bottom input {
    padding: 1rem;
    width: 500px;
    border: 0;
    border-radius: 5px 0 0 5px;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin: 0;
    outline: none;
}

.bottom button {
    margin: 0;
    padding: 1rem;
    border: 0;
    cursor: pointer;
    background: var(--main-btn-bg);
    color: #fff;
    border-radius: 0 5px 5px 0;
    font-size: 1.1rem;
}

.customer {
    cursor: pointer;
}

.customer-info .sm {
    font-size: 0.9rem;
    margin: 0 0 -4px 0;
}

.cashier-btn-pump{
    visibility: visible;
    background: #000;
}

.pump-top{
    display: flex;
    margin: 0 0 15px 0;
}

.pump-nmbr{
    color: #fff;
    font-size: 26px;
    background: #0077ff;
    display: inline-block;
    padding: 0px 15px;
}

.pump-prod{
    color: #fff;
    font-size: 26px;
    padding: 0px 10px;
}

.pump-counter{
    display: flex;
    color: #fff;
    font-size: 30px;
    line-height: 30px;
    justify-content: center;
    align-items: baseline;
    font-family: monospace;
}

.pump-counter-sm{
    font-size: 20px;
}

.pump-counter-curr{
    font-size: 18px;
    padding: 0px 5px;
}

.fueltotaldiff{
    position: absolute;
    bottom: -35px;
    right: 10px;
    font-weight: bold;
}