/******************************************/


/*****************NEW FONTS****************/


/******************************************/

@font-face {
	font-family: 'AvertaRegular';
	src: url("https://s3.eu-west-1.amazonaws.com/prd273.tm-intl-pci.mfol.prod1.eu-west-1.tmaws-static-pages/media/tmeu/spain/feature/fonts/averta/averta-regular-webfont.woff2") format("woff2"), url("https://s3.eu-west-1.amazonaws.com/prd273.tm-intl-pci.mfol.prod1.eu-west-1.tmaws-static-pages/media/tmeu/spain/feature/fonts/averta/averta-regular-webfont.woff") format("woff");
	font-style: normal;
	font-weight: 400;
}

@font-face {
	font-family: 'AvertaSemiBold';
	src: url("https://s3.eu-west-1.amazonaws.com/prd273.tm-intl-pci.mfol.prod1.eu-west-1.tmaws-static-pages/media/tmeu/spain/feature/fonts/averta/averta-semibold-webfont.woff2") format("woff2"), url("https://s3.eu-west-1.amazonaws.com/prd273.tm-intl-pci.mfol.prod1.eu-west-1.tmaws-static-pages/media/tmeu/spain/feature/fonts/averta/averta-semibold-webfont.woff") format("woff");
	font-weight: 500;
	font-style: normal;
}

.staticpage{
  font-family: 'AvertaRegular', sans-serif;
}



/******************************************/


/*****************WRAPPER******************/


/******************************************/

.staticpage .affiliates_wrapper {
	max-width: 100%;
	display: block;
	margin: 60px auto;
}


/******************************************/


/*****************HEADER*******************/


/******************************************/

.staticpage .header {
	background-image: url(https://s3.eu-west-1.amazonaws.com/prd273.tm-intl-pci.mfol.prod1.eu-west-1.tmaws-static-pages/media/tmeu/spain/help/afiliacion/images/2020/header.png);
	padding: 50px 20px;
	color: #ffffff;
	text-align: center;
	background-size: cover;
}

.staticpage .affiliates_title {
	font-family: 'AvertaSemiBold', sans-serif;
	font-size: 26px;
	text-align: center;
}

.staticpage .affiliates_title_light {
	color: #ffffff;
	font-family: 'AvertaSemiBold', sans-serif;
	font-size: 26px;
	text-align: center;
}

.staticpage .affiliates_title_dark {
	font-family: 'AvertaSemiBold', sans-serif;
	text-align: center;
}

.staticpage .affiliates_title_slider {
	font-family: 'AvertaRegular', sans-serif;
	font-size: 26px;
	color: #fff;
	text-align: center;
	padding-top: 80px;
}

.staticpage .header p {
	font-family: 'AvertaRegular', sans-serif;
	font-size: 14px;
	margin: 0 9%;
}

.staticpage .header p.affiliates_title {
  font-family: 'AvertaSemiBold', sans-serif;
  font-size: 26px;
  line-height: 1.2em;
  padding-bottom: 20px;
}

.staticpage .affliates_logo {
	width: 30%;
	margin: 0 auto;
	display: block;
}


/******************************************/


/*****************BENEFITS*****************/


/******************************************/

.staticpage .benefits-wrapper {
	font-family: 'AvertaRegular', sans-serif;
}

.staticpage .benefits-wrapper h2 {
	font-size: 20px;
	text-align: center;
	margin: 3% 15%;
}

.staticpage .benefits-flex-container {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 40px;
	justify-content: center;
}

.staticpage .benefits-flex-container-extra {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	font-family: 'AvertaRegular', sans-serif;
	background-color: #026cdf;
	color: #ffffff;
	padding: 40px 0;
}

.staticpage .single-benefit-container {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 10px auto;
}

.staticpage .single-benefit-container img {
	display: block;
	/*     width: 15%;*/
	margin: 0 auto;
}

.staticpage .benefit-title,
.benefit-title-white,
.benefit-desc {
	text-align: center;
	/*width: 100%;*/
	display: block;
	margin: 10px auto;
	padding: 0 30px;
}

.staticpage .benefit-title {
	color: #026cdf;
	font-size: 16px;
	font-family: 'AvertaSemiBold', sans-serif;
}

.staticpage .benefit-title-white {
	font-size: 16px;
	font-family: 'AvertaSemiBold', sans-serif;
}


/******************************************/


/****************TEXT-IMAGE****************/


/******************************************/

.staticpage .text-image {
	display: flex;
	justify-content: center;
	margin: 0 auto;
	flex-wrap: wrap;
	background-color: #1F262D;
}

.staticpage .text-image .affiliates_title {
	color: #ffffff;
	text-align: center;
	width: 100%;
	margin: 70px;
}

.staticpage .text li {
	font-family: 'AvertaRegular', sans-serif;
	font-size: 1em;
	color: #262626;
	font-weight: 300;
	margin-bottom: 15px;
	color: #ffffff;
}

.staticpage .text {
	padding: 10px;
	margin-bottom: 10px;
	display: block;
	padding: 0 10px;
}

.staticpage .image {
	max-width: 100%;
}

.staticpage .image {
  margin: 0 20px;
}

.staticpage .image img {
	max-width: 60%;
	display: block;
	margin: 0 auto;
}


/******************************************/


/********************CTA*******************/


/******************************************/

.staticpage .CTA {
	padding: 60px;
	font-family: 'AvertaSemiBold', sans-serif;
	font-size: 20px;
	text-align: center;
}

.staticpage .button {
	background-color: #026cdf;
	border: none;
	border-radius: 3px;
	padding: 8px 30px;
	margin: 0 auto;
	color: #ffffff;
	width: auto;
	font-size: 16px;
  text-decoration: none;
  transition: all 0.3s;
}

.staticpage .button:hover, .staticpage .button:focus{
  background-color: #0150A7;
}


/******************************************/


/********************Slider*******************/


/******************************************/

.staticpage .slider {
	background-color: #1F262D;
}

.staticpage .carousel-wrapper {
	height: 115%;
	position: relative;
	width: 80%;
	margin: 0 auto;
}

.staticpage .slider .affiliates_title {
	text-align: center;
	color: #fff;
	padding-top: 80px;
}

.staticpage .carousel-item {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 0;
	transition: all 0.5s ease-in-out;
}

.staticpage .arrow {
	border: solid #026CDF;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 5px;
}

.staticpage .arrow-prev {
	left: 14px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%) rotate(135deg);
}

