/**
 * bbPress specific CSS
 *
 * @package bbPress
 * @subpackage Theme
 */

/* ---------------------- 
Stylesheet Guide
-------------------------

GENERAL
FORUM SIGNATURE
SEARCH FORM
BREADCRUMB
FORUM TABLE
PAGINATION
REPLIES
SEARCH RESULTS
USER
CMB2
USER BOXES
WIDGETS
MEDIA

*/

/* ================= GENERAL ================== */

.bbp-template-notice {
    margin-bottom: 40px;
    padding: 1.5rem;
    background: #f5f5f5;
    border-left: 5px solid #009ffd;
}

.bbp-template-notice p {
    margin: 0px;
}

.bbp-template-notice ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.bbp-template-notice.danger,
.bbp-template-notice.error {
    border-color: #ba324f;
}

.bbp-template-notice.warning {
    border-color: #eca72c;
}

.bbp-template-notice img {
    display: none !important;
}

#subscription-toggle {
    margin-top: 0.5rem;
    display: block;
    font-weight: 700;
    text-align: right;
}

.tessera-reply-wrapper blockquote {
    padding: 30px 25px;
    font-size: 1rem;
    margin: 2rem 0;
    border-width: 3px;
}

.tessera-reply-wrapper blockquote p {
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.tessera-reply-wrapper blockquote p:last-of-type {
    margin-bottom: 0;
}

.tessera-reply-wrapper blockquote.tessera-quote a:first-of-type {
    display: block;
    font-style: normal;
    font-weight: bold;
}

.tessera-reply-wrapper blockquote.tessera-quote {
    margin: 0 0 2rem 0;
}

.tessera-reply-wrapper .alert {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

label[for=bbp_log_topic_edit] {
    font-size: 1rem;
    color: #465362;
    font-weight: normal;
}

.tessera-quote-span {
    font-weight: bold;
}

/* ================= FORUM SIGNATURE ================== */

.tessera-forum-signature {
    display: block;
    width: 100%;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    font-style: italic;
}

/* ================= SEARCH FORM ================== */

.bbp-search-form {
    margin-bottom: 40px;
}

#bbp-header-search-form {
    position: relative;
}

#bbp-header-search-form.tessera_ajax_search_loading:before {
    font-family: 'FontAwesome';
    content: "\f110";
    position: absolute;
    top: 50%;
    right: 100px;
    z-index: 99999;
    font-size: 22px;
    transform: translate(-50%, -50%) rotate(0deg);
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    -webkit-animation: tessera-bg-search-loader 2s linear infinite;
    animation: tessera-bg-search-loader 2s linear infinite;
    color: #fff;
    opacity: 0.5;
}

#bbp-header-search-form2 {
    position: relative;
    z-index: 2;
}

#bbp-header-search-form2 {
    transition: none;
}

#bbp-header-search-form2.tessera_ajax_search_loading .btn {
    color:transparent;
}

#bbp-header-search-form2.tessera_ajax_search_loading:before {
    font-family: 'FontAwesome';
    content: "\f013";
    position: absolute;
    top: 9px;
    right: 23px;
    z-index: 99999;
    font-size: 24px;
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -webkit-animation: tessera-bg-search-loader 2s linear infinite;
    animation: tessera-bg-search-loader 2s linear infinite;
    color: #2e5d9f;
    transform-origin:50% 50%;
    opacity: 1;
}

/* ================= FORUM TABLE ================== */

.bbp-forums,
.bbp-topics,
.bbp-replies,
.bbp-lead {
    list-style: none;
    margin: 0px;
    padding: 0px;
    background: #fff;
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.1);
}

.bbp-replies,
.bbp-lead {
    border-bottom: none;
}

.bbp-topics,
.bbp-replies {
    margin: 1.5rem 0;
}

.bbp-lead {
    margin: 1.5rem 0 3rem 0;
}

.bbp-forum-info .badge,
.bbp-topic-title .badge {
    margin: 0.2rem 0;
    vertical-align: top;
}

/* Header */

.bbp-header > ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: table;
    table-layout: fixed;
    width: 100%;
}

.bbp-header > ul > li {
    display: table-cell;
    vertical-align: middle;
    padding: 1.15rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    border-right: 1px solid #ddd;
}

.bbp-header > ul > li:last-child {
    border-right: none;
}

.bbp-header ul li.bbp-forum-info {
    width: 50%;
    text-align: left;
}

