/* element styles */

html {
	overflow: scroll;
}

body{
	margin: 0;
	padding: 0; 
	background: url(../images/site/bg.png) #f3f3f3;
	font-size: 90%;
}	 

div {
	font-family: arial, verdana, sans-serif;
	font-size: 100%;
	color: #535353;
}

p {
	font-family: arial, verdana, sans-serif;
	font-size: 100%;
	color: #535353;
	margin: 0 0 15px 0;
	line-height: 120%;
}

li {
	font-size: 100%;
	color: #535353;
}

td {
	font-size: 100%;
	color: #535353;
	vertical-align: top;
}

img {
	border: 0;
}

a {
	font-size: 100%;
	color: #0099ff;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1 {
	font-family: arial, verdana, sans-serif;
	font-size: 150%;	
	color: #0099ff;
	margin: 0 0 10px 0;
	padding: 0;
	font-weight: normal;
}

h2 {
	font-family: arial, verdana, sans-serif;
	font-size: 140%;	
	color: #535353;
	margin: 0 0 10px 0;
	padding: 0;
	font-weight: normal;
}

h3 {
	font-family: arial, verdana, sans-serif;
	font-size: 130%;	
	color: #535353;
	margin: 0 0 10px 0;
	padding: 0;
	font-weight: normal;
}

form {
	margin: 0;
}

textarea {
	font-family: arial, verdana, sans-serif;
	font-size: 100%;
}

/* page element styles */ 
 
#top_bar {
	height: 156px;
}

#top_text {
	float: left;
	padding: 33px 0 0 33px;
	font-size: 180%;
	font-weight: bold;
}

#top_text span {
	display: block;
	font-style: italic;
	font-weight: normal;
	font-size: 75%;
}

#search_form {
	float: right;
	width: 170px;
}

.phil_social_media {
	float: right;
	display: block;
	width: 32px;
	height: 33px;
	text-decoration: none !important;
	z-index: 99;
	background-position: top left;
}

.phil_social_media:hover {
	text-decoration: none !important;
	background-position: bottom left !important;
}


#cc-logo {
	float: right;
	width: 109px;
	margin: 0px 0px 0px 10px;
}

#top_logo {
	float: right;
	padding: 10px 33px 0 0;
	width: 350px;
}

#navigation {
	position: absolute;
	top: 122px;
	left: 32px;	
	width: 887px;
	height: 40px;
	background: url(../images/site/nav-bg.png) no-repeat top left;
	clear: both;
}

#main {
	position:relative;
	margin: 10px auto 20px auto;
	width: 950px;
	padding: 0 0 20px 0;
	z-index: 1;
	border: 1px #d8d8d8 solid;
	background: #fff;
}

#page_main_inner {
	padding: 30px;
}

#footer {
	background: url(../images/site/footer-bg.png) repeat-x top left;
	clear: both;
	margin: 0 30px 0 30px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#footer a, #footer p {
	color: #fff;
	line-height: 150%;
}

#footer_left {
	float: left;
	padding: 15px 0 0 20px;
	width: 400px;
	font-size: 75% !important;
}

#footer_right {
	float: right;
	text-align: right;
	padding: 15px 20px 0 0;
	width: 400px;
	font-size: 75% !important;
}


/* content page */

#left_nav {
	float: left;
	width: 180px;
	margin: 0 30px 0 0;
}

#page_content {
	float: left;
	width: 635px;
}

#page_content.wide {
	width: 885px;
}

#breadcrumb {
	float: right;
	padding: 0px 0px 5px 0px;
}

#page_content #col1 {
	float: left;
	width: 300px;
}

#page_content #col2 {
	float: left;
	width: 300px;
	margin: 0 0 0 30px;
}



/* home page slider */

#slider_frame {
	float: left;
	position: relative;
	width: 578px;
	height: 300px;
	padding: 0;
	margin: 0;
}

#slider_frame h1 {
	padding: 20px;	
}

