/*
Theme Name: MorningStar Chiropractic
Theme URI: http://www.morningstarchiro.com
Author: K. Chayka for MorningStar Chiro
Author URI: http://www.c-net.us/
Description: Custom theme
Version: 1.0
*/

/* basic styles */
body {
	font-family: sans-serif;
	font-size: 100%;
}
h1 {
  font-size: 140%;
	font-family: "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
}
h2 {
  font-size: 135%;
	font-family: "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
}
h3 {
  font-size: 125%;
	font-family: "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
}
h4 {
  font-size: 110%;
	font-family: "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
}
a {
  color: #ffe479;
  background-color: #005;
}
a:focus,
a:active,
a:hover {
  color: #fff;
  background-color: #005;
}
/* stoopid IE */
a img {
	border-color: #ffe479;
}
a:visited img {
	border-color: #ffe479;
}
a:focus img,
a:active img,
a:hover img {
  border-color: #fff;
}

img {
	vertical-align: middle;
}

p, ul, ol, dl, blockquote {
	margin-top: 1em;
	margin-bottom: 0;
}
/* margin adjustments */
h2 + h3, h2 + p, h2 + ol, h2 + ul,
h3 + h4, h3 + p, h3 + ol, h3 + ul,
h4 + h5, h4 + p, h4 + ol, h4 + ul,
p + ol, p + ul {
	margin-top: .5em;
}
p + h1 {
	padding-top: 1em;
}
.clear {
	clear: both;
}

dt {
	font-weight: bold;
}
.contact dd {
	margin-left: 0;
	padding-left: 0;
	margin-bottom: 1em;
}

/* images & alignments */
.alignleft {
	float: left;
	margin-right: 1em;
}
.alignright {
	float: right;
	margin-left: 1em;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft, img.alignright, img.aligncenter {
	border: 3px solid #ffe479;
	margin-bottom: 5px;
}


/* tables */
table {
	background-color: #FFF9DF;
	color: #000;
	margin-bottom: 1em;
}
caption {
  font-size: 110%;
	font-family: "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
}
td, tbody th {
	vertical-align: top;
	padding: .2em .5em .2em 0;
}
thead th {
	background-color: #ffefb0;
	color: #000;
	padding: .1em .3em;
}
tbody th {
	text-align: left;
}
tr.alt-row th,
tr.alt-row td {
	border-top: 1px solid #ffe479;
	border-bottom: 1px solid #ffe479;
}

table.pricing td {
	text-align: center;
}

/* forms */

textarea {
	max-width: 98%;
}



@media screen, projection {
body {
	margin: 0;
	padding: 1% 0;
	background-color: #004;
	color: #fff;
	width: 100%;
}

#wrapper {
	background-color: #005;
	color: #fff;
	border: 1px solid #fff;
	padding: 1%;
	margin: auto;
	position: relative;
	width: 96%;
	max-width: 65em;
}

#main {
	background: #FFF9DF url(images/gradient.jpg) left top repeat-x;
	color: #000;
	position: relative;
	margin-bottom: .5em;
}
.outer {
	width: 100%;
	float: right;
}

/* masthead */
#header {
	position: relative
}
#header a img {
	border-width: 0;
}
h1 {
	text-align: center;
	margin: 0;
}
#address {
	position: absolute;
	top: 0;
	left: 0;
	width: 12em;
	margin: 0;
	font-size: 88%;
	font-weight: bold;
}
#phone {
	position: absolute;
	top: 0;
	right: 0;
	width: 12em;
	text-align: right;
	margin: 0;
	font-size: 88%;
	font-weight: bold;
}
.decoration {
	position: relative;
	text-align: center;
/*	width: 100%;*/
	height: 40px;
	zoom: 1;
	width: 100%;
}
.decoration img {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40px;
	z-index: 1;
}
.sidebar .decoration {
	height: 1px;
	width: 100%;
}
.sidebar .decoration img {
	height: 11px;
}