.bbp-header ul li.bbp-forum-topic-count,
.bbp-header ul li.bbp-forum-reply-count,
.bbp-header ul li.bbp-topic-voice-count,
.bbp-header ul li.bbp-topic-reply-count {
    position: relative;
    width: 12%;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.bbp-header ul li.bbp-forum-freshness,
.bbp-header ul li.bbp-topic-freshness {
    width: 26%;
    text-align: right;
}

/* Body */

.bbp-body > ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: table;
    table-layout: fixed;
    width: 100%;
    border-top: 1px solid #ddd;
}

.bbp-body > ul > li {
    display: table-cell;
    vertical-align: middle;
    padding: 1rem 1.5rem;
    border-right: 1px solid #ddd;
}

.bbp-body > ul > li:last-child {
    border-right: none;
}

.bbp-body ul li.bbp-forum-info {
    width: 50%;
    text-align: left;
}

.bbp-body ul li.bbp-forum-topic-count,
.bbp-body ul li.bbp-forum-reply-count,
.bbp-body ul li.bbp-topic-voice-count,
.bbp-body ul li.bbp-topic-reply-count {
    width: 12%;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 700;
}

.bbp-body ul li.bbp-forum-freshness,
.bbp-body ul li.bbp-topic-freshness {
    width: 26%;
    text-align: right;
}

.tessera-forum-table-wrapper {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.tessera-forum-left,
.tessera-forum-right {
    display: table-cell;
    vertical-align: middle;
}

.tessera-forum-left {
    width: 75px;
    padding-right: 1rem;
}

.tessera-forum-left a {
    display: block;
}

.tessera-forum-left img {
    max-width: 100%;
    height: auto;
    margin: 0.5rem 0;
    border-radius: 100% !important;
}

.tessera-forum-right {
    width: 100%;
}

.tessera-forum-right .bbp-forum-title,
ul.bbp-topics li.bbp-topic-title .bbp-topic-permalink {
    font-weight: 700;
    margin-bottom: 0.2rem;
    display: inline-block;
    font-size: 1rem;
    padding-right: 5px;
}

.forum-titles {
    font-size: 1.4rem;
    color: #101419;
}

.forum-titles .fa {
    cursor: help;
}

.bbp-forum-content {
    font-style: italic;
    font-size: 0.9rem;
}

ul.bbp-forums-list {
    list-style: none;
    margin: 0.3rem 0 0 0;
    padding: 0px;
}

ul.bbp-forums-list li {
    display: inline-block;
    font-size: 0.85rem;
    padding-right: 5px;
}

.bbp-topic-meta {
    margin: 0px;
}

.bbp-forum-description .avatar,
.bbp-topic-description .avatar,
.bbp-topic-meta .avatar {
    border-radius: 100%;
    width: 16px;
    height: auto;
    margin: 0px;
    vertical-align: middle;
}

.bbp-footer {
    display: none;
}

.bbp-row-actions #favorite-toggle,
.bbp-row-actions #subscription-toggle {
    display: inline-block;
}

.bbp-row-actions #favorite-toggle a,
.bbp-row-actions #subscription-toggle a {
    text-decoration: none;
    padding: 0px;
    border: none;
    font-size: 90%;
    line-height: 15px;
    color: #fff;
    background: #ba324f;
    border-radius: 100%;
    width: 15px;
    height: 15px;
    display: inline-block;
    text-align: center;
    margin: 0px 5px 0px 0px;
}

.bbp-topic-started-by {
    display: block;
    font-size: 85%;
}

.bbp-topic-started-in.badge {
    margin-top:0.7rem;
    font-size:0.7rem;
}

.bbp-topic-started-in .badge {
    font-size:80%;
}

