/*
Theme Name:     Wordpress Elementor Child
Theme URI:      https://www.net-tic.net
Description:    Thème Wordpress Elementor
Author:         Net&Tic
Author URI:     https://www.net-tic.net
Template:       wordpress-elementor
Version:        20251219
Text Domain:    wordpresselementor
*/


/*************************
*****  tarteaucitron *****
**************************/

body {
    --tac-font-family: var(--e-global-typography-primary-font-family);
    --tac-background-color: #F5F5F5;
    --tac-text-color: #333;
    --tac-mainline-background-color: var(--tac-background-color);
    --tac-mainline-color: var(--tac-text-color);
    --tac-infos-border-color: #333;
    --tac-privacy-button-backgound-color: black;
    --tac-privacy-button-backgound-color-hover: var(--e-global-color-primary);
    --tac-service-line-background-color: white;
    --tac-service-line-title-background-color: #EBEBEB;
    --tac-service-line-title-text-color: #444;
    --tac-buttons-accept-background-color: var(--e-global-color-primary);
    --tac-buttons-accept-color: white;
}



/*************************
*******  Quick menu ******
**************************/

html body .nt-sticky-button {
    /*--nt-sticky-buttons--main-color: var(--e-global-color-primary);
    --nt-sticky-buttons--text-color: white;
    --nt-sticky-buttons--top: 55%;
    --nt-sticky-buttons--right: 50px;
    --nt-sticky-buttons--gap: 10px;
    --nt-sticky-buttons--z-index: 2;
    --nt-sticky-buttons--width: 57px;
    --nt-sticky-buttons--height: 57px;
    --nt-sticky-buttons--picto-width: 30px;
    --nt-sticky-buttons--picto-height: 30px;*/
    --nt-sticky-buttons--right: 0;
    --nt-sticky-buttons--border-radius: 0;
    --nt-sticky-buttons--extend-width: 250px;
}

/**********************
*******  BBPress ******
***********************/

#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results,
#bbpress-forums ul.bbp-topics {
    font-size: 1rem;
}
#bbpress-forums,
div.bbp-template-notice li,
div.bbp-template-notice p {
    font-size: 0.875rem;
}
#bbpress-forums .bbp-forum-info .bbp-forum-content,
#bbpress-forums p.bbp-topic-meta,
.bbp-replies-list .bbp-reply-author {
    font-size: 0.8125rem;
}
#bbpress-forums li.bbp-footer .bbp-forum-author,
#bbpress-forums li.bbp-footer .bbp-reply-author,
#bbpress-forums li.bbp-footer .bbp-search-author,
#bbpress-forums li.bbp-footer .bbp-topic-author,
#bbpress-forums li.bbp-header .bbp-forum-author,
#bbpress-forums li.bbp-header .bbp-reply-author,
#bbpress-forums li.bbp-header .bbp-search-author,
#bbpress-forums li.bbp-header .bbp-topic-author,
#bbpress-forums div.bbp-forum-author,
#bbpress-forums div.bbp-reply-author,
#bbpress-forums div.bbp-topic-author{
    width: 180px;
}
#bbpress-forums li.bbp-footer .bbp-forum-content,
#bbpress-forums li.bbp-footer .bbp-reply-content,
#bbpress-forums li.bbp-footer .bbp-search-content,
#bbpress-forums li.bbp-footer .bbp-topic-content,
#bbpress-forums li.bbp-header .bbp-forum-content,
#bbpress-forums li.bbp-header .bbp-reply-content,
#bbpress-forums li.bbp-header .bbp-search-content,
#bbpress-forums li.bbp-header .bbp-topic-content,
#bbpress-forums div.bbp-forum-content,
#bbpress-forums div.bbp-reply-content,
#bbpress-forums div.bbp-topic-content {
    margin-left: 200px;
}
#bbp-search-form > div {
    display: flex;
    gap: 0;
    align-items: stretch;
    margin-bottom: 10px;
}
#bbpress-forums #bbp-search-form #bbp_search {
    height: 41px;
    padding-inline: 10px;
    border: 1px solid #DEDEDE;
    border-radius: 0;
}




