header {
    margin-bottom:  5px !important;
    height: 42px;
}
html {
    height: 100% !important;
}
body {
    background-color: #f2f2f2 !important;
    position: relative;
    min-height: 100% !important;
}
body.font-size-sm,
body.font-size-sm .form-control,
body.font-size-sm .btn
{
    font-size:13px;
}
body.font-size-sm ul {
    font-size: 13px;
}
body.font-size-sm tbody{
    font-size:13px
}
body.font-size-sm .dx-datagrid-rowsview {
    font-size:0.92em
}
body.font-size-sm.page_list tbody{
    font-size:inherit;
}
body.font-size-sm.page_list .dx-datagrid-rowsview {
    font-size:inherit;
}

body.font-size-sm .dx-datagrid .dx-row > td {
    padding: 2px 7px !important;
}
body.font-size-sm.page_list .dx-datagrid .dx-row > td {
    padding: 5px 7px !important;
    vertical-align: middle;
}
body.font-size-sm.page_list .dx-editor-cell.dx-editor-inline-block:not(.dx-command-select)::before {
    padding-top:0;padding-bottom:0;
}
label input {
    vertical-align: inherit;
}
.cursor-pointer {
    cursor: pointer;
}
#scroll {
    display:none;
    bottom: 98px;
    right: 50px;
    position: fixed;
    z-index: 99;
}
.opacity-25 {
    opacity: 25%;
}
.opacity-40 {
    opacity: 40%;
}
.title-700 {
    font-size: 18px;
    font-weight: 700;
}
/** Overwritte bootstrap */
body.font-size-sm, body.font-size-sm .form-control, body.font-size-sm .btn {
    font-size: 0.8333333rem;
}
.form-control {
    padding: 0.275rem 0.65rem !important;
}
/** fin overwritte bootstrap  */
#scroll a{
    display: block;
    width: 40px;
    height: 40px;
    background: url(../images/scroll.png);
    opacity: 0.7;
}
#scroll a:hover{
    opacity: 1;
}
a {
    cursor:pointer;
}
a[disabled],i[disabled] {
    pointer-events: none;
    cursor: default;
}
.my-select-multiple.disabled > button, i.disabled {
    opacity: 0.5; /* Réduit l'opacité pour indiquer qu'il est désactivé */
    pointer-events: auto !important; /* Désactive les événements de pointeur */
}
i.disabled:hover {
    pointer-events: auto;
}
input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]),select {
    height:28px;
}
label {
    color: #2c3e50 !important;
}
label.white {
    color: white !important;
}
.dx-datagrid-column-chooser > .dx-popup-normal {
    height: 423px !important;
}
.dx-datagrid-rowsview.dx-empty {
    height: 64px !important;
}
.fa-unselected {
    -webkit-text-fill-color: white;
    -webkit-text-stroke: 1.7px #2c3e50;
}
.form-group.has-error .help-block {
    padding: 5px !important;
}
.form-group.has-error .help-block ul {
    font-size: 1rem !important;
}
input:checked ~ .custom-control-label::before {
    background-color: #333;
    border-color: #333;
}
.nobutton .dx-popup-bottom.dx-dialog-buttons {
    display: none!important;
}
.btn-save {
    color:#fff !important;
    border-color:rgb(195,105,205) !important;
    background-color: rgb(195,105,205) !important;
}
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}
.dropdown a i.fa-2x { font-size: 1.8em;}
.table > thead.bg-primary > tr > th,
.bg-primary {
    background-color: #2c3e50 !important;
    color: white;
}
.bg-saumon-light {
    background-color: rgb(245,199,193) !important;
}
.color-saumon-bold {
    color : rgb(224,91,73) !important;
}
.bg-orange {
    background-color: #f05b41 !important;
    color: white;
}
.bg-orange-inverse {
    background-color: white;
    color: #f05b41 !important;
}
.border-top-orange {
    border-top: 1px solid #f05b41 !important;
}
.border-top-grey {
    border-top: 1px solid #f2f2f2 !important;
}
.border-top-grey-dark {
    border-top: 1px solid rgb(127,127,127) !important;
}
.dropdown-menu.border-orange,.border-orange {
    border: 1px solid #f05b41 !important;
}
.border-vert {
    border: 1px solid #18BC9C !important;
}
.border-2-right-orange {
    border-right: 2px solid #f05b41 !important;
}
.border-2-left-orange {
    border-left: 2px solid #f05b41 !important;
}
.border2-orange{
    border: 2px solid #f05b41 !important;
}
.color-orange {
    color: #f05b41 !important;
}
.bg-vert {
    background-color: #14a085 !important;
    color: white !important;
}
.bg-jaune-privilege {
    color: #505050 !important;
    background-color: #FAD82C !important;
}
.bg-pink {
    background-color: rgb(255, 227, 227) !important;
}
.bg-outline-vert {
    color: #14a085 !important;
    background-color: white !important;
}
.bg-white {
    background-color: #ffffff !important;
    color: #2c3e50 !important;
}
.bg-rouge {
    background-color: #e61e2a !important;
    color: white !important;
}
.btn-success.inverse {
    background-color: white !important;
    color: #14a085 !important;
}
.btn-success.inverse.active {
    color: #fff !important;
    background-color: #13967d !important;
    border-color: #128d75;
}
.bg-violet {
    background-color: rgb(195,105,205) !important;
    color: white;
}
.bg-bleu {
    background-color: #0099FF !important;
    color: white;
}
.bg-outline-bleu {
    color: #0099FF !important;
    background-color:white;
    border-color: #0099FF !important;
}
.color-vert {
    color: #14a085 !important;
}
.color-vert-link {
    color: #18bc9c !important;
}
.border-success {
    border-color: #18bc9c;
}
.icon-phone-rotary svg {
    margin-right: 0.4rem;
    width: 31px;
    margin-left: -0.3rem;
}
.icon-phone-rotary.white svg path { fill:#ffffff !important;}
.icon-phone-rotary.white svg { width: 33px;}
div.hide, .hide{
    display: none !important;
}
div.hidden, .hidden {
    visibility:hidden !important;
}
.rounded-circle-31 {
    width: 31px;
    height: 31px;
    line-height: 31px;
    text-align: center;
    display: inline-block;
    border-radius: 50% !important;
    font-size: 1rem;
    font-weight: bold;
    position: relative;
}
.nav-item .nav-link.rounded-circle-30.border-orange:hover {
    background-color: #f05b41 !important;
}
.rounded-circle-30 {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    border-top-right-radius: 50% !important;
    border-top-left-radius: 50% !important;
}
.rounded-circle-31::before{
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;

}
.rounded-circle-31.bg-white::before {
    border-top: 10px solid #ffffff;
}
.rounded-circle-31.bg-grey-dark::before {
    border-top: 10px solid rgb(127,127,127);
}

.bg-grey,
.table > thead > tr > th.bg-grey {
    background-color: #f2f2f2 !important;
}
.border-grey {
    border: 1px solid #f2f2f2 !important;
}
.bg-grey-light {
    background-color: #D9D9D9 !important;
    color:black !important;
}
.color-grey-light {
    color: #D9D9D9 !important;
}
.color-grey {
    color: #f2f2f2 !important;
}
.color-grey-dark {
    color: rgb(127,127,127) !important;
}
.bg-grey-dark,
.table > thead > tr > th.bg-grey-dark {
    background-color: rgb(127,127,127) !important;
}
.border-grey-dark {
    border: 1px solid rgb(127,127,127) !important;
}
.bg-grey-medium,
.table > thead > tr > th.bg-grey-medium {
    background-color: rgb(220,220,220) !important;
}
.border-grey-medium {
    border: 1px solid rgb(220,220,220) !important;
}
.fw-600 {
    font-weight: 600!important;
}
.hide {
    display: none !important;
}
.ui-autocomplete {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.25);
    width: 350px;
    list-style: none;
    padding-left: 0;
}
.ui-autocomplete .ui-menu-item {
    cursor: pointer;
    padding: 2px 7px;
}
.ui-autocomplete .ui-menu-item:hover {
    background-color: #ededed;
}
.ui-autocomplete-loading {
    background-repeat: no-repeat;
    background-origin: content-box;
    background-position: right center;
}
.ui-autocomplete {
    z-index: 2147483647;
}
.input-icons button {
    position: absolute;
    cursor: pointer;
}

