fieldset {
  border: 1px solid cadetblue !important;
  padding: 0 1.4em 1.4em 1.4em !important;
  margin: 0 0 1.5em 0 !important;
  -webkit-box-shadow: 0px 0px 0px 0px #000;
  box-shadow: 0px 0px 0px 0px #000;
}

legend {
  font-size: 16px;
  font-weight: 700;
  text-align: left !important;
  width: auto;
  padding: 0 10px;
  border-bottom: none;
  color: cadetblue;
}

.vcenter {
  display: inline-block;
  vertical-align: middle;
  float: none;
}

.vbottom {
  display: inline-block;
  vertical-align: bottom;
  float: none;
}

.vtop {
  display: inline-block;
  vertical-align: top;
  float: none;
}

.icon_pdf_bg {
  background-image: url('../images/pdf_icon.png');
}

.img_upload_msg {
  font-size: 12px;
  text-align: justify;
}

.img_upload_fieldset {
  background-color: #f6fffd;
}

td.details-control {
  text-align: center;
  color: forestgreen;
  cursor: pointer;
}

tr.shown td.details-control {
  text-align: center;
  color: red;
}

#hidden_cols_tbl {
  border-top-color: none;
}

#hidden_cols_tbl tr {
  background-color: #ffffff;
}

#hidden_column_tbl small {
  font-size: 100%;
}

/* .thumbnail {
  max-width: 150px;
} */
/* div.carousel div.item img.thumbnail {
  max-width: 300px;
  height: 200px;
}

div.carousel {
  max-width: 300px;
} */
.thumbnail {
  width: 200px;
  height: 200px;
}

.thumbnail-sm {
  width: 80px;
  height: 80px;
}

.thumbnail-xs {
  width: 40px;
  height: 40px;
}

.thumbnail-xxs {
  width: 20px;
  height: 20px;
}

table.dataTable tr:hover {
  cursor: pointer;
}

.dataTables_wrapper .dataTables_filter {
  float: left;
}

div.dt-buttons.btn-group {
  float: right;
}

.btn-group.files-subsidios>a {
  margin-right: 5px !important;
  margin-top: 5px !important;
}

.banner ul {
  list-style: none;
}

.form-control {
  color: #646464;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -moz-transition: all .15s ease-out;
  -webkit-transition: all .15s ease-out;
  transition: all .15s ease-out;
}

.form-control:focus {
  background: #f8f8f8;
  border-color: #3498DB;
  outline: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.input-group-addon {
  background-color: #fcfcfc;
  border: 1px solid #dbdbdb;
  border-radius: 0;
}

input[type=file] {
  text-indent: -99999px;
}

#header {
  background-color: #1e92b5;
  /*#16a085;*/
  box-shadow: 0px 3px 8px 2px #00000047;
  background: rgb(30, 146, 181);
  background: linear-gradient(0deg, rgba(30, 146, 181, 1) 0%, rgba(37, 183, 227, 1) 100%);
}

footer.container {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

div.powered {
  height: 69px;
  display: table;
  margin-right: 10px;
}

span.powered {
  vertical-align: middle;
  display: table-cell;
  text-align: right;
}

.indianred {
  color: indianred;
}

.darkgreen {
  color: darkgreen;
}

.forestgreen {
  color: forestgreen;
}

.lightseagreen {
  color: lightseagreen;
}

.bold {
  font-weight: bold;
}

.text-bottom {
  vertical-align: bottom;
}

.thumbnail-default {
  display: block;
  padding: 4px;
  margin-bottom: 20px;
  line-height: 1.42857143;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  -webkit-transition: border .2s ease-in-out;
  -o-transition: border .2s ease-in-out;
  transition: border .2s ease-in-out;
}

a.thumbnail-default.active {
  background-color: #1ABC9C;
}

a.thumbnail-default:focus,
a.thumbnail-default:hover {
  border-color: grey;
}

.noshow {
  display: none;
  /* visibility: hidden; */
}

.system-name {
  font-size: 13px;
  font-weight: 600;
}

.readonly {
  cursor: not-allowed;
}

.readonly-input {
  background-color: #eee !important;
  cursor: not-allowed;
}

.writable {
  background-color: white !important;
  cursor: pointer;
}

.label-estado {
  vertical-align: bottom;
  padding: 10px;
}

.fw-600 {
  font-weight: 600;
}

.fw-500 {
  font-weight: 500;
}

@media (max-width:500px) {

  .ico_hide_mov {
    display: none;
  }

  button.btn.btn-default {
    width: calc(100%/6);
  }

  #beneficioListTbl_wrapper button.btn.btn-default,
  #aduaneroListTbl_wrapper button.btn.btn-default {
    width: calc(100%/5);
  }


  div.dataTables_wrapper div.dataTables_info {
    padding-top: 8 px;
    white-space: inherit;
  }
}

