/**
 * Custom Edmin style overrides for The Horror Show 
 * @author Daniel Ivanovic dan.ivanovic@antiblanks.com
 * @disclaimer Fixes god awful CSS generated by Themify... Euch! Disgusting!
 */
 
/************************************************************************************
Core styling
*************************************************************************************/

body {
	background: url(custom_style/images/white-grey-noise.jpg) 0 0 repeat #fff;
	color: #000000;
	color: rgba(0,0,0,1.00);
}

a {
	color: #781d1a;
	color: rgba(120,29,26,1.00);
}

a:hover {
	color: #000000;
	color: rgba(0,0,0,1.00);
}

h1, h2, h3, h4, h5, h6 {
	font-family:Arial, Helvetica, sans-serif;
}

p, h1, h2, h3, h4, h5, h6 {
	line-height: 1.5;
}

p {
	color: #999999;
}

/************************************************************************************
Layout styling
*************************************************************************************/

#pagewrap {
	width: 80%;
	min-width: 1080px;
}

#content {
	padding-top: 200px;
	margin-right: 320px;
	min-height: 2222px;
	margin-top: 0;
}

.sidebar1 #content {
	width: initial;
	float: none;
}

#body {
	position: relative;
}

#sidebar {
	width: 300px;
	margin-top: 200px;
	position: absolute;
	top: 0;
	right: 0;
}

.col3-1 {
	width: 33.333%;
	margin: 0;
}

.col4-1, 
.col4-2, 
.col4-3, 
.col3-2, 
.col3-1, 
.col2-1 {
	float: left;
	border: none; 
	color: black;
	border-right-style: solid;
	border-width: 1px;
	border-color: #d5d5d5; 
	margin: 0px; 
	scroll: yes;
}

.col4-1.last, 
.col4-2.last, 
.col4-3.last, 
.col3-2.last, 
.col3-1.last, 
.col2-1.last {
	border: none;
}

/************************************************************************************
Form styling
*************************************************************************************/

textarea, 
input[type=text], 
input[type=password], 
input[type=search], 
input[type=email], 
input[type=url], 
input[type=number], 
input[type=tel], 
input[type=date], 
input[type=datetime], 
input[type=datetime-local], 
input[type=month], 
input[type=time], 
input[type=week] {
	background-color: #ffffff;
	background-color: rgba(255,255,255,1.00);
}

textarea {
	padding: 10px !important;
}

input[type="text"], 
input[type="password"], 
input[type="search"], 
input[type="email"], 
input[type="url"] {
	height: 30px !important;
	padding: 0 10px !important;
}

input[type=reset], 
input[type=submit], 
button {
	font-variant: normal;
	font-size: 1em;
	min-height: 32px;
	padding: 6px 20px;
}

/************************************************************************************
Sidebar styling
*************************************************************************************/

#sidebar {
	background: url(custom_style/images/white-grey-noise.jpg) 0 0 repeat #fff;
	color: #000000;
	color: rgba(0,0,0,1.00);
}

#sidebar .widget {
	background: #fff;
	border: 1px solid #d5d5d5;
}

#sidebar .widget .metaslider {
	width: 100% !important;
	max-width: 100% !important;
}

#sidebar .widget .metaslider .nivoSlider img {
	width: 100%;
	height: auto;	
}

#sidebar .widgettitle {
	font-size: 18px;
	margin: 0;
}

#sidebar #likeboxwrap {
	border: none !important;
}

#recentcomments .recentcomments {
	padding: 10px;
}

#sidebar #recentcomments {
	background: #fff; 
	border: none;
}

#sidebar .widget select[name=archive-dropdown] {
	margin: 10px;
}

/************************************************************************************
Header styling
*************************************************************************************/

#headerwrap {
	background-image: url(custom_style/images/distressed-red.jpg);
	background-size: 100% auto;
	border: none;
	padding-top: 10px;
	padding-bottom: 3px;
	width: 100%; 
	position: absolute; 
	left: 0;
}

#header {
	background-image: none !important;
	width: 80%; 
	min-width: 1080px;
	margin: 0 auto;
}

#header .header-widget {
	bottom: 0px;
	right: 233px;
	top: inherit;
}

#header #searchform {
	position: absolute;
	bottom: -3px;
	right: 0;
}

