* {
	margin: 0;
	padding: 0;
}
.centered {
	padding-left: 10px;
	width: 970px;
	margin: 0 auto;
	text-align: left;
}
#wrapper {
	background: #E6E6DC url('../images/bg-content.gif') repeat-x;
	padding-bottom: 50px;
	position: relative;
	min-height: 100px;
}
body.home #wrapper {
	background-image: url('../images/bg-home.gif');
}

/*    Globals    */
#logo {
	margin-left: 10px;
	position: absolute;
	top: 40px;
	display: block;
	z-index: 10;
}
.head-image {
	width: 750px;
	height: 207px;
	position: absolute;
}
.head-image img {
	position: absolute;
	right: 0;
	bottom: 0;
}
body.home .head-image {
	height: 287px;
}

/*    Home Page    */
#home-head-left {
	width: 705px;
	height: 407px;
	float: left;
	display:inline;
}
#main-intro {
	width: 570px;
	position: absolute;
	top: 170px;
	font-size: 128.57142857143%; /* 18px */
	font-weight: bold;
}
#bar-intro {
	width: 640px;
	position: absolute;
	top: 310px;
	color: #FFF;
	font-size: 128.57142857143%; /* 18px */
	font-weight: bold;
}
#home-head-right {
	margin: 0 4px 0 1px;
	width: 260px;
	height: 371px;
	float: right;
	display:inline;
	clear:none;
}
.third {
	margin: 0px 0 0 30px;
	width: 300px;
	float: left;
	display:inline;
}
.third.first-item {
	margin-left: 0;
}
#home-adverts {
	margin: 25px 0 25px -23px;
	zoom: 1;
}
#home-adverts .ad {
	margin-left: 18px;
	float: left;
	width: 312px;
	height: 162px;
	display: inline;
}
#home-adverts a {
	padding: 70px 0 0 5px;
	width: 307px;
	height: 92px;
	display: block;
}
#home-adverts a span {
	padding: 5px 8px;
	background: #000;
	color: #fff;
	line-height: 140%;
	font-size: 150%;
	font-weight: bold;
}
#home-adverts a:hover span {
	background: #B84F76;
}
#home-adverts .learn-about-sight-tests {
	background-image: url('../../../images/adverts/home/eye-health-calculator.jpg');
}
#home-adverts .sight-tests-at-home {
	background-image: url('../../../images/adverts/home/podcast.jpg');
}
#home-adverts .watch-our-video {
	background-image: url('../../../images/adverts/home/watch-our-video.jpg');
}
#did-you-know-wrapper {
	width: 630px;
	display: inline;
	float: left;
	color: #FFF;
}
#did-you-know {
	min-height: 100px;
	background: url('../images/did-you-know-top.gif') no-repeat;
}
#take-our-questionnaire {
	width: 200px;
	height: 260px;
	position: relative;
	z-index: 2;
	float: left;
	display: inline;
	background: url('../images/sight-test-bg.png') no-repeat 0 10px;
}
#take-our-questionnaire .top {
	margin: 160px 0 0 10px;
	background: url('../images/black-box-top.png') no-repeat;
	font-size: 92.30769230769%; /* 12px */
}
#take-our-questionnaire .bottom {
	margin: 0 0 0 10px;
	height: 10px;
	background: url('../images/black-box-bottom.png') no-repeat;
}
#take-our-questionnaire p {
	margin: 0;
	padding: 8px 12px 0 12px;
}
#take-our-questionnaire a {
	margin-right: 5px;
	padding-right: 35px;
	display: block;
	color: #fff;
	background: url('../images/more-arrow-large.png') no-repeat center right;
}

#macular-disease-box{
	background-color:#e6f3fa;
	border-radius:8px;
	color:#3c3c3c;
	background-image:url(../images/macular-disease-box.jpg);
	background-position: right bottom;
	background-repeat: no-repeat;
}

#macular-disease-box h2{
	margin:0;
	padding-top:30px;
}
.macular-left{
	float:left;
	width:200px;
	margin-left:30px;
	text-align: center;
	color:#b24d74;
	font-size:45px;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 0.9;
	margin-top:30px;
}
.macular-left-number{
	font-size:84px;
}
.macular-right{
	float:left;
	width:260px;
	margin-left:20px;
	margin-top:30px;
}
.macular-right strong{
	font-size:16px;
}
.macular-right p{
	margin-left:0;
}
.macular-base{
	margin-left:30px;
	margin-top:20px;
	margin-bottom:20px;
}
#macular-disease-box h2 span {
    padding: 5px 8px;
    background: #000;
    color: #fff;
    line-height: 140%;
    font-size: 28px;
    font-weight: bold;
}