.tessera-freshness-box {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.tessera-freshness-left,
.tessera-freshness-right {
    display: table-cell;
    vertical-align: middle;
}

.tessera-freshness-left {
    width: 100%;
    font-size: 0.9rem;
}

.tessera-freshness-right {
    width: 45px;
}

.tessera-freshness-right a {
    display: block;
}

.tessera-freshness-right img {
    border-radius: 100% !important;
    width: 35px !important;
    height: auto !important;
}

.tessera-freshness-link {
    position: relative;
    font-size: 0.85rem;
}

.tessera-freshness-link a {
    color: inherit;
}

.tessera-freshness-link a:before {
    font-family: 'FontAwesome';
    content: "\f017";
    speak: none;
    text-indent: 0em;
    text-align: center;
    font-style: normal;
    padding-right: 3px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================= PAGINATION ================== */

.bbp-pagination {
    display: table;
    table-layout: auto;
    width: 100%;
    margin:1.25rem 0;
}

.bbp-pagination-count,
.bbp-pagination-links {
    display: table-cell;
    vertical-align: middle;
}

.bbp-pagination-count {
    text-align: left;
    font-size: 0.85rem;
}

.bbp-pagination-links {
    text-align: right;
}

.bbp-pagination-links .page-numbers {
    line-height: 36px;
    padding: 0px 10px;
    display: inline-block;
    color: inherit;
    font-weight: 800;
    background: #f5f5f5;
    min-width: 36px;
    text-align: center;
    border-radius: 100%;
    font-size: 0.85rem;
    transition: all 0.15s ease-in-out;
}

.bbp-pagination-links .page-numbers.current {
    opacity: 1;
    background-color: #2e5d9f;
    color: #fff;
}

a.page-numbers:hover {
    color: #2e5d9f;
    background-color: #2e5d9f;
    color: #fff;
}

.bbp-pagination-links .page-numbers.next,
.bbp-pagination-links .page-numbers.prev {
    position: relative;
    text-indent: -500em;
}

.bbp-pagination-links .page-numbers.next:before,
.bbp-pagination-links .page-numbers.prev:before {
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'FontAwesome';
    width: 36px;
    height: 36px;
    text-indent: 0em;
    font-weight: normal;
    font-size: 12px;
}

.bbp-pagination-links .page-numbers.next:before {
    content: "\f054";
}

.bbp-pagination-links .page-numbers.prev:before {
    content: "\f053";
}

.bbp-topic-pagination {
    display: block;
    margin: 0px 0px 5px 0px;
}

.bbp-topic-pagination .page-numbers {
    line-height: 1;
    padding: 5px 7px;
    display: inline-block;
    -webkit-transition: border 0.2s linear;
    -moz-transition: border 0.2s linear;
    transition: border 0.2s linear;
    color: inherit;
    background: #f5f5f5;
    border:none;
    font-weight: 700;
}


.bbp-topic-form,
.bbp-reply-form {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #ddd;
}

.bbp-the-content-wrapper {
    margin-bottom: 1.5rem;
}

.bbp-form legend {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    color: #364253;
}

.bbp-no-topic {
    margin: 1.5rem 0;
}

.quicktags-toolbar .button {
    box-shadow: none !important;
}

.bbp-submit-wrapper {
    margin-top: 1.5rem;
}

#bbp_destination_topic,
#bbp_topic_tags,
#bbp_reply_move_destination_title,
#bbp_destination_topic,
#bbp_topic_split_destination_title {
    margin-bottom: 1.5rem;
}

label[for=bbp_log_reply_edit],
label[for=bbp_topic_subscription] {
    font-size: 1rem;
    color: #465362;
    font-weight: normal;
    margin: 0;
}

#bbp_reply_edit_reason,
#bbp_topic_edit_reason {
    margin-bottom:1.5rem;
}

/* ================= REPLIES ================== */

.bbp-topic-tags {
    padding: 1rem;
    display: block;
    background: #f5f5f5;
    margin: 1.5rem 0;
    border-left: 3px solid #009ffd;
}

.bbp-topic-tags p {
    margin: 0;
}

.bbp-threaded-replies {
    list-style: none !important;
    margin: 1rem !important;
    padding: 0 !important;
    background: #f5f5f5
}

.bbp-threaded-replies .tessera-replies-content-bar {
    background: #f5f5f5 !important
}

.bbp-replies li ul {
    list-style: none;
    margin:0;
    padding:0;
}

.bbp-threaded-replies .reply {
    list-style: none !important;
    margin: 1rem !important;
    padding: 0 !important;
    border-bottom:none;
}

.bbp-replies .bbp-reply-form {
    margin-top: 0;
    padding: 2rem;
    border-top: none;
}

.bbp-threaded-replies .disputo-replies-wrapper {
    background: #f5f5f5;
}

/* Top Bar */

.tessera-replies-bar {
    position: relative;
    list-style: none;
    margin: 1rem 0 -1.5rem 0;
    display: table;
    table-layout: auto;
    width: 100%;
    text-transform: uppercase;
    padding: 0px;
    background: #f5f5f5;
    color: inherit;
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.1);
}

.tessera-replies-bar li {
    display: table-cell;
    vertical-align: middle;
    line-height: 1;
    padding: 1.75rem 1.5rem;
    font-size: 1.15rem;
}

.tessera-replies-bar li.tessera-replies-links {
    font-size: 1rem;
}

.tessera-replies-title {
    text-align: left;
    font-weight: 700;
}

.tessera-replies-links {
    text-align: right;
}

.tessera-replies-links #subscription-toggle {
    margin-top: 0;
    display: inline-block;
    text-align: center;
    text-transform: none;
}

