.ui-state-highlight {
    height: 10em;
    line-height: 10em;
}

.display-none {
    display: none !important;
}

#hcr_devis_block_home {
    box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .2);
    background: #fff;
    padding: 1.563rem 1.25rem;
    margin-bottom: 1.563rem;
}

.hcr_product {
    border: 1px solid #d3d3d3;
    background: #fff;
    margin-bottom: 10px;
    display: flex;
    height: 100%;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
}

.hcr_product_desc {
    width: 40%;
}

.hcr_product_img {
    width: 10%;
}

.hcr_product_qty {
    width: 10%;
}

.hcr_product_price {
    width: 10%;
}

.hcr_span_product_ecotaxe {
    font-size: 10px;
    font-weight: bold;
}

.hcr_product_delete {
    width: 10%;
}

.hcr_product_desc,
.hcr_product_img,
.hcr_product_qty,
.hcr_product_delete {
    /*height: 100%;*/
    /*padding: 10px;*/
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
}

.hcr_span_product_price {
    color: #2fb5d2;
    font-weight: bold;
}

.hcr_div_product_qty {
    border: 1px solid #d3d3d3;
    height: 30%;
    display: flex;
    width: 70%;
    box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .2);
}

.hcr_product_optionnal {
    width: 10%;
    text-align: center;
}

.hcr_input_qty {
    width: 100%;
    border: none;
}

.hcr_div_btn_qty {
    height: 50%;
}

.btn_qty_plus {
    height: 100%;
    border: none;
    width: 100%;
    background: none;
    border-left: 1px solid #d3d3d3;
}

.btn_qty_moins {
    height: 100%;
    border: none;
    width: 100%;
    background: none;
    border-left: 1px solid #d3d3d3;
    border-top: 1px solid #d3d3d3;
}

.center {
    margin: 0 auto;
    text-align: center;
}

.a_title {
    margin: 0 auto;
    text-align: center;
}

.a_title:hover {
    color: blue;
}

.a_delete {
    cursor: pointer;
    text-align: center;
    margin: 0 auto;
    display: block;
    width: 4px;
}

.ui-state-default {
    background: none;
}

.ss_tot {
    background-color: #f1f1f1;
    padding: 5px;
    margin: 0 auto;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ss_tot_label {
    text-align: left;
    width: 50%;
    display: inline-flex;
}

.ss_tot_price {
    text-align: right;
    width: 50%;
    display: inline-flex;
}

.group_title {
    width: 100%;
    text-align: center;
}

.group-id {
    display: none;
}

.total_price {
    width: 80%;
    margin: 0 auto;
    display: flex;
    background-color: #f1f1f1;
    padding: 5px;
    border-radius: 5px;
    font-size: 20px;
}

.total_price_label {
    text-align: left;
    width: 50%;
    font-weight: bold;
}

.total_price_price {
    text-align: right;
    width: 50%;
    font-weight: bold;
}

#sortable2 {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 10px;
}

#sortable2 li {
    margin: 0 5px 5px 5px;
    padding: 5px;
}

.product_checkbox {
    justify-content: center;
    align-items: center;
    display: flex;
    margin-left: 5px;
}

.txtarea {
    width: 100%;
}

.blank {
    border: 1px solid #d3d3d3;
    padding: 1%;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.account_table,
contact_table,
.contact_table,
.opportunity_table {
    font-size: 12px;
    width: 100%;
    background-color: #FFFFFF;
    /*border-collapse: collapse;
    border-width: 2px;
    border-color: #000000;
    border-style: solid;*/
    color: #000000;
}

.account_table td,
.account_table th,
.contact_table td,
.contact_table th,
.opportunity_table td,
.opportunity_table th {
    /*border-width: 2px;
    border-color: #000000;
    border-style: solid;*/
    padding: 5px;
}

.account_table thead,
.contact_table thead,
.opportunity_table thead {
    /*background-color: #C9C8C7;*/
    background-color: #2fb5d2;
}

.account_table input,
.contact_table input,
.opportunity_table input {
    /*width: 100%;*/
}

.ui-slider-range {
    background: green;
}

.percent {
    color: green;
    font-weight: bold;
    text-align: center;
    width: 100%;
    border: none;
    background-color: #ffffff;
}

.total_markup {
    margin: 0 auto;
    width: 80%;
}

.markup {
    display: flex;
    width: 50%;
    border: 1px solid black;
    border-radius: 5px;
    margin-left: 10%;
}

.product_markup {
    display: flex;
    width: 10%;
    border: 1px solid black;
    border-radius: 5px;
    height: 100%;
}

.markup_button {
    background: none;
    height: 100%;
    border: none;
    width: 100%;
}

.div_markup_button {
    width: 25%;
}

.markup_text {
    width: 50%;
}

.markup_text input {
    border: none;
    width: 100%;
    height: 100%;
    text-align: center;
}

.div_fixed {
    border-radius: 5px;
    padding: 5px;
    background-color: #ffffff;
    opacity: 0.97;
    width: 20vw;
    position: fixed;
    top: 5%;
    right: 5%;
    border: 1px solid #605858;
    box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .2);
}

.ui-state-disabled {
    opacity: 1 !important;
}

.favorite:hover {
    color: #ff8f06;
    cursor: pointer;
}

/*style tooltip liste_devis*/
.info_cust {
    cursor: help;
    color: #4cbb6c;
    /*Couleur vert clair*/
}

.form-select {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    font-weight: bold;
    color: #2fb5d2;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

table.dataTable tbody th,
table.dataTable tbody td {
    padding: 2px 4px;
}

.dataTables_info,
.dataTables_paginate {
    font-size: 0.8rem !important;
}

.sticky {
    position: fixed;
    top: 5%;
    width: 50%;
    background-color: white;
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
    opacity: 0.97;
    box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .2);
    z-index: 1000;
}

