/*****************************************************************
	Description: Master stylesheet for EWR
	Author: 420 Design - fourtwentydesign.org
	Version: 2008 May
*****************************************************************/

/*	Global
-------------------------------------------------------------------*/

html,
body { height: 100%; }

body {
	margin: 0;
	padding: 0;
	background: #fff url(http://www.eastwestrehab.net/images/bg_body.jpg) repeat-x left top;
	text-align: center;
	font: small/1.9em Arial, Helvetica, sans-serif;
	color: #383e43;
}

#wrapper {
	margin: 0 auto;
	padding: 0;
	width: 820px;
	text-align: left;
	position: relative;
	min-height: 100%;
}

* html #wrapper { height: 100%; }

img { border: 0; }

.clear {
	clear: both;
	height: 1px;
	overflow: hidden;
	margin-top: -1px;
}

p.skip { display: none; }

img.photo_strip {
/*	border: 1px solid #999;*/
	margin: 0 auto;
	padding: 0;
	display: block;
	clear: both;
}

p#breadcrumb {
	line-height: 1em;
	margin: 20px 29px 0 29px;
	padding: 0;
	color: #828282;
	font-size: 80%;
	font-style: italic;
}

p#breadcrumb a {
	color: #828282;
}

p#breadcrumb a:hover {
	color: #8accee;
}

p.pagination {
	font-size: 80%;
	border-top: 1px solid #e0e9ed;
	margin-top: 4em;
	color: #827e8b;
}


/*	Masthead
-------------------------------------------------------------------*/
#masthead {
	margin: 0;
	padding: 50px 0 0 0;
	background: #fff url(http://www.eastwestrehab.org/images/bg_masthead.jpg) no-repeat right 50px;
}
#masthead h1 {
	width: 400px;
	height: 89px;
	display: block;
	background: transparent url(http://www.eastwestrehab.org/images/ewr_logo.jpg) no-repeat;
}

#masthead h1 a {
	width: 400px;
	height: 89px;
	display: block;
}

#masthead h1 span {
	display: block;
	text-indent: -9999em;
}


/*	navigation
-------------------------------------------------------------------*/
ul#nav {
	margin: 0;
	padding: 0 0 1.4% 0;
	width: 100%;
	float: right;
	text-align: right;
	list-style: none;
	display: block;
	background: transparent url(http://www.eastwestrehab.org/images/nav_bg.png) no-repeat center bottom;
}

ul#nav li {
	float: right;
	background: url(http://www.eastwestrehab.net/images/nav_normalR.gif) no-repeat right top;
	margin: 0 2px 0 0;
	padding: 0;
}

ul#nav a {
	display: block;
	background: url(http://www.eastwestrehab.net/images/nav_normalL.gif) no-repeat left top;
	padding: 8px 0 0 0;
	color: #fff;
	font-weight: bold;
	font-size: 90%;
	text-decoration: none;
}

ul#nav a:hover {
	color: #6d3e8f;
}

ul#nav li.active {
	background: transparent url(http://www.eastwestrehab.net/images/nav_activeR.gif) no-repeat right top;
}

ul#nav li.active a {
	background: url(http://www.eastwestrehab.net/images/nav_activeL.gif) no-repeat left top;
}

ul#nav span {
	display: block;
	padding: 0 20px 6px 20px;
	background: transparent url(http://www.eastwestrehab.org/images/nav_shadow.png) repeat-x left bottom;
}

ul#nav li#last {
	margin-right: 10px;
}



/*	Shadow container
-------------------------------------------------------------------*/
#shadow_container {
	margin: 0;
	padding: 0 0 200px 0;
	background: url(http://www.eastwestrehab.org/images/bg_container_shadow.png) no-repeat center top;
	clear: both;
}



/*	Main column
-------------------------------------------------------------------*/
#main_column {
	float: left;
	width: 470px;
	margin: 15px 0 0 29px;
	padding: 0;
}



/*	Sidebar
-------------------------------------------------------------------*/
#sidebar {
	float: left;
	width: 255px;
	margin: 15px 0 0 35px;
}




/*	Footer
-------------------------------------------------------------------*/
#footer_wrapper {
	margin: -187px 0 0 0;
	padding: 0;
	position: relative;
	height: 187px;
	background: url(http://www.eastwestrehab.org/images/bg_footer_wrapper.jpg) repeat-x left top;
	font-size: 90%;
}

#footer {
	margin: 0;
	padding: 110px 0 0 0;
}

#footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

#footer ul li {
	display: inline;
	padding: 0 5px 0 7px;
	border-left: 1px solid #4b5457;
	color: #4b5457;
}

#footer ul li.first {
	border: 0;
}

#footer ul li a { 
	color: #4b5457;
	text-decoration: none;
}

#footer ul li a:hover {
	color: #2183cb;
}

#footer p {
	color: #777e81;
}

#footer p a {
	color: #a6abad;
	text-decoration: none;
}

