﻿.dropdown-item {
    padding: .20rem 1.5rem;
}

    .dropdown-item.dropdown-departement:active {
        color: #16181b;
        background-color: #f8f9fa;
    }

.form-check-label {
    user-select: none;
}

table tr {
    line-height: 1;
}

.popover {
    max-width: 50%;
}

.nowrap {
    white-space: nowrap;
}

.rm-border-right {
    border-bottom-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.rm-border-left {
    border-bottom-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
}

.input-group-prepend > span {
    border-bottom-left-radius: 2rem !important;
    border-top-left-radius: 2rem;
}

.metier-temp-counter {
    position: absolute;
    width: 25px;
    height: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    margin: -10px 0 0 -5px;
}

.temp-counter {
    position: absolute !important;
    width: 25px;
    height: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    margin: 1px 0 0 -30px;
}

.add-border-right {
    border-bottom-right-radius: 2rem !important;
    border-top-right-radius: 2rem !important;
}

#panel_fiche_adherent .jsPanel-content,
#panel_fiche_election .jsPanel-content {
    display: flex;
    flex-direction: column;
}

    #panel_fiche_adherent .jsPanel-content > div,
    #panel_fiche_election .jsPanel-content > div {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

        #panel_fiche_election .jsPanel-content > div > form > div:first-child > div:nth-of-type(2) {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        #panel_fiche_adherent .jsPanel-content > div > hr {
            width: 98%;
        }

        #panel_fiche_adherent .jsPanel-content > div > #tab-fiche-adherent {
            display: flex;
            flex: 1;
        }

            #panel_fiche_adherent .jsPanel-content > div > #tab-fiche-adherent > .tab-pane.active {
                display: flex;
                flex: 1;
            }

                #panel_fiche_adherent .jsPanel-content > div > #tab-fiche-adherent > .tab-pane.active > form,
                #panel_fiche_election .jsPanel-content > div > form {
                    flex: 1;
                }

            .jsPanel-title {
                user-select: none;
            }

.bloc-bienvenue {
    margin-left: 20px;
}

    .bloc-bienvenue span {
        display: inline-block;
        padding-top: 20px;
    }

    .bloc-bienvenue a {
        float: right;
        margin-right: 25px;
        margin-top: 14px;
    }

.block-menu-admin > div:not(.disabled) > span {
    cursor: pointer;
}

    .block-menu-admin > div:not(.disabled) > span:first-of-type {
        color: darkgrey;
    }

        .block-menu-admin > div:not(.disabled) > span:first-of-type:hover {
            color: lightgrey;
        }

    .block-menu-admin > div.disabled > span:first-of-type {
        color: lightgrey;
    }

    .block-menu-admin > div > span:last-of-type {
        margin-top: 5px;
        font-size: large;
    }

@media (max-width: 767.98px) {
    .block-menu-admin > div:nth-of-type(-n+2) {
        padding-bottom: 3rem !important;
    }
}

@media (min-width: 767.98px) {
    .body-content > div.container {
        display: flex;
        flex-direction: column;
        justify-content: space-around !important;
    }

    .block-menu-admin {
        justify-content: center;
    }
}


.pagination > .active > a {
    z-index: 0;
    background-color: #f57e09;
    border-color: #f57e09;
}

figure.item {
    vertical-align: top;
    display: inline-block;
    text-align: center;
    font-size: 12px;
    margin: 0;
}

    figure.item figcaption {
        word-break: break-all;
    }

.button-menu-liste-adherent,
.button-menu-fiche-adherent,
.button-menu-liste-utilisateur,
.button-menu-liste-courriel,
.button-menu-liste-document,
.button-menu-liste-temporaire {
    background-color: #646464;
    width: 65px;
    height: 65px;
    transition: none;
}

    .button-menu-liste-adherent:focus,
    .button-menu-fiche-adherent:focus,
    .button-menu-liste-utilisateur:focus,
    .button-menu-liste-courriel:focus,
    .button-menu-liste-document:focus,
    .button-menu-liste-temporaire:focus {
        box-shadow: none;
    }

    .button-menu-liste-adherent.button-active,
    .button-menu-fiche-adherent.button-active,
    .button-menu-liste-utilisateur.button-active,
    .button-menu-liste-courriel.button-active,
    .button-menu-liste-document.button-active,
    .button-menu-liste-temporaire.button-active {
        background: rgb(253,107,4);
        background: linear-gradient(135deg, rgba(253,107,4,1) 0%, rgba(206,82,0,1) 100%);
    }

    .button-menu-liste-adherent span,
    .button-menu-fiche-adherent span,
    .button-menu-liste-utilisateur span,
    .button-menu-liste-courriel span,
    .button-menu-liste-document span,
    .button-menu-liste-temporaire span {
        color: white;
    }

