body {
    font-size: 14px;
    font-family: 'arial', sans-serif;
    margin: 0;
    padding: 0;
}

div.header {
    padding: 2px;
}
div#title {
    display: none;
}
div.content {
    padding: 4px;
    margin: auto;
    overflow: hidden;
}

label, .margin {
    display: block;
    margin: 10px 0;
}

input[type=submit] {
    background-color: #99cd5e;
    text-transform: uppercase;
}

input[type=text], input[type=password], input[type=submit], select {
    height: 40px;
    border: 1px solid #838383;
    border-radius: 3px;
    font-size: 24px;
}

input[type=submit]:disabled, button[data-href]:disabled {
    opacity: 0.5;
}

button {
    height: 40px;
    margin: 2px auto;
    vertical-align: middle;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    border: 1px solid #838383;
}

button.square {
    width: 70px;
    height: 70px;
    padding: 0;
}

button.process {
    background: transparent url("/images/vastlite/mobile-process.png") no-repeat top 5% left 5%;
    background-size: 33%;
}

button.danger-button {
    background: pink;
    color: red;
}

img.product-photo {
    display: block;
    width: 120px;
}

div.buttons-column {
    float: right;
    width: 30%;
}

div.buttons-column > button {
    width: 100%;
}

ul.three-columns {
    padding: 0;
}


ul.three-columns > li {
    display: inline-block;
    width: 32%;
    overflow: hidden;
}

ul.nowrap-list, ul.list-with-image {
    padding: 0;
    list-style: none;
}

ul.nowrap-list > li {
    white-space: nowrap;
}

ul.list-with-image > li {
    word-break: break-all;
    clear: both;
    margin-bottom: 5px;
}

ul.list-with-image img {
    float: left;
    margin-right: 5px;
    width: 52px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.nowrap {
    white-space: nowrap;
}

.error {
    color: #f00;
}

.green {
    color: #0d0;
}

.blue {
    color: #00d;
}

.bold {
    font-weight: bold;
}

.hidden {
    display: none;
}

@media only screen and (min-width: 320px) {

    body {
        font-size: 16px;
    }

    button, input[type=submit] {
        height: 50px;
        font-size: 16px;
    }

    button.square {
        width: 95px;
        height: 95px;
    }

    input[type=text], input[type=password], select {
        height: 50px;
        font-size: 28px;
    }

    label, .margin {
        margin: 12px 0;
    }

    img.product-photo {
        width: 140px;
    }

    ul.list-with-image > li {
        margin-bottom: 10px;
    }

    ul.list-with-image img {
        width: 65px;
    }

    .ui-keyboard div {
        font-size: 13px;
    }
}

@media only screen and (min-width: 480px) {

    body {
        font-size: 20px;
    }

    button, input[type=submit] {
        height: 60px;
        font-size: 20px;
    }

    button.square {
        width: 150px;
        height: 150px;
    }

    input[type=text], input[type=password], select {
        height: 60px;
        font-size: 34px;
    }

    label, .margin {
        margin: 15px 0;
    }

    img.product-photo {
        width: 200px;
    }

    ul.list-with-image img {
        width: 78px;
    }

    .ui-keyboard div {
        font-size: 18px;
    }
}

@media only screen and (min-width: 640px) {

    body {
        font-size: 28px;
    }

    button, input[type=submit] {
        height: 75px;
        font-size: 28px;
    }

    button.square {
        width: 200px;
        height: 200px;
    }

    input[type=text], input[type=password], select {
        height: 75px;
        font-size: 40px;
    }

    label, .margin {
        margin: 20px 0;
    }

    img.product-photo {
        width: 280px;
    }

    ul.list-with-image img {
        width: 105px;
    }

    .ui-keyboard div {
        font-size: 24px;
    }
}

@media only screen and (min-width: 1024px) {

    body {
        font-size: 32px;
    }

    button, input[type=submit] {
        height: 85px;
        font-size: 32px;
    }

    button.square {
        width: 240px;
        height: 240px;
    }

    input[type=text], input[type=password], select {
        height: 85px;
        font-size: 48px;
    }

    label, .margin {
        margin: 25px 0;
    }

    ul.list-with-image img {
        width: 117px;
    }

    .ui-keyboard div {
        font-size: 30px;
    }
}
