/*
 *
 *
 *
 * Bootstrap 4 Component - Custom switch
 * Version: 1.1.2
 * Copyright (c) 2017-18 Martin Haubek
 *
 *
 *
 */
 
 /* var(--crouge)  var(--cbleu)  var(--cvert)  var(--corange) */
/*
:root {
   --crouge: #e0696d;
  --cbleu: #1d7cbc;
  --cvert: #84bf82;
  --corange: #dc8546;
}
*/

.custom-switch {
  line-height: 12px; }
  .custom-switch .custom-switch-input {
    position: absolute;
    z-index: -1;
    opacity: 0; }
    .custom-switch .custom-switch-input, .custom-switch .custom-switch-input:after, .custom-switch .custom-switch-input:before,
    .custom-switch .custom-switch-input *,
    .custom-switch .custom-switch-input *:after,
    .custom-switch .custom-switch-input *:before,
    .custom-switch .custom-switch-input + .custom-switch-btn {
      box-sizing: border-box; }
      .custom-switch .custom-switch-input:selection, .custom-switch .custom-switch-input:after:selection, .custom-switch .custom-switch-input:before:selection,
      .custom-switch .custom-switch-input *:selection,
      .custom-switch .custom-switch-input *:after:selection,
      .custom-switch .custom-switch-input *:before:selection,
      .custom-switch .custom-switch-input + .custom-switch-btn:selection {
        background: none; }
    .custom-switch .custom-switch-input + .custom-switch-btn {
      outline: 0;
      display: inline-block;
      position: relative;
      -webkit-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
      cursor: pointer;
      width: 68px;
      height: 38px;
      margin: 0;
      padding: 4px;
      background: #adb5bd;
      border-radius: 76px;
      transition: all 150ms ease-out; }
      .custom-switch .custom-switch-input + .custom-switch-btn:after, .custom-switch .custom-switch-input + .custom-switch-btn:before {
        position: relative;
        display: block;
        content: "";
        width: 29px;
        height: 29px; }
      .custom-switch .custom-switch-input + .custom-switch-btn:after {
        left: 2px;
        border-radius: 10%;
        background: #fff;
       box-shadow:  0 0 3px #666;
/*         background: radial-gradient(circle at 30% 40%, #5cabff, #000);box-shadow: 2px 1px 2px #666; */ /* modifié */
        transition: all 150ms ease; }
      .custom-switch .custom-switch-input + .custom-switch-btn:before {
        display: none; }
      .custom-switch .custom-switch-input + .custom-switch-btn.text-hide {
        top: -.80rem; }
    .custom-switch .custom-switch-input:checked + .custom-switch-btn {
      background: var(--cvert); }
      .custom-switch .custom-switch-input:checked + .custom-switch-btn:after {
        left: 30px; }
      .custom-switch .custom-switch-input:checked + .custom-switch-btn ~ .custom-switch-content-checked {
        opacity: 1;
        height: auto; }
      .custom-switch .custom-switch-input:checked + .custom-switch-btn ~ .custom-switch-content-unchecked {
        display: none;
        opacity: 0;
        height: 0; }
    .custom-switch .custom-switch-input:not(:checked) + .custom-switch-btn ~ .custom-switch-content-checked {
      display: none;
      opacity: 0;
      height: 0; }
    .custom-switch .custom-switch-input:not(:checked) + .custom-switch-btn ~ .custom-switch-content-unchecked {
      opacity: 1;
      height: auto; }
    .custom-switch .custom-switch-input[disabled] + .custom-switch-btn {
      background: rgba(173, 181, 189, 0.6);
      cursor: default; }
    .custom-switch .custom-switch-input[disabled]:checked + .custom-switch-btn {
      background: rgba(40, 167, 69, 0.4); }
    .custom-switch .custom-switch-input:not([disabled]):focus ~ .custom-switch-btn {
      box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.25rem rgba(56, 123, 189, 0.25); }
    .custom-switch .custom-switch-input[required] ~ .custom-switch-btn {
      box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.125rem rgba(220, 53, 69, 0.5); }
  .custom-switch .custom-switch-form-text {
    display: inline-block;
    height: 38px;
    margin-left: .5rem;
    line-height: 38px;
    vertical-align: top; }
  .custom-switch.custom-switch-label-io .custom-switch-input + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='38'%3E%3Ctext x='42.5' y='23.75' font-size='12px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EO%3C/text%3E%3C/svg%3E"); }
  .custom-switch.custom-switch-label-io .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='38'%3E%3Ctext x='18.13333' y='23.75' font-size='12px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EI%3C/text%3E%3C/svg%3E"); }
  .custom-switch.custom-switch-label-onoff .custom-switch-input + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='38'%3E%3Ctext x='38.85714' y='23.75' font-size='12px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EOff%3C/text%3E%3C/svg%3E"); }
  .custom-switch.custom-switch-label-onoff .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='38'%3E%3Ctext x='9.71429' y='23.75' font-size='12px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EOn%3C/text%3E%3C/svg%3E"); }
  .custom-switch.custom-switch-label-yesno .custom-switch-input + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='38'%3E%3Ctext x='38.85714' y='23.75' font-size='12px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3ENo%3C/text%3E%3C/svg%3E"); }
  .custom-switch.custom-switch-label-yesno .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='38'%3E%3Ctext x='9.71429' y='23.75' font-size='12px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EYes%3C/text%3E%3C/svg%3E"); }
  .custom-switch.custom-switch-label-status .custom-switch-input + .custom-switch-btn {
    width: 96px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='38'%3E%3Ctext x='38.85714' y='23.75' font-size='12px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EDisabled%3C/text%3E%3C/svg%3E"); }
  .custom-switch.custom-switch-label-status .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='38'%3E%3Ctext x='9.71429' y='23.75' font-size='12px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EEnabled%3C/text%3E%3C/svg%3E"); }
    .custom-switch.custom-switch-label-status .custom-switch-input:checked + .custom-switch-btn:after {
      left: 58px; }

.custom-switch-sm {
  line-height: 11px; }
  .custom-switch-sm .custom-switch-input + .custom-switch-btn {
    width: 70px;
    height: 31px;
    padding: 3px;
    border-radius: 4px; }
    .custom-switch-sm .custom-switch-input + .custom-switch-btn:after, .custom-switch-sm .custom-switch-input + .custom-switch-btn:before {
      width: 25px;
      height: 25px; }
    .custom-switch-sm .custom-switch-input + .custom-switch-btn:after {
      left: 1px; }
  .custom-switch-sm .custom-switch-input:checked + .custom-switch-btn:after {
    left: 39px; }
  .custom-switch-sm .custom-switch-form-text {
    height: 31px;
    margin-left: .5rem;
    line-height: 31px; }
  .custom-switch-sm.custom-switch-label-io .custom-switch-input + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='31'%3E%3Ctext x='37.5' y='19.375' font-size='11px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EO%3C/text%3E%3C/svg%3E"); }
  .custom-switch-sm.custom-switch-label-io .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='31'%3E%3Ctext x='16' y='19.375' font-size='11px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EI%3C/text%3E%3C/svg%3E"); }
    
    
  .custom-switch-sm.custom-switch-label-onoff .custom-switch-input + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='31'%3E%3Ctext x='32.87671' y='20.375' font-size='14px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3ENON%3C/text%3E%3C/svg%3E"); }
  .custom-switch-sm.custom-switch-label-onoff .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='31'%3E%3Ctext x='8.57143' y='20.375' font-size='14px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EOUI%3C/text%3E%3C/svg%3E"); background-color: var(--cbleu);}
    
    
  .custom-switch-sm.custom-switch-label-yesno .custom-switch-input + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='31'%3E%3Ctext x='32.87671' y='19.375' font-size='12px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3ENo%3C/text%3E%3C/svg%3E"); }
  .custom-switch-sm.custom-switch-label-yesno .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='31'%3E%3Ctext x='8.57143' y='19.375' font-size='12px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EYes%3C/text%3E%3C/svg%3E"); }
  .custom-switch-sm.custom-switch-label-status .custom-switch-input + .custom-switch-btn {
    width: 88px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='31'%3E%3Ctext x='32.87671' y='19.375' font-size='11px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EDisabled%3C/text%3E%3C/svg%3E"); }
  .custom-switch-sm.custom-switch-label-status .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='31'%3E%3Ctext x='8.57143' y='19.375' font-size='11px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EEnabled%3C/text%3E%3C/svg%3E"); }
    .custom-switch-sm.custom-switch-label-status .custom-switch-input:checked + .custom-switch-btn:after {
      left: 57px; }

.custom-switch-xs {
  line-height: 10px; }
  .custom-switch-xs .custom-switch-input + .custom-switch-btn {
    width: 52px;
    height: 24px;
    padding: 3px;
    border-radius: 4px; }
    .custom-switch-xs .custom-switch-input + .custom-switch-btn:after, .custom-switch-xs .custom-switch-input + .custom-switch-btn:before {
      width: 18px;
      height: 18px; }
    .custom-switch-xs .custom-switch-input + .custom-switch-btn:after {
      left: 1px; }
  .custom-switch-xs .custom-switch-input:checked + .custom-switch-btn:after {
    left: 28px; }
  .custom-switch-xs .custom-switch-form-text {
    height: 24px;
    margin-left: .5rem;
    line-height: 24px; }
  .custom-switch-xs.custom-switch-label-io .custom-switch-input + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24'%3E%3Ctext x='27.42857' y='15' font-size='10px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EO%3C/text%3E%3C/svg%3E"); }
  .custom-switch-xs.custom-switch-label-io .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24'%3E%3Ctext x='12.8' y='15' font-size='10px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EI%3C/text%3E%3C/svg%3E"); }
  .custom-switch-xs.custom-switch-label-onoff .custom-switch-input + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24'%3E%3Ctext x='25.6' y='15' font-size='10px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EOff%3C/text%3E%3C/svg%3E"); }
  .custom-switch-xs.custom-switch-label-onoff .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24'%3E%3Ctext x='6.85714' y='15' font-size='10px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EOn%3C/text%3E%3C/svg%3E"); }


/*   modifié   */
  .custom-switch-xs.custom-switch-label-yesno .custom-switch-input + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='24'%3E%3Ctext x='25.6' y='15' font-size='12px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3ENon%3C/text%3E%3C/svg%3E"); }
  .custom-switch-xs.custom-switch-label-yesno .custom-switch-input:checked + .custom-switch-btn {background-color: #5b97ba;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='24'%3E%3Ctext x='6.85714' y='15' font-size='12px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EOui%3C/text%3E%3C/svg%3E"); }
    
    
  .custom-switch-xs.custom-switch-label-status .custom-switch-input + .custom-switch-btn {
    width: 76px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='24'%3E%3Ctext x='25.6' y='15' font-size='10px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EDisabled%3C/text%3E%3C/svg%3E"); }
  .custom-switch-xs.custom-switch-label-status .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='24'%3E%3Ctext x='6.85714' y='15' font-size='10px' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EEnabled%3C/text%3E%3C/svg%3E"); }
    .custom-switch-xs.custom-switch-label-status .custom-switch-input:checked + .custom-switch-btn:after {
      left: 52px; }

/* ajout FRED  background: #007bff;  services ventes*/

.custom-switch-long {
  line-height: 11px; }
  .custom-switch-long .custom-switch-input + .custom-switch-btn {
    width: 100px;background: var(--cbleu);
    height: 31px;
    padding: 3px;
    border-radius: 4px; }
    .custom-switch-long .custom-switch-input + .custom-switch-btn:after, .custom-switch-sm .custom-switch-input + .custom-switch-btn:before {
      width: 25px;
      height: 25px; }
    .custom-switch-long .custom-switch-input + .custom-switch-btn:after {
      left: 1px; }
  .custom-switch-long .custom-switch-input:checked + .custom-switch-btn:after {
    left: 69px; }
 
    
 .custom-switch-long.custom-switch-label-yesno .custom-switch-input + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='31'%3E%3Ctext x='32' y='20' font-size='12px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3ESERVICES%3C/text%3E%3C/svg%3E"); }
  .custom-switch-long.custom-switch-label-yesno .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='31'%3E%3Ctext x='15' y='20' font-size='12px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff' %3EVENTES%3C/text%3E%3C/svg%3E"); }

/* ajout FRED  background: #007bff;  services fixe*/

.custom-switch-services {
  line-height: 11px; }
  .custom-switch-services .custom-switch-input + .custom-switch-btn {
    width: 100px;background: var(--cbleu);
    height: 31px;
    padding: 3px;
    border-radius: 4px; }
    .custom-switch-services .custom-switch-input + .custom-switch-btn:after, .custom-switch-sm .custom-switch-input + .custom-switch-btn:before {
      width: 25px;
      height: 25px; }
    .custom-switch-services .custom-switch-input + .custom-switch-btn:after {
      left: 0; }
  .custom-switch-services .custom-switch-input:checked + .custom-switch-btn:after {
    left: 0; }
 
    
 .custom-switch-services.custom-switch-label-yesno .custom-switch-input + .custom-switch-btn, .custom-switch-services.custom-switch-label-yesno .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='31'%3E%3Ctext x='32' y='20' font-size='12px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3ESERVICES%3C/text%3E%3C/svg%3E"); }
  .custom-switch-services.custom-switch-label-yesno .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='31'%3E%3Ctext x='32' y='20' font-size='12px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3ESERVICES%3C/text%3E%3C/svg%3E"); background-color: var(--cbleu);}

/* ajout FRED  background: #007bff;  ventes fixe*/

.custom-switch-ventes {
  line-height: 11px; }
  .custom-switch-ventes .custom-switch-input + .custom-switch-btn {
    width: 100px;background: var(--cvert);
    height: 31px;
    padding: 3px;
    border-radius: 4px; }
    .custom-switch-ventes .custom-switch-input + .custom-switch-btn:after, .custom-switch-sm .custom-switch-input + .custom-switch-btn:before {
      width: 25px;
      height: 25px; }
    .custom-switch-ventes .custom-switch-input + .custom-switch-btn:after {
       left: 69px; ; }
  .custom-switch-ventes .custom-switch-input:checked + .custom-switch-btn:after {
    left: 69px; }
 
    
 .custom-switch-ventes.custom-switch-label-yesno .custom-switch-input + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='31'%3E%3Ctext x='15' y='20' font-size='12px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff' %3EVENTES%3C/text%3E%3C/svg%3E"); background-color: var(--cvert); }
  .custom-switch-ventes.custom-switch-label-yesno .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='31'%3E%3Ctext x='15' y='20' font-size='12px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff' %3EVENTES%3C/text%3E%3C/svg%3E"); }


/* tres long societe particulier*/

.custom-switch-tres-long {
  line-height: 11px; }
  .custom-switch-tres-long .custom-switch-input + .custom-switch-btn {
    width: 130px;background: var(--cbleu);
    height: 31px;
    padding: 3px;
    border-radius: 4px; }
    .custom-switch-tres-long .custom-switch-input + .custom-switch-btn:after, .custom-switch-sm .custom-switch-input + .custom-switch-btn:before {
      width: 25px;
      height: 25px; }
    .custom-switch-tres-long .custom-switch-input + .custom-switch-btn:after {
      left: 1px; }
  .custom-switch-tres-long .custom-switch-input:checked + .custom-switch-btn:after {
    left: 99px; }
 
    
 .custom-switch-tres-long.custom-switch-label-yesno .custom-switch-input + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='31'%3E%3Ctext x='52' y='20' font-size='12px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3ESOCIÉTÉ%3C/text%3E%3C/svg%3E"); }
  .custom-switch-tres-long.custom-switch-label-yesno .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='31'%3E%3Ctext x='15' y='20' font-size='12px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff' %3EPARTICULIER%3C/text%3E%3C/svg%3E"); background-color: var(--cvert)}

/* tres long2 client fournisseur*/

.custom-switch-tres-long2 {
  line-height: 11px; }
  .custom-switch-tres-long2 .custom-switch-input + .custom-switch-btn {
    width: 140px;background: var(--crouge) ;
    height: 31px;
    padding: 3px;
    border-radius: 4px; }
    .custom-switch-tres-long2 .custom-switch-input + .custom-switch-btn:after, .custom-switch-sm .custom-switch-input + .custom-switch-btn:before {
      width: 25px;
      height: 25px; }
    .custom-switch-tres-long2 .custom-switch-input + .custom-switch-btn:after {
      left: 1px; }
  .custom-switch-tres-long2 .custom-switch-input:checked + .custom-switch-btn:after {
    left: 109px; }
 
    
 .custom-switch-tres-long2.custom-switch-label-yesno .custom-switch-input + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='31'%3E%3Ctext x='52' y='20' font-size='12px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3ECLIENT%3C/text%3E%3C/svg%3E"); }
  .custom-switch-tres-long2.custom-switch-label-yesno .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='31'%3E%3Ctext x='15' y='20' font-size='12px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff' %3EFOURNISSEUR%3C/text%3E%3C/svg%3E"); background-color: var(--corange)}


/* ajout FRED  background: #007bff;  services materiel*/

.custom-switch-servmat {
  line-height: 11px; }
  .custom-switch-servmat .custom-switch-input + .custom-switch-btn {
    width: 110px;background: var(--cbleu);
    height: 31px;
    padding: 3px;
    border-radius: 4px; }
    .custom-switch-servmat .custom-switch-input + .custom-switch-btn:after, .custom-switch-sm .custom-switch-input + .custom-switch-btn:before {
      width: 25px;
      height: 25px; }
    .custom-switch-servmat .custom-switch-input + .custom-switch-btn:after {
      left: 1px; }
  .custom-switch-servmat .custom-switch-input:checked + .custom-switch-btn:after {
    left: 79px; }
 
    
 .custom-switch-servmat.custom-switch-label-yesno .custom-switch-input + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='31'%3E%3Ctext x='32' y='20' font-size='12px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3ESERVICES%3C/text%3E%3C/svg%3E"); }
  .custom-switch-servmat.custom-switch-label-yesno .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='31'%3E%3Ctext x='15' y='20' font-size='12px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff' %3EMATERIEL%3C/text%3E%3C/svg%3E"); }

/* ajout FRED  background: #007bff;  BIC BNC */

.custom-switch-bicbnc {
  line-height: 11px; }
  .custom-switch-bicbnc .custom-switch-input + .custom-switch-btn {
    width: 80px;background: var(--cbleu);
    height: 31px;
    padding: 3px;
    border-radius: 4px; }
    .custom-switch-bicbnc .custom-switch-input + .custom-switch-btn:after, .custom-switch-sm .custom-switch-input + .custom-switch-btn:before {
      width: 25px;
      height: 25px; }
    .custom-switch-bicbnc .custom-switch-input + .custom-switch-btn:after {
      left: 1px; }
  .custom-switch-bicbnc .custom-switch-input:checked + .custom-switch-btn:after {
    left: 50px; }
 
    
 .custom-switch-bicbnc.custom-switch-label-yesno .custom-switch-input + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='31'%3E%3Ctext x='32' y='20' font-size='12px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff'%3EBIC%3C/text%3E%3C/svg%3E"); }
  .custom-switch-bicbnc.custom-switch-label-yesno .custom-switch-input:checked + .custom-switch-btn {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='31'%3E%3Ctext x='15' y='20' font-size='12px' font-weight='600' font-family='-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji' fill='%23fff' %3EBNC%3C/text%3E%3C/svg%3E"); }


    
/* FIN AJOUT */


.is-invalid .custom-switch .custom-switch-input ~ .custom-switch-btn,
.was-validated .custom-switch:invalid .custom-switch-input ~ .custom-switch-btn {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.25rem #dc3545; }
