@import url("//fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");


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: 'Open Sans',Verdana,Times,Courier,sans-serif;
	font-size: 14px;
	color: #4d4d4d;
}

.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: #4d4d4d;
	
	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: #4d4d4d;
	
	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: 1130px;
	width: 100%;
}

.main-heading {
	line-height: normal;
	margin: 0px;
	padding: 0px;
	
	font-family: inherit;
	font-size: 1.25em !important;
	font-weight: bold;
	color: #4d4d4d !important;
	
	padding-top: 1.0em;
	padding-bottom: 1.0em;
}

.download-data-button,
.data-button:active,
.data-button {	
	
	height: auto;
	line-height: normal;	
	margin: 0px;
	
	font-family: inherit;
	font-size: 1.0em;
	font-weight: bold;
	color: #FFFFFF !important;
	text-transform: none;
	
	padding: 1.0em 1.0em 1.0em 1.0em;
	
	border: 0em solid #F07D00;	
	border-radius: 30px;
	
    background: #F07D00;
    color: #FFFFFF !important;
	
	transition: background 0.5s, color 0.5s, border 0.5s;
	min-width: 153px !important;
	background-image: linear-gradient( #f89022, #fa751e) !important;
}
.download-data-button td {
	color: #FFFFFF !important;
	transition: background 0.5s, color 0.5s, border 0.5s;
}

.download-data-button:hover,
.data-button:hover {
	background: #FFA326;
    color: #FFFFFF !important;
	border-color: #FFA326;
	background-image: linear-gradient(#fa771f,#f89022 ) !important;
}

.download-data-button:hover td {
	color: #FFFFFF !important;
}
.download-data-button img {
	display: none;
}

.footer {
	padding-top: 1em;
	font-size: 12px;
}


/*************************************** 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: 2em !important;
	height: 2.5em !important;
	padding: 0px 0 0 0.16em;
	
	border: 0.08em solid #ccc; /*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;
}

/*************************************** Start of: Currency Selection ****************************************/

.ac_input {
	border: 0.08em solid #ccc;	
	height: 2.5em!important;
	width: 132px!important;
}

.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: 2em!important;
	height: 2em!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: 0.08em solid #ccc;
	background: #DBDBD2;
	background: linear-gradient(#DBDBD2, #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 #4d4d4d;
}

.ac_odd,
.ac_even {
	transition: background 0.3s, border 0.3s;
}
.ac_over {
	background: #DBDBD2;
	color: #4d4d4d;	
	border-color: #ccc;
	border-width: 0.08em;
}

.ac_results {
	border: 0.08em solid #ccc;
	border-top: 0;
	box-shadow: 1px 1px 3px #DBDBD2;	
    left: unset !important;
    top: unset !important;
}

.local-currency {
	width: 100%!important;
	line-height: 2.5em;
	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: 0.08em solid #ccc;/*Insert table-data-row-border color*/
}
.result-close-button {
	width: 2em;
	height: 2em;
	
	border: 0.08em solid #ccc;/*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;
	padding: 11.2px;
	line-height: normal;
	height: auto;
	padding-bottom: 0;
}
.block-date {
    box-sizing:border-box;

	padding-top: 0.0em;
	padding-bottom: 0.6em;
	padding: 11.2px;
}

.data-detail {
	padding: 0em;
    margin: 0em;

    border-top:0;
    border-bottom:0;

    box-sizing: border-box;
}
.detail-line {
	height: auto;
    line-height: normal;
   	padding: 11.2px;
}

.detail-label {
	display: inline-block;
	float: none;
}

.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: 0em solid #2F312C;
}

.table-share-market-name,
.table-share-row-currency,
.table-share-row-date {
	border-left: 0em solid #2F312C;
}

.detail-line,
.table-share .border-inline {
	border-bottom: 0em solid #CCCCCC  !important;
}


/*** Outter borders ***/

.block-title,
.table-share-header {
	border-top: 0em solid #2F312C;
}

.data-detail,
.block-title,
.block-date,
.table-share .checkbox-wrapper,
.table-share-header-name {
	border-left: 0em solid #2F312C;
}

.checkbox {
	line-height: 14px !important;
}

.data-detail,
.block-title,
.block-date,
.table-share-header-date,
.table-share-row-date {
	border-right: 0em solid #2F312C;
}

.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: 0em solid #2F312C;
}

/*** Header Top/Bottom Borders ***/

.table-share-header,
.block-title {
	border-top: 0em solid #2F312C;
}

.table-share-header,
.block-date {
	border-bottom: 0em solid #CCCCCC;
}

/*** Header Left/Right Borders ***/