.tessera-replies-favorites {
    padding-left: 1rem;
}

.favorite-toggle,
.subscription-toggle {
    color: #465362;
}

.is-favorite .favorite-toggle,
.favorite-toggle:hover {
    color: #ba324f;
}

.is-subscribed .subscription-toggle,
.subscription-toggle:hover {
    color: #009ffd;
}

/* Replies */

.tessera-replies-wrapper {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
}

.tessera-replies-content,
.tessera-replies-author {
    display: table-cell;
    vertical-align: top;
}

.tessera-replies-content {
    width: 100%;
}

.tessera-replies-author {
    width: 170px;
    padding: 2rem 0;
    text-align: center;
    border-right: 1px solid #ddd;
}

.tessera-replies-author .bbp-author-avatar {
    display: block;
}

.tessera-replies-author .avatar {
    margin: 0 0 0.75rem 0;
    width: 80px;
    vertical-align: bottom;
}

.tessera-reply-wrapper {
    padding: 2rem;
}

.tessera-reply-wrapper > p:last-child {
    margin: 0px;
}

.tessera-replies-content-bar {
    padding: 1.25rem 1.5rem;
    display: table;
    table-layout: auto;
    width: 100%;
    background: #f5f5f5;
}

.bbp-replies > li > ul.bbp-threaded-replies .tessera-replies-content-bar {
    background: #fff;
}

.tessera-replies-content-bar-left,
.tessera-replies-content-bar-right {
    list-style: none;
    padding: 0px;
    margin: 0px;
    display: table-cell;
    vertical-align: middle;
}

.tessera-replies-content-bar-left {
    text-align: left;
}

.tessera-replies-content-bar-right {
    text-align: right;
}

.tessera-replies-content-bar-left > li,
.tessera-replies-content-bar-right > li {
    display: inline-block;
}

.tessera-replies-content-bar-right > li {
    padding-left: 0.75rem;
}

.tessera-replies-content-bar-right ul.nav li ul li a,
.tessera-replies-content-bar-right ul.nav li ul li a:hover {
    color: #fff;
}

.tessera-replies-content-bar,
.bbp-reply-ip,
.bbp-topic-ip {
    font-size: 80%
}

.tessera-replies-author .bbp-author-name {
    display: block;
    font-weight: 700;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.bbp-author-role {
    display: inline-block;
    padding: 0.4em 0.5rem;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
    background-color: #009ffd;
    margin-bottom: 0.25rem;
}

.bbp-reply-ip,
.bbp-topic-ip {
    display: block;
}

#bbp-cancel-reply-to-link {
    color: #fff;
    background-color: #ba324f;
    font-size: 0.9rem;
    display: inline-block;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 3px solid #ba324f;
    padding: 0.75rem 1.25rem;
    line-height: 1.5;
    border-radius: 0;
    box-shadow: none;
    transition: all ease-in-out 0.2s;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-transform: uppercase;
}

#bbp-cancel-reply-to-link:hover {
    color: #fff;
    background-color: #ff3037;
    border-color: #ff3037;
}

.tessera-popover {
    display: block;
    cursor: pointer;
}

.bbp-replies .bbp-breadcrumb {
    margin: 0px;
}

body.tessera .bbp-signature {
    border-top: 1px solid #dddddd;
    margin-top: 2rem;
    padding: 1rem 0 0 0;
    font-style: italic
}

body.bbp-user-edit fieldset span.description {
    margin: 5px 0 40px 0;
    font-size: 80%;
    font-style: italic;
    width: 100%;
    display: block
}

/* Revision */

.bbp-topic-revision-log {
    list-style: none;
    margin: 0;
    padding: 1rem;
    border-left: 3px solid #009ffd;
    background: #f5f5f5;
}

.bbp-topic-revision-log .avatar {
    border-radius: 100%;
}

#bbp-edit-topic-tag #tag-rename,
#bbp-edit-topic-tag #tag-merge {
    margin-bottom: 1.5rem;
}

#bbp-edit-topic-tag #tag-name {
    margin-bottom: 1rem;
}

/* ================= SEARCH RESULTS ================== */

body.bbp-search #bbpress-forums .bbp-pagination:first-of-type {
    margin-top:0;
}

.tessera-no-feedback .bbp-template-notice {
    margin: 0px;
    font-size: 1.15rem;
    font-style: italic;
}

.bbp-search-results {
    margin-top: 1.5rem;
}

.tessera-forum-search-result {
    position: relative;
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: table;
    table-layout: fixed;
    width: 100%;
    background: #f5f5f5;
}

