h2{
    margin-top: 0px;
}


.fm_container{
    width: 80vw;
    max-width: 1680px;
    margin: auto;
    margin-bottom: 0px;
}
.fm_btn{
	border: 1px solid #000000;
	color: #000000;
	padding: 1rem 1.5rem;
	border-radius: 30px;
	background-color: transparent;
	display: flex;
	gap: 2px;
	align-items: center;
	text-decoration: none;
}
.fm_btn:hover{
	background-color: #000000;
	color: white;
}

.fm_link_languages{
	color: #F8430D !important;
	font-weight: 500;
}


/* Home styles */

.fm_logo_track {
  --s: 200px; /* size of the logo */
  --d: 32s; /* animation duration*/
  --n: 5; /* number of visible logos */
  position: relative;
  display: flex;
  overflow: hidden;
  height: 120px; 
}

.fm_logo_item {
	position: absolute;   
	top: 0;
	left: 0;
	width: var(--s);
	offset: shape(from calc(var(--s)/-2) 50%,hline by calc(sibling-count()*max(100%/var(--n),var(--s) + 10px)));
	animation: x var(--d) linear infinite calc(-1*sibling-index()*var(--d)/sibling-count());
}
.fm_logo_item img{
	width: 100% !important; 
	height: 100%;
	object-fit: cover;
	display: block; 
}

.fm_image_track {
  --s: 250px; /* size of the logo */
  --d: 32s; /* animation duration*/
  --n: 6; /* number of visible logos */
  
  position: relative;
  overflow: hidden;
  height: 300px;  
}
.fm_image_item {
	position: absolute;   
  	top: 0;
  	left: 0;
  	width: var(--s);
  	height: 300px;
  	offset: shape(
		from calc(var(--s)/-2) 50%,
		hline by calc(sibling-count() * max(100%/var(--n), var(--s) + 10px)));
	animation: x var(--d) linear infinite 
					calc(-1*sibling-index()*var(--d)/sibling-count());
	animation-direction: reverse;
}
.fm_image_item img{
	width: 100% !important; 
	height: 100%;
	object-fit: cover;
	display: block; 
	border-radius: 12px;
}
@keyframes x { 
  to {offset-distance: 100%}
}


/* Home styles end */

/* Brands styles */

.fm_brands_model_type_text{
	text-transform: uppercase;
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.2;
}
.fm_brands_model_title{
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
}
.fm_brands_model_text{
	font-size: 0.9rem;
	font-weight: 200;
	line-height: 1.3;
}
.fm_brands_model_from{
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
}

/* Como invertir Styles */

.fm_tabs_link{
	font-size: 2rem;
	font-weight: 200;
	color: #000000;
}
.nav-link.fm_tabs_link:hover{
	color: #000000 !important;
}

.fm_tabs_flex {
	flex-direction: column;
	}

/* News Styles */

.fm_news_wrapper {
		background-color: transparent;
		border-bottom: 1px solid red !important;
	}
	
	.fm_news_wrapper:hover {
		background-color: rgba(0, 0, 0, 0.05);
	}
	
	.fm_news_cursor_pointer:hover {
		cursor: pointer;
		font-weight: 800 !important;
	}	
	
	.fm_news_year {
			color: black;
			font-weight: normal;
			display: block;
			font-size: 2rem;
			text-decoration: none;
			padding: .8rem 1.5rem;
			border-radius: 2rem;
	}
	
	.fm_news_year:hover {				
			text-decoration: underline;
			text-underline-offset: 6px !important;
	}	
	
	.fm_news_year.active {
			background-color: #F8430D;
			color: white;
	}
	.fm_news_date{
		text-transform: uppercase;
		letter-spacing: 2px;

	}
	.fm_news_title{
		font-size: 1.2rem;
		font-weight: 500;
	}
	.fm_news_detail_title{
		font-size: 2.4rem;
		font-weight: 500;
	}
	.fm_news_btn{
		background-color: #F8430D;
		padding: .5rem 1rem;
		border-radius: 30px;
		color: white !important;
		text-transform: uppercase;
		letter-spacing: 2px;
	}
	.fm_news_detail_extract{
		font-size: 1.5rem;
		font-weight: 400;
	}
	.fm_news_detail_btn{
		border: 1px solid #000000;
		padding: 1rem 1.5rem;
		border-radius: 30px;
		background-color: transparent;
		display: flex;
		gap: 2px;
		align-items: center;
	}
	.fm_news_detail_btn:hover{
		background-color: #000000;
		color: white;
	}
	.fm_news_detail_btn_link{
		background-color: transparent;
		text-transform: uppercase;
		letter-spacing: 2px;
		text-decoration: underline;
		text-underline-offset: 6px;
		color: #000000;
	}
	.fm_news_detail_btn_link:hover{
		color: #F8430D;
	}


