@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400;
    src: url("//ksatools.eurolandir.com/tools/InvestmentCal2/Config/Company/SA-MIA/fonts/IBMPlexSans-Regular.ttf") format('truetype');
}

@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 500;
    src: url("//ksatools.eurolandir.com/tools/InvestmentCal2/Config/Company/SA-MIA/fonts/IBMPlexSans-Medium.ttf") format('truetype');
}

@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 700;
    src: url("//ksatools.eurolandir.com/tools/InvestmentCal2/Config/Company/SA-MIA/fonts/IBMPlexSans-Bold.ttf") format('truetype');
}

@font-face {
    font-family: 'TheSansArabic';
    font-style: normal;
    font-weight: 400;
    src: url("//ksatools.eurolandir.com/tools/InvestmentCal2/Config/Company/SA-MIA/fonts/TheSansArabic-Plain.otf") format('opentype');
}

@font-face {
    font-family: 'TheSansArabic';
    font-style: normal;
    font-weight: 500;
    src: url("//ksatools.eurolandir.com/tools/InvestmentCal2/Config/Company/SA-MIA/fonts/TheSansArabic-Bold.otf") format('opentype');
}


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: "IBM Plex Sans", sans-serif;
	font-size: 18px;
	color: #222222;
}

.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: #0D87C5;
	
	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: #211F5C;
	
	font-weight: none;
	text-decoration: none;
	font-style: none;
}
@media (max-width: 480px) { 
    .data-button {
        float: right!important;
        margin-left: 0!important;
        margin-right: 0!important;
}
body.ar-ae div#shareBoughtContainer .data-button-wrapper {
    width: 416px !important;
    float: none;
    margin-right: 236px;
}
}
@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;
    }
	body.en-gb div#amountInvestedContainer .data-button-wrapper {
        width: 436px !important;
    }
	body.en-gb div#shareBoughtContainer .data-button-wrapper {
		width: 435px !important;
	}
	body.ar-ae div#shareBoughtContainer .data-button-wrapper {
		width: 434px !important;
	}
}
/*************************************** End of: Basic setting to overvwrite the tool ****************************************/

.wrapper {
	margin: 0px auto;
	max-width: 1200px;
	width: auto;
}

.main-heading {
	line-height: normal;
	margin: 0px;
	padding: 0px;
	
	font-family: inherit;
	font-size: 1.25em !important;
	font-weight: bold;
	color: #222222 !important;
	
	padding-top: 1.0em;
	padding-bottom: 1.0em;
}

.download-data-button,
.data-button:active,
.data-button {	
    margin: 0px;
    font-family: TheSansArabic !important;
    font-size: 20px;
    font-weight: 500;
    color: #FFFFFF !important;
    text-transform: none;
    padding: 0px 30px;
    border: 0em solid #0D87C5;
    border-radius: 50px 50px 50px 0;
    background: #0D87C5;
    color: #FFFFFF !important;
    transition: all 0.4s ease 0s !important;
    overflow: hidden;
    height: 60px;
    line-height: 3;
    position: relative;
    z-index: 0;
}
.download-data-button td {
	color: #FFFFFF !important;
	transition: all 0.4s ease 0s !important;
}

.download-data-button:hover,
.data-button:hover {
	/* background: #211F5C; */
    color: #FFFFFF !important;
	border-color: #211F5C;
}

.download-data-button:hover td {
	color: #FFFFFF !important;
}
.download-data-button img {
	display: none;
}

.footer {
	padding-top: 2em;
}


/*************************************** 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: 2.5em !important;
	height: 2.5em !important;
	padding: 0px 0 0 0.6em;
	
	border: 0.08em solid #CCCCCC; /*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 #CCCCCC;	
	height: 2.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: 2.5em!important;
	height: 2.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: 0.08em solid #CCCCCC;
	background: #D2DBDB;
	background: linear-gradient(#D2DBDB, #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 #222222;
}

.ac_odd,
.ac_even {
	transition: background 0.3s, border 0.3s;
}
.ac_over {
	background: #D2DBDB;
	color: #222222;	
	border-color: #CCCCCC;
	border-width: 0.08em;
}

.ac_results {
	border: 0.08em solid #CCCCCC;
	border-top: 0;
	box-shadow: 1px 1px 3px #D2DBDB;	
}

.local-currency {
	width: 100%!important;
	line-height: 2.5em;
	height: auto;
	padding-left: 0.6em;
}
.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 #CCCCCC;/*Insert table-data-row-border color*/
}
.result-close-button {
	width: 2em;
	height: 2em;
	
	border: 0.08em solid #CCCCCC;/*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: 24px;
    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 #CCCCCC;
}

.table-share-market-name,
.table-share-row-currency,
.table-share-row-date {
	border-left: 0em solid #CCCCCC;
}

.detail-line,
.table-share .border-inline {
	border-bottom: 0.08em solid rgba(162, 164, 167, 0.3) !important;
}


/*** Outter borders ***/

.block-title,
.table-share-header {
	border-top: 0em solid #CCCCCC;
}