.tessera-forum-search-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    line-height: 1;
    z-index: 1;
}

.tessera-forum-search-badge .badge {
    padding: 0.5rem 0.7rem;
    font-size: 80%;
}

.tessera-forum-search-result-title-meta {
    font-size: 90%;
    font-style: italic;
}

.tessera-forum-search-result-left,
.tessera-forum-search-result-right {
    display: table-cell;
    vertical-align: top;
}

.tessera-forum-search-result-left {
    width: 100px;
    padding-right: 20px;
}

.tessera-forum-search-result-left a {
    display: block;
}

.tessera-forum-search-result-right {
    width: 100%;
}

.tessera-forum-search-result-title h5 {
    margin: 0px;
    line-height: 1.5;
    display: block;
}

.tessera-forum-search-result-meta {
    display: inline-block;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.25rem;
    margin-bottom: 0.75rem;
    font-size: 80%;
}

/* ================= USER ================== */

#bbp-user-profile {
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

.tessera-user-wrapper {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.tessera-user-left,
.tessera-user-right {
    display: table-cell;
    vertical-align: top;
}

.tessera-user-left {
    width: 240px;
}

.tessera-user-right {
    width: 100%;
    padding-left: 60px;
}

#bbp-user-avatar {
    width: 100%;
    padding: 30px;
    border: none;
    background: #f5f5f5;
    margin-bottom: 3px;
}

#bbp-user-avatar img {
    max-width: 180px;
    width: 100%;
    height: auto;
    margin: 0px auto;
    display: block;
}

.tessera-subtitle-text {
    display: block;
    margin-bottom: 0.2rem;
}

.bbp-user-section-1 {
    margin-bottom: 2.5rem;
}

.tessera-edit-profile-section {
    margin-bottom: 2rem;
}

body.bbp-user-edit .entry-title {
    display: none;
}

.tessera-user-list-group.list-group .list-group-item {
    padding: 1.5rem;
    background-color: #fff;
}

.tessera-user-list-group.list-group .list-group-item p {
    margin: 0;
    line-height: 1.4;
    font-size: 1.1rem;
}

.tessera-user-list-group.list-group {
    background-color: #fff;
}

.tessera-user-list-group.list-group .list-group-item {
    border-left: none;
    border-right: none;
    border-bottom:1px solid #ddd;
}

.tessera-user-list-group.list-group .list-group-item:last-of-type {
    border:none;
}

#bbp-your-profile label {
    font-size: 90%;
    font-weight: bold;
}

#password label {
  display: block;
}

.password-button-wrapper {
  margin:1rem 0;
  display: flex;
}

.password-button-wrapper .button {
  margin-right: 0.5rem;
}

.password-button-wrapper .button .dashicons,
.password-button-wrapper .button .dashicons-before::before {
  font-size: 1rem;
  vertical-align: middle;
  width: auto;
}

#pass-strength-result {
  padding: 1rem;
   background: #f5f5f5;
  border-left:3px solid rgba(0,0,0,0.1);
}

#pass-strength-result.short {
  background: #ff5a5f;
  color:#fff;
}

#pass-strength-result.bad {
  background: #eca72c;
  color:#fff;
}

#pass-strength-result.good {
  background: #1d84b5;
  color:#fff;
}

#pass-strength-result.strong {
  background: #00a9a5;
  color:#fff;
}

#pass-strength-result.empty {
  display: none;
}

.pw-weak {
  padding: 1rem;
   background: #f5f5f5;
  border-left:3px solid rgba(0,0,0,0.1);
  margin-top: 1rem;
}

.pw-weak p {
  margin: 0;
  font-style:italic;
}

/* ================= CMB2 ================== */

#tessera_cmb2_user_avatar,
#tessera_cmb2_user_cover_image,
#cmb2-metabox-tessera_usercover .cmb2-upload-button {
    margin-bottom: 1rem
}

#cmb2-metabox-tessera_usercover .cmb2-upload-button {
    padding: 0.5rem 0.75rem;
    font-size: 0.8203125rem;
    line-height: 1.5;
}

#cmb2-metabox-tessera_usercover .cmb2-remove-file-button {
    color: #ba324f
}

#cmb2-metabox-tessera_usercover label {
    font-weight: 700;
    color: #364253;
    margin: 0;
}

#cmb2-metabox-tessera_usercover .cmb-row.cmb-type-file,
#cmb2-metabox-tessera_usercover .cmb-type-wysiwyg {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

#cmb2-metabox-tessera_usercover .cmb-type-wysiwyg .cmb-th,
#cmb2-metabox-tessera_usercover .cmb-type-wysiwyg .cmb-td {
    width: 100%;
}