#facts {
	width: 430px;
	float: left;
	display:inline;
}
#facts h2 {
	font-size: 200%; /* 28px */
}
#facts li {
	margin-right: 27px;
	width: 360px;
	background-image: url('../images/more-arrow-border.png');
}
#did-you-know-bottom {
	margin-top: -6px;
	width: 630px;
	height: 6px;
	zoom: 1;
	background: url('../images/did-you-know-bottom.gif') no-repeat;
}
#events-feed {
	margin-left: 15px;
	width: 315px;
	float: left;
	display:inline;
}
.home-event {
	margin-bottom: 6px;
}
.home-event .date {
	margin-left: 15px;
	height: 50px;
	width: 46px;
	float: left;
	background: #333;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
.home-event .date .day {
	padding-top: 7px;
	color: #fff;
	font-size: 161.53846153846%; /* 21px */
	font-weight: bold;
	line-height: 100%;
	text-align: center;
}
.home-event .date .month {
	color: #92917F;
	font-size: 92.30769230769%; /* 12px */
	font-weight: bold;
	line-height: 100%;
	text-align: center;
	text-transform: uppercase;
}
.home-event .title {
	margin: 10px 0 0 10px;
	width: 225px;
	float: left;
}
.home-event h2 {
	margin: 0;
	font-size: 100%;
}
.home-event h2 a {
	color: #66706C;
}

/*    Content Page    */
#head {
	height: 267px;
}
#head h1 {
	margin: 0 0 0 15px;
	padding: 0;
	position: absolute;
	top: 218px;
	color: #FFF;
	font-size: 150%; /* 21px */
	line-height: 40px;
	text-transform: uppercase;
}
#left {
	margin-right: 60px;
	width: 645px;
	float: left;
	display:inline;
	position: relative;
}
#content {
	margin-top: 30px;
}
#right {
	margin: 0 4px 0 1px;
	width: 260px;
	float: left;
	display:inline;
}
#adverts p {
	margin: 10px 0 0 0;
}

/*    Nav    */
#nav-pocket {
	height: 395px;
	width: auto;
	position: relative;
}
#nav-wrapper {
	position: absolute;
	bottom: 0;
}
#nav-top {
	width: 260px;
	height: 12px;
	background: url(../images/nav-bg-top.png);
}
#nav-bottom {
	width: 260px;
	height: 12px;
	background: url(../images/nav-bg-bottom.png);
	background-repeat:none;
}
#nav {
	width: 230px;
	background-image: url(../images/nav-bg-repeat2.png);
	background-repeat: repeat-y;
	font-size: 85.71428571429%; /* 12px */
	padding: 2px 16px 4px 14px;
}
#nav ul {
	margin: 0;
	padding: 0;
	width: 230px;
	display: block;
	overflow: hidden;
	background: #BEBCB1;
	list-style-type: none;
}
#nav ul li {
	margin: 0;
	padding: 0;
	display: block;
	background: none;
}
#nav ul li a {
	margin-top: 2px;
	padding: 8px 0 8px 30px;
	display: block;
	background: #FFF url('../images/nav-arrow-grey.gif') no-repeat 10px 10px;
	color: #666;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
}
#nav ul li a.menu-first {
	margin: 0;
	padding-top: 10px;
}
#nav ul li a:hover, #nav ul li.selected > a {
	margin: -2px 0 0 0;
	padding: 10px 0 10px 30px;
	position: relative;
	bottom: -2px;
	background: #B84F76 url('../images/nav-arrow-white.gif') no-repeat 10px 12px;
	color: #FFF;
}
#nav ul li ul li a, #nav ul li ul li a:hover {
	padding-left: 50px !important;
	background-position: 30px 12px !important;
	font-size: 90% !important;
}

