body .chosen-container {
    width: 100% !important;
    max-width: 100%;
    min-width: 200px;
  }
  body .chosen-container-multi .chosen-choices {
    box-shadow: 0 0 0 #000 !important;
    display: block;
    width: 100%;
    height: 35px;
    padding: 6px 16px;
    font-size: 14px;
    line-height: 1.52857143;
    color: #3a3f51;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #dde6e9;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  }
  body .chosen-container-multi .chosen-choices:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
  }
  body .chosen-container-multi .chosen-choices::-moz-placeholder {
    color: #b7bac9;
    opacity: 1;
  }
  body .chosen-container-multi .chosen-choices:-ms-input-placeholder {
    color: #b7bac9;
  }
  body .chosen-container-multi .chosen-choices::-webkit-input-placeholder {
    color: #b7bac9;
  }
  body .chosen-container-multi .chosen-choices[disabled],
  body .chosen-container-multi .chosen-choices[readonly],
  fieldset[disabled] body .chosen-container-multi .chosen-choices {
    cursor: not-allowed;
    background-color: #edf1f2;
    opacity: 1;
  }
  textareabody .chosen-container-multi .chosen-choices {
    height: auto;
  }
  body .chosen-container-multi .chosen-choices li.search-field input[type=text] {
    height: auto;
    padding: 0;
  }
  body .chosen-container-multi .chosen-choices li.search-choice {
    margin: 0 5px 3px 0;
    background-color: #f5f6f7;
    border: 1px solid #e7e9ec;
    background-image: none;
  }
  body .chosen-container .chosen-results li.highlighted {
    background-color: #a1a2a3;
    background-image: none;
  }
  body .chosen-container .chosen-drop {
    border-color: #ddd;
  }
  body .chosen-container .chosen-results li.group-result {
    color: #747576;
    letter-spacing: 0.02em;
  }
  body .chosen-container-single .chosen-single,
  body .chosen-container-active.chosen-with-drop .chosen-single {
    box-shadow: 0 0 0 #000 !important;
    display: block;
    width: 100%;
    height: 40px;
    padding: 6px 16px;
    font-size: 14px;
    line-height: 1.52857143;
    color: #3a3f51;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #b0b0b0;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  }
  body .chosen-container-single .chosen-single:focus,
  body .chosen-container-active.chosen-with-drop .chosen-single:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
  }
  body .chosen-container-single .chosen-single::-moz-placeholder,
  body .chosen-container-active.chosen-with-drop .chosen-single::-moz-placeholder {
    color: #b7bac9;
    opacity: 1;
  }
  body .chosen-container-single .chosen-single:-ms-input-placeholder,
  body .chosen-container-active.chosen-with-drop .chosen-single:-ms-input-placeholder {
    color: #b7bac9;
  }
  body .chosen-container-single .chosen-single::-webkit-input-placeholder,
  body .chosen-container-active.chosen-with-drop .chosen-single::-webkit-input-placeholder {
    color: #b7bac9;
  }
  body .chosen-container-single .chosen-single[disabled],
  body .chosen-container-active.chosen-with-drop .chosen-single[disabled],
  body .chosen-container-single .chosen-single[readonly],
  body .chosen-container-active.chosen-with-drop .chosen-single[readonly],
  fieldset[disabled] body .chosen-container-single .chosen-single,
  fieldset[disabled] body .chosen-container-active.chosen-with-drop .chosen-single {
    cursor: not-allowed;
    background-color: #edf1f2;
    opacity: 1;
  }
  textareabody .chosen-container-single .chosen-single,
  textareabody .chosen-container-active.chosen-with-drop .chosen-single {
    height: auto;
  }
  body .chosen-container-active .chosen-single,
  body .chosen-container-active .chosen-choices {
    border: 1px solid #66afe9;
  }
  body .chosen-container-single .chosen-drop {
    margin-top: -3px;
  }
  body .chosen-container-single .chosen-single div {
    top: 6px;
    right: 5px;
  }
  body .chosen-container-multi .chosen-choices li.search-field input[type=text] {
    color: #b7bac9;
  }

  .logoff{
    color:#ad2c2c;
  }
  .logoff:hover {
    color:#823838;
  }

  .card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
  }

  .card-header {
    padding: 5px;
    margin-bottom: 0;
    background-color: #099;
    border-bottom: 1px solid rgba(0,0,0,.125);
    color: #fff;
    font-weight: bold;
  }

  .card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
  }

  .card-body{
    padding:15px;
  }

  .steps {
    padding: 0;
    overflow: hidden;
  }
  .steps a {
    color: white;
    text-decoration: none;
  }
  .steps em {
    display: block;
    font-size: 1.1em;
    font-weight: bold;
    text-align:center;
    margin-top: 5%;
  }
  .steps li {
    float: left;
    margin-left: 0;
    width: 160px; /* 100 / number of steps */
    height: 50px; /* total height */
    list-style-type: none;
    padding: 5px 5px 5px 30px; /* padding around text, last should include arrow width */
    border-right: 3px solid white; /* width: gap between arrows, color: background of document */
    position: relative;
    text-align:center;
    color:#fff;
    font-size: 13px;
  }
  /* remove extra padding on the first object since it doesn't have an arrow to the left */
  .steps li:first-child {
    padding-left: 5px;
  }
  /* white arrow to the left to "erase" background (starting from the 2nd object) */
  .steps li:nth-child(n+2)::before {
    position: absolute;
    top:0;
    left:0;
    display: block;
    border-left: 25px solid white; /* width: arrow width, color: background of document */
    border-top: 25px solid transparent; /* width: half height */
    border-bottom: 25px solid transparent; /* width: half height */
    width: 0;
    height: 0;
    content: " ";
  }
  /* colored arrow to the right */
  .steps li::after {
    z-index: 1; /* need to bring this above the next item */
    position: absolute;
    top: 0;
    right: -25px; /* arrow width (negated) */
    display: block;
    border-left: 25px solid hsl(207.7, 56.4%, 45.9%); /* width: arrow width */
    border-top: 25px solid transparent; /* width: half height */
    border-bottom: 25px solid transparent; /* width: half height */
    width:0;
    height:0;
    content: " ";
  }

  .steps-judicial {
    padding: 0;
    overflow: hidden;
  }
  .steps-judicial a {
    color: white;
    text-decoration: none;
  }
  .steps-judicial em {
    display: block;
    font-size: 1.1em;
    font-weight: bold;
    text-align:center;
    margin-top: 5%;
  }
  .steps-judicial li {
    float: left;
    margin-left: 0;
    width: 190px;
    /*width: 160px; /* 100 / number of steps */
    height: 50px; /* total height */
    list-style-type: none;
    padding: 5px 5px 5px 30px; /* padding around text, last should include arrow width */
    border-right: 3px solid white; /* width: gap between arrows, color: background of document */
    position: relative;
    text-align:center;
    color:#fff;
    font-size: 13px;
    position: relative;
    margin-left: 570px;
    
  }
  /* remove extra padding on the first object since it doesn't have an arrow to the left */
  .steps-judicial li:first-child {
    padding-left: 5px;
  }
  /* white arrow to the left to "erase" background (starting from the 2nd object) */
  .steps-judicial li:nth-child(n+2)::before {
    position: absolute;
    top:0;
    left:0;
    display: block;
    border-left: 25px solid white; /* width: arrow width, color: background of document */
    border-top: 25px solid transparent; /* width: half height */
    border-bottom: 25px solid transparent; /* width: half height */
    width: 0;
    height: 0;
    content: " ";
  }
  /* colored arrow to the right */
  .steps-judicial li::after {
    z-index: 1; /* need to bring this above the next item */
    position: absolute;
    top: 0;
    right: -25px; /* arrow width (negated) */
    display: block;
    border-left: 25px solid hsl(207.7, 56.4%, 45.9%); /* width: arrow width */
    border-top: 25px solid transparent; /* width: half height */
    border-bottom: 25px solid transparent; /* width: half height */
    width:0;
    height:0;
    content: " ";
  }
  /* Setup colors (both the background and the arrow) */

  /* Completed */
  .steps li { background-color: hsl(207.7, 56.4%, 45.9%); }
  .steps li::after { border-left-color: hsl(207.7, 56.4%, 45.9%); }

  .steps-judicial li { background-color: hsl(207.7, 56.4%, 45.9%); }
  .steps-judicial li::after { border-left-color: hsl(207.7, 56.4%, 45.9%); }

  /* Following */
  .steps li.current-bar { background-color:  hsl(211.1, 100%, 50%); }
  .steps li.current-bar::after { border-left-color:  hsl(211.1, 100%, 50%); }

  /* Following */
  .steps-judicial li.current-bar { background-color:  hsl(211.1, 100%, 50%); }
  .steps-judicial li.current-bar::after { border-left-color:  hsl(211.1, 100%, 50%); }

  /* Current */
  .steps li.done-bar { background-color: #27C24C; }
  .steps li.done-bar::after { border-left-color: #27C24C; }

  /* Current */
  .steps-judicial li.done-bar { background-color: #27C24C; }
  .steps-judicial li.done-bar::after { border-left-color: #27C24C; }

  /* Following */
  .steps li.disabled-bar { background-color:  hsl(0, 0%, 62.4%); }
  .steps li.disabled-bar::after { border-left-color:  hsl(0, 0%, 62.4%); }

  /* Following */
  .steps-judicial li.disabled-bar { background-color:  hsl(0, 0%, 62.4%); }
  .steps-judicial li.disabled-bar::after { border-left-color:  hsl(0, 0%, 62.4%); }


  /* Following */
  .steps li.error-bar { background-color:  hsl(0, 96.9%, 50.2%); }
  .steps li.error-bar::after { border-left-color:  hsl(0, 96.9%, 50.2%); }

  /* Following */
  .steps-judicial li.error-bar { background-color:  hsl(0, 96.9%, 50.2%); }
  .steps-judicial li.error-bar::after { border-left-color:  hsl(0, 96.9%, 50.2%); }

  /* Following */
  .steps li.waiting-bar { background-color:  hsl(28.6, 100%, 58.4%); }
  .steps li.waiting-bar::after { border-left-color:  hsl(28.6, 100%, 58.4%); }

  /* Following */
  .steps-judicial li.waiting-bar { background-color:  hsl(28.6, 100%, 58.4%); }
  .steps-judicial li.waiting-bar::after { border-left-color:  hsl(28.6, 100%, 58.4%); }

  .steps li.partial-bar { background-color: hsla(48, 100%, 50%, 1); }
  .steps li.partial-bar::after { border-left-color: hsla(48, 100%, 50%, 1); }

  .steps-judicial li.partial-bar { background-color: hsla(48, 100%, 50%, 1); }
  .steps-judicial li.partial-bar::after { border-left-color: hsla(48, 100%, 50%, 1); }

  /* redsaclud colors*/
  .steps li.secondary-bar { background-color: #099 }
  .steps li.secondary-bar::after { border-left-color: #099 }

  /* redsaclud colors*/
  .steps-judicial li.secondary-bar { background-color: #099 }
  .steps-judicial li.secondary-bar::after { border-left-color: #099 }

  /* Hover for completed and current */
  .steps li:hover {background-color: #01c1c1}
  .steps li:hover::after {border-left-color: #01c1c1}

  /* Hover for completed and current */
  .steps-judicial li:hover {background-color: #01c1c1}
  .steps-judicial li:hover::after {border-left-color: #01c1c1}

  .steps li.etapa-clickeable:hover {
    cursor: pointer;
  }

  .steps-judicial li.etapa-clickeable:hover {
    cursor: pointer;
  }

  .card-header:hover {
      cursor: pointer;
  }
  .steps li a:hover {
    cursor: pointer;
  }

  .steps-judicial li a:hover {
    cursor: pointer;
  }

  .ejecutar{
      background-color: #abaeaf1f;
  }

  .espera{
      background-color: #ecdcf1;
  }

  .agendar{
      background-color: #40c95e1f;
  }

  .finalizado{
      background-color: #40c95e1f;
  }

  .rechazar{
      background-color: #dc43401f;
  }

  .postergar{
      background-color: #f0ad4e42;
  }

.container-border{
    border: 1px solid #099;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 40px;
}

.estadoIQ{
    cursor: pointer;
}

.filtro>li.active>a, .filtro>li.active>a:focus, .filtro>li.active>a:hover {
    border: 1px solid #06786a;
    box-shadow: #DDD 6px 10px;
    margin-right: 7px;
    top: -4px;
}

.pasoactivo{
    /*border: 1px solid #099;*/
    border-radius: 5px;
    /*padding: 1px;*/
    box-shadow: #DDD 5px 8px;
    /*margin-right: 7px;*/

}

.fieldsetRS{
    /*border:2px solid #9c0;*/
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:10px;
}

.fieldsetCB{
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:10px;

    border: 1px solid silver;
    padding: .35em .625em .75em;
    background-color: white;
    margin: 0 2px 20px;
}

.headingficha{
    /*background-color: #99cc00 !important;
    border-color: #99cc00 !important;*/
    font-weight: bold;

}

.campoficha{
    font-weight: bold;
}

.cuerpoficha{
    min-height: 265px;
}

.btn-espera{
    background-color: #ab71c4;
    color: white;
}

.btn-espera:hover, .btn-espera:focus{
    color: white;
    background-color: #b646e7;
}

.btn-por-confirmar{
    background-color: #3959da;
    color: white;
}

.btn-por-confirmar:hover, .btn-por-confirmar:focus{
    color: white;
    background-color: #2f4ab3;
}

.btn:hover {
    ounline:none;
}

.btn:focus
{
    outline:none;
}

.btn
{
    outline:none;
}

.danger-background{
    background-color: rosybrown;
}

.bar {
    height: 18px;
}

.bg-carga {
    background: #398439;
}

.bg-analisis {
    background: #ace600;
}

.bg-guarda {
    background: #099;
}

.dt-buttons {  margin-right: 25px; }

.btn-view-lead{
    margin-left: 10px;
    margin-bottom: 15px;
}

.checkbox-judicial{
    margin-right: 7px !important;
    transform: scale(0.9);
    vertical-align: middle;
}

.btn-azul-redsalud{
    background-color: #007bff;
    color: white;
}

.underline-redsalud{
    border-bottom: 1px solid silver;
}

.text-updated {
    color: #4cae4c;
}

.btn-agendado{
    background-color: #007bff;
    color: white;
}

.btn-agendado:hover, .btn-agendado:focus{
    color: white;
    background-color: #3494fa;
}

.checkbox-container {
  margin-bottom: 10px;
}

.checkbox-container input[type="checkbox"] {
  display: none;
}

.checkbox-container label {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  font-size: 14px;
}

.checkbox-container label:before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border: 2px solid #999;
  border-radius: 3px; /* Agregamos bordes redondeados */
  background-color: #fff;
}

.checkbox-container input[type="checkbox"]:checked + label:before {
  background-color: #55c13e;
  border-color: #55c13e;
}

.checkbox-container label:after {
  content: "\2713"; /* Usamos un tick unicode ✓ como el marcador */
  display: none;
  position: absolute;
  left: 4px;
  top: 1px;
  color: #fff;
  font-size: 12px;
}

.checkbox-container input[type="checkbox"]:checked + label:after {
  display: block;
}

.checkbox-container input[type="checkbox"]:disabled + label {
  color: #999;
  cursor: not-allowed;
}

.checkbox-container input[type="checkbox"]:disabled + label:before {
  background-color: #ccc;
  border-color: #ccc;
}

.checkbox-container input[type="checkbox"]:disabled + label:after {
  display: none;
}


/