.staticpage .arrow-next {
	right: 14px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%) rotate(-45deg);
}

.staticpage .light {
	color: white;
}


/*Select every element*/

.staticpage [id^="item"] {
	display: none;
}

.staticpage .item-1 {
	z-index: 2;
	opacity: 1;
	background-color: #1F262D;
}

.staticpage .item-2 {
	background-color: #1F262D;
}

.staticpage .item-3 {
	background-color: #1F262D;
}

.item-4 {
	.staticpage background-color: #1F262D;
}

.staticpage *:target~.item-1 {
	opacity: 0;
}

.staticpage #item-1:target~.item-1 {
	opacity: 1;
}

.staticpage #item-2:target~.item-2,
.staticpage #item-3:target~.item-3,
.staticpage #item-4:target~.item-4 {
	z-index: 3;
	opacity: 1;
}

.staticpage .slider__logo {
	margin: 2rem 0 1rem;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
	text-transform: uppercase;
	text-align: center;
}

.staticpage .slider__txt {
	color: #ffffff;
	margin-bottom: 3rem;
	text-align: center;
	font-family: 'AvertaRegular', sans-serif;
}

.staticpage .flag {
	display: flex;
	flex-direction: column;
	margin: 15px;
	width: 15%;
}

.staticpage .flag-txt {
	margin-top: 10px;
	font-family: 'AvertaRegular', sans-serif;
	color: #00FFFF;
	text-align: center;
}

.staticpage .flag-tm-container {
	display: flex;
	flex-wrap: wrap;
	width: 300px;
	margin: 0 auto;
	justify-content: center;
}

.staticpage .opmarkets {
	text-align: center;
}

.staticpage .carousel-item button {
	background-color: blue;
	margin: 15px;
}

.staticpage .arrow-container-prev {
	left: -30px;
	position: absolute;
	top: 50%;
	border: 1px solid #fff;
	padding: 18px;
	border-radius: 100px;
	background-color: #fff;
}

.staticpage .arrow-container-next {
	right: -30px;
	position: absolute;
	top: 50%;
	border: 1px solid #fff;
	padding: 18px;
	border-radius: 100px;
	background-color: #fff;
}


/******************************************/


/***************Media-Mobile*******************/


/******************************************/

@media only screen and (max-width: 767px) {
	.staticpage label {
		display: flex;
		/*width:100%;*/
		margin: 15px 0 0 0;
	}
	.staticpage label>img {
		width: 60%;
		display: block;
		margin: 0 auto;
		padding-bottom: 10px !important;
	}
	.staticpage #filter-bg {
		height: 150%;
	}
}


/******************************************/


/***************Media768*******************/


/******************************************/