/*    Sub Nav    */
.sub-nav ul {
	margin: 0;
	
	float: left;
}
.sub-nav ul li {
	margin: 0;
	padding: 0;
	display: inline;
	background: none;
}
.sub-nav ul li a {
	padding: 10px 15px;
	text-decoration: none;
}
.sub-nav ul li a.menu-first {
	border: none;
}
.sub-nav ul li.selected a {
	background: #B84F76;
	-moz-border-radius: 0 0 4px 4px;
	-webkit-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;
	color: #FFF;
}
/*    Events Map    */

#map_canvas {
	width: 100%;
	height: 360px;
}

/*    Footer    */
#footer {
	padding-top: 50px;
	min-height: 240px;
	background: url('../images/bg-footer.gif') repeat-x #C5C5C2;
	font-size: 85.71428571429%; /* 12px */
}
#footer a {
	color: #66706C;
}
#footer-left-wide {
	width: 679px;
	float: left;
	display:inline;
}
#footer-left {
	/*margin-right: 40px;*/
	/*width: 400px;*/
	width: 256px;
	float: left;
	display:inline;
}
		#footer-mid table {
			margin: 0 0 5px;
		}
		#footer-left .larger, #footer-left-wide .larger {
			font-size: 120%;	
		}
#footer-mid {
	margin-top: -2px;
	/*width: 210px;*/
	width: 423px;
	float: left;
	display:inline;
	
	font-size: 120%;
}
#footer-left p, #footer-mid p {
	margin-left: 0;
}
#footer-mid li, #footer-right li{
	margin: 0;
	padding: 10px 0 10px 40px;
	background-image: none;
}
#footer-mid li.twitter, #footer-right li.twitter {
	background-image: url('../images/icons/twitter.png');
	
}
#footer-mid li.facebook, #footer-right li.facebook{
	background-image: url('../images/icons/facebook.png');
}
#footer-mid li.youtube, #footer-right li.youtube{
	background-image: url('../images/icons/youtube.png');
}
#footer-mid li.nhsnetwork, #footer-right li.nhsnetwork{
	background-image: url('../images/icons/nhs.png');
}
#footer-right {
/*	margin-left: 65px;*/
	width: 245px;
	text-align: left;
	float: left;
	display:inline;
	padding-left: 35px;
}
#footer-right .email {
	margin: 0;
	font-size: 157.14285714286%; /* 22px */
}
.footer-logos-table td{ padding-right:10px;}
.footer-logos-table { margin:10px 0px;}

/*    Forms    */
#submit {
	padding: 3px 10px;
}
.fieldError {
	border: 1px solid red;
}
.errorText {
	color: red !important;
	font-weight: bold;
}
.input-medium, .input-large, .input-extralarge {
	padding: 5px;
	width: 270px;
	color: #66706C;
}
select.input-large {
	width: 282px;
}
.input-tiny, .input-small {
	padding:5px;
	color: #66706C;
}
.field-radiotext {

}
		.field-radiotext .main-label {
			float: none;
			margin-top: 0;
		}
		.field-radiotext label {
			float: left;
			margin-top: 6px;
		}
		.field-radiotext input {
			float: left;
			margin: 0 8px 0 4px;
			display: inline;
			margin-top: 6px;
		}
		.field-radiotext .text-input {
			padding: 5px;
			width: 50px;
			margin-top: 0;
		}
.box textarea.input-large {
	padding: 5px;
	width: 587px;
	max-width: 587px;
	height: 100px;
	color: #66706C;
	font-family: Arial, Helvetica, sans-serif;
}
.box .form-field-wrapper {
	margin: 0 0 15px 15px;
	min-width: 300px;
	display: inline;
	float: left;
}
.box .form-field-wrapper.wide {
	width: 620px;
}
.box .form-field-wrapper.narrow {
	width: 195px;
}
.box h3{
	margin-top:0;
}
.box #form-field-wrapper-4, .box #form-field-wrapper-6 {
	margin: 10px 15px;
	width: auto;
	float: none;
}
.box label {
	margin-bottom: 5px;
	display: block;
}
.form-field-required-star{
	vertical-align:top;
}

