
.selLeads {
	display: block;
}
    
.container-leads {
    margin: 25px 50px;
}

.container-leads table {
    box-shadow: 0px 0px 7px #e0e0e0;
    text-align: center;
}

.container-leads table td {
    border: 1px solid #e0e0e0;
    vertical-align: middle;
    font-size: 0.9rem;
}

.table-striped tbody tr {
    background-color: #fff !important;
}

.container-leads table thead th {
    border-bottom: none;
}

.container-leads table th {
    border-top: none;
}

#filtros_leads label {
	/*float:right;*/
}

#filtros_leads input {
	/*float:right;*/
}

#filtros_leads select {
	/*float:right;*/
}
 
.icon_search_lead {
    color: #1F272F;
    position: relative;
    right: 40px;
    top: 8px;
    background-color: white;
    height: 20px;
    width: 28px;
    z-index: 999;
    border-radius: 10px;
}

.box-date {
    display: inline-flex !important;
}

.box-campana select {
    /*display: grid;*/
    /*float: none !important;*/
}

.box-date .label-date, .box-campana .label-date {
    position: relative;
    top: 8px;
    font-weight: bold;
    font-size: 14px;
}

.box-date input {
    margin: auto 10px;
}

/* Removes the clear button from date inputs */
.box-date input[type="date"]::-webkit-clear-button, .box-date input[type="text"]::-webkit-clear-button {
    display: none;
}

/* Removes the spin button */
.box-date input[type="date"]::-webkit-inner-spin-button { 
    display: none; /* Seleccionador de dates (Fletxes)*/
}

/* Always display the drop down caret */
.box-date input[type="date"]::-webkit-calendar-picker-indicator {
    color: #2c3e50;
}

/* A few custom styles for date inputs */
.box-date input[type="date"], .box-date input[type="text"] {
    appearance: none;
    -webkit-appearance: none;
    color: #95a5a6;
    /*font-family: "Helvetica", arial, sans-serif;*/
    font-size: 16px;
    border:0px solid #ecf0f1;
    background:#fff;
    padding:5px;
    display: inline-block !important;
    visibility: visible !important;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0px 0px 3px grey;
}

.box-date input[type="date"]:hover, .box-date input[type="text"]:hover {
    box-shadow: 0px 0px 7px lightgray;
}

.box-campana select, .box-campana input[type="text"] {
    appearance: none;
    -webkit-appearance: none;
    color: #000;
    /*font-family: "Helvetica", arial, sans-serif;*/
    font-size: 16px;
    border:1px solid #000;
    background:#fff;
    padding:5px;
    display: inline-block !important;
    visibility: visible !important;
    border-radius: 30px;  
}

.box-date input[type="text"]:disabled{
    background:#f0f0f0;
}

.sortDownSel {
    background-color: #1F272F;
    padding: 10px;
    border-radius: 0px 30px 30px 0px;
    position: relative;
    right: 40px;
    cursor: pointer;
    pointer-events: none;
}
    
    
.row-date-filter {
    margin: 40px auto;
}

.row-campana-filter {
    background-color: #fff;
    padding: 50px 36px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 7px #e0e0e0;
}
.box-campana select {
    text-align-last: center;
    text-align: center;
    -ms-text-align-last: center;
    -moz-text-align-last: center;
}

.box-campana input[type="text"] {
    
}

.box-campana button {
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
    position: relative;
    top: 1px;
    right: 40px;
    z-index: 2;
}

.box-campana input:focus, .box-campana select:focus, .box-date input:focus {
    outline: none;
    box-shadow: 0px 0px 3px grey;
}

.box-campana input:focus + button .fa-search {
    color: grey;
}
/*input[type="date"], focus {
    color: #95a5a6;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}*/

.campanya_item {
    margin-left: 10px;
    margin-right: 10px;
    border:1px solid gray;
    display:inline-block;
    padding:5px 10px;
    border-radius:30px;
    cursor: pointer;
    color: white;
    background-color:#1F272F !important;
}

    
    
.campanya_item .imgCross {
    padding-left: 10px;
}

.info_comer {
  font-size: 14px;
}
.tag_item {
    font-weight: 300;
}    
.fuente_item, .prog_pend_item, .info_comer, .tag_item {
    margin-left: 10px;
    margin-right: 10px;
    border:1px solid gray;
    display:inline-block;
    padding:5px 10px;
    border-radius: 30px;
    background-color:white;
    cursor: pointer;
}
    
