html, body {
	margin: 0;
	padding: 0;
}

body {
    background-color: #FFF;
    font-family: "Segoe UI", "Lucida Grande", "Verdana";
    width: 100%;
    height: 100vh;
}

#layout {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    border: none;
}

#layout td.col {
    border: 1px solid #AAA;
    vertical-align: top;
    background-color: #FAFAFA;
}

h1 {
    text-align: center;
    margin: 0;
    padding: 0.3em;
    font-weight: 300;
    border-bottom: 1px solid #DDD;
    background-color: #F0F0F0;
}

#layout .settings {
    width: 350px;
}

#layout .receipt {
    width: 250px;
}

#receipt_output {
    height: calc(100vh - 100px);
    font-size: 12px;
    font-family: "Courier New", "Verdana";
    white-space: pre;
    overflow-y: scroll;
}

#bottom_left {
    position: fixed;
    bottom: 2%;
    left: 2%;
    color: red;
}

.col.flow {
    height: 400px;
}

#flow_msg {
    font-size: 12px;
    overflow-y: scroll;
    max-height: 300px;
}

table.form {
    border-collapse: collapse;
}

table.form {
    border: none;
    border-collapse: collapse;
    width: 100%;
}

table.form th {
    text-align: right;
}

table.form th, table.form td {
    padding: 0.5em;
}

table.form label {
    text-align: left;
}

table.form input {
    border-radius: 2px;
    padding: 5px;
    border: 1px solid #AAA;
    width: 150px;
}

table.form button {
    padding: 0.5em;
    border-radius: 4px;
    width: 150px;
}

.status-msg p, .status-msg p span {
    text-align: center;
}

#status_indicator[data-status="Unpaired"] {
    background-color: red;
}

#status_indicator[data-status="PairedConnecting"], #status_indicator[data-flow="Pairing"] {
    background-color: orange;
}

#status_indicator[data-status="PairedConnected"] {
    background-color: green;
}

button {
    border-radius: 4px;
    width: 150px;
    padding: 0.5em;
    cursor: pointer;
}

button:disabled {
    display: none;
}

button.no-hide:disabled {
    display: block;
}

.padding-1 {
    padding: 1em;
}

.padding-1.status {
    text-align: center;
}

fieldset {
    border: none;
}

fieldset:disabled {
    display: none;
}

#flow_status_heading {
    color: orangered;
}