.icon {
    padding: 10px;
    min-width: 40px;
}

.input-field {
    width: 100%;
    padding: 10px;
}
.input-date-custom {
    width: 124px !important;
    padding-left: 5px !important;
    padding-right: 0px !important;
}
.grid {
    max-height: 720px;
}
.dx-datagrid .dx-row-alt > td, .dx-datagrid .dx-row-alt > tr > td {
    background-color: #e6e6e6 !important;
}
.dx-state-focused.dx-invalid .dx-invalid-message-auto .dx-overlay-wrapper {
    visibility: visible;
}
.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused) > td,
.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused) > tr > td,
.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > td,
.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > tr > td,
.table > thead > tr > th{
    background-color: #f05b41 !important;
    color: #fff !important;
}
.grid-condensed .dx-datagrid .dx-row > td { padding:3px !important;}
.dx-datagrid-content .dx-datagrid-table .dx-row .dx-command-edit {
    width: 160px !important;
}
.dx-button-has-icon .dx-button-content {
    padding: 5px !important;
}
.dx-datagrid-addrow-button {
    background-color: #14a085 !important;
}
.dx-datagrid-addrow-button i {
   color: #fff !important;
}
.dx-popup-wrapper .dx-overlay-content {
    overflow: inherit;
}
.nav-item-custom {
    font-size: 0.8em;
    margin-bottom:0;
}
.nav-item-custom a {
    padding: 0 1rem;
}
.sublink {
    margin-right: 4rem;
    margin-left: 1rem;
}
.navbar-nav li { margin-bottom:0;}
.color-primary {
    color: #2c3e50 !important;
}
#nav-menu-logout.nav-item.dropdown:hover {
    background-color:inherit;
}
.color-white, label.color-white {
    color: white !important;
}
.bg-primary .navbar-nav .nav-link.color-white:hover, .bg-primary .navbar-nav .nav-link.color-white:focus { color: white !important}
@media all and (min-width: 992px) {
    .nav-item .dropdown-menu{ display: none; }
    .nav-item:hover .nav-link{   }
    .nav-item.dropdown{ list-style-type: none;}
    .nav-item:hover .dropdown-menu{ display: block; }
    .nav-item .dropdown-menu{ margin-top:0; }
    .sublink.dropdown-toggle::after {display: none;}
    .nav-item.dropdown:hover, nav-item.dropdown:focus, .nav-item.dropdown.active { background-color:#14a085;}
    .nav-item.dropdown:hover a, nav-item.dropdown:focus a, .nav-item.dropdown.active a { color: #fff;}
    .dropdown-item:hover, .dropdown-item:focus {background-color: #14a085 !important}
}
.dx-datagrid-export-button .dx-icon-export-to::before {
    content: "" !important;
}
.dropdown-menu {
    padding: 0!important;
    border: 0!important;
    width: 100%;
}
.dropdown-item {
    color: #233240 !important;
    padding: 0.45rem 1rem !important;
}
.dropdown-item.active {
    color: #fff !important;
}
.dropdown-item:hover {
    color: #fff !important;
}
.dropdown-menu li {
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    /*border-top: 1px solid rgba(0, 0, 0, 0.05);*/
    margin-bottom: 0!important;
}
.dropdown-menu li:last-of-type {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.dropdown-menu.bg-primary.color-white .dropdown-item {
    color: white !important;
}
.dropdown-menu.bg-primary.color-white .dropdown-item.disabled.color-primary {
    color: #2c3e50 !important;
}
.ui-helper-hidden-accessible{
    display:none !important;
}
#submenu { padding-right: 20%;}
#submenu li { margin-bottom: 0!important;}
.list-search-categorie--title {
    display: none;
    color: white;
    text-align: center;
    justify-content: center;
    padding: 5px 0;
    margin-right: -2px;
}
.list-search-categorie--input {
    display:none;
    padding: 0.5rem 1rem;
}
#filter-container {
    background-color: #2c3e50;
    padding-bottom: 0;
}
#filter-container.active {
    background-color: white;
    padding-bottom: .5rem;
}
#filter-image {
    position: absolute;
    bottom: 2px;
    left: 50%;
    color: white;
    cursor: pointer;
}
#filter-image > i {
    font-size: 18px;
    border-radius: 50%;
    border: 2px solid white;
    padding: 7px;
}
#filter-container.active #filter-image {
    bottom: -17px;
}
#filter-container.active .list-search-categorie--input {
    display: block;
}
#filter-container.active .list-search-categorie--input.flexible, #filter-container.active .list-search-categorie--title {
    display: flex;
}
.list-search-action {
    flex: 1;
}
.list-search-action > .list-search-categorie--title {
    height: 34px;
}
.list-search-action > .list-search-categorie--input a,
.form-actions-row .btn{
    min-width: 180px;
}
#content-tab .nav-item {
    margin-bottom: 0;
}
.dx-header-row, .dx-datagrid .dx-datagrid-content-fixed .dx-datagrid-table  .dx-header-row  .dx-col-fixed
{
    background-color: #f05b41 !important;
    color: #fff;
}
#content-tab .nav-item .nav-link {
    background-color: white;
    color: #14a085;
    margin-right: 0.3rem;
    border-bottom: 0.3rem solid #f2f2f2;
    border-right: 0;
    border-left: 0;
}
#content-tab .nav-item .nav-link:hover {
     background-color: #14a085;
     color: #fff;
 }