.fuente_item .imgCross, .prog_pend_item .imgCross, .info_comer .imgCross, .tag_item .imgCross{
    display: none;    
}

.fuente_selected, .prog_pend_selected,  .info_comer_selected {
    background-color:#1F272F !important;
    color: #fff;
    cursor: pointer;
    padding: 5px 10px;
}
.fuente_selected .imgCross, .prog_pend_selected .imgCross,  .info_comer_selected .imgCross, .tag_item_selected .imgCross{
    display: inline;
    cursor: pointer;
    padding-left: 7px;
}

/*Label fecha*/
.fecha_span_en, .fecha_span_dis{
    font-weight: bold; 
    font-size: 13px; 
    padding:5px 10px 5px 5px;
    text-align: center;
}
.fecha_span_en{color:#212529;}
.fecha_span_dis{color:#f0f0f0;}
/*checkbox activar filtro (feches programacio)*/
.label_fechas_prog input{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
 
.label_fechas_prog input{
    visibility: hidden;
    position: absolute;
    right: 0;
}
.label_fechas_prog{
    position: relative;
    padding:5px 0px 5px 60px;
    display: block;
    font-weight: bold; 
    font-size: 13px; 
}
 
/* Estas reglas se aplicarán a todos las elementos i después de cualquier input*/
.label_fechas_prog input + i{
       background: #f0f0f0;
       border:2px solid rgba(0,0,0,0.2);
       position: absolute; 
       left: 0;
       top: 0;
}
 
/* Estas reglas se aplicarán a todos los i despues de un input de tipo checkbox*/
.label_fechas_prog input[type=checkbox ] + i{
    width: 52px;
    height: 30px;
    border-radius: 15px;
}

.label_fechas_prog input[type=checkbox] + i:before{
    content: '';
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    left: 0px;
    top: 0px;
    -webkit-box-shadow: 3px 0 3px 0 rgba(0,0,0,0.2);
    box-shadow: 3px 0 3px 0 rgba(0,0,0,0.2);
}

.label_fechas_prog input[type=checkbox]:checked + i:before{
    left: 22px;
    -webkit-box-shadow: -3px 0 3px 0 rgba(0,0,0,0.2);
    box-shadow: 3px 0 -3px 0 rgba(0,0,0,0.2);
}
 
.label_fechas_prog input[type=checkbox]:checked + i{
    background: #1f272f;
}
.label_fechas_prog input[type=checkbox] + i:after{
    content: 'ON';
    position: absolute;
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    top: 8px;
    left: 4px;
    opacity: 0 /* Ocultamos este elemento */;
    transition: all 0.25s ease 0.25s;
}
 
/* Cuando esté checkeado cambiamos la opacidad a 1 y lo mostramos */
.label_fechas_prog input[type=checkbox]:checked + i:after{
    opacity: 1;
}
/*RADIO*/
.label_fechas_prog input[type=radio] + i{
 height: 30px;
 width: 30px;
 border-radius: 100%;
 left: 15px;
}
.label_fechas_prog input[type=radio] + i:before{
  content: '';
  display: block;
  height: 18px;
  width: 18px;
  border-radius: 100%;
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 4px;
  background:#1f272f;
  transition: all 0.25s ease; /* Todas las propiedades | tiempo | tipo movimiento */
  transform: scale(0) /* Lo reducimos a 0*/ ;
  opacity: 0; /* Lo ocultamos*/
}
.label_fechas_prog input[type=radio]:checked + i:before{
  transform: scale(1);
  opacity: 1;
}
.label_fechas_prog:hover input[type=radio]:not(:checked) + i{
  background: #1f272fb5;
}
/*******************************************************************/
/********************EDITOR DE TEXT (EMAILS)************************/
/*******************************************************************/
.Menu_bar{
    border-radius: 3px 3px 0 0;
    border-bottom: none;
    min-height: 25px;
    padding: 5px 0;
    background: #eaeaea;
}
.Menu_bar div:first-child {
    margin-left: 3px;
}
/*#toolBar1, #toolBar2{padding-bottom: 1% 2%;}*/
#toolBar1 select { width:123px; background: #fff; font-size:14px; border: solid 1px #ccc;}
#toolBar1 select:hover { 
    color: #000;
    background-color: #e2e6ea;
    border-color: #dae0e5;
}
#toolBar2 { margin-top: 0.5%; }
input[type="file"] {
    display: none;
}
.custom-file-upload {
    display: inline-block;
    font-weight: 400;
    color: #000;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: .375rem .75rem;
    font-size: 14px;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin: 0px;
}
.icon_btn{
    background: #fff;
    border: solid 1px #ccc;
}
#textBox {
    width: 100%;
    height: 600px;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    overflow: scroll;
}
#textBox:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
}
#textBox #sourceText {
  padding: 0;
  margin: 0;
  min-width: 498px;
  min-height: 200px;
}
#editMode label { cursor: pointer; }
/*Clase per redimensionar les imatges dels missatges*/
.redimensionable {
  width:10em;
  height:6.5em;
  margin:1em;
  border:1px solid #d9d9d9;
  /* overflow puede tomar cualquier valor excepto visible*/
  overflow:hidden;
  /*resize puede ser: horizontal, vertical o both */
  resize:both;
}
/*Imatges de les instruccions*/
.img_instruccions_email{
    border:solid 1px #ccc; width: 90%; margin: 1% 5% 2% 5%;
}
.img_instruccions_email:hover{
    transform:scale(2); /*cuando nos posicionamos sobre la imagen con esta propiedad aumentamos su escala y ademas la giramos*/

}
/*Clase imatges vista previa emails*/
.imagen_card_mail{
    width: 20%;
    height: 20%;
    /*margin: -8% 0% 4% 0%;*/
}

