@font-face {
	font-family: "TelefonicaHeadline-Light";
	font-style: normal;
	font-weight: normal;
	src: url("//tools.eurolandir.com/tools/InvestmentCal2/Config/Company/es-tde/fonts/TelefonicaHeadline-Light.otf");
}

@font-face {
	font-family: "TelefonicaText";
	font-style: normal;
	font-weight: normal;
	src: url("//tools.eurolandir.com/tools/InvestmentCal2/Config/Company/es-tde/fonts/TelefonicaText.woff") format("woff");
}

@font-face {
	font-family: 'TelefonicaSans';
	src: url("//tools.eurolandir.com/tools/InvestmentCal2/Config/Company/es-tde/fonts/Telefonica_Sans_Regular.otf");
	src: url("//tools.eurolandir.com/tools/InvestmentCal2/Config/Company/es-tde/fonts/Telefonica_Sans_Regular.eot") format('eot'),
		url("//tools.eurolandir.com/tools/InvestmentCal2/Config/Company/es-tde/fonts/Telefonica_Sans_Regular.eot?#iefix") format('embedded-opentype'),
		url("//tools.eurolandir.com/tools/InvestmentCal2/Config/Company/es-tde/fonts/Telefonica_Sans_Regular.woff2") format('woff2');

	font-style: normal;
	font-weight: normal;
}

@font-face {
	font-family: 'TelefonicaSans';
	src: url("//tools.eurolandir.com/tools/InvestmentCal2/Config/Company/es-tde/fonts/Telefonica_Sans_Medium.eot") format('eot'),
		url("//tools.eurolandir.com/tools/InvestmentCal2/Config/Company/es-tde/fonts/Telefonica_Sans_Medium.eot?#iefix") format('embedded-opentype'),
		url("//tools.eurolandir.com/tools/InvestmentCal2/Config/Company/es-tde/fonts/Telefonica_Sans_Medium.woff2") format('woff2');

	font-style: 500;
	font-weight: 500;
}

@font-face {
	font-family: 'TelefonicaSans';
	font-style: bold;
	font-weight: bold;
	src: url("//tools.eurolandir.com/tools/InvestmentCal2/Config/Company/es-tde/fonts/Telefonica_Sans_Bold.eot") format('eot'),
		url("//tools.eurolandir.com/tools/InvestmentCal2/Config/Company/es-tde/fonts/Telefonica_Sans_Bold.eot?#iefix") format('embedded-opentype'),
		url("//tools.eurolandir.com/tools/InvestmentCal2/Config/Company/es-tde/fonts/Telefonica_Sans_Bold.woff2") format('woff2');

	font-style: bold;
	font-weight: bold;
}

body {
	margin: 0px;
}

/*************************************** Start of: Basic setting to overvwrite the tool ****************************************/

body,
.data-button,
.tabs li,
.tabs:after,
.tabs:after,
.page-font-style,
input.textbox-base,
.main-heading {
	font-family: 'TelefonicaSans', sans-serif;
	font-size: 15px;
	color: #414B61;
}

.dividend-checked {
	height: 17px;
}

.hyperlink:link,
.disclaimer-box a:link,
.cookies-box a:link,
.hyperlink:visited,
.disclaimer-box a:visited,
.cookies-box a:visited {
	color: #414B61;

	font-weight: normal;
	text-decoration: none;
	font-style: none;
}

.hyperlink:active,
.disclaimer-box a:active,
.cookies-box a:active,
.hyperlink:hover,
.disclaimer-box a:hover,
.cookies-box a:hover {
	color: #414B61;

	font-weight: none;
	text-decoration: underline;
	font-style: none;
}