/* content */
#content {
	width: 90%;
	margin: auto;
	zoom: 1;
	line-height: 1.3;
	position: relative;
	padding: 1px 5%;
}
#content h1 {
	margin-top: 0;
	text-align: center;
	clear: both;
}
#content a {
	color: #009;
	background: transparent;
}
#content a:hover,
#content a:active,
#content a:focus {
	color: #600;
	background: transparent;
}

/* column widths */
#main {
	margin-left: 21%;
	margin-right: 21%;
}
.sidebar {
	background: #005;
	color: #fff;
	width: 34%;
}
#secondary {
	float: right;
	margin-right: -36%;
}
#navbar {
	float: left;
	margin-left: -36%;
}


/* footer */
#footer {
	text-align: center;
	padding-top: 10px;
}
#footer img {
	vertical-align: bottom;
	border-width: 0;
}

/* skip links */
ul.skiplinks {
	position: absolute;
	top: -10em;
	left: 0;
	margin: 0;
	list-style: none;
}
ul.skiplinks li {
	display: inline;
	padding: .2em 1em;
}


/* navigation */
#navbar .widget {
	border: 1px solid #fff3c4;
	border-top-width: 0;
	background: #005;
	color: #fff;
	margin-top: 40px; /* content dome height */
	margin-bottom: 25px;
}
#navbar .widget_nav_menu h3 {
	position: absolute;
	top: -10px;
	left: 0;
	height: 1px;
	width: 1px;
	overflow: hidden;
	margin: 0;
}
#navbar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
	text-transform: uppercase;
}
#navbar li {
	margin: 0;
	padding: 0;
	position: relative;
}
#navbar li a,
#navbar li span {
	display: block;
	padding: 10px 24px 10px 8px;
	text-decoration: none;
	font-size: 80%;
	font-weight: bold;
	border-top: 1px solid #fff3c4;
	position: relative;
}
#navbar ul:first-child > li:first-child a,
#navbar ul:first-child > li:first-child span{
	border-top-width: 0;
}
#navbar li.current-menu-item > a,
#navbar li.current-menu-item > span {
	background-image: url(images/star.png);
	background-position: 99% 8px;
	background-repeat: no-repeat;
	font-weight: bold;
}
/* blunt force for the news/blog pages... */
body.archive #navbar li#menu-item-32 > a,
body.single #navbar li#menu-item-32 > a,
body.blog #navbar li#menu-item-32 > a {
	background-image: url(images/star.png);
	background-position: 99% 8px;
	background-repeat: no-repeat;
	font-weight: bold;
}

#navbar ul ul {
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 0;
	left: 98%;
	width: 10em;
	z-index: 99999;
}
#navbar li.current-menu-item ul,
#navbar li.current-menu-ancestor ul {
	display: block;
	position: static;
	width: auto;
	float: none;
	margin-left: 25px;
	text-transform: none;
}

#navbar ul ul a {
	border-top: 1px dashed #ccc;
	padding: 10px 10px;
}
#navbar ul ul ul a {
	border-top: 1px dotted #999;
}
/*
#navbar li:hover > a,
#navbar ul ul :hover > a,
#navbar a:focus {
	background: #efefef;
}
#navbar li:hover > a,
#navbar a:focus {
	background: #f9f9f9;
	color: #373737;
}
#navbar ul li:hover > ul {
	display: block;
}
#navbar .current-menu-item > a,
#navbar .current-menu-ancestor > a,
#navbar .current_page_item > a,
#navbar .current_page_ancestor > a {
	font-weight: bold;
}
*/


#skip-links {
	position: absolute;
	top: -10em;
	left: -100em;
}


} /* end screen media */


/* ****************************** *
 * screen and print rules
 * ****************************** */
