html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	position: relative;
	font-family: sans-serif;
}

* {
	box-sizing: border-box;
}

.content {
	display: none;
}

.content.visible {
	visibility: visible;
	display: block;
}

.content.next_entry {
	animation-name: next_entry;
	animation-duration: 0.25s;
	animation-timing-function: ease-out;
}
.content.next_exit {
	animation-name: next_exit;
	animation-duration: 0.25s;
	animation-timing-function: ease-out;
}
.content.back_entry {
	animation-name: back_entry;
	animation-duration: 0.25s;
	animation-timing-function: ease-out;
}
.content.back_exit {
	animation-name: back_exit;
	animation-duration: 0.25s;
	animation-timing-function: ease-out;
}

.content > a {
	display: block;
	font-family: futura-pt-bold, sans-serif;
	font-weight: 700;
	font-style: italic;
	text-decoration: none;
	color: white;
	font-size: 40px;
}

.next_icon {
	width: 50px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1em;
}

@keyframes next_entry {
	from {
		left: 414px;
		opacity: 0;
	}

	to {
		left: 0;
		opacity: 1;
	}
}

@keyframes next_exit {
	from {
		left: 0;
		opacity: 1;
	}

	to {
		left: -414px;
		opacity: 0;
	}
}

@keyframes back_entry {
	from {
		left: -414px;
		opacity: 0;
	}

	to {
		left: 0;
		opacity: 1;
	}
}

@keyframes back_exit {
	from {
		left: 0;
		opacity: 1;
	}

	to {
		left: 414px;
		opacity: 0;
	}
}

.choice, .helper {
	display: block;
	width: 100%;
	padding: 1em 2em;
	margin-bottom: 30px;
}

a.choice.square {
	background-color: white;
	color: #192957;
	display: block;
	text-transform: uppercase;
	padding: 0.5em 1em;
	border-radius: 0.1em;
	width: 50%;
	margin-left: auto;
	margin-right: auto;
}

.content .back {
	position: relative;
	display: block;
	width: 100%;
	background-color: #1D2B50;
	font-family: open-sans, sans-serif;
	font-size: 16px;
	font-weight: normal;
	font-style: normal;
	text-align: left;
	padding: 10px;
	margin-bottom: 4em;
}

.back > img {
	position: relative;
	display: inline-block;
	height: 16px;
	top: 2px;
	margin-right: 10px;
}

h1 {
	color: white;
	padding: 1em 2em;
	margin-bottom: 30px;
	font-family: futura-pt-bold, sans-serif;
  font-weight: 700;
  font-style: italic;
	font-size: 40px;
	line-height: 38px;
}

/*
	endpoint services
*/

.location_service {
	color: white;
	background-color: rgba(255, 255, 255, 0.12);
	padding: 20px;
}

.location_service > .support {
	margin-bottom: 4em;
}

body.position_requested .location_service {
	background-color: initial;
	padding: 0;
}

.enableLocationService {
	padding-left: 40px;
	padding-right: 40px;
}
.enableLocationService h2 {
	margin-top: 0;
}
.enableLocationService p {
	font-family: open-sans, sans-serif;
	font-style: italic;
	font-weight: normal;
	font-size: 0.9em;
}

.checkMyLocation {
	width: 100%;
	border: none;
	background-color: white;
	border-radius: 1.5em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	font-family: futura-pt-bold, sans-serif;
	font-weight: 500;
	font-style: italic;
	color: #192957;
	position: relative;
	font-size: 1.5em;
	margin-top: 0.5em;
}
.checkMyLocation img {
	width: 6%;
	top: 30%;
	margin-left: 10px;
	position: absolute;
}

.endpoint a.helper.emergency111 {
	background-color: white;
	color: #192957;
	width: 50%;
	text-align: center;
	padding: 0.7em;
	border-radius: 0.1em;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 64px;
}
.emergency111 img {
	width: 25%;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0.5em;
}

.endpoint > div {
	margin-bottom: 4em;
}
.endpoint > div:last-child {
	margin-bottom: 0;
}