.caption {
    width: 65px;
}

.div-titre-liste-adherent p,
.div-titre-liste-courriel p,
.div-titre-liste-utilisateur p,
.div-titre-liste-document p,
.div-titre-liste-temporaire p {
    color: #646464;
    font-size: 20px;
}

    .div-titre-liste-adherent p::first-letter,
    .div-titre-liste-courriel p::first-letter,
    .div-titre-liste-utilisateur p::first-letter,
    .div-titre-liste-document p::first-letter,
    .div-titre-liste-temporaire p::first-letter {
        font-size: 36px;
        font-weight: bold;
    }

#adherent-panel,
#utilisateur-panel {
    height: 100%;
}

    #adherent-panel > div:last-of-type,
    #utilisateur-panel > div:last-of-type {
        height: 80%;
        padding: 5px;
    }

        #adherent-panel > div:last-of-type > div,
        #utilisateur-panel >div:last-of-type > div {
            height: 100%;
        }


.bloc-table {
    font-size: 14px;
}

.bloc-table > div:first-of-type {
    flex: 1;
    padding-left: 15px;
    padding-right: 3px;
}

    .bloc-table > div:first-of-type > div.table-responsive > div.accordion > div.card > div {
        cursor: pointer;
    }


    .bloc-table > div:last-of-type button:not(.notes-btn) {
        background-color: #646464;
        color: white;
        border-radius: 50%;
        transition: none;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 26px;
        height: 26px;
    }

    .bloc-table > div:last-of-type button:not(:first-of-type):not(.notes-btn) {
        margin-top: 2px;
    }

    .bloc-table > div:last-of-type button:not(.notes-btn):focus {
        box-shadow: none;
    }

    .bloc-table > div:last-of-type button:not(.notes-btn):enabled:hover {
        background: rgb(253, 107, 4);
        background: linear-gradient(135deg, rgba(253,107,4,1) 0%, rgba(206,82,0,1) 100%);
    }

    .bloc-table > div:last-of-type button:not(.notes-btn) span {
        display: flex;
    }

    .bloc-table > div:last-of-type button.notes-btn {
        position: absolute;
        right: 0;
    }

        .bloc-table > div:last-of-type button.notes-btn:hover {
            color: #f57e09;
        }

#panel_fiche_adherent,
#panel_fiche_adhesion,
#panel_fiche_metier,
#panel_fiche_utilisateur,
#panel_fiche_courriel,
#panel_fiche_categorie_document,
#panel_fiche_document,
#panel_liste_param {
    overflow: hidden;
}

#tab-fiche-adherent > div {
    padding: 5px;
}

@media (max-width: 767.98px) {
    .print-combo {
        margin-bottom: 1rem;
    }
}

#form-adherent-etatcivil > div:first-of-type > div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#form-adherent-etatcivil > div:nth-of-type(2) > div:not(:last-of-type) {
    border-right: 1px solid #646464;
}

#form-adherent-etatcivil > div:nth-of-type(2) > div:nth-of-type(2) > .login {
    padding-top: 15px;
    border-top: 1px solid #646464;
}

.form-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 767.98px) {
    .form-btn-scollable {
        position: inherit;
        align-items: center;
        flex-direction: inherit;
        justify-content: flex-end;
        bottom: 0;
        right: 0;
        margin: 1rem;
    }
}