#content-tab .nav-item .nav-link.active,
#content-tab .nav-item .nav-link.active:hover
{
    background-color: #2c3e50 !important;
    color: white;
    border-bottom: 0.3rem solid #2c3e50;
}
.column-tab  .nav-item .nav-link.active .icons,
.column-tab  .nav-item .nav-link:hover .icons,
.column-tab .nav-item .nav-link.active,
.column-tab .nav-item .nav-link:hover
{
    background-color: rgb(220,220,220) !important;
}
.nav-orange .nav-item .nav-link {
    background-color: white;
    color: #f05b41;
    margin-right: 0.3rem;
}
.nav-orange  .nav-item .nav-link:hover {
    background-color: #f05b41;
    color: #fff;
}
.nav-orange  .nav-item .nav-link.active,
.nav-orange  .nav-item .nav-link.active:hover
{
    background-color: #f05b41 !important;
    color: white;
}
.disabled .nav-orange .nav-item .nav-link {
    background-color: white;
    color: rgb(166,166,166);
}
.disabled .nav-orange .nav-item .nav-link.active,
.disabled .nav-orange  .nav-item .nav-link.active:hover {
    background-color: rgb(166,166,166) !important;
    color: #fff;
}
.disabled .nav-orange  .nav-item .nav-link:hover {
    background-color:rgb(166,166,166) !important;
    color: #fff;
}
.disabled .bg-primary{
    background-color:rgb(166,166,166) !important;
}

