/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
}


/* =Layout
-------------------------------------------------------------- */

/* replacing

light color #eee
dark color #494959


*/


form { background-color:transparent;}

body,
input,
textarea {
	color: #494959;
}

body {
	background: #eee;
}

hr {
	background-color: #494959;
}

#content ins {
	background: #edebe6;
}

#content pre {
	background: #f7f7f7;
	color: #222;
}

#content abbr,
#content acronym {
	border-bottom: 1px dotted #494959;
}

input[type="text"],
textarea {
	background: #eee;
	color: #494959;
	border: 2px solid #494959;
}

a:link {
	color: #494959;
}

a:visited {
	color: #494959;
}

a:active,
a:hover {}

/* =Menu
-------------------------------------------------------------- */

#header #access {
	border-top: 2px solid #494959;
	border-bottom: 2px solid #494959;
}

#menu-mainmenu li a {
	border-left: 2px solid #494959;
}

	#menu-mainmenu li:last-child a { border-left: 0; }

/* =Content
-------------------------------------------------------------- */

#content tr td {
	border-top: 2px solid #494959;
}

#content tr.odd td {
	background: #f2f7fc;
}

.home .sticky {
	background: #f2f7fc;
	border-top: 2px solid #494959;
}

.page-title,
h1.entry-title {
	color: #494959;
	border-top: 2px solid #494959;
}

.page-title a:link,
.page-title a:visited {
	color: #575768;
}

.page-title a:active,
.page-title a:hover {
	color: #ff4b33;
}

.pub-details,
#content .entry-content h3 {
	border-bottom: 2px solid #494959;
	border-top: 2px solid #494959;
}

.entry-meta abbr,
.entry-utility abbr {
	border: none;
}

.entry-meta abbr:hover,
.entry-utility abbr:hover {
	border-bottom: 1px dotted #666;
}

.entry-content p a,
.entry-summary p a,
.entry-content a, .entry-summary a,
#primary .textwidget a,
#archive p.about a {
  border-bottom: 1px dotted #494959;
}
  .hentry .entry-content a.meta-nav, .hentry  .entry-summary a.meta-nav { border-bottom: 0; }

a .entry-title,
#content .entry-title,
.thearchive-entry h4 a {
	color: #494959;
}

.single #content .embedded + p {
  border-bottom: 2px solid #494959;
}

.post-type-archive-neural_issues #content a .entry-title {
	background-color: #eee;
	color: #494959;
  border-top: 2px solid #494959;
  border-bottom: 2px solid #494959;
}

.entry-content fieldset {
	border: 1px solid #e7e7e7;
}

.entry-content fieldset legend {
	background: #eee;
	color: #494959;
}

.entry-content label {
	color: #494959;
}

.page-link {
	color: #494959;
}

.page-link a:link,
.page-link a:visited {
	background: #f1f1f1;
	color: #333;
}

.home .sticky .page-link a {
	background: #d9e8f7;
}

.page-link a:active,
.page-link a:hover {
	color: #ff4b33;
}

.entry-meta {
	border-top: 2px solid #494959;
	border-bottom: 2px solid #494959;
}
	.microposts .entry-meta { border: 0; border-top: 2px solid #494959; }

  .entry-meta .author a {	border-left: 0; }
	
	.date a {
		border-left: 2px solid #494959;
		border-right: 0;
	}

	.microposts .date a { border: 0; }

.single .entry-utility .entry-meta	{ border: 0; }
.single .entry-utility {
	border-top: 2px solid #494959;
	border-bottom: 2px solid #494959;
}

.entry-meta .social a.retweet {
	background-position: center 1px;
}

.entry-meta .social a.fb-share {
	background-position: center -103px;
}

.edit-link a {
  color: #333;
  background: #f46a39;
}

.edit-link a:hover {
  background: #d54512;
}

  #content #most-recent .post-image,
	#content #most-recent .category-imported .post-image,
  #content #highlight .post-image,
  .single #content .post-image,
  .archive #content .post-image,
  .search #content .post-image  {
	  background-color: #eee;
  }

  #content #most-recent a .entry-title  {
		border-top: 2px solid #494959;
  }