.btn-submit-form {
    margin-bottom: 10px;
    width: 40px;
    height: 40px;
    background-image: url(../../Images/Panel/Bouton_Valider_40.png);
    background-repeat: no-repeat;
    background-position: -1px 0;
}

    .btn-submit-form:hover {
        background-position: -121px 0;
    }

    .btn-submit-form:focus {
        box-shadow: none;
    }

.btn-cancel-form {
    border-style: none;
    width: 32px;
    height: 32px;
    background-image: url(../../Images/Panel/Bouton_Annuler_32x32.png);
    background-repeat: no-repeat;
    background-position: -1px 0;
}

    .btn-cancel-form:hover {
        background-position: -97px 0;
    }

    .btn-cancel-form:focus {
        box-shadow: none;
    }

.tr-active {
    background-color: #c0c0c0;
}

.table-hover tr {
    cursor: pointer;
    user-select: none;
}

.table-hover tr.tr-active:hover {
    background-color: #c0c0c0;
}

#form-adherent-supprimer,
#form-adhesion-supprimer,
#form-metier-supprimer,
#form-tournee-supprimer,
#form-utilisateur-supprimer,
#form-adherent-renouveler,
#form-document-categorie-supprimer,
#form-document-supprimer,
#form-election-supprimer,
#form-adherent-reactiver,
#form-election-publier,
#form-election-deja-publie {
    height: 100%;
}

    #form-adherent-supprimer > div,
    #form-adhesion-supprimer > div,
    #form-metier-supprimer > div,
    #form-tournee-supprimer > div,
    #form-utilisateur-supprimer > div,
    #form-adherent-renouveler > div,
    #form-document-categorie-supprimer > div,
    #form-document-supprimer > div,
    #form-election-supprimer > div,
    #form-adherent-reactiver > div,
    #form-election-publier > div,
    #form-election-deja-publie > div {
        height: inherit;
        padding: 20px;
        padding-top: 50px;
    }

        #form-adherent-supprimer > div > p,
        #form-adhesion-supprimer > div > p,
        #form-metier-supprimer > div > p,
        #form-tournee-supprimer > div > p,
        #form-utilisateur-supprimer > div > p,
        #form-adherent-renouveler > div > p,
        #form-document-categorie-supprimer > div > p,
        #form-document-supprimer > div > p,
        #form-election-supprimer > div > p,
        #form-adherent-reactiver > div > p,
        #form-election-publier > div > p,
        #form-election-deja-publie > div > p {
            font-size: 20px;
        }

#form-adherent-adhesion > div:not(:first-of-type) > label:first-of-type:not(.paiementpar) {
    display: flex;
    justify-content: space-between;
    margin-left: 10px;
}

#form-adherent-metier > div:nth-of-type(2) > div:nth-of-type(2) > div > div > div > div {
    position: relative !important;
    will-change: unset !important;
    transform: unset !important;
    width: 100%;
    height: 400px;
    overflow-y: auto;
}

    #form-adherent-metier > div:nth-of-type(2) > div:nth-of-type(2) > div > div > div > div > span:not(:first-of-type) {
        width: 49%;
        display: inline-block;
        user-select: none;
    }

#form-election > div:first-of-type > div:last-of-type > div.fiche-election-region > div {
    position: relative !important;
    top: auto;
    will-change: unset !important;
    transform: unset !important;
    width: 100%;
    height: 300px;
    overflow-y: auto;
    z-index: 0;
}

    #form-election > div:first-of-type > div:last-of-type > div.fiche-election-region > div > div {
        width: 49%;
        display: inline-block;
        user-select: none;
    }

        #form-election > div:first-of-type > div:last-of-type > div.fiche-election-region > div > div > ul {
            list-style-type: none;
            margin: 0;
        }

.list-region {
    height: 35px;
    overflow: hidden;
}

    .list-region > div {
        height: inherit;
    }

        .list-region > div:nth-of-type(2) {
            visibility: hidden;
        }

        .list-region > div:last-of-type > button {
            color: #646464;
            transition: none;
            display: flex;
            justify-content: center;
            align-items: center;
        }

            .list-region > div:last-of-type > button:focus {
                box-shadow: none;
            }