.dx-datagrid .dx-header-filter.dx-header-filter-empty::before {
    -webkit-text-fill-color: transparent;;
}
.dx-datagrid .dx-header-filter::before {
    font-family: 'Font Awesome 5 Free'; font-weight: 900; content: "\f0b0" !important;
    -webkit-text-fill-color: white;
    -webkit-text-stroke-width: 1.3px;
    -webkit-text-stroke-color: white;
}
.dx-datagrid-search-panel {
    margin-left: 0 !important;
}
.border-categorie {
    border-left: 2px solid #2c3e50;
    margin-top: 2.5rem;
}
input.form-control.first {
    margin-right: 2rem;
    margin-bottom: 1rem;
}
input.form-control.second {
    margin-bottom: 1rem;
}
.breadcrumb-item a, .breadcrumb-item a:hover{
    color: #f05b41;
}
.breadcrumb-item {
    font-size: 13px;
}
@media (min-width: 1900px) {
    .container {min-width: 1854px;}
    #homepage .container {min-width: 1320px;}
}
#homepage .body-container {
    background-color: #fff !important;
}
/** choisir les colonnes */
.dx-datagrid-column-chooser-list,
.nobutton .dx-popup-content{
    padding: 0 !important;
}
.dx-popup-content .dx-treeview-node-container li{ margin-bottom: 0;font-size: 16px; }
.dx-datagrid-column-chooser .dx-overlay-content .dx-popup-content .dx-column-chooser-item {
    margin-bottom: 0!important;
}
.dx-popup-content .dx-column-chooser-item:hover,
.dx-popup-content .dx-column-chooser-item:focus,
#grid-list-filter .dx-column-lines > td:first-child:hover,
#grid-list-filter .dx-column-lines > td:first-child:focus
{
    background-color:#14a085 !important;
    cursor: pointer;
    color: white;
}
.dx-datagrid-column-chooser .dx-overlay-content .dx-popup-content .dx-column-chooser-item:hover .dx-treeview-item-content,
.dx-datagrid-column-chooser .dx-overlay-content .dx-popup-content .dx-column-chooser-item:focus .dx-treeview-item-content
{
   color: white;
}
.dx-button-mode-text .dx-icon.dx-icon-close {
    color: white;
}
.dx-collection.dx-popup-title {
    color: white;
    background-color: #2c3e50 !important;
}
.dx-treeview-item-content {
    color: #2c3e50;
}
.collection li {
    list-style-type: none;
}
.collection-info {
    position: absolute;
    right: -2px;
    bottom: 6px;
    color: gray;
    font-size: 17px;
}
.collection-info.invert {
    background: linear-gradient(gray,gray) center /20% 70% no-repeat;
    color: white;
    border: 1px solid gray;
    border-radius: 10px;
}
#collection-tel li {
    width: 150px;
    position:relative;
}
.add-icon {
    position:absolute;
    top:0;
    right:-9px;
    width: 32px;
    height: 32px;
    border-radius: 20px;
    text-align:center;
    background: #14a085;
    font-size: 1.2em;
    line-height: 2.1rem;
    color: white;
}
.circle-icon {
    width: 32px;
    height: 32px;
    border-radius: 20px;
    text-align:center;
    font-size: 1.3em;
    line-height: 2rem;
}
.icon-abs-center {
    position: absolute;left: 0!important;right: 0!important;margin: auto!important;bottom: 0!important;top: 0!important;
}
#form_user label { color: #ffffff !important;}
.utilisateur_sites label {margin-right: 1rem;}
/** fin choix colonnes */
/** form global */
/** page client show */
#body-client .dx-header-row,
.result-souscripteur-client .dx-header-row,
#table-dupliquer-preference.table > thead > tr > th
{
    font-size: 13px;
    color: #F05C41 !important;
    text-align: center;
    vertical-align: middle;
    background-color: #E0E0E0 !important;
}
#table-dupliquer-preference.table > tbody > tr > td,
#table-dupliquer-preference.table > thead > tr > th{
    padding: 4px 7px !important;
}
.equipement-item {
    border-bottom: 1px solid rgb(220,220,220);
}
.equipement-item:hover, .equipement-item.active {
    background-color: rgb(220,220,220);
    cursor: pointer;
}
.bloc-4-border {
    border: 1px solid rgb(220,220,220);
}
#form-simulateur .dropdown-toggle {
    width:600px;
}
#sidebar-client {
    max-width:50px;
}
.sidebar-client-bottom.minim {
    width:80%;
}
.sidebar-client-bottom {
    width:95%;
}