/******************************
***********  WpForo  **********
*******************************/

#wpforo {
    max-width: 1420px;
    padding: 0 50px;
    margin: 0 auto;
}
body #wpforo #wpforo-wrap .wpf-head-bar,
body #wpforo #wpforo-wrap .wpforo-recent-activity-wrap .wpf-head-bar {
    border-bottom-right-radius: 30px;
}
.wpf-footer-box:has(.wpf-newest-member) {
    display: none;
}
#wpforo-poweredby {
    display: none;
}
@media (max-width: 1200px) {
    #wpforo {
        padding: 0 30px;
    }
}
@media (max-width: 767px) {
    #wpforo {
        padding: 0 15px;
    }
}


/******************************
***********  Divers  **********
*******************************/

a.nt-button,
button.nt-button,
.nt-button .elementor-button {
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 10px, 100% 100%, 0 100%);
    line-height: 1.25!important;
}
.nt-account-button {
    background: var(--e-global-color-primary)!important;
    display: flex!important;
    align-items: center;
    gap: 7px;
}
.nt-account-button svg {
    height: 20px;
    width: 20px;
}
.nt-account-button:hover,
.nt-account-button:focus {
    background: var( --e-global-color-10b7318 )!important;
}
.nt-account-button__label{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    max-width: 200px;
}
@media (max-width: 1650px) {
    .nt-account-button__label{
        max-width: 120px;
    }
}
@media (max-width: 767px) {
    .nt-account-button {
        padding: 6px 12px!important;
    }
    .nt-account-button__label {
        font-size: 13px;
    }
    .nt-account-button svg {
        height: 11px;
        width: 11px;
    }
    .nt-account-button__label{
        max-width: 93px;
    }
}
.nt-message-secure-page {
    padding: 18px 20px 50px;
    text-align: center;
}
.nt-form .wp-editor-wrap .mce-panel button,
.mce-toolbar-grp .mce-container-body button {
    background-color: white;
}
.nt-form .wp-editor-wrap button:hover,
.nt-form .wp-editor-wrap button:focus,
.mce-toolbar-grp .mce-container-body button:hover,
.mce-toolbar-grp .mce-container-body button:focus {
    background-color: #DEDEDE;
}
.mce-toolbar .mce-btn-group .mce-btn.mce-primary,
.mce-window .mce-btn.mce-primary {
    background-color: var(--e-global-color-primary) !important;
    border-color: var(--e-global-color-primary) !important;
}
.mce-toolbar .mce-btn-group .mce-btn.mce-primary button,
.mce-window .mce-btn.mce-primary button,
.mce-window .mce-window-head .mce-close,
.mce-window-head .mce-close .mce-i-remove {
    background-color: transparent!important;
}
.mce-btn button {
    background-color: inherit!important;
}
body.wp-singular #wplink-link-existing-content,
body.wp-singular #search-panel {
    display: none!important;
}

@media (min-width: 1201px) {
    .nt-sub-menu-association nav > ul {
        column-count: 2;
        column-gap: 24px;
    }
    .nt-sub-menu-association nav > ul > li {
        break-inside: avoid;
    }
}
body .nt-form .nt-form-line label:not(.autowidth) {
    flex: 0 0 120px;
}
.nt-signup-adherent-only-fields,
.nt-signup-partenaire-only-fields {
    display: none;
}

#nt-header {
    position: sticky;
    top: 0;
    z-index: 2;
}

body #nt-header-container > .e-con-inner {
    transition: .3s;
}

@media (min-width: 1201px) {
    body.nt-sticky #nt-header-container > .e-con-inner {
        padding-block: 6px;
    }
    body #nt-header .elementor-widget-theme-site-logo img {
        transition: .3s;
    }
    body.nt-sticky #nt-header .elementor-widget-theme-site-logo img {
        width: 140px;
    }
    body.nt-sticky #nt-header .e-n-menu-content .e-con.e-child {
        --margin-top: 9px;
    }
}