.block-title,
.block-date,
.table-share-header-name {
	border-left-color: #2F312C;
}

.block-title,
.block-date,
.table-share-header-date {
	border-right-color: #2F312C;
}

@media (max-width: 411px) { 
	
	/*** Reset the borders of the share selection table to reflect the limited table in mobile ***/
	
	.table-share-header-market {
		border-right: 0em solid #2F312C;
	}
	
    .table-share-market-name {
        border-right: 0em solid #2F312C;
    }
	
}

/*** Table Backgrounds ***/

/*** Head ***/

.table-share-header {
	background: #FFFFFF;
	color: #4d4d4d;
	text-align: right;
	
	font-weight: bold;
	text-transform: none;
}

.block-title,
.block-date,
.table-share-header-name {
	background: #FFFFFF;
	color: #4d4d4d;
	text-align: left;
	
	font-weight: bold;
	text-transform: none;
	font-size: 14px;
}

.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: #f4f4f4  !important;
}

.initial-details > .detail-line:first-child + .detail-line,
.end-details .detail-line:nth-child(even),
.table-share .table-share-row-odd {
	background: #ffffff  !important;
}

.table-share .border-inline {
	background: #EEEEEE;
	text-align: right;
	color: #4d4d4d;
	
	font-weight: normal;
}

.table-share .table-share-row-name,
.table-share .checkbox-wrapper {
	background: #EEEEEE;
	text-align: left;
	color: #4d4d4d;
	
	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: #EEEEEE;
	color: #4d4d4d;
}
.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;
}
.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;
	padding: 11.2px !important;
}

.table-share th {
	font-size: 14px;
}

/* .table-share-header {
    padding: 11.2px !important;
} */

.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%; */
	background-color: #f98d22;
	color: #FFFFFF;

}
.share-selection  .checkbox-wrapper {
	width: 20px;
}
.table-share td:first-child {
    padding-right: 0 !important;
}

/*************************************** Start of: Tab Settings ****************************************/

.tabs {
	text-align: center;	
	border-bottom: 0px;
	font-size: 0px !important; 	
	
	position: relative;
	z-index: 0;
}

.tabs:after {
	content: '';
	display: block;	
	position: absolute;
	bottom: -6px;
	left: 0em;
	width: 100%;
	height: 0em;
	z-index: 1;
	
	border-bottom: 1px solid #dddd;
}

#LatestTradesContainer,
#TradesBrokerContainer {
	margin-top: 2em;
}

.tabs li {
	float: none;
	display: inline-block;	
	margin: 0px;
	width: 30%;
}

.tabItem {
	height: auto;
	line-height: 15px;
	
	margin: 0 5px;
	padding: 16px 14px;
    
	font-family: 'Open Sans', Arial;
	font-weight: normal;
	font-size: 14px;
	font-style: normal;
	text-decoration: none;
	text-transform: none;
	
	border-radius: 0.0em 0.0em 0.0em 0.0em;
	
	/* border-top: 0.08em solid #4f7200;
	border-right: 0.08em solid #4f7200;
	border-bottom: 0.08em solid #4f7200;
	border-left: 0.08em solid #4f7200; */
	border: 0;
	background: transparent;
    color: #333333;
	
	transition: background 0.5s, color 0.5s, border 0.5s;
	position: relative;
}

.tabItem:hover,
.tabItem:active {
	background: transparent;
	color: #0067B4;	
	/* border-top: 0.08em solid #2e4100;
	border-right: 0.08em solid #2e4100;
	border-bottom: 0.08em solid #2e4100;
	border-left: 0.08em solid #2e4100; */
}

.tab-active,
.tab-active:hover {
	background: #FFFFFF;
	color: #0067B4;	
	/* border-top: 0.08em solid #2e4100;
	border-right: 0.08em solid #2e4100;
	border-bottom: 0.08em solid #2e4100;
	border-left: 0.08em solid #2e4100; */

	border: 0;

	position: relative;
	top: 0px;
	left: 0px;
}
.tab-active:before, .tabItem:hover:before {
	
    content: "";
    width: 100%;
    height: auto;
    position: absolute;
    bottom: -5px;
    left: 0;
    margin-left: 0em;
    border-left: 0em solid transparent;
    border-right: 0em solid transparent;
    border-top: 0em solid #3D5513;
    border-bottom: 5px solid #0067B4;
}

@media (max-width: 411px){ 
    .table-share-row-name,
    .table-share-row-market-name,
    .table-share-row-currency,
    .table-share-row-date {
        width: inherit;
    }
}
#amountInvestedContainer .data-button-wrapper {
    max-width: 380px;
}
#shareBoughtContainer .data-button-wrapper {
    max-width: 380px;
}