@media screen, projection, print {
h1 {
	margin: 0;
}
h1 {
	font-style: italic;
	margin-bottom: .5em;
}
h2 {
	margin-bottom: .5em;
}
h3 {
	margin-bottom: .2em;
}
h4 {
	margin-bottom: .2em;
}
h3 small,
h4 small {
	display: block;
}
h3 + h4 {
	margin-top: 0;
}

ul {
	margin-left: 0;
	padding-left: 20px;
}
#content li,
#secondary li {
	margin-bottom: .5em;
	margin-left: 0;
	padding-left: 0;
}
#content li {
	list-style-image: url(images/bullet2.png);
}
#content li li {
	list-style-image: none;
	margin-bottom: 0;
}
#content ol.desc {
	margin-left: 3em;
	padding-left: 0;
}
#content ol.desc li {
	list-style-type: none;
	list-style-image: none;
	clear: left;
	margin-left: 0;
}
#content ol.desc li span {
	font-weight: bold;
	float: left;
	text-align: right;
	width: 2em;
	margin-left: -3em;
}
#content ol.desc p {
	margin-left: -3em;
	margin-top: 1em;
}
#secondary ul ul {
	margin-left: 0;
	padding-left: 20px;
	margin-bottom: 0;
}
#secondary li li {
	margin: 0;
}

#wrapper {
	position: relative;
	zoom: 1;
}
#header {
	position: relative;
	font-family: "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
}
#footer {
	font-family: "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
}

#content {
	float: left;
	margin-bottom: 1em;
	position: relative;
}
#content h1 {
	border-bottom: 1px solid #005;
}
.split {
	width: 45%;
	float: left;
	margin-bottom: 1em;
/*	padding: 0 1.45%;*/
}
.split li {
	margin-bottom: .2em;
}
.split + .split {
	float: right;
}
.split + h2,
.split + h3,
.split + p {
	clear: both;
}
.leader {
	clear: both;
	margin-bottom: .5em;
/*	font-weight: bold;*/
}

.sig {
	font-style: italic;
}
#content .section {
	padding-top: 2em;
}
.hilite {
	border: 1px solid #005; /* #ffe479;*/
	background: #fff3c4; /*#ffefb0; */
	color: #000;
	text-align: center;
	padding: .3em;
	margin-left: 1em;
	font-weight: bold;
	width: 25%;
	min-width: 6em;
	float: right;
}
.caption {
	float: right;
	margin-left: .5em;
	width: 150px;
	border: 1px solid #ffe479;
	text-align: center;
	margin-bottom: 1em;
}
img.caption {
	border-width: 3px;
}
.content img.aff {
	float: right;
	margin: .5em 0 0 .5em;
}

/* contact page */
.contact .caption {
	width: 234px;
	padding-bottom: .2em;
}
.contact .caption img {
	display: block;
	margin: 5px auto;
}
.contact h3 {
	clear: none;
}
.contact table {
	background: #FFF9DF;
	color: #000;
}
.shy {
	font-size: 1px;
}
.shy:after {
	content: " ";
	margin-left: -.2em;
}

/* blog/news */
.entry-meta,
.entry-utility {
	font-size: 80%;
	font-style: italic;
	background: #fff3c4;
	color: #000;
	padding: 5px;
	margin-bottom: 1em;
}
.entry-content {
	margin-bottom: 1em;
}
#nav-single h3 {
	position: absolute;
	top: -1px;
	left: -1px;
	width: 0;
	height: 1px;
	overflow: hidden;
	margin: 0;
}
#nav-single .nav-previous {
	float: left;
}
#nav-single .nav-next {
	float: right;
}
body.blog #content .post h2.entry-title,
body.archive #content .type-post .entry-header h1.entry-title,
body.search-results #content .entry-header h1.entry-title {
	border-width: 0;
	text-align: left;
	font-style: normal;
}
body.blog #content .post h2.entry-title a,
#content .type-post .entry-header h1.entry-title a {
	text-decoration: none;
	color: #000;
}
body.blog #content .post h2.entry-title a:hover,
#content .type-post .entry-header h1.entry-title a:hover {
	color: #009;
}