.chek_prog_lead{
    width: 20px;
    height: 20px;
    margin-left: -1.55rem !important;
}
.filtre_prog{
    width: 20px;
    height: 20px;
    float: left;
    margin-top:0.2rem;
}
/*******************************************************************/
/********************PROMPT FUNNEL****************************/
/*******************************************************************/
#prompt {
  border: 1px solid #F79F1F;
  border-radius: 5px;
  /*padding-top: 40px;
  height: 50px;
  position: fixed;
  top: 0;*/
}
#aceptaValor,
#cierraModal {
  border-radius: 10px;
  outline: none;
  border: none;
}
#aceptaValor {
  background-color: #EE5A24;
  color: white;
}
#valor {
  width: 100%;
}
/*******************************************************************/
/****************************POP-UP'S*******************************/
/*******************************************************************/
.pop_lg_peu{
    z-index: 1;
    background-color: white;
}
.pop_wd_lg_elements, .pop_wd_lg_elements_funnel, .pop_wd_lg_elements_vis_prev{
    max-width: 60%;
}
.popPreVis, .popPreVisE, .popPreVisF{
    /*display: none;*/
    height: 100%;
    overflow-y: scroll;
}
.popPreVisEmail{
    padding-top: 1%;
    padding-bottom:4%
}
.popBtnEdit{
    display: none;
}
.popBtnGuardar{
    display: none;
}
#contenidoEdit{
    display: none;
}
/*#popUpTot, #popUpTot_us, #popUpFonsProg, #popUpFonsProg_us{
   z-index: 1000;
   position: absolute;
   background-color: rgba(123, 123,123, 0.8);
   display: none;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}
#popUpDiv, #popUpDivClose, #popUpDivProg, #popUpDiv_us, #popUpDivClose_us, #popUpDivCloseProg, #popUpDivbtn_us {
    border: solid 2px #000;
    display: none;
    width: 500px;
    position: fixed;
    left: 500px;
    flex-direction: column;
    background: #fafafa;
}
#popUpDiv_us, #popUpDivClose_us, #popUpDivbtn_us{
    width: 800px;
    left: 300px; 
}
#popUpDiv, #popUpDiv_us, #popUpDivProg{
    align-items: flex-end;
    top: 240px;
    height: 100px;
    border-bottom: none;
    padding: 2% 1% 0% 1%;
}
#popUpDiv, #popUpDivProg{
    top: 340px;
    height: 200px;
    align-items: center;
    border-top: none;
    padding: 0% 1% 2% 1%;
}
#popUpDivClose, #popUpDivClose_us , #popUpDivCloseProg{
    align-items: flex-end;
    top: 240px;
    height: 100px;
    border-bottom: none;
    padding: 2% 1% 0% 1%;
}
#popUpDiv_us{
    height: 320px;
    top: 200px;
    border-top: none;
    align-items: center;
}
#popUpDivClose_us{
   top: 100px; 
}
#popUpDivbtn_us{
    height: 80px;
    top: 500px;
    border-top: none;
    align-items: center;
}
#popupSelect, #popupSelect_us {
    width: 100%;
    height: 51px;
    padding-left: 2%;
    font-size: 16px;
}
#popupSelect_us {
    width: 50%;
    margin-bottom: 2%;
}
#popupSelect_us:focus {
    color: #212529;
    background-color: #fff;
    border-color: #88898b;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(143 143 143 / 25%);
}
#popupSelect_us.decorated option:hover{
    box-shadow: 0 0 10px 100px #1882A8 inset;
}
#popUp_bt, #popUp_bt_us, #popUpProg_bt{
    margin-top:10%;
    height: 51px;
    width: 150px;
}
#popUp_bt_close, #popUp_bt_close, #popUpProg_bt_close{
    margin-bottom:10%;
    border:none;
}*/

