* {
	box-sizing: border-box;
}

.header {
	font-size: 2em;
	font-weight: bold;
	padding: 0 0 0.5em 1em;
}

@font-face {
    font-family: 'SignatureRegular';
    /*src: url('/release/fonts/Shorelines Script Bold.otf');*/
    src: url('/release/fonts/signature-regular.ttf');
}

input[type="password"]:disabled,
input[type="text"]:disabled {
  background: #dddddd !important;
}

img.loading {
	background-image: url("/release/img/loading.png");
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background-size: 150px;
	padding-left: 150px;
	width: 150px;
	height: 150px;
	display: block;
	-webkit-animation: rotating 5s linear infinite;
}

@-webkit-keyframes rotating {
    from{
        -webkit-transform: rotate(0deg);
    }
    to{
        -webkit-transform: rotate(360deg);
    }
}

.yn_container {
	width: 10em;
	display: inline;
	padding-right: 0.5em;
}

.yn {
	background-color: #244771;
	color: #ccc;
	display: inline-block;
	width: 24px;
	height: 24px;
	position: relative;
	bottom: 8px;
	line-height: 24px;
	vertical-align: middle;
	border-radius: 4px;
	text-align: center;
	font-weight: bold;
	font-size: 20px;
}
.yn.active {
	background: #0075FF;
	color: #fff;
	text-decoration: underline;
}

.green {
        background-color: green !important;
        transition: background-color 1s linear;
}

.red {
        background-color: red !important;
        transition: background-color 1s linear;
}

.action {
	display: block;
	background: #666;
	border-color: #444 #000 #000 #444;
}

.sub_legend {
	float: right;
}

.dob_age {
	float: left;
	font-weight: bold;
}

.photo_text {
	margin-top: 0.5em;
}

.add_photo {
	margin-top: 1em;
	font-size: 1em;
}

.remove_photo:visited,
.remove_photo:active,
.remove_photo {
	color :#a00;
	padding: 0.5em 0.5em 0.4em 0.5em;
	position: absolute;
	background: rgba(255,255,255,0.75);
	border-radius: 0.5em;
	top: 1em;
	left: 0.5em;
}

.submit {
	margin-left: 2em;
}

.back {
	background-color: #00316d !important;
}

#submit {
	background: rgba(102, 102, 102, 0.7);
}

.back_button a:link,
.back_button a:visited {
	font-size: 2em;
	font-weight: bold;
	color: #666 !important;
}

.back_button {
	background: #333;
	position: absolute;
	top: 1em;
	right: 1em;
	border-radius: 0.5em;
	
	text-align: center;
	width: 2.5em;
	height: 2.5em;

	display: flex;
	justify-content: center;
	align-items: center;
}

.break {clear: both; height: 0.5em; }

.title_image {
	margin: 10px 0 8px 5px;
	width: 100%;
	max-width: 660px;
}

.lock {
	float: right;
	display: block;
	clear: both;
}

.date {
	text-align: right;
}

.date_month,
.date_day,
.date_year {
	width: 31%;
	float: left;
}

.date_month {
	margin: auto 3.5%;
}

#todays_date {
	font-size: 1.2em;
}

#complete {
	font-size: 1.5em;
	margin-right: 1em;
}

img { border-style: none; }

.please_take_photo { font-size: 1.2em; }


.under_age { text-align: right; font-size: 0.8em; padding-top: 4px; }

a:active { border-style: none; }

.provision_break {
	margin: 10px 0px;
	height: 2px;
	width: 100%;
	background: #000;
}

.provision_title {
	font-size: 2em;
	clear: right;
	font-weight: bold;
}

.clear_line {
	clear: both;
	height: 10px;
	display: block;
}

.checklist {
	width: 200px;
	display: block;
	float: left;
	margin-top: 10px;
}
.checklist span {
	position: relative;
	bottom: 5px;
	right: -25px;
}

.provision_text {
	margin: 10px 0 10px 0;
}

.error_note {
	font-size: 1.6em;
	color: #600;
	margin-top:10px;
}

