@import url("//fonts.googleapis.com/css2?family=Open+Sans:wght@400;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, Arial, sans-serif;
	font-size: 16px;
	color: #666666;
}

.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: #666666;
	
	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: #1A1A1A;
	
	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: 1040px;
	width: auto;
}

.main-heading {
	line-height: normal;
	margin: 0px;
	padding: 0px;
	
	font-family: inherit;
	font-size: 1.25em !important;
	font-weight: bold;
	color: #666666 !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: 600;
	color: #662D91 !important;
	text-transform: none;
	
	padding: 12px 20px;
    border: 2px solid #662D91;
    border-radius: 30px;
	
    background: #FFFFFF;
    color: #662D91 !important;
	min-width: 11em;
	transition: background 0.5s, color 0.5s, border 0.5s;
}
.download-data-button td {
	color: #662D91 !important;
	transition: background 0.5s, color 0.5s, border 0.5s;
}

.download-data-button:hover,
.data-button:hover {
	background: #662D91;
    color: #FFFFFF !important;
	border-color: #662D91;
}

.download-data-button:hover td {
	color: #FFFFFF !important;
}
.download-data-button img {
	display: none;
}

.footer {
	padding-top: 1em;
}


/*************************************** 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: 2em !important;
	padding: 0px 0 0 0.16em;
	
	border: 0.08em solid #E1E1E1; /*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 #E1E1E1;	
	height: 2em;
	width: 100%;
	max-width: 0;
}

.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 #E1E1E1;
	background: #D4D2DB;
	background: linear-gradient(#D4D2DB, #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 #666666;
}

.ac_odd,
.ac_even {
	transition: background 0.3s, border 0.3s;
}
.ac_over {
	background: #D4D2DB;
	color: #666666;	
	border-color: #E1E1E1;
	border-width: 0.08em;
}

.ac_results {
	border: 0.08em solid #E1E1E1;
	border-top: 0;
	box-shadow: 1px 1px 3px #D4D2DB;	
}

.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: 0.08em solid #E1E1E1;/*Insert table-data-row-border color*/
}
.result-close-button {
	width: 2em;
	height: 2em;
	
	border: 0.08em solid #E1E1E1;/*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: 0em solid #E1E1E1;
}

.table-share-market-name,
.table-share-row-currency,
.table-share-row-date {
	border-left: 0em solid #E1E1E1;
}

.detail-line,
.table-share .border-inline {
	border-bottom: 0.08em solid #E1E1E1  !important;
}


/*** Outter borders ***/

.block-title,
.table-share-header {
	border-top: 0em solid #E1E1E1;
}

.data-detail,
.block-title,
.block-date,
.table-share .checkbox-wrapper,
.table-share-header-name {
	border-left: 0em solid #E1E1E1;
}

.data-detail,
.block-title,
.block-date,
.table-share-header-date,
.table-share-row-date {
	border-right: 0em solid #E1E1E1;
}

.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 #E1E1E1;
}

/*** Header Top/Bottom Borders ***/

.table-share-header,
.block-title {
	border-top: 0em solid #E1E1E1;
}

.table-share-header,
.block-date {
	border-bottom: 2px solid #662D91;
}

/*** Header Left/Right Borders ***/

.block-title,
.block-date,
.table-share-header-name {
	border-left-color: #E1E1E1;
}

.block-title,
.block-date,
.table-share-header-date {
	border-right-color: #E1E1E1;
}

@media (max-width: 548px) { 
	
	/*** Reset the borders of the share selection table to reflect the limited table in mobile ***/
	
	.table-share-header-market {
		border-right: 0em solid #E1E1E1;
	}
	
    .table-share-market-name {
        border-right: 0em solid #E1E1E1;
    }
	
}

/*** Table Backgrounds ***/

/*** Head ***/

.table-share-header {
	background: #FFFFFF;
	color: #666666;
	text-align: right;
	
	font-weight: 600;
	text-transform: none;
}

.block-title,
.block-date,
.table-share-header-name {
	background: #FFFFFF;
	color: #666666;
	text-align: left;
	
	font-weight: 600;
	text-transform: none;
}

.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: right;
	color: #666666;
	
	font-weight: normal;
}

.table-share .table-share-row-name,
.table-share .checkbox-wrapper {
	background: #FFFFFF;
	text-align: left;
	color: #666666;
	
	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: #666666;
}
.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: 0;
}
.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: center;	
	border-bottom: 0px;
	font-size: 0px !important; 	
	
	position: relative;
	z-index: 0;
}