#body-client.minim {
    width:calc(100% - 19%);
}
.bloc_fiche_full .client-infostech-actions {
    flex-direction: row;
}
.bloc_fiche_full .client-infostech-actions {
    gap: 1rem;
    flex-direction: column;
    align-self: center;
    margin: auto;
}
.bloc_fiche_full .client-infostech-infos {
    width: 50%;
    align-self: self-start;
}
.bloc_fiche_full .client-infostech-options {
    width: 35%;
}
#body-client.minim .client-infostech {
    flex-direction: column;
}
#sidebar-client.minim {
    max-width: 68px;
}
.nav-tabs .nav-item.sticky-links__element .nav-link .nav-title {
    display:none;
}
.nav-tabs .nav-item.sticky-links__element .nav-link:hover {
    width: 180px !important;
    border-radius: 20px 20px 20px 20px !important;
    text-align: left !important;
    padding-left: 0.4rem !important;
}
.nav-tabs .nav-item.sticky-links__element .nav-link:hover .nav-title {
    display:inline-block;
}

#sidebar-client.minim #list-equipement-actif,
#sidebar-client.minim #sidebar-client-container-title--text{
    display: none;
}
#sidebar-client.minim #sidebar-client-container-title {
    flex-direction: column;
    gap: 1rem;
}
.d-flex.flex-wrap > .input-group {
    width: auto!important;
}
.preferences_planification .bootstrap-select {
    max-width: 130px;
}
.preferences_planification.minim .bootstrap-select {
    max-width: 276px;
}
.title_preferences_planifications {
    padding: 1px;
    color: #f05b41 !important;
}
#salarie-frisquet {
    width:28px;
    height:28px;
    background-size:cover;
    background-image: url('../images/salarie-frisquet-disabled.png');
}
#salarie-frisquet.active {
     background-image: url('../images/salarie_frisquet.png');
 }
#client-chantier {
    width:28px;
    height:28px;
    background-size:cover;
    background-image: url('../images/chantier-disabled.png');
}
#client-chantier.active {
    background-image: url('../images/chantier.png');
}
@media (max-width: 768px) {

}
/* fin client */

/* TCHATTTTTTT */
@media only screen and (max-width : 540px)
{
    .chat-sidebar
    {
        display: none !important;
    }

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

.chat-sidebar
{
    width: 400px !important;
    position: absolute;
    height: 100%;
    right: 0;
    top: 45px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 12px;
    padding-right:12px;
    border: 6px solid #2c3e50;
    background-color: #f2f2f2;
    z-index: 999;
}
.chat-group {
    margin-right: -12px;
    margin-left: -12px;
}
.chat-people {
    height: 37px;
    border: 1px solid rgb(191,191,191);
}
.chat-people_first {
    width: 10%;
}
.chat-people_name {
    cursor: pointer;
    width: 80%;
}
.chat-people_picture {
    width: 10%;
    background-color: rgb(191,191,191);
}
.chat-people_picture i{
   margin-right: 0;
    color: white;
}
.picto-tchat {
    position:relative;
    color:white;
    text-decoration: none;
}
#number_tchat_global {
    font-size: 17px;
    vertical-align: super;
    margin-right: 7px;
}

.sidebar-name
{
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 4px;
    font-size: 12px;
}

.sidebar-name span
{
    padding-left: 5px;
}