#beneficios_block .table th,
#beneficios_block .table td,
#search_second_step .table td {
  padding-left: 20px;
}

.beneficio-form {
  margin-bottom: 0;
}

.eliminar-comprobante-gasto {
  margin-top: 26px !important;
  height: 35px !important;
}

.fieldset-custom {
  position: relative;
  padding: 10px;
  margin: 0;
  border: none;
}

.fieldset-custom legend {
  position: absolute;
  top: -8px;
  left: 3 0px;
  background-color: #ffffff;
  padding: 5px 5px;
  font-size: 16px;
}

#btn_datos_familiares {
  border-color: #198754 !important;
}

#btn_datos_familiares:hover {
  background-color: #198754 !important;
}

#btn_datos_aduana {
  border-color: #197187 !important;
}

#btn_datos_aduana:hover {
  background-color: #197187 !important;
}

@media (max-width: 767px) {
  /*Estilo para celulares*/

  #search_by_selector_btn {
    font-size: 14px;
    padding: 0 1px;
  }

  #search_value {
    width: 150px;
  }

  #footer {
    display: none !important;
  }



  .table-striped td.text-center.d-flex {
    width: 100%;
    /* Asegura que ocupe todo el ancho del td */
  }

}

@media (max-width: 767px) and (orientation: portrait) {
  #search_value {
    width: 180px;
    margin-left: 50px;
    margin-top: 10px;
  }

  #search_btn_container {
    text-align: center;
    padding-top: 15px;
    margin-left: auto;
  }

  #fieldset_convenio_parquenorte {
    width: 100%;
    /* Puedes ajustar este valor según lo necesites */
    margin: auto;
    /* Centra el fieldset en la pantalla */
    padding: 10px;
    /* Añade un poco de espacio interno */
  }

  #seccion_contenedora_parquenorte {
    padding-top: 4px !important;
    padding-left: 0% !important;
    padding-right: 0% !important;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  #search_btn_container {
    text-align: center;
    padding-top: 15px;
    margin-left: auto;
  }
}

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {

  .table-mobile-responsive td:nth-child(6) .btn {
    display: inline;
  }

  #td_button_familiares {
    padding-left: 0% !important;
  }

  /* Force table to not be like tables anymore */
  .table-mobile-responsive,
  .table-mobile-responsive thead,
  .table-mobile-responsive tbody,
  .table-mobile-responsive th,
  .table-mobile-responsive td,
  .table-mobile-responsive tr {
    display: block;
  }

  .table-mobile-responsive.text-center {
    text-align: left !important;
  }

  .table-mobile-responsive caption {
    width: max-content;
  }

  /* Hide table headers (but not display: none, for accessibility) */
  .table-mobile-responsive thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .table-mobile-responsive> :not(:first-child) {
    border-top: none;
  }

  .table-mobile-responsive>:not(caption)>*>* {
    border-color: var(--tmr-bootstrap-border-color);
  }

  /* Default layout */
  .table-mobile-responsive td {
    /* Behave like a "row" */
    border: none;
    border-bottom: 1px solid var(--tmr-white);
    position: relative;
    padding-left: 50%;
    padding-top: 1.5rem !important;
    min-width: 150px;
    align-items: flex-start;
    word-wrap: break-word;
    white-space: normal;
    text-align: center;
  }

  .table-mobile-responsive td:before {
    position: absolute;
    top: 0;
    left: 6px;
    width: calc(50% - 8px);
    padding-right: 10px;
    white-space: nowrap;
    font-weight: bold;
    color: var(--tmr-table-header);
  }

  .table-mobile-responsive td::after {
    content: attr(data-content);
    position: absolute;
    top: 1.5rem;
    left: 6px;
    width: calc(50% - 8px);
    padding-right: 10px;
    white-space: normal;
    font-weight: bold;
  }

  /* Stripped rows */
  .table-mobile-responsive.table-mobile-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: var(--tmr-stripped-row-background-color) !important;
  }

  /* Estilo para el último td */
  .table-mobile-responsive tbody td:last-child {
    padding-bottom: 2rem;
  }


}

