/*  HTML5 display definitions */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* Base */
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea {font-family: sans-serif;color: #222;}
body {margin: 0;padding: 6px;font: normal 1em "roboto", Arial, Helvetica, sans-serif;background-color: #ffffff;font-size: 1em;line-height: 1.4;}
::-moz-selection { background: #3465a4; color: #ffffff; text-shadow: none; }
::selection { background: #3465a4; color: #ffffff; text-shadow: none; }

/* Links */
a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

/* Lists */
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

/* Embedded content */
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) {overflow: hidden;width: 100% !important;}

/* Forms */
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }

/* Tables */
table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.row { width: 100%; margin-left: auto; margin-right: auto; margin-top: 0; margin-bottom: 0; max-width: 60em; *zoom: 1; }
.row:before, .row:after { content: " "; display: table; }
.row:after { clear: both; }
.row .columns { position: relative; padding-left: 0.625em; padding-right: 0.625em; width: 100%; float: left; }
.row .small-6 { position: relative; width: 50%; }
[class*="column"] + [class*="column"]:last-child {float: right; }
.row, .row *, .row:before, .row:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* ==== non-semantic helper classes ==== */
.hidden { display: none !important; visibility: hidden; }/* Hide from both screenreaders and browsers */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }/* Hide only visually, but have it available for screenreaders */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard */

.invisible { visibility: hidden; } /* Hide visually and from screenreaders, but maintain layout */

.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* Global */
*, *::before, *::after { box-sizing: inherit; }
html, body { box-sizing: border-box; height: 100%; }

#lang_ar,
#lang_he {
	direction: rtl;
	font-family: Arial, Helvetica, sans-serif;
}
#lang_ar #info h2 span:last-child,
#lang_he #info h2 span:last-child {
	text-align: right;
}

/* Hide elements */
header, #searchBox,
#chartButtonSet, #viewFullDetails, #buySell h3,
#chartButtonSet, #buySell .buyPrice,
#buySell .sellPrice {
	display: none;
}

/* Tool info */
#instrument { display: flex; flex-direction: column; }

.instrument-info { display: flex; }

