/* The Custom CSS the blogs kept in their theme settings (Theme Settings > Custom CSS,
   which the theme appended to each blog's generated settings sheet), loaded where WordPress
   loaded it: after the WordPress sheets and theme.css. The seven blogs
   carried the same CSS; this is the main site's. The others differed only in the label of
   the fade's "see more" button, below, and in rules for markup their pages don't have
   (en's .wp-block-group rules; .stars.start-item, only on the main site's pages). Its
   footer rules (the titles' underline, the brand block's blue) live in footer.css. */

/* the button's label on the other blogs; the main site's is in the rule further down */
:lang(en) .custom-fade-container::after { content: "Show More"; }
:lang(nl) .custom-fade-container::after { content: "Meer zien"; }
:lang(it) .custom-fade-container::after { content: "Vedi altro"; }
:lang(de) .custom-fade-container::after { content: "Mehr sehen"; }
:lang(fr) .custom-fade-container::after { content: "Voir plus"; }
:lang(pt) .custom-fade-container::after { content: "Ver mais"; }

h1, h2, h3, h4, .title {
	font-family: 'Nunito', sans-serif !important;
	font-weight:600;
	color:#242424;
}

strong, b {
    font-weight: 700;
}
.gridContainer {
	  display: grid;
    grid-template-columns: repeat(auto-fill, 150px);
    grid-gap: 1rem;
    justify-content: space-evenly;
	  margin-bottom: 10px;
}
.item {
    align-items: center;
    position: relative;
    min-width: 150px;
    min-height: 150px;
    border: 1px solid #e0e1e2;
    border-radius: 4px;
		transition: transform .3s ease-out,-webkit-transform .3s ease-out;
    box-sizing: border-box;
    text-align: center;
}
.item:hover {
	  -webkit-box-shadow: 0 4px 10px rgb(0 0 0 / 20%);
    box-shadow: 0 4px 10px rgb(0 0 0 / 20%);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.item .photoContainer {
	  margin-bottom: 10px;
}

.item .insideContent {
		padding: 10px;
    padding-top: 20px;
}

.item a {
		-webkit-user-drag: none;
    color: inherit;
    text-decoration: none;
    -webkit-user-select: none;
    user-select: none;
	  display: inline-block;
    height: 100%;
    width: 100%;
}

.item a h3 {
		text-align: center;
    font-size: 0.9rem;
    font-weight: 400;
		margin-bottom: 0 !important;
}

.item a h4 {
		text-align: center;
    font-size: 0.9rem;
    font-weight: 400;
		margin-bottom: 0 !important;
}

.container {
	max-width: 1022px;
}

.main-page-wrapper .container {
	   min-width: 100%;
}

.main-page-wrapper .container article {
		max-width: 1022px;
    margin: auto;
}
body { 
	font-size: 16px;
	font-family: 'Nunito', sans-serif;
}

h1 {
		margin-bottom: 5px;
}

h2, h3, h4 {
	  margin-bottom: 5px !important;
		margin-top: 30px !important;
}

.main-page-wrapper {
		padding-top: 0;
}

figure.calendario-dividendos {
		margin: 5px 0 20px !important;
}

.calendario-dividendos table {
	  margin-bottom: 10px;
}

pre {
font-family: 'Nunito', sans-serif;
    padding: 15px;
		margin-bottom: 40px;
}

p {
		margin-bottom: 24px;
}

h2:first-child, h3:first-child {
    margin-top: 10px !important;
    font-family: 'Nunito';
    padding-bottom: 0;
    margin-bottom: 24px !important;
}

h2 ~ h3 {
		margin-top: 10px !important;
}

h2 ~ h3 ~ h3 {
		margin-top: 20px !important;
}

h3 {
		font-size: 20px;
}

#content {
  position: relative;
	height: 1000px;
}

.website-wrapper {
		overflow: unset;
}

@keyframes slideInRightFade {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.stars{
    width: 100px;
    height: 100%;
}
/* Añade este bloque para agregar una línea separadora debajo de los elementos h2 */
h2 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80%;
  height: 1px;
  background-color: #D8D8D8; /* Cambia este color según tus preferencias */
}
.custom-fade-container {
  position: relative;
  overflow: hidden;
	pointer-events: none;
}

.custom-fade-container::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px; /* Adjust the height of the fade effect */
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  pointer-events: none;
}

.custom-fade-container::after {
content: "Ver más";
    position: absolute;
    bottom: 0;
    left: 50%;
    padding: 8px 12px;
    background-color: #dddddd;
    color: #333;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    user-select: none;
    pointer-events: all;
    width: 30%;
    border-radius: 20px;
    transform: translateX(-50%);
}

.custom-fade-container.expanded {
  max-height: none;
}

