@font-face {
    font-family: proxima-nova;
    src: url("//use.typekit.net/af/7d485b/00000000000000003b9ad1b1/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"), url("//use.typekit.net/af/7d485b/00000000000000003b9ad1b1/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"), url("//use.typekit.net/af/7d485b/00000000000000003b9ad1b1/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
    font-weight: 700;
    font-style: normal;
}


@font-face {
    font-family: proxima-nova;
    src: url("//use.typekit.net/af/c9cde8/00000000000000003b9ad1b9/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"), url("//use.typekit.net/af/c9cde8/00000000000000003b9ad1b9/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"), url("//use.typekit.net/af/c9cde8/00000000000000003b9ad1b9/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-weight: 400;
    font-style: normal;
}

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: /*proxima-nova,*/ Arial, sans-serif;
	font-size: 16px;
	color: #393c45;
}

.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: #393C45;
	
	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: #C91623;
	
	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: 1200px;
	width: auto;
}

.main-heading {
    display: none;
	line-height: normal;
	margin: 0px;
	padding: 0px;
	
	font-family: inherit;
	font-size: 1.2em !important;
	font-weight: bold;
	color: #393C45 !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: normal;
	color: #FFFFFF !important;
	text-transform: none;
	
	padding: 0.5em 1.0em 0.5em 1.0em;
	
	border: 0em solid #FFFFFF;	
	border-radius: 0.0em 0.0em 0.0em 0.0em;
	
    background: #C91623;
    color: #FFFFFF !important;
	
	transition: background 0.5s, color 0.5s, border 0.5s;
    min-width: 11em;
}
.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: #C91623;
    color: #FFFFFF !important;
	border-color: #FFFFFF;
    text-decoration: underline;
}

.en-gb .download-data-button,
.en-gb .data-button{
    background: #C91623;
}
.zh-cn .download-data-button,
.zh-cn .data-button,
.zh-tw .download-data-button,
.zh-tw .data-button{
    background: #C91623;
}
.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: 1.5em !important;
	height: 1.5em !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 {
	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: 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: 0.08em solid #E1E1E1;
	background: #DBD2D6;
	background: linear-gradient(#DBD2D6, #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 #393C45;
}

.ac_odd,
.ac_even {
	transition: background 0.3s, border 0.3s;
}
.ac_over {
	background: #DBD2D6;
	color: #393C45;	
	border-color: #E1E1E1;
	border-width: 0.08em;
}

.ac_results {
	border: 0.08em solid #E1E1E1;
	border-top: 0;
	box-shadow: 1px 1px 3px #DBD2D6;	
}

.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 {
    font-size: 1.0em;
    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 #EEEEEE  !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 #DDDDDD;
}

.table-share-header,
.block-date {
	border-bottom: em solid #DDDDDD;
}

/*** 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: 480px) { 
	
	/*** 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: #DDDDDD;
	color: #393C45;
	text-align: right;
	
	font-weight: bold;
	text-transform: none;
}

.block-title,
.block-date,
.table-share-header-name {
	background: #DDDDDD;
	color: #393C45;
	text-align: left;
	
	font-weight: bold;
	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: #FFFFFF  !important;
}

.initial-details > .detail-line:first-child + .detail-line,
.end-details .detail-line:nth-child(even),
.table-share .table-share-row-odd {
	background: #F7F7F7  !important;
}

.table-share .border-inline {
	background: transparent;
	text-align: right;
	color: #393C45;
	
	font-weight: normal;
}

.table-share .table-share-row-name,
.table-share .checkbox-wrapper {
	background: transparent;
	text-align: left;
	color: #393C45;
	
	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: transparent;
	color: #393C45;
}
.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.08em solid #A3A4A9;*/
}
.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;*/
    padding: 10px;
}

.table-share-row-even,
.table-share-row-odd {
/*	padding-top: 0.6em;
	padding-bottom: 0.6em;
	padding-left: 0.6em;
	padding-right: 0.6em;*/
    padding: 10px;
}
.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: 1px;
	left: 0em;
	width: 100%;
	height: 0em;
	z-index: -1;
	
	/*border-bottom: 0.08em solid #DDDDDD;*/
}

#LatestTradesContainer,
#TradesBrokerContainer {
	margin-top: 2em;
}

.tabs li {
	float: none;
	display: inline-block;	
	margin: 0px;
}

