body {
	background-color: #edf3ff;
}

#row3 {
	background: #fff url(../clinic-images/row3-bg.gif) center top repeat-y;	
}

#row5 {
	background-color: #4b86b0;
	background-image: none;
	height: 280px;
}

#bannerimage {
	background-image: url(../clinic-images/topmain_image-sm.jpg);
	background-repeat: no-repeat;
	height:150px;
	position: relative;
	margin-top: 27px;
	}
	
#mainphone {
	padding: 5px 20px 0 0;	
}

#socialmedia {
	margin-top: 10px;	
}

#mainmenu{
	background-color: #4983ad;
	position: relative;
	z-index: 100;
}

ul.pipes li a {
	padding: 0 11px;	
}

ul.pipes li.contact {
	border-right: none;	
}

ul.pipes li.anonymous {
	border-right: 1px solid #fff;	
}

#mainmenu li a:hover{
	background-color: #6eabd7;
}

#mainmenu ul.subnav {
	margin: 0;
	padding: 0;
	position: absolute;
	width: 185px;
	top: 27px;
	left: -999em;
	background-image: url(../mastercontent/images/blank.gif);
	overflow: hidden;
	line-height:16px;
	color: #fff;
	background-color: #6eabd7;
	font-weight: normal;
}

#mainmenu ul.subnav li a { 
	display: block;
	line-height:16px;
	margin: 0;
	padding: 3px 10px;
	color: #fff;
	background-color: #6eabd7;
	width: 170px;
}


#mainmenu ul.subnav a:hover {
	background-image: url(../mastercontent/images/blank.gif);
	background-color: #4983ad;
}


#mainmenu li:hover ul.subnav, #nav li.sfhover ul.subnav { /* This works with javascript to fix IE 6 error */
	left: auto;
}


#main a.buttonlink { /* Menu Bar links */
	background-color: #4983ad;
	color: #FFFFFF;
} 

#main a.buttonlink:hover{
	color: #FFFFFF;
	background-color: #6eabd7;
}

#locationTitle {
	background-image: url(../mastercontent/images/template3/locationtitle_fade.jpg);
	background-repeat: repeat-y;
	
}

#locationTitle h1{
	color: #6eabd7;
}


#targetlocations{
	background-color: #3c6e93;
	color: #ffffff;
}

#targetlocations h2{
	color: #ffffff;
}

#reviewbut {
	text-align: center;
	background-color: #4b86b0;
	border-radius: 15px;
	width: 250px;
	padding: 10px 0 15px 0;	
	margin: 15px 0 0 10px;
}

#reviewbut h3 a {
	color: #fff;
	text-decoration: none;
	font-weight: bold;
}

#rtcol {
	margin: 50px 0 0 0;
}

#main {
	min-height: 130px;
	padding: 30px 50px 30px 20px;	
}

#homeboxDepression{
	margin:0 10px 0 0;
	padding: 0;
	width: 264px;
	height:278px;
	float: left;
	background-image: url(../mastercontent/images/template3/theme-blue/depressionbox.gif);
	background-repeat: no-repeat;
}



#homeboxTMS{
	margin:0 10px 0 0;
	padding: 0;
	width: 264px;
	height:278px;
	float: left;
	background-image: url(../mastercontent/images/template3/theme-blue/tmsbox.gif);
	background-repeat: no-repeat;
}

#homeboxNeurostar{
	margin:0;
	padding: 0;
	width: 264px;
	height:278px;
	float: left;
	background-image: url(../mastercontent/images/template3/theme-blue/neurostarbox.gif);
	background-repeat: no-repeat;
}


#contactform{
	margin: 20px 0 0 10px;
	padding: 40px 0 0 0;
	clear:both;
	width: 250px;
	background: url(../mastertemplates/temp5/images/contactform_top.png) no-repeat;
}

#contactform_bot{
	clear:both;
	margin: 0 0 0 10px;
	height:18px;
	width: 250px;
	background: url(../mastertemplates/temp5/images/contactform_bot.png) no-repeat;
}

#contactform h2 {
	font-size: 13px;	
}

#contactform h3 {
	font-size: 15px;	
}


#tmsmenu {
	background-image:url(../mastercontent/images/template3/theme-blue/tmsmenu_all.gif);
	background-repeat: no-repeat;
	height: 65px;
}




#tmsmenu ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	
}

#tmsmenu li { /* all list items */
	margin: 0;
	float: left;
	position: relative;
}

#tmsmenu li a { /* all list items */
	margin: 0;
	padding: 0;
	text-decoration:none;
	color:#666;
	line-height: 65px;
	width: 215px;
}

#tmsmenu li a:hover { /* all list items */
	
}



#tmsmenu li.depression2 { /* all list items */
	color:#84cdd3;
	background-image: url(../clinic-images/neuro_link.gif);
	background-repeat: no-repeat;
	height: 65px;
	width: 215px;
	
}

#tmsmenu li.mental { /* all list items */
	color:#d6df20;
	background-image: url(../clinic-images/mental_link.gif);
	background-repeat: no-repeat;
	height: 65px;
	width: 181px;
}

#tmsmenu li.tms2 { /* all list items */
	color:#f5c825;
	background-image: url(../mastercontent/images/template3/theme-blue/tms_link.gif);
	background-repeat: no-repeat;
	height: 65px;
	width: 215px;
}

