/*
Theme Name:     Stack Child
Description:    Child theme of the Stack Theme
Author:         Wegrass Interactive
Author URI:     http://wegrass.com
Template:       stack-theme
Version:        1.0
*/

/** Width override */
@media (min-width: 980px) {
    .container {
      width: 1140px;
    }
    .span12 {
      width: 1140px;
    }
    .span11 {
      width: 1043px;
    }
    .span10 {
      width: 946px;
    }
    .span9 {
      width: 849px;
    }
    .span8 {
      width: 752px;
    }
    .span7 {
      width: 655px;
    }
    .span6 {
      width: 558px;
    }
    .span5 {
      width: 461px;
    }
    .span4 {
      width: 364px;
    }
    .span3 {
      width: 267px;
    }
    .span2 {
      width: 170px;
    }
    .span1 {
      width: 72px;
    }
}

/* Header Social icons */
#social-box ul li.google-blogger a:hover {
    background-color: #f57d00;
}
#social-box ul li.google-blogger a svg {
    position: relative;
    top: 1px;
}

/* Post font size */
.post p {
    font-size: 15px;
}

/** Advocacy Logos */
.advocacy {
    padding-top: 150px;
    text-align: center;
    width: 100%;
}
.advocacy img {
    display: inline-block;
}
/*.advocacy .logo {
    width: 50%;
}
.advocacy .logo:nth-child(1) {
    float: left;
}
.advocacy .logo:nth-child(2) {
    float: right;
    margin-top: 75px;
}
.advocacy .logo:nth-child(2) img {
    float: right;
}*/

/**
 * bbPress
 */

/* Remove the spacing between title and posts */
.bbpress .stack-section-title {
    padding-bottom: 0;
}
#page-sub-title {
    display: none;
}

/* Hide template's breadcrumb */
.bbpress #page-breadcrumb {
    display: none;
}

/* Add a post title */
.bbpress.forum-archive .stack-section-title h1#post-title:after {
    content: "Forums";
}
.bbpress:not(.forum-archive) .stack-section-title h1#post-title:before {
    content: "Forums: ";
}

/* Hide the avatars from index page */
.bbp-author-avatar {
    display: none;
}
.bbp-reply-author .bbp-author-avatar {
    display: block;
}

/* Rounded Avatar */
.bbp-reply-author .bbp-author-avatar img {
    border-radius: 3px;
}

/* Remove the margin from the right */
#bbp_search_submit {
    margin-right: 0;
}

/* Make the links black */
.bbp-forum-freshness a,
.bbp-topic-freshness a,
.bbp-author-name {
    color: #555;
}
.bbp-forum-freshness a:hover,
.bbp-topic-freshness a:hover,
.bbp-author-name:hover {
    color: #d92e2e;
}

/* Change the font size */
.forum-titles,
.bbp-forum-title,
.bbp-forum-topic-count,
.bbp-forum-freshness > a,
.bbp-topic-title > a,
.bbp-topic-voice-count,
.bbp-topic-reply-count,
.bbp-topic-freshness > a,
.bbp-template-notice {
    font-size: 13px;
}

/* Style the subscribe as a button */
.subscription-toggle {
    background: #eee;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    color: #888;
    display: inline-block;
    float: right;
    padding: 5px 10px;
    margin: 0 8px 10px 0;
    position: relative;
    -webkit-appearance: none;
}
.subscription-toggle:hover {
    background: #d92e2e;
    color: #fff;
}

/* Style notices */
.bbp-template-notice {
    padding: 8px 15px !important;
    border: 1px solid;
    margin: 0 0 20px 0;
    background: #fcf8e3;
    border-color: #fbeed5;
    color: #c09853;
    position: relative;
}
.bbp-template-notice p {
    color: #c09853;
}
.bbp-template-notice.info {
    background: #d9edf7;
    border-color: #bce8f1;
    color: #3a87ad;
}
.bbp-template-notice.info p {
    color: #3a87ad;
}

/* Add border to textarea for comments */
#bbp_topic_content {
    border: #ccc 1px solid;
}

/* More readable actions */
.bbp-admin-links a {
    color: #888;
}

/* Hide the footer */
.bbp-footer {
    display: none;
}