#custom_form_invest{
}
#custom_form_invest .inside{
    margin: 0;
    padding: 0;
}
#custom_form_invest .inside #acf-group_emails{
    margin: 0;
}


/* message d'alerte */
.info{
    opacity: 0;
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    padding:15px 25px;
    animation: fade_info;
    animation-duration: 4s;
    animation-iteration-count: 1;
    z-index: 100;
}

.info p{
    padding:15px 25px;
}

.info p.ok{
        background-color:#4CAF50;
        border-left:5px solid #00ad06;
        color: white;
        font-weight: bold;
        font-size: 16px;
}
.info p.nok{
        background-color:#f44336;
        border-left:5px solid #f51000;
        color: white;
        font-weight: bold;
        font-size: 16px;
}

@keyframes fade_info {
    10%  { opacity: 1; }
    85% { opacity: 1; }        
    98% { opacity: 0; }        
    100% { 
        display: none; 
        z-index: -1;
    }        
}

#the-list tr:hover {
    
    .dashicons-dismiss {
        color: #f44336;
    }
    .dashicons-saved {
        color: #4CAF50;
    }
}

/* style pour la liste des investisseurs du post type invest */
.wrap_invest_list {
    margin: 0 auto;
    border-radius: 8px;
}

.wrap_invest_list h1 {
    color: #333;
}

.wrap_invest_list ul {
    list-style: none;
    padding: 0;
}

.wrap_invest_list li {
    margin-bottom: 5px;
    padding: 5px;
    border-bottom: 2px solid #e6e7e8;
}

.wrap_invest_list a {
    text-decoration: none;
    color: #3498db;
}

.wrap_invest_list form {
    display: inline-flex;
    justify-content: flex-start;
}

.wrap_invest_list input[type="submit"] {
    color: #3498db;
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 0;

}
/* .wrap_invest_list input[type="submit"] {
    color: #3498db;
    border: none;
    padding: 8px 12px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;

} */



/* .wrap_invest_list input[type="submit"]:hover {
    background-color: #3498db;
    color: white;
} */

.wrap_invest_list p {
    color: #27ae60;
    text-align: center;
    margin-top: 20px;
}


/* style liste des capitaux dans formulaire création ou modification compte */
.wrap>form #form-table_detail_souscription.form-table>tbody>tr>th{
    border-top: 1px solid #eee;
    border-right: 1px solid #e1e1e1;
    background: #f9f9f9;
    padding: 15px 12px;
    width: auto;
    font-size: 13px;
    position: initial;
    color: #444;

}
.wrap>form #form-table_detail_souscription.form-table .regular-text{
    width: 100%;
    max-width: 10em;
}
td.capitaux{
    }
.wrap>form #form-table_detail_souscription.form-table>tbody>tr>th.type{
    width: 8rem;
}
td.action {
    display: flex;
}

/* style des bouton ajouter ou supprimer */
button[type="button"].souscription,
button[type="button"].portefeuille,
button[type="button"].capitaux{
    background-color: transparent;
    border: none;
    height: 100%;
    width: 40px;
    margin: auto;
    position: relative;
    cursor: pointer;
    padding: 0 5px;
}

button[type="button"].souscription.plus:hover,
button[type="button"].portefeuille.plus:hover,
button[type="button"].capitaux.plus:hover{
    color: #27ae60;
}

button[type="button"].souscription.moins:hover,
button[type="button"].portefeuille.moins:hover,
button[type="button"].capitaux.moins:hover{
    color: #f44336;

}

/* style Gestion de documents dans l'onglet compte */
li#souscription_file ,
li#attestation_pea_file {
    margin: 5px;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;

}

li#souscription_file:hover a,
li#attestation_pea_file:hover a{
    text-decoration: underline;
    color: #3498db;
}

li#souscription_file a ,
li#attestation_pea_file a {
    padding: 10px;
    text-decoration: none;
    color: #333;
    display: inline;
}

li#souscription_file button[type="button"],
li#attestation_pea_file button[type="button"]{
    background-color: transparent;
    border: none;
    height: 100%;
    width: 40px;
    margin: auto;
    margin-left: 0;
    position: relative;
    cursor: pointer;
}

li#souscription_file button[type="button"] span:before,
li#attestation_pea_file button[type="button"] span:before{
    position: absolute;
    color: #e74c3c;
    border: 2px solid #e74c3c;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

li#souscription_file button[type="button"]:hover,
li#attestation_pea_file button[type="button"]:hover{
    color: #c0392b;
    scale: 1.1;
}



#user_detail {
    background-color: #709fce;
    color: #fff;
    padding: 15px;
}

#user_detail table tbody tr {
    width: 100%;
}
#user_detail table tbody tr td {
    padding: 5px;
    text-align: left;
    font-size: 22px;
    color: white;
    border: 2px solid white;
}
#user_detail table tbody tr td.label {
    width: 33%;
    font-weight: bold;
}
#user_detail table tbody tr td.value {
    width: 67%;
}
#user_detail table tbody tr td a {
    text-align: center;
    font-size: 20px;
    color: white;
}
#user_detail table tbody tr td a:hover {
    color: #00568a;
}

#user_detail table.section, 
#user_detail .info_generale{
    width: 100%;
}

#user_detail .section h3 {
    margin-top: 15px;
    color: white !important;
}
#user_detail .section li {
    color: white !important;
}

#user_detail .section table {
    width: 100%;
}

#user_detail .section.souscriptions tr td{
    width: 25%;
}
#user_detail tr td.align-right{
    text-align: right;
}

/* Bouton mettre à jour le compte dnas onglet comptes */
.acf-columns-2 .acf-column-2 {
    position: fixed;
    right: 320px;
}

/* select dans l'onglet compte de l'admin pour associer un cif ou client */
span.select2.select2-container {
    width: 50% !important;
}

@media (max-width:1200px) {
    #user_attached {
        margin-top: 15px;
        flex-direction: column;
    }
    #user_detail {
        margin-top: 15px;
    }
    
}
@media only screen and (max-width: 850px) {
    .acf-columns-2 .acf-column-1, .acf-columns-2 .acf-column-2 {
        position: initial;
        float: none;
        width: auto;
        margin: 0;
    }
}
@media (max-width:480px) {

    #user_detail {
        margin-top: 15px;
    }
    #user_detail .info_generale{
        margin-top: 15px;
    }
    #user_detail table thead {
        display: none;
    }
    #user_detail table tbody tr td.label {
        display: none;
    }
    #user_detail table tbody tr {
        border: 2px solid white;
        margin: 10px 0;
    }
    #user_detail table tbody tr td.value {
        width: 100%;
        display: block;
        text-align: right;
        border: none;
    }
    #user_detail table tbody tr td.value:before {
        content: attr(aria-label) ' : ';
        display: block;
        text-align: left;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
    }

    #user_detail h1 {
        font-size: 25px;
    }
    #user_detail table tbody tr td,
    #user_detail table tbody tr td a {
        font-size: 15px;
    }
        
    #user_detail .section.souscriptions tr td{
        width: 100%;
    }


    
}

/* cache le 3ème graphique en attente confirmation de création */
[data-name="donnee_part"]::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 6px;
    background: linear-gradient(0.25turn, #000000, #333333, #ffffff) !important;
    background: linear-gradient(180deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 25%, rgba(163, 163, 163, 1) 50%, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 1) 100%) !important;
}
[data-name="donnee_part"]{
    position: relative;
}
[data-name="donnee_venale"]{
    display: none;
}