/************************
 *       CARD           *
 ***********************/

.nt-documentheque-item .nt-documentheque-item--link  {
    border: 1px solid var( --e-global-color-primary );
    display: flex;
    gap: 18px;
    color: inherit;
    align-items: center;
    padding: 24px 36px;
    text-decoration: none;
    position: relative;
    transition: all .3s;
}
.nt-documentheque-item .nt-documentheque-item-infos {
    flex: 0 0 250px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.nt-documentheque-item .nt-documentheque-item--date {
    background: var( --e-global-color-primary );
    border-radius: 15px;
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
    padding: 2px 12px;
    flex: 0 0 112px;
    text-align: center;
    max-width: 112px;
}
.nt-documentheque-item .nt-documentheque-item--title {
    margin: 0;
    flex: 0 1 100%;
    font-size: 1.375rem;
    font-weight: bold;
    max-width: 100%;
}
.nt-documentheque-item .nt-documentheque-item--metas {
    margin: 0;
    font-size: 0.875rem;
    flex: 0 0 140px;
    transition: .3s;
}
.nt-documentheque-item .nt-documentheque-item--tag-new {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var( --e-global-color-secondary );
    color: white;
    font-size: 0.75rem;
    padding: 0 10px;
    border-radius: 100px;
    line-height: 1.9;
}

body .nt-documentheque-item .nt-documentheque-item--cover {
    border: 1px solid #F0F0F0;
    max-height: 200px;
    width: auto;
}

.nt-documentheque-item .nt-documentheque-item--link:hover,
.nt-documentheque-item .nt-documentheque-item--link:focus {
    background: var( --e-global-color-primary );
    color: white;
}
.nt-documentheque-item .nt-documentheque-item--link:hover .nt-documentheque-item--date,
.nt-documentheque-item .nt-documentheque-item--link:focus .nt-documentheque-item--date {
    background: #101c3f;
}
.nt-documentheque-item .nt-documentheque-item--link:hover .nt-documentheque-item--metas,
.nt-documentheque-item .nt-documentheque-item--link:focus .nt-documentheque-item--metas {
    color: white;
}

@media (max-width: 767px) {
    .nt-documentheque-item .nt-documentheque-item--link {
        display: block;
        text-align: center;
    }
    .nt-documentheque-item .nt-documentheque-item--date {
        margin-bottom: 12px;
    }
    .nt-documentheque-item .nt-documentheque-item--title {
        margin-bottom: 12px;
    }
}



/************************
 *       CARD GRID      *
 ***********************/

.nt-documentheque-listing--grid {
    flex-wrap: wrap;
    flex-direction: row;
}

.nt-documentheque-item--grid {
    max-width: calc(33.33% - 16px);
    flex: 0 0 calc(33.33% - 16px);
}
.nt-documentheque-item--grid .nt-documentheque-item--link {
    flex-direction: column;
    gap: 10px;
    padding: 12px 18px;
}
.nt-documentheque-item--grid .nt-documentheque-item-infos {
    width: 100%;
    flex: none;
}
.nt-documentheque-item--grid .nt-documentheque-item--title {
    font-size: 1.125rem;
    font-weight: 600;
    height: 76px;
    min-height: 76px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-align: center;
    padding-right: 0;
    padding-left: 0!important;
}
@media (max-width: 767px) {
    html body .nt-documentheque-item--grid .nt-documentheque-item--title {
        font-size: 0.8125rem;
        line-height: 1.25;
        height: 50px;
        min-height: 50px;
    }
}
.nt-documentheque-item--grid img {
    margin: 0;
}


/************************
 *       CARD VIDEO     *
 ***********************/

.nt-documentheque-listing--video {
    flex-wrap: wrap;
    flex-direction: row;
}
.nt-documentheque-item--video {
    max-width: calc(33.33% - 16px);
    flex: 0 0 calc(33.33% - 16px);
}
.nt-documentheque-item--video .nt-documentheque-item--title {
    font-size: 1rem;
    margin-bottom: 4px;
}


/************************
 *       CARD IMAGE     *
 ***********************/

.nt-documentheque-listing--gallery {
    flex-wrap: wrap;
    flex-direction: row;
}
.nt-documentheque-item--gallery {
    max-width: calc(25% - 18px);
    flex: 0 0 calc(25% - 18px);
}
.nt-documentheque-item--gallery .nt-documentheque-item--cover {
    display: block;
    position: relative;
}
.nt-documentheque-item--gallery .nt-documentheque-item--cover img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 0;
    max-height: none;
}
.nt-documentheque-item--gallery .nt-documentheque-item--cover-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-color: rgba(0,0,0,0.75);
    text-align: center;
    padding: 24px;
    transition: .3s;
}
.nt-documentheque-item--gallery .nt-documentheque-item--cover:hover .nt-documentheque-item--cover-overlay {
    opacity: 1;
}
.nt-documentheque-item--gallery .nt-documentheque-item--cover .nt-documentheque-item--cover-overlay .nt-documentheque-item--title {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 24px;
}
.nt-documentheque-item--gallery .nt-documentheque-item--cover .nt-documentheque-item--cover-overlay i {
    color: white;
    font-size: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fancybox__container button {
    padding-left: 12px;
    padding-right: 12px;
}

body .chosen-container-multi .chosen-choices {
    border: 1px solid #333;
    width: 100%;
    font-family: inherit;
    min-height: 33px;
    padding: 2px 6px;
    box-sizing: border-box;
    background: none;
}
.chosen-container-multi .chosen-choices li.search-field input[type=text].chosen-search-input {
    font-family: inherit;
    color: black;
}

.wpf-topic-create {
    scroll-padding-top: 100px;
}


@media (max-width: 1400px) {
    body .nt-documentheque-item .nt-documentheque-item-infos {
        flex-direction: column;
        gap: 5px;
    }
    .nt-documentheque-item .nt-documentheque-item-infos > * {
        flex: 0!important;
    }
}

@media (max-width: 1200px) {
    body .nt-documentheque-item--grid {
        max-width: calc(50% - 12px);
        flex: 0 0 calc(50% - 12px);
    }
}
@media (max-width: 767px) {
    body .nt-documentheque-listing {
        gap: 12px;
    }
    body .nt-documentheque-item--grid {
        max-width: calc(50% - 6px);
        flex: 0 0 calc(50% - 6px);
    }
    body .nt-documentheque-item--grid .nt-documentheque-item--title {
        height: 68px;
        min-height: 68px;
    }
}

.wpforo-sbs,
.wpf-sbtn,
.wpf-field-name-user_nicename,
.wpforo-user-tools a:has(.wpf-ab-delete),
#wpforo #wpforo-wrap .wpforo-post-head .wpf-post-head-top .wpf-post-stat .wpf-post-stat-box.wpf-pb-more {
    display: none!important;
}
#wpforo #wpforo-wrap .wpfl-1 .wpforo-post .wpf-left .author-name {
    margin-left: 0!important;
}
#wpforo #wpforo-wrap .wpfl-1 .wpforo-post .wpf-left .author-name a {
    display: inline-block!important;
    line-height: 1.125!important;
}

@media (max-width: 767px) {
    #wpforo #wpforo-wrap #wpforo-stat-header .wpf-footer-title {
        padding-right: 20px!important;
    }
    #wpforo #wpforo-wrap #wpforo-stat-header .wpf-footer-title svg {
        height: 20px!important;
    }
    #wpforo #wpforo-wrap #wpforo-stat-header .wpf-footer-buttons div {
        margin-left: 10px!important;
    }
    #wpforo #wpforo-wrap.wpft-post .wpf-manage-link .wpf-action {
        margin-top: 5px!important;
    }
    #wpforo #wpforo-wrap #wpforo-menu li.wpforo-profile a {
        text-align: left!important;
    }
}