.slider {
	position: absolute;
	top: 55px;
	left: 20px;
	display: none;
	z-index: 80;
	width: 507px;
}

.slider a {
	display: block;
}

.slider_image {
	display: block;
	position: absolute;
	top: 0;
	left: 200px;
	width: 340px;
	height: 220px;
	background-position: right top;
	background-repeat: no-repeat;
}

#slide_0 {
	display: block;
}

.slide_caption {
	position: absolute;
	z-index: 90;
	left: 0;
	top: 0;
	width: 180px;
	height: 220px;
	overflow-y: auto;
	font-size: 85%;
}

.slide_caption h2 {
	font-size: 160% !important;	
	font-style: italic;
}


/* home page */

#choose_project {
	position: absolute;
	top: 22px;
	left: 165px;	
}

#home_top_right {
	float: left;
	width: 235px;
	margin-left: 30px;
	font-size: 110%;
}

#home_top_right h1, 
#home_top_right h2,
#home_top_right h3 {
	color: #0099ff;	
	font-size: 140%;
}


/* home page boxes */
.home_box_left, .home_box_right  {
	float: left;
	width: 233px;
	margin: 30px 30px 0 0;
}

.home_box_left a:hover, .home_box_right  a:hover {
	text-decoration: none;
}

.home_box_right {
	margin: 30px 0 0 0;
}

#home_box_0 h2, #home_box_0 h2 a {
	color: #0066cc !important;
}

#home_box_1 h2, #home_box_1 h2 a {
	color: #990066 !important;
}

#home_box_2 h2, #home_box_2 a, #home_box_2 h2 a {
	color: #e4910f !important;
}

/* PHIL page */
#phil_slider_frame {
	float: left;
	position: relative;
	width: 635px;
	height: 400px;
	padding: 0;
	margin: 0 0 30px 0;
}
.phil_slider {
	position: absolute;
	display: none;
	z-index: 80;
	width: 635px;
}

.phil_slider a {
	display: block;
}

.phil_slider_image {
	display: block;
	width: 635px;
	height: 400px;
	background-position: right top;
	background-repeat: no-repeat;
}

.phil_slide_caption {
	position:absolute;
	left:0px;
	bottom:0px;
	background:#000;
	color:#fff;
	width:100%;
	z-index:8;
	padding: 5px 10px;
	opacity: 0.8;
	overflow: hidden;
	-moz-opacity: 0.8;
	filter:alpha(opacity=8);
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
.phil_slide_caption p {
	padding:5px;
	margin:0;
	color:#fff !important;
	font-size: 120%;
}

#phil_social_media {
	margin: 20px;
}

#phil_facebook {
	float: left;
	background: url(../images/site/facebook.png) no-repeat;
	margin: 0 20px 0 0;
	width: 32px;
	height: 33px;
	text-decoration: none !important;
	z-index: 99;
	background-position: top left;
}

#phil_facebook:hover {
	text-decoration: none !important;
	background-position: bottom left !important;
}

#phil_twitter {
	float: left;
	background: url(../images/site/twitter.png) no-repeat;
	margin: 0 20px 0 0;
	width: 32px;
	height: 33px;
	text-decoration: none !important;
	z-index: 99;
	background-position: top left;
}

#phil_twitter:hover {
	text-decoration: none !important;
	background-position: bottom left !important;
}

#phil_pinterest {
	float: left;
	background: url(../images/site/pinterest.png) no-repeat;
	width: 32px;
	height: 33px;
	text-decoration: none !important;
	z-index: 99;
}

#phil_events_top {
	margin: 0 0 20px 0;
}

#phil_events_map {
	width: 635px; 
	height: 605px;
	border: 3px #858b9b solid;
	margin-bottom: 20px;
}

.phil_events_label {
	width: 75px;
	float: left;
}
.phil_events_col {
	width: 240px;
	float: left;
}

/* form styles */

#q {
	border: 1px #afafaf solid;
	width: 101px;
	height: 9px;
	padding: 5px;
	font-size: 85%;
	float: right;
	margin: 7px 2px 0 0;
}