@media (max-width: 767.98px) {
    .list-region > div:first-of-type {
        height: auto;
    }

    .list-region > div:nth-of-type(2) {
        margin-left: 30px;
    }

    .list-region > div:last-of-type {
        position: absolute;
        right: 0;
    }
}

.btn-link {
    color: #646464;
    text-decoration: none;
}

    .btn-link:hover {
        color: #646464;
        text-decoration: none;
    }

.card-header {
    margin-bottom: 0 !important;
}

.collapse.show {
    border-bottom: 1px solid #dee2e6;
}

textarea#Notes {
    resize: none;
}

#metier {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#metier > form {
    flex: 1;
}

#dropdown-departement-tournee > div > span.selected {
    color: #ffffff;
    background-image: url(../../Images/selected-item.png);
    background-repeat: no-repeat;
    background-position: center;
}

.fenetre-election-vote-representant-selection-region > div > div > div > span.dropdown-region-representant:not(.selected) > span:not(:first-of-type) {
    color: #0274BE;
    text-decoration: underline;
}

.fenetre-election-vote-representant-selection-region > div > div > div > span.dropdown-region-representant:not(.selected) span:last-of-type > span {
    color: #0274BE;
}

.representant-existe::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: lightgreen;
    margin-left: -20px;
}

.dropdown-region-representant:not(.selected) > span:last-of-type > span {
    color: #f57e09;
}

.dropdown-region-representant.selected {
    color: #ffffff;
    background-image: url(../../Images/selected-item2.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.dropdown-region-representant:active {
    color: #212529;
    background-color: transparent;
}

.dropdown-region-representant.selected:active {
    color: #ffffff;
    background-image: url(../../Images/selected-item2.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#form-utilisateur-site {
    display: contents;
}

#dropdownDepartementTournee {
    min-height: 38px;
}

.trumbowyg-editor p {
    margin-bottom: 0;
}

#form-sort-courriel p {
    margin-bottom: 0;
}

.button-action-div {
    padding-left: 3px;
    padding-right: 15px;
}

.courriel-visu {
    margin-top: 17px;
    width: 40px;
    padding-left: 3px;
    padding-right: 15px;
}

    .courriel-visu > button {
        background-color: #646464;
        color: white;
        border-radius: 50%;
        transition: none;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 26px;
    }

        .courriel-visu > button > span {
            display: flex;
        }

#form-document-site > div:nth-of-type(2) > div:nth-of-type(2) > span:first-of-type > span:first-of-type {
    position: relative;
    animation: move-text 0.75s forwards infinite;
}

#form-document-site > div:nth-of-type(2) > div:nth-of-type(2) > span:first-of-type > span:nth-of-type(2) {
    position: relative;
    animation: move-text 0.75s 1s forwards infinite;
}

#form-document-site > div:nth-of-type(2) > div:nth-of-type(2) > span:first-of-type > span:last-of-type {
    position: relative;
    animation: move-text 0.75s 2s forwards infinite;
}

@keyframes move-text {
    0% {
        bottom: 0;
    }

    50% {
        bottom: 0.2em;
    }

    100% {
        bottom: 0;
    }
}

.fa-arrow-circle-down, .fa-arrow-circle-right, .fa-trophy, .fa-grip-lines-vertical {
    color: #f57e09;
}

.custom-control-input-orange:focus ~ .custom-control-label::before {
    border-color: #f57e09 !important;
    box-shadow: none;
}

.custom-control-input-orange:checked ~ .custom-control-label::before {
    border-color: #f57e09 !important;
    background-color: #f57e09 !important;
}

.custom-control-input-orange:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #f57e09 !important;
}

.custom-control-input-orange:not(:disabled):active ~ .custom-control-label::before {
    background-color: #f57e09 !important;
    border-color: #f57e09 !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    box-shadow: none;
    border-color: #f57e09;
    background-color: #f57e09;
}

.custom-control-label {
    font-size: smaller;
    padding-top: 3px;
}

.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(245, 126, 9, .5);
}

.with-annotation span {
    position: absolute;
    top: 7px;
    right: 40px;
}

#form-sort-adhesion .bloc-table table tbody tr td:last-of-type:hover {
    color: #f57e09 !important;
}