.sidebar-name a
{
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.sidebar-name:hover
{
    background-color:#e1e2e5;
}

.sidebar-name img
{
    width: 32px;
    height: 32px;
    vertical-align:middle;
}

.popup-box
{
    display: none;
    position: fixed;
    bottom: 0px;
    right: 220px;
    height: 285px;
    background-color: rgb(237, 239, 244);
    width: 300px;
    border: 1px solid rgba(29, 49, 91, .3);
}

.popup-box .popup-head
{
    background-color: #6d84b4;
    padding: 5px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    clear: both;
}

.popup-box .popup-head .popup-head-left
{
    float: left;
}

.popup-box .popup-head .popup-head-right
{
    float: right;
    opacity: 0.5;
}

.popup-box .popup-head .popup-head-right a
{
    text-decoration: none;
    color: inherit;
}

.popup-box .popup-messages
{
    height: 100%;
    overflow-y: scroll;
}
.chatbox {
    position: fixed;
    bottom: 36px;
    right: 30px;
    width: 300px;
    height: 500px;
    background-color: #fff;
    font-family: 'Lato', sans-serif;

    -webkit-transition: all 600ms cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 600ms cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 999;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-direction: column;
    flex-direction: column;
}
.chatbox.sans-bottom-bar {
    bottom: 36px;
}
.chatbox.avec-bottom-bar {
    bottom: 79px;
}

.chatbox.sans-bottom-bar.chatbox--tray {
    bottom: -428px;
}
.chatbox.avec-bottom-bar.chatbox--tray {
    bottom: -385px;
}

.chatbox--closed {
    bottom: -400px;
}

.chatbox .form-control:focus {
    border-color: #1f2836;
}

.chatbox__title,
.chatbox__body {
    border-bottom: none;
}

.chatbox__title {
    padding-right: 10px;
    background-color: #1f2836cc;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    cursor: pointer;

    display: -webkit-flex;
    display: flex;

    -webkit-align-items: center;
    align-items: center;
}

.chatbox__title span.picto {
    margin: 0 0 0 15px;
    line-height: 35px;
    position: relative;
    padding-left: 31px;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}

.chatbox__title span.picto a {
    color: #fff;
    max-width: 195px;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chatbox__title span.picto:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 23px;
    height: 24px;
    border-radius: 6px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background-size: 100%;
    background-repeat: no-repeat;
}
.chatbox__title.bg-orange .picto:before {
    background-image: url('../images/picto-worker-hat-white.png');
}
.chatbox__title.bg-primary .picto:before {
    background-image: url('../images/picto-interne-white.png');
}

.chatbox__title.bg-vert .picto:before {
    background-size: 114%;
    background-image: url('../images/picto-groupe-white.png');
}

.chatbox__title__close {
    color: white;
}
.chatbox__title__tray,
.chatbox__title__close {
    width: 24px;
    height: 24px;
    outline: 0;
    border: none;
    background-color: transparent;
    opacity: 0.5;
    cursor: pointer;

    -webkit-transition: opacity 200ms;
    transition: opacity 200ms;
}

.chatbox__title__tray:hover,
.chatbox__title__close:hover {
    opacity: 1;
}

.chatbox__title__tray span {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-bottom: 2px solid #fff
}

.chatbox__title__close svg {
    vertical-align: middle;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.2px;
}

.chatbox__body,
.chatbox__credentials {
    padding: 15px;
    padding-top: 5px;
    padding-bottom: 10px;
    border-top: 0;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}
.panel-footer {
    background-color: #DCDCDC;
}

.chatbox__credentials {
    display: none;
}

.chatbox__credentials .form-control {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.chatbox__body {
    overflow-y: auto;
    height: 405px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
}
.chatbox__body::-webkit-scrollbar {
    display: none;
}

.chatbox__body__message {
    position: relative;
}

.chatbox__body__message p {
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
    box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
}

.chatbox__body__message img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fcfcfc;
    position: absolute;
    top: 15px;
}

.chatbox__body__message--left p {
    margin-left: 15px;
    padding-left: 30px;
    text-align: left;padding-top: 25px;
}

.chatbox__body__message--left img {
    left: -5px;
}

.chatbox__body__message--right p {
    margin-right: 15px;
    padding-right: 30px;
    text-align: right;
}

.chatbox__body__message--right img {
    right: -5px;
}

.chatbox__message {
    padding: 15px;
    min-height: 50px;
    outline: 0;
    resize: none;
    border: none;
    font-size: 12px;
    border: 1px solid #ddd;
    border-bottom: none;
    background-color: #fefefe;
}

.chatbox--empty {
    height: 262px;
}

.chatbox--empty.chatbox--tray {
    bottom: -428px;
}

.chatbox--empty.chatbox--closed {
    bottom: -262px;
}

.chatbox--empty .chatbox__body,
.chatbox--empty .chatbox__message {
    display: none;
}

.chatbox--empty .chatbox__credentials {
    display: block;
}
.chatbox_timing {
    position: absolute;
    right: 10px;
    font-size: 12px;
    top: 2px;
}
.chatbox_timing ul{padding:0;margin:0}
.chatbox_timing ul li {
    list-style: none;
    display: inline-block;
    margin-left: 3px;
    margin-right: 3px;
}
.chatbox_timing ul li a{display:block;color:#747474}
.ul_msg {


    padding: 10px !important;

}
.chatbox__body__message--right .ul_section_full{
    margin-right: 15px;
    padding-right: 30px;
    text-align: right;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
    box-shadow: 1px 1px rgba(100, 100, 100, 0.1);margin-bottom: 15px;
    padding-bottom: 5px;padding-top:15px;
}
.chatbox__body__message--left .ul_section_full {

    margin-left: 15px;
    padding-left: 15px;
    text-align: left;
    padding-top: 15px;
    padding-bottom: 5px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
    box-shadow: 1px 1px rgba(100, 100, 100, 0.1);

}
.ul_msg{padding:0;margin:0px}
.ul_msg li{list-style:none;display:block}
.ul_msg2{padding:0;margin:0px;text-align: right;}
.ul_msg2 li{list-style:none;display:inline-block;margin-right: 15px;}
.chatbox__body__message--right .chatbox_timing  {
    position: absolute;
    left: 10px;
    font-size: 12px;
    top: 2px;
}
.chatbox__body__message--right .ul_msg2{text-align:left}
.chatbox__body__message--right .ul_msg2 li {
    list-style: none;
    display: inline-block;
    margin-left: 15px;margin-right:0px
}
.chat_set_height {
    height: 40px;
    margin-top: 1px;
}
.chatbox22 .form-control:focus {
    border-color: #DCDCDC;
}
.width50{width:50%;float:left;background:#ECECEC;}
ul.list-chat-msg {
    list-style:none;
    padding:0;
    display: flex;
    flex-direction: column;
    font-size: 16px !important;
    margin-bottom:0;
}
.msj {
    float: left;
    align-self: flex-start;
}
.msj-r {
    float: right;
    align-self: flex-end;
}
.msj::before {
    width: 0;
    height: 0;
    content: "";
    left: -13px;
    position: absolute;
    border-style: solid;
    border-width: 13px 13px 0 0;
    border-top-width: 13px;
    border-right-width: 13px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    bottom: 7px;
    border-color: transparent #f2f2f2  transparent transparent;
}
.msj-r::after {
    width: 0;
    height: 0;
    content: "";
    right: -13px;
    position: absolute;
    border-style: solid;
    border-width: 13px 0 0 13px;
    bottom: 7px;
    border-color: transparent transparent transparent #f2f2f2;
}
.msj-r.bg-orange::after{
    border-color: transparent transparent transparent #f05b41;
}
.msj-r.bg-primary::after{
    border-color: transparent transparent transparent #2c3e50;
}
.msj-r.bg-vert::after{
    border-color: transparent transparent transparent #14a085;
}
.msj p, .msj-r p {
    margin-bottom: 0;
    font-size: 16px !important;
}
.macro {
    border-radius: 5px;
    padding: 7px;
    display: flex;
    position: relative;
    max-width: 100%;
}
.chat-msg-hour {
    text-align: right;
    opacity: 0.8;
    line-height: 10px;
}
.chat-send-msg {
    border:0;
    border-right:1px solid #ced4da;
    border-top:1px solid #ced4da;
    height:58px;
    overflow-y: auto;
    overflow-x: hidden;
    word-wrap: break-word;
    word-break: break-word;
}
.small, small {
    font-size: 70% !important;
    font-weight: 400;
}
/*======================Chat Box Ends=====================================================*/
/*======================Message=====================================================*/
.message_check{padding-top:10px;}
.messsade_date {
    text-align: left;
    padding-top: 9px;
}
.messsade_date a{color:#000;}
.padleftright0{padding-left:0px;padding-right:0px;}
.message_box_area {
    color: #000;
    cursor: pointer;
}
.create_m {
    border: 1px solid #ccc !important;
}
.fileinput-button {
    float: left;
    margin-right: 4px;
    overflow: hidden;
    position: relative;
}
.fileinput-button {
    background: none repeat scroll 0 0 #eeeeee;
    border: 1px solid #e6e6e6;margin-top: 15px;
}
.fileinput-button {
    float: left;
    margin-right: 4px;
    overflow: hidden;
    position: relative;
}
.fileinput-button input {
    cursor: pointer;
    direction: ltr;
    font-size: 23px;
    margin: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(-300px, 0px) scale(4);
}
.fileupload-buttonbar .btn, .fileupload-buttonbar .toggle {
    margin-bottom: 5px;
}
.create_m:focus {
    border-color: #66afe9 !important;
    outline: 0 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6) !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6) !important;
}
.col-lg-3.control-label {
    text-align: left;
}
/* FIN TCHATTTTTTT */
/** Popper */
.tchat-tooltip {
    background: #333;
    color: white;
    font-weight: bold;
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 4px;
    display: none;
}
.info-tooltip {
    background: #f05b41;
    color: white;
    font-weight: bold;
    padding: 4px 8px;
    font-size: 0.82rem;
    border-radius: 4px;
    display: none;
    z-index: 10;
}
.tchat-tooltip[data-show],.info-tooltip[data-show] {
    display: block;
}
.tchat-group-notif, .tchat-group-delete,.produit-photo-delete {
    cursor: pointer;
}
.arrow,
.arrow::before {
    position: absolute;
    width: 8px;
    height: 8px;
    background: inherit;
}

.arrow {
    visibility: hidden;
}

.arrow::before {
    visibility: visible;
    content: '';
    transform: rotate(45deg);
}

/** Photo **/
#upload-photo .dx-fileuploader-input-container, #upload-photo-agent .dx-fileuploader-input-container{display: none;}
#upload-photo .dx-fileuploader-button, #upload-photo-agent .dx-fileuploader-button {float: inherit;}
#upload-photo .dx-button .dx-button-content
#upload-photo .dx-button-mode-contained, #upload-photo-agent .dx-button-mode-contained {background-color: inherit; border:0;}
#upload-photo .dx-fileuploader-wrapper, #upload-photo .dx-fileuploader-input-wrapper, #upload-photo-agent .dx-fileuploader-wrapper, #upload-photo-agent .dx-fileuploader-input-wrapper  {padding:0;}
#upload-photo .dx-fileuploader-files-container,#upload-photo-agent .dx-fileuploader-files-container  {display: none;}
#upload-photo-agent .dx-button .dx-button-content  {
    color:white; font-size: 1rem;padding:0 !important;
    font-size: 12px;
}
#upload-photo-agent .dx-button .dx-button-content i  {
    font-size: 15px;
}
.fa-check.fa-unselected { -webkit-text-stroke: 1px #2c3e50;}

.numberCircle {
    border-radius: 50%;
    width: 33px;
    height: 33px;
    padding: 4px;
    border: 2px solid #14a085;
    text-align: center;
    margin-right: 1rem;
}

/******** AGENT **********/
.block-infos-container {
    border: 1px solid rgb(220,220,220);
    position:relative;
    padding-right: 50px;
}
.custom-history {
    position: absolute;
    top: 3px;
    right: 10px;
    padding: 5px;
    color: white;
    cursor: pointer;
}
.button-add {
    position: relative;
    border: 1px solid #14a085 !important;
    top: inherit;
    right: inherit;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}
#form_client_update input,
#form_client_update select {
    height:28px;
}

