.bbp-the-content-wrapper button,
.bbp-the-content-wrapper button:hover,
.bbp-the-content-wrapper input[type="button"],
.mce-container button,
.mce-container button:hover,
.modal-open #wp-link-wrap button {
    padding: inherit !important;
    background-color: inherit !important;
}

.bbp-the-content-wrapper input[type="button"] {
    border: 1px solid #ccc !important;
}

.bbp-the-content-wrapper .wp-editor-tabs button {
    border: 1px solid #e5e5e5 !important;
    border-bottom: none !important;
    border-radius: 0;
    padding: 4px 10px !important;
    background-color: #ebebeb !important;
}

.bbp-the-content-wrapper .html-active .wp-editor-tabs button.switch-html,
.bbp-the-content-wrapper .tmce-active .wp-editor-tabs button.switch-tmce {
    background-color: #f5f5f5 !important;
}

.bbp-admin-links a {
    color: #373737 !important;
}

/* Insert/Edit link modal */
.modal-open #wp-link-wrap {
    height: 600px;
}

.modal-open #wp-link-wrap .button {
    padding: 0 10px 1px !important;
    border: 1px solid #ccc !important;
}

.modal-open #wp-link-wrap .button-primary {
    background-color: #0085ba !important;
    color: #fff !important;
    border-color: #0073aa #006799 #006799 !important;
}

.modal-open #wp-link-wrap .query-results {
    top: 275px !important;
}

/* Insert/Edit image modal */
.mce-window .mce-btn.mce-primary button {
    color: #fff !important;
}

.button.button--primary.bbp-reply-to-link {
    align-self: start;
}

.bbp-topic-super-sticky-link {
    display: none;
}

/* Reset line height */
div#bbpress-forums {
    line-height: inherit;
}

/* Reply edit logs */
#bbpress-forums .forum__post__content .bbp-reply-revision-log {
    padding: 20px;
    border: 1px solid #dcdcdc;
    margin-top: 40px;
}

/* Code block formatting */
code.prettyprint {
    white-space: pre-wrap;
}
code.prettyprint p {
    margin-bottom: 0;
}

/* User actions in forum loop-single-reply */
.bbpress .js-context-menu__list p {
    margin-bottom: 0;
}
.bbpress .js-context-menu__list hr {
    margin: 10px 0;
}
.bbpress .js-context-menu__list h5 {
    margin: 0 0 0 5px;
}

/* Add .icon--email to Send a Message link */
.bbpress .js-context-menu__list .bbpm-contact-btn:before {
    font-family: "Redgate";
    font-size: 125%;
    vertical-align: bottom;
    margin-right: .25rem;
    content: "\e611"; 
}

/* Loading state for Like button */
.ssc-bbp-like-button a {
    transition: font-size 0s;
}
.ssc-bbpress-like-button--loading {
    font-size: 0; /* Hide text without hiding pseudo-element */
}
.ssc-bbpress-like-button--loading:after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('/wp-content/themes/ssc-twentyeighteen/images/loading.gif');
}

/* Extra space in the forum post top row for admins, who see extra links */
body.is-admin .forum__post__meta__date {
    margin-right: 0 !important;
}
body.is-admin .forum__post__meta__reply-id {
    margin-left: 0 !important;
}

/* Password strength notification in user profile edit form */
#bbpress-forums #password div#pass-strength-result[class] {
    display: inline-block !important;
}
/* Hide the empty notification 
 * It has an initial state as an empty node, as well as a later state
 * where it may have class="empty" but adds a &nbsp; text node,
 * hence the need for two different selectors.  
 */
#bbpress-forums #password div#pass-strength-result.empty,
#bbpress-forums #password div#pass-strength-result:empty {
    display: none !important;
}

/* Text forecolours */
.color--\#000000 {color: #000000;} /* 'Black' */
.color--\#993300 {color: #993300;} /* 'Burnt orange' */
.color--\#333300 {color: #333300;} /* 'Dark olive' */
.color--\#003300 {color: #003300;} /* 'Dark green' */
.color--\#003366 {color: #003366;} /* 'Dark azure' */
.color--\#000080 {color: #000080;} /* 'Navy Blue' */
.color--\#333399 {color: #333399;} /* 'Indigo' */
.color--\#333333 {color: #333333;} /* 'Very dark gray' */
.color--\#800000 {color: #800000;} /* 'Maroon' */
.color--\#FF6600 {color: #FF6600;} /* 'Orange' */
.color--\#808000 {color: #808000;} /* 'Olive' */
.color--\#008000 {color: #008000;} /* 'Green' */
.color--\#008080 {color: #008080;} /* 'Teal' */
.color--\#0000FF {color: #0000FF;} /* 'Blue' */
.color--\#666699 {color: #666699;} /* 'Grayish blue' */
.color--\#808080 {color: #808080;} /* 'Gray' */
.color--\#FF0000 {color: #FF0000;} /* 'Red' */
.color--\#FF9900 {color: #FF9900;} /* 'Amber' */
.color--\#99CC00 {color: #99CC00;} /* 'Yellow green' */
.color--\#339966 {color: #339966;} /* 'Sea green' */
.color--\#33CCCC {color: #33CCCC;} /* 'Turquoise' */
.color--\#3366FF {color: #3366FF;} /* 'Royal blue' */
.color--\#800080 {color: #800080;} /* 'Purple' */
.color--\#999999 {color: #999999;} /* 'Medium gray' */
.color--\#FF00FF {color: #FF00FF;} /* 'Magenta' */
.color--\#FFCC00 {color: #FFCC00;} /* 'Gold' */
.color--\#FFFF00 {color: #FFFF00;} /* 'Yellow' */
.color--\#00FF00 {color: #00FF00;} /* 'Lime' */
.color--\#00FFFF {color: #00FFFF;} /* 'Aqua' */
.color--\#00CCFF {color: #00CCFF;} /* 'Sky blue' */
.color--\#993366 {color: #993366;} /* 'Red violet' */
.color--\#FFFFFF {color: #FFFFFF;} /* 'White' */
.color--\#FF99CC {color: #FF99CC;} /* 'Pink' */
.color--\#FFCC99 {color: #FFCC99;} /* 'Peach' */
.color--\#FFFF99 {color: #FFFF99;} /* 'Light yellow' */
.color--\#CCFFCC {color: #CCFFCC;} /* 'Pale green' */
.color--\#CCFFFF {color: #CCFFFF;} /* 'Pale cyan' */
.color--\#99CCFF {color: #99CCFF;} /* 'Light sky blue' */
.color--\#CC99FF {color: #CC99FF;} /* 'Plum' */