/*    Questionnaire    */
#questionnaire fieldset {
	margin-bottom: 10px;
	display: block;
	border: none;
}
#questionnaire legend {
	padding: 15px 0 10px 15px;
	display: block;
	color: #66706C;  /* Because IE8 is 'special' */
	font-size: 142.85714285714%; /* 20px */
	font-weight: bold;
	white-space: normal; /* Firefox is being annoying */
	zoom: 1;
}
#questionnaire label {
	padding: 8px 10px;
	margin-bottom: 2px;
	display: block;
	background: #FFF;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
#questionnaire label.selected {
	background: #B84F76;
	color: #FFF;
}
#questionnaire .input-radio {
	margin-right: 10px;
}
#questionnaire .jquery-submit {
	margin: 0 0 0 15px;
	position: relative;
	top: 15px;
}

/*    Events    */
ul.events-regions {
	margin: 20px 0 10px 15px;
}
ul.events-regions li {
	padding: 0;
	width: 155px;
	float: left;
	background: none;
}
.flashVideo{
text-align:center;
}
#viewcart {
	position: absolute;
	top: 224px;
	right: 0;
}
#content.home {
	margin-top: 10px;	
}
#ticker-wrap {
	margin: 20px 0 0;
	background: #f5f5f2;
	width: 100%;
	height: 35px;
	overflow: hidden;
}
#blog-headlines .news-item {
	padding: 9px 10px 0 10px;
	background: #F5F5F2;
	width: 800px;
}
#blog-headlines .latest {
	text-transform: uppercase;
	font-weight: bold;
}
#blog-headlines .news-item p {
	margin: 0;	
}
#ticker-controls {
	float: right;
	width: 80px;
	padding: 9px 9px 0;
	display: none;
}	
#ticker-next  {
	background: url(../images/arrow-next.gif) no-repeat -12px 0;
	display: inline;
	float: left;
	height: 18px;
	width: 12px;
	text-indent: -9999px;
	margin: 0 15px 0 0;
	cursor: pointer;
}
#ticker-prev {
	background: url(../images/arrow-prev.gif) no-repeat 0 0;
	display: inline;
	float: left;
	height: 16px;
	width: 12px;
	text-indent: -9999px;
	margin: 0 15px 0 0;
	cursor: pointer;
}
#ticker-playpause {
	background: url(../images/pausebtn.gif) 0 0;
	width: 12px;
	height: 16px;
	display: inline;
	text-indent: -9999px;
	float: left;
	cursor: pointer;
}
.clear {
	clear: both;
	height: 0;
	overflow: hidden;
}

#twitterfeed {
	margin-left: 30px;
	width: 300px;
	float: left;
	display:inline;
}
#twitterfeed h2{
	margin:0 0 10px 0;
}
#twitterfeed .tweet{
	margin-bottom:15px;
}
#twitterfeed .tweet a{
	color:#66706C;
}
#twitterfeed .tweet a:hover{
	color:#B84F76;
}
#twitterfeed .tweet-thing{
	color:#B84F76;
}
#twitterfeed .date{
	margin-top:6px;
	font-size:87.5%;
}
#twitterfeed .join{
	text-align:right;
}
form#form6 .form-field-required-star{
	display:none;	
}

form#form6 div.form-field-wrapper.form-radio{
	padding:10px 5px 0 5px;
	margin:0 15px 0 15px;
	background-color:white;
	border-radius:5px;	
}
form#form6 div.radio-option-wrapper{
	padding:0 0 20px 30px;	
	clear:both;
}
form#form6 div.radio-option-wrapper p{
	margin-top:10px;	
}
form#form6 div.radio-option-wrapper input{
	margin-right:20px;
	vertical-align:top;
	margin-top:2px;
}
form#form6 div.radio-option-wrapper label{
	display:inline-block;
	width:510px;
}
form#form6 img{
	margin-left:15px;
	margin-bottom:15px;
}
form#form6 input.input-button{
	margin-left:225px;
	margin-top:15px;
	padding:15px 25px;
	border-radius:7px;
	background-color:#b84f76;
	color:white;
	border:1px solid #b84f76;	
	font-size:125%;
	font-weight:bold;
}

