/*
Theme Name:     Newspaper 7 Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/









.et-subtitle { /* styling for H1-subtitle text */
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    line-height: 24px;
    margin-bottom: 0;
    color: #999;
}

@media (max-width: 1018px) and (min-width: 768px) { /* styling for H1-subtitle text */
.et-subtitle {
    font-size: 14px !important;
    line-height: 1.3 !important;
}}

@media (max-width: 767px){ /* styling for H1-subtitle text */
.et-subtitle {
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
}}

/* Above made after 9.8 update */






/* Bottom margin for widgets and blocks in sidebar */
.td-main-sidebar .td_block_wrap, .widget {
margin-bottom: 23px;
}


/* FORUM START */

/* Padding against main menu (none on mobile)*/
@media (min-width: 768px){
.bbpress .td-main-page-wrap {
padding-top: 1px !important; /* 40 px if no top-ad, 1 px to remove white-border next to top menu */
}}

/* Padding against main menu for Forum-index-page*/
@media (min-width: 768px){
.forum-archive .td-main-page-wrap {
padding-top: 40px !important; /* Impossible to add AD on main-page for some reason */
}}


/* Background color outside content */
.bbpress .td-main-content-wrap {
background: #efefef !important;
}

/* DEV - Remove after 2020-update*/
.bbpress.page-id-16600 .td-main-content-wrap {
background: #fff !important;
}

/* Main bbpress content container */
@media (min-width: 768px){
.bbpress .td-container {
background: #fff !important;
padding: 40px 40px 0 40px;
max-width : 1200px !important;
width: auto !important; /* Removes old width */
}}

@media (max-width: 767px){
.bbpress .td-container {
background: #fff !important;
padding: 20px 20px 0 20px;
}}

.bbpress .td-main-content {width: 70%;}
@media (max-width: 767px) {.bbpress .td-main-content {width: 100%;}}

.bbpress .td-main-sidebar {width: 30%;}
@media (max-width: 767px) {.bbpress .td-main-sidebar {width: 100%;}}

/* Remove blue top box with info about posts */
.bbp-template-notice {
display: none;
}

/* Text that shows author and post over and below thread on single posts */
.single-topic .bbp-header, .single-topic .bbp-footer {
display: none;
}

/* Inner part of top of reply and topic headers (date etc.)*/
.bbp-reply-header .bbp-meta, .bbp-topic-header .bbp-meta {
	background: #fff !important;
}

/* Outer part of reply and topic headers (date etc.) */
.bbp-reply-header {
	background-color: #fff !important;
	border: 0 !important;
	padding: 0 !important;
}

/* Breadcrumbs color (orange) */
.bbpress .bbp-breadcrumb a, .bbpress .bbp-breadcrumb-current {
    color: #d8953c !important;
}

/* Darker color and bolder text on author name in row */
.bbpress .bbp-author-name, .bbpress .bbp-author-role {
    color: #111 !important;
	font-weight: 600 !important;
}

/* Darker color on started by and in in rows */
.bbpress .bbp-topic-started-by, .bbpress .bbp-topic-started-in {
    color: #111 !important;
}

/* Orange for category in rows */
.bbpress .bbp-topic-started-in a {
    color: #d8953c !important;
}

/* Styling for odd AND even posts on single posts */
.single-topic #bbpress-forums div.even, .single-topic #bbpress-forums ul.even,
.single-topic #bbpress-forums div.odd, .single-topic #bbpress-forums ul.odd {
    background-color: #fff;
	border: 1px #f3f3f3 solid !important;
	border-radius: 3px;
	margin-bottom: 40px !important;
	}


/* Styling for creating whitespace above and below paragraph-text */
@media (min-width: 768px){
#bbpress-forums div.even,
#bbpress-forums ul.even {
padding: 20px 0;
margin-top: 0 !important;
}}
 /* Styling for creating whitespace above and below paragraph-text */
@media (min-width: 768px){
#bbpress-forums div.odd,
#bbpress-forums ul.odd {
padding: 20px 0;
margin-top: 0 !important;
}}

 /* Text on posts */
.bbpress .bbp-reply-content p {
	font-family: 'Nunito';
    font-size: 14px !important;
    line-height: 20px;
    font-weight: 300;
}

/* Centering of bbpress posts headers */
.bbpress .td-page-title {text-align: center;}
.bbpress .bbp-breadcrumb {float: none; text-align: center;}
.bbp-pagination {float: none;text-align: center;}
.bbp-pagination-count {float: none; margin-bottom: 15px;}


/* Top text on form (Reply to) */
.bbp-form legend{ 
    display: none;
}

/* Remove borders and margins on reply-form */
.bbp-form {
    margin: 0 !important;
	padding: 10px 0 0 0 !important;
	border: none !important;
	width: 100% !important;
}