#footer p a:hover {
	text-decoration: underline;
}



/*	Headers
-------------------------------------------------------------------*/
h1 {
	color: #2183cb;
	font-weight: normal;
}

h2 {
	font-size: 160%;
	color: #57af4c;
	font-weight: normal;
	line-height: 1.2em;
	margin-bottom: .4em;
}

h3 {
	font-size: 135%;
	color: #004b8e;
}

h3.resource_category {
	margin: 1.5em 0 .3em 0;
}

h3.tagname {
	text-transform: capitalize;
}

h4 {
	font-size: 120%;
	color: #8d6daa;
}

h5 {
	font-size: 115%;
	color: #89be2e;
}

h6 {
	font-size: 105%;
	color: #686868;
}




/*	Typography + links
-------------------------------------------------------------------*/
blockquote {
	border-left: 4px solid #ccdbe4;
	background: #f4f9fb;
	padding: .25em .75em;
}

#shadow_container a { color: #383e43; }
#shadow_container h1 a { color: #2183cb; }

#shadow_container a:hover { color: #2183cb; }
#shadow_container h1 a:hover { text-decoration: none; }

#shadow_container ul {
	margin: 0 0 3em 0;
	padding: 0;
	list-style: none;
}

#shadow_container ul li {
	background: url(http://www.eastwestrehab.org/images/list_arrow.gif) no-repeat left 2px;
	padding: 0 0 0 18px;
	line-height: 1.2em;
	margin: 0 0 .8em 0;
}

dl.faculty_list {
	margin: 0 0 2em 0;
	padding: 0;
	width: 440px;
	clear: both;
	float: left;
}

dl.faculty_list dt {
	font-weight: bold;
	font-size: 120%;
	float: right;
	width: 310px;
}

dl.faculty_list dd {
	margin: 0;
	padding: 0;
}

dl.faculty_list dd img {
	background: #dfe7ea;
	padding: 5px;
	float: left;
}

span#headshot img {
	background: #dfe7ea;
	padding: 5px;
}

.testimonial_block {
	width: 100%;
	margin: 0;
	padding: .6em 0 0 0;
	background: url(http://www.eastwestrehab.org/images/bg_testimonial.jpg) no-repeat center top;
	font-style: italic;
	color: #314a5e;
	font-size: 120%;
}

.testimonial_block > * {
	padding: 0 1em;
}

.testimonial_link {
	font-size: 85%;
	text-align: right;
	margin: -1em 0 1em 0;
	padding: 0 2em;
}

.testimonial_block_large {
	border-left: 4px solid #d9e3e7;
	margin-bottom: 2em;
	padding-left: 1em;
}

p.resource_link {
	line-height: 1em;
	margin: 0 0 .8em 0;
	padding: 0 0 0 18px;
	background: url(http://www.eastwestrehab.org/images/list_arrow.gif) no-repeat left 2px;
}




/*	Tables
-------------------------------------------------------------------*/
#t_programs {
	border: 1px solid #6bb4e1;
	margin: 4em auto 0;
	padding: 0;
	border-collapse: collapse;
	width: 90%;
	font-size: 90%;
}

#t_programs th {
	background: #b7e3fe;
	padding: .3em .7em;
	font-size: 125%;
}

#t_programs th#key {
	font-weight: normal;
	font-size: 90%;
}

#t_programs td {
	padding: .7em;
	line-height: 1.2em;
}

#t_programs tr.odd td {
	background: #fff;
}

#t_programs tr.even td {
	background: #ebf0f3;
}

/*#t_programs th#date { width: 10%; }*/
#t_programs th#course { width: 40%; }




/*	Social Links
-------------------------------------------------------------------*/

.social_button {
	float: left ;
	clear: none ;
}



/*	Blog
-------------------------------------------------------------------*/
p.pagination {
	font-size: 80%;
	border-top: 1px solid #a6bfc4;
	margin-top: 4em;
	color: #827e8b;
}

p.pagination b {
	margin: 0 .5em 0 0;
	padding: .25em .5em;
	border: 1px solid #a6bfc4;
	background: #aabcca;
	color: #fff;
}

p.pagination a {
	border: 1px dotted #a6bfc4;
	background: #fff;
	margin: 0 .5em 0 0;
	padding: .25em .5em;
	text-decoration: none;
}

p.blog_metadata,
p.blog_categories {
	color: #827e8b;
	font-size: 85%;
	margin: 0;
	padding: 0;
	line-height: 1em;
}

p.blog_metadata {
	font-weight: bold;
	margin: -1em 0 1.5em;
}

p.blog_categories {
	text-align: right;
	border-top: 1px dotted #a6bfc4;
	margin: 2em 0 5em;
	padding: .7em 0 0 0;
}

/*div.odd { background: #f4f8f9; }*/
/*div.even { background: #f8fafb; }*/

div.odd, div.even {
	margin-bottom: 2em;
}