/* Contacto Styles */
.fm_form_input {
	background-color: transparent !important;
	color: rgb(0, 0, 0) !important;
	border: none !important;
	border-bottom: 0.5px solid #ffffff !important;
	border-radius: 30px !important;
	width: 100%;
	padding: 0.8rem 0;
}


input::placeholder {
	color: white !important;
}

input[type="text"] {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 30px !important;
	box-sizing: border-box;
	margin-bottom: 10px;
	font-size: 16px;
	text-align: left !important;
	background-color: rgb(255, 255, 255) !important;
	color: rgb(0, 0, 0) !important;
}
textarea{
    border-radius: 10px !important;
    width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	box-sizing: border-box;
	margin-bottom: 20px;
	font-size: 16px;
	text-align: left !important;
	background-color: rgb(255, 255, 255) !important;
	color: rgb(0, 0, 0) !important;
}

input::placeholder, textarea::placeholder {
	color: rgb(0, 0, 0) !important;
}

.fm_form_select {
	width: 100%;
	/* Makes them span the full width of their container */
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 30px !important;
	box-sizing: border-box;
	/* Ensures width includes padding and border */
	margin-bottom: 10px;
	/* Adds space below each element */
	font-size: 16px;
	text-align: left !important;
	background-color: rgb(255, 255, 255) !important;
	color: rgb(0, 0, 0) !important;
}

/* Como invertir styles */

.fm_comparative_roi_wrapper{
    background-color: #E8E8E7;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-radius: 30px;
	padding: 2rem;
}
.fm_comparative_roi_number{
    font-size: 4rem;
    font-weight: 700;
    color: #000000;
}
.fm_comparative_text{
	font-size: 1.4rem;
	font-weight: 300;
	
	color: #000000;
}
.fm_comparative_text_number{
	font-size: 1.5rem;
	font-weight: 700;
	color: #000000;
}
.fm_comparative_riesgo_bajo_wrapper{
    background-color: #FFF825;
	padding: 2rem;
	border-radius: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.fm_comparative_riesgo_medio_wrapper{
    background-color: #FF9925;
	padding: 2rem;
	border-radius: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Footer styles */

.accordion-item, .accordion-button{
    background-color: transparent !important;
}
.accordion-button:not(.collapsed){
    color: white !important;
}
.accordion-button{
    color: white;
    padding: .5rem 1rem !important;
}

.fm_footer_link{
    color: white;
    text-decoration: none;
}

.fm_footer_link:hover{
    text-underline-offset: 6px;
    text-decoration: underline;
}
.fm_contact_form_submit_button{
    background:black; 
    border-radius: 30px !important; 
    padding:.8rem 2rem !important; 
    color:white !important;
}
.form-check-label{
    font-weight: 400 !important;
}
.form-check-label a{
    color: white !important;
    text-underline-offset: 6px;
}

@media only screen and (max-width: 767px) {
  .fm_tabs_link {
    
    font-size: 1.4rem;
  }
  .fm_tabs_flex {
	flex-direction: row;
	}
	
}
