/* 
Theme Name: Hero Theme
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
.body.forums, .body.topics, .body.buddypress, #bbpress-forums .bbp-the-list .bbp-item.bbp-row {
    font-family: var(--e-global-typography-text-font-family);
    color: var(--e-global-color-text),
}
.forums h1, .forums h2, .forums h3, .forums h4, .forums h5, .forums h6, .topics h1, .topics h2, .topics h3, .topics h4, .topics h5, .topics h6, .buddypress h1, .buddypress h2, .buddypress h3, .buddypress h4, .buddypress h5, .buddypress h6, #bbpress-forums .bbp-the-list .bbp-item.bbp-header, body.buddypress .buddypress-wrap h1, body.buddypress .buddypress-wrap h2, body.buddypress .buddypress-wrap h3, body.buddypress .buddypress-wrap h4, body.buddypress .buddypress-wrap h5, body.buddypress .buddypress-wrap h6 {
    font-family: var(--e-global-typography-primary-font-family);
    color: var(--e-global-color-secondary);
    font-weight: var(--e-global-typography-primary-font-weight);
    margin: inherit !important;
    padding: inherit !important;
}
#bbpress-forums a, #bbpress-forums .bbp-the-list .bbp-item.bbp-row a, #bbpress-forums .bbp-the-list.bbp-list-content .bbp-item.bbp-body .bbp-post-author a, #bbpress-forums fieldset.bbp-form a {
    color: var(--e-global-color-text);
}
#bbpress-forums a:hover, #bbpress-forums .bbp-the-list .bbp-item.bbp-row a:hover, #bbpress-forums .bbp-the-list.bbp-list-content .bbp-item.bbp-body .bbp-post-author a:hover, #bbpress-forums fieldset.bbp-form a:hover {
    color: var(--e-global-color-accent);
}
#bbpress-forums a {
    transition: all .3s;
}
#bbpress-forums fieldset.bbp-form button[type="submit"], #bbpress-forums fieldset.submit button[type="submit"] {
    background-color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-weight: var(--e-global-typography-accent-font-weight);
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
    border-radius: 30px 30px 30px 30px;
    padding: 15px 30px 15px 30px;
    color: var(--e-global-color-a17180f);
    border-style: none;
}
#bbpress-forums fieldset.bbp-form button[type="submit"]:hover, #bbpress-forums fieldset.submit button[type="submit"]:hover {
    background-color: var(--e-global-color-accent);
    color: var(--e-global-color-a17180f);
}
/* --- ACCUEIL --- */
.hr-sepa {
    display: none;
}
/* --- PAGE THEMATIQUE --- */
#page-thematique {
    min-height: 63vh;
}
#forum-filters .filter-button {
    background: #e2e8f0;
    color: var(--e-global-color-text);
}
#forum-filters .filter-button.active {
    background: var(--e-global-color-primary);
    color: var(--e-global-color-a17180f);
}
#forum-filters .filter-button:hover {
    background: var(--e-global-color-accent);
    color: var(--e-global-color-a17180f);
}
/* --- BUDYYPRESS --- */
.hero-profile .elementor-shape .elementor-shape-fill {
    fill: #EDF2F7;
}
/* 1. Scroll horizontal pour le menu principal */
body.buddypress #buddypress .main-navs .bp-priority-object-nav-nav-items {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 5px;
}
body.buddypress #buddypress .main-navs .bp-priority-object-nav-nav-items li {
    flex: 0 0 auto;
    white-space: nowrap;
}
body.buddypress #buddypress .main-navs .bp-priority-object-nav-nav-items::-webkit-scrollbar {
    display: none;
}
/* 2. Scroll horizontal pour la sous-navigation */
body.buddypress #buddypress .bp-subnavs .subnav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
body.buddypress #buddypress .bp-subnavs .subnav li {
    flex: 0 0 auto;
    white-space: nowrap;
}
body.buddypress #buddypress .bp-subnavs .subnav::-webkit-scrollbar {
    display: none;
}
.bbp-user-profile-container {
    display: flex;
    gap: 20px;
}
#bbp-user-engagements, #bbp-user-favorites, #bbp-user-replies-created, #bbp-user-favorites, #bbp-user-subscriptions {
    width: 70%;
}
.bbp-user-sidebar {
    width: 30%;
    padding: 0 20px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 25px;
}
#buddypress.bbp-user-sidebar h5.entry-title {
    padding-top: 0;
}
.bpb-settings-container #forum-filters {
    gap: 3px;
}
.bpb-settings-container #forum-filters .filter-button.active {
    background: #e2e8f0;
}
.bbp-user-sidebar .chb-forum-container {
    display: block;
    padding-bottom: 20px;
}
.bbp-user-sidebar .chb-forum-link, .bbp-user-sidebar .chb-forum-block {
    border-radius: 5px;
}
.bbp-user-sidebar .chb-forum-block {
    background: transparent;
    box-shadow: none;
    padding: 0 15px;
}
.bbp-user-sidebar #no-forums-message {
    font-size: 12px;
    padding: 0;
    margin-top: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.bbp-user-sidebar .chb-status, #bbp-user-replies-created .bbp-admin-links, .bbp-user-sidebar .forum-data-content p {
    display: none;
}
#buddypress .bbp-user-sidebar .chb-forum-block h4 {
    font-size: 16px;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}