/* Tool icon classes */
.instrument-icon { margin-right: .5rem; height: 36px; width: 36px; display: inline-block; background: #154479; border-radius: 50%; line-height: 30px; }
.instrument-icon.general { background-image: url('../Images/newInstumentChartWidget/icons-general.svg'); }
.instrument-icon.bitcoin { background-image: url('../Images/newInstumentChartWidget/icons-bitcoin.svg'); }
.instrument-icon.oil { background-image: url('../Images/newInstumentChartWidget/icons-oil.svg'); }
.instrument-icon.china50 { background-image: url('../Images/newInstumentChartWidget/icons-china50.svg'); }
.instrument-icon.dax { background-image: url('../Images/newInstumentChartWidget/icons-dax.svg'); }
.instrument-icon.ethereum { background-image: url('../Images/newInstumentChartWidget/icons-ethereum.svg'); }
.instrument-icon.forex { background-image: url('../Images/newInstumentChartWidget/icons-forex.svg'); }
.instrument-icon.gas { background: url('../Images/newInstumentChartWidget/icons-gas.svg'); }
.instrument-icon.gold { background-image: url('../Images/newInstumentChartWidget/icons-gold.svg'); }
.instrument-icon.hk50 { background-image: url('../Images/newInstumentChartWidget/icons-hk50.svg'); }
.instrument-icon.nasdaq { background-image: url('../Images/newInstumentChartWidget/icons-nasdaq.svg'); }
.instrument-icon.dax { background-image: url('../Images/newInstumentChartWidget/icons-dax.svg'); }
.instrument-icon.palladium { background-image: url('../Images/newInstumentChartWidget/icons-palladium.svg'); }
.instrument-icon.usa30 { background-image: url('../Images/newInstumentChartWidget/icons-usa30.svg'); }
.instrument-icon.usa500 { background-image: url('../Images/newInstumentChartWidget/icons-usa500.svg'); }

.hide-for-banner { display: block!important; }
.show-for-banner { display: none!important; }

#info { display: flex; align-items: start; margin-bottom: 1rem; flex-direction: row; flex-wrap: wrap; }
#info .instrument-info  { flex: 1 0 100%; align-items: center; }
#info .instrument-info > :first-child { flex: 1; }

#info .description { flex: 1 0 100%; }
#info h2 { margin: 0; display: flex; flex: 1 0 100%; align-items: center; }
#info h2 span:last-child { color: #000; font-size: 1.6rem; text-transform: uppercase; text-align: left; font-weight: 900; }
#info p { text-align: left; color: #666666; margin: 0; padding: .5em .25em; line-height: 1.25em; display: none; }
#rates { padding-left: 1rem; }
.change-container { display: flex; justify-content: flex-end;}

/* Buy sell buttons */
#buySell { align-items: center; display: flex; flex-direction: column; }
#buySell > * { width: 100%; text-align: center; }
#buySell .actions { display: flex; justify-content: center;}
#buySell a { background-color: #204a87; width: 100%; max-width: 8rem; padding: .5rem; text-decoration:none;color:#ffffff; text-align:center; font-size: 1rem; border-radius: .75rem; transition: background-color 250ms ease-in-out; }
#buySell a.buy:hover {background-color:#4e9a06;}
#buySell a.buy:hover strong {border-color:#8ae234;}
#buySell a.sell:hover {background-color:#a40000;}
#buySell a.sell:hover strong {border-color:#ef2929;}
#buySell a:first-child { margin-right: 1rem; }

.green .arrow {background-position:0 -60px;}
.green .change { color: #4e9a06; }
.red .arrow {background-position:0 -90px;}
.red .change {color:#a40000;}

#container { direction:ltr; }

.arrow { margin-right: 4px; }
.green .arrow { border: 5px solid transparent; border-bottom-color: #4e9a06; background: none; height: 1px; position: relative; width: 1px; }
.red .arrow { border: 5px solid transparent; border-top-color: #a40000; background: none; height: 1px; position: relative; top: 6px; width: 1px; }

#price { font-size: 2rem; font-weight: 700; line-height: 1; display: flex; flex-direction: column; }
#price .change { font-size: .5em; font-weight: 500; }
.buyPrice { color: #154479; }

/* Graph chart */
.highcharts-container { width: 100% !important; position: relative; z-index: 0; }
.highcharts-grid,
.highcharts-axis-labels,
.highcharts-axis,
.highcharts-axis + path {display: none;}
.highcharts-series path:last-of-type { stroke: #7cb5ec; }
.highcharts-tooltip > rect:not(:nth-child(4)){ display:none; }
.highcharts-tooltip > rect:nth-child(4){ fill: #000000; stroke: none; rx: 4; ry: 4; fill-opacity: .85; }
.highcharts-tooltip text>tspan:nth-child(1) { fill: #bcd7f4 !important; }
.highcharts-button { display: none; }
.highcharts-button rect { fill: #154479; stroke: none; width: 24px; height: 24px; rx: 50%; position: relative; ry: 50%; }
.highcharts-button text { display: none; fill: #ffffff !important; }

/* Footer */
footer, .footer { font-size: .6rem; text-align: center; }

/* Responsive styles */
@media screen and (min-width: 600px) {
	#specificInstDetails { display: flex; align-items: center; height: 100%; }
	#price { justify-content: flex-start; }
}

#chartContainer {
	height: 180px;
}
#copyright-alt { display:none; }

@media screen and (max-height: 5.625rem) and (orientation: landscape) {
	.hide-for-banner { display: none!important; }
	.show-for-banner { display: block!important; }
	.instrument-wrapper { display: flex; height: 100%; align-items: center; }
	.instrument-icon { margin: 0; width:24px; height:24px; }
	.instrument-icon img { display:block; max-width:100%; height:auto; }
	#instrument { flex-direction: row; flex: 0 1 25%; }
	#info { flex-direction: column; justify-content: center; margin: 0; flex: 0 1 85%; position: relative; z-index: 1; }
	#info .instrument-info { flex-direction: column; justify-content: center; padding-left: .25rem; }
	#info .instrument-info > :first-child { flex: 0; margin-bottom: .125rem; }
	#info h2 span:last-child { font-size: .75rem; line-height: 1.1; }
	#info p { font-size: .75rem; }
	#rates { padding: 0; width: 100%; justify-content: flex-start; }
	#price { font-size: 1rem; }
	#price .change { font-size: .75rem; }
	.change-container { justify-content: flex-start; }
	.red .arrow { top: 4px; }
	#chartContainer { flex: 0 1 49%; }
	#buySell a { font-size:.875rem; min-height: 1.5rem; max-width: 8rem; padding-top: .2rem; padding-bottom: .2rem; margin: 0; }
	#buySell a span { display: flex; align-items: center; justify-content: center; height: 100%; }
	.banner-actions-plus-footer { display: flex; flex-direction: column; justify-content: center; flex: 0 1 26%; height: 100%; margin-left: .25rem; }
	#copyright, .risk-warning { margin: 0; font-size:.75rem; line-height:1.1; padding-top:.25rem; }
	#copyright a { display:inline-block; vertical-align:top; }

	/* languages */
	#lang_ar #info .instrument-info,
	#lang_he #info .instrument-info {
		padding-left: 0;
		padding-right: .25rem;
	}
	#lang_bg #buySell a,
	#lang_fr #buySell a,
	#lang_el #buySell a,
	#lang_et #buySell a,
	#lang_es #buySell a,
	#lang_fi #buySell a,
	#lang_hu #buySell a,
	#lang_is #buySell a,
	#lang_lv #buySell a,
	#lang_ms #buySell a,
	#lang_ru #buySell a {
		line-height: 1.1;
		font-size: .75rem;
	}
	#lang_ro #buySell a {
		line-height: 1.1;
		font-size: .675rem;
	}
}

@media screen and (max-width: 18.75rem) {
	#instrument { position: absolute; z-index: 1; width: 100%; left: 0; right: 0; margin: auto; padding: 0 .5rem; z-index: 2; }
	.instrument-icon, .instrument-icon img { width: 25px; height: 25px; }
	.instrument-icon { line-height: 20px; }
	#info h2 span:last-child { font-size: .75rem; line-height: 1.2; }
	#info p { font-size: .75rem; }
	#price { font-size: 1rem; align-items: flex-end; }
	#price .change { font-size: .75rem; }
	#chartContainer { margin-top: -.2rem; }
	.change-container { align-items: baseline; margin-top: .125rem; }
	.red .arrow,
	.green .arrow {
		top: 4px;
		margin-right: .125rem;
	}
	#buySell a { max-width: none; font-size:.875rem; padding:.25rem; }
	.banner-actions-plus-footer, footer { position: absolute; width: 100%; padding: 0 .5rem; left: 0; right: 0; z-index: 2; }
	.banner-actions-plus-footer { bottom: 3.25rem; }
	footer { bottom: .25rem; }
	#copyright { margin: 0; }
	#copyright a { display:inline-block; vertical-align:top; }
	.risk-warning { margin: 0; font-size:.75rem; line-height:1.1; padding-top:.25rem; }


	/* languages */
	#lang_ar #info .instrument-icon,
	#lang_he #info .instrument-icon {
		margin-left: .25rem;
		margin-right: 0;
	}
	#lang_ar #rates,
	#lang_he #rates {
		padding-left: 0;
		padding-right: 1rem;
	}
	#lang_ar .red .arrow,
	#lang_he .red .arrow,
	#lang_ar .green .arrow,
	#lang_he .green .arrow {
		margin-left: .125rem;
	}
	#lang_ar #buySell a:first-child,
	#lang_he #buySell a:first-child {
		margin-right: 0;
		margin-left: 1rem;
	}
}

@media screen and (max-width: 15.625rem) {
	.instrument-icon, .instrument-icon img { width: 20px; height: 20px; }
	.instrument-icon { line-height: 15px; }
	#info h2 span:last-child { font-size: .625rem; }
	#info p { font-size: .5rem; }
	#rates { padding-left: .25rem; }
	#price .change { font-size: .9rem; }
	#price .change { font-size: .5rem; }
	#chartContainer { margin-top: -1.5rem; }
	.change-container { margin-top: 0; }
	#buySell a { font-size: .675rem; max-width: 5rem; max-height: 1.75rem; }

	/* languages */
	#lang_pl .banner-actions-plus-footer,
	#lang_ru .banner-actions-plus-footer {
		bottom: 3.25rem;
	}
}

/* operators */
.plus500il #chartContainer { height:150px; }
.plus500il .banner-actions-plus-footer { bottom:4.25rem; }
@media screen and (max-height:5.625rem) and (orientation: landscape) {
	.plus500il #buySell { flex-direction:row; }
	.plus500il #copyright { display:none; }
	.plus500il #copyright-alt { display:block; margin:0; }
	.plus500il #copyright-alt a { color:inherit; background:inherit; margin-right:0; }
	.plus500il .banner-actions-plus-footer { flex:0 1 39%; display:flex !important; flex-direction:column; align-items:center; }
	.plus500il #chartContainer { flex: 0 1 42%; }
	.plus500il #instrument { flex: 0 1 19%; }
}