#cmb2-metabox-tessera_usercover .cmb2-radio-list li {
    font-size: 1rem;
}

#cmb2-metabox-tessera_usercover .cmb2-radio-list li label {
    color: inherit;
    font-weight: normal
}

#cmb2-metabox-tessera_usercover > .cmb-row.cmb2-id-tessera-cmb2-date-of-birth,
#cmb2-metabox-tessera_usercover > .cmb-row.cmb2-id-tessera-cmb2-gender {
    margin-bottom: 0.5rem;
}

#cmb2-metabox-tessera_usercover > .cmb-row.cmb2-id-tessera-cmb2-location {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

#cmb2-metabox-tessera_usercover .cmb-th,
#cmb2-metabox-tessera_usercover .cmb-td {
    padding: 0 0 20px 0;
}

#cmb2-metabox-tessera_usercover > .cmb-row > .cmb-th {
    width: 30%;
}

#cmb2-metabox-tessera_usercover > .cmb-row > .cmb-td {
    width: 70%
}

#cmb2-metabox-tessera_usercover > .cmb2-id-tessera-cmb2user-icons > .cmb-td {
    width: 100%;
}

#cmb2-metabox-tessera_usercover .cmb-repeat-group-field,
#cmb2-metabox-tessera_usercover .cmb-type-group .cmb-remove-field-row {
    padding: 20px 20px 0px 20px;
}

#cmb2-metabox-tessera_usercover .cmb2-metabox-title {
    font-size: inherit;
}


#cmb2-metabox-tessera_usercover .cmb-repeatable-group .cmb-group-title {
    padding: 15px 15px 15px 40px;
    background-color: #f5f5f5;
    margin: 0;
    font-size: 1rem;
}

#cmb2-metabox-tessera_usercover .cmb-repeatable-group label {
    font-weight: normal;
    font-size: 90%;
}

#cmb2-metabox-tessera_usercover .cmb-type-group .cmb-row .cmbhandle {
    height: 50px;
    width: 50px;
    padding: 0
}

#cmb2-metabox-tessera_usercover .cmb-type-group .cmb-row .cmbhandle:before {
    line-height: 50px;
    padding: 0;
    text-align: center;
    right: auto;
    height: 50px;
    width: 50px;
}

#cmb2-metabox-tessera_usercover .cmb-type-group .cmb-repeatable-grouping {
    padding: 0
}

#cmb2-metabox-tessera_usercover button.dashicons-before.dashicons-no-alt.cmb-remove-group-row {
    line-height: 50px;
    top: 15px;
    height: 50px;
    padding: 0px 0px 0px 10px;
}

#cmb2-metabox-tessera_usercover input[type="text"] {
    width: 100%;
}

#cmb2-metabox-tessera_usercover .cmb2-metabox-description {
    padding-top: 5px;
}

#cmb2-metabox-tessera_usercover button.button-secondary {
    color: #fff;
    background-color: #009ffd;
    border-color: #009ffd;
    display: inline-block;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.8203125rem;
    line-height: 1.5;
    border-radius: 0;
    box-shadow: none !important;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-transform: uppercase;
}

#cmb2-metabox-tessera_usercover button.button-secondary:hover {
    color: #fff;
    background-color: #009ffd;
    border-color: #009ffd;
    opacity: 0.9;
}

#cmb2-metabox-tessera_usercover a.button-secondary {
    font-size: 0.925rem;
    background-color: #f5f5f5;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.8203125rem;
    cursor: pointer;
    margin: 0 1px 0 0;
}

#cmb2-metabox-tessera_usercover .dashicons {
    height: auto;
    line-height: 1
}

/* ================= USER BOXES ================== */

.tessera-user-boxes {
    display: table;
    table-layout: fixed;
    width: 100%;
    text-align: center;
    margin: 0px;
    border-bottom:1px solid #ddd;
}

.tessera-user-box {
    display: table-cell;
    vertical-align: top;
    width: 25%;
    padding: 3rem 1rem;
}

.tessera-user-box:nth-child(2) {
    border-right:1px solid #ddd;
    border-left:1px solid #ddd;
}

.tessera-user-box-icon {
    display: block;
}

.tessera-user-box-icon-inner {
    background: #2e5d9f;
    color: #fff;
    line-height: 1;
    display: inline-block;
    width: 70px;
    height: 70px;
    border-radius: 100%;
    line-height: 70px;
    font-size: 24px;
    margin-bottom: 1rem;

}

.tessera-user-box-info h5 {
    margin-bottom: 1rem;
}