.bg-white {
    background-color: white;
}

.phc {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.info_bulle {
    position: relative;
    color: black;
    text-decoration: none;
    border-bottom: 1px gray dotted;
}

.info_bulle div {
    display: none;
}

.info_bulle:hover {
    background: none;
    z-index: 500;
    cursor: help;
}

.info_bulle:hover>div {
    display: inline;
    position: absolute;
    white-space: nowrap;
    top: 30px;
    left: 20px;
    background: white;
    color: #343A40;
    padding: 3px;
    border: 1px solid #343A40;
    border-left: 4px solid #343A40;
}

.list_devis tbody {
    font-size: 12px;
}

.list_devis td {
    padding: 3px !important;
}

/* CSS pour les devis (Desktop) */

#resultatChangementTarif {
    margin: 1em 0;
}

.li-resultat-changement-tarif {
    font-weight: 600;
    margin: 0.4em;
}

.header-form-devis {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.form-devis-ul {
    display: flex;
    flex-direction: column;
}

.form-devis-ul li {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 40em;
}

.form-devis-ul li div input {
    margin-left: 1em;
    margin-right: 0.5em;
}

.form-devis-ul-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.form-devis-ul-row li {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.form-devis-ul-row li>.div-solo {
    display: flex;
    width: 98%;
    margin: 5px 1%;
    align-items: center;
    flex-wrap: wrap;
}

.form-devis-ul-row li>div {
    display: flex;
    width: 48%;
    margin: 5px 1%;
    align-items: center;
    flex-wrap: wrap;
}

.form-devis-ul-row li>div input,
.form-devis-ul-row li>div textarea {
    flex-grow: 1;
    margin: 0 1em;
    padding: 0.5em;
    height: 35px;
}

.form-devis-ul-row li>div label {
    min-width: 15em;
    text-align: left;
    margin: 0;
}

.styl_title_info_crm {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#input_date {
    margin-left: 0.5em;
}

#groups>div {
    margin: 20px;
    padding: 5px;
    border: 1px solid #3b3c7b;
    border-radius: 5px
}

#buttons>div {
    margin: 0.5em;
    display: flex;
    width: 15em;
}

#buttons>div>input {
    flex-grow: 1;
}

.alert-products-not-available {
    position: relative;
}

.alert-products-not-available .close {
    position: absolute;
    top: 0;
    right: 5px;
}

#table_list_expo tbody td {
    font-size: 12px;
}

.title-expo-list {
    color: #4f85bd;
}

#table_list_expo thead {
    background: aliceblue;
}

/* Affichage téléphone */
@media screen and (max-width: 767px) {
    /* CSS Mobile pour les devis */

    #form_devis {
        padding: 0.5em;
    }

    #form_devis #couverture {
        width: 100%;
        height: auto;
    }

    #form_devis label {
        text-align: left;
    }

    .header-form-devis {
        flex-direction: column;
    }

    .header-form-devis>div {
        width: 100%;
        text-align: center;
        margin: 0.5em 0;
    }

    .form-devis-ul li {
        flex-direction: column;
        width: 100%;
        text-align: right;
    }

    .form-devis-ul-row li {
        flex-direction: column;
    }

    .form-devis-ul-row li>div {
        width: 98%;
    }

    .form-devis-ul-row li>div input,
    .form-devis-ul-row li>div textarea {
        width: 100%;
        margin: 0;
    }

    .styl_title_info_crm {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .styl_title_info_crm input {
        margin: 1em 0 0 0;
    }

    .devis-bottom-button {
        display: flex;
        flex-direction: column;
    }

    .devis-bottom-button button {
        margin: 0.3em;
    }

    #main #content {
        margin: 0;
        padding: 0;
    }

    #groups #buttons {
        flex-direction: column;
    }

    #groups #buttons>div,
    #groups #buttons input {
        width: 100%;
    }

    li .hcr_product {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    li .hcr_product>div {
        display: flex;
        width: 90%;
        justify-content: center;
        margin: 0.5em;
    }

    li .hcr_product .hcr_product_img {
        max-width: 8em;
    }

    #groups>div {
        margin: 0;
        border: none;
    }

    .hcr_div_product_qty {
        width: 90%;
        box-shadow: none;
        height: 100%;
    }

    .hcr_input_qty {
        padding-left: 1em;
    }

    #groups .sticky {
        position: inherit;
    }

    /* 
    .markup_button_up {
        background-color: lightgreen;
    }

    .markup_button_down {
        background-color: lightcoral;
    } */

    .ui-dialog-buttons {
        width: 98% !important;
        left: 1% !important;
    }

    .ui-dialog-buttons textarea {
        width: 100%;
    }

    li .hcr_product .hcr_product_delete,
    li .hcr_product>a {
        display: flex;
        justify-content: center;
        width: 20%;
        flex-grow: 1;
    }

    .div_fixed .total_price,
    .div_fixed .total_markup,
    .div_fixed br {
        display: none;
    }

    .div_fixed {
        position: sticky;
        background: none;
        border: none;
        box-shadow: none;
        width: 100%;
        bottom: 1em;
    }

    .div_fixed .center {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-around;
    }

    .div_fixed .center input {
        margin: 0 !important;
    }

    .pack-title-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0;
    }

    .pack-title-list>div {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0.5em 0;
    }

    .pack-title-list img {
        max-width: 8em;
    }

    .pack-title-list .pack-title-button {
        width: 45%;
        margin: 0 2.5%;
    }

    #table_list_devis_wrapper {
        overflow: auto;
    }
}