html {
	height:100%;
	min-height: 100%;

}
body {

	min-height: 100%;
	font-size:14px;
	margin:0;
	padding-bottom: 3em;
	background: #cef2ff;
}

/* popups */
.popup {
	position: absolute;
	overflow-x: hidden;
	z-index: 4;
	top:0;
	left:0;
	width:100%;
	height:100%;
	-webkit-overflow-scrolling: touch;

}
.popupouter {
	float: left;
	left: 50%;
	position: relative;
}
.popupinner {
	position: relative;
	left: -50%;
	float: left;
	box-sizing:border-box;
	box-shadow:1px 1px 20px rgba(0,0,0,0.8);
	min-width: 20em;

	min-height: 100px;
	margin: 80px 1em 1em;
	background: #cef2ff;
	padding: 20px;
	border: 8px solid #fff;
}
.popupouter {
	max-width: 60em;
}
.popup .closepopup-wrapper {
	color: #fff;
	font-size: 1.4em;
	padding: 10px 10px 10px 15px;
	position: absolute;
	right: 5px;
	top: 0;
	z-index: 1800;
	cursor: pointer;
}
.clickblock {
	background: #000;
	opacity: 0.2;
	height: 100%;
	width: 100%;
	position: fixed;
	top:0;
	left:0;
}
.popupinner .content h1 {
	margin-top: 0.4em;
	font-size: 1.8em;
	margin-right: 1em;
}
form#invite label {
	display:block;
}

/* Error messages, overlays */
#PassThroughMessage,
#PassThroughError,
#loadingoverlay {
	position: fixed;
	width: 80%;
	top:20px;
	left:10%;
	font-size: 16px;
	z-index:2000;
	text-align: center;
	color:#fff;
	border:8px solid #fff;
	box-shadow: 0 0 40px rgba(0,0,0,0.3);
}
#PassThroughMessage .fa {color: #fff;}
#loadingoverlay .fa {margin-left:10px;}
#PassThroughMessage,
#PassThroughError .message,
#loadingoverlay .message {
	padding: 40px;
}


/* Action items, mostly in tables */
ul.actions {
	padding:0;
	margin:0;
}
ul.actions li {
	display: inline-block;
	margin: 0 8px 0 0;
	font-size: 1.2em;
}

strong, b {font-weight:600;}
ul {
	margin:0;
	padding:0;
	list-style:none;
}
*,
*:after,
*::before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.clear {clear:both;}

.clearfix:before,
.clearfix:after {
	content: '';
	display: table;
}
.clearfix:after {
	clear: both;
}

/* Forms */
input,
input[type=text],
input[type=email],
input[type=password],
input[type=submit],
input[type=button],
input[type=file],
button,
textarea {
	width: 100%;
	box-shadow:none;
	border:none;
	outline:none;
	font-weight:300;
	color:#474344;
	padding:10px;
	margin:10px 0;
}
input[type=submit],
input[type=file],
input[type=button],
button {
	width:auto;
	min-width:0;
}
textarea {
	resize:vertical;
}
label {
	margin: 0px 0 10px 0;
}
select {
	background-color: #fff;
	border: none;
	box-shadow:none;
	font-size: 16px;
	height: 50px;
	padding: 0 10px;
	margin:10px 0 10px 0;
	width:100%;
	outline-color:#d77646;
}
/* Captcha */
#recaptcha_widget div {
	margin-bottom:10px;
}
div#recaptcha_image,
img#recaptcha_challenge_image {
	width:100% !important;
	height: auto !important;
}
.captcha-another {
	float:left;
}
.captcha-help {
	float:right;
}

#PassThroughMessage, .PassThroughMessageIcon, #notifications-dropdown ul.notifications-list li.PassThroughMessage div {background-color: rgba(146,78,127,0.8);}
#PassThroughError, .PassThroughErrorIcon, #notifications-dropdown ul.notifications-list li.PassThroughError div {background-color: rgba(179,26,19,0.9);}
#loadingoverlay {background-color: rgba(112,169,85,0.9);}
.message,
.message p,
.message h1,
.message h2,
.message h3 {
	font-family: 'Oswald',Arial, Helvetica, sans-serif;
	font-weight:normal;
	font-style:normal;
	text-transform:uppercase;
	padding:0;
	margin:0;
	line-height: 1.5em;
}
#PassThroughMessage span.fa, #PassThroughError span.fa {
	position: absolute;
	top:10px;
	right:10px;
	font-size:24px;
	cursor: pointer;
}
.hide,#PassThroughMessageIcon.hide, #PassThroughErrorIcon.hide {display:none;}
.fa-clickable {cursor: pointer;}
@media screen and (min-width:768px) {
	#PassThroughMessage,
	#PassThroughError,
	#loadingoverlay {
		width: 40%;
		font-size: 21px;
		top:80px;
		left:30%;
	}
	#PassThroughMessage span.fa, #PassThroughError span.fa {
		font-size:30px;
	}
}