.tessera-user-box .badge.badge-info,
.tessera-user-box .badge.badge-primary {
    font-size: 0.85rem;
    padding: 0.5rem 0.7rem;
}

.tessera-user-box-info p {
    margin: 0.75rem 0 0 0;
}

ul.tessera-user-icons {
    padding: 0;
    margin: 0;
    list-style: none;
}

ul.tessera-user-icons li {
    padding: 0;
    margin: 0;
    float: left;
}

ul.tessera-user-icons li a {
    display: block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 100%;
    margin: 0 5px 0 0;
    transition: opacity 0.15s ease;
    font-size: 15px;
}

ul.tessera-user-icons li a:hover {
    opacity: 0.9;
}

/* ================= WIDGETS ================== */

.widget_display_forums ul li a,
.widget_display_views ul li a,
.widget_display_stats ul li a,
.widget_display_replies ul li a,
.widget_display_topics ul li a {
    -webkit-transition: color 0.2s ease-in-out;
    -moz-transition: color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
    margin: 0px !important;
    font-weight: normal !important;
}

.widget_display_forums ul,
.widget_display_views ul,
.widget_display_stats ul,
.widget_display_replies ul,
.widget_display_topics ul {
    list-style: none;
    padding: 0;
    margin: 0;
    vertical-align: bottom;
}

.widget_display_forums ul li,
.widget_display_views ul li,
.widget_display_stats ul li,
.widget_display_replies ul li,
.widget_display_topics ul li {
    position: relative;
    padding: 0px 0px 12px 0px;
    margin: 0px 0px 12px 0px;
    border-bottom: 1px solid #ddd;
}

.widget_display_forums ul li:last-child,
.widget_display_views ul li:last-child,
.widget_display_stats ul li:last-child,
.widget_display_replies ul li:last-child,
.widget_display_topics ul li:last-child {
    padding: 0px;
    margin: 0px;
    border: none;
}

.widget_display_topics ul li .avatar,
.widget_display_replies ul li .avatar {
    border-radius: 100%;
}

.widget_display_topics ul li div,
.widget_display_replies ul li div {
    font-size: 80%;
    margin-top: 0.2rem;
    opacity: 0.7;
    position: relative;
}

.widget_display_topics ul li div:before,
.widget_display_replies ul li div:before {
    font-family: 'FontAwesome';
    content: "\f017";
    speak: none;
    text-indent: 0em;
    text-align: center;
    font-style: normal;
    padding-right: 5px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Statistics */

.tessera-statistics-wrapper {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom:1px solid #ddd;
    position: relative;
}

#tessera-footer .tessera-statistics-wrapper:last-child,
.tessera-statistics-wrapper:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border:none;
}

.tessera-statistics-icon,
.tessera-statistics {
    display: table-cell;
    vertical-align: middle;
}

.tessera-statistics-icon {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 20%;
    text-align: right;
}

.tessera-statistics-icon .badge {
  font-size:75%;
}

.tessera-statistics {
    width: 80%;
}

/* Login */

.bbp_widget_login {
    background: #f5f5f5;
    padding: 2rem;
    border-top: 5px solid #2e5d9f;
}

.bbp_widget_login label {
    font-size: 0.9rem;
    margin: 0;
}

.bbp_widget_login .bbp-remember-me label {
    text-transform: none;
}

.bbp_widget_login input {
    padding: 0.75rem !important;
    font-size: 0.9rem !important;
}

.bbp_widget_login a.button,
.bbp_widget_login a.button:hover {
    color: #fff !important;
}

.bbp_widget_login .bbp-logged-in {
    text-align: center;
}

.bbp_widget_login .bbp-logged-in a {
    display: block;
    margin: 0 -1px;
}

.bbp_widget_login .bbp-logged-in .avatar {
    margin: 0.5rem 0;
    border-radius: 100%;
    display: none;
}

.bbp_widget_login .button,
.bbp_widget_login .button:hover {
    color: #fff;
}

.bbp_widget_login legend {
    font-weight: 700;
    font-size: 1.45rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #364253;
}

.bbp_widget_login .bbp-username {
    margin-bottom: 1.5rem;
}

.bbp_widget_login .bbp-login-links {
    margin-top: 1.5rem;
}

.bbp_widget_login .bbp-login-links a {
    margin-right: 0.5rem;
}

/* ================= MEDIA ================== */

@media only screen and (max-width: 1439px) {
    .tessera-forum-left,
    .tessera-freshness-right {
        display: none;
    }
}

