.hm_translate_custom_selector{

}
.dc-container{
    display: flex;
    flex-wrap: wrap;
}
.hm_translate_custom_selector{

}
.dc-container div{
    width: 50%;
}
.hm_translate_custom_selector ul{
    display: flex;
    grid-auto-rows: 45px; /* hauteur fixe */
    gap: 10px;
    width: fit-content; /* ou fixe */
}
.hm_translate_custom_selector ul li{
    display: inline-flex;
    padding: .7rem;
    align-items: center;
    border: 1px solid grey;
    cursor: pointer;
}
.hm_translate_custom_selector ul li.default{
    background-color: rgb(0,108,255);
    color: white;
    border: 1px solid rgb(0,108,255);
}
.hm_translate_custom_selector ul li:hover{
    background-color: rgb(0,108,255);
    color: white;
    border: 1px solid rgb(0,108,255);
}
.hm_translate_custom_selector ul li p{
    margin-inline: auto;
}
.error-toast{
    background-color: #ed1f0b!important;
}
#wpcontent{
    padding-inline: 20px;
}
.languages-of-site{
    display: flex;
    flex-direction: column;
}
.languages-of-site ul{
    margin: 0 0 0 .7rem;
    display: flex;
    flex-direction: column;
    width: calc(100% - .7rem);
    padding: .7rem;
    box-sizing: border-box;
    background-color: white;
}
.languages-of-site ul li{
    max-height: 40px;
    min-height: 40px;
    padding: 0;
    padding-inline: .4rem;
}
.languages-of-site ul li:hover{
    background-color: white;
    color: black;
}
.languages-of-site ul li p{
    width: 100%;
    text-align: center;
    height: 45px;
    cursor: pointer;
    margin: 0;
    display: flex;
    align-items: center;
}
.selected_language-list{
    width: 100%;
    background-color: white;
    min-height: 200px;
}
.default-language-selector{
    width: calc(100% - 1.4rem);
    margin-inline: auto;
}
.default-language-selector li{
    background-color: white;
}
.default-language-selector li{
    margin:0;
    padding-block: 0!important;
    padding-inline: .7rem;
}
.default-language-selector ul{
    margin-block: 0;
    flex-wrap: wrap;
}
.primary-button{
    background-color: rgb(0,108,255);
    color: white;
    border: 0;
    width: fit-content;
    padding: .4rem;
    padding-inline: .7rem;
    border-radius: 7px;
    margin-top: .7rem;
    min-height: 40px;
    font-size: 1.1em;
    margin-left: auto;
    cursor: pointer;
}
.secondary-button{
    background-color: white;
    color: #405A80;
    border: 1px solid #405A80;
    width: fit-content;
    padding: .4rem;
    padding-inline: .7rem;
    border-radius: 7px;
    margin-top: .7rem;
    min-height: 40px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color .2s;

}
.primary-button:hover{
    background-color: rgb(3, 83, 195);
}
.secondary-button:hover{
    background-color: #405A80;
    color: white;
    transition: background-color .2s;
}
/*
HM Translate BLOCK
 */