/* Remove website form filed */
.bbp-reply-form #bbp_anonymous_website,
.bbp-topic-form #bbp_anonymous_website,
label[for="bbp_anonymous_website"] {
	display: none !important;
}

/*Rounded borders for name, email, title and reply */
#bbp_anonymous_author, #bbp_anonymous_email, #bbp_topic_title, .wp-editor-container {
	border-radius: 3px;
}
/* Remove border for reply-field */
.bbp-the-content.wp-editor-area {
	border: 0 !important;
}

/* Remove right float and center reply button */
.bbp-submit-wrapper {
	float: none !important;
	text-align: center;
}

/* Submit button for replies */
#bbpress-forums button {
	width: 100%;
	padding: 15px !important;
	background: #d8953c !important;
}

.bbp-replies {
	border-top: 1px solid #f3f3f3 !important;
	padding-top: 10px !important;
}

/* Keep SVARA-text always to the right */
span.bbp-admin-links {
    float: right !important;
    clear: none !important;
}


/*TOPIC LISTS AND OVERVIEW*/


.bbp-topic-freshness-author { /*Hide last author edited post */
    display: none !important;
}

.page-numbers.current { /* Style first pagination number*/
    padding-top: 2px !important;
	padding-bottom: 3px !important;
	line-height: 21px !important;
}

.bbpress .bbp-topics { /* */
    padding-top: 10px !important;
}

@media(max-width: 767px){.bbp-header { display: none !important;}} /* Remove subject, post number etc on mobile */

@media(max-width: 767px){.bbp-body .bbp-topic-voice-count, .bbp-body .bbp-topic-reply-count { display: none !important;}} /* Remove post count and participants on mobile */

@media(max-width: 767px){.bbp-body .bbp-topic-freshness { float: right !important; padding-top: 5px !important;}} /* Re-style freshness */

.bbp-header { /* Header background on topic lists */
    background: #fff !important;
	border-top: 1px solid #eee !important;
	color: #000 !important;
	font-family: 'Nunito' !important;
}

.bbp-footer { /* Footer background on topic lists */
    background: #fff !important;
} 

/* Top of posts in lists (before amne, deltagare etc.) */
#bbpress-forums li.bbp-body {
    margin-top: 0 !important;
}

/* Title in lists */
.bbp-topic-permalink {
    margin-left: 16px !important;
	padding-left: 35px !important;
}

/* Margin left for author IMG:es */
#bbpress-forums .bbp-topic-started-by img, #bbpress-forums .bbp-topic-started-in img {
    margin-left: 14px !important;
}

.bbp-topic-meta {
    margin-left: 52px !important;
}


/* Created date in lists */
.bbp-topic-freshness {
    padding-right: 16px !important;
}

/* Padding on posts in lists */
@media (min-width: 768px){
#bbpress-forums div.even, #bbpress-forums ul.even, #bbpress-forums div.odd, #bbpress-forums ul.odd {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}}


#bbpress-forums div.odd, #bbpress-forums ul.odd {
    background-color: #fbfbfb !important;
}

/*FRONT FORUM PAGE*/
.bbp-search-form {
    display: none;
}

.bbpress_intro .bbp-breadcrumb, .bbpress_intro .bbp-pagination-count {
    display: none;
}



/*FRONT FORUM PAGE*/



/* CONFLICTS WITH TAGDIV CSS */
.bbp-reply-author { /* Author photo on posts */
    width: 200px !important;
}

@media (max-width: 767px){ /* Author row on mobile*/
.bbp-reply-author {
    padding: 6px 10px 2px 10px !important;
	box-sizing: border-box !important; /* Making the author row show all borders (to the right) */
}}

div.bbp-reply-content { /* Text on posts */
    margin-left: 200px !important;
	border-left: 1px solid #f3f3f3 !important;
	padding: 0 20px 0 20px !important;
}
/* CONFLICTS WITH TAGDIV CSS */

/* FORUM STOP */






/* FORUM - NEEDS MARKUP */


/* Might delete */

@media (max-width: 767px){ /* top margin (on mobile) for actual bbpress pages (categories/posts) */
.single .td-container {
    margin-top: 40px;}}
	




/* Remove Forum-title-text on Forum-main-page */
.forum-archive .entry-title.td-page-title {
display: none !important;
}

/* Remove padding on the Welcome-link on Forum */
.forum-archive h2  {
margin-top: 0px;
}

/* Blue Links on Forum Posts Content */
.bbp-reply-content a {
	color:#4db2ec !important;
	font-weight: 300 !important;
	}



/* Forums Custom Widget */
.et_forums {
    float: left;
}

.et_forums li {
	margin: 0 20px 0 0;
}

.et_forums li a{
	color: #111;
}

.et_forums li::before {content: "» ";}

/* Might delete */