select,
textarea,
canvas.signature,
input[type=phone],
input[type=email],
input[type=password],
input[type=text] {
	background-color: #fff !important;
	color: #000;
	border: none;
	border: 1px solid #ccc;
	border-radius: 4px;
}

select,
textarea,
input[type=phone],
input[type=email],
input[type=password],
input[type=text] {
	resize: vertical;
	width: 100%;	
	padding: 12px;
	padding: 0.5em 1em;
}

input[type=button] {
	color: #fff;
	font-weight: bold;
	padding: 0.5em 1em;
	background: #116291;
	border: none;
	-webkit-appearance: none !important;
}

.hidden {
	width: 100%; /* fix load bug width */
	position: absolute;
	left: -2000;
}

input[type=button].disabled {
	background: #c1c1c1 !important;
}

html,
body {
	margin: 0 !important;
	padding: 0 !important;
	width: 100%:
}

body {
	overflow-x:hidden;
	-webkit-user-select:none;
	-webkit-text-size-adjust:none;
}

.success {
	font-size: 2em;
	line-height: 1.5em;
	color: #050;
}

.passcode {
	font-size: 0.8em;
	float: right;
	display: none;
}

.passcode input {
	font-size: 1.5em;
	padding-top: 0.5em;
}
.passcode span {
	margin-left:10px;
}

.unhide a {
	color: #000;
}
a, a:link, a:visited, a:hover, a:active {
	text-decoration: none;
}

.unhide {
	position: absolute;
	right: 10px;
	top: 10px;
	color: #333;
	height: 60px;

}

#ResponseDiv .close {
	float: right;
	position: absolute;
	right: 10px;
	top: 10px;
}

.container a {
	color: #aaa;
	position: relative;
	top: 20px;
	left: 15px;
}

.container div {
	text-align: center;
	vertical-align: middle;
	position: absolute;
	top: 50%;
	width: 100%;
	height: 100%;
}

#preview,
#camera,
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.75);
  overflow-x: hidden;
/*  white-space: nowrap;*/
}
.overlay {
  padding-bottom: 1em;
}

.overlay-content {
  background: #222;
  border-radius: 0.5em;
  position: relative;
  /*top: 25%;*/
  width: 90%;
  text-align: left;
  padding: 1em;
  border: 4px solid #116291;
  left: 5%;
  color: #fff;
  margin-top: 30px;
}

.overlay ul {
	padding-left: 1em;
}

.overlay ul li {
	margin-bottom: 0.5em;
}

.back_button a,
.hidebtn {
	color: #222 !important;
}

.overlay .closebtn {
  position: absolute;
  top: 0px;
  right: 10px;
  font-size: 40px;
  color: #116291;
}

.container {
	display: none;
	background: #000;
	width: 100%;
	height: 100%;
/*	position: fixed;*/
	top: 0px;
	left: 0px;
	z-index: 999;
	opacity:0.75;
	filter:alpha(opacity=75);  
}

span.required {
	color: #a00;
	padding-left: 2px;
}

.admin {
	float: right;
}

.admin,
.admin a, 
.admin a:active, 
.admin a:visited, 
.admin a:hover {
	color: #666;
	text-decoration: none;
} 

canvas.signature {
	width: 100%;
	margin-bottom: 0.25em;
}

input.signature_text {
	width: 15em !important;
	float: right;
	margin-left: 0.25em;
}

.signature_type {
	padding-top: 0.25em;
	float: right;
	display: inline-block;
	text-align: right;
	padding-right: 0.25em;
}

input[type=text],
input[type=password],
input[type=email],
input[type=tel] { width: 100%; }

input[type=checkbox]
{
position: relative;
bottom: 0.5em;
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  transform: scale(2);
    zoom: 1; 
	margin-right: 1em;
}

.checkbox_container {
	display: inline-block;
}

.bigbox { position: relative; bottom: 6px; }

h1 { font-weight: bold; text-align: center; padding: 0; margin: 0 0 0.5em 0; max-width: 660px;}
hr { clear: both; display: block; border: none; height: 1px; }