td:has(.ht-flag){
    display: flex;
    gap:.7rem;
}
.hm-lang-btn-add img{
    width: 25px;
    height: 15px;
    object-fit: cover;
    position: relative;
    z-index: 2;
}
.hm-lang-btn-add{
    cursor: pointer;
    max-width: 25px;
    margin-right: .7rem;
}
.hm-lang-btn-add::after{
    content: "\F4FA";
    font-family: bootstrap-icons;
    color: #0a7aff;
    display: block;
    width: min-content;
    opacity: 1;
    overflow: visible;
    transform: translateY(-1.7em);
    transition: transform .2s;
    margin-inline: auto;
    z-index: 0;
    position: relative;
    max-height: 0;


}
.hm-lang-btn-add:hover::after{
    opacity: 1;
    transform: translateY(-.5em);

    transition: transform .2s;
}
.hm-lang-dialog{
    max-width: 100%;
    position: fixed;
    top: 25%;
}
.hm-lang-dialog[data-open]{
    display: block;
    z-index: 3;
    border:1px solid #0a7aff ;
    border-radius: .7rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.hm-lang-dialog form{
    display: flex;
    flex-direction: column;
}
.hm-lang-dialog form .hm-translate-lang-action{
    margin-top: .7rem;
    padding-inline: .7rem;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.hm-lang-dialog span{
    display: inline-flex;
    flex-wrap: wrap;
    gap: .7rem;
}
.hm-lang-dialog label{
    display: flex;
    flex-direction: column;
}
td:has(span[data-lang]){
    display: flex;
    flex-wrap: wrap;
}
span .translation_create{
    margin-inline: 0;
}
.translation_create{
    font-size: 18px;
    background-color: #0a7aff;
    color: white;
    padding: .4rem;
    border-radius: 7px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;



}
.translation_create:hover{
    background-color: #0a64cf;
    color: white;

}
span .translation_update{
    margin-inline: 0;
}
.translation_update{
    font-weight: bold;
    padding: .4rem;
    font-size: 18px;
    background-color: #0a7aff;
    color: white;
    border-radius: 7px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;

}
.translation_update:hover{
    background-color: #0a64cf;
    color: white;

}
.hm_custom,.hm_custom span{
    width: 100%;
}
.term-container form{
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 300px;
    gap: .4rem;
}
.term-container .term_panel{
    display: flex;
}
.term-container .term_panel span{
    display: flex;
    flex-direction: column;
    padding: .4rem;
    gap:.7rem;
    width: 50%;
}
.term-container .term_panel label{
    margin-left: .4rem;
}
.term-container .term_panel span b{
    padding: .4rem;
    min-height: 30px;
    display: flex;
    align-items: center;
    border-radius: .4rem;
    border: 1px solid #007aff;
    color: #014795;
    background-color: white;
}
h1 strong{
    color: #014795;
}
.term-container form input,.term-container form textarea{
    padding: .4rem;
    border-radius: .4rem;
    border: 1px solid #007aff;
}
.term-container form *:focus{
    outline: none;
    border: 1px solid #007aff; /* Couleur bleue iOS */
    border-radius: 0.5rem;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.3); /* halo lumineux */
    transition: box-shadow 0.2s ease;
}
a[href="admin.php?page=hm-tax-edit"]{
    display: none!important;
}
li:has( .hm-language-selector){
    display: inline-flex!important;
}
.hm-language-selector{
    display: contents;
    position: absolute;
    right: 0;
}
.hm-language-selector img{
    margin-inline: .7rem!important;
    max-width: 35px!important;
}
.hm-language-selector a{
    filter: grayscale(1) brightness(.5);
}
.hm-language-selector a.active{
    filter: grayscale(0) brightness(1);
}
.hm_translate_button{
    background-color: #0a7aff!important;
    color: white;
    border-radius: 7px;
    cursor: pointer;
    border: 0;
    min-width: 28px;
    min-height: 28px;
    margin-left: auto;
    float: right;
}
.hm_translate_button:hover{
    transition: filter .3s;
    filter: grayscale(.3);
}
.hm-deepl-container{
    flex-direction: column!important;
    display: flex;
    margin-right: auto;
    width: 100%!important;
    gap: .7rem;

}
.hm-deepl-container input{
    min-width: 300px;
    width: 100%;
    min-height: 40px;
}
.hm-deepl-container .primary-button{

}
.tr-custom{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    pointer-events: none;
}
.hm-input[type=radio],.hm-input[type=checkbox]{
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 6px;
    width: 28px!important;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(0,108,255);
    min-width:28px!important;
    min-height: 28px!important;
    cursor: pointer;

}
.hm-input[type="radio"]:checked,.hm-input[type="checkbox"]:checked {
    background-color: rgb(200, 225, 255);
    border-color: rgb(200, 225, 255);
    border: 1px solid rgb(200, 225, 255);

}
.hm-input[type="radio"]:checked::before,.hm-input[type="checkbox"]:checked::before{
    content: ""!important;
    background-color: rgb(0,108,255);
    border-color: rgb(0,108,255);
    border-radius: 6px;
    width: 20px;
    height: 20px;
    display: block;
    animation: minimize .4s ease-in-out;
    margin: auto;
}
@keyframes minimize {
    from{
        transform: scale(1.3);
    }
    20%{
        transform: scale(1);
    }
    40%{
        transform: scale(1.2);
    }
    60%{
        transform: scale(1);
    }
    80%{
        transform: scale(1.1);
    }
    to{
        transform: scale(1);
    }

}
.hm-default-label{
    display: flex;
    min-height: 28px;
    margin-bottom: .7rem;
    align-items: center;
    gap:.4rem;
}
.exemple{
    border-left: 1px solid #0a7aff;
    padding-left: .4rem;
}
.exemple span{
    margin-block: 0;
    background-color: #0a7aff;
    color: white;
    display: inline;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    padding: .4rem;
}
.hm_translate_table_cell u:nth-of-type(n+3){
    display: none;
}
.language-action{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.language-section{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.hm-form{
    margin: .7rem;
    display: inline-flex;
    flex-direction: column;
    margin-inline: .7rem;
    padding-inline: .7rem;
    width: calc(50% - 2.8rem - 1px);
}
.hm-form span select{
    height: min-content;
    margin-block: auto;
    color: #0a7aff!important;
}
.hm-form *[disabled]{
    color: #0a7aff;!important
}
.hm-form > span{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hm-form label{
    padding-left: .2rem;
}
.hm-form:last-of-type h3{
}
.dc-container:has(.hm-form){
    justify-content: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.hm-form-separation{
    width: 1px;
    margin: 0;
    background-color: #0a7aff;
}
.translate-term-button{
    margin: 0;

}
.translateButton{
    position: fixed;
    top: calc(100% - 76px);
    left: calc(100% - 76px);
    width: 38px;
    height: 38px;
    background-color: #0a7aff;
    color: white;
    border-radius: 5px;
    border: 0;
    z-index: 9999;
    cursor: pointer;
}
.translateButton:hover{
    background-color: #0b52b3;
}
.divi-translatebutton{
    width: calc(38px - .4rem);
    height: calc(38px - .4rem);
    background-color: #6731ac;
    color: white;
    border-radius: 5px;
    border: 0;
    position: unset!important;
    cursor: pointer;
    margin-left: auto;
    margin-right: .4rem;
    margin-block: auto;

}
.show_selector_select{
    min-width: 300px;
    width: 100%;
    min-height: 40px;
}
.selector_preview{
    margin-top: .7rem;
}
.language-selector{
    display: inline-block;
    flex-direction: column;
    border: 1px solid grey;
    cursor: pointer;
    padding-block: 0;
    background-color: white;
    margin-bottom: 0;
    gap: .4rem;
}
.language-selector img{
    max-width: 25px;
    object-fit: contain;
    margin-block: auto;
    margin-left: .4rem;
    margin-right: 0!important;
}
.language-selector > span{
    display: flex;
    gap: .4rem;
    padding-inline: .4rem;
    width: 100%;
}
.language-selector > ul{
    display: flex!important;
    flex-direction: column;
    margin: 0;
    width: 100%;
    max-height: 0;
    overflow-y: hidden;
    transition: max-height .4s;

}
.language-selector[data-open] ul{
    max-height: 300px;
    transition: max-height .4s;
}
.language-selector > ul > li{
    border-left: 0;
    border-right: 0;
    border-top: 0;
}
.language-selector > ul > li:hover{
    background-color: #0a7aff;
    color: white;
    transition: all .2s;
}
.language-selector > ul > li:first-of-type{
    border-top: 1px solid grey;
}
.language-selector > ul > li:last-of-type{
    border-bottom: 0px solid grey;
}
.language-selector > ul > *{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}
.language-selector > ul > p{
    margin: 0!important;
}
.language-selector .bi{
    padding: .1rem;
    width: 15px;
    height: 15px;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    transition: all .2s;
    padding: .1rem;
    margin-block: auto;

}
.language-selector[data-open] .bi::before{
    content: "\F286";
}
.language-selector span:hover .bi{
    transform: translateY(.2rem);
    background-color: #0a7aff;
    color: white;
    transition-property: background-color,  color, transform;
    transition-delay:0s, 0s, .2s;
    transition-duration: .4s, .4s, .2s;
}
.language-selector[data-open] span:hover .bi{
    transform: translateY(-.2rem);
    transition-property: background-color,  color, transform;
    transition-delay:0s, 0s, .2s;
    transition-duration: .4s, .4s, .2s;
}
.language_list{
    display: flex;
    gap: .4rem;
}
.language_list .language-selector{
    padding-inline: .7rem;
}
.language_list img{
    margin: 0;
}
.nfixed{
    position: absolute !important;
    top: unset;
    left:unset;
    width: 30px;
    height: 30px;
    margin-left: -30px;
    margin-bottom: -1px;
    cursor: pointer;
}
.translateButtonACF{
    position: static;
}
.term_translation_label{
    display: inline-flex!important;
    align-items: center!important;
    font-size: 1.2em!important;
    font-weight: bolder!important;
    margin-top: .7rem;
    padding-inline:.4rem!important;
    border: 1px solid grey;
    border-radius: 5px!important;
}
.term_translation_label p{
    margin: 0!important;
}
.term_translation_label input[type=checkbox]{
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    margin: 0 .4rem 0 0!important;
}
.term_translation_label input[type=checkbox]:checked{
    border: 1px solid #0a50a8;
}
.term_translation_label input[type=checkbox]:checked::before{
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 7px;
    background-color: #0a50a8;
    margin:auto;
}

#waiting_progress{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    background-color: rgb(233, 244, 255);
    z-index: 9999;
    border-radius: 100%;
    width: 85%;
    aspect-ratio: 1;
}

.progress{
    display: flex;
    align-items: start;
    height: 50%;
    width: 50%;
    animation: rotate 1s linear infinite;
    top: 0;
    position: absolute;
    justify-content: center;
}
.progress:nth-of-type(2n){
    animation-delay: -.33s;


}
.translateButtonACF{
    width: 38px;
    height: 38px;
    background-color: #0a7aff;
    color: white;
    border-radius: 5px;
    border: 0;
    z-index: 9999;
    cursor: pointer;
}
.translateButtonACF:hover{
    background-color: #0b52b3;

}
.progress:nth-of-type(2n) .progresspoint{
    background-color: #4a5eaa;
}
.progress:nth-of-type(3n){
    animation-delay: -.66s;

}
.progress:nth-of-type(3n) .progresspoint{
    background-color: #313e73;
}
.progresspoint{
    width: 30%;
    aspect-ratio: 1;
    border-radius: 100%;
    background-color: #6d8bff;
}
#hide_progress{
    margin: auto;
    aspect-ratio: 1;
    position: absolute;
    background-color: rgb(0,108,255);

    border-radius: 100%;
    width: 70%;
}
#progressNodeTopContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    position: fixed;
    left: calc(50% - 50px);
    top: calc(50% - 50px);
    background-color: rgb(0,108,255);
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    z-index: 9999;
}
@keyframes rotate{
    from{
        transform: rotate(0deg);
        transform-origin: 50% 100%;
    }
    70%{
        transform: rotate(300deg);
        transform-origin: 50% 100%;
    }
    to{
        transform: rotate(360deg);
        transform-origin: 50% 100%;

    }
}
.synchronization-explain{
    display: block;
    max-width: 600px!important;
}