#header #searchform #s {
	font: 14px/100% "Helvetica Neue", Helvetica, arial, sans-serif;
	padding: 10px;
	border: none;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	background: #000;
	background: rgba(0,0,0,0.27);
	color: #fff !important;
}

#header .header-ads {
	float: right;
	border: 1px solid #541213;
}

#header #site-logo,
#header #site-logo a {
	background-image: url(custom_style/images/header-logo-landscape.png);
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 300px auto;
	width: 300px;
	height: 74px;
	display: block;
	top: 8px;
	left: 0;
}

#header #site-logo a span {
	display: none;
}

#header #site-logo img {
	display: none;
}

#header #site-description {
	display: none;
}

#header .widget .social-links li {
	margin: 0 0 2px 0;
}

#header .widget {
	margin: 0;
}

/************************************************************************************
Main navigation styling
*************************************************************************************/

#main-nav {
	height: 20px;
	bottom: 11px;
}

#main-nav a {
	font-size: 18px;
	color: #fafafa;
	color: rgba(250,250,250,1.00);
	padding: 6px 19px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	background-color: #000000;
	background-color: rgba(0,0,0,0.27);
	cursor: pointer;
}

#main-nav a:hover,
#main-nav .current-menu-item a {
	background: url(custom_style/images/white-grey-noise.jpg) 0 0 repeat #fff;
	color: #000;
}

#main-nav ul {
	background: url(custom_style/images/white-grey-noise.jpg) 0 0 repeat #fff;
}

#main-nav ul.sub-menu {
	border: none;
	padding: 0px;
}

#main-nav ul.sub-menu li a,
#main-nav ul.sub-menu li a:hover {
	font-size: 16px;
	padding-top: 6px;
	padding-bottom: 6px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

#main-nav ul.sub-menu li a:hover {
	background: #d5d5d5;
	color: #fff;
}

/************************************************************************************
Footer styling
*************************************************************************************/

#footerwrap {
	background: url(custom_style/images/light-grey-noise.jpg) repeat 0 0 #CCC;
	border-top: 1px solid #888;
	width: 100%; 
	position: absolute; 
	left:0
}

#footer {
	background-image: url(custom_style/images/footer-logo.png);
	background-repeat: no-repeat;
	background-position: left 18px;
	font-family:Arial, Helvetica, sans-serif;
	width: 80%;
	min-width: 1080px; 
	margin: 0 auto;
	border: none;
	position: relative;
}

#footer-nav {
	background-repeat: no-repeat;
	background-position: left top;
	padding-top: 25px;
}

#footer-nav a {
	color: #ffffff;
	color: rgba(255,255,255,1.00);
}

#footer a,
#footer a:hover {
	font-family:Arial, Helvetica, sans-serif;
}

#footer .widget {
	background-repeat: no-repeat;
	background-position: left top;
}

#footer .widgettitle {
	font-family:Arial, Helvetica, sans-serif;
} 

.footer-text {
	text-align: center;
	color: #fff;
	margin: 18px 0 0;
}

.footer-text a,
.footer-text a:hover {
	color: #fff;
}

#footer-nav {
	width: 150px;
	position: absolute;
	top: 30px;
	left: 0;
}

#footer-nav li {
	display: block; 
	text-align: left;
	margin: 0;
}

#footer-nav li a {
	margin: 0;
}

#footer .footer-ads {
	float: right;
	margin: 0 0 24px;
}

/************************************************************************************
Slider styling
*************************************************************************************/

.page-content .metaslider {
	width: 100% !important;
	max-width: 100% !important;
}

/************************************************************************************
Post styling
*************************************************************************************/

.post {
	background-color: #ffffff;
	background-color: rgba(255,255,255,1.00);
	border-style: solid;
	border-width: 6px;
	border-color: #781d1a;
	border-color: rgba(120,29,26,1);
}

.post-title, 
.post-title a {
	color: #781d1a;
	color: rgba(120,29,26,1);
}

.post-title {
	margin: 18px 0;
	line-height: 1.5;
}

.loops-wrapper.grid2 .post-title,
.loops-wrapper.grid2-thumb .post-title,
.loops-wrapper.list-thumb-image .post-title {
	font-family: Arial, Helvetica, sans-serif;
}

.post-meta {
	color: #000000;
	color: rgba(0,0,0,1.00);
	padding-top: 6px;
}