.button {
	background: top left no-repeat;
	border: 0;
	text-indent:-9999px !important;
}

.button:hover {
	cursor: pointer;
	background-position: bottom left;
	text-decoration: none;
}

.message {
	background: url(../images/site/button-bg.png) top left repeat-x;
	padding: 8px 10px 8px 10px;
	height: 32px;
	width: 197px;
	color: #fff;
}

.message:hover {
	background-position: bottom left;
	text-decoration: none;
}

.search {
	float: right;
	display: block;
	width: 52px;
	height: 21px;
	background-image: url(../images/site/search.png);
	margin: 7px 0px 0 0;
}

.go {
	width: 26px;
	height: 26px;
	background-image: url(../images/site/go.png);
}

.on {
	background-position: bottom left !important;
}

/* nav styles for text-based navigation */


.nav_item {
	display: block;
	height: 29px;
	text-align: center;
	color: #fff !important;
	font-weight: normal !important;
	background: url(../images/nav/nav-bg.png) repeat-x top right;
	padding: 11px 8px 0 8px;
	font-size: 110% !important;
}

.nav_item_active {
	display: block;
	height: 29px;
	text-align: center;
	color: #fff !important;
	font-weight: normal !important;
	background: url(../images/nav/nav-bg.png) repeat-x;
	background-position: right -40px  !important;
	padding: 11px 8px 0 8px;
	font-size: 110% !important;
}

.nav_item:hover, .nav_item_active:hover {
	background-position: right -40px  !important;
	text-decoration: none;
}

#nav_home {
	margin: 0 0 0 8px;
}

/* general nav styles */

#nav, #nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#nav a {
	display: block;
}

#nav li {
	float: left;
	padding: 0;
}

#nav li a {
	font-weight: bold;
	font-size: 110%;
	color: #333;
}

#nav li a:hover {
	color: #0071c6;
}

#nav li ul {
	position: absolute;
	left: -999em;
	background: url(../images/nav/dd-bg.png) repeat-x top left #168dfd;
	width: 120px;
	padding: 0 5px 0 5px;
	border: 1px #fff solid;
	border-top: 0;
	z-index: 99;
}

#nav li:hover ul {
	left: auto;
}

#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
}

.dd_nav_item, .dd_nav_item_last {
	width: 120px;
	border-bottom: 1px #67c2ff solid;
	padding: 5px 0 5px 0 !important;
}

.dd_nav_item_last {
	border-bottom: 0;
}

.dd_nav_item a, .dd_nav_item_last a {
	color: #fff !important;
	font-weight: normal !important;
	display: block;
	font-size: 85% !important;
}

.dd_nav_item a:hover, .dd_nav_item_last a:hover {
	display: block;
	text-decoration: underline;
}

/* left nav */

#left_nav a {
	display: block;
	font-size: 110%;
}

.nav_item_1, .nav_item_2 {
	border-bottom: 1px #94abc0 dotted;
	color: #0099ff;
	padding: 7px;
}

.nav_item_1_active, .nav_item_2_active {
	border-bottom: 1px #94abc0 dotted;
	background-color: #fff;
	padding: 7px;
}

.nav_item_1_active a, .nav_item_2_active a {
	color: #000 !important;
}

.nav_item_2, .nav_item_2_active {
	padding-left: 30px;
}

#nav_print {
	background: url(../images/site/print-icon.png) no-repeat 5px 3px;
	padding-left: 35px;
}



/* form styles */


.user_form .row_0 {
	background-color: #eff4f7;
}

.user_form .row_1 {
	background-color: #e3ebf0;
}

.user_form .row_section {
	background-color: #fff;
}

.user_form .row_section td {
	border: 0 !important;
	padding-top: 30px;
}

.user_form .cell {
	border-top: 1px #d7e0e7 solid;
	padding: 3px 0px 3px 0px;
}