.tabItem {
	height: auto;
	line-height: normal;
	
	margin: 0.0em 0.0em 0.0em 0.0em;
	
	padding-top: 0.75em !important;
    padding-right: 1em;
    padding-bottom: 0.65em !important;
	padding-left: 1em;
    
	font-family: /*proxima-nova,*/sans-serif!important;
	font-weight: bold;
	font-size: 1em;
	text-transform: none;	
	color: #fff;
	
	font-style: normal;
	text-decoration: none;	
	
	border-top: 0.0em solid #DDDDDD;
	border-right: 0.0em solid #DDDDDD;
	border-bottom: 0.0em solid #DDDDDD;
	border-left: 0.0em solid #DDDDDD;
	
	background: #9b9b9b;
	text-transform: uppercase!important;
	
	transition: background 0.5s, color 0.5s, border 0.5s;
}

.tabItem:hover,
.tabItem:active {
	background: #f7f7f7;
	color: #c91623;
	border-top: 0.0em solid #DDDDDD;
	border-right: 0.0em solid #DDDDDD;
	border-bottom: 0.0em solid #DDDDDD;
	border-left: 0.0em solid #DDDDDD;
	
	text-decoration: none;
	font-style: normal;
	
	z-index: 9;
}

.tab-active,
.tab-active:hover {
	background: #c91623;
	color: #fff;	
	border-top: 0.0em solid #DDDDDD;
	border-right: 0.0em solid #DDDDDD;
	border-bottom: 0.0em solid #FFFFFF;
	border-left: 0.0em solid #DDDDDD;
	
	position: relative;
	top: 0px;
	left: 0px;
	
	z-index: 12;
}
/*
.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 #F30213;
}
*/
@media (max-width: 480px){ 
    .table-share-row-name,
    .table-share-row-market-name,
    .table-share-row-currency,
    .table-share-row-date {
        width: inherit;
    }
}
/****Fixes**/
.jspHorizontalBar,
.jspVerticalBar {
    display: none!important;
}
.jspPane {
    margin-left:0px!important;
}
.ac_input{
    margin-bottom: 2px;
    height: auto!important;
}
.local-currency{
    line-height: normal!important;
    vertical-align: middle;
}
.ac-arrow,
.arrow-wrapper,
.ac-arrow button,
.dropdown-item-table{
    line-height: normal!important;
    height: auto!important;
}
/***MEDIA QUERIES*****/
/***Tabs*****/
    #amountInvestedContainer .data-button-wrapper {
        max-width: 619px;
    }
    #shareBoughtContainer .data-button-wrapper {
        max-width: 434px;
    }

@media (max-width: 568px){ 
    #amountInvestedContainer .data-button-wrapper {
        max-width: 500px;
    }
    #shareBoughtContainer .data-button-wrapper {
        max-width: 340px;
    }
}
@media (max-width: 500px){
    .currency-selection-separated{
        margin-top: 5px;
    }
    .currency-selection {
        margin-left: 0em;
    }
}
@media (max-width: 499px){ 
    #amountInvestedContainer .data-button-wrapper {
        max-width: 340px;
    }
}
@media (max-width: 345px){ 
    #amountInvestedContainer .data-button-wrapper {
        max-width: 157px;
    }
}

@media (max-width: 343px){ 
    #shareBoughtContainer .data-button-wrapper {
        max-width: 157px;
    }
}
@media (max-width: 350px){
    .tabs li{
        width: 85%;
        margin: 3px auto !important;
    }

    #tabPanel ul li a {
        width: 100%;
        box-sizing: border-box;
    }
    .tabItem{
        border: 0.08em solid #DDDDDD;
    }
    .tab-active,
    .tab-active:hover,
    .tabItem:hover, 
    .tabItem:active{
        background: #FFFFFF;
        color: #333333;
        border: 0.08em solid #DDDDDD;
    }
    .tabs:after {
        border: 0;
    }
    .tabs {
        text-align: center;
    }
}

.EUCalendar-day-today.EUCalendar-day-selected {
    background-color: #172854;
}

.EUCalendar-day:hover {
   background: #F30213;
    color: #fff;
    border: none;
}

.EUCalendar-bottomBar-today {
    padding: 6px 12px;
    background-color: #F30213;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    display: block;
    width: inherit;
    border: 0.08em solid #172854;
    text-transform: capitalize;
    border-radius: 0px;
}

.block-date {
    font-size: 16px;
}