@media(max-width:568px){
    #amountInvestedContainer .data-button-wrapper {
		max-width: 340px;
	}
	.currency-selection {
		margin-left: 0!important;
	}
	#amountInvestedContainer .currency-selection {
		margin-top: 0!important;
	}

	.fr-fr #amountInvestedContainer .data-button-wrapper {
		max-width: 344px !important;
	}
}

@media(max-width:428px){
    /* #amountInvestedContainer .data-button-wrapper {
		max-width: 291px;
	} */
	.currency-selection {
		margin-left: 0!important;
	}
}
@media(max-width:568px){
    #shareBoughtContainer .data-button-wrapper {
        max-width: 341px;
    }

	.fr-fr #shareBoughtContainer .data-button-wrapper {
		max-width: 344px !important;
	}
}

@media(max-width:343px){
	#amountInvestedContainer .data-button-wrapper, #shareBoughtContainer .data-button-wrapper {
       
		max-width: 156px;
    }

	.fr-fr #amountInvestedContainer .data-button-wrapper, 
	.fr-fr #shareBoughtContainer .data-button-wrapper {
		max-width: 164px !important;
	}
}

/* @media(max-width: 296px){
    #amountInvestedContainer .data-button-wrapper {
		max-width: 201px;
	}
    #shareBoughtContainer .data-button-wrapper {
        max-width: 201px;
	} 
} */
@media (max-width: 533px) {
	.tabs{
		border-bottom: 0px!important;
	}
    ul.tabs li {
        width: 100%;
        text-align: center;
        display: table;
        margin: 0 auto;
        margin-bottom: 2px;
		margin-left: 0 !important;
	}
}
.EUCalendar{
	text-shadow: none !important;
}
.EUCalendar-day {
	text-align: center;
	color: #4d4d4d;
	font-size: 12px !important;
	border: 1px solid transparent !important;
	
	text-shadow: 0px !important;
}
.EUCalendar-dayNames {
    clear: both;
    padding: 2px 1px 0px 7px !important;
    margin: 1px !important;
	border: 1px solid transparent !important;
	text-transform: capitalize;
}
.EUCalendar-day-selected {
    background-color: #F08523 !important;
	background-image: linear-gradient( #f89022, #fa751e) !important;
}
.EUCalendar-table-topControl {
    background: #fff !important;
}
.EUCalendar-hover-date {
	background-color: #ec971f !important;
	border: 1px solid #ec971f !important;
    color: #FFFFFF !important;
	background-image: linear-gradient(#fa771f,#f89022 ) !important;
	
}
.EUCalendar-menu-hover-yearLabel div, .EUCalendar-hover-title div {
    background-color: transparent !important;
    border: 0px solid #777 !important;
}
.EUCalendar-bottomBar-today {
	font-family:inherit, sans-serif;
	font-size: 14px;
    padding:  7px;
    background-color: #F08523;
    color: #fff;
    font-family: inherit;
    font-weight: 400;
    border: 0;
	text-transform: capitalize;
	border-radius: 30px !important;
	width: 80px;
    margin-bottom: 5px;
	line-height: 16px;
	background-image: linear-gradient( #f89022, #fa751e) !important;
}

.fr-fr .EUCalendar-bottomBar-today {
	width: 100px !important;
}
.EUCalendar-bottomBar-today:hover {
	border: 0 solid #ec971f !important;
    background-color: #ec971f !important;
    color: #fff !important;
	background-image: linear-gradient(#fa771f,#f89022 ) !important;
}
.EUCalendar-hover-week {
    background-color: white !important;
}
.EUCalendar-bottomBar {
    border-top: 0px solid #aaa !important;
}
.EUCalendar-menu-yearLabel div, .EUCalendar-title div {
    padding: 8px 17px !important;
    text-shadow: none !important; 
	border: 0px solid transparent !important;
	font-weight: 700;
}
.EUCalendar-menu-prevDecade button,
.EUCalendar-menu-nextDecade button,
.EUCalendar-navBtn button {
    padding: 1px !important;
    height: 20px !important;
    width: 23px !important;
    line-height: 15px !important;
    border: none;
    font-weight: bold;
    font-size: 150% !important;
    background-color: transparent;
    border: solid 0 #dcdcdc;
	border-radius: 3px;
	color: #000;
}
table.EUCalendar-titleCont {
    font-size: 120%;
    font-weight: bold;
    color: #000;
    text-align: center;
}
.jspHorizontalBar,
.jspVerticalBar {
    display: none!important;
}
.jspPane {
    margin-left:0px!important;
}
.EUCalendar-dayNames .EUCalendar-weekend,
.EUCalendar-day.EUCalendar-weekend {
    color: #d88;
}
.EUCalendar {
	text-shadow: none!important;
}

.highcharts-axis-labels {
    margin-top: 4px!important;
}
.main-heading {
	display: none;
}
#amountInvestedContainer .currency-selection {
    margin-top: -2px;
}


.data-button-wrapper {
    margin-bottom: 40px;
}

.en-gb .tabItem {
    text-transform: none;
	position: relative;
}

.parameter-item .by-amount-invested .amount-invested {
    float: none;
    margin-bottom: 11px;
}
.currency-selection {
    float: none;
    margin-left: 0;
	
}
.calculation-parameters.clear-both {
    position: relative;
}
#amountInvestedContainer .currency-selection:before {
	content: "Choose currency";
	position: absolute;
	left: 3px;
}


/* REDESIGN */

.div-share-name-and-date {
	font-family: inherit;
	color: #5e9a36;
	font-family:inherit;
	font-weight: 400;
}

.div-checkbox .checkbox {
	margin-top: 12px;
}

.div-checkbox label {
	margin-top: 9px;
}

/* CUSTOM CHECKBOX */
.checkbox-wrapper span {
    position: relative !important;
}

.checkbox-wrapper span::before {
    position: absolute;
    content: "";
    left: 1px;
    top: 2px;
    width: 14px;
    height: 14px;
    border-radius: 16px;
    border: 1px solid #0067B4;
    background: #fff;
}

.radio {
	background: transparent !important;
}

.checkbox-wrapper span.radio-checked::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 16px;
    position: absolute;
    left: 4px;
    top: 5px;
    font-size: 11px;
    background: #0067B4;
    color: #0067B4;
}

.parameter-item.div-checkbox div div {
    display: block!important;
}

/* .dividend-checked {
    height: 18px;
    float: left;
    width: 18px;
    vertical-align: middle;
} */

.div-checkbox label {
	position: relative;
	float: none !important;
	padding-left: 5px;
}

.checkbox input {
	width: 15px;
    height: 15px;
    border: 1px solid #cccccc;
}
.checkbox {
	background: transparent !important;
}

.div-checkbox label:before {
    position: absolute;
    content: "";
    left: -19px;
    top: 1px;
    content: "";
    width: 15px;
    height: 15px;
    border: 1px solid #cccccc;
    background: #fff;
    border-radius: 2px;
    -webkit-border-radius: 2px;
}

.div-checkbox .checkbox-checked + label:after {
    content: "";
    position: absolute;
    left: -18px;
    top: 2px;
    content: "";
    width: 15px;
    height: 15px;
	background-size: cover;
	background: url("//tools.euroland.com/tools/InvestmentCal2/Config/Company/ma-iam/icons/checked.png");
    background-size: contain;
    background-position: 46% 1px;
	background-color: #0067B4;
}
/* .div-checkbox .dividend-checked + label:after {
	content: "";
    position: absolute;
    left: -17px;
    top: 3px;
    content: "";
    width: 13px;
    height: 13px;
    background: #5e9a36;
    border-radius: 2px;
    -webkit-border-radius: 2px;
} */

.dividend-checked {
	background: transparent !important;
	height: 12px;
}

@media screen and (max-width:533px) {
	.tabs:after {
		display: none;
	}
}


button.download-data-button {
	min-width: unset !important;
}



button.download-data-button {
	min-width: unset !important;
}

.fr-fr .tabs li {
    width: 40%;
}

@media screen and (max-width:649px) {
	.end-investment {
		margin-left: 0 !important;
	}
}


@media screen and (max-width:865px) {
	.fr-fr .tabs li {
		width: 50%;
	}
}

@media screen and (max-width:569px) {
	.fr-fr .tabs li {
		width: 100%;
	}
}





@media screen and (max-width:800px) {
	.tabs li{
		width: 50%;
	}
}

@media screen and (max-width:533px) {
	.tabs li{
		width: 50%;
	}
}

.block-title, .block-date {
    text-align: center;
    background: #F58220;
    color: #FFFFFF;
}


@media screen and (max-width:849px) {
	.fr-fr .initial-investment {
		margin-right: 0%;
	}

	.end-investment {
		margin-left: 0%;
	}
}


@media screen and (max-width:410px) {
	.fr-fr .detail-label {
		max-width: 175px;
	}
}


.fr-fr #amountInvestedContainer .data-button-wrapper {
    max-width: 386px;
}

.fr-fr #shareBoughtContainer .data-button-wrapper {
    max-width: 386px;
}