.data-detail,
.block-title,
.block-date,
.table-share .checkbox-wrapper,
.table-share-header-name {
	border-left: 0em solid #CCCCCC;
}

.data-detail,
.block-title,
.block-date,
.table-share-header-date,
.table-share-row-date {
	border-right: 0em solid #CCCCCC;
}

.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 #CCCCCC;
}

/*** Header Top/Bottom Borders ***/

.table-share-header,
.block-title {
	border-top: 0em solid #CCCCCC;
}

.table-share-header,
.block-date {
	border-bottom: em solid #CCCCCC;
}

/*** Header Left/Right Borders ***/

.block-title,
.block-date,
.table-share-header-name {
	border-left-color: #CCCCCC;
}

.block-title,
.block-date,
.table-share-header-date {
	border-right-color: #CCCCCC;
}

@media (max-width: 480px) { 
	
	/*** Reset the borders of the share selection table to reflect the limited table in mobile ***/
	
	.table-share-header-market {
		border-right: 0em solid #CCCCCC;
	}
	
    .table-share-market-name {
        border-right: 0em solid #CCCCCC;
    }
	
}

/*** Table Backgrounds ***/

/*** Head ***/

.table-share-header {
	background: #0D87C5;
	color: #FFFFFF;
	text-align: right;
	
	font-weight: bold;
	text-transform: none;
}

.block-title,
.block-date,
.table-share-header-name {
	background: rgba(13, 135, 197, 0.15);
    color: #211F5C;
    text-align: left;
    font-weight: 500;
    text-transform: none;
    font-size: 20px;
	font-family: TheSansArabic !important;
}

.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: transparent;
	text-align: right;
	color: #222222;
	
	font-weight: normal;
}

.table-share .table-share-row-name,
.table-share .checkbox-wrapper {
	background: transparent;
	text-align: left;
	color: #222222;
	
	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: #F3F9FC !important;
	color: #222222;
}
.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 #A7A9A3;
}
.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;
}

.tabs:after {
	content: '';
	display: block;	
	position: absolute;
	bottom: 0em;
	left: 0em;
	width: 100%;
	height: 0em;
	z-index: -1;
	
	border-bottom: 0em solid #222222;
}

#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;
	font-family: TheSansArabic !important;
    font-weight: 500;
    font-size: 20px;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
    border-radius: 0.0em 0.0em 0.0em 0.0em;
    border-top: 0em solid #222222;
    border-right: 0em solid #222222;
    border-bottom: 0em solid #222222;
    border-left: 0em solid #222222;
    background: transparent;
    color: #222222;
    transition: none;
    padding: 10px 20px;
    margin-right: 0.5em;
	top: 2px;
    position: relative;
}

.tabItem:hover,
.tabItem:active {
	background: transparent;
    color: #0D87C5;
    border-top: 0em solid #222222;
    border-right: 0em solid #222222;
    border-bottom: 2px solid #0D87C5;
    border-left: 0em solid #222222;
}

.tab-active,
.tab-active:hover {
	background: transparent;
    color: #0D87C5;
    border-top: 0em solid #222222;
    border-right: 0em solid #222222;
    border-bottom: 2px solid #0D87C5;
    border-left: 0em solid #222222;
    position: relative;
    top: 2px;
    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 #222222;
}

@media (max-width: 480px){ 
    .table-share-row-name,
    .table-share-row-market-name,
    .table-share-row-currency,
    .table-share-row-date {
        width: inherit;
    }
}


/******start changes*******/

.main-heading {
    display: none;
}

div#wrapper {
    padding-top: 1em;
}

body.ar-ae, body.ar-ae .data-button, body.ar-ae .tabs li, body.ar-ae .tabs:after, body.ar-ae .tabs:after, body.ar-ae .page-font-style, body.ar-ae input.textbox-base, body.ar-ae .main-heading {
    font-family: TheSansArabic !important;
}

.footer {
    font-size: 13px;
}

.jspHorizontalBar,
.jspVerticalBar {
    display: none!important;
}
.jspPane {
    margin-left:0px!important;
}

ul.tabs {
    border-bottom: 2px solid rgba(162, 164, 167, 0.3);
}

.ac_input {
    width: 0px !important;
}

body.en-gb div#amountInvestedContainer .data-button-wrapper {
    width: 696px;
}

button.data-button {
    width: 198px;
}

.data-button:hover:before,.download-data-button:hover:before {
    width: 100%;
    z-index: -1;
}
.data-button:before,.download-data-button:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0px;
    height: 100%;
    background-color: #211F5C;
    -webkit-transition: all 0.7s ease 0s !important;
    -moz-transition: all 0.7s ease 0s !important;
    -ms-transition: all 0.7s ease 0s !important;
    -o-transition: all 0.7s ease 0s !important;
    transition: all 0.7s ease 0s !important;
}

@media(max-width: 695px) {
	.currency-selection {
		margin-left: 0em;
		float: none;
	}
	.ac_input {
		margin-top: 0.6em;
	}
	body.ar-ae .ac_input {
		margin-top: 0em;
	}
	body.en-gb div#amountInvestedContainer .data-button-wrapper {
		width: 490px;
	}
}