/* right sidebar */
#secondary .section {
	border: 1px solid #fff3c4;
	border-top-width: 0;
	margin-bottom: 25px;
}
#secondary ul.hours {
	list-style: none;
	padding-left: 0;
}

/* generic sidebar */
.sidebar h3 {
	font-size: 110%;
	font-weight: bold;
	margin-bottom: .2em;
	font-style: normal;
}
.sidebar img {
	max-width: 100%;
	height: auto;
}
.sidebar a img {
	border-width: 0;
}
.sidebar .inner {
	padding: 0 .5em;
}
.sidebar .inner + h2 {
	margin-top: 0;
}
.sidebar .widget_nav_menu .inner {
	padding: 0;
}


/* widget/plugin overrides */
.widget-title {
	margin-top: 5px;
}
.textwidget {
	margin-bottom: 5px;
}
.widget .simpleimage {
	text-align: center;
}
.widget_my_calendar_upcoming_widget ul#upcoming-events li.future-event {
	color: #fff;
	font-size: 100%;
}
.widget_my_calendar_upcoming_widget ul#upcoming-events li.past-event {
	color: #999;
	font-size: 100%;
}
#content #jd-calendar .my-calendar-header .my-calendar-nav ul {
	height: auto;
	margin-top: 0;
}
#content #jd-calendar .my-calendar-header .my-calendar-nav li {
	list-style-image: none;
}
#content #jd-calendar .my-calendar-header .my-calendar-nav {
	float: none;
}
#content #jd-calendar .my-calendar-header .my-calendar-prev {
	float: left;
}
#content #jd-calendar .my-calendar-header .my-calendar-next {
	float: right;
}
#content #jd-calendar table {
	clear: both;
}
#content #jd-calendar .my-calendar-nav li a {
	padding: 3px 5px 5px 5px;
	text-decoration: none;
}
#content #jd-calendar .my-calendar-nav li a:hover,
#content #jd-calendar .my-calendar-nav li a:focus,
#content #jd-calendar .my-calendar-nav li a:active {
	text-decoration: underline;
}
#content #jd-calendar .category-key ul {
	-moz-column-count: 1;
	overflow: hidden;
}
#content #jd-calendar .category-key li {
	list-style-image: none;
	float: left;
	margin-right: 25px;
}
table.my-calendar-table td.has-events h3.event-title:hover {
	cursor: pointer;
}
#content #jd-calendar .calendar-event .details {
	border: 1px solid #009;
}


.Cart66PriceDescription:after {
	content: ". ";
	padding-right: 10px;
}
#content input[type="submit"],
#content a.Cart66ButtonSecondary,
#content a.Cart66ButtonPrimary,
#content input.Cart66ButtonSecondary,
#content input.Cart66ButtonPrimary {
	background-color: #004;
	color: #fff;
	border: 1px solid #FFE479;
	border-radius: 5px;
	font-size: 90%;
	height: auto;
	line-height: normal;
	padding: 5px 10px;
}
#content input[type="submit"]:hover,
#content a.Cart66ButtonSecondary:hover,
#content a.Cart66ButtonPrimary:hover,
#content input.Cart66ButtonSecondary:hover,
#content input.Cart66ButtonPrimary:hover {
	background-color: #004;
	color: #FFE479;
}
/* clear floats */
#main:after,
.inner:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	overflow: hidden;
	visibility: hidden;
}
/* end float clearing */


} /* end global rules */


/* ****************************** *
 * print only rules
 * ****************************** */
@media print {
.decoration, #navbar, 
#skip-links, #nav-single {
	display: none;
}
html body, body #wrapper {
	background: #fff;
	color: #000;
}

#main {
	margin-left: 0;
	margin-right: 0;
}
#content {
	width: 70%;
	float: left;
}
#secondary {
	width: 25%;
	float: right;
}
#footer {
	clear: both;
	border-top: 1px solid #005;
	padding-top: .5em;
}
#header h1, .address, .phone {
	float: left;
	margin-right: 1em;
}
#secondary .section {
	border-width: 0;
}
}