.bbp-user-sidebar .forum-data {
    gap: 0px;
}
.bbp-user-sidebar .forum-data-icons {
    gap: 10px;
}
.bbp-user-sidebar .chb-tooltip {
    gap: 10px;
}
.bbp-user-sidebar .forum-data-content svg {
    width: 15px;
    height: 15px;
}
.bbp-user-sidebar .chb-forum-block .forum-data-date {
    font-size: 12px;
}
.bbp-user-sidebar .hr-sepa {
    padding: 20px 0 0 0;
    display: block;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}
.bbp-user-sidebar .hr-sepa:last-child {
    padding: 0;
}
/* --- BBPRESS --- */
.buddypress-wrap .bp-subnavs {
    border-radius: 5px;
}
#bbp-container .bbp-template-notice, #bbpress-forums .bbp-template-notice {
    border: none;
    margin: 10px 0;
    padding: 0;
    background-color: #ebf8ff;
    color: #2b6cb0;
    border-radius: 3px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
}
#bbp-container .bbp-template-notice::before, #bbpress-forums .bbp-template-notice::before {
    background-color: #4299e1;
    content: "\f348";
    color: #fff;
    font-family: dashicons;
    font-size: 20px;
    height: 50px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px 0 0 3px;
}
#bbpress-forums .bbp-the-list .bbp-item.bbp-header {
    background: #e2e8f0;
    border-radius: 5px 5px 0 0;
}
#bbpress-forums .bbp-the-list .bbp-item .bbp-item-meta > div {
    border-left: none;
}
#bbpress-forums .bbp-the-list .bbp-item {
    border-bottom: 1px solid #E2E8F0;
}
#bbpress-forums .bbp-the-list .bbp-item.bbp-row {
    background: #fff;
    transition: all .3s;
}
#bbpress-forums .bbp-the-list .bbp-item.bbp-row:hover {
    background-color: #EDF2F7;
}
.bbp-item-activity.bbp-forum-activity a {
    font-size: 11px;
}
#bbpress-forums #bbp-user-replies-created .bbp-the-list .bbp-item.bbp-header {
    margin-bottom: 15px;
    text-align: center;
}
#bbpress-forums #bbp-user-replies-created .bbp-the-list.bbp-list-content .bbp-item.bbp-body .bbp-post-author {
    background: #EDF2F7;
    color: #222;
    border-right: 1px solid #fff;
}
#bbpress-forums #bbp-user-replies-created .bbp-the-list.bbp-list-content .bbp-item.bbp-body {
    border: 1px solid #E2E8F0;
    margin-bottom: 15px;
}
#bbpress-forums .bbp-item .bbp-post-controls {
    border-bottom: 1px solid #E2E8F0;
}
#bbpress-forums .bbp-topic-ip {
    display: none;
}
#bbpress-forums #bbp-user-subscriptions .bbp-the-list .bbp-item .bbp-item-info .bbp-item-info-title {
    line-height: inherit;
    font-size: inherit;
    font-weight: inherit;
}
#bbpress-forums .bbp-banner-actions {
    background: #EDF2F7;
    color: inherit;
    border-radius: 5px;
}
#bbpress-forums .bbp-banner-actions span.banner-button {
    background-color: var(--e-global-color-accent);
}
#bbpress-forums .bbp-the-list.bbp-list-content .bbp-item.bbp-body .bbp-post-author {
    background: #EDF2F7;
    color: inherit;
    border-radius: 15px;
}
#bbpress-forums .bbp-list-replies .bbp-item.bbp-header {
    margin-bottom: 15px;
}
#bbpress-forums .bbp-the-list.bbp-list-content .bbp-item.bbp-header .bbp-item-info {
    flex: 1 1 180px;
}
#bbpress-forums .bbp-the-list.bbp-list-content .bbp-item.bbp-header .bbp-item-meta {
    flex: 1 0 calc(100% - 180px);
}
html body .lb-tt.lb-share-tt {
    opacity: 0 !important;
}
#bbpress-forums .lb-style-bootstrap .lb-like.lb-voted {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #449d44;
}
#bbpress-forums .bbp-the-list.bbp-list-content.bbp-lead-topic .bbp-item.bbp-body, #bbpress-forums .bbp-the-list.bbp-list-content.bbp-list-replies .bbp-item.bbp-body {
    margin-bottom: 0;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 15px;
    padding-top: 15px;
    border-top: none;
    border-right: none;
    border-left: none;
    padding-left: 15px;
}
#bbpress-forums fieldset.bbp-form {
    border: 1px solid #E2E8F0;
    background: #fff;
    color: inherit;
    border-radius: 5px;
    padding: 15px;
}
#bbpress-forums #new-post .bbp-template-notice, #bbpress-forums .bbp-post-permalink {
    display: none;
}
#bbpress-forums fieldset.bbp-form legend {
    background: #e2e8f0;
    font-size: inherit;
    font-weight: 500;
    border-radius: 5px;
    white-space: inherit;
    padding: 10px;
    position: relative;
    color: var(--e-global-color-text);
}
#bbpress-forums .bbp-banner-actions span.banner-button, #bbpress-forums .bbp-reply-to-link, #bbpress-forums .bbp-topic-reply-link, .bbp-admin-links a {
    color: #fff;
    background-color: var(--e-global-color-accent);
    padding: 10px 25px;
    display: inline-flex;
    align-items: center;
    width: auto;
    border-radius: 3px;
    transition: all .3s;
}
#bbpress-forums .bbp-banner-actions span.banner-button:hover, #bbpress-forums .bbp-reply-to-link:hover, #bbpress-forums .bbp-topic-reply-link:hover, .bbp-admin-links a:hover {
    color: #fff;
    background-color: var(--e-global-color-primary);
    text-decoration: none;
}
#bbpress-forums .bbp-reply-to-link::before, #bbpress-forums .bbp-topic-reply-link::before, .bbp-admin-links a::before {
    content: "\f10f";
    font-family: "gdqnt";
    font-size: 14px;
    line-height: normal;
    margin-right: 5px;
}
#bbpress-forums .bbp-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#bbpress-forums #bbp_reply_content {
    border: 1px solid #E2E8F0;
    color: inherit;
    border-radius: 30px;
}
#bbpress-forums fieldset.bbp-form .bbp-form-field label, #bbpress-forums fieldset.bbp-form .bbp-the-content-wrapper label, #bbpress-forums fieldset.bbp-form legend label, #bbpress-forums fieldset.bbp-form > div label, #bbpress-forums fieldset.bbp-form > div > p label, .gdqnt-widget .bbp-login-form fieldset > div label, .widget .bbp-login-form fieldset > div label {
    display: inline-block;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}
