#sb-site {
    display: flex;
    min-height: 95vh;
    flex-direction: column;
}

/* --------------------------------------------- */
/* -------------------Forms--------------------- */
/* --------------------------------------------- */

#custom_loginform p,
#rdr_registration_form p,
#rdr_registration_form p label {
    display: flex;
    flex-direction: column;
}

.register,
.log-in {
    width: 30%;
}

.login-submit {
    width: 40%;
}

#rdr_new_names_form input,
#rdr_new_password_form input {
    width: 100%;
}

.new-contribution-form .acf-field p.description {
    font-size: 15px;
}

.presentation-video {
    padding-top: 20px;
}

.presentation-video video {
    width: 100%;
}

/* --------------------------------------------- */
/* ---------Error and success messages---------- */
/* --------------------------------------------- */

.error-message,
.acf-error-message,
.acf-notice.-error {
    background: #ffe6e6;
    padding: 10px 10px;
    border-radius: 0.25em;
    margin-bottom: 30px;
    color: #c44f4f;
    border-left: 4px solid #c44f4f;
    border-right: 4px solid #c44f4f;
}

.error-message a {
    color: #c44f4f;
}

.error-message a:hover {
    font-weight: bold;
}

.error-message p,
.success-message p,
#message.updated p {
    margin: 0;
}

.success-message,
#message.updated {
    background-color: rgba(98, 224, 121, 0.7);
    padding: 5px 10px;
    border-radius: 0.25em;
    margin-bottom: 30px;
    color: #19B335;
    border-left: 4px solid #19B335;
    border-right: 4px solid #19B335;
}

#message.updated {
    margin-top: 20px;
}


/* --------------------------------------------- */
/* ------------Header user buttons-------------- */
/* --------------------------------------------- */

.account-bloc {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    padding: 7px 0 10px 5px;
    text-transform: uppercase;
    font-weight: 900;
    text-align: right;
    padding-left: 15px;
    font-size: 14px;
    margin-right: 20px;
}

.menu-primary-navigation {
    position: relative;
}

.menu-contributions,
.menu-comite {
    display: none !important;
}

.u-isSticky .account-bloc {
    display: none;
}

.menu-archive-btn {
    display: flex;
    gap: 20px;
}

@media screen and (max-width : 980px) {
    .account-bloc {
        font-size: 12px;
    }

    .HeaderNav-desktop .menu-contributions>a {
        font-size: 12px;
    }

    .HeaderNav-desktop .menu-comite>a {
        font-size: 12px;
    }

}

@media screen and (max-width : 740px) {
    .HeaderNav {
        width: 100%;
    }

    .menu-archive-btn {
        display: none;
    }

    .menu-contributions,
    .menu-comite {
        background-color: transparent;
        display: block !important;
    }
}


/* --------------------------------------------- */
/* ----------------Log out user----------------- */
/* --------------------------------------------- */

.logout-section {
    display: flex;
    justify-content: space-between;
}

.logout-section .log-in h3,
.logout-section .register h3 {
    margin-bottom: 30px;
    text-transform: uppercase;
}


/* --------------------------------------------- */
/* ----------------User account----------------- */
/* --------------------------------------------- */

.user-account {
    margin-bottom: -70px;
}

.user-infos-inner {
    display: flex;
    justify-content: space-around;
}

.user-infos-inner h4 {
    color: #C1B5A2;
}

.user-info-name,
.user-info-email,
.user-info-school {
    display: flex;
    position: relative;
}

.user-info-name img,
.user-info-email img {
    position: absolute;
    height: 25px;
    left: -40px;
}

.user-info-school img {
    position: absolute;
    height: 45px;
    left: -50px;
    top: -3px;
}

.informations p {
    padding: 10px 14px 0 0;
}

.toggle-btn {
    position: relative;
    cursor: pointer;
    display: inline-block;
    padding: 0.2em 0.6em 0.3em;
    background-color: #fff;
    color: #C1B5A2;
    border: 1px solid #C1B5A2;
    border-radius: 0.25em;
    transition: width 0.3s ease-in-out;
}

.toggle-btn:hover {
    background-color: #C1B5A2;
    color: #fff;
    border: 1px solid #C1B5A2;
}

.open-form {
    background-color: #C1B5A2;
    color: #fff;
    border: 1px solid #C1B5A2;
}

.cta-profile {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 25px;
    margin-top: 100px;
}

.cta-profile-inner {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}