.user_form .cell_left {
	border-left: 1px #d7e0e7 solid;
	border-top: 1px #d7e0e7 solid;
	padding: 3px 15px 3px 0px;
	padding-left: 10px;
}

.user_form .cell_right {
	border-top: 1px #d7e0e7 solid;
	border-right: 1px #d7e0e7 solid;
	padding: 3px 0px 3px 0px;
	padding-right: 10px;
}


.user_form .cell_span {
	border: 1px #d7e0e7 solid;
	border-bottom: 0;
	padding: 3px 10px 3px 10px;
}

.user_form .error {
	display: block;
	color: #c00;
	font-weight: bold;
}

.user_form .input_box {
	width: 300px;
}

.user_form .input_box_200 {
	width: 300px;
}

.user_form .input_box_small {
	width: 80px;
}

.user_form form {
	margin: 0px;
}

.user_form select {
	width: 300px;
}

.user_form .textarea {
	width: 300px;
	height: 200px;
}

.user_form .rich {
	width: 300px;
	height: 200px;
}

.user_form .textarea_small {
	width: 300px;
	height: 50px;
	font-family: verdana;
	font-size: 100%;
}

.user_form .section {
	border-bottom: 1px #d7e0e7 solid;
}	

.user_form h3 {
	padding: 20px 0 0 0;
}

.user_form .select_box_200 {
	width: 200px;
}

.user_form .select_box_50 {
	width: 50px;
}

.user_form .select_box_70 {
	width: 70px;
}

/* easy read form */
.easy_read_form .input_box {
	width: 200px;
}
.easy_read_form .textarea {
	width: 200px;
}
.cell_image {
	border-left: 1px #d7e0e7 solid;
	border-top: 1px #d7e0e7 solid;
	text-align: center;
	vertical-align: middle;
	padding: 3px 10px;
}
.cell_image_left {
	border-top: 1px #d7e0e7 solid;
	padding: 3px 15px 3px 0px;
	padding-left: 10px;
}
.easy_read_form td {
	font-size: 130%;
}
.easy_read_form .submit {
	font-size: 200%;
	float: right;
}

/* side panels */

.panel {
	width: 170px;
	margin: 30px 0 0 0;
	border: 1px #cecece solid;
}

.panel_top {
	padding: 5px 0 5px 10px;
	font-size: 110%;
	font-weight: bold;
	color: #fff;
	background: #5d8ab7;
}

.panel_bottom {
	padding: 10px 10px 0 10px;
	background: url(https://www.healthpromcornwall.org/images/site/home-box-bg.png) repeat-x top left #f4f4f4;
}

.panel_bottom a {
	color: #f67426 !important;
}

/* general styles */

.project_item {
	clear: both;
	border-bottom: 1px #ccc solid;
	padding: 0 0 20px 0;	
	margin: 0 0 20px 0;
}

.project_image {
	float: left;
	margin: 0 30px 0 0;
}

.curvy_box {
	background: url(../images/site/box-bg.png) #eeeeee top left repeat-x;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 1px #d8d8d8 solid;
	padding: 20px;
}

.news_divider {
	height: 1px;
	background-color: #ccc;
	margin-bottom: 10px;
}

.padded_img img {
	padding: 0;
}

.smallText {
	font-size: 80%;
}

.smallText a {
	font-size: 100%;
}

.error {
	color: #c00;
	font-weight: bold;
}

.pad30lr {
	padding: 0 30px 0 30px;
}

.clear {
	clear: both;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

.hide {
	display: none;
}


/* people page */

.person {
	float: left;
	width: 95px;	
	height: 180px;
	margin: 0 20px 20px 0;
}

.people_image {
	text-align: center;
}

.people_name {
	text-align: center;
	font-size: 85%;	
	margin: 5px 0 5px 0;
}

.people_job {
	text-align: center;
	font-size: 75%;	
	font-style: italic;
}


/* document types */

.icon {
	list-style-type: none;
	padding: 0 0 0 25px !important;
	margin: 0 0 10px -3px !important;
}

.pdf {
	background: url(../images/resources/pdf.gif) no-repeat;
}

.doc, .docx {
	background: url(../images/resources/doc.gif) no-repeat;
}

.xls, .xlsx {
	background: url(../images/resources/xls.gif) no-repeat;
}

.ppt, .pptx {
	background: url(../images/resources/ppt.gif) no-repeat;
}

.wav {
	background: url(../images/resources/wav.png) no-repeat;
}

.avi {
	background: url(../images/resources/avi.png) no-repeat;
}

.folder {
	background: url(../images/resources/folder.png) no-repeat;
}


/* local events */

#events_left {
	float: left;
	width: 220px;
	margin: 0 30px 30px 0;
}

#events_right {
	float: left;
	width: 586px;
	margin: 0 0 30px 0;
}