#bbpress-forums #bbp-container .bbp-template-notice.info, #bbpress-forums .bbp-template-notice.info {
    border-left: 5px solid #4299e1;
}
#bbpress-forums #bbp-container .bbp-template-notice.info, #bbpress-forums .bbp-template-notice.info {
    background-color: #ebf8ff;
    color: #2b6cb0;
    border: none;
}

.bp-widget.base h3{
	display:none;
}

html body .buddypress-wrap .item-body .profile.public h2 {
  margin-bottom: 15px !important;
}

.profile-fields.bp-tables-user a{
	pointer-events: none;
	color:var(--e-global-color-text);
}

#your-profile .chb-toggle-password{
	display:none;
}
/* --- QUESTIONNAIRE --- */
#survey-sections-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.survey-section-frontend {
    margin-bottom: 30px;
}
.survey-section-frontend h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #2c3e50;
    border-left: 4px solid var(--e-global-color-primary);
    padding-left: 10px;
}
.survey-question-wrapper {
    margin-bottom: 25px;
}
.survey-question p {
    font-weight: 600;
    margin-bottom: 10px;
}
.survey-question-wrapper label, .survey-question-wrapper select, .survey-question-wrapper textarea {
    display: block;
    margin: 8px 0;
    font-size: 1rem;
}
.survey-question-wrapper input[type="radio"] {
    margin-right: 8px;
}
.survey-question-wrapper select, .survey-question-wrapper textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--e-global-color-4df1eea);
    border-radius: 6px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}