.cta-btn,
.btn-general {

    cursor: pointer;
    background-color: #C1B5A2;
    display: inline;
    padding: 0.2em 0.6em 0.3em;
    color: #fff;
    vertical-align: baseline;
    border: solid 1px #C1B5A2;
    border-radius: 0.25em;
}

.cta-btn:hover,
.btn-general:hover {

    background-color: #fff;
    color: #C1B5A2;
}

.hiden {
    display: none;
}

.modify-password .show {
    display: block;
}

.register-instruction {
    color: #C1B5A2;
}



@media screen and (max-width : 1000px) {
    .logout-section {
        flex-direction: column;
    }

    .register,
    .log-in {
        width: 60%;
    }

}

@media screen and (max-width : 775px) {

    .user_uploaded_files {
        padding-left: 20px;
        padding-right: 20px;
    }

    .profile-contribution-list {
        display: flex;
        flex-direction: column;
    }

    .profile-contribution-list .NewsCard-date {
        width: 75px;
        align-self: end;
    }

    .register,
    .log-in {
        width: 90%;
    }

    .cta-profile {
        flex-direction: column;
        align-items: center;
    }

}

@media screen and (max-width : 740px) {

    .profile-message {
        padding-left: 15px;
        text-align: left !important;
    }

    .cta-profile {
        align-items: start;
        gap: 20px;
        margin-top: 50px;
    }

    .cta-profile-inner {
        align-items: flex-start;
    }
}

@media screen and (max-width : 550px) {

    .user-infos-inner {
        flex-direction: column;
        gap: 30px;
    }



}

/* --------------------------------------------- */
/* -------Message for pages user only ---------- */
/* --------------------------------------------- */
.restricted-page {
    margin-top: 100px;
    margin-bottom: 100px;
}

.message-user {
    margin-bottom: 30px;
}

/* --------------------------------------------- */
/* ------------Contribution archive------------- */
/* --------------------------------------------- */


.archive-filter-inner ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-authors {
    list-style: none;
    cursor: pointer;
}

.title-filter-author,
.list-filter-author {
    text-transform: uppercase;
    font-size: 19px;
}

.title-filter-author {
    position: relative;
    padding-left: 15px;
    padding-top: 20px;
}

.current_author_filter {
    font-weight: bold;
    font-size: 20px;
}

.open-list-icon {
    position: absolute;
    height: 48px;
    top: 10px;
    left: 100px;
    transition: transform 0.5s ease-in-out;
}

.list-opened {
    transform: rotate(90deg);
}

.list-filter-author {
    transition: display 0.3s ease-in-out;
    margin-bottom: 40px;
}

.filter-all-authors {
    text-transform: uppercase;
}

.contribution-list {
    margin-top: 50px;
}

.contribution-list .NewsCard-link {
    justify-content: space-between;
    width: 100%;
    margin-bottom: 30px;
    background-color: rgba(236, 236, 236, 0.6);
    border-radius: 0.25em;
}

.contribution-list .NewsCard-link::before,
.contribution-list .NewsCard-link::after {
    display: none;
}

.Private-Contributions .NewsCard-link {
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0.25em;
}

.Contributions--archiveList {
    margin-left: 0;
}

.Author-contributions {
    padding-bottom: 30px;
}


.Author-contributions .o-BlockGrid-item {
    padding: 0;
    width: 50%;
}

.author-uploaded-files .new-contribution-btn {

    display: flex;
    justify-content: center;

}

.NewsCard-link {
    display: flex;
    justify-content: space-between;
}

.NewsCard-date {
    height: 75px;
    width: 75px;
    font-size: 11px;
}

.profile-contribution-list .NewsCard-link {
    padding: 20px;
}