#events_map {
	width: 615px; 
	height: 605px;
	border: 3px #858b9b solid;
}

#events_list {
	padding: 20px;
	border: 3px #858b9b solid;
}

.event_item {
	padding: 0 0 0 70px;
	margin: 0 0 20px 0;
	min-height: 57px;
}

.social_media {
	display: block;
	position: absolute;
	width: 32px;
	height: 33px;
	text-decoration: none !important;
	z-index: 99;
	background-position: top left;
}

.social_media:hover {
	text-decoration: none !important;
	background-position: bottom left !important;
}

#facebook {
	top: 10px;
	left: 591px;
	background: url(../images/site/facebook.png) no-repeat;
}

#twitter {
	top: 10px;
	left: 631px;
	background: url(../images/site/twitter.png) no-repeat;
}

.type_0 {
	/* multiple types */
	background: url(../images/site/red-icon.png) top left no-repeat;
}

.type_1 {
	/*  Physical Activity */
	background: url(../images/site/grey-icon.png) top left no-repeat;
}

.type_2 {
	/*  Weight Management */
	background: url(../images/site/blue-icon.png) top left no-repeat;
}

/* not used on this site
.type_3 {
	background: url(../images/site/green-icon.png) top left no-repeat;
} 
*/

.type_4 {
	/* Stop Smoking Service */
	background: url(../images/site/orange-icon.png) top left no-repeat;
}

.type_5 {
	/* Health Trainers */
	background: url(../images/site/purple-icon.png) top left no-repeat;
}

.type_6 {
	/*  General */
	background: url(../images/site/teal-icon.png) top left no-repeat;
}

.type_7 {
	/*  Sexual Health */
	background: url(../images/site/green-icon.png) top left no-repeat;
} 

.type_8 {
	/*  Alcohol */
	background: url(../images/site/yellow-icon.png) top left no-repeat;
} 

.type_9 {
	/*  Learning Disabilities */
	background: url(../images/site/black-icon.png) top left no-repeat;
} 

.type_10 {
	/* Pregnancy */
	background: url(../images/site/lblue-icon.png) top left no-repeat;
}

.type_11 {
	/*  Health check */
	background: url(../images/site/health-check-icon.png) top left no-repeat;
}

.type_12 {
	/*  Cancer Awareness */
	background: url(../images/site/cancer-awareness-icon.png) top left no-repeat;
}

.type_13 {
	/*  Social Enterprise */
	background: url(../images/site/social-enterprise-icon.png) top left no-repeat;
}

.type_14 {
	/*  Volunteer services */
	background: url(../images/site/volunteer-services-icon.png) top left no-repeat;
}

.colour_1, .colour_1 * {
	color: #545462 !important;	
}

.colour_2, .colour_2 * {
	color: #0b5f8f !important;	
}
/* not used on this site 
.colour_3, .colour_3 * {
	color: #72b711 !important;	
}
*/
.colour_4, .colour_4 * {
	color: #ed9d63 !important;	
}

.colour_5, .colour_5 * {
	color: #a94ef6 !important;	
}

.colour_6, .colour_6 * {
	color: #01b483 !important;	
}