.survey-question-wrapper select:focus, .survey-question-wrapper textarea:focus {
    border-color: var(--e-global-color-accent);
    outline: none;
    background-color: #fff;
}
#survey-sections-wrapper textarea {
    min-height: 100px;
    resize: vertical;
}
.survey-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.survey-nav button:hover:not([disabled]) {
    background-color: var(--e-global-color-accent);
}
.survey-nav button[disabled] {
    background-color: #cccccc;
    cursor: not-allowed;
}
#survey-sections-wrapper .privacy-acceptance {
    font-size: 0.95rem;
    color: #555;
}
#survey-sections-wrapper .privacy-acceptance a {
    color: var(--e-global-color-primary);
    text-decoration: underline;
}
#survey-sections-wrapper .privacy-acceptance input[type="checkbox"] {
    margin-right: 8px;
}
/* --- PAGE DE CONNEXION ET INSCRIPTION --- */
.tml.tml-login, .tml.tml-lostpassword, #signup-form {
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.tml.tml-login, .tml.tml-lostpassword {
    max-width: 800px;
}
.tml.tml-login #user_login, .tml.tml-login #user_pass {
    padding: 15px;
}
#signup-form #basic-details-section input, #profile-details-section input, .tml.tml-lostpassword #user_login {
    padding: 15px;
}
#signup-form .privacy-policy-accept {
    text-align: right;
    margin-bottom: 15px;
}
/* --- FOOTER --- */
div.tnp-subscription {
    margin: 0;
    max-width: 100%;
    width: 100%;
    display: block;
}
div.tnp-subscription form {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.tnp-subscription div.tnp-field {
    margin-bottom: 0;
}
.tnp-subscription .tnp-field.tnp-field-email {
    flex: 1;
}
.tnp.tnp-subscription .tnp-field .tnp-email {
    background-color: #ffffff;
    border: 1px solid var(--e-global-color-4df1eea);
    border-radius: 30px 30px 30px 30px;
    font-size: 16px;
    font-weight: normal;
    line-height: inherit;
    padding: 15px;
}
.tnp-field.tnp-field-button .tnp-submit {
    background-color: var(--e-global-color-primary);
    color: #fff;
    font-size: 16px;
    padding: 15px;
}

#activation-form .submit input[type="submit"]{
  background-color: var(--e-global-color-primary);
  color: #fff;
  font-size: 16px;
  padding: 15px;
	border:none;
		border-radius: 30px;
}

#activation-form .submit input[type="submit"]:hover{
  background-color: var(--e-global-color-accent);
  color: #fff;
  border:none;
}




@media screen and (max-width: 991px) {
    .bbp-user-profile-container {
        display: block;
    }
    #bbp-user-engagements, #bbp-user-favorites, #bbp-user-replies-created, #bbp-user-favorites, #bbp-user-subscriptions {
        width: 100%;
    }
    .bbp-user-sidebar {
        width: 100%;
        padding: 10px 0 0 0;
        border-left: none;
        margin-top: 40px;
        border-top: 1px solid #E2E8F0;
    }
}
@media screen and (max-width: 776px) {
    .news-footer .elementor-widget-html {
        width: 100%;
    }
    div.tnp-subscription form {
        display: block;
    }
    .tnp-subscription .tnp-field.tnp-field-email {
        margin-bottom: 15px;
    }
}
@media only screen and (max-width: 540px) {
    body #bbpress-forums .bbp-pagination .bbp-pagination-count {
        text-align: left;
    }
}