.take_photo_button {
	position: absolute;
	bottom: 1em;
	left: 1em;
	font-size: 1.1em;
}

.os_photo, #os_photo {
	position: absolute;
	left: -1000px;
}

.os_photo_msg {
	position: relative;
}

.os_photo_msg img {
	max-width: 100%;
	max-height: 300px;
}

.os_photo_msg, #os_photo_msg {
	display: inline-block;
	font-size: 1.2em;
	margin: 0.5em 0;
	max-width: 100%;
}

.take_photo,
.take_photo_other {
	position: relative;
	background-size: cover;
	margin-bottom: 5px;
	display: block;
}

.take_photo_other img,
.take_photo img {
	background: #ccc;
}

#photo, #monitor, .take_photo, .photo, #os_photo_msg img, .os_photo_msg img {
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	-khtml-border-radius: 20px;
	border-radius: 20px;
}

#photo, #monitor { display: none; }

#snapbutton { width: 150px; padding-left: 3px; font-size: 10px; }

#input_newsletter {
	height: 1.5em;
	text-align: right;
}

.info {
	margin-bottom: 1em;
}

.newsletter_label {
	position: relative;
	bottom: 1em;
}

.newsletter_check {
	margin-top: 1.25em;
}

div.error {
	background: #600;
	color: #fff;
	font-weight: bold;
	padding-bottom: 1em;
	font-size: 1.4em;
}

ul.error {
	list-style: none;
}

ul.error li::before {
	content: "\2022";
	color: red;
	font-weight: bold;
	display: inline-block;
	width: 1em;
	margin-left: -1em;
}

h2 {
	font-weight: bold;
	margin: 0;
	border-bottom: 4px solid #116291;
}

h2.error {
	border-bottom: 4px solid #a00;
}

body, html {
	background: #111;
}

fieldset {
	color: #ccc;
	background:#333;
	border: none;
	margin: 2em 1em 2em 0.5em;
	padding: 1.5em 0.5em 0.5em 0.5em;
	border-radius: 5px;
	padding: 20px;
}

.legend {
	margin-bottom: 2em;
}

.legend, legend {
	background:#00316d;
	color:#fff;
	border:1px solid #000;
	border-color:#081981 #07124f #07124f #081981;
	width: 20em;
	margin: -2em 0 0 -1em;
	padding: 0.25em 0.5em;
	font-weight: bold;
	position: relative;
	bottom: 0.5em;
}

hr { background-color: #050c34; }

.label {
	font-weight: bold;
}

.col-25 {
	text-align: right;
	padding-right: 1em;
	font-weight: bold;
	float: left;
	width: 20%;
}

.col-75 {
	float: left;
	width: 80%;
}

.split_name input {
	width: 49% !important;
}

.split_name input:last-of-type {
	float: right;
}

.row {
	margin-top: 6px;
}

.row:after {
	content: "";
	display: table;
	clear: both;
}

/* camera */
#preview.show,
#camera.show {
	width: 100% !important;;
}

#preview .buttons,
#camera .buttons {
	position: absolute;
	bottom: 1em;
	left: 1em;
	width: 100%;
	text-align: center;
}

.buttons img:nth-of-type(1){
	position: absolute;
	left: 1em;
}

#preview .buttons div,
#camera .buttons div {
	width: 1em;
	height: 1em;
	font-size: 4em;
	color: #fff;
	display: inline-block;
	border: 2px solid #fff;
	border-radius: 5em;
	padding: 0;
	background: #000;
	cursor: pointer;;
}

#preview {
	text-align: center;
}


#preview canvas {
	display: none;
}

#preview #imagePreview,
#camera video {
	width: 100%;
	height: 100%;
/*	transform: scaleX(-1); /* flips camera */
}

#camera video {
}

#preview #imagePreview {
	object-fit: contain;
}

/* dynamic resize */
@media screen and (max-width: 700px) {
	.col-25, .col-75, input[type=submit] {
		width: 100%;
		margin-top: 0;
	}

	.no_title {
		display: none;
	}

	.col-25 {
		text-align: left;
	}

	.row {
		margin-bottom: 0.5em;
	}
}