body[data-evision-sim-condition]{
	padding-top: 32px;
}
.evision-simulator-menu{
	display: none;
}
body[data-evision-sim-condition] .evision-simulator-menu{
	display: block;
}
body[data-evision-sim-condition="off"] .evision-simulator-menu{
	display: none;
}
.evision-simulator-menu{
	top: 0;
	left: 0;
	position: fixed;
	width: 100%;
	z-index: 101;
	background: #dcdcd8;
	min-height: 32px;
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
}
.evision-simulator-menu__inner-container{
	display: flex;
	align-items: center;
	margin: 0 auto;
	width: 950px;
	padding-left: 20px;
}
.evision-simulator-menu__title{
	display: block;
	font-weight: bold;
	margin-right: 16px;
	text-transform: uppercase;
}
.evision-simulator-menu ul { 
	flex-grow: 1;
	display: flex;
	margin: 0;
	padding: 0;
}
.evision-simulator-menu ul li { 
	flex-grow: 1;
	flex-shrink: 1;
	margin: 0;
	padding: 0;
	background: none;
	/*width: 25%;*/
	border-right: solid 1px #c5c5c2;
}
.evision-simulator-menu ul li:first-child { 
	border-left: solid 1px #c5c5c2;
}
.evision-simulator-menu ul li.evision-simulator-menu__off { 
	flex-grow: 0;
	width: auto;
}
.evision-simulator-menu ul li.evision-simulator-menu__off a { 
	position: relative;
	padding-left: 36px;
}
.evision-simulator-menu ul li.evision-simulator-menu__off a:before { 
	content: '';
	position: absolute;
	display: block;
	width: 16px;
	height: 16px;
	top: 8px;
	left: 16px;
	background: url(../images/eye-slash-solid.svg) center center no-repeat;
}
.evision-simulator-menu ul li a{ 
	display: block;
	padding: 8px 16px;
	/*font-weight: bold;*/
	height: 100%;
	box-sizing: border-box;
}
.evision-simulator-menu ul li a:hover{ 
	text-decoration: none;
	background: #c5c5c2;
}
.evision-simulator-menu ul li.selected a{ 
	text-decoration: none;
	background: #b84f76;
	color: #fff;
	font-weight: bold;
}

.evision-simulator-wrapper{
	width: 100%;
	overflow: hidden;
}
body[data-evision-sim-condition="cataract"] .evision-simulator-wrapper {
	filter: blur(3px);
}
body[data-evision-sim-condition="cataract"] .evision-simulator-overlay {
	position: fixed;
	background: #fff;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	bottom: 0;
	opacity: 0.2;
	z-index: 100;
	pointer-events: none;
}

body[data-evision-sim-condition="macular-degeneration"] .evision-simulator-wrapper {
}
body[data-evision-sim-condition="macular-degeneration"] .evision-simulator-wrapper:after {
	content: '';
	position: fixed;
	width: 40vh;
	height: 40vh;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background: #333;
	z-index: 100;
	border-radius: 50%;
	filter: blur(30px);
	pointer-events: none;
}

body[data-evision-sim-condition="glaucoma"] .evision-simulator-wrapper {
	filter: saturate(1.2) brightness(1.2) contrast(110%) blur(1.5px);
}
body[data-evision-sim-condition="glaucoma"] .evision-simulator-overlay {
	display: block;
	position: fixed;
	left: 0;
	top: 32px;
	width: 100vw;
	height: calc(100vh - 32px);
	z-index: 100;
	pointer-events: none;
}
body[data-evision-sim-condition="glaucoma"] .evision-simulator-overlay:after {
	content: '';
	display: block;
	background: url(../images/evision-simulator/glaucoma-overlay-v2.svg) center top;
	background-size: 100% 100%;
	z-index: 100;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height:100%;
	opacity: 0.95;
}


body[data-evision-sim-condition="diabetic-retinopathy"] .evision-simulator-wrapper {
}
body[data-evision-sim-condition="diabetic-retinopathy"] .evision-simulator-overlay {
	display: block;
	position: fixed;
	left: 0;
	top: 32px;
	width: 100vw;
	height: calc(100vh - 32px);
	transform:scale(1.2);
	z-index: 100;
	pointer-events: none;
}
body[data-evision-sim-condition="diabetic-retinopathy"] .evision-simulator-overlay:after {
	content: '';
	display: block;
	background: url(../images/evision-simulator/diabetic-retinopathy-overlay.svg) center top;
	background-size: 100% 100%;
	z-index: 100;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height:100%;
}

#home-adverts .e-vision-simulator {
	background-image: url('../../../images/adverts/home/vision-simulator.jpg');
}