#form_cards #form_model_card {
    display: none;
}

#form_cards .hidden {
    display: none !important;
}

.button_hook_pdt {
    /* display: flex;
    align-items: center;
    justify-content: center;
    width: 250px; */
    text-transform: none;
}

.button_hook_pdt.uppercase {
    text-transform: uppercase;
}

#form_cards #open_form_perso {
    /* Pour faire fonctionner l'alignement de CE */
    display: inline-block;
}

#form_cards .form_card {
    /* Pour contrer l'alignement de CE qui se mettait sur tous les elements */
    text-align: left;
}

#form_cards input { 
    outline: none;
    border-radius: 0px;
}
#form_cards .form_error_text{
    color: red!important;
}
#form_cards .form_error_input{
    color: red !important;
    border: 1px solid !important;
}
#form_cards input:active, #form_cards input:focus, #form_cards select:active, #form_cards select:focus { 
    border: 1px solid #e5e5e5;
    box-shadow: unset;
}
#form_cards .error_form_box { 
    display: flex;
    justify-content: left;
    width: 100%;
    margin: 0 0 10px 0;
}
#form_cards .error_form_box { 
    display: flex;
    justify-content: left;
    width: 100%;
    margin: 0 0 10px 0;
}

#form_cards .error_form_box .error_form { 
    color: #f11d22;
}

#form_cards .form_card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: solid 1px #D9D9D9;
    border-radius: 5px;
    margin: 10px 0;
    padding: 10px 20px;
    position: relative;
}
#form_cards .form_card .bottom_card{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
#form_cards .form_card .top_card {
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
#form_cards .form_card .top_card .tab_form{ 
    cursor: pointer; 
    padding: 1px 10px;
    border-radius: 10px;
}

#form_cards .form_card .top_card .tabs_container{ 
    display: flex;
    align-items: center;
}

#form_cards .form_card .top_card .tab_form.active_tab{ 
    background: black;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
}

#form_cards .delete_row { 
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
}

#form_cards .delete_row::hover { 
    color: #000;
}

#form_cards .form_card .form-perso_container {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    margin: 10px 0;
}

#form_cards .form_card .form-perso_container:first-of-type {
    margin-top: 0;
}

#form_cards .form_card .form-perso_container.last_image_tab {
    margin-bottom: 0;
}

#form_cards .form_card .form-perso_container .control-label{ 
    flex: 1;
    text-transform: none;
}

#form_cards .form_card .form-perso_container .control-value{ 
    flex: 1;
}

#form_cards .form_card .left_side { 
    flex: 2;
    margin-right: 10px;
}
#form_cards .form_card .left_side .text_upload { 
    border: dashed 2px #D9D9D9;
    width: 100%;
    height: 100%;
    padding: 0px 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}
#form_cards .form_card .left_side .text_allowed_format{ 
    font-size: 0.800rem;
    text-align: center;
}
#form_cards .form_card .left_side .upload_img_form_perso{ 
    height: 100%;
    width: 100%;
    cursor: pointer;
}
#form_cards .form_card .left_side .form-perso_container.input_file_image { 
    height: 100%;
}
#form_cards .form_card .left_side label img{ 
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}
#form_cards .form_card .left_side input[type='file'] {
    width: 0px;
    height: 0px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
#form_cards .form_card .right_side input[type='checkbox'] { width: auto; }
#form_cards .form_card .right_side .identical_checkbox { margin-top: 16px; }

#form_cards .form_card .bottom_card .right_side { flex: 4; }
#form_cards .form_card .bottom_card .right_side.full_size { width: 100%; }
/* #form_cards .form_card .right_side input, #form_cards .form_card .right_side select {
    border: unset;
    outline: unset;
    border-bottom: solid 2px black;
} */
#form_cards .form_card .right_side input:active, #form_cards .form_card .right_side select:active {
    border: unset;
    border-bottom: solid 2px black;
}
#form_cards .form_card .right_side textarea:active{ outline:0px none transparent !important; }
#form_cards .form_card .right_side textarea{ 
    width: 100%;
    resize: none;
    padding: 8px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 0px;
    outline: none;
}
#form_cards .form_card .right_side .dimensions_block { 
    display: flex;
    align-items: center;
    justify-content: end;
}

#form_cards .form_card .right_side .perso_dimension_w, #form_cards .form_card .right_side .perso_dimension_h { 
    text-align: center;
}

#form_cards .form_card .right_side .dimensions_block .separator { 
    margin: 0 6px;
}

#form_cards .form_card .right_side .texte_font_params { 
    position: relative;
}

#form_cards .form_card .right_side .texte_font_params .form-control-select { 
    width: 50%;
    margin-right: 10px;
}

#form_cards .form_card .right_side .texte_font_params .colorPicker { 
    border: 1px solid #e5e5e5;
    width: 50%;
    text-align: center;
    cursor: pointer;
    padding: 8px;
}

#form_cards .form_card .right_side .texte_font_params .colorPicker_choice { 
    width: 20px;
    height: 20px;
    background-color: transparent;
    position: absolute;
    right: 8px;
    border-radius: 50%;
}

#form_cards .form_card .right_side .printing-container-labels {
    display: flex;
    flex-direction: column;
    flex: 1;
}

#form_cards .form_card .right_side .printing-container-labels .max-color-info {
    font-size: 11px;
    color: slategray;
}

#form_cards .form_card .form-perso_container #perso_nbcolor {
    text-align: right;
 }

#form_cards .form_card .form-perso_container input.onError{ border: solid 1px red; }

@media screen and (max-width: 1200px) { 
    #form_cards .form_card .bottom_card {
        flex-direction: column;
    }
    #form_cards .form_card .bottom_card .left_side {
        margin-right: 0px;
    }
    #form_cards .form_card .left_side label { 
        height: 140px;
    }
}