.tabs:after {
	content: '';
	display: block;	
	position: absolute;
	bottom: 0em;
	left: 0em;
	width: 100%;
	height: 0em;
	z-index: -1;
	
	border-bottom: 0em solid #662D91;
}

#LatestTradesContainer,
#TradesBrokerContainer {
	margin-top: 2em;
}

.tabs li {
	float: none;
	display: inline-block;	
	margin: 0px;
}

.tabItem {
	height: auto;
	line-height: normal;
	
	margin: 0.0em 0.08em 0.0em 0.08em;
	
	padding-top: 0.8em !important;
    padding-right: 2.0em;
    padding-bottom: 0.8em !important;
    padding-left: 2.0em;
    font-family: inherit;
    font-weight: 600;

	font-size: 1.0em;
	font-style: normal;
	text-decoration: none;
	text-transform: none;
	
	border-radius: 0.0em 0.0em 0.0em 0.0em;
	
	border-top: 0.08em solid #662D91;
	border-right: 0.08em solid #662D91;
	border-bottom: 0.08em solid #662D91;
	border-left: 0.08em solid #662D91;
	
    background: #662D91;
    color: #FFFFFF;
	
	transition: background 0.5s, color 0.5s, border 0.5s;
}

.tabItem:hover,
.tabItem:active {
	background: #FFFFFF;
	color: #333333;	
	border-top: 0.08em solid #662D91;
	border-right: 0.08em solid #662D91;
	border-bottom: 0.08em solid #662D91;
	border-left: 0.08em solid #662D91;
}

.tab-active,
.tab-active:hover {
	background: #FFFFFF;
	color: #333333;	
	border-top: 0.08em solid #662D91;
	border-right: 0.08em solid #662D91;
	border-bottom: 0.08em solid #662D91;
	border-left: 0.08em solid #662D91;

	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 #662D91;
}

@media (max-width: 548px){ 
    .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;
}

.jspHorizontalBar,
.jspVerticalBar {
    display: none !important;
}

/*********** CALENDAR ***********/ 

.EUCalendar-menu-today, 
.EUCalendar-bottomBar-today {
    background-color: #FFFFFF;
    border: 2px solid #662D91;
    border-radius: 30px;
    color: #662D91;
    font-weight: 600!important;
    text-transform: capitalize;
    font-size: 14px;
    margin: 5px auto;
    transition: all 0.5s !important;
    font-weight: 400 !important;
    padding: 5px 18px !important;
    width: 120px;
    font-family: inherit!important;
    cursor: pointer;
}

button.EUCalendar-bottomBar-today:hover {
	background: #662D91;
	color: #FFFFFF;
}

.EUCalendar-menu-today:hover, 
.EUCalendar-bottomBar-today:hover {
	text-decoration: none !important;
}

body.ar-ae .EUCalendar-menu-today,
body.ar-ae .EUCalendar-bottomBar-today {
	font-family: inherit, sans-serif !important;
}

.EUCalendar-menu-yearLabel div, .EUCalendar-title div{
	text-shadow: none;
}

.EUCalendar-dayNames div, .EUCalendar-menu-yearLabel div, .EUCalendar-title div {
	text-shadow: none;
	text-transform: capitalize;
	color: #414546;
}

@media (max-width: 450px) {
	.tabs:after{
		border-bottom: 0em solid #DDDDDD;
	}
	.tab-content{
		padding-top: 0em;
	}
    ul.tabs li {
        width: 70%;
        text-align: center;
        display: table;
        margin: 0 auto;
		min-width: 270px;
	}
}

/******** BUTTON RESPONSIVE *******/

#amountInvestedContainer .data-button-wrapper {
	max-width: 628px!important;
}
#shareBoughtContainer .data-button-wrapper {
    max-width: 436px !important;
}

@media(max-width:568px){
    #shareBoughtContainer .data-button-wrapper {
        max-width: 354px !important;
	}
	#shareBoughtContainer .parameter-item-label{
		margin-right: 1em !important;
	}
	body.body-rtl #shareBoughtContainer .parameter-item-label {
		margin-right: 0em !important;
	}
	#amountInvestedContainer .data-button-wrapper {
		max-width: 530px !important;
	}
}
@media(max-width:530px){
    #amountInvestedContainer .data-button-wrapper {
        max-width: 340px !important;
	}
	.currency-selection{
		margin-left: 0 !important;
		margin-top: 10px;
	}
	body.body-rtl .tabs li {
		float: none!important;
	}
}