@media (max-width: 443px) {
    body.en-gb div#amountInvestedContainer .data-button-wrapper {
        width: 200px !important;
    }
}

body.en-gb div#shareBoughtContainer .data-button-wrapper {
    width: 489px;
}

@media (max-width: 439px) {
body.en-gb div#shareBoughtContainer .data-button-wrapper {
    width: 201px !important;
}
body.ar-ae div#shareBoughtContainer .data-button-wrapper {
    width: 416px !important;
    float: none;
    margin-right: 2px;
}
body.ar-ae div#amountInvestedContainer .data-button-wrapper {
    width: 480px;
    margin-right: 0px !important;
}
}

@media (max-width: 600px) {
	.tabs {
		text-align: center;
	}	
	ul.tabs {
		border-bottom: 0px solid rgba(162, 164, 167, 0.3);
	}
	.tabItem {
		margin-right: 0em;
		border: 1px solid #A2A4A7;
	}
	.tabs li {
		float: none;
		display: inline-block;
		margin: 1px;
		width: 49%;
	}
	.tab-active {
		background: #0D87C5;
		color: #fff;
		border: 1px solid #0D87C5;
	}
	.tabItem:hover {
		background: #0D87C5;
		color: #fff;
		border: 1px solid #0D87C5;
	}
	body.ar-ae .tabItem {
		margin-right: 0em !important;
		margin-left: 0em !important;
	}
	body.body-rtl .tabs li {
		float: none !important;
	}
}

@media (max-width: 480px) {
    .tabs li {
        float: none;
        display: inline-block;
        margin: 1px;
        width: 98%;
    }
}

body.ar-ae .tabItem {
    margin-right: 0em;
	margin-left: 1em;
}

body.ar-ae .datefrom-input, body.ar-ae .dateto-input, body.ar-ae .value-input {
    padding: 0px 0.6em 0 0.6em;
}

body.body-rtl .local-currency {
    padding-left: 0;
    padding-right: 6px;
}

body.ar-ae div#amountInvestedContainer .data-button-wrapper {
    width: 678px;
}

body.ar-ae div#shareBoughtContainer .data-button-wrapper {
    width: 475px;
}

@media (max-width: 568px) {
    body.ar-ae .data-button-separated {
        margin-right: 236px !important;
    }
}

@media (max-width: 480px) {
    body.ar-ae .data-button-separated {
        margin-left: 0 !important;
        margin-right: 0px !important;
        float: right !important;
    }
	body.ar-ae div#amountInvestedContainer .data-button-wrapper {
		width: 480px;
		margin-right: 236px;
	}
}

@media (max-width: 320px) {
    body.ar-ae .data-button, body.ar-ae .data-button-separated {
        float: right !important;
        margin-left: 0 !important;
        margin-right: 0px !important;
    }
}

@media (max-width : 656px) {
	body.ar-ae div#amountInvestedContainer .data-button-wrapper {
		width: 476px;
	}
}


/*************Calendar style**********/

.EUCalendar-menu-yearLabel div, .EUCalendar-title div,.EUCalendar{
	text-shadow: 0px 0px 0px #777;
}

.EUCalendar-menu-today, .EUCalendar-bottomBar-today {
    padding: 0.5em 2em;
    background-color: #0D87C5;
    border: 1px solid #0D87C5;
    border-radius: 50px 50px 50px 0;
    text-transform: capitalize;
    color: #fff;
    font-size: 18px;
}

.EUCalendar-bottomBar-today-hover, .EUCalendar-menu-today-hover {
    padding: 0.5em 2em;
    background-color: #211F5C;
    border: 1px solid #211F5C;
    text-transform: capitalize;
    color: #fff;
    font-size: 18px;
}

.EUCalendar-hover-date {
    background-color: #211F5C !important;
    color: #fff !important;
	border: 1px solid #211F5C;
}

.EUCalendar-day-selected {
	padding: 2px 3px;
	margin: 1px;
	background-color: #211F5C;
	color: #fff !important;
}


body.body-rtl .end-investment {
    margin-left: 0;
    margin-right: 4%;
}

body.body-rtl .initial-investment {
    margin-right: 0;
    margin-left: 4%;
}

body.body-rtl .end-investment {
    border-right: solid 0px #d1d1d1;
}

@media (max-width: 685px) {
	.detail-value {
		padding-left: 0px;
	}
}

@media (max-width : 628px) {
	.end-investment {
		margin-left: 0%;
	}
}

@media (max-width : 619px) {
body.body-rtl .end-investment {
    margin-left: 0;
    margin-right: 0%;
}
}

@media (max-width : 586px) {
body.body-rtl .detail-value {
    float: left;
    padding-right: 0px;
    padding-left: 0;
}
}

.body-rtl .result-close-button.position-absolute {
    border-right: 0.08em solid #CCCCCC;
}

.highcharts-axis-labels span {
    padding-top: 0.5em;
}

@media(max-width: 324px) {
	.detail-line {
		padding-left: 0.3em;
	}
}