p.orgment_author {
	background: #e3edf1;
	padding: .2em 0 0 6px;
	border-bottom: 1px solid #a6bfc4;
	width: 350px;
	float: left;
}

p.orgment_date {
	text-align: right;
	font-style: italic;
	color: #827e8b;
	width: 108px;
	float: right;
	background: #e3edf1;
	padding: .2em 6px 0 0;
	border-bottom: 1px solid #a6bfc4;
}




/*	Email sign up
-------------------------------------------------------------------*/
form#email_signup {
	margin: 0;
	padding: 0;
}

form#email_signup fieldset {
	border: 0;
}

form#email_signup legend,
form#email_signup hr {
	display: none;
}

form#email_signup input#email {
	border: 1px solid #a2bece;
}

/* Search box */

.search_box, .box {
	width: 100%;
	margin: 0;
	padding: .6em 0 0 0;
	background: url(http://www.eastwestrehab.org/images/bg_testimonial.jpg) no-repeat center top;
	font-style: italic;
	color: #314a5e;
	font-size: 120%;
}

.search_box > *, .box > * {
	padding: 0 1em;
}

/* Comments */

.add-comment
{
    font-weight: bold;
}
#email_signup input#email { width:90%; padding:2px; }
#photo_slider_strip{text-align:center;}
.sub-box { float: left;  width: 91.9%;}
.sub-box  input#f_s { float: left;margin-top: 5px;}

.sub-box label{ float:none!important; text-align:center!important; display: inline !important;}
#email_signup .processing {  float: left;}
.search_box #keywords {  width: 97%; padding:2px;}

.sub-box .error { float: right;}
.fb-like.fb_iframe_widget { margin-left: 10px;}



.fancybox.anchbtn, .media_entry input.btnblue {background: #52ad49; 

background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzUyYWQ0OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjElIiBzdG9wLWNvbG9yPSIjN2RiZTBhIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjOWZkMzRhIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNTElIiBzdG9wLWNvbG9yPSIjODBjMjE4IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzk0Y2UzMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top,  #52ad49 0%, #7dbe0a 1%, #9fd34a 50%, #80c218 51%, #94ce30 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#52ad49), color-stop(1%,#7dbe0a), color-stop(50%,#9fd34a), color-stop(51%,#80c218), color-stop(100%,#94ce30)); 
background: -webkit-linear-gradient(top,  #52ad49 0%,#7dbe0a 1%,#9fd34a 50%,#80c218 51%,#94ce30 100%); 
background: -o-linear-gradient(top,  #52ad49 0%,#7dbe0a 1%,#9fd34a 50%,#80c218 51%,#94ce30 100%); 
background: -ms-linear-gradient(top,  #52ad49 0%,#7dbe0a 1%,#9fd34a 50%,#80c218 51%,#94ce30 100%); 
background: linear-gradient(to bottom,  #52ad49 0%,#7dbe0a 1%,#9fd34a 50%,#80c218 51%,#94ce30 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#52ad49', endColorstr='#94ce30',GradientType=0 );
border-radius: 5px;
    color: rgb(255, 255, 255) !important;
    font-size: 15px;
    font-weight: bold;
    padding: 8px 30px;
    text-align: center;
    text-decoration: none;
	 border: medium none;
	 min-width:200px;

} 



.anchbtn {background: #52ad49;

background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzUyYWQ0OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjElIiBzdG9wLWNvbG9yPSIjN2RiZTBhIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjOWZkMzRhIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNTElIiBzdG9wLWNvbG9yPSIjODBjMjE4IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzk0Y2UzMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top,  #52ad49 0%, #7dbe0a 1%, #9fd34a 50%, #80c218 51%, #94ce30 100%); 
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#52ad49), color-stop(1%,#7dbe0a), color-stop(50%,#9fd34a), color-stop(51%,#80c218), color-stop(100%,#94ce30)); 
background: -webkit-linear-gradient(top,  #52ad49 0%,#7dbe0a 1%,#9fd34a 50%,#80c218 51%,#94ce30 100%); 
background: -o-linear-gradient(top,  #52ad49 0%,#7dbe0a 1%,#9fd34a 50%,#80c218 51%,#94ce30 100%); 
background: -ms-linear-gradient(top,  #52ad49 0%,#7dbe0a 1%,#9fd34a 50%,#80c218 51%,#94ce30 100%);
background: linear-gradient(to bottom,  #52ad49 0%,#7dbe0a 1%,#9fd34a 50%,#80c218 51%,#94ce30 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#52ad49', endColorstr='#94ce30',GradientType=0 );

   border: medium none;
    border-radius: 5px;
    color: rgb(255, 255, 255) !important;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 8px;
    text-align: center;
    text-decoration: none;



} 

.fancybox.anchbtn.cupon-code, .fancybox.anchbtn.paypal-payment {
    box-sizing: border-box;
    display: inline-block;
	height:39px;
}