@media only screen and (max-width: 1199px) {
    .tessera-forum-left {
        width: 75px;
        padding-right: 1rem;
    }
    .bbp-header > ul > li,
    .bbp-body > ul > li {
        padding: 1rem;
    }
    .bbp-template-notice,
    .bbp-breadcrumb,
    .tessera-replies-bar li {
        padding: 1rem;
    }
    .tessera-replies-bar li {
        padding: 1.5rem 1rem;
    }
    .tessera-reply-wrapper,
    .tessera-replies-content-bar {
        padding: 1rem;
    }
    .tessera-user-left {
        width: 200px;
    }
    .tessera-user-right {
        padding-left: 40px;
    }
    #bbp-user-avatar img {
        max-width: 140px;
    }
}

@media only screen and (max-width: 991px) {
    .tessera-user-wrapper,
    .tessera-user-left,
    .tessera-user-right {
        display: block;
        width: 100%;
    }
    .tessera-user-left {
        margin-bottom: 4rem;
    }
    .tessera-user-right {
        padding: 0px;
    }
    #bbp-user-avatar img {
        max-width: 120px;
        border-radius: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .bbp-header ul li.bbp-forum-info,
    .bbp-body ul li.bbp-forum-info {
        width: 80%;
    }
    .bbp-header ul li.bbp-forum-freshness,
    .bbp-body ul li.bbp-forum-freshness,
    .bbp-header ul li.bbp-topic-freshness,
    .bbp-body ul li.bbp-topic-freshness,
    .bbp-header ul li.bbp-forum-reply-count,
    .bbp-body ul li.bbp-forum-reply-count,
    .bbp-header ul li.bbp-topic-voice-count,
    .bbp-body ul li.bbp-topic-voice-count {
        display: none;
    }
    .bbp-header ul li.bbp-topic-reply-count,
    .bbp-body ul li.bbp-topic-reply-count,
    .bbp-header ul li.bbp-forum-topic-count,
    .bbp-body ul li.bbp-forum-topic-count {
        border: none;
    }
    .bbp-header ul li.bbp-forum-topic-count,
    .bbp-body ul li.bbp-forum-topic-count,
    .bbp-header ul li.bbp-topic-reply-count,
    .bbp-body ul li.bbp-topic-reply-count {
        width: 20%;
    }
    .bbp-pagination,
    .bbp-pagination-count,
    .bbp-pagination-links {
        display: block;
        text-align: center;
    }
    .bbp-pagination-links {
        margin-top: 0.5rem;
    }
    .tessera-replies-wrapper,
    .tessera-replies-content {
        display: block;
        width: 100%;
    }
    .tessera-replies-author {
        display: table;
        table-layout: fixed;
        width: 100%;
        padding: 1rem;
        text-align: inherit;
        border: none;
        border-bottom: 1px solid #ddd;
    }
    .tessera-replies-author-img,
    .tessera-replies-author-info {
        display: table-cell;
        vertical-align: top;
    }
    .tessera-replies-author-img {
        width: 60px;
    }
    .tessera-replies-author-info {
        padding: 0 1rem;
    }
    .bbp-replies div.reply:last-of-type {
        border-bottom: none
    }
    .tessera-replies-author .bbp-author-avatar .avatar {
        width: 60px;
    }
    .tessera-user-boxes,
    .tessera-user-box {
        display: block;
        width: 100%;
    }
    .tessera-user-box:nth-child(2) {
        border-top:1px solid #ddd;
        border-bottom:1px solid #ddd;
        border-right: none;
        border-left: none;
    }
    .tessera-user-box {
        padding: 2rem 1rem;
    }
    #cmb2-metabox-tessera_usercover .cmb2-id-tessera-cmb2user-icons .cmb-td,
    #cmb2-metabox-tessera_usercover .cmb2-id-tessera-cmb2user-icons .cmb-th {
        width: 100%;
    }
}

@media only screen and (max-width: 576px) {
    #bbp-user-avatar img {
        max-width: 80px;
    }
    .tessera-pending-img {
        display: none;
    }
    #cmb2-metabox-tessera_usercover > .cmb-row > .cmb-th,
    #cmb2-metabox-tessera_usercover > .cmb-row > .cmb-td {
        width: 100%;
    }
    .bbp-threaded-replies {
        margin: 0 !important;
    }
    .tessera-user-left {
        margin-bottom: 2rem;
    }
}

@media only screen and (max-width: 480px) {
    .bbp-template-notice,
    .bbp-search-form,
    .bbp-breadcrumb {
        margin-bottom: 20px;
    }
    .tessera-reply-wrapper blockquote {
        padding: 20px;
    }
    .tessera-forum-search-result-left {
        display: none;
    }
}