.post-meta a {
	color: #781d1a;
	color: rgba(120,29,26,1.00);
}

.post-meta a:hover {
	color: #000000;
	color: rgba(0,0,0,1.00);
}

.post-date {
	color: #ffffff;
	color: rgba(255,255,255,1.00); font-size:15px;
	background-color: #781d1a;
	background-color: rgba(120,29,26,1);
	border: none;
}

.more-link {
	color: #781d1a;
	color: rgba(120,29,26,1.00);
}

.more-link:hover {
	color: #000000;
	color: rgba(0,0,0,1.00);
}

.post-nav {
	margin-left: 0px;
}

.post-meta .post-category {
	margin-left: 12px;
}

.next-prev-post {
	border-top: solid 1px #ccc;
	margin: 40px 0 0;
	clear: both;
	color: #781d1a;
}

.post-image {
	overflow: hidden;
	border-bottom: 1px solid #d5d5d5;
}

.post-image img {
	width: 103% !important;
	max-width: 105% !important;
	margin-left: -1.5%;
}

.post-content .entry-content {
	color: #aaaaaa;
}

.edit-button,
.post-edit-link {
	display: inline-block;
	margin: 0 0 18px;
}

/************************************************************************************
Misc styling @todo: Sort this out!
*************************************************************************************/

#buddypress .activity-list .activity-content .activity-header, 
#buddypress .activity-list .activity-content .comment-header {
	color: #000000;
	line-height: 220%;
}

.themify_builder .themify_builder_row {
	border: none;
	background: #fff; 
	margin: 0 0 2px;
	border-top-style: solid;
	border-width: 2px;
	border-color: #781d1a; 
	border-bottom-style: solid;
	border-width: 2px;
	border-color: #781d1a;
	margin-bottom: 20px; 
	padding-left: 0px;
}

.widget_display_topics .bbp-author-avatar {
	display: none !important;
}

.widgettitle {
	text-align: center; 
	padding-top: 10px;
}

#row_inner {
	border: 2px; 
	border-style: solid; 
	border-color: #781d1a
}

/************************************************************************************
Forum page styling
@todo: Is there a better way than using page-id-2396 class to identify the forums page?
@todo: This should probably be corrected in the Themify builder
*************************************************************************************/ 

.page-id-2396 .themify_builder_content-2396 .module_row {
	border: 1px solid #d5d5d5 !important;
}

#bbpress-forums {
	background: #fff;
	border: 1px solid #d5d5d5;
	clear: both;
	margin-bottom: 20px;
	overflow: hidden;
	font-size: 14px;
	padding: 12px;
}

.page-id-2396 #bbpress-forums {
	background: transparent;
	border: none;
}

#bbpress-forums li {
	background: none;
	margin: 0;
	list-style: none;
	font-family: helvetica;
}

.bbp-forum-title,
.bbp-reply-topic-title {
	margin-left: 10px;
	margin-right: 10px;
}

div.bbp-breadcrumb, 
div.bbp-topic-tags {
	font-family: Arial, Helvetica, sans-serif;
	font-size: inherit;
}

div.bbp-template-notice, 
div.indicator-hint {
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	padding: 0;
}

div.bbp-template-notice p {
	font-family: Arial, Helvetica, sans-serif;
	font-size: inherit;
	margin: 0 !important;
  padding: 10px 15px;
	color: #440;
}

div.bbp-template-notice.info p {
	color: #204561;
}

#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-reply-topic-title {
	margin-left: 0;
	margin-right: 0;
}

#bbpress-forums ul.bbp-lead-topic, 
#bbpress-forums ul.bbp-topics, 
#bbpress-forums ul.bbp-forums, 
#bbpress-forums ul.bbp-replies, 
#bbpress-forums ul.bbp-search-results {
	font-size: inherit;
}

#bbpress-forums li.bbp-body ul.forum, 
#bbpress-forums li.bbp-body ul.topic {
	padding: 12px;
}

#bbpress-forums li.bbp-header, 
#bbpress-forums li.bbp-footer {
	padding: 12px;
}

#bbpress-forums div.wp-editor-container {
	border: 1px solid #eeeeee;
}

#bbpress-forums #subscription-toggle {
	display: inline-block;
  margin: 2px 0 0 10px;
}

