div.cn-network-fees {
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

div.cn-network-fees table {
  width: 100%;
}

div.cn-network-fees table tfoot {
  background: #f5f5f5;
}

div.cn-network-fees p {
  font-size: 0.75em;
}

p.cn-network-fees_instructions {
  margin-top: 1em;
  margin-bottom: 1em;
  padding-right: 10px;
  padding-left: 10px;
  text-align: justify !important;
}

.cn-network-fees table .cn-network-fees_table_row:nth-child(even) {
  background: #f5f5f5;
}

.cn-network-fees_table_headers_row > th {
  font-weight: bold;
  text-align: left;
  padding: 0.8em 0.5em;
  background: #4285f4;
  color: #fff !important;
}

.cn-network-fees_table_headers_row > th:nth-child(2) {
  text-align: right;
}

.cn-network-fees_table_row {
  line-height: 2rem;
  font-size: 0.8rem;
  transition: 500ms;
}

.cn-network-fees_table_row:hover {
  background: #e8e8e8;
  transition: 500ms;
}

.cn-network-fees_table_row td {
  padding: 0.8em 10px;
}

.cn-network-fees_table_row > td:nth-last-child(1) {
  text-align: right;
}

p.cn-network-fees-tx_weight_mean {
  text-align: right;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 5px;
  padding-right: 10px;
  padding-left: 10px;
}

span.cn-network-fees-max_fee {
  /* background-color: green; */
  color: green;
  font-weight: bold;
}

div.cn-network-fees_source {
  padding-left: 10px;
}

/* Acordeón */
.cn-network-fees-accordion input {
  display: none !important;
}

.cn-network-fees-accordion label {
  align-items: center;
  font-size: .75em!important;
  font-weight: 400!important;
  text-align: right;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding-right: 10px;
  padding-top: 1em;
  padding-bottom: 1em;
  margin-top: 0;
  margin-bottom: 0;
  cursor: pointer;
}
.cn-network-fees-accordion label::after {
  content: "\25BC";
  margin-left: 5px;
  display: block;
  transition: all 0.4s;
}

.cn-network-fees-accordion-tab-content {
  overflow: hidden;
  /* CSS animation will not work with auto height */
  /* This is why we use max-height */
  transition: all 0.6s; 
  max-height: 0;
}

.cn-network-fees-accordion input:checked ~ .cn-network-fees-accordion-tab-content {
  /* Set the max-height to a large number */
  /* Or 100% viewport height */
  max-height: 100vh;
}

/* Titulo home */

.cn-network-fees_home h3 {
  line-height: 30px !important;
  padding-top: 20px;
  font-family: "Poppins", Helvetica,Arial,sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.cn-network-fees_home h3 span {
  color: #4285f4;
}

.cn-network-fees_home {
  padding-top: 8px;
}

/* 
Modo oscuro
*/
.jnews-dark-mode
  .cn-network-fees
  table
  .cn-network-fees_table_row:nth-child(odd) {
  background: #494949 !important;
}

.jnews-dark-mode
  .cn-network-fees
  table
  .cn-network-fees_table_row:nth-child(even),
.jnews-dark-mode tr:hover {
  background: rgba(0, 0, 0, 0.2) !important;
}

.jnews-dark-mode .cn-network-fees-tx_weight_mean {
  background: #494949 !important;
  margin: 0px;
  padding-bottom: 10px;
  padding-top: 0.5em;
}

.jnews-dark-mode .cn-network-fees_instructions {
  background: #494949 !important;
  margin: 0px;
  hyphens: auto;
  text-align: justify;
}

.jnews-dark-mode .cn-network-fees center {
  background: #494949 !important;
  margin: 0px;
  width: 100%;
}

.jnews-dark-mode .cn-network-fees_source {
  background: #494949 !important;
  margin-bottom: 0px;
  padding-bottom: 0.5em;
}

.jnews-dark-mode hr.cn-network-fees_table_footer_separator {
  background: 2px solid white;
  width: 100%;
  margin-bottom: 0.5em;
}

.jnews-dark-mode .cn-network-fees tr.cn-network-fees_table_headers_row th {
  background: #4285f4 !important;
}

.jnews-dark-mode .cn-network-fees_table_footer td,
.jnews-dark-mode .cn-network-fees_table_footer,
.jnews-dark-mode .cn-network-fees-accordion {
  background: #494949 !important;
}

.jnews-dark-mode .cn-network-fees_table_footer p {
  margin-bottom: 5px;
}

.jnews-dark-mode .cn-network-fees table {
  margin-top: 0px;
}