.endpoint h1:first-of-type {
	padding-top: 0;
	margin-top: 0;
}

.endpoint h2 {
	font-family: futura-pt-bold, sans-serif;
	font-weight: 700;
	font-style: italic;
	color: white;
	margin-bottom: 0.5em;
	font-size: 1.5em;
	line-height: 1em;
}

.endpoint hr {
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 3em;
}

.endpoint a.helper {
	background-color: white;
	border-radius: 0.1em;
	font-family: futura-pt-bold, sans-serif;
	font-style: italic;
	font-weight: 700;
	color: #192957;
	text-decoration: none;
	margin-left: 20px;
  margin-right: 20px;
	margin-bottom: 10px;
  width: initial;
}

.endpoint a.helper.plainText {
	background-color: inherit;
	border-radius: 0;
	color: white;
	font-family: open-sans, sans-serif;
	font-weight: normal;
	text-decoration: underline;
	padding-top: 0;
	padding-bottom: 0;
}

.endpoint p {
	color: white;
	font-family: open-sans, sans-serif;
	font-weight: normal;
	margin-left: 20px;
	margin-right: 20px;
	font-size: 0.9em;
}


/*
	multi-choice services
*/

.content .checkbox {
	margin: 0px 100px 50px 100px;
	position: relative;
}

.content .checkbox input[type=checkbox] {
    visibility: hidden;
}

.content .checkbox label.fakeCheckbox {
	cursor: pointer;
	position: absolute;
	width: 60px;
	height: 60px;
	top: 0;
	left: 0;
	/* background-color: white; */
	border: 6px solid white;
	border-radius: 0.7em;
}

.content .checkbox label.fakeCheckbox:after {
	opacity: 0;
	content: '';
	position: absolute;
	width: 30px;
	height: 10px;
	background: transparent;
	border: 6px solid white;
	border-top: none;
	border-right: none;
	transform: rotate(-45deg);
	top: 12px;
	left: 7px;
}

.content .checkbox label.fakeCheckbox:hover::after {}
.content .checkbox input[type=checkbox]:checked + label.fakeCheckbox:after {
    opacity: 1;
}

.content .checkbox div {
	position: relative;
	font-family: futura-pt-bold, sans-serif;
	font-style: italic;
	font-weight: 700;
	color: white;
	font-size: 40px;
	line-height: 38px;
	text-align: left;
	width: 50%;
	margin-top: -25px;
	margin-right: -26px;
	margin-left: 80px;
}

/*
	conditional display of multi-choice services
*/

.content.dynamic.show_mental .mental {
	display: block;
}

.content.dynamic:not(.show_mental) .mental {
	display: none;
}

.content.dynamic.show_sexual .sexual {
	display: block;
}

.content.dynamic:not(.show_sexual) .sexual {
	display: none;
}

.content.dynamic.show_family .family {
	display: block;
}

.content.dynamic:not(.show_family) .family {
	display: none;
}


/*
	responsive layout
*/


#presenter {
	position: relative;
	width: 414px;
	height: 100%;
	margin-right: auto;
	margin-left: auto;
	overflow: visible;
}

.content {
	position: absolute;
	background-color: #00205C;
	background-image: url(../img/hatch-pattern.png);
	background-repeat: repeat;
	text-align: center;
	box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.25);
	visibility: hidden;
	padding-bottom: 4em;
}

@media only screen and (max-width: 414px) {
	/* less than 414px */
	#presenter {
		width: 100%;
	}

	.content {
		width: 100%;
		top: 0;
		background-color: initial;
		background-image: initial;
		box-shadow: none;
	}

	body {
		background-color: #00205C;
		background-image: url(../img/hatch-pattern.png);
		background-repeat: repeat;
		background-position: center top;
	}
}

@media only screen and (min-width: 414px) {
	/* greater than 414px */
	#presenter {
		width: 414px;
	}

	.content {
		width: 414px;
		top: 50%;
		transform: translateY(-50%);
	}
}