@media (max-width: 1400px) {
    .navbar .navbar-brand {
        margin-left: 2rem !important;
    }
    .sublink {
        min-width: 220px;
    }
}
@media (max-width: 980px) {
    .navbar .navbar-brand {
        margin-left: 1rem !important;
    }
    #submenu {
        padding-right: 0;
    }
    #submenu li {
        list-style: none!important;
    }
    #submenu li .dropdown-menu {
        width: auto;
    }
    .sublink {
        min-width: auto;
        padding-right: 0.5rem !important;
        padding-left: 0.5rem !important;
    }
    .sublink::after {
        border: none !important;
    }
    .sublink i {
        font-size: 1.5em;
    }
}

.bloc_fiche_2 {
    width:49.7%;
}
.bloc_fiche_3 {
    width:33.1%;
}
.bloc_fiche_full {
    width:100%;
}

@media (min-width: 871px) and (max-width: 980px) {
    .bloc_fiche {
        width: 100%;
    }
    .bloc_fiche_3 {
        width:49.5%;
    }
    .bloc_fiche_full {
        width:49.5%;
    }
}
@media (min-width: 100px) and (max-width: 870px) {
    .bloc_fiche_3 {
        width:100%;
    }
    .bloc_fiche_2 {
        width: 100%;
    }
    .bloc_fiche_full {
        width:100%;
    }
}

.utilisateur_sites > label {
    align-self: center;
}
.utilisateur_sites > label > input {
    height: 14px;
}
.form-group.has-error .help-block {
    height: 30px;
}
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 1px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #18BC9C;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    left:-1px;
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