@media only screen and (min-width: 768px) {
	.read-more-trigger {
		display: none;
	}
	.staticpage .affliates_logo {
		width: 20%;
	}
	.staticpage .affiliates_title {
		width: 50%;
		margin: 25px auto;
		display: block;
	}
	.staticpage .header p {
		margin: 0 auto;
		width: 60%;
	}
	.staticpage .single-benefit-container {
		width: 44%;
		display: block;
		margin: 20px;
	}
	.staticpage .benefit-title,
	.benefit-desc {
		width: 85%;
	}
	.staticpage .text-image {
		flex-direction: row-reverse;
		padding-bottom: 70px;
	}
	.staticpage .image {
		max-width: 30%;
		margin: 0 auto;
	}
	.staticpage .text {
		max-width: 100%;
		margin: 0 auto;
	}
	.staticpage .image img {
		max-width: 392px;
		display: block;
		/* margin: 0 -55px;*/
	}
	.staticpage .slider__txt {
		max-width: 100%;
		text-align: center;
	}
	.staticpage .slider__logo img {
		width: 20%;
		display: block;
		margin: 0 auto;
	}
	.staticpage .flag-tm-container {
		width: 100%;
	}
	.carousel-wrapper {
		height: 100%;
	}
	.staticpage .CTA {
		width: 60%;
		display: block;
		margin: 0 auto;
	}
	.staticpage label {
		width: 30%;
		float: left;
		text-align: center;
		color: #222222;
		padding: 0.5%;
		margin: 0.5%;
		margin-bottom: 30px;
		cursor: pointer;
	}
}


/******************************************/


/***************Media1000******************/


/******************************************/

@media only screen and (min-width: 1000px) {
	.staticpage .affliates_logo {
		width: 150px;
		margin-left: 50px;
	}
	.staticpage .affiliates_wrapper {
		/*max-width: 80%;*/
	}
	.staticpage .affiliates_title {
		text-align: left;
	}
	.staticpage .affiliates_title {
		margin: 25px 50px;
	}
	.staticpage .affiliates_title_slider {
		font-family: 'AvertaRegular', sans-serif;
		font-size: 26px;
		color: #fff;
		text-align: center;
		padding-top: 80px;
	}
	.staticpage .header p {
		margin-left: 50px;
		text-align: left;
		width: 50%;
		font-size: 17px;
	}
	.staticpage .single-benefit-container {
		width: 29%;
		margin: 15px;
	}
	.staticpage .benefit-desc {
		font-size: 14px;
	}
	.staticpage .header {
		min-height: 300px;
	}
	.staticpage .carousel-wrapper {
		height: 100%;
	}
	.staticpage .header-container {
		max-width: 80%;
		display: block;
		margin: 20px auto;
	}
	.staticpage .carousel-wrapper {
		width: 70%;
	}

}

.staticpage .filter-flags {
	background-color: #1f262d;
	height: 100%;
	padding: 2% 10% 5% 10%;
}

.staticpage .filter-container {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}

.staticpage .filters {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.staticpage input[type="radio"] {
	display: none;
}

.staticpage .filter-img {
	padding-bottom: 15px;
}

.staticpage label.filter {
	background: #1f262d;
}

.staticpage input[type="radio"][id="blue"]:checked+label {
	border-bottom: solid 4px #00ffff;
}

.staticpage input[type="radio"][id="blue"]:checked~.red,
.staticpage input[type="radio"][id="blue"]:checked~.green {
	width: 0;
	height: 0;
	padding: 0;
	margin: 0;
	opacity: 0;
}

.staticpage input[type="radio"][id="red"]:checked+label {
	border-bottom: solid 4px #00ffff;
}

.staticpage input[type="radio"][id="red"]:checked~.blue,
.staticpage input[type="radio"][id="red"]:checked~.green {
	width: 0;
	height: 0;
	padding: 0;
	margin: 0;
	opacity: 0;
}

.staticpage input[type="radio"][id="green"]:checked+label {
	border-bottom: solid 4px #00ffff;
}

.staticpage input[type="radio"][id="green"]:checked~.blue,
.staticpage input[type="radio"][id="green"]:checked~.red {
	width: 0;
	height: 0;
	padding: 0;
	margin: 0;
	opacity: 0;
}

.staticpage .tile {
	width: 100%;
	min-height: 100px;
	float: left;
	/*  transition:all 1s;*/
	margin: 0.5%;
	padding: 0.5%;
}

.staticpage .green {
	display: none;
}

.staticpage .red {
	display: none;
}

.staticpage .flag {
	display: flex;
	flex-direction: column;
	margin: 15px;
	width: 15%;
}

.staticpage .flag-txt {
	margin-top: 10px;
	font-family: 'AvertaRegular', sans-serif;
	color: #00FFFF;
	text-align: center;
}

.staticpage .flag-tm-container {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 0 auto;
	justify-content: center;
}

.staticpage .slider__txt {
	color: #ffffff;
	margin-bottom: 3rem;
	text-align: center;
	font-family: 'AvertaRegular', sans-serif;
}

.staticpage .opmarkets {
	text-align: center;
}