@media (max-width: 480px) {
	.data-button {
		float: right !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

@media (max-width: 320px) {

	body.fi-fi .data-button,
	body.fi-fi .data-button-separated {
		float: right !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

@media (max-width: 568px) {
	.data-button {
		float: right !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

@media (max-width: 568px) {

	.end-investment,
	.data-button-separated {
		margin-left: 0 !important;
	}
}

/*************************************** End of: Basic setting to overvwrite the tool ****************************************/

.wrapper {
	margin: 0px auto;
	max-width: 1225px;
	width: auto;
}

.main-heading {
	line-height: normal;
	margin: 0px;
	padding: 0px;

	font-family: inherit;
	font-size: 1.25em !important;
	font-weight: bold;
	color: #031A34 !important;

	padding-top: 1.0em;
	padding-bottom: 1.0em;
	display: none;
}

.download-data-button,
.data-button:active,
.data-button {

	height: auto;
	line-height: normal;

	font-family: inherit;
	font-size: 11px;
	font-weight: bold;
	color: #F7F6E8 !important;
	text-transform: uppercase;

	padding: 0.6em 1em 0.8em 1em;

	border: 1px solid #0066FF;
	border-radius: 100px;

	background: #FFFFFF;
	color: #0066FF !important;

	transition: background 0.5s, color 0.5s, border 0.5s;
	width: 198px;
}

.download-data-button td {
	color: #F7F6E8 !important;
	transition: background 0.5s, color 0.5s, border 0.5s;
}

.download-data-button:hover,
.data-button:hover {
	background: #0066FF;
	color: #FFFFFF !important;
	border-color: #0066FF;
}

.download-data-button:hover td {
	color: #F7F6E8 !important;
}

.download-data-button img {
	display: none;
}

.footer {
	text-align: left;
	padding-top: 3em;
	font-size: 13px;
}


/*************************************** Start of: Selection ****************************************/

.parameter-item-label {
	margin-right: 3em;
	width: 13em !important;
}

.tab-content {
	padding-top: 1em;
}

.parameter-item {
	padding-top: 0.5em;
	line-height: 2.0em;
}

.parameter-item td {
	vertical-align: middle;
}

.date-img {
	line-height: auto;
	height: 16px;
	display: inline-block;
}

.datefrom-input,
.dateto-input,
.value-input {
	line-height: 1.5em !important;
	height: 1.5em !important;
	padding: 0px 0 0 0.16em;

	border: 1px solid #D1D5E4;
	/*Insert table-data-row-border color*/

}

.ac_input,
.datefrom-input,
.dateto-input,
.value-input {
	min-width: 11em !important;
	box-sizing: border-box;
}

.currency-selection {
	margin-left: 0.5em;
	margin-top: -2px;
}

/*************************************** Start of: Currency Selection ****************************************/

.ac_input {
	border: 1px solid #D1D5E4;
	height: 1.5em;
	width: 100%;
}

.dropdown-item {
	width: auto !important;
	box-sizing: border-box;
}

.dropdown-item-text td:first-child {
	width: 100% !important;
}

.dropdown-item-text .flags {
	padding-right: 5px;
}

.ac-arrow,
.arrow-wrapper,
.ac-arrow button,
.dropdown-item-table {
	line-height: 1.5em !important;
	height: 1.5em !important;
	box-sizing: border-box;
}

.dropdown-item-table td:last-child {
	width: 1.5em !important;
}

.arrow-wrapper {
	text-align: center;
}

.ac_input_active .arrow-wrapper,
.arrow-wrapper:hover {
	border-left: 1px solid #D1D5E4;
	background: #D2D9DB;
	background: linear-gradient(#D2D9DB, #E6E6E6);
}

.ac-arrow {
	display: inline-block;
	background: transparent;

	position: relative;
	top: 0px;
	left: 0px;

	width: 1em;
}

.ac-arrow:before {
	content: "";
	width: 0;
	height: 0;

	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -0.35em;
	margin-top: -0.35em;

	border-left: 0.3em solid transparent;
	border-right: 0.3em solid transparent;
	border-top: 0.7em solid #414B61;
}

.ac_odd,
.ac_even {
	transition: background 0.3s, border 0.3s;
}

.ac_over {
	background: #D2D9DB;
	color: #414B61;
	border-color: #D1D5E4;
	border-width: 1px;
}

.ac_results {
	border: 1px solid #D1D5E4;
	border-top: 0;
	box-shadow: 1px 1px 3px #D2D9DB;
}

.local-currency {
	width: 100% !important;
	line-height: 1em;
	height: auto;
	padding-left: 0.16em;
}

.dropdown-name {
	width: 100% !important;
}

.ac_results li {
	margin-bottom: 0em;
	line-height: normal;
	height: auto;
}

.ac_results li table,
.ac_results li table tr td:first-child {
	width: 100%;
}

.flags {
	padding-right: 10px;
}

/*************************************** Start of: Results Settings ****************************************/

.result-wrapper {
	margin-top: 2em;
	border: 1px solid #D1D5E4;
	/*Insert table-data-row-border color*/
}

.result-close-button {
	width: 2em;
	height: 2em;

	border: 1px solid #D1D5E4;
	/*Insert table-data-row-border color*/
	border-top: 0px;
	border-right: 0px;
	line-height: 2em;

	border-radius: 0px;
}

.block-title {
	box-sizing: border-box;

	padding-top: 0.6em;
	padding-bottom: 0.0em;

	line-height: normal;
	height: auto;
}

.block-date {
	box-sizing: border-box;

	padding-top: 0.0em;
	padding-bottom: 0.6em;
}

.data-detail {
	padding: 0em;
	margin: 0em;

	border-top: 0;
	border-bottom: 0;

	box-sizing: border-box;
}

.detail-line {
	height: auto;
	line-height: normal;
	padding-top: 0.6em;
	padding-bottom: 1.8em;
	padding-left: 0.6em;
	padding-right: 0.6em;
}

.data-block {
	margin-top: 1em;
	margin-bottom: 1em;
	box-sizing: border-box;
}

.initial-investment {
	padding: 0 !important;

	box-sizing: border-box;

	margin-right: 4%;
}

.end-investment {
	padding: 0 !important;

	box-sizing: border-box;

	margin-left: 4%;
}

.text-result {
	padding: 2em;
}

.chart-type-label {
	padding-left: 2.5em;
}

/*************************************** Start of: Table Settings ****************************************/

/*************************************** BORDER SETTINGS *************************************************/

/*** Table ***/

.table-share {
	border-collapse: collapse;
}

/*** Inner Borders ***/

.table-share-header-market,
.table-share-header-currency,
.table-share-header-date {
	border-left: 1px solid #58617A;
}

.table-share-market-name,
.table-share-row-currency,
.table-share-row-date {
	border-left: 1px solid #D1D5E4;
}

.detail-line,
.table-share .border-inline {
	border-bottom: 1px solid #D1D5E4;
}


/*** Outter borders ***/

.block-title,
.table-share-header {
	border-top: 1px solid #D1D5E4;
}

.data-detail,
.block-title,
.block-date,
.table-share .checkbox-wrapper,
.table-share-header-name {
	border-left: 1px solid #D1D5E4;
}

.data-detail,
.block-title,
.block-date,
.table-share-header-date,
.table-share-row-date {
	border-right: 1px solid #D1D5E4;
}

.end-details>.detail-line+.detail-line+.detail-line+.detail-line+.detail-line,
.discount-info+.detail-line,
.table-share tr:last-child .border-inline {
	border-bottom: 1px solid #D1D5E4;
}

/*** Header Top/Bottom Borders ***/

.table-share-header,
.block-title {
	border-top: 0em solid #58617A;
}

.table-share-header,
.block-date {
	border-bottom: em solid #58617A;
}

/*** Header Left/Right Borders ***/

.block-title,
.block-date,
.table-share-header-name {
	border-left-color: 0px solid #031A34;
}

.block-title,
.block-date,
.table-share-header-date {
	border-right-color: 0px solid #031A34;
}

@media (max-width: 514px) {

	/*** Reset the borders of the share selection table to reflect the limited table in mobile ***/

	.table-share-header-market {
		border-right: 0px solid #031A34;
	}

	.table-share-market-name {
		border-right: 0px solid #031A34;
	}

}

/*** Table Backgrounds ***/

/*** Head ***/

.table-share-header {
	background: #031A34;
	color: #FFFFFF;
	text-align: left;

	font-weight: bold;
	text-transform: none;
}

.table-share-header-name {
	background: #031A34;
	color: #FFFFFF;
	text-align: left;

	font-weight: bold;
	text-transform: none;
}

.block-title,
.block-date {
	background: #FFFFFF;
	color: #031A34;
	text-align: left;

	font-weight: normal;
	text-transform: uppercase;
	font-size: 13px;
}

.block-title,
.block-date {
	text-align: center;
}

/*** Body ***/

.initial-details .detail-line:first-child,
.discount-info+.detail-line,
.end-details .detail-line:nth-child(odd),
.table-share .table-share-row-even {
	background: transparent;
}

.initial-details>.detail-line:first-child+.detail-line,
.end-details .detail-line:nth-child(even),
.table-share .table-share-row-odd {
	background: transparent;
}

.table-share .border-inline {
	background: #FFFFFF;
	text-align: left;
	color: #414B61;

	font-weight: normal;
}

.table-share .table-share-row-name,
.table-share .checkbox-wrapper {
	background: #FFFFFF;
	text-align: left;
	color: #414B61;

	font-weight: normal;
	text-transform: none;
}

.initial-details>.detail-line:first-child+.detail-line,
.data-block .initial-details .detail-line,
.data-block .end-details .detail-line {
	background: #FFFFFF;
	color: #414B61;
}

.detail-label {
	font-weight: normal;
	text-transform: none;
}

/*** Various Fixes ***/

/*Fix required for single cell look*/
.checkbox-wrapper {
	border-right: 0;
}


/*fight against main css*/
.end-investment {
	border-left: 0 !important;
}

/* CHECK BOX BORDER DISABLE */
.checkbox-wrapper {
	border-right: 0;
	text-align: left !important;
	padding: 0.3em 4px 0.3em 4px !important;
}

.table-share-row-name {
	border-left: 0;
	padding-left: 0em !important;
}

/*********************************** END OF BORDER SETTINGS **********************************************/


.tabs-content-wrapper {
	margin-top: 2em;
	border-top: 0em solid #A6A9A3;
}

.table-share {
	margin-bottom: 2.0em;
}

.table-share-row-name,
.table-share-row-market-name,
.table-share-row-currency,
.table-share-row-date {
	width: 25%;
}

.table-share th,
.table-share td {
	line-height: normal;
	height: auto;
}

.table-share-header {
	padding-top: 0.6em;
	padding-bottom: 0.6em;
	padding-left: 0.6em;
	padding-right: 0.6em;
}

.table-share-row-even,
.table-share-row-odd {
	padding-top: 0.6em;
	padding-bottom: 0.6em;
	padding-left: 0.6em;
	padding-right: 0.6em;
}

.table-share-header-name {
	padding-left: 26px;
}

.table-share-row-name {
	padding-left: 0em;
}


.share-selection .table-share-header {
	width: 25%;
}

.share-selection .checkbox-wrapper {
	width: 20px;
}


/*************************************** Start of: Tab Settings ****************************************/

.tabs {
	text-align: left;
	border-bottom: 0px;
	font-size: 0px !important;

	position: relative;
	z-index: 0;
	/* border-bottom: 1px solid #D1D5E4; */
}

.tabs:after {
	content: '';
	display: block;
	position: absolute;
	bottom: 0em;
	left: 0em;
	width: 100%;
	height: 0em;
	z-index: -1;

	/* border-bottom: 0em solid #FFFFFF; */
}

#LatestTradesContainer,
#TradesBrokerContainer {
	margin-top: 2em;
}

.tabs li {
	float: none;
	display: inline-block;
	margin: 0px;
}

.tabItem {
	height: auto;
	line-height: normal;

	margin: 0.0em 45px 0.0em 0em;

	padding-top: 1.0em !important;
	padding-right: 0em;
	padding-bottom: 1.0em !important;
	padding-left: 0em;

	font-family: inherit;
	font-weight: bold;
	font-size: 13px;
	font-style: normal;
	text-decoration: none;
	text-transform: capitalize;
	letter-spacing: 0.02em;

	border-radius: 0.0em 0.0em 0.0em 0.0em;

	border-top: 0px solid #0066FF;
	border-right: 0px solid #0066FF;
	border-bottom: 0px solid #D1D5E4;
	border-left: 0px solid #0066FF;

	background: #FFFFFF;
	color: #031A34;

	transition: background 0.5s, color 0.5s, border 0.5s;
}

.tabItem:hover,
.tabItem:active {
	background: #FFFFFF;
	color: #031A34;
	border-top: 0px solid #0066FF;
	border-right: 0px solid #0066FF;
	border-bottom: 0px solid #0066FF;
	border-left: 0px solid #0066FF;
}

.tab-active,
.tab-active:hover {
	background: #FFFFFF;
	color: #031A34;
	border-top: 0px solid #0066FF;
	border-right: 0px solid #0066FF;
	border-bottom: 4px solid #0066FF;
	border-left: 0px solid #0066FF;

	position: relative;
	top: 0px;
	left: 0px;
}

.tab-active:before {

	content: "";
	width: 0;
	height: 0;

	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -0em;

	border-left: 0em solid transparent;
	border-right: 0em solid transparent;
	border-top: 0em solid #0066FF;
}

@media (max-width: 514px) {

	.table-share-row-name,
	.table-share-row-market-name,
	.table-share-row-currency,
	.table-share-row-date {
		width: inherit;
	}
}

/********** MODIFICATIONS ***********/

.share-selection {
	padding-top: 1em;
}

.ac_input,
.datefrom-input,
.dateto-input,
.value-input {
	width: 198px !important;
	box-sizing: border-box;
	padding: 0.16em;
	height: 30px !important;
	line-height: 30px !important;
	border-radius: 1px;
	border: 1px solid #D1D5E4 !important;
}

.jspPane {
	width: 198px !important;
	margin-left: 0px !important;
}

.jspContainer {
	width: auto !important;
	height: 500px !important;
}

.ac_results.jspScrollable {
	width: 196px !important;
	max-height: 110px !important;
}

.jspHorizontalBar,
.jspVerticalBar {
	display: none !important;
}

/****** TABS REPONSIVE ******/

@media (max-width: 500px) {
	.tabs {
		border-bottom: 0px solid #e1e1e1;
	}

	.tab-content {
		padding-top: 0em;
	}

	ul.tabs li {
		width: 70%;
		text-align: center;
		display: table;
		margin: 0 auto;
		min-width: 270px;
		margin-top: 5px;
	}

	.tabItem {
		/* border-top: 1px solid #D1D5E4;
		border-right: 1px solid #D1D5E4;
		border-bottom: 1px solid #D1D5E4;
		border-left: 1px solid #D1D5E4; */
		padding-bottom: 1.0em !important;
		margin: 0 auto;
	}

	.tabItem:hover,
	.tabItem:active {
		border-top: 1px solid #D1D5E4;
		border-right: 1px solid #D1D5E4;
		border-bottom: 1px solid #D1D5E4;
		border-left: 1px solid #D1D5E4;
	}

	.tab-active,
	.tab-active:hover {
		border-top: 1px solid #D1D5E4;
		border-right: 1px solid #D1D5E4;
		border-bottom: 4px solid #0066FF;
		border-left: 1px solid #D1D5E4;
	}
}

/******** BUTTON RESPONSIVE *******/

#amountInvestedContainer .data-button-wrapper {
	max-width: 666px !important;
}

#shareBoughtContainer .data-button-wrapper {
	max-width: 460px !important;
}

@media(max-width:671px) {
	#amountInvestedContainer .data-button-wrapper {
		max-width: 460px !important;
	}

	.currency-selection {
		margin-left: 0 !important;
		margin-top: -2px;
	}
}

@media(max-width:638px) {
	.currency-selection {
		margin-top: 10px;
	}
}

@media(max-width:568px) {
	#shareBoughtContainer .data-button-wrapper {
		max-width: 395px !important;
	}

	#amountInvestedContainer .data-button-wrapper {
		max-width: 395px !important;
	}
}

@media(max-width:403px) {
	#amountInvestedContainer .data-button-wrapper {
		padding-top: 1em;
		max-width: 200px !important;
	}
}

