/* Des éléments admin affichables en front office */


/* Accès à l'admin : */
a#acces_admin {
    background: url(/images/btn_acces_admin.png) no-repeat -30px;
    display: block;
    height: 28px;
    width: 28px;
    float: right;
    position: absolute;
    top: 0;
    right: -50px;
    cursor: pointer;
}

a#acces_admin:hover {
    background-position: 0;
}

a#logout {
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    font-family: Arial, Verdana, Geneva, sans-serif;
    padding: 0 5px;
    border-radius: 10px;
    float: right;
}


#identification {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10001;
}

.admin_form {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    z-index: 1001;
    position: relative;
    border-radius: 10px;
    display: block;
}


.admin_form#introduction {
    top: 319px;
    left: 50%;
    width: 320px;
    margin-left: 55px;
}

.admin_form#actualites {
    position: absolute;

    top: 100%;
    left: 50%;
    margin-left: -150px;
    width: 300px;
    margin-top: 470px;
}

.admin_form#partenaires {
    position: absolute;
    left: 0;
    margin-left: 50px;
    width: 250px;
    top: 100%;
    margin-top: 180px;
}

.admin_form#bernadette {
    position: absolute;
    top: 260px;
    left: 50%;
    margin-left: -60px;
    width: 301px;
}

.admin_form#martial {
    position: absolute;

    top: 480px;
    left: 50%;
    margin-left: -200px;
    width: 268px;
}

.admin_form#patrick {
    position: absolute;

    top: 491px;
    left: 50%;
    margin-left: 252px;
    width: 260px;
}

.admin_form#spectacles {
    top: 250px;
    left: 50%;
    margin-left: -246px;
    width: 460px;
    z-index: 99;
}

.admin_form#galeries {
    top: 250px;
    left: 50%;
    margin-left: -246px;
    width: 460px;
    z-index: 99;
}

.admin_form#coaching {
    position: absolute;
    top: 430px;
    left: 50%;
    margin-left: 100px;
    width: 230px;
}

.admin_form#acces {
    top: 240px;
    left: 50%;
    margin-left: -175px;
    width: 350px;
}

.admin_form#tarifs-1 {
    top: 250px;
    left: 50%;
    margin-left: 130px;
    width: 360px;
}

.admin_form#tarifs-2 {
    top: 200px;
    left: 50%;
    margin-left: -340px;
    width: 231px;
}

.admin_form#stageEte {
    top: 340px;
    left: 50%;
    margin-left: -400px;
    width: 290px;
}

.admin_form#nouvelles {
    top: 53px;
    margin-left: -450px;
    width: 850px;
    left: 50%;
    z-index: 2000;
}

.admin_form#modif_actus {
    top: 504px;
    margin-left: -450px;
    width: 850px;
    left: 50%;
    z-index: 2000;
}

.admin_form#modif_actus textarea {
    width: 95%;
}

.admin_form li,
.admin_form#nouvelles .actu,
.admin_form#modif_actus .actu {
    border-bottom: 1px solid #fff;
    padding-top: 20px;
    list-style: none;
}

.admin_form#coordonnees {
    top: 860px;
    margin-left: -500px;
    width: 200px;
    left: 50%;
}

.admin_form#coordonnees2 {
    top: 381px;
    margin-left: -330px;
    width: 400px;
    left: 50%;
}

.admin_form#atelier {
    left: 50%;
    width: 420px;
    margin-left: -210px;
    top: 270px;
}

.admin_form#mise_en_page {

    padding: 20px;
    text-align: center;

    height: 72px;

}

.admin_form#mise_en_page:before {
    content: ": )";
    color: white;
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 24px;
    position: absolute;
    top: -14px;
    left: 50%;
    margin-left: -12px;
    font-size: 10px;
    line-height: 23px;
    transform: rotate(90deg);
}

.admin_form#nouvelle {
    top: 274px;
    margin-left: 50%;
    width: 277px;
    left: -89px;
    padding: 10px;
}

.admin_form label,
.admin_form input[type="text"],
.admin_form input[type="password"] {
    color: #fff;
    border-color: #fff;
    white-space: nowrap;
}

.admin_form input[type="radio"] {
    width: auto;
}

.admin_form textarea {
    height: 150px;
    font: 12px/21px Arial, Verdana, Geneva, sans-serif;
    color: #000;
    background-image: none;
    background-color: #fffeff;
    border-radius: 10px;
    margin-bottom: 5px;
    padding: 7px 10px 10px;
    width: 469px;
    box-shadow: #000 1px 1px 5px;
    min-height: 235px;
}
/* Admin 2022 */
.admin_form#connexion {


    padding-top: 60px;

}

