/* FICHA */

.title-ficha {
    font-size: 17px;
    font-family: 'Rubik';
    display: inline-block;
    vertical-align: top;
    margin-top: 55px;
    margin-left: 20px;
  }
  
  .img-ficha {
    background: #fac00f;
    width: 109px;
    height: 109px;
    display: inline-block;
    border-radius: 100%;
    text-align: center;
    line-height: 109px;
    color: #FFF;
    font-size: 30px;
  }
  
  .nif-ficha {
    font-size: 14px;
    font-family: 'Rubik';
    display: block;
  
  }
  
  
  .ficha-box {
    border-radius: 20px;
    box-shadow: 3px 3px 4px #d4d4d4;
    border-top: 1px solid #d4d4d429;
  }
  
  .left-ficha {
    font-family: 'Rubik';
    font-size: 14px;
    color: #4D4D4D;
  }
  
  .title-ficha-section {
    font-family: 'Rubik';
    font-weight: bold;
    font-size: 15px;
    color: #4D4D4D;
  }
  
  
  .historia_ficha {
    padding: 0px;
    list-style: none;
    position: relative;
  }
  
  .historia_ficha:after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 40px;
    bottom: 30px;
    left: 16px;
    border-left: 2px solid #4d4d4d;
    transform: translate(-50%);
  }
  
  .historia_ficha .ball_historia {
    width: 56px;
    height: 56px;
    line-height: 56px;
    display: inline-block;
    border: 1px solid #4d4d4d;
    border-radius: 50px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #4d4d4d;
    margin-top: 10px;
    z-index: 1;
    background: white;
  }
  
  .historia_ficha .content_historia {
    font-size: 14px;
    line-height: 24px;
  }
  
  .card-header-ficha {
    background-color: #FFF;
    border-bottom: 1px solid #FFF;
  }
  
  .subdata_ficha_header i {
    margin-right: 10px;
  }
  
  .subdata_ficha_header {
    font-size: 14px;
    font-weight: normal;
  }
  
  /* Final Ficha*/
  
  /* Estilos buscador hey empresas / guia de empresas */
  
  .form-check {
    position: relative;
    display: block;
    padding-left: 1rem;
  }
  
  .form-check-label {
    margin-bottom: 0;
    margin-top: 2px;
    margin-left: 2px;
    font-size: 13px;
  }
  
  .form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1rem;
  }
  
  #resultado_busqueda a.text-primary {
    font-size: 12px;
    font-weight: 600;
  }
  
  #actividad_cnae_search::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-size: 12px;
  }
  
  #actividad_cnae_search::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 12px;
  }
  
  #actividad_cnae_search:-ms-input-placeholder {
    /* IE 10+ */
    font-size: 12px;
  }
  
  #actividad_cnae_search:-moz-placeholder {
    /* Firefox 18- */
    font-size: 12px;
  }
  
  #actividad_sic_search::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-size: 12px;
  }
  
  #actividad_sic_search::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 12px;
  }
  
  #actividad_sic_search:-ms-input-placeholder {
    /* IE 10+ */
    font-size: 12px;
  }
  
  #actividad_sic_search:-moz-placeholder {
    /* Firefox 18- */
    font-size: 12px;
  }
  
  .modal-header-hey {
    margin: 30px;
    border-bottom: 3px solid #fac00f;
    margin-top: 20px;
  }
  
  .modal-body-hey {
    margin: 30px;
    margin-top: 0px;
    font-family: 'Rubik';
  }
  
  .modal-footer-hey {
    margin: 30px;
    margin-top: 0px;
  
  }
  
  .modal-header-hey .modal-title {
    font-family: 'Rubik';
    font-size: 18px;
    color: #000;
  }
  
  .modal-header-hey .btn-close {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: white;
    border: 1px solid #ccc;
    color: #000;
    border-radius: 100%;
    font-size: 19px;
    opacity: 1;
    padding: 6px;
    width: 40px;
    height: 40px;
  }
  
  .modal-header-hey .modal-subtitle {
    font-family: 'Rubik';
    font-size: 16px;
    color: #4d4d4d;
    margin-bottom: 10px;
    display: block;
  }
  
  .list-group-item-primary a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    width: 90%;
    vertical-align: top;
  }
  
  .list-group-item-primary span {
    display: inline-block;
    width: 10%;
    vertical-align: top;
  }
  
  
  .list-group-item-primary {
    color: #000;
    background-color: #fff;
  }
  
  
  #label_sics_searching span {
    position: relative;
  }
  
  #label_cnaes_searching span {
    width: 67px;
    position: relative;
  }
  
  #AllSICsLIST, #AllCNAEsLIST {
    font-size: 12px;
    border: 1px solid #c6c6c6;
    border-radius: 10px 0px 0px 10px;
    max-height: 300px;
    overflow-y: scroll;
  }
  
  #AllSICsLIST::-webkit-scrollbar, #AllCNAEsLIST::-webkit-scrollbar {
    width: 6px;
  }
  
  #AllSICsLIST::-webkit-scrollbar-track, #AllCNAEsLIST::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  }
  
  #AllSICsLIST::-webkit-scrollbar-thumb, #AllCNAEsLIST::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  }
  
  
  .list-group-item {
    border-top: 0px;
    border-bottom: 1px solid #f2f2f2;
    border-left: 0px;
    border-right: 0px;
  
  }
  
  .list-group-item:first-child {
    border-top: 0px;
  }
  
  .list-group-item:last-child {
    border-bottom-right-radius: inherit;
    border-bottom-left-radius: inherit;
    border-bottom: 0px;
  }
  
  .list-group-item-primary.list-group-item-action:focus, .list-group-item-primary.list-group-item-action:hover {
    color: #000;
    background-color: #f2f2f2;
  }
  
  .badge i.fa.fa-times-circle {
    position: absolute;
    top: -6px;
    background: white;
    border-radius: 20px;
    width: 14px;
    height: 14px;
    color: #1c1c1c;
    font-size: 10px;
    right: -5px;
    border: 1px solid #CCC;
    line-height: 12px;
    cursor: pointer;
  }
  
  .badge.bg-primary{
    background-color: #fac00f!important;
  }
  
  /* Estilos específicos para la impresión */
  @media print {
    #historia_ficha_title{
      display: none;
    }
    
    .historia_ficha{
      display: none;
    }
  }