/*!
Theme Name: BuddyX Child
Theme URI: https://wbcomdesigns.com/downloads/buddyx-theme/
Author: astrid
Author URI: 
Description: BuddyX Child
Version: 1
Requires at least: 4.8
Tested up to: 5.8.3
Requires PHP: 7.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: buddyx
Tags: one-column, two-columns, left-sidebar, right-sidebar, footer-widgets, blog, translation-ready, buddypress, custom-colors, featured-images, full-width-template, theme-options, e-commerce
Template: buddyx
This theme, like BuddyPress, is licensed under the GPL.
Use it to make something cool, have fun, and share
what you've learned with others.
*/

/* change yada wiki style */
.entry.yada_wiki > div, .nav-links div, .comments-area div, .entry.yada_wiki > footer{
    background-color: rgba(255, 255, 255, 0.9);
    margin: 1em 0 30px;
    padding: 1em;
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
    border-radius: 8px;
}
div.buddyx-article-col:nth-child(n){
    opacity: .9;
}

figure.table_with_smaller_font > table{
    font-size: 12px!important;
}

/* change style of posts in sidebar plugin */
ul.pis-ul > code > li > p{
    margin: 0px;
}
ul.pis-ul > code > li {
    margin: 15px;
}
/* hide 5th element of new posts 
ul.wp-block-latest-posts > li:nth-child(1n+3) {
    display: none;*/
}
/* hide 5th element of new posts 
ul.item-list > li.vcard:nth-child(1n+3){
    display: none;*/
}
span.pis-more {
    margin-left: 10px;
}
body p:empty:before {
    content: none;
}

/* make box out of normal page content */
div.entry-content {
    background-color: rgba(255, 255, 255, 0.9);
    margin: 1em 0 30px;
    padding: 1em;
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
    border-radius: 8px;
}

/*  remove privacy policy from original location */
.privacy-policy-link {
    display:none;
}
/*footer changes */
.site-footer-wrapper {
    text-align: center;
}
.footer-inner {
    padding: 10px 0 0 0!important;
}
.site-info {
    padding: 10px 0 10px 0!important;
}
/* make navigation smaller  FUNKTIONIERT NICHT*/
.nav-previous, .nav-next {
    margin-bottom: 5px!important;
    margin-top: 5px!important;
}

/*Kommentare */
footer.comment-meta {
    display: flex;
    justify-content: space-between;
}
div.comment-author, div.comment.metadata {
    display: inline-block;
}
.comments-area div {
    margin:1px 0 1px 0;
}
/* make sidebar smaller */
div.sticky-sidebar > section > div > div {
    margin: 0 0 0 0!important;
    padding: 0!important;
    border-bottom: none!important;
}
div.sticky-sidebar > section {
    margin: 0 0 0.1rem 0!important;
    padding: 0.5rem;
    font-size: 90%;
}
div.sticky-sidebar > section > div > div > h2, div.sticky-sidebar > section > div > h2, div.sticky-sidebar > section > h2{
    font-size: 140%!important;
    border-bottom: none!important;
    margin-bottom: 0.1rem;
    padding: .5rem, 1rem, 0.5rem, 1rem!important;
}
div.sticky-sidebar > section > div > div > ol {
    margin: 0 0 0 0!important;
    padding-left: 1em;
}
div.sticky-sidebar > section > div > div > ol >li {
    margin-bottom: 0!important;
}
div.sticky-sidebar > section > div > div > ol >li > article > footer > a:first-child {
    font-weight: bold;;
}
div.sticky-sidebar > section.widget_yadawiki_activity_widget > div > div > h2 {
    font-size: 150%!important;
    border-bottom: none!important;
    margin: -1rem -1rem 0rem!important;
}
div.sticky-sidebar > section > ol{
    margin: 0;
    padding: 0 0 0 0.5rem;
}
div.sticky-sidebar > section > ol > li, div.sticky-sidebar > section > ol > li > p{
    margin: 0;
    padding: 0;
}
/* calender event more obvious*/
td.eventful {
    font-weight: bold;
}
/*vote button */
.wp-polls .Buttons {
    border: 1px solid black;
    color: black;
}
/* remove favorites / bookmark button in strange places */
/*archive preview*/
ul.lcp_catlist > li > div.lcp_content > button {
	display:none;