@media(max-width:354px){
    #amountInvestedContainer .data-button-wrapper {
		padding-top: 1em;
        max-width: 290px !important;
    }
}
@media(max-width:365px){
    #shareBoughtContainer .data-button-wrapper {
		padding-top: 1em;
        max-width: 302px !important;
    }
}

/******* ARABIC ********/


/* last */

.EUCalendar-bodyTable tr td:nth-child(5) .EUCalendar-day {
    color: #c22!important;
}

.EUCalendar-dayNames tr td:nth-child(5) div {
    color: #c22!important;
}

.EUCalendar-dayNames .EUCalendar-weekend {
    color: #c22;
}

.EUCalendar-weekend {
    color: #c22;
}

.EUCalendar-dayNames tr td:nth-child(7) .EUCalendar-weekend {
    color: #222!important;
}

.EUCalendar-dayNames tr td:nth-child(7) .EUCalendar-weekend {
    color: #222!important;
}

.EUCalendar-bodyTable tr td:nth-child(7) .EUCalendar-day {
    color: #222;
}


.EUCalendar-bottomBar{
	border-top: 0 solid #aaa;
}


.ar-ae .EUCalendar-bodyTable tr td:nth-child(5) .EUCalendar-day{
    color: unset !important;
}

.EUCalendar-day-selected {
    background-color: #999;
    color: #222!important;
}

.block-title {
	font-size: inherit;
}

.block-date {
	font-size: inherit;
}

.EUCalendar-dayNames div {
    font-weight: 400;
}

table.EUCalendar-titleCont {
	font-weight: 400;
}

.ac_results li {
    margin: 0;
	padding: 1px 0;
}

.main-heading {
    display: none;
}

@media(max-width:530px){
	.parameter-item .by-amount-invested .amount-invested {
		float: none!important;
	}
}


@media(max-width:330px){
	.parameter-item-label {
		margin-right: 3em;
		width: 11em !important;
	}
}

body.body-rtl .tabs li {
    float: none!important;
}









@media (max-width: 568px) {
    body.ar-ae .data-button {
        float: left !important;
    }
}

@media (max-width: 526px) {
    body.body-rtl div#shareBoughtContainer .data-button-wrapper {
        width: 383px;
    }
}

@media (max-width: 491px) {
    body.body-rtl div#amountInvestedContainer .data-button-wrapper {
        width: 383px	;
    }
}


@media (max-width:425px) {
    body.body-rtl .tabItem {
        text-align: center;
        width: 50%;
        margin: auto;
    }

    body.body-rtl .tabs li {
        display: block;
        margin-bottom: 5px;

    }

}


@media(max-width:526px){
    body.body-rtl .data-button-wrapper {
        margin-right: 0;
    }
}

@media(max-width:638px){
    body.body-rtl .end-investment {
        margin-left: 0;
        margin-right: 0;
    }
}

body.body-rtl .currency-selection {
	margin: 5px 0;
}

body.body-rtl #amountInvestedContainer .data-button-wrapper {
    max-width: 605px !important;
}

body.body-rtl #shareBoughtContainer .data-button-wrapper {
    max-width: 427px !important;
}

body.body-rtl .end-investment {
    border-right: 0;
}

@media(max-width:375px){
body.body-rtl div#amountInvestedContainer .data-button-wrapper {
    width: 179px;
	}
	body.body-rtl div#shareBoughtContainer .data-button-wrapper {
		width: 179px;
	}
}

@media (max-width: 320px){
	body.body-rtl div#amountInvestedContainer .data-button-wrapper {
		width: 179px;
	}	
}

body.body-rtl .amount-invested .ac_input {
    position: relative;
    bottom: 5px;
    margin-right: 5px;
}

@media(max-width:531px){
body.body-rtl .amount-invested .ac_input {
		position: inherit;
		bottom: inherit;
		margin-right: inherit;
	}
}

.ar-ae .ac_input, .ar-ae .datefrom-input, .ar-ae .dateto-input, .ar-ae .value-input {
    padding-right: 8px;
}

body.body-rtl .data-block {
    float: left;
}


.footer {
    font-size: 13px;
}

@media (max-width:360px) {
	.parameter-item-input {
		float: none;
	}
	#amountInvestedContainer .data-button-wrapper {
		max-width: 157px !important;
	}
	#shareBoughtContainer .data-button-wrapper {
		max-width: 158px !important;
	}
	body.body-rtl .parameter-item-input {
		float: none;
	}
}

.radio input, .checkbox input {
    height: 17px;
}