#div_usuario_sel{
    overflow: auto;
    padding: 2% 0%;
    background: #fafafa;
    margin: 3% 13%;
    min-width: 80%;
}
#div_usuario_sel input[type=text]{
    margin-top:1%;
    background: transparent;
    border: none;
    border-bottom: solid 1px #d0d1d1;
}
.bt_del_user{
    border:none;
}
/*.pop_gran_cos, .pop_gran_cap{width: 950px !important; left: 20%  !important;}
.pop_gran_cap{top: 40px !important;}
.pop_gran_cos{top: 140px !important; height: 73% !important; overflow: scroll !important;}*/
/*
Select personalitzat del users i select del client
 */
.custom-select, .select-personalitzat {
  position: relative;
  font-family: 'Poppins', Arial;
}
.select-personalitzat {margin-top:8px;}

.custom-select select, .select-personalitzat select{
  display: none; /*hide original SELECT element:*/
}
/*Select Users*/
.custom-select .select-selected {
  background-color: #141414;
}
/*Select Clients*/
.select-personalitzat .select-selected {
  background-color: #ffffff;
  width: 350px;
}
/*style the arrow inside the select element:*/
.custom-select .select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

.select-personalitzat .select-selected:after {
  position: absolute;
  content: "";
  top: 16px;
  left: 360px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #000 transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.custom-select .select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}
.select-personalitzat .select-selected.select-arrow-active:after {
  border-color: transparent transparent #000 transparent;
  top: 8px;
}
/*style the items (options), including the selected item:*/
.custom-select .select-items div,.custom-select .select-selected {
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
}
.select-personalitzat .select-items div,.select-personalitzat .select-selected {
  color: #000000;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  user-select: none;
}
.select-personalitzat .select-items .select-nombre, .select-personalitzat .select-items .select-est_camp{
  border:0px;
}
/*style items (options):*/
.custom-select .select-items {
  position: absolute;
  background-color: #141414;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  overflow-y: scroll;
  max-height: 200px;
}
.select-personalitzat .select-items {
  position: absolute;
  background-color: #ffffff;
  top: 100%;
  left: 30px;
  right: 0;
  z-index: 99;
  overflow-y: scroll;
  max-height: 450px;
  width: 350px;
}
/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}
.select-items .select-nombre:hover, .select-items .select-est_camp:hover{
  background-color: transparent;
}
/*******************************************************************/
/***************************TOOLTIPS********************************/
/*******************************************************************/
.capa_tooltip {
  position: relative;
  display: inline-block;
}
.capa_tooltip .info_tooltip {
  visibility: hidden;
  background-color: #333333;
  color: #FAFAFA;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  font-size: 12px;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
}
.info_mitja{width: 180px;}
.info_petit{width: 60px;}
.capa_tooltip ul{
    padding: 0px;
    margin: 0px;
}
.capa_tooltip ul li{
    list-style: none;
}
.capa_tooltip:hover .info_tooltip {
  visibility: visible;
}
/*ESTADISTIQUES  -- STATS--*/
.card_estadistiques{
    border-color: #363a3e8c; 
    padding:1% 3% 3% 3%;
    box-shadow: 4px 4px 10px 2px #363a3e8c;    
}
/*CARD ESTAT MANUAL*/
.card_man{
    margin-left: 1%; 
    float:left; 
    width:40%;
    font-size: 14px;
}
/*Contenido comentaris*/
.cont_comentaris{
  max-height: 120px; 
  overflow-y: scroll;
  overflow-x: hidden;
}
/*Estat manuals checkbox*/
.form_estats_man label{
    margin-top: 1%;
}
/*Columnes inputs estat*/
.col_ini{background: #badafe38;}
.col_mig{background: #ff00002b;}
.col_fin{background: #28a74540;}
.col_prin{border-right: solid 1px;}
.col_fn{border-left: solid 1px;}
.col_top{border-top: solid 1px;}
.col_bot{border-bottom: solid 1px;}

/*Programacio leads*/
.input_prog_primary, .input_prog_success, .input_prog_warning, .input_prog_danger {font-size: 14px;}
.input_prog_primary{
    color: #084298;
    background-color: #cfe2ff;
}
.input_prog_primary:disabled,
.input_prog_primary[readonly]{
    opacity: 0.5;
    color: #084298;
    background-color: #cfe2ff;
}
.input_prog_success{
    color: #0f5132;
    background-color: #d1e7dd;
}
.input_prog_success:disabled,
.input_prog_success[readonly]{
    opacity: 0.5;
    color: #0f5132;
    background-color: #d1e7dd;
}
.input_prog_warning{
    color: #664d03;
    background-color: #fff3cd;
}
.input_prog_warning:disabled,
.input_prog_warning[disabled]{
    opacity: 0.5;
    color: #664d03;
    background-color: #fff3cd;
}
.input_prog_danger{   
    color: #842029;
    background-color: #f8d7da;
}
.input_prog_danger:disabled,
.input_prog_danger[disabled]{
    opacity: 0.5;
    color: #842029;
    background-color: #f8d7da;
}
/*Botons de la programació (Crear, modificar, eliminar i ok*/
.bt_prog{
    padding: 1% 4%;
    font-size: 22px;
    border: none;
    border-radius: 18px;
    background: transparent;
    margin-right: 11px;
    /*color: #8395a7;
    box-shadow: 3px 3px 6px 1px #363a3e8c;
    */
}
.bt_prog:disabled,
.bt_prog[disabled]{
    opacity: 0.3;
}

/*PANEL DE CONTROL DEL FUNNEL ( EDITAR / CREAR / ELIMINAR )*/
.bt_add{background-image: url(../img/add.png);}
.bt_edit{background-image: url(../img/edit.png);}
.bt_del{background-image: url(../img/del.png);}
.bt_funnel_panel{
    /*padding: 1% 4%;
    border: none;
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat; 
    background-position: center; 
    margin-right: 14%;
    width: 14%;*/
}


.fecha_span_dis{
    color: #000000;

}

#id_client {
    display:none;
}

[for="id_client"] { 
    display: none;
}

[for="id"] { 
    display: none;
}

label {
    float:left;
    margin-left:10px;
}

#btn_guardar {
    float:right;
}

#btn_cancelar {
    float:right;
    margin-right:30px;
}

.btn_add {
    float:right;
    margin-bottom:10px;
}

.error_field {
    border: 1px solid red;
}

.boto-ordenacio {    
    padding:5px;
    width: 22px;
    cursor: pointer;
}

/*automatismos*/
.node circle {
  fill: #fff;
  stroke: #e83e8c;
  stroke-width: 2px;
}

.node text { font: 12px sans-serif; }

.link {
  fill: none;
  stroke: #ccc;
  stroke-width: 2px;
}
.ico_usuario{
    border-radius: 100%; 
    cursor:pointer;
    width: 31px;
    height: 31px;
    padding:7px;
    font-weight: 300;
    margin-top: 3px;
}
/*
filtre taula leads
 */
#filtro_campos{
    display: none;
    background: #ffffff;
    padding: 2%;
    box-shadow: 0px 0px 7px #e0e0e0;
}


.sortDownSelPop{
    background-color: #1F272F;
    padding: 10px;
    border-radius: 0px 30px 30px 0px;
    position: relative;
    right: 40px;
    cursor: pointer;
    pointer-events: none;
}

