body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

* {
  margin: 0;
  padding: 0;
}

.container {
  padding: 0 15px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  overflow: hidden;
}

.row {
  margin: 0 -15px;
}

input:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.navbar {
  width: 100%;
  background: #5588EE;
  margin-bottom: 50px;
}

.navbar ul {
  list-style: none;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 50%;
  margin: 0 auto;
}

.navbar ul li {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  text-align: center;
}

.navbar ul li a {
  padding: 20px;
  text-decoration: none;
  color: white;
  display: block;
}

.navbar ul li a.active {
  background: #2768e9;
}

.create-wrapper {
  width: 50%;
  margin: 0 auto;
  padding: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.create-wrapper p,
.create-wrapper input,
.create-wrapper button {
  display: block;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.create-wrapper button,
.create-wrapper input {
  border: 1px solid #cccccc;
  margin-bottom: 10px;
  border-radius: 3px;
  padding: 10px;
}

.create-wrapper p {
  text-align: center;
  margin-bottom: 20px;
  color: #5588EE;
}

.create-wrapper input {
  -webkit-transition: 300ms ease;
  -o-transition: 300ms ease;
  transition: 300ms ease;
}

.create-wrapper input:focus {
  border-color: #5588EE;
  color: #5588EE;
}

.create-wrapper button {
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  -webkit-transition: 300ms ease;
  -o-transition: 300ms ease;
  transition: 300ms ease;
  cursor: pointer;
  background: #5588EE;
  border-color: #2768e9;
  color: white;
}

.create-wrapper button:hover {
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background: #2768e9;
}

.create-wrapper .price {
  border: 1px solid #cccccc;
  overflow: hidden;
  border-radius: 3px;
  margin-bottom: 10px;
}

.create-wrapper .price::after {
  content: '';
  display: table;
  clear: both;
}

.create-wrapper .price label {
  float: left;
  width: 10%;
  padding: 10px 0px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
  border-radius: 3px 0 0 3px;
  border-right: none;
  min-height: 43px;
  color: #888888;
  -webkit-transition: 300ms ease;
  -o-transition: 300ms ease;
  transition: 300ms ease;
  font-size: 1em;
  vertical-align: middle;
  margin: 0;
}

.create-wrapper .price input {
  vertical-align: middle;
  border-radius: 0 3px 3px 0;
  float: right;
  width: 90%;
  margin-bottom: 0;
  border: none;
  border-left: 1px solid #cccccc;
}

.create-wrapper .price input:focus ~ label {
  border-color: #5588EE;
  color: #5588EE;
}

.qr-result {
  width: 50%;
  margin: 0 auto;
}

.qr-result img {
  width: 50%;
  display: block;
  margin: 0 auto;
}

.wrapper {
  padding: 20px;
}

.button-group {
  border-bottom: 2px solid #eeeeee;
}

.button-group .qr-buttons {
  padding: 10px 20px;
  border-style: none;
  border: 1px solid #cccccc;
  border-radius: 3px;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  -webkit-transition: 300ms ease;
  -o-transition: 300ms ease;
  transition: 300ms ease;
  cursor: pointer;
}

.button-group .qr-buttons#capture-qr {
  background: #5588EE;
  color: white;
  border-color: #2768e9;
  font-size: 3em;
  margin: 0 auto;
  display: block;
}

.button-group .qr-buttons:hover {
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.button-group .qr-buttons:focus, .button-group .qr-buttons:link {
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
}

input {
  padding: 10px;
  padding-left: 0;
  font-size: 1em;
  border-style: none;
}

input:disabled {
  background: transparent;
  color: black;
}

.results-wrapper {
  margin: 0 -20px;
  border-bottom: 2px solid #eeeeee;
}

.results-wrapper .notif {
  text-align: center;
  text-transform: uppercase;
  color: #cccccc;
  font-weight: 600;
  padding: 20px;
  margin: 0;
}

.results-wrapper .col-title {
  border-bottom: 2px solid #eeeeee;
  padding-bottom: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  margin-bottom: 10px;
  color: #777777;
  font-size: 1em;
  color: #5588EE;
}

.results-wrapper .col-title span {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.results-wrapper .item {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 0 15px;
}

.results-wrapper .item::after {
  content: '';
  display: table;
  clear: both;
}

.results-wrapper .item:nth-child(2n+2) {
  background: whitesmoke;
}

.results-wrapper .item input {
  width: 33.333333333%;
  float: left;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.results {
  max-height: 369px;
  overflow-y: auto;
}

.total-wrapper {
  width: 100%;
}

.total-wrapper::after {
  content: '';
  display: table;
  clear: both;
}

.total-wrapper label,
.total-wrapper input {
  width: 33.333333333%;
  font-size: 1.5em;
  font-weight: 600;
  border-style: none;
  color: #5588EE;
  float: left;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.total-wrapper label {
  padding: 10px;
}

@media all and (max-width: 768px), print {
  .create-wrapper {
    width: 100%;
  }
  .create-wrapper .price label {
    width: 15%;
  }
  .create-wrapper .price input {
    width: 85%;
  }
  .qr-result {
    width: 100%;
  }
  .total-wrapper {
    padding-left: 0;
  }
  .total-wrapper input,
  .total-wrapper label {
    font-size: 1.2em;
  }
  .col-title {
    padding-left: 10px;
  }
  .results {
    max-height: 205px;
    overflow-y: auto;
  }
  .qr-result {
    width: 90%;
  }
  .qr-result img {
    width: 100%;
  }
}