#tmsmenu li.neurostar2 { /* all list items */
	color:#d6df20;
	background-image: url(../clinic-images/wellness_link.gif);
	background-repeat: no-repeat;
	height: 65px;
	width: 215px;
}


#tmsmenu li ul { /* second-level lists */
	padding: 0;
	margin: 0;
	display: none;
	position: absolute;
	border: solid 1px #ccc;
	width: 211px;
	background-color: #fff;	
}

#tmsmenu li ul li { /* second-level lists */
	padding: 0;
	margin: 0;
}

#tmsmenu li ul li a { /* second-level lists */
	padding: 5px 8px;
	display: block;
	text-decoration:none;
	line-height: 16px;
	color:#000000;
	font-weight: normal;
	width: 195px;
	
}

#tmsmenu li ul li a:hover { /* second-level lists */
	display: block;
	background-color: #ccc;
	width: 195px;
}

#tmsmenu li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
	top: auto;
	left: auto;
}

#tmsmenu li:hover ul, li.over ul { /* lists nested under hovered list items */
	display: block;
	top: 65px;
	
}

#depressionsub, #tmssub, #neurostarsub{
	top: 150px;
}

.hometable {
	padding: 10px;
	border-radius: 15px;
	background: linear-gradient(to bottom, #4ebee6, #fff);	
}

.hometable a {
	color: #3c6e93;	
}

.iframemargins {
	margin: -35px 0 -63px 0;
}

ul.pipes {
	margin-left: 35px;	
}

#map {
	padding: 25px 0 0 20px;
	float: left;
}

#mailchimp {
	margin: 10px 0 0 0;	
	float: left;
}

#contactinfo {
	padding: 5px 0 0 10px;	
	width: 900px;
	margin: 0;
}

#psychtoday {
	float: left;
}

#butterfly {
	margin: 40px 0 0 0;	
}

#dlwp {
	margin-top: 40px;
}

#mainmenu_jpanel {
	display: none;
}

.hidden-xs {
	display: block;
}

.visible-xs {
	display: none;
}

.stacktable.large-only { display: table; }
.stacktable.small-only { display: none; }

@media only screen
and (min-width: 0px)
and (max-width: 640px) {
body {
	font-size: medium;
}

#row3col1 {
	display: block;
	position: relative;	
	width: 320px;
}

#row3col2 {
	display: none;	
}


.hidden-xs {
	display: none;
}

.visible-xs {
	display: block;
}
/****************** Main Menu Jpanel ***********************/

#mainmenu_jpanel {
	display: inline;
	width: 100%;
	margin: 86px 0 0 0;
	float: left;
}

#mainmenu_jpanel h2 {
	background-color: #888888;
	float: right;
	margin: 0;
	padding: 8px 10px 6px 10px;
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	border: hidden;
	border-top-left-radius: 10px;
}

.sidemenu {
	display: none;
	width: 100%;
}

.sidemenu ul {
	margin: 0;	
}

.sidemenu ul li ul li a {
	padding-left: 30px
}

.sidemenu li {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	float: left;
	border-right: solid #fff 6px;
	background-color: #888888;
}

.sidemenu li a {
	display: block;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 15px;
	text-decoration:none;
	font-size: 16px;
	letter-spacing: -1px;
	color:#fff;
	text-align: left;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border=color: #FFFFFF;	
}

#back {
	background-color: #ffffff;
	color: #000000;
	text-align: left;
}

.mainmenu p {
	float: right;
}

.submenu li a {
	background-color: #FFFFFF;
	color: #000000;
}

.menu1 {
	background-image: url(../mastercontent/images/mobilebuttons/arrow_rt.png);
	background-repeat: no-repeat;
	background-position: right;
}

.sub1 {
	display: none;
}

.menu2 {
	background-image: url(../mastercontent/images/mobilebuttons/arrow_rt.png);
	background-repeat: no-repeat;
	background-position: right;
}

.sub2 {
	display: none;
}

.menu3 {
	background-image: url(../mastercontent/images/mobilebuttons/arrow_rt.png);
	background-repeat: no-repeat;
	background-position: right;
}

.sub3 {
	display: none;
}

.menu4 {
	background-image: url(../mastercontent/images/mobilebuttons/arrow_rt.png);
	background-repeat: no-repeat;
	background-position: right;
}

.sub4 {
	display: none;
}

.menu5 {
	background-image: url(../mastercontent/images/mobilebuttons/arrow_rt.png);
	background-repeat: no-repeat;
	background-position: right;
}

.sub5 {
	display: none;
}

.menu6 {
	background-image: url(../mastercontent/images/mobilebuttons/arrow_rt.png);
	background-repeat: no-repeat;
	background-position: right;
}

.sub6 {
	display: none;
}

ul.submenu {
	display: none;
}


/* end main menu */


#row1 {
	background-image: url(../clinic-images/logo_mobile.gif);
	background-repeat: no-repeat;
	height: 120px;
	border-bottom-color: #888;
}

#row4 {
	background-color: #fff;	
}

#menusub1 {
	background-color: #0099CC ;
}

#menusub2 {
	background-color: #0099CC ;
}

#menusub3 {
	background-color: #0099CC ;
}

#menusub4 {
	background-color: #0099CC ;
}

#menusub1 h3 {
	margin-top: 5px;
	margin-bottom: -5px;	
}

#mainindent {
	width: 280px;
}

table {
	width: 280px;
}

#main object embed {
	width: 100% !important;	
	height: auto;
}

.stacktable.large-only { display: none; }
.stacktable.small-only { display: table; }
}