.action-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.contribution-icon {
    width: 30px;
    margin-right: 5px;
    transition: width 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.download-btn,
.edit-btn {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.2em 0.6em 0.3em;
    vertical-align: baseline;
    border: solid 1px #969795;
    border-radius: 0.25em;
    background-color: #F8F8F8;
}

.icon-title {
    margin: 0;
    font-size: 16px;
    color: #969795;
}

.acf-form {
    margin-top: 30px;
}

.profile-message {
    text-align: center;
    margin-top: 30px;
}

.Private-Contributions {
    margin-bottom: -140px;
}

.contribution-title {
    text-transform: uppercase;
}

.contributor-name {
    font-size: 15px;
    margin-top: 20px;
}

.contribution-desc {
    color: #000;
}

.acf-fields>.acf-field {
    padding: 30px 0;
}

.acf-field .acf-label {
    font-size: 23px;
}

.acf-field .acf-input {
    color: #222;
}

.acf-field .acf-input .message {
    font-weight: 500;
    margin-left: 15px;
}

.acf-button {
    cursor: pointer;
    background-color: #C1B5A2;
    display: inline;
    padding: 0.2em 0.6em 0.3em;
    color: #fff;
    vertical-align: baseline;
    border: solid 1px #C1B5A2;
    border-radius: 0.25em;
    margin-right: 15px;
}

.acf-button:hover {
    background-color: #fff;
    color: #C1B5A2;
}

.acf-form-submit input {
    padding: 5px 50px;
}

.List-item--simple:before,
.Main li:not([class]):before {
    display: none;
}


.archive-content {
    display: flex;
    gap: 20px;
}

.archive-filter {
    width: 40%;
}

.contribution_type>ul,
.edition_number>ul,
.committee_type>ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.current-cat {
    font-weight: bold;
    font-size: 23px;
}

.committee_type,
.edition_number,
.contribution_type {
    list-style: none;
    text-transform: uppercase;
    font-size: 20px;
    margin-top: 60px;

}

.committee_type {
    font-weight: 700;
    font-size: 23px;
}

.committee_type>ul {
    gap: 40px;
}

.children {
    margin-left: 35px !important;
    font-weight: 500;
    font-size: 20px;

}

ul.children li {
    text-transform: capitalize;
}

.archive-list {
    width: 100%;
}

@media screen and (max-width : 1000px) {
    .archive-content {
        flex-direction: column;
    }

    .archive-filter {
        display: flex;
        flex-direction: column;
        gap: 50px;
        width: 100%;
    }

    .edition_number>ul {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        flex-direction: row;
    }

    .contribution_type {
        margin-top: 0;
    }
}

@media screen and (max-width : 750px) {

    .contribution-list .NewsCard-link,
    .user_uploaded_files .NewsCard-link {
        display: flex;
        flex-direction: column-reverse;
    }

    .contribution-list .NewsCard-date,
    .user_uploaded_files .NewsCard-date {
        align-self: flex-end;
    }
}

@media screen and (max-width : 500px) {
    .archive-filter a {
        font-size: 16px;
    }

    .edition_number>ul {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .contribution_type {
        margin-top: 0;
    }

    .cta-btn,
    .btn-general {
        font-size: 15px;
    }

}

@media screen and (max-width : 400px) {
    .action-icons {
        flex-direction: column;
    }
}


/* --------------------------------------------- */
/* -------------Forms general------------------- */
/* --------------------------------------------- */
.rdr_form {
    transition: display 0.3s ease-in-out;
    margin-bottom: 40px;
}

.rdr_form label,
#custom_loginform label {
    font-weight: 500;
}

#custom_loginform label {
    margin-right: 15px;
}


.rdr_form input,
#custom_loginform input {
    border-radius: 0.25em;
    border: 1px solid #ccd0d4;
    padding: 0 10px;
}

.rdr_form input[type=submit],
.acf-form-submit input[type=submit],
#custom_loginform input[type=submit] {
    cursor: pointer;
    background-color: #C1B5A2;
    color: #fff;
    border: 1px solid #C1B5A2;
    border-radius: 0.25em;
}

.rdr_form input[type=submit]:hover,
.acf-form-submit input[type=submit]:hover,
#custom_loginform input[type=submit]:hover {
    background-color: #fff;
    color: #C1B5A2;
}

.acf-input input,
.acf-input textarea,
.acf-input .file-wrap {
    border-radius: 0.25em;
    border: 1px solid #ccd0d4;
}


.acf-relationship,
.acf-relationship .filters {
    border-top-left-radius: 0.25em;
    border-top-right-radius: 0.25em;
}

.acf-relationship {
    border-bottom-left-radius: 0.25em;
    border-bottom-right-radius: 0.25em;
}

.acf-relationship .choices {
    border-bottom-left-radius: 0.25em;
}

.acf-relationship .values {
    border-bottom-right-radius: 0.25em;
}


/* --------------------------------------------- */
/* -------------- Disclaimer ------------------- */
/* --------------------------------------------- */

.disclaimer-notice {
    background-color: #C1B5A2;
    bottom: 10px;
    padding: 5px;
    border-radius: 0.25em;
    margin-top: 30px;
}

.disclaimer-notice-inner {
    background-color: #fff;
    color: #C1B5A2;
    padding: 30px 40px;
    border-radius: 0.25em;
}

.notice-inscription {
    margin-bottom: 20px;
}

.notice-inscription .disclaimer-notice-inner {
    padding: 15px 15px;
}