.custom-border {
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.bg-gray-title {
  background-color: #f0f0f0;
  display: inline-block;
  padding: 10px;
}

.custom-table tbody tr:nth-child(odd) {
  background-color: #dcdcdc79;
}

.custom-table tbody tr:nth-child(even) {
  background-color: #ffffff;
}




/* ESTILOS PARA EL SELECTOR DE PROVINCIAS DEL BUSCADOR AVANZADO*/
.custom-dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
}

.custom-dropdown-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  /* Cambia el cursor al hacer clic en el input */
  background-color: #fff;
}

.custom-dropdown-options {
  display: none;
  position: absolute;
  z-index: 1;
  border: 1px solid #ccc;
  max-height: 120px;
  overflow-y: auto;
  background-color: #fff;
  width: 369px;
}

.custom-dropdown-options ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-dropdown-options li {
  list-style-type: none;
  padding: 5px;
}

.custom-dropdown-input::after {
  content: "\25BC";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Estilo para la columna "Provincia" en el encabezado */
#form_aduanero th.text-center.second_table_adu {
  width: 33.33%;
}

/* Estilo para la columna "Provincia" en las celdas de datos */
#form_aduanero td.text-center.second_table_adu {
  width: 33.33%;
}

/* #div_contenedor_busqueda_aduanero{
  margin-top: -20px;
} */

#form_afiliado th.text-center.second_table_afi {
  width: 33.33%;
}

#form_afiliado td.second_table {
  width: 33.33%;
}


/*Estilo dashboard para redireccionar a buscador cuando se apreta un label*/

#afiliado_genero_pie_chart,
#agente_situacion_gremial_pie_chart {
  cursor: pointer;
}


/* Estilos para la lista de DNIs */
.dni-list {
  list-style-type: none;
  padding: 0;
  margin-top: 0;
}

.dni-list li {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  padding: 5px;
  margin: auto;
  width: 300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}

.dni-list li:hover {
  background-color: #e0e0e0;
}

.dni-list li::before {
  content: '\2022';
  /* Punto Unicode */
  margin-right: 10px;
}

.dni-list li:last-child {
  margin-bottom: -30px;
  /* Elimina el margen inferior del último dni */
}


/* Estilos para el botón de eliminación */
.dni-list button {
  background-color: rgb(184, 48, 48);
  color: #fff;
  border: none;
  padding: 2px 5px;
  border-radius: 3px;
  cursor: pointer;
  margin-left: 10px;
  /* Espacio entre el CUIL y el botón de eliminación */
}

.dni-list button:hover {
  background-color: rgb(250, 0, 0);
}

/* Estilo para el campo cuando está deshabilitado,lo especifico porque en el override hay un disabled que pone fondo blanco */
.after-disabled:disabled {
  background-color: #eee !important;
  opacity: 1;
  /* Color de fondo gris claro */
  color: #999;
  /* Color de texto gris */
}

#aduaneros_busquedas_generales {
  margin-top: -20px !important;
}

#aduaneros_busquedas_generales div.panel-heading {
  background-color: rgb(247, 243, 243) !important;
}

.table-title {
  text-align: center;
  color: rgba(30, 146, 181, 1);
  font-size: 15px;
  padding: 10px 0;
  font-weight: bold;
}

.select2-container {
  width: 100% !important;
}

.select2-selection.select2-selection--multiple {
  color: #646464 !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 3px !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
  -moz-transition: all .15s ease-out !important;
  -webkit-transition: all .15s ease-out !important;
  transition: all .15s ease-out !important;
}

.select2-selection.select2-selection--multiple:focus {
  background: #f8f8f8 !important;
  border-color: #3498DB !important;
  outline: 0 !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}

/* ESTILOS ARBOL ESTRUCTURA AFIP*/
.tree ul {
  list-style-type: none;
  position: relative;
}

.tree li {
  margin-left: 5%;
  padding: 1%;
  line-height: 2em;
  color: #369;
  font-weight: 700;
}

.tree li a {
  font-size: 100%;
  color: white;
}

.tree .nested {
  display: none;
}

.tree .label.label-primary {
  font-size: 110%;
}

#searchResultsEstructuraAfip {
  position: absolute;
  z-index: 1000;
  background-color: white;
  border: 1px solid #ccc;
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
}