#bbpress-forums p.bbp-topic-meta img.avatar, 
#bbpress-forums ul.bbp-reply-revision-log img.avatar, 
#bbpress-forums ul.bbp-topic-revision-log img.avatar, 
#bbpress-forums div.bbp-template-notice img.avatar, 
#bbpress-forums .widget_display_topics img.avatar, 
#bbpress-forums .widget_display_replies img.avatar {
	display: none;
}

#bbpress-forums .entry-title {
	margin: 18px 0;
}

.bbp-topic-freshness-author {
	display: none !important;
}

.bbp-logged-in {
	margin-left: 10px;
	margin-right: 10px;
}

#bbp-search-form {
	font-family: Arial, Helvetica, sans-serif;
	padding-bottom: 10px;
}

.bbp-breadcrumb {
	margin-left: 10px;
}

.bbp-search-form {
	margin-right: 10px;
}

.bbp-login-form {
	padding: 0 10px;
	margin: 0 0 10px;
}

.bbp-login-form .bbp-submit-wrapper,
.bbp-login-form .bbp-login-links {
	display: block;
	width: 100%;
	margin: 10px 0 0;
}

.widget.widget_display_topics {
	margin: 0;
}

.bbp-topic-form {
	background: #fff;
	padding: 10px 0 0;
}

/************************************************************************************
Home page styling
@todo: Is there a better way than using page-id-2410 class to identify the home page?
@todo: This should probably be corrected in the Themify builder
*************************************************************************************/

.page-id-2410 .themify_builder_content-2410 .module_row_0.module_row {
	border: none !important;
}

/************************************************************************************
Buddypress override styling
*************************************************************************************/

body #buddypress .comment-reply-link, 
body #buddypress a.button, 
body #buddypress button, 
body #buddypress div.generic-button a, 
body #buddypress input[type="button"], 
body #buddypress input[type="reset"], 
body #buddypress input[type="submit"], 
body #buddypress ul.button-nav li a, 
body a.bp-title-button {
	font-size: 1em;
	padding: 6px 10px;
	min-height: 32px;
}

body #buddypress div.pagination .pag-count {
	margin-left: 0px;
}

body #buddypress div.dir-search {
	margin: -68px -12px 0;
}

body #buddypress .field-visibility-settings, 
body #buddypress .field-visibility-settings-notoggle, 
body #buddypress .field-visibility-settings-toggle {
	margin: 4px 0 0;
}

body #buddypress table.notification-settings th.title, 
body #buddypress table.profile-settings th.title {
	padding: 6px 0;
}

body #buddypress div.profile h4,
body #buddypress div.profile h5 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.2em;
	text-transform: none;
	letter-spacing: 0;
	margin: 18px 0;
	-moz-text-shadow: none;
	-webkit-text-shadow: none;
	text-shadow: none;
}

body #buddypress #members-order-select {
	font-size: 90%;
	color: #999999;
}

/************************************************************************************
Account page styling
*************************************************************************************/

.my-account .page-content {
	background: #fff;
	border: 1px solid #d5d5d5;
	padding: 12px;
}

.my-account .page-content #buddypress .item-list-tabs {
	border-bottom: 1px solid #eeeeee;
}

.my-account .page-content #buddypress .item-list-tabs ul li {
	border: 1px solid #eeeeee;
	border-bottom: none;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	margin: 0 4px -1px 0;
}

.my-account .page-content #buddypress .item-list-tabs ul li a:hover {
	background-color: #eee;
	color: #555;
	-webkit-opacity: 0.8;
	-moz-opacity: 0.8;
	opacity: 0.8; 
}

.my-account .page-content #buddypress table.profile-fields tr td.label, 
.my-account .page-content #buddypress table.profile-fields tr th.label {
	padding-left: 0px;
}

.my-account .page-content #buddypress ul.item-list li:last-child {
	border-bottom: none;
}

.my-account .page-content #buddypress div#subnav.item-list-tabs {
	margin: 10px 0 18px;
}

.my-account .page-content #buddypress #avatar-upload-form input[type=file] {
	padding: 4px 2px;
}

.my-account #bbpress-forums {
	border-top: 1px solid #d5d5d5 !important;
}

/************************************************************************************
Members page styling
*************************************************************************************/

.members .page-content {
	background: #fff;
	border: 1px solid #d5d5d5;
	padding: 12px;
}