.popup .form-wrapper {width: 100%; }

.popup .form-wrapper label {display: block;}
.popup .form-wrapper label.radio {display: inline-block;margin-left: 0.6em;}
input[type=checkbox] {width:auto;}
.form-wrapper input[type=checkbox] {
	float:left;
	min-width:0;
	margin: 14px 25px 0 0;
	width:20px;
	height:20px;
}
.form-wrapper label[for=Autologin] {
	display: block;
	float:left;
	margin: 16px 10px 0 0;
}

@media screen and (max-width: 767px) {

	input, input[type="text"], input[type="email"], input[type="password"], input[type="submit"], input[type="button"], input[type="file"], button, textarea
	{
		padding: 10px;
		margin: 5px 0;
	}
}
#page-login .form-wrapper input[type=submit].button {
	clear:both;
	display:block;
}
.form-wrapper label[for=Reason] {
	display:block;
}
input[type=text],
.form-wrapper input[type=email],
.form-wrapper input[type=password],
.form-wrapper textarea,
.form-wrapper select
{
	background-color:rgba(255,255,255,0.5);
}

.form-error {
	display:none;
}
.form-wrapper label.errortext, .errortext {
	color: #d77646;
}
.g-recaptcha {
	opacity: 0.8;
}

/* Tables (food) */
.pagination {
	margin: 20px 0;
	text-align:right;
}
table {width: 100%;}
table.table {text-align:left;}
@media screen and (min-width:785px) {
	table.table {box-shadow:0 0 10px rgba(0,0,0,0.3); background-color:rgba(255,255,255,0.5); border:4px solid #fff;}
	table.table thead tr {background-color:transparent !important;}
	table.table tr:nth-of-type(odd) {background-color:rgba(255,255,255,0.5);}
}
@media screen and (max-width:784px) {
	table.table tr {box-shadow:0 0 10px rgba(0,0,0,0.3); padding:20px; background-color:rgba(255,255,255,0.5);}
	table.table td:nth-of-type(1) {background-color:#dfd0bb !important;}
	table.table td:nth-of-type(odd) {background-color:rgba(255,255,255,0.5);}
	table.table td:nth-of-type(even) {background-color:rgba(255,255,255,0.9);}
}
table.table th {
	font-family: 'Oswald',Arial, Helvetica, sans-serif;
	font-weight:normal;
	font-style:normal;
	text-transform:uppercase;
}
table.table th,
table.table td {
	width:20%;
	text-align:left;
	padding:20px;
}
table.table td:first-child {
	font-style:normal;
	font-size:18px;
}
table.table th:first-child,
table.table td:first-child {
	width:25%;
}
table.table th:last-child,
table.table td:last-child {
	width:15%;
}


#content-wrapper
{
	height: 100%;
	padding: 0 10px;
}

.content-outer
{
	padding: 0.5em;
	min-height: 100%;
}
#footer
{
	border-top: 1px solid lightgray;
	margin-top: 20px;
	padding-top: 10px;
	text-align: center;
	width: 100%;
}


a.button, input.button
{
	border: 2px solid black;
	border-radius: 5px;
	font-size: 24px;
	font-weight: bold;
	padding: 4px 16px;
	display: inline-block;
	margin-top: 0.4em;
	background: white;
	color: darkblue;
	text-decoration: none;
	cursor: pointer;
}

.button:active{
	background: lightgoldenrodyellow;
}

#logo
{
	height: 100px;
	float: left;
	margin-right: 20px;
}

#header h1
{
	font-size: 3em;
}


.activity, .activitiestemp
{
	margin: 10px 0px;
	border: 2px solid darkblue;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 14px 25px 5px;
	position: relative;
}

.activitiestemp
{
	height: 60px;
	border: 2px dashed darkblue;
	background: lightgoldenrodyellow;
}

.activity.Indoors
{
	background: #ddc9c7;
}
.activity.Outdoors
{
	background: #c1ffad;
}



.datepicker-row input.datepicker {
	float: right;
}
.datepicker-row input
{
	width: 48%;

}

ul.activity-list {
	margin:0;
	padding:0;
}
ul.activity-list li{
	list-style: none;
	margin:0;
	padding:0;
}

.activity .drag-handle
{
	position: absolute;
	top: 4px;
	left: 4px;
	cursor: pointer;
}

.activity-actions
{
	position: absolute;
	top: 4px;
	right: 6px;
}

.activity .fa{
	font-size: 2em;
}
.activity .fa-edit
{
	margin-right: 0.5em;
}