@media(max-width:400px) {
	#shareBoughtContainer .data-button-wrapper {
		padding-top: 1em;
		max-width: 200px !important;
	}
}

/********* SPANISH **********/

body.es-es .parameter-item-label {
	width: 19em !important;
}

body.es-es #amountInvestedContainer .data-button-wrapper {
	max-width: 756px !important;
}

body.es-es #shareBoughtContainer .data-button-wrapper {
	max-width: 551px !important;
}

@media(max-width:758px) {
	body.es-es #amountInvestedContainer .data-button-wrapper {
		max-width: 550px !important;
	}

	body.es-es .currency-selection {
		margin-left: 0 !important;
		margin-top: -2px;
	}
}

@media(max-width:728px) {
	body.es-es .currency-selection {
		margin-top: 10px;
	}
}

@media(max-width:568px) {
	body.es-es #shareBoughtContainer .data-button-wrapper {
		max-width: 485px !important;
	}

	body.es-es #amountInvestedContainer .data-button-wrapper {
		max-width: 485px !important;
	}
}

@media(max-width:493px) {
	body.es-es #amountInvestedContainer .data-button-wrapper {
		padding-top: 1em;
		max-width: 200px !important;
	}
}

@media(max-width:490px) {
	body.es-es #shareBoughtContainer .data-button-wrapper {
		padding-top: 1em;
		max-width: 200px !important;
	}
}

