/* 
Theme Name: PROMIS UK
Theme URI: http://www.promis.co.uk/
Description: Theme to integrate into the PROMIS website.
Version: 3.0.4
Author: Marcus Sykes
Author URI: http://netweblogic.com
*/

* { margin:0px; padding:0px; }
body { margin-bottom:20px; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; text-align:justify; background:url(images/template/bg.jpg) 0px 0px repeat-x #C8BC9D; }

/*General Formatting*/
	h1, h2, h3, h4{ font-family:"Century Gothic", Verdana, Arial, sans-serif; font-weight:normal; color: #666666; text-align:left; }
	h1, h2 { font-size:24px; color: #AA0000; margin:0px 0px 20px 0px; line-height:25px; }
	h3 { font-size:18px; margin:25px 0px 10px 0px; }
	h4 { font-size:16px; }
	p { margin:5px 0px 10px 0px; }
	a img {border:none;}
	a{ color:#8C4600; }
	hr { margin:25px 0px 20px 0px}
	/*#content1 ul{ list-style-image:url(images/template/effects/bullet-arrow.gif) }*/
	#content1 ul, #content ol{ margin:15px 0px 15px 25px; }
	.align-left { float:left; margin:10px 20px 10px 0px;}
	.align-right { float:right; margin:10px 0px 10px 20px;}
	.align-center { text-align:center; }
	.promis-contact {padding:30px; clear:both;}
	.promis-contact h4 {margin:0px; padding:0px; text-align:center; }
	.bold { font-weight:bold; }
	.clear { clear:both; }
	br.clear { height:1px; }
/*Wrapper*/
	.wrapper-outer { padding-bottom:10px; width:100%; max-width:1120px; margin:auto; position:relative; }
	.wrapper-inner { width:96%; max-width:1100px; padding:0px 12px; margin:0px auto; }
	#middle, #footer { position:relative; width:100%; margin:auto; }
	/*Main template area wrapper and header */
		#navigation { padding-bottom:0px; margin-bottom:0px; }
		#navigation .wrapper-inner { background-color:#FFFFFF; position:relative; height:110px; }
		/* Copyright link*/ 
			#rehab-copyright { position:absolute; right:15px; top:5px; text-decoration:none; color:#cdcdcd; font-size:10px; }
		/*Promis Logo*/
			#logo { position:absolute; top:7px; left:10px; }
			#logo img.mobile { display:none; }
		/* Social Media */
			ul#social_icons, ul#social_icons li { margin:0; padding:0; list-style-type:none }
			ul#social_icons { position:fixed; left:12px; top:50px; }
			ul#social_icons li a { display:block; text-indent:-9999px; background:left bottom url(images/sprite_btn_social.png) no-repeat; width:32px; height:32px; margin-bottom:12px; cursor:pointer; }		
			ul#social_icons li a#btn_rss { background-position:-64px bottom; }
			ul#social_icons li a#btn_twitter { background-position:-32px bottom; }
			ul#social_icons li a#btn_google { background-position:-96px bottom; }
			ul#social_icons li a#btn_facebook:hover { background-position:left top; }
			ul#social_icons li a#btn_rss:hover { background-position:-64px top; }
			ul#social_icons li a#btn_twitter:hover { background-position:-32px top; }
			ul#social_icons li a#btn_google:hover { background-position:-96px top; }
	/*Header*/
		/* Image Navigation Menu */
			.image-menu { width:100%; max-width:1075px; margin:0px auto; clear:both; height:210px; }
			/* Tooltip */
				.tool-tip { font-size: 11px; color: #666666; width: 294px; z-index: 13000; top: 80px; right: 185px; position:absolute; visibility:hidden; display:none; }
				.tip-top { height:20px; background: url(images/template/effects/bubble.png) top left; }
				.tip-title { font-weight: bold; margin: 0; color: #AA1224; padding: 0px 18px 4px; }
				.tool-tip .tip { background: url(images/template/effects/bubble.png) bottom right; }
				.tip-text { padding: 8px 58px 18px 18px; }
			/*Image Menu Area*/
				.imageMenuWrapper {	width:100%; max-width: 901px; border: 1px solid #C6A982; float:left; margin-bottom:30px; }
				/* ImageMenu */
					.image-menu .imageMenu { width:100%; max-width: 900px; margin:1px; height: 210px; overflow: hidden; }					
					.image-menu .imageMenu ul { list-style: none; display: block; width: 2120px; margin:0px; }
					.image-menu .imageMenu ul li { float: left; }
					.image-menu .imageMenu ul li a { text-indent: -1000px; background:#FFFFFF none repeat scroll 0%; border-right: 2px solid #ffffff; display:block; overflow:hidden; width:148px; height: 210px; } /* 6 = 148px ; 5 = 178px */
				/*Default Menu Images*/
					/* Residential */
					#imageMenu ul li.residential a { background: url(images/template/imageMenu/image-menu-residential.jpg) no-repeat scroll 0%; }
					#imageMenu ul li.residential a:hover, #imageMenu ul li.no11 a.imhover { background: url(images/template/imageMenu/image-menu-residential-big.jpg) no-repeat scroll 0%; }
					/* Kent */
					#imageMenu ul li.kent a { background: url(images/template/imageMenu/image-menu-kent.jpg) no-repeat scroll 0%; }
					#imageMenu ul li.kent a:hover, #imageMenu ul li.kent a.imhover { background: url(images/template/imageMenu/image-menu-kent-big.jpg) no-repeat scroll 0%; }
					/* London */
					#imageMenu ul li.london a { background: url(images/template/imageMenu/image-menu-london.jpg) no-repeat scroll 0%; }
					#imageMenu ul li.london a:hover, #imageMenu ul li.london a.imhover { background: url(images/template/imageMenu/image-menu-london-big.jpg) no-repeat scroll 0%; }
					/* Family */
					#imageMenu ul li.family a { background: url(images/template/imageMenu/image-menu-family.jpg) no-repeat scroll 0%; }
					#imageMenu ul li.family a:hover, #imageMenu ul li.family a.imhover { background: url(images/template/imageMenu/image-menu-family-big.jpg) no-repeat scroll 0%; }
					/* Detox */				
					#imageMenu ul li.detox a { background: url(images/template/imageMenu/image-menu-detox.jpg) no-repeat scroll 0%; }
					#imageMenu ul li.detox a:hover, #imageMenu ul li.detox a.imhover { background: url(images/template/imageMenu/image-menu-detox-big.jpg) no-repeat scroll 0%; }
					/* No11 */
					#imageMenu ul li.no11 a { background: url(images/template/imageMenu/image-menu-no11.jpg) no-repeat scroll 0%; }
					#imageMenu ul li.no11 a:hover, #imageMenu ul li.no11 a.imhover { background: url(images/template/imageMenu/image-menu-no11-big.jpg) no-repeat scroll 0%; }
					/* Therapy */
					#imageMenu ul li.therapy a { background: url(images/template/imageMenu/image-menu-therapy.jpg) no-repeat scroll 0%; }
					#imageMenu ul li.therapy a:hover, #imageMenu ul li.therapy a.imhover { background: url(images/template/imageMenu/image-menu-therapy-big.jpg) no-repeat scroll 0%; }
				/* Featured Image */
					#imageMenuImage{ margin:1px; height:210px; overflow:hidden; }
					#imageMenuImage .title-bg{ height:40px; width:100%; margin-top:170px; background:url(images/template/effects/title-bgs/232307.png) 0px 0px repeat; }
					#imageMenuImage h2{ margin-left:10px; font-size:30px; color:#FFFFFF; line-height:32900px; }
				/*Image Menu Contact Buttons*/
					#imageMenuButtons { background:#F7F3F0; float:right; border: 1px solid #C6A982; position:relative; width:168px; }
					#imageMenuButtons #topQuote { position:absolute; right:-10px; top:-10px; width:38px; height:31px; background:url(images/template/imageMenu/quotes-top.png) 0px 0px no-repeat; }
					#imageMenuButtons #bottomQuote { position:absolute; left:-10px; bottom:-12px; width:42px; height:36px; background:url(images/template/imageMenu/quotes-bottom.png) 0px 0px no-repeat; }
					#imageMenuButtons div {height:70px;}
					#imageMenuButtons div a { font-size:0px;}
					#imageMenuButtons div:first-child a img { border-top:none	}

		/*Content Area*/
			#site.wrapper-outer { background:url(images/template/bg_wrapper.jpg) repeat-x; background-position:bottom; }
			#site .wrapper-inner { background-color:#FFFFFF; }
			#site .wrapper-inner.content { margin-top:-10px; }
			#content, #site #footer_line{ clear:both; width:100%; margin:auto; }
			#content{ line-height:15px; color:#444444; }
			#content div.half { width:48%; padding:1%; float:left; margin-bottom:20px; }
			#content .gallery-row { margin:auto; }
			/* video */
			#content .video { width:100%; max-width:640px; max-height:360px; }
			#content .video.video-small { width:100%; max-width:300px; max-height:240px; }
			/* WP Content Stuff */
				/* Begin Typography & Colors */
				#content .left a{ text-decoration:none; }
				#content .left h2 a{ color:#AA1224; }
				.alt { background-color: #f8f8f8; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
				small { font-size: 10px; color:#999999; }
				.commentlist li, #commentform input, #commentform textarea { font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif; }
				code { font: 1.1em 'Courier New', Courier, Fixed; }
				acronym, abbr, span.caps { font-size: 0.9em; letter-spacing: .07em; }
				/* End Typography & Colors */
				
				/* Begin Post Stuff */
					.navigation { display: block; text-align: center; margin-bottom: 50px; font-size:12px; color:#AAAAAA; }
					.navigation a { color:#AAAAAA; }
					.post { margin: 10px 0px 50px 10px; text-align: justify; }
					#content .post a { color:#CC6600 }
					#content .postmetadata a { color:#000033; text-decoration:underline; }
					#content .alt a { color:#666666; text-decoration:underline; }
					.alt { background-color: #f8f8f8; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
					.left .postmetadata { margin: 30px 0; }
					.postmetadata { clear: left; }
					.postmetadata ul, .postmetadata li { display: inline; list-style-type: none; list-style-image: none; }
					
					.smallattachment { text-align: center; float: left; width: 128px; margin: 5px 5px 5px 0px; }
					.left .attachment { text-align: center; margin: 5px 0px; }
				/* End Post Stuff */
				
				/* Begin Images */
				p img { padding: 0; max-width: 100%; }
				img.centered { display: block; margin-left: auto; margin-right: auto; }
				img.alignright { padding: 4px; margin: 0 0 2px 7px; display: inline; }
				img.alignleft { padding: 4px; margin: 0 7px 2px 0; display: inline; }
				.alignright { float: right; }
				.alignleft { float: left }
				/* End Images */
				
				/* Begin Lists
					Special stylized non-IE bullets
					Do not work in Internet Explorer, which merely default to normal bullets. */
				html>body .entry ul { margin-left: 0px; padding: 0 0 0 30px; padding-left: 10px; text-indent: 0px; } 
				html>body .entry li { margin: 7px 0 8px 10px; padding-left: 10px; }
				.right ul ul li:before { content: "\00BB \0020"; }
				.entry ol { padding: 0 0 0 35px; margin: 0; }
				.entry ol li { margin: 0; padding: 0; }
				#content .right ul { list-style:none; }
				#content .right ul { padding: 0; }
				.right ul li { margin-bottom: 20px; }
				.right ul p, .right ul select { margin: 5px 0 8px; }
				#content .right ul ul, .right ul ol { margin: 5px 0 0 10px; }
				.right ul ul ul, .right ul ol { margin: 0 0 0 10px; }
				ol li, .right ul ol li { list-style: decimal outside; }
				.right ul ul li, .right ul ol li { margin: 3px 0 0; padding: 0; }
				/* End Entry Lists */
				
				/* Begin Form Elements */
				#search { margin-bottom:10px;}
				#searchform { 	font-size:12px; }
				#searchform input{ font-size:12px; padding:1px; }
				.right #searchform #s { width: 90px; padding:0px; font-size:14px; }
				
				/* This is mainly for password protected posts, makes them look better. */
				/*.entry form { text-align:center; }*/
				select { width: 130px; }
				/* End Form Elements */
				
				/* Begin Comments*/
				.commentlist li { font-weight: bold; }
				.commentlist cite, .commentlist cite a { font-weight: bold; font-style: normal; font-size: 1.1em; }
				.commentlist p { font-weight: normal; line-height: 1.5em; text-transform: none; }
				#commentform p { font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; }
				.commentmetadata { font-weight: normal; }
				#commentform input { width: 170px; padding: 2px; margin: 5px 5px 1px 0; }
				#commentform textarea { width: 100%; padding: 2px; }
				#commentform #submit { margin: 0; float: right; }
				.alt { margin: 0; padding: 10px; }
				.commentlist { padding: 0; text-align: justify; }
				.commentlist li { margin: 15px 0 3px; padding: 5px 10px 3px; list-style: none; }
				.commentlist p { margin: 10px 5px 10px 0; }
				#commentform p { margin: 5px 0; }
				.nocomments { text-align: center; margin: 0; padding: 0; }
				.commentmetadata { margin: 0; display: block; }
				/* End Comments */
				
				/* Begin Various Tags & Classes */
				acronym, abbr, span.caps { cursor: help; }
				acronym, abbr { border-bottom: 1px dashed #999; }
				blockquote { margin: 15px 30px 0 10px; padding-left: 20px; border-left: 5px solid #ddd; }
				blockquote cite { margin: 5px 0 0; display: block; }
				.center { text-align: center; }
				hr { display: none; }
				a img { border: none; }
				/* End Various Tags & Classes*/
					
			/*Both Boxes*/
				.left, .right { border-top:2px solid #ECDCC9; margin-top:10px; padding-top:20px; }			
				.left .box, .right .box{ background:none; margin:0px 0px 10px 0px; }
				#content1 .moreinfo { display:block; text-align:right; text-decoration:none; }
			/*Left Side*/
				.left, #footer_line .left { float:left; width:78%; }
				/*Standard Box*/
					.left .box h2 span { color:#AA1224; }
					.left .box{ margin-top:20px; border-top:2px solid #ECDCC9; padding-top:20px; }
			/*Right Side*/
				.right { text-align:left; }
				.right, #footer_line .right { float:right; width:165px;}
				/*Search Form*/
					#sitesearch { border:1px solid #CCCCCC; height:20px; margin-bottom:10px; }
					#sitesearch input { border:medium none; color:#999999; float:left; padding:2px; text-align:left; width:140px; }
					#sitesearch img { padding:2px 2px 0px; float:right; }				
				/*Standard Box*/
					.right h2 { font-size:18px; }
					.right .box h2 span { color:#6B5042; }
					.right .box img { margin:5px 0px 5px 0px; }
					.right div { margin-bottom:10px;}
			/*Contact Button*/
				#contact { padding-top:10px; margin-bottom:0px; }
				#contact img {					
					padding:1px 0px 1px 1px; }					
			/*Footer*/
				#base_line { margin-top:0px; padding:0px; padding-bottom:0px; font-size:3px; margin-top:30px;}
				#base_line div {height:3px; background-color:#CCCCCC; line-height:3px; padding:0px;}
				#base { padding:15px 10px; clear:both; color:#CCCCCC; text-align:center; font-size:12px; }
		/*Bottom of Page*/
			#footer { color:#CCCCCC; font-size:12px; margin-top:10px; }
			#footer-middle { float:left; text-align:center; padding:0px; width:33%; }
			#footer-right { float:left; text-align:right; padding:0px; width:33%; }
			#footer-left { float:left; text-align:left; width:33%; }
			/*Links Part*/
				#footer, #footer a{ color:#EEEEEE; text-decoration:none; }
				#footer #menu-footer ul{ clear:both; }
				#footer #menu-footer li{ list-style:none; margin-bottom:3px; float:left; clear:none; padding:0px 8px 0px 8px; border-left:1px solid #FFFFFF; }
				#footer #menu-footer li:first-child{ border-left:none; }
				#footer #menu-footer > li{ clear:left; border-left:none; }
				#footer #menu-footer > li > a{ font-weight:bold; }
				#footer #menu-footer .sub-menu { clear:left; margin:10px 25px 0px 10px; }
				
				#footer .authorLink { text-align:center ; clear:both; }
				#footer .authorLink a { color:#DDDDDD; text-decoration:none ; }
				
/*Help Box*/
	#overlay { 
		background-color:#666666; height:100%; left:0px; opacity:.75; position:fixed; 
		top:0px; width:100%; z-index:100; display:none; }
	#overlay_window { 
		background-color:#F7F4EF; color:#FFFFFF; left:50%; top:50%; 
		opacity:.9; position:fixed; text-align:left; z-index:102; margin-left: -375px; width: 750px; margin-top: -200px; height:400px; display: none; }
	#overlay_content .title { width:auto; margin:20px 0px 10px 20px; font-size:18px;}
	#overlay_content .content { 
		margin:20px 20px 5px 20px; padding:10px 15px 10px 15px; background-color:#EEE8DD; color:#666666; 
		width:auto; height:280px; overflow:auto; text-align:justify 
	}
	a#overlay_close { display:block; cursor:pointer; text-align:right; margin:0px 20px 0px 20px;}
	a#overlay_close { 
		font-family:"Century Gothic", Verdana, Arial, sans-serif; color: #666666; text-decoration:none; font-size:16px; }
	.ajax-loading { width:48; height:48px; background: url('images/template/effects/loading-help.gif') 320px 100px no-repeat; }
	
/* Newsletter Subscription */
	font.required { display:none; }
	div.missing { color:#900; }
	
/*Boxes - This works for all boxes on each side of the content area*/
	.box_clear h2, .box_color_1 h2, .box_color_2 h2, .box_color_3 h2, .box h2, .infobox h2 { color: #666666; margin:0px 0px 10px 0px; width:100%; }
	.box_color_1 h2 span, .box_color_2 h2 span, .box_color_3 h2 span, .infobox h2 span { color:#6B5042; }
	.box_color_1 h2 a, .box_color_2 h2 a, .box_color_3 h2 a, .infobox h2 a { color:#AA0000; }
	.box_clear h3, .box_color_1 h3, .box_color_2 h3, .box_color_3 h3, .infobox h3, .box h3 { margin:0px 0px 10px 0px; }
	.box_color_1, .box_color_2, .box_color_3, .infobox { color: #666666; font-size:12px; border-top:1px dotted #6B5042; border-bottom:1px dotted #6B5042; margin:10px 0px 10px 0px; padding:20px 10px 20px 10px; line-height:16px; }	
	.box_color_1 a, .box_color_2 a, .box_color_3 a, .infobox a { color:#E67300; display:block; text-align:right; text-decoration:none; }					
	.box_clear img, .box_color_1 img, .box_color_2 img, .box_color_3 img .infobox img { margin:10px 0px 10px 0px; }	
	
	/*Clear Box*/
		.box_clear h2 { border-bottom:1px solid #999999; margin-bottom:10px; padding:0px 0px 5px 10px; font-weight:normal; }
		.box_clear h2 span{ color:#AA1224; }
		.box_clear { font-size:14px; color:#4A5059; margin:10px 0px 10px 0px; }
		.box_clear p { padding:10px; }
		
	/*Box Color 1 (pale green one)*/
		.box_color_1 { background:url(images/template/effects/box1_bg.png) 10px 10px no-repeat #EEEEE2; }
		.box_color_1 div { background:url(images/template/effects/box1_div_bg.png); padding:10px; }
		
	/*Box Color 2 (pale blue one)*/
		.box_color_2 { background:url(images/template/effects/box2_bg.png) 10px 10px no-repeat #EEEFF1; }
		.box_color_2 div { background:url(images/template/effects/box2_div_bg.png); padding:10px; }
		
	/*Box Color 2 (pale blue one)*/
		.box_color_3 { background:url(images/template/effects/box3_bg.png) 10px 10px no-repeat #F9F7D9; }	
		.box_color_3 > div { padding:10px; }	
		
	/*Info box (Based on box 3)*/
		.infobox { width:180px; margin:0px 0px 10px 20px; padding-bottom:10px; text-align:left; font-size:11px; float:right; background:url(images/template/effects/box3_bg.png) 10px 10px no-repeat #F9F7D9; }
		.infobox ul li { margin-top:5px; list-style-type:none; }
		.infobox ul li:before { content: "\00BB \0020"; }		
		.infobox h3 {font-size:14px;}
		.infobox h4 {font-size:13px; margin-bottom:5px; padding-bottom:0px;}
		.infobox div {padding-top:0px;}
		.infobox a {display:inline; text-align:left;}
			
/*Staff Pages*/
	#staff {margin-left:0px;}
	#staff h2 { color:#990000; padding-bottom:5px; border-bottom:1px solid #990000; text-align:right; }
	#staff .staffmember { clear:both; margin-bottom:30px; min-height:150px; }
	#staff .staffmember h3 { font-size:16px; color:#333333; }
	#staff .staffmember h4 { font-size:14px; margin-bottom:10px
	}
	#staff .staffmember img { float:left; 
		margin:0px 10px 20px 0px; 
		/*height:100px; 
		width:75px;*/
	}
	#staff .staffmember p { margin-left:115px; }
	
	#staff div { padding-bottom:15px; } 

/* EM */
.em-wrap .em-events-list .em-event-info h3.em-event-title { font-size:29px; line-height:31px; margin-bottom:20px; }
.em-wrap .em-events-list p.em-event-desc { font-size:16px; margin:20px 0px; }
#content a.em-event-button { color:#fff; }	
/* END EM */

/* Books CSS */
.single-book .book-cover { margin:0px 15px 15px 0px; float:left; }
.single-book table * { vertical-align:top; }
.single-book th { padding-right:5px; }
						
.books .book { width: 320px; float:left; margin:20px 10px; text-align:center; }
.books .book h3 { font-size: 15px; }

/* Testimonials */
.testimonials { width:100%; font-size:16px; line-height:20px; font-family:Georgia, "Times New Roman", Times, serif; margin-top:20px; }
.testimonials .testimonial { -webkit-box-shadow: 0px 0px 10px 0px rgba(63, 47, 86, 0.5); -moz-box-shadow: 0px 0px 5px 0px rgba(63, 47, 86, 0.5); box-shadow: 0px 0px 5px 0px rgba(63, 47, 86, 0.5); background:#fff; }
.testimonials .testimonial { padding:5px; margin:0px 5px 25px; color:#6B5042; }
.testimonial-wrap { background: #F7F4EF; padding:20px; font-style:italic; }
.testimonial-quote { margin:20px; padding:20px 0px; } 
.testimonial-quote, .testimonial-cite { background: url(images/template/fancy-divider-seperator-html.png) 50% 0px no-repeat; margin:0px; }
.testimonial-cite { background-position:bottom;  padding-bottom:25px; text-align:center; font-weight:bold; } 
.testimonials .testimonial-image { line-height:0px; }
.testimonials .testimonial-image img { width:100%; }

/* Mailchimp signup form */
.mc_form_inside { text-align:left !important; margin-top:10px; }
.mc_var_label { font-size:12px; display:block; font-style:italic; }
.mc_merge_var { margin-bottom:5px; }
.mc_merge_var input { width:97%; padding:3px; margin:2px 0px 5px; }
#mc-indicates-required { font-style:italic; font-size:10px; margin-top:-5px; }
#mc_signup_submit, .mc_signup_submit, #mc_unsub_link { text-align:left !important; }
#mc_signup_submit { padding:3px; }
#mc_unsub_link { font-size:10px; font-style:italic; color:#666; }

/* NextGen */
.ngg-slideshow { margin:auto; }
.ngg-galleryoverview { margin: 10px auto; width: 600px; }

.wrapper-sticky, #contact-floater { display:none; height:0px; }
#footer-floater { position:fixed; bottom:0px;  display:none; width:100%; text-align:center; background:#F7F3F0; border-bottom: 1px solid #77635A; border-top: 1px solid #77635A; color:#77635A; z-index:1000; padding:8px 0px; text-decoration:none; }

/* revslider */
.responsive-row .rev_slider_wrapper, .rev_slider_wrapper ul { padding:0 !important; margin:0 !important; }
#content .tp-leftarrow.default { background: url(/wp-content/themes/promis/images/revslider/button-left.png) no-repeat top left !important; width:25px; height:50px; }
#content .tp-rightarrow.default { background: url(/wp-content/themes/promis/images/revslider/button-right.png) no-repeat top left !important; width:25px; height:50px; }
#content .tp-leftarrow:hover, #content .tp-rightarrow:hover { background-position:bottom left !important; }

/* Social Icons */
@media all and (max-width: 1201px) {
	ul#social_icons { display:none !important; }
}
/* FlexNav */
@media all and (min-width: 901px) { /* Normal Nav */
	.menu-button { display:none; }
	#nav-wrap { position: absolute; top:50px; right:15px; font-family:"Century Gothic", Verdana, Arial, sans-serif; float:right; z-index:1000; }	
	#nav ul > li:hover{ background:#FF0000; }
	#nav > li{ float:left; width:130px; margin-left:25px; border-top:1px solid #7A0404; }				
	/*Title links, must negate #nav ul li a rule lower down for browser compatability*/
	#nav li a, #nav li a:hover{ color:#666666; font-size:16px; border:none; background:none; text-align:left; position:absolute; padding:0px; margin:0px; }
					
	/*Navigation Bar CSS*/
		#nav, #nav ul { list-style: none; } /* all lists */
		/* also negates Title links clause*/
		#nav a, #nav ul li a, #nav ul li a:hover { font-size:12px; text-decoration:none; text-align:left; display: block; width:118px; padding:2px 5px 2px 5px; margin:0px; background: #FFFFFF; color:#896C66; border-bottom:1px solid #E3E3E3; opacity:0.95; position:relative; }
		/* Current bit adds borders to the parts that will be treated as 'down by javascript' on the top submenu, so events are correctly fired*/
		#nav ul { border:none; border-bottom:1px solid #DCCAB2; }
		#nav ul li a, #nav ul li a:hover { border-left:1px solid #DCCAB2; border-right:1px solid #DCCAB2; }
		#nav ul li li a { border-left:none; border-right:none; }
		#nav ul ul { border:1px solid #DCCAB2; }
		#nav li li{ background-color:#FFFFFF; margin:0px; }
		/* second-level lists */
		#nav li ul{
			position: absolute; width:128px; left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
			border-top:none; z-index:100; background:#FFFFFF; }
		/* third-and-above-level lists */
		#nav li ul ul { margin: -22px 0 0 129px; border:1px solid #DCCAB2; }
		/*Hover actiosn*/
			#nav li:hover > ul, #nav .sfHover { left: auto; background:#FF0000; }
			#nav li:hover { position:static; }
			#nav a:hover { background-color:#EAE7E2; color:#94908D; }
			#nav > li:hover > div, #nav .soasftitle{ color:#94908D; }
}
@media all and (max-width: 900px) { /* Mobile Navigation */
	ul#social_icons { display:none; }
	#site { padding:0 !important; margin:0 !important; background:#fff !important; width:100%; }
	.wrapper-inner { padding:0px !important; margin:0 auto !important; width:94%; }
	#site .wrapper-inner { padding-top:20px !important; }
	
	#navigation, #navigation .wrapper-inner { margin:0; padding:0; width:100%; height:auto; }
	#navigation, #navigation .wrapper-inner {
		background: #bfb18e; /* Old browsers */
		background: -moz-linear-gradient(top,  #bfb18e 0%, #c8bc9d 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bfb18e), color-stop(100%,#c8bc9d)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #bfb18e 0%,#c8bc9d 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #bfb18e 0%,#c8bc9d 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #bfb18e 0%,#c8bc9d 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #bfb18e 0%,#c8bc9d 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfb18e', endColorstr='#c8bc9d',GradientType=0 ); /* IE6-9 */	
	}
	#navigation #logo img.desktop, #navigation #rehab-copyright { display:none; }
	#navigation #logo img.mobile { display:inline-block; }
	#navigation #logo { display:block; position:absolute; top:5px; left:5px; }
	/* 
	Colors darkest to lightest
	#948A70 - Top Menu Selected
	#AA9F83 - Top Menu Default
	#C8BC9D - Menu default BG
	#B1A986 - 1st Sub Menu with Submenu selected
	#C9C2A3 - 1st Sub menu with Submenu
	#DFDAC4 - 1st Sub Menu default
	#F6F4E8 - 2nd sub menu with submenu
	#
	*/
	#nav { background-color: #AA9F83; }
	#nav li a { color:#444; text-decoration:none; border-bottom:1px solid #867E68; }
	#nav li a.link-with-ul { border-right: 1px solid #867E68; }
	#nav li a:hover { color: #000; }
	#nav li.selected > a { font-weight:bold; }
	/* top level */
	#nav .sub-menu { background-color:#DFDAC4; }
	#nav .item-with-ul.selected {	background-color: #948A70; background-image: url('images/arrow-up.png'); }
	#nav > li > a { color:#fff; }
	#nav > li > a:hover { color:#fff; }
	#nav li.selected > a { color:#fff; }
	/* sub menus */
	#nav .sub-menu a { padding-left:15px !important; }
	#nav .sub-menu .item-with-ul { background-image: url('images/arrow-down-dark.png'); }
	#nav .sub-menu .item-with-ul.selected { background-color: #C9C2A3; background-image: url('images/arrow-up-dark.png'); }
	/* nested sub menus */
	#nav .sub-menu .sub-menu a { padding-left:20px !important; }
	#nav .sub-menu .item-with-ul li { background-color:#F6F4E8;  }
	#nav .sub-menu .item-with-ul li a { text-transform: none;	}	
	#nav .sub-menu .item-with-ul .item-with-ul { background-color:#F6F4E8; }
	#nav .sub-menu .item-with-ul .item-with-ul.selected > a { color:#444; }
	/* nested sub sub menus */
	#nav .sub-menu .sub-menu .sub-menu a { padding-left:25px !important; }
	#nav .sub-menu .item-with-ul .item-with-ul li,
	#nav .sub-menu .item-with-ul .item-with-ul .item-with-ul { background-color:#fff; }
	
	#nav-wrap { clear:both; width:auto; margin:auto; padding-top:5px; }
	#nav, #nav ul { margin:0; padding:0; }
	#nav { margin: 0 auto; width: 100%; }
	.flexNav-touch #nav, .flexNav-no-touch #nav { display: none; }
	
	#nav:after { /* clearfix */ visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
	#nav li { position: relative; list-style: none; display: block; width: 100%; }
	#nav li a { display: block; text-transform: uppercase;	}	
	
	#nav .top-level a { position: relative; display: block; padding: 10px; z-index: 2; }
	#nav li ul { width: 100%; position: relative; border-bottom: 1px solid #333; }
	#nav li ul li { float: none; width: 100%; }
	#nav li ul li a { display: block; border-bottom:1px solid #444; }
	#nav .item-with-ul { background-image: url('images/arrow-down.png'); background-repeat: no-repeat; background-position: 96.5% 12px; }
	
	/*.menu-button { clear:both; display: block; padding: 10px; color: #fff; background: url('images/arrow-down.png') #333 93% 13px no-repeat; cursor: pointer; border-top: 1px solid #222; border-bottom: 1px solid #111; }*/
	.menu-button { width:25px; padding:2px; float:right; margin:8px 10px 8px 8px; cursor:pointer; text-align:center; }
	.menu-button span { display:block; height:4px; background-color:#fff; margin:6px auto 0px; width:25px; text-align:center; }
	
	.sub-menu { display: none; }
	.sub-menu.open { display: block; }
}
@media all and (max-width: 900px) {
	.left, #footer_line .left { width:75%; }
}
@media all and (max-width: 800px) {
	.post { margin:10px 0px; }
	#content .right, #content .left { max-width:100% !important; width:100% !important; float:none !important; }
	#base_line .right { display:none; }
	#base_line .left { width:100%; max-width:100%; }
	/* sidebar */
	#content .right.sidebar-pages > div { width:23%; margin:1%; float:left; }
	#content .right.sidebar-pages > div.widget_search { width:100% !important; margin:0px;  }
	#content .right.sidebar-pages div.box_color_2 { margin:0px; }
}
@media all and (max-width:700px) {
	#content div.half { width:100%; padding:0px; float:none; }
}
@media all and (max-width:650px) {
	/* sidebar */
	#content .right.sidebar-pages > div { width:30%; margin:10px 10%; float:left; }
	#content .right.sidebar-pages > div:nth-child(4), #content .right.sidebar-pages > div:nth-child(6) { clear:both; }
	/* video */
	.video { float:none; margin:10px auto 20px; }
	
}
@media all and (max-width: 580px) {
	#footer #footer-left, #base, #base_line { display:none; }
	#footer-middle, #footer-right { width: 50%; }
	#footer-middle { text-align:left; }
}
@media all and (max-width:530px) {
	/* Floating contact details */
	body.sticky-floater { margin-top:55px; }
	body.sticky-floater #navigation { display:none; }
	.wrapper-sticky { display:block; line-height:0px; }
	#imageMenuButtons { display:none; }
	#contact-floater { display:block; height:45px; width:100%; text-align:center; background:#f2eadc; border-bottom: 1px solid #77635A; border-top: 1px solid #77635A; color:#77635A; z-index:1000; padding:8px 0px; text-decoration:none;
		background: #f2eadc; /* Old browsers */ background: -moz-linear-gradient(top,  #f2eadc 0%, #efece6 100%); /* FF3.6+ */		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2eadc), color-stop(100%,#efece6)); /* Chrome,Safari4+ */		background: -webkit-linear-gradient(top,  #f2eadc 0%,#efece6 100%); /* Chrome10+,Safari5.1+ */		background: -o-linear-gradient(top,  #f2eadc 0%,#efece6 100%); /* Opera 11.10+ */		background: -ms-linear-gradient(top,  #f2eadc 0%,#efece6 100%); /* IE10+ */		background: linear-gradient(to bottom,  #f2eadc 0%,#efece6 100%); /* W3C */		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2eadc', endColorstr='#efece6',GradientType=0 ); /* IE6-9 */ }
	#footer-floater { display:none; }
	
	.call-to-action { display:block; line-height:14px; margin:0 0 5px; padding:0; font-size:12px; font-style:italic; }
	.call-to-action-min { display:none; }
	#contact-floater { font-size:16px; line-height:30px; }
	
	/* Video */
}
@media all and (max-width:500px) {
	/* sidebar */
	#content .right.sidebar-pages > div { width:100%; margin:10px auto; float:none; text-align:center; }	
}
@media all and (max-width: 245px) {
	body.sticky-floater { margin-top:65px; }
	#contact-floater { height:55px; }
	.call-to-action, .call-to-action-2 { display:none; }
	.call-to-action-min { display:inline; }
}
@media all and (max-width: 335px) {
	#footer-middle, #footer-right { width: 100%; text-align:center; }
	#footer-middle { border-bottom: 1px solid #948A70; padding-bottom:10px; margin-bottom:10px; }
}

/* ET Shortcodes Hack */
.et-tabs-container ul.et_shortcodes_mobile_nav li {
    padding:0; margin:0px;
}
@media all and ( max-width: 767px ) {
	.et_shortcodes_mobile_nav { display:none !important; }
	.tabs-left .et-tabs-control, .et-tabs-container .et-tabs-control { display: block !important; }
	.et-tabs-container .et-tabs-control li { float:none !important; }
}