html,body {
	height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: #f4f4f4;
}

* {
  box-sizing: border-box;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,th {
	vertical-align: top;
}

input[type=text],
input[type=file],
input[type=password],
input[type=email],
textarea,
select {
	font-family: 'Open Sans', sans-serif;
	font-weight: normal;
	border-radius: 0;  /* so iOS doesn't do something wildly different */
	border: 1px solid gray;
	font-size: 120%;
}
textarea {
	border: 1px solid gray;
}

input[type=text], input[type=password], input[type=email], textarea {
	font-size: 16px;
	padding: 1px 0;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

input[type=password] {
	border: 1px solid gray;
}

a {
	color: #c13231;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}

/* -------- */

.cdevstatus {
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: #fbd1d8;
    font-size: 80px;
    text-align: center;
	pointer-events: none; /* so tapping on it is as if it didn't exist */
}

.cbackground {
	max-width: 480px;
	max-height: 800px;
	min-height: 400px; /* so the android keyboard doesn't make the whole thing too small */
	height: 100%;
	margin: auto;
	padding-top: 10px;
	background-color: white;
	position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
	text-align: left;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  /* IE10+ specific fix */
  .cbackground {
  	  width: 480px;
  }
}

h1 {
	text-align: center;
	margin: 0;
}

h1 .cheadline {
    color: #c13231;
    display: inline-block;
    text-shadow: 2px 2px 3px #6b6b6b;
	vetical-align: middle;
}

.ccenter {
	text-align: center;
}

.cspacer {
	margin-top: 20px;
}

.csmallprint {
	font-size: 75%;
	line-height: 1.3;
}

#ifooter {
	max-width: 480px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #c13231;
	height: 50px;
	padding: 5px 8px;
	max-width: 480px;
    margin: 0 auto;
}

.cpending {
	float: right;
	text-align: center;
	color: white;
	border: 1px solid white;
	border-radius: 20px;
	padding: 8px 2px;
	display: inline-block;
	min-width: 40px;
	margin-right: 10px;
}

.cbutton {
	display: inline-block;
	border: 1px solid #c13231;
	color: #c13231;
	background-color: white;
	padding: 8px 2px;
	text-align: center;
	min-width: 60px;
	cursor: pointer;
}

#ifooter .cbutton {
}

#ihome,#iundo {
	float: left;
	margin-right: 10px;
}
#isend {
	float: right;
}

.cpage {
	display: none;
	padding: 0 20px;
}

.cpage {
	display: flex;
    height: calc(100% - 160px);
    flex-direction: column;
    justify-content: space-evenly;
}

.cinput {
	width: 100%;
}

.cpersonsection {
	margin: 0 0 5px 0;
}

.cresetsection {
	display: none;
	text-align: right;
}

.cresetsection > div {
	max-width: 480px;
	margin: 0 auto;
	text-align: right;
    padding: 0 20px;
}

.cerror, .cwarn {
	margin-top: 1em;
	padding: 0 5px 20px 5px;
	background-color: pink;
	line-height: 1;
}

.cwarn {
	background-color: #ffdc9b;
}

.cerrormessage {
	font-size: 150%;
	font-weight: bold;
	text-align: center;
}

.cstatusindicator {
	font-size: 500%;
	font-weight: bold;
	color: green;
	text-align: center;
	line-height: 0.7;
}

.cerror .cstatusindicator {
	color: tomato;
}

.cwarn .cstatusindicator,
.cremoved .cstatusindicator {
	color: orange;
}

#ispinner {
    position: absolute;
    bottom: 60px;
    width: 100%;
}

.cacknowledgeticket {
	font-size: 300%;
	font-weight: bold;
	text-align: center;
}

#isentnumber {
	font-size: 200%;
	font-weight: bold;
}

.cscaninput {
	position: absolute;
	bottom: 50px;
	left: 0;
	width: 1px;
	height: 1px;
	visibility: hidden;
}

.cscanlabel {
	display: block;
	text-align: center;
	cursor: pointer;
}

.cpagecheckingheading {
	text-align: center;
}

#ipagehomeeventname {
	margin: 0.2em 0 0 0.4em;
}
#ipagehomeeventtime {
	margin-bottom: 1em;
}
#ipagecheckineventscanned {
    display: inline-block;
    border: 1px solid #c13231;
    border-radius: 20px;
    min-width: 40px;
    height: 40px;
    box-sizing: border-box;
    padding-top: 10px;
    margin-top: 0.3em;
    text-align: center;
}

#ipagecheckineventname {
	margin: 0;
}

#imanualinput {
	width: 15em;
	height: 3em;
	font-size: 1em;
	border: 1px solid #c13231;
	border-radius: 0;
	padding: 5px;
	text-align: center;
	margin-top: 15px;
}

#ivideocontainer {
	display: none;
	position: absolute;
    left: 0;
    right: 0;
    bottom: 50px;
	top: 0;
    width: 100%;
	max-width: 480px;
	margin: 0 auto;	
	background-color: black;
}

#ivideo {
	position: relative;
	width: 100%;
}

#ivideocancel {
	position: absolute;
	box-sizing: border-box;
	top: 0;
	right: 5px;
	content: "\00D7";
	font-size: 3em;
	width: 1em;
	height: 1em;
	background-color: #c13231;
	color: white;
	border-radius: 0.5em;
	text-align: center;
	line-height: 0.9;
	z-index: 1;
}

#icanvas {
	display: none;
	position: absolute;
	top: 0;
	left: -1000%;
	z-index: 1;
}

.cversionsection {
    position: absolute;
    bottom: 60px;
    font-size: 0.8em;
    margin-left: -1em;
    color: #888;
}

#ilistoverlay {
	position: absolute;
	top: 130px;
	bottom: 60px;
	left: 10px;
	right: 10px;
	background-color: white;
	overflow-y: scroll;
	border: 2px solid #c13231;
	padding: 5px;
}