/* =Gallery listing
-------------------------------------------------------------- */

.format-gallery .size-thumbnail img,
.category-gallery .size-thumbnail img {
	border: 10px solid #f1f1f1;
}

/* =Subscribe page
-------------------------------------------------------------- */

#content table.subscribe-print strong {
	border-top: 2px solid #494959;
}

#content form input.neural-paypal-btn {
	background: #eee url(../images/btn_buynow_SM.gif) no-repeat 0 0;
}

#content .subscription-modes a {
	color: #eee;
	background-color: #494959;
}


/* =Images
-------------------------------------------------------------- */

.wp-caption {
	background: #f1f1f1;
}

.wp-caption p.wp-caption-text {
	color: #575768;
}

.gallery img {
	border: 2px solid #cfcfcf;
}

.gallery .gallery-caption {
	color: #575768;
}

.gallery img {
	border: 10px solid #f1f1f1;
}


/* =Navigation
-------------------------------------------------------------- */

.navigation {
  color: #eee;
	background: #494959 url(../images/vertical-line-light.png) repeat-y center 0;
}

.navigation a:link,
.navigation a:visited {
  color: #eee;
}

.navigation a:active,
.navigation a:hover {
	color: #ff4b33;
}

  .nav-previous a { background: #494959 url(../images/arrow-left.png) no-repeat 0 center; }
  .nav-next a { background: #494959 url(../images/arrow-right.png) no-repeat right center; }

/* =Comments
-------------------------------------------------------------- */

h3#comments-title,
h3#reply-title {
	color: #494959;
}

.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
}

.comment-author cite {
	color: #494959;
}

.comment-meta a:link,
.comment-meta a:visited {
	color: #575768;
}

.comment-meta a:active,
.comment-meta a:hover {
	color: #ff4b33;
}

.reply a,
a.comment-edit-link {
	color: #575768;
}

.reply a:hover,
a.comment-edit-link:hover {
	color: #ff4b33;
}

#comments .pingback {
	border-bottom: 1px solid #e7e7e7;
}

#comments .pingback p {
	color: #575768;
}

/* Comments form */
input[type=submit] {
	color: #eee;
	background: #494959;	
}

#respond {
	border-top: 1px solid #e7e7e7;
}

#respond .required {
	color: #ff4b33;
}

#respond label {
	color: #575768;
}

#respond .form-allowed-tags {
	color: #575768;
}


/* =Contact form
-------------------------------------------------------------- */

#content .wpcf7 .wpcf7-not-valid {
	border: 2px solid #800000;
}

#content .wpcf7 span.wpcf7-not-valid-tip {
	background-color: #eee;
}

/* =Widget Areas
-------------------------------------------------------------- */

#wp-calendar caption {
	color: #222;
}

#wp-calendar tbody {
	color: #494959;
}

#wp-calendar tbody td {
	background: #f5f5f5;
	border: 1px solid #eee;
}

.widget_rss a.rsswidget {
	color: #494959;
}

.widget_rss a.rsswidget:hover {
	color: #ff4b33;
}

/* =Sidebar
-------------------------------------------------------------- */

#primary .section h4,
#sidebar-left .section h4,
#primary .hentry h4,
#sidebar-left .hentry h4,
#primary h3.widget-title {
	border-bottom: 2px solid #494959;
	border-top: 2px solid #494959;
}

/* =Sidebar-left */

#sidebar-left .subscribe-box { border: 2px solid #494959; }
#sidebar-left .subscribe-box h4 { border-bottom: 0; }
#sidebar-left .subscribe-box .half { border-top: 0; }

#sidebar-left .subscribe-box .first a {	
	border-right: 2px solid #494959;
}

#sidebar-left #archive h4 { border:0; }

