/*
Theme Name: New England Psychologist
Theme URI: http://www.steerpointmarketing.com/
Author: <a href="http://www.steerpointmarketing.com">Mike Lundy</a>.
Description: Custom Theme for New England Psychologist. Original design by <a href="http://www.thepivotplan.com">Chris Duhaime</a>.
Version: 1.0
Text Domain: nepsy
*/

/* Overall formatting */
body {min-width: 1140px;margin: 0;padding: 0;color: #222;font: 14px/1.4em Georgia, Times, serif;}
body > .layer_2 {position: relative;min-height: 100%;padding: 80px 0 0;background: #fafafa url(images/body-bkg.png) repeat-x 0 237px;box-shadow: 0 0 7px rgba(0,0,0,0.7);}

h1 {font-size: 1.5em;} h2 {font-size: 1.5em;} h3 {font-size: 1.17em;} h4 {font-size: 1em;} h5 {font-size: 0.83em;} h6 {font-size: 0.67em;}
h1, h2, h3, h4, h5, h6 {margin: 0 0 1em;color: #6a1e1e;font-weight: normal;}
p {margin: 0 0 1em;}
a, a:visited {color: #6a1e1e;text-decoration: none;}
a:hover {text-decoration: underline;}
a img {border: none;}
ul {margin: 0 0 10px;padding: 0 0 0 15px;}
table {margin: 0 0 1em;}
th {text-align: left;}
th, td {padding: 0 20px 10px 0;vertical-align: top;}
input[type="text"], textarea, select {padding: 3px;color: #333;padding: 0 10px;font-family: Arial, Helvetica, sans-serif;}
textarea {overflow: auto;padding: 5px;line-height: 1.4em;font-size: 12px;}
select {margin: 0 5px 5px 0;vertical-align: middle;}
input[type="submit"] {}

.by {color: #000;font-weight: bold;font-style: italic;}

/* Editor classes for alignment */
.alignleft {float: left;}
.alignright {float: right;}
.aligncenter {text-align: center;}
.hidden {display: none;}
.cleared {clear: both;}
img.alignleft {display: inline;margin: 0 25px 8px 0;}
img.aligncenter {display: block;margin: 0 auto;}
img.alignright {display: inline;margin: 0 0 8px 25px;}

/* Top Bar */
.top_bar {position: absolute;top: 0;width: 100%;height: 266px;background-image: url(images/top_bar-bkg.png);}
.top_bar > .layer_2 {width: 100%;height: 100%;margin: 0 auto;background: url(images/top_bar-layer_2-bkg.jpg) no-repeat center;}

.top_bar #responsive_menu_button {display: none;float: left;overflow: hidden;width: 55px;height: 55px;margin: -15px 0 -15px -15px;padding: 0 15px 0 57px;color: #fff;text-decoration: none;font: 16px/55px Arial, Helvetica, sans-serif;background: url(images/top_bar-responsive_menu_button-bkg.png) no-repeat 22px center / 24px 24px;}

.wrap {position: relative;width: 1050px;margin: 0 auto 20px;padding: 70px 30px 20px 23px;background: #fff url(images/wrap-bkg.png) repeat-x bottom;}

/* Responsive Menu */
#responsive_menu {position: fixed;display: none;left: 0;width: 210px;height: 100%;padding: 0 15px 10px;font: 14px/1em Georgia, Times, serif;background-color: #333;border-top: 7px solid #222;}

#responsive_menu .menu {margin: 0 -15px 20px;padding: 0;list-style: none;}
#responsive_menu .menu li {margin: 0;background-color: #444;border-bottom: 1px solid #333;}
#responsive_menu .menu li a {display: block;padding: 10px 15px;color: #ddd;text-decoration: none;}
#responsive_menu .menu li a:hover {background-color: #404040;}
#responsive_menu .menu li.current-menu-item a,
#responsive_menu .menu li.current-menu-parent a {color: #fff;font-weight: normal;}
#responsive_menu .menu li ul {margin: 0 0 10px;padding: 0;list-style: none;font-size: 12px;}
#responsive_menu .menu li ul li {padding: 0;border-bottom: none;}
#responsive_menu .menu li ul li a,
#responsive_menu .menu li.current-menu-item ul li a,
#responsive_menu .menu li.current-menu-parent ul li a {padding: 2px 20px;color: #ccc;}
#responsive_menu .menu li ul li.current-menu-item a,
#responsive_menu .menu li ul li.current-menu-parent a {color: #fff;font-weight: normal;}

/* Header */
#header {position: relative;height: 120px;margin: 0 0 20px;}

#header .banner_ad {position: absolute;top: -115px;width: 100%;height: 90px;}
#header .banner_ad .layer_2 {position: relative;left: -50%;float: right;}
#header .banner_ad .layer_3 {position: relative;left: 50%;float: left;height: 90px;background-color: #fff;border: 3px solid #fff;}

#header .slogan {position: absolute;right: 0;bottom: 55px;color: #6d0e0e;font-size: 21px;font-style: italic;}
#header .search {position: absolute;left: 0;bottom: 0;width: 290px;height: 40px;color: #fff;background: #792323 url(images/header-search-bkg.png) repeat-x bottom;}

#header .search #responsive_menu-768 {display: none;float: left;font-size: 18px;line-height: 40px;}
#header .search #responsive_menu-768 .menu {margin: 0;padding: 0;list-style: none;}
#header .search #responsive_menu-768 .menu li {}
#header .search #responsive_menu-768 .menu li a {display: block;color: #fff;padding: 0 15px;background: url(images/header-search-responsive_menu_768-menu-li-a-bkg.png) no-repeat right center / 8px 4px;}
#header .search #responsive_menu-768 .menu li ul {position: absolute;z-index: 99;left: -999em;margin: 0;padding: 6px 0;list-style: none;font-size: 12px;line-height: 1em;background-color: #fff;border-bottom: 3px solid #777;box-shadow: 0 3px 3px rgba(0,0,0,0.3);}
#header .search #responsive_menu-768 .menu:hover li ul {left: auto;}
#header .search #responsive_menu-768 .menu li ul li a {padding: 5px 15px;color: #333;background: none;}
#header .search #responsive_menu-768 .menu li ul li a:hover {text-decoration: none;background-color: #ddd;}

#header .search form {float: right;margin: 8px 12px 0 0;}
#header .search input {width: 110px;height: 24px;padding: 0 22px;font: 13px/24px Georgia, Times, serif;border: none;border-radius: 12px;}

#header #nav {position: absolute;right: 0;bottom: 0;width: 750px;height: 40px;color: #fff;font-size: 16px;background: #bbb9b9 url(images/header-nav-bkg.png) repeat-x bottom;}
#header #nav ul {float: right;list-style: none;height: 40px;line-height: 40px;}
#header #nav ul li {float: left;}
#header #nav ul li a {display: block;height: 100%;padding: 0 20px;color: #fff;}

/* Main */
#main {margin: 0 0 20px;}

/* Content */
#content {float: left;width: 700px;margin: 0 0 20px;}
#content.has_two_sidebars {width: 430px;}

#content .section {margin: 45px 0 20px;padding: 28px 25px 10px;line-height: 1.4em;font-size: 12px;background: url(images/content-section-bkg.png) repeat-x;border: 1px solid #e9e9e9;}
#content .section.no_border {margin: 0 0 20px;padding: 0;background: none;border: none;}

#content .section .featured_image {float: left;margin: 0 15px 10px 0;}
#content .section h4 {font-size: 17px;}
#content .section a {color: #970241;}

#content .section .title {margin: -53px -25px 35px;line-height: 1em;font-size: 20px;}
#content .section .title a {color: #6a1e1e;}
#content .section.no_border .title {margin: 0 0 10px;}

#content .section .by {color: #000;font-weight: bold;font-style: italic;}

#content .section .purchase {display: inline-block;height: 20px;padding: 0 10px 0 0;color: #fff;line-height: 20px;text-align: center;background: url(images/content-section-purchase-bkg.png) no-repeat right;}
#content .section .purchase span {display: block;padding: 0 5px 0 15px;background-image: url(images/content-section-purchase-span-bkg.png);}

#content .section.leading_stories {font-size: 13px;background-color: #f6f6f6;border: none;}
#content .section.leading_stories a {color: #777;text-decoration: underline;}
#content .section.leading_stories a:hover {color: #873636;}
#content .section.leading_stories ul {float: left;width: 48%;margin: 0 2% 0 0;padding: 0;list-style: none;}
#content .section.leading_stories ul li {margin: 0 0 10px;}

#content .image_with_caption {width: 200px;}
#content .image_with_caption.alignleft {margin: 0 15px 10px 0;}
#content .image_with_caption.alignright {margin: 0 0 10px 15px;}
#content .image_with_caption img {display: block;margin: 0 0 5px;}
#content .image_with_caption .caption {padding: 8px;line-height: 1.3em;font-size: 9px;background-color: #f0f0f0;}

/* Sidebar */
.sidebar {float: left;width: 300px;margin: 0 15px 0 0;}
.sidebar#sidebar-right {float: right;margin: 0;}

.sidebar .widget {margin: 45px 0 20px;padding: 28px 20px 10px;background: url(images/sidebar-widget-bkg.png) repeat-x;border: 1px solid #e9e9e9;}
.sidebar .widgettitle {margin: -53px -20px 30px;font-size: 20px;}
.sidebar .widget p {margin: 0 0 0.5em;}

.sidebar .widget_nav_menu {margin: 0 0 20px;padding: 0;text-align: right;font-size: 14px;background: none;border: none;}
.sidebar .widget_nav_menu ul {list-style: none;margin: 0;padding: 0;}
.sidebar .widget_nav_menu ul li {padding: 0 32px 0 15px;}
.sidebar .widget_nav_menu ul li a {display: block;color: #777;padding: 5px 0;border-bottom: 2px dotted #e5e5e5;}
.sidebar .widget_nav_menu ul li.current-menu-item {background: url(images/sidebar-widget_nav_menu-ul-li-current-bkg.png) no-repeat right 0.65em;}
.sidebar .widget_nav_menu ul li.current-menu-item a {color: #6a1e1e;}

.sidebar .widget.todays_date {overflow: hidden;margin: 0 0 20px;padding: 10px 0 0;color: #fff;font-size: 18px;background: #7a2323 url(images/sidebar-widget-todays_date-bkg.png) repeat-x bottom;border: none;}
.sidebar .widget.todays_date dl {overflow: hidden;margin: 0 0 5px;}
.sidebar .widget.todays_date dl dt {clear: both;float: left;width: 125px;margin: 0 15px 10px 0;text-align: right;}
.sidebar .widget.todays_date dl dd {float: left;margin: 0 0 10px;}

/* Blog */
#content .page_title {font-size: 24px;}

#content .post {margin: 0 0 30px;}

#content .title {font-size: 20px;}
#content .date {float: right;color: #999;}

/* Footer */
#footer .menu {overflow: hidden;margin: 0 0 20px;padding: 0;list-style: none;text-align: center;line-height: 20px;font-size: 11px;}
#footer .menu li {display: inline;background: url(images/footer-menu-li-bkg.png) no-repeat right;}
#footer .menu li:last-child {background: none;}
#footer .menu li a {padding: 0 10px;color: #666;}

#footer .copyright {margin: 0 0 20px;text-align: center;font-size: 13px;}
#footer .spm {margin: 0 0px 0px;text-align: right;font-size: 10px;}

/* Post and Comment Navigation */
.navigation {margin: 0 0 20px;font-weight: bold;}
.comment-navigation {overflow: hidden;height: 1%;font-weight: bold;}
.navigation ul,
.comment-navigation ul {float: right;list-style: none;}
.navigation li,
.comment-navigation li {float: left;margin-left: 5px;}
.navigation a,
.navigation span,
.comment-navigation a,
.comment-navigation span {display: block;height: 19px;padding: 0 5px;line-height: 18px;color: #333;text-align: center;text-decoration: none;background: #ddd url(images/navigation-a-background.gif) repeat-x scroll left top;border: 1px solid #b0b0b0;}
.navigation a:hover,
.comment-navigation a:hover {background-position: left -20px;}
.navigation span,
.comment-navigation span {color: #fff;background-color: #792323;border: 1px solid #254384;}

/* Comments */
#comments-section {margin-bottom: 120px;padding-top: 10px;background: #fff url(images/post-background.png) no-repeat;}

#comments {float: right;color: #aaa;font-style: italic;background: url(images/comments-background.gif) no-repeat 0 center;}
#comments .commentlist {margin: 0 0 20px;padding: 0;list-style: none;}
#comments .commentlist li {margin: 0 0 10px;padding: 10px 15px 0;background-color: #f8f8ff;border-width: 1px 0;border-style: solid;border-color: #dde0ee transparent;}
#comments .commentlist li.odd {background-color: #f0f0f8;}

#comments .vcard {font-weight: bold;}
#comments .vcard img {margin-right: 7px;vertical-align: middle;border: 2px solid #ccd0dd;}

#comments .comment-date {float: right;font-size: 8pt;font-weight: normal;}

#comments .comment-form-comment label {display: block;}
#comment {width: 450px;height: 120px;}

/* Repsonsive Design */
@media only screen and (max-width: 800px) {
	html {overflow-x: hidden;}
	body {overflow-x: hidden;min-width: 320px;}
	
	.wrap {width: auto;padding: 70px 10px 20px;}
	
	#header {height: auto;}
	
	#header .responsive_upper {display: block;}
	#header .logo {position: static;width: auto;margin: 0 auto 20px;}
	#header .slogan {position: static;margin: 0 0 10px;text-align: center;font-size: 16px;}
	
	#header .search {position: static;width: auto;}
	#header .search #responsive_menu-768 {display: block;}
	
	#header #nav {display: none;}
	
	#content img {max-width: 100%;height: auto;}
	
	#sidebar {float: none;width: 300px;margin: 0 auto 20px;}
	
	#sidebar .widget_nav_menu {display: none;}
	
	#footer .wrap {overflow: hidden;width: 300px;}
	
	#footer .columns {margin: 0;}
	#footer .columns > .column {float: none;}
	#footer .columns > .column.first,
	#footer .columns > .column.second,
	#footer .columns > .column.third {width: auto;margin: 0 0 30px;}
	
	#footer .nav {font-size: 14px;}
}

@media only screen and (max-width: 767px) {
	body > .layer_2 {padding: 0;}
	
	.wrap {padding: 20px 10px 15px;}
	
	.top_bar {position: static;height: auto;}
	.top_bar > .layer_2 {height: auto;padding: 20px;}
	
	.top_bar #responsive_menu_button {display: block;}
	
	#header .banner_ad {display: none;}
	
	#header .search #responsive_menu-768 {display: none;}
	
	#content,
	#content.has_two_sidebars {float: none;width: auto;}
	
	#sidebar-right {float: none;width: 300px;margin: 0 auto 20px;}
}

@media only screen and (max-width: 479px) {
	#content .section .featured_image {float: none;margin: 0 0 20px;}
	#content .section .featured_image img {display: block;margin: 0 auto;}
}

@media only screen and (max-width: 419px) {
	#content .image_with_caption.alignright {float: none;margin: 0 auto 15px;}
}

@media only screen and (max-width: 359px) {
	#header .logo {background-size: 100% auto;}
}