.colour_7, .colour_7 * {
	color: #72c711 !important;	
}
.colour_8, .colour_8 * {
	color: #d7bf3c !important;	
}

.colour_9, .colour_9 * {
	color: #1a1a1a !important;	
}

.colour_10, .colour_10 * {
	color: #66baea !important;	
}

.colour_11, .colour_11 * {
	color: #fc7513 !important;	
}

.colour_12, .colour_12 * {
	color: #f00 !important;	
}

.colour_13, .colour_13 * {
	color: #1339fc !important;	
}

.colour_14, .colour_14 * {
	color: #545462 !important;	
}
/* form styles */

.input_box {
	border: 1px #5d5e6d solid;
	padding: 4px;
}

.show_as_list {
	display: block;
	float: left;
	width: 119px;
	height: 30px;
	background-image: url(../images/site/show-as-list.png);
}

.show_as_map {
	display: block;
	float: left;
	width: 134px;
	height: 30px;
	background-image: url(../images/site/show-as-map.png);
}

.on {
	background-position: bottom left !important;
}

/* popup */

#popup {
	background-color: #0099ff; 
	color: #fff;
	position: fixed; 
	z-index: 98; 
	width: 250px;
	height: 100px;
	border: 3px #fff solid;
	visibility: hidden;
	padding: 30px;
}

#popup h2,#popup p {
	color: #fff;
}

#close {
	background: #fff; 
	position: fixed; 
	z-index: 99; 
	width: 30px;
	height: 30px;
	background: url(../images/admin/close.png) no-repeat top left;
	visibility: hidden;
	cursor: pointer;
}

#cover {
	background: #000; 
	position: fixed; 
	z-index: 97; 
	top: 0px; left:0px; 
	width: 100%;
	height: 100%;
	filter: alpha(opacity=60); 
	opacity: .3;
	visibility: hidden;
}

#popup_window {
	padding: 20px;
}

/* training */

.training_calendar {
	padding: 0;
	margin: 0;
}
.training_calendar li {
	margin: 0 0 0 20px;
	padding: 0;
	list-style: disc;
}

.training_box {
	text-align: center;
}

.training_box:nth-child(odd) {
	width: 250px;
	float: left;
	margin: 0 10px 20px 0;
}

.training_box:nth-child(even) {
	width: 250px;
	float: left;
	margin: 0 0 20px 10px;
}
/*
.training_box:last-child {
	clear: both;
	width: 250px;
	float: none;
	margin: 0 auto;
}
*/

.training_box h3 {
	margin: 0 0 20px 0;
}

.training_arrow {
	padding: 5px 0 5px 35px;
	height: 31px;
	background: url(../images/site/accordion-arrows-default.png) left center no-repeat;	
}

.accordion h3 {
	padding: 5px 35px 0 0;
	height: 31px;
	margin: 0;
	cursor: pointer;
}

.accordion h3.ui-state-default {
	background: url(../images/site/accordion-arrows-default.png) right top no-repeat;	
}

.accordion h3.ui-state-default:hover {
	background: url(../images/site/accordion-arrows-hover.png) right top no-repeat;	
}

.accordion h3.ui-state-active {
	background: url(../images/site/accordion-arrows-down.png) right top no-repeat;
}

.accordion h3.ui-state-active:hover {
	background: url(../images/site/accordion-arrows-down.png) right top no-repeat;
}

.accordion .ui-state-default, .accordion .ui-widget-content {
	border: 0px;
}

.accordion .ui-state-default .ui-icon {
	display: none;
}

.ui-widget-content {
	background: inherit !important;	
}

.ui-widget{
	font: inherit !important;
}


#accordion .ui-state-default .ui-icon {
	background: none;
}

/* sliders */
.slider_label {
	width: 300px;
	margin-bottom: 10px;
}
.slider_left {
	float: left;
	width: 150px;
}
.slider_right {
	float: right;
	width: 150px;
	text-align: right;
}
.slider_input {
	float: none;
	width: 300px;
}