#sidebar-left #subscribe h4.subscribe-title { border: 0; }

/* =The Archive iframe */

.thearchive-entry { border-bottom: 2px solid #494959; }

#sidebar-left #subscribe h4.subscribe-title a,
#sidebar-left #archive h4 a {
	color: #eee;
	border: 0;
	border-right: 2px solid #494959;
	background: #494959 url(../images/external-link-arrow.png) no-repeat right center;
}

/* =Footer
-------------------------------------------------------------- */

#footer {
	border-top: 2px solid #494959;
}

#footer h4 {
	border-bottom: 2px solid #494959;
}

/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

#content figure {
  background: #f1f1f1;
}

#content figure figcaption {
  color: #575768;
}

#top {
  border-bottom: 2px solid #494959;
}

#bw {
  background: #494959;
  color: #eee;
}

#qtranslate-chooser li.active a {
  border-top: 2px solid #494959;
}

#content .searchform {
  border: 2px solid #494959;
}

#topmenu {
	border-right: 2px solid #494959;
}

#topmenu li {  
	border-left: 2px solid #494959;
	border-top: 2px solid #494959;
}

#topmenu .social, #topmenu .social li { border-top: 0; border-left: 0; }

#topmenu .social li a {	background-image: url(../images/social-icons.png); }

#content .searchform,
.searchform input.field {
	border-left: 2px solid #494959;
}

.searchform .searchsubmit {
	background: transparent url(../images/search.png) no-repeat center center;
}

/* reset placeholder */
::-webkit-input-placeholder { color: #494959; }
:-moz-placeholder { /* Firefox 18- */ color: #494959; }
::-moz-placeholder {  /* Firefox 19+ */ color: #494959; }
:-ms-input-placeholder { color: #494959; }

#top .searchform {
	border-top: 2px solid #494959;
	border-right: 2px solid #494959;
	border-left: 2px solid #494959;
}

input[type="email"],input[type="url"] {
	background: #eee;
	border: 2px solid #494959;
}

nav ul li.current_page_item > a,
nav ul li.current-menu-ancestor > a,
nav ul li.current-menu-item > a,
nav ul li.current-menu-parent > a,
.ie6 nav ul li.current_page_item a,
.ie6 nav ul li.current-menu-ancestor a,
.ie6 nav ul li.current-menu-item a,
.ie6 nav ul li.current-menu-parent a,
nav ul li a:hover,
.single-neural_issues .mainmenu #menu-item-363 a {
	border-top: 2px solid #494959;
	border-bottom: 2px solid #494959;
}

/*---------------------------------------------------
	Media Queries
---------------------------------------------------*/

@media only screen and (max-width: 500px) {

	#topmenu { border-left: 2px solid #494959; }

	#top .searchform,
	#topmenu li,
	#menu-mainmenu li a {
		border-left: 0;
		border-right: 0;
	}

	#top .searchform .searchsubmit { border-left: 2px solid #494959; }

	#top .searchform input.field {
		border-left: 2px solid #494959;
		border-right: 2px solid #494959;
	}


	#topmenu li.social { border-top: 2px solid #494959; }

	#menu-mainmenu {
		border-left: 2px solid #494959;
		border-right: 2px solid #494959;
	}


	#menu-mainmenu li a { border-top: 2px solid #000; }
	#menu-mainmenu li:first-child a { border-top: 0; }

	nav ul li.current_page_item > a,
	nav ul li.current-menu-ancestor > a,
	nav ul li.current-menu-item > a,
	nav ul li.current-menu-parent > a,
	.ie6 nav ul li.current_page_item a,
	.ie6 nav ul li.current-menu-ancestor a,
	.ie6 nav ul li.current-menu-item a,
	.ie6 nav ul li.current-menu-parent a,
	nav ul li a:hover,
	.single-neural_issues .mainmenu #menu-item-363 a {
		border-top: 0;
		border-bottom: 0;
	}

}