.custom-fade-container.expanded::before,
.custom-fade-container.expanded::after {
  display: none;
}

.author-review-date-container {
  justify-content: space-between;
  align-items: center;
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 10px;
	margin-bottom: 10px;
	height: fit-content;
}

.author-container, .reviewer-container, .date-container {
  display: flex;
  align-items: center;
}

.date-container {
	margin-top: 5px;	
}

.author-avatar, .reviewer-avatar {
  border-radius: 100%;
  overflow: hidden;
  margin-right: 10px;
	min-width: 20px;
}

.author-avatar img, .reviewer-avatar img {
  width: 20px;
  height: 20px;
	border-radius: 100%;
  object-fit: cover;
}

.author-name, .reviewer-name, .date-label, .date-value {
  font-size: 9px;
}

.reviewer-label, .author-label {
	font-size: 10px;
}

.author-name, .reviewer-name {
  font-weight: bold;
	
}

.date-label {
  margin-right: 5px;
  color: gray;
}

/*AUTOR PERFIL*/

.stars.start-item {
    --star-size: 16px;
    --star-color: #e3e3e3;
    --star-background: #fc0;
    --percent: calc(var(--rating) / 5 * 100%);
    display: block;
}

.stars.start-item:before {
    transform: translateY(-1.5px);
    font-size: var(--star-size);
    line-height: 14px;
    font-family: Times;
    content: "★★★★★";
    letter-spacing: 1px;
    background: linear-gradient(90deg,var(--star-background) var(--percent),var(--star-color) var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.tabla-brokers img.logo-company, .pro-contras-broker img.logo-company {
	    display: block;
    margin: 0 auto;
    height: 30px;
    width: auto;
    max-width: 85%;
    object-fit: contain;
}

.pro-contras-broker img.logo-company {
	display: inherit;
}

.tabla-brokers .first-row-header {
}

.tabla-brokers .first-row-header a.button {
		display: none;
		background-color: #ffb71a;
    border-radius: 8px;
    width: 100%;
    margin-top: 10px;
    box-shadow: rgba(50,50,93,.25) 0 2px 5px -1px, rgba(0,0,0,.3) 0 1px 3px -1px;
	    white-space: nowrap;
}

.tabla-brokers .first-row-header a.button:hover {
	box-shadow: inset 0 0 200px rgba(0,0,0,0.1);
}

.first-row-header.align-center {
	text-align: center;
}

.tabla-brokers .full-td {
text-align: center;
    font-weight: 800;
    background-color: aliceblue;
    text-transform: uppercase;
}

.tabla-brokers td {
	    text-align: center;
	border: none;
    border-left: 1px solid #f1f1f1;
    border-right: 1px solid #f1f1f1;
	    max-width: 200px;
	font-size: 14px;
}

.tabla-brokers td.align-left {
    text-align: left;
		background-color: rgb(241 241 241 / 51%);
		white-space: nowrap;
    font-weight: 500;
    color: black;
    font-size: 16px;
}

.tabla-brokers tr {
    border: 1px solid #f1f1f1;
}

.tabla-brokers th {
    border: 1px solid #f1f1f1;
}

.tabla-brokers tr.small > * {
    padding: 6px 12px;
}

.tabla-brokers tr.valoraciones > * {
border: none;
    font-weight: 700;
    background-color: aliceblue;
}

.pro-contras-broker {
		margin: 20px 0;
    padding: 20px 0 0;
    border-top: 4px dashed #c6c6c6;
    border-bottom: 4px dashed #c6c6c6;
    box-shadow: 5px cornsilk;
}

.pro-contras-broker .top {
	display: flex;
	justify-content: space-between;
	font-weight: 600;
    color: black;
	    margin-bottom: 10px;
}

.pro-contras-broker .buttons {
}
.pro-contras-broker .mid  {
		gap: 10px;
    display: flex;
    flex-direction: column;
}

.pro-contras-broker .mid .valoracion {
	display: flex;
    text-align: start;
	    align-items: center;
}

.pro-contras-broker .mid .valoracion span {
	min-width: 80px;
}

.pro-contras-broker .mid .valoracion a {
    margin: 0;
    display: inline-flex;
    align-items: center;
    background-color: #f3f3f3;
    padding: 8px;
    padding-right: 40px;
		border-radius: 8px;
		text-decoration: none;
    color: black;
    box-sizing: content-box;
		--star-size: 22px;
}

.pro-contras-broker .bot {	
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
		margin-top: 20px;
}

.pro-contras-broker .bot .block {
	  background-color: #f3f3f3;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
		display: flex;
		flex-direction: column;
    justify-content: space-between;
}

.button-opiniones {
		display: none;
		color: #000;
    border-radius: 8px;
}

.button-oferta {
		display: none;
		color: #000;
    border-radius: 8px;
	 	background-color: #ffb71a;
}

.switcher-container {
  width: 100%;
	margin-top: 20px;
    border-top: 1px solid #0000005c;
}

.switch-input {
  display: none;
}

.switch-label {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.option {
  width: 50%;
  padding: 10px;
	background-color: #f3f3f3;
	text-align: center;
}

.switch-input:checked ~ .switch-label .option:first-child {
  background-color: transparent;
}

.switch-input:not(:checked) ~ .switch-label .option:last-child {
  background-color: transparent;
}

.content-container {
  padding: 20px;
}

.pro-contras-broker li {
    list-style: none;
    position: relative;
}

.pro-contras-broker li::before {
    content: "";
    left: -20px;
    top: 10px;
    position: absolute;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    border: 2px solid #42618cd1;
}

.switcher-container .content {
  display: none;
}

.switch-input:checked ~ .content-container .content-1 {
  display: block;
}

.instructions {
    display: flex;
    flex-direction: column;
    gap: 20px;
	  counter-reset: a;
}

.instructions .wrapper {
		background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
}

.instructions .wrapper .inner h4 {
    margin-top: 5px !important;
    margin-left: 50px;
    margin-bottom: 25px !important;
    font-size: 22px;
}

.instructions .wrapper .inner p {
	margin-bottom: 0px;
}

.instructions .wrapper::before {
text-align: center;
    counter-increment: a;
    content: counter(a);
    width: 40px;
    border-radius: 50%;
    background-color: #42618cd1;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: absolute;
    font-size: 24px;
}

.pro-contras-broker .left li::before {
    background-image: url(/wp-content/uploads/check-nobackground1.svg);
		width: 12px;
    height: 12px;
    top: 5px;
    border: none;
    filter: contrast(1.5) brightness(.5) hue-rotate(63deg);
}

.pro-contras-broker .right li::before {
    background-image: url(/wp-content/uploads/red_cross.-nobackground3.svg);
		width: 12px;
    height: 12px;
    top: 5px;
    border: none;
    filter: contrast(1.5) brightness(.5) hue-rotate(63deg);
}

.pro-contras-broker .content.content-2 .pros-contras {
		display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
@media (min-width: 1025px) {
	h1 {
	font-size: 32px;
}
/*author-perfil*/

.author-perfil .page {
  width: calc(33.33% - 10px);
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  position: relative;
}

.author-perfil .page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

}

@media (min-width: 768px) and (max-width: 1024px) {
	h1 {
	font-size: 32px;
}

/* IMAGENES BANNER MOVIL */
.mobile-image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.mobile-image-grid a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
  margin: 5px;
}

.mobile-image-grid img {
  width: 100%;
  max-width: 70px;
  height: auto;
  border-radius: 50%;
	border: 3px solid white;
}

.mobile-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mobile-image-text {
  margin-top: 5px;
  font-size: 14px;
  font-weight: bold;
	color: white;
}

}

@media (min-width: 577px) and (max-width: 767px) {
	/* IMAGENES BANNER MOVIL */
.mobile-image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.mobile-image-grid a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
  margin: 5px;
}

.mobile-image-grid img {
  width: 100%;
  max-width: 50px;
  height: auto;
  border-radius: 50%;
	border: 2px solid white;
}

.mobile-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mobile-image-text {
  margin-top: 5px;
  font-size: 14px;
  font-weight: bold;
	color: white;
}

.pro-contras-broker .content.content-2 .pros-contras {
    grid-template-columns: 1fr;
}

}

@media (max-width: 576px) {
	table {
		font-size: 0.9rem;
}

.gridContainer {
    grid-template-columns: 1fr 1fr;
}
.author-review-date-container {
flex-direction: column;
justify-content: space-between;
align-items: center;
background-color: #f0f0f0;
padding: 10px;
border-radius: 10px;
margin-bottom: 7px;
flex-wrap: wrap;
	height: fit-content;
}

.author-review-container {
display: flex;
justify-content: center; /* Agregado */
align-items: center;
width: 100%;
}

.author-container,
.reviewer-container {
width: 50%;
display: flex;
align-items: center;
}

.date-container {
width: 100%;
margin-top: 10px;
display: flex;
justify-content: center;
}

/* IMAGENES BANNER MOVIL */
.mobile-image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.mobile-image-grid a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
  margin: 5px;
}

.mobile-image-grid img {
  width: 100%;
  max-width: 50px;
  height: auto;
  border-radius: 50%;
	border: 2px solid white;
}

.mobile-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mobile-image-text {
  margin-top: 5px;
  font-size: 14px;
  font-weight: bold;
	color: white;
}

.pro-contras-broker .content.content-2 .pros-contras {
    grid-template-columns: 1fr;
}

}
