html, body {
  height: 100%;
}

body {
  font-size: 21px;
}

table td {
  padding: 1px;
}

h3 {
  margin-top: 10px;
}

p {
  font-size: 18px;
}

legend {
  position: relative;
  margin: 0;
  padding: 5px;
  background-color: #1b6d85;
  color: #FFFFFF;
}

fieldset p {
  position: relative;
}

button {
  font-size: 18px;
}

button:not(.inline), a:not(.inline) {
  width: 100%;
  margin: 5px 0;
}

a.tight {
  margin: 0;
}

select {
	display: inline-block;
	font-size: 16px;
	font-family: sans-serif;
	font-weight: 700;
	color: #444;
	line-height: 1.3;
	padding: .6em 1.4em .5em .8em;
	box-sizing: border-box;
	margin: 0;
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	border-radius: .5em;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
	  linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
	background-repeat: no-repeat, repeat;
	background-position: right .4em top 50%, 0 0;
	background-size: .65em auto, 100%;
}

select option {
	font-weight:normal;
}

select:not(.inline), textarea {
  width: 100%;
  max-width: 100%;
}

.form-control.ng-invalid:focus {
  border-color: #843534;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
}

.form-control.ng-invalid {
  border-color: #a94442;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.container {
  position: absolute;
  z-index: 1;
  width: 100%;
  min-height: 100%;
  padding-bottom: 30px;
  background-color: #FFFFFF;
}

.container.with-header {
  padding-top: 40px;
}

.container.with-footer {
  padding-bottom: 80px;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 40px;
  overflow: hidden;
  z-index: 9;
}

.header .stick-left {
  display: inline-block;
  height: 40px;
  width: 40px;
  padding: 4px;
  line-height: 40px;
  text-align: center;
}

.header h4 {
  display: inline;
}

.bottom-bar {
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
  z-index: 9999;
}

.marquee {
  white-space: nowrap;
  overflow-x: scroll;
  box-sizing: border-box;
}

.marquee .content {
  display: inline-block;
  color: #555;
  padding-left: 10px;
  font-size: 16px;
}

.marquee .content .title {
  font-weight: bold;
  margin-right: 5px;
}

.marquee .content .item {
  margin-right: 15px;
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

.container.dialog {
  z-index: 2;
}

.container.dialog p {
  position: relative;
  padding-top: 5px;
  padding-right: 40px;
}

.container.dialog-detail {
  z-index: 3;
}

.container.dialog-record {
  z-index: 3;
}

.col-with-button {
  padding-top: 2px;
  padding-bottom: 2px;
}

.col-with-button button {
  float: right;
}

.survey .content {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 30px;
}

.container.alert {
  z-index: 999;
}

.alert .content {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.panel {
  border: 1px solid #CCC;
  margin-top: 10px;
  margin-bottom: 10px;
}

.padd-veritical {
  margin-top: 3px;
  margin-bottom: 3px;
}

.checkbox {
  width: 100%;
  margin: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #CCC;
}

.checkbox label {
  width: 100%;
  padding-left: 23px;
}

.checkbox.bold label {
  font-weight: 700;
}

.single-line {
  width: 100%;
  clear: both;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.stick-right {
  position: absolute;
  top: 2px;
  right: 5px;
}

.float-bottom {
  position: fixed;
  width: 100%;
  bottom: 10px;
}

.x-small {
  font-size: 14px;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]:checked+label:before {
  content: "\2713";
  font-size: 15px;
  color: #ffffff;
  background-color: #5cb85c;
  text-align: center;
  line-height: 21px;
  margin: 0 2px;
  display: inline-block;
  width: 19px;
  height: 19px;
  border-radius: 10px;
}

input[type="checkbox"]:checked+label {
  padding-left: 0;
}

.order-list {
  padding: 0 8px;
}

.order-list > .order-item:first-child {
  border-top: 1px solid #ccc;
}

.order-list > .order-item {
  box-shadow: 1px 1px 1px 1px #666;
  padding: 2px 5px;
  margin-bottom: 5px;
}

.order-list > .order-item .extra  {
  /*padding-left: 2px;
  padding-right: 2px;*/
  width: 30px;
}
