@font-face {
    font-family: 'robotomedium';
    src: url('../fonts/Roboto-Medium-webfont.eot');
    src: url('../fonts/Roboto-Medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Roboto-Medium-webfont.woff') format('woff'),
         url('../fonts/Roboto-Medium-webfont.ttf') format('truetype'),
         url('../fonts/Roboto-Medium-webfont.svg#robotomedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

body, textarea, input {
	font-size: 16px;
	font-family: 'robotomedium', sans-serif;
}

body {
	margin: 0;
	padding: 0;
}

body {
	min-width: 300px;
}

.width-limiter {
	max-width: 1200px;
	margin: auto;
}

body a:hover {
	color: #06284b;
}

/* Header */

header {
	background-color: #eefdfb;
	border-bottom: 3px solid #9ae6d9;
	text-align: center;
	padding: 12px 0;
}

header a {
	color: #2ec3e1;
	text-decoration: none;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	text-indent: -1000px;
	text-align: left;
	width: 40px;
	height: 40px;
	display: inline-block;
	background-position: center center;
	background-size: 26px auto;
	background-repeat: no-repeat;
	vertical-align: middle;
	overflow: hidden;
	margin-right: 3px;
}

header a.back {
	display: block;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	width: auto;
	height: auto;
	text-indent: 0;
	margin-bottom: 10px;
	padding: 0 20px;
	text-align: center;
}
header a.back span {
	white-space: nowrap;
}

header a.phone {
	color: #333333;
}

header a.back:before {
	content: "< ";
}

header a.phone {
	background-color: #06284b;
	background-image: url(../images/phone.svg);
}

header a.email {
	background-color: #05927a;
	background-image: url(../images/email.svg);
}

header a.facebook {
	background-color: #3460a1;
	background-image: url(../images/facebook.svg);
}

header a.twitter {
	background-color: #28aae1;
	background-image: url(../images/twitter.svg);
}

header a.linkedin {
	background-color: #136d9d;
	background-image: url(../images/linkedin.svg);
}

header a:hover.phone,
header a:hover.email,
header a:hover.facebook,
header a:hover.twitter,
header a:hover.linkedin {
	background-color: #06284b;
}

@media (min-width: 600px) {
	header {
		text-align: right;
		padding: 8px 8px 8px 16px;
	}

	header a.back {
		float: left;
		line-height: 44px;
		padding: 0;
		margin: 0;
	}
}

@media (min-width: 1000px) {
	header a {
		width: 28px;
		height: 28px;
		background-size: 20px auto;
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		border-radius: 4px;
	}

	header a:hover.phone,
	header a:hover.email {
		background-color: transparent;
	}

	header a.phone,
	header a.email,
	header a.back {
		background-image: none;
		background-color: transparent;
		width: auto;
		text-indent: 0;
		margin-right: 20px;
		line-height: 30px;
	}
}

/* Header End */

/* Footer */

footer {
	display: none;
}

footer {
	background-color: #eefdfb;
	border-top: 3px solid #9ae6d9;
	height: 59px;
}

@media (min-width: 600px) {
	footer {
		height: 67px;
	}
}

@media (min-width: 1000px) {
	body {
		background-color: #eefdfb;
	}

	.content {
		background-color: white;
		padding-bottom: 13px;
	}

	footer {
		display: block;
		height: 20px;
	}
}

/* Footer End */

/* Patient Table Headings */

ul.headings-left {
	display: none;
}

ul.headings {
	background-color: #daf4f9;
	list-style-type: none;
	margin: 0;
	padding: 0 0 8px 0;
	text-align: center;
	color: #333333;
}

ul.headings > li {
	display: inline-block;
	width: 33%;
	font-size: 18px;
	margin-top: 8px;
}

ul.headings > li:before {
	content: " ";
	display: inline-block;
	width: 20px;
	height: 20px;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	background-color: black;
	vertical-align: middle;
	margin-right: 5px;
	margin-top: -3px;
}

ul.headings > li.intake:before {
	background-color: #eed479;
}

ul.headings > li.preop:before {
	background-color: #2ec3e1;
}

ul.headings > li.inor:before {
	background-color: #06284b;
}

ul.headings > li.recovery:before {
	background-color: #9ae6d9;
}

ul.headings > li.ready-for-family:before {
	background-color: #77c5b8;
}

@media (min-width: 600px) {
	.content {
		padding-top: 13px;
	}

	ul.headings {
		margin: 0 15px;
	}

	ul.headings > li {
		width: 20%;
		text-align: center;
		font-size: 16px;
	}
}

@media (min-width: 1000px) {

	ul.headings-left {
		display: block;
		list-style-type: none;
		margin: 0 0 0 15px;
		padding: 0;
		line-height: 34px;
	}

	ul.headings {
		line-height: 34px;
		height: 34px;
		padding: 0;
	}

	ul.headings-left .patient, 
	ul.headings-left .physician {
		float: left;
		width: 15%;
		padding-left: 18px;
		border-right: 4px solid white;
		color: white;
		background-color: #06284b;
		font-size: 16px;
	}

	ul.headings-left .physician {
		background-color: #05927a;
		width: 20%;
		padding-left: 14px;
	}

	ul.headings > li {
		margin-top: 0;
	}

	ul.headings > li:before {
		width: 17px;
		height: 17px;
	}

	ul.headings > li {
		width: 10%;
	}
}

/* Patient Table Headings End */

h2.no-records {
	font-weight: normal;
	font-size: 28px;
	text-align: center;
	margin: 0;
	padding: 20px 20px 60px 20px;
}

/* Patient Table */

ul.table {
	list-style-type: none;
	margin: 0;
	padding: 1px 0 0 0;
	clear: both;
}

ul.table a.record {
	display: block;
	text-decoration: none;
}

ul.table a:hover.record {
	background-color: #daf4f9;
}

ul.table a.record > ul {
	list-style-type: none;
	margin: 0;
	padding: 15px 0 0 0;
}

ul.table > li:nth-child(2n) {
	background-color: #ecfbfe;
}

ul.table a.record > ul > li:first-child {
	font-size: 24px;
	color: #06284b;
}

ul.table a.record > ul > li {
	font-size: 18px;
	color: #05927a;
	text-align: center;
}

@media (min-width: 600px) {
	ul.table a.record {
		padding: 0 10px 0 18px;
	}

	ul.table a.record > ul {
		padding: 0;
	}

	ul.table a.record > ul:after {
		content: "";
		clear: both;
		display: table;
	}

	ul.table a.record > ul > li {
		float: left;
		clear: left;
		width: 25%;
		text-align: left;
		padding-top: 6px;
	}

	ul.table a.record > ul > li+li {
		padding-top: 0;
		padding-bottom: 6px;
	}

	ul.table a.record > ul > li:last-child {
		float: none;
		clear: none;
		width: auto;
		padding: 0;
	}
}

@media (min-width: 1000px) {
	ul.table a.record > ul > li,
	ul.table a.record > ul > li:first-child {
		clear: none;
		width: 15%;
		font-size: 16px;
		padding: 13px 0 13px 15px;
		margin-right: 4px;
	}

	ul.table a.record > ul > li+li {
		padding: 13px 0 13px 15px;
		width: 20%;
	}

	ul.table a.record > ul > li:last-child {
		margin-right: 0;
	}
}

/* Patient Table End */

/* Status Bar */

ul.status {
	list-style-type: none;
	padding: 22px 0;
	margin: 0;
	text-align: center;
	display: block;
	line-height: 12px;
	overflow: hidden;
}

ul.status > li {
	display: inline-block;
	width: 19%;
	background-color: black;
	height: 12px;
	position: relative;
}

ul.status > li:first-child {
	-moz-border-radius-topleft: 6px;
	-webkit-border-top-left-radius: 6px;
	border-top-left-radius: 6px;
	-moz-border-radius-bottomleft: 6px;
	-webkit-border-bottom-left-radius: 6px;
	border-bottom-left-radius: 6px;
}

ul.status > li:last-child {
	-moz-border-radius-topright: 6px;
	-webkit-border-top-right-radius: 6px;
	border-top-right-radius: 6px;
	-moz-border-radius-bottomright: 6px;
	-webkit-border-bottom-right-radius: 6px;
	border-bottom-right-radius: 6px;
}

ul.status > li {
	background-color: #eed479;
}

ul.status > li+li {
	background-color: #2ec3e1;
}

ul.status > li+li+li {
	background-color: #06284b;
}

ul.status > li+li+li+li {
	background-color: #9ae6d9;
}

ul.status > li+li+li+li+li {
	background-color: #77c5b8;
}

ul.status:before {
	position: absolute;
	left: -1000px;
}

ul.status.intake:before {
	content: "Current Status: InTake";
}

ul.status.preop:before {
	content: "Current Status: PreOp";
}

ul.status.inor:before {
	content: "Current Status: InOR";
}

ul.status.recovery:before {
	content: "Current Status: Recovery";
}

ul.status.ready-for-family:before {
	content: "Current Status: Phase 2";
}

ul.status.intake > li+li,
ul.status.preop > li+li+li,
ul.status.inor > li+li+li+li,
ul.status.recovery > li+li+li+li+li {
	background-color: #e3e1e1;
}

ul.status.intake > li:before,
ul.status.preop > li+li:before,
ul.status.inor > li+li+li:before,
ul.status.recovery > li+li+li+li:before {
	content: " ";
	border: 2px solid #bab9b9;
	background-color: white;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	width: 8px;
	height: 28px;
	overflow: hidden;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-top: -16px;
	margin-left: -4px;
	-moz-box-shadow: 2px 1px 8px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 2px 1px 8px rgba(0, 0, 0, 0.3);
	box-shadow: 2px 1px 8px rgba(0, 0, 0, 0.3);
}

ul.status.ready-for-family > li+li+li+li+li:before {
	content: " ";
	background-image: url(../images/checkmark.svg);
	background-size: contain;
	background-position: center center;
	background-size: 56px 56px;
	background-repeat: no-repeat;
	width: 56px;
	height: 56px;	
	position: absolute;
	left: 50%;
	top: 50%;
	margin-top: -32px;
	margin-left: -28px;
}

ul.status.intake > li+li:before,
ul.status.preop > li+li+li:before,
ul.status.inor > li+li+li+li:before,
ul.status.recovery > li+li+li+li+li:before {
	content: none;
}

@media (min-width: 1000px) {
	ul.status {
		padding: 18px 0;
	}
}

/* Status Bar End */

/* Detail View */

.detailview ul.record {
	list-style-type: none;
	margin: 0;
	padding: 15px 0 0 0;
}

.detailview ul.record > li:first-child {
	font-size: 24px;
	color: #06284b;
}

.detailview ul.record > li {
	font-size: 18px;
	color: #05927a;
	text-align: center;
}

.detailview .record+.headings {
	display: none;
}

.detailview {
	background-color: #eefdfb;
}

.detailview .content {
	background-color: white;
}

.detailview footer {
	display: block;
}

@media (min-width: 600px) {

	.detailview .headings,
	.detailview .headings-left {
		display: none;
	}

	.detailview .record+.headings {
		display: block;
		background-color: transparent;
	}

	.detailview ul.record {
		padding-top: 30px;
	}

	.detailview ul.record > li:first-child {
		font-size: 34px;
	}

	.detailview ul.record > li {
		font-size: 24px;
	}

	.detailview ul.status {
		padding: 30px 0;
	}

	.detailview ul.status > li {
		height: 20px;
	}

	.detailview ul.status > li:first-child {
		-moz-border-radius-topleft: 10px;
		-webkit-border-top-left-radius: 10px;
		border-top-left-radius: 10px;
		-moz-border-radius-bottomleft: 10px;
		-webkit-border-bottom-left-radius: 10px;
		border-bottom-left-radius: 10px;
	}

	.detailview ul.status > li:last-child {
		-moz-border-radius-topright: 10px;
		-webkit-border-top-right-radius: 10px;
		border-top-right-radius: 10px;
		-moz-border-radius-bottomright: 10px;
		-webkit-border-bottom-right-radius: 10px;
		border-bottom-right-radius: 10px;
	}

	.detailview ul.status.intake > li:before,
	.detailview ul.status.preop > li+li:before,
	.detailview ul.status.inor > li+li+li:before,
	.detailview ul.status.recovery > li+li+li+li:before {
		-moz-border-radius: 16px;
		-webkit-border-radius: 16px;
		border-radius: 16px;
		width: 16px;
		height: 50px;
		margin-top: -27px;
		margin-left: -8px;
	}

	.detailview ul.status.ready-for-family > li+li+li+li+li:before {
		content: " ";
		background-image: url(../images/checkmark.svg);
		background-size: contain;
		background-position: center center;
		background-size: 80px 80px;
		background-repeat: no-repeat;
		width: 80px;
		height: 80px;	
		position: absolute;
		left: 50%;
		top: 50%;
		margin-top: -44px;
		margin-left: -40px;
	}

	.detailview .content {
		padding-bottom: 30px;
	}
}

@media (min-width: 1000px) {
	.detailview ul.headings > li {
		width: 19%;
	}
}

/* Detail View End */

/* Text Area */

.text {
	padding: 0 14px 20px 14px;
	border-top: 4px solid #06284b;
}

.text h2 {
	color: #77c5b8;
	font-weight: normal;
	text-transform: uppercase;
	position: relative;
	padding: 18px 0 14px 0;
	margin: 0;
	font-size: 24px;
}

.text h2:after {
	content: " ";
	position: absolute;
	left: -2px;
	bottom: 0;
	background-color: #77c5b8;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	height: 5px;
	width: 100%;
	padding-right: 4px;
}

.text p {
	color: #06284b;
	line-height: 32px;
	padding: 12px 0 14px 0;
	margin: 0;
	font-size: 16px;
}

.text a {
	color: #2ec3e1;
	text-decoration: none;
	text-transform: uppercase;
}

@media (min-width: 600px) {
	.text h2 {
		padding-top: 35px;
		padding-bottom: 18px;
	}
}

@media (min-width: 1000px) {
	.detailview .content {
		padding-bottom: 55px;
	}

	.text {
		padding: 0 36px 50px 36px;
	}
}

/* Text Area End */

.error .content {
	padding: 20px;
}

.error .content h1 {
	margin: 0 0 10px 0;
	padding: 0;
	font-weight: normal;
	font-size: 28px;
}

.error {
	background-color: white;
}

.error a {
	text-decoration: none;
	font-size: 16px;
	color: #05927a;
}

.error footer {
	display: none;
}

.error a.retry {
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	background-color: #3460a1;
	color: white;
	padding: 4px 8px;
	display: inline-block;
}

.error a.retry:hover {
	background-color: #06284b;
}