.block-title,
.block-date {
	border: 0px solid #FFFFFF;
}

.data-detail {
	border-left: 0px solid #FFFFFF;
	border-right: 0px solid #FFFFFF
}

.chart-result {
	height: 400px !important;
}

.date-img {
	display: none;
}

/*****New code*****/
div#highcharts-4 span {

	color: #000 !important;

}

div#highcharts-4 tspan,
g.highcharts-axis-labels text {

	color: #000 !important;
	opacity: 1 !important;
}


/* tabs hover effect */

/* Tabs container */
.tabs {
	/* display: flex; */
	list-style: none;
	/* border-bottom: 1px solid #D1D5E4; */
	padding: 0;
	margin: 0;
}



/* Each tab item */
.tabs li {
	position: relative;
	margin-right: 10px;
}

/* Tab link */
.tabs .tabItem {
	position: relative;
	display: inline-block;
	padding: 10px 20px;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.3s ease;
}

/* Animated underline */
.tabs .tabItem::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -5px;
	width: 0;
	height: 4px;
	background-color: #06f;
	transition: width 0.3s ease;
}

/* Hover effect (underline grows from left to right) */
.tabs .tabItem:hover::after {
	width: 100%;
}

/* Active tab — underline fully visible */
.tabs .tabItem.tab-active::after {
	width: 100%;
}

/* Optional: highlight active tab text */
.tabs .tabItem.tab-active {
	/* color: #06f; */
	font-weight: 600;
}

ul.tabs:after {
	content: '';
	border-bottom: 1px solid #d1d5e4;
	bottom: 3px;
}

@media (max-width: 500px) {
	ul.tabs:after {
		border-bottom: 0px !important;
	}
}