.toAdmin#connexion {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 440px;
}

.toAdmin {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
}

a.toAdmin,
#piedpage a.toAdmin {
    color: white;
    text-decoration: none;
    text-shadow: none;
}

.toAdmin legend {
    font-size: 16px;
    margin: 0;
}

.toAdmin.arrowRight {
    position: absolute;
    right: 100%;
    top: 50%;
    z-index: 10;
    width: 100%;
    max-width: 250px;

    transition: top 1s ease-in-out 0s;
    margin-right: 7px;
    margin-top: -30px;
}

.toAdmin.arrowRight::before {
    left: 100%;
    top: 50%;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0);
    border-left-color: rgba(0, 0, 0, 0.5);
    border-width: 20px;
    margin-top: -20px;
}

.toAdmin.arrowTop {
    position: absolute;
    left: calc(50% - 240px);
    top: 100%;
    z-index: 10;
    width: 480px;

    transition: top 1s ease-in-out 0s;
    margin-top: 20px;
}

.toAdmin.arrowTop::before {
    bottom: 100%;
    left: 50%;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-style: solid;

    border-color: rgba(0, 0, 0, 0);
    border-bottom-color: rgba(0, 0, 0, 0.5);
    border-width: 20px;
    margin-left: -20px;
}

.toAdmin.arrowBottom {
    position: absolute;
    left: calc(50% - 140px);
    top: 100%;
    z-index: 10;
    width: 480px;

    transition: top 1s ease-in-out 0s;
    margin-top: 20px;
}

.toAdmin.arrowBottom::before {
    top: 100%;
    left: 50%;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0);
    border-top-color: rgba(0, 0, 0, 0.5);
    border-width: 20px;
    margin-left: -20px;
}

.closeAdmin {
    position: absolute;
    right: -5px;
    top: -5px;
    background-color: #000;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;

    display: none;
}

.open .closeAdmin {
    display: block;
}

.closeAdmin:hover {
    background-color: #ff7665;
}

.toAdmin form {
    height: 0;
    overflow: hidden;
    transition: height 1s ease-in-out 0s;
}

.toAdmin.open form {
    height: 100%;
    max-height: 1000px; /* ? */
    min-height: 490px;
    top: 0;
}

.page_nouvelles .toAdmin.open form {}

.toAdmin.open {
    top: -20px;
    min-width: 520px;
    max-width: 100%;
    z-index: 1000;
    margin-right: -9px;
    background-color: rgba(0, 0, 0, 0.7);
}

.toAdmin.open.arrowRight::before {
    border-left-color: rgba(0, 0, 0, 0.7);
}

.note-editor {
    margin-bottom: 20px;
}

.note-editable.card-block {
    /* Le texte dans le éditeurs */
    color: black;
    min-height: 200px;
}

/* Quelques styles du FO sont à supprimer dans les formulaires */
.note-editable.card-block p,
.note-editable.card-block ul {
    text-shadow: none;
}

.note-editable.card-block a {
    color: #ff6150;
}

form > p {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

form > p.forDates,
form > p.forCheckbox {
    justify-content: flex-start;
}


.open#cssException_1 {
    position: relative;
}

#cssException_1.toAdmin.open form {
    max-height: 1000px;
}
/* Hack l'admin */
a#acces_admin {
    background: none;
    box-shadow: none;
}
@media (max-width: 991px) {

    a#acces_admin {
        top: 1px !important;
        padding: 0;
    }
}
/* 11 avril : modification des style de l'admin après installation de SummerNote */
.modal-content {
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content * {
    color: white;
    border-color: black;
}

.modal-content label {
    width: 100%;
    text-align: left;
    padding-top: 20px;
    padding-bottom: 10px;
}

.modal-content label.form-check-label {
    padding-top: 1px;
    padding-bottom: 1px;
    margin-top: 10px;
}

.modal-content input {
    color: #000;
    background-color: white;
    margin-top: 3px;
}

.modal-content .form-control:focus {
    background-color: #f56151;
}

.modal-content .close {
    margin-right: 0;
    margin-top: 0;
    border-radius: 2px;
    width: 30px;
    height: 30px;
    line-height: 0;
    text-align: center;
    color: black;
    text-shadow: none;
}

.modal-content .close:hover {
    color: black !important;
}
