body {
  font-family: Arial, sans-serif;
}

.alternating, .even {
  background: #e2e1e1;
}

.visible-lg, .hidden-md, .hidden-sm, .hidden-xs {
  display: block !important;
}

.visible-md, .visible-sm, .visible-xs {
  display: none !important;
}

.hidden-lg {
  display: none !important;
}

@media (max-width: 1199px) {
  .visible-md, .hidden-sm, .hidden-xs {
    display: block !important;
  }
  .visible-sm, .visible-xs {
    display: none !important;
  }
  .hidden-md {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .visible-sm, .hidden-xs {
    display: block !important;
  }
  .visible-xs {
    display: none !important;
  }
  .hidden-sm {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .visible-xs {
    display: block !important;
  }
  .hidden-xs {
    display: none !important;
  }
}

.banner_600x310 {
  width: 600px;
  height: 310px;
  background: #FFF;
  margin: 0 auto;
}

#icon-skin {
	margin-top: -3px;
}
#sp-container {
	padding: 15px 10px 0 10px;
}
#content h1, #sp-container {
  color: #0D0D0D;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  max-width: 630px;
  width: 100%;
  margin: 5px auto 7px auto;
	display: inline-block;
}
#sp-container .select_container:first-child {
	margin-left: 17px;
}
#sp-container .select_container.long-unit {
	margin-right: 15px;
}

h1 span {
  display: none;
}

.icon-info {
  background: rgba(0, 0, 0, 0) url("/images/charts-page-icons-black.png") no-repeat -133px -26px;
  display: inline-block;
  height: 20px;
  vertical-align: middle;
  width: 20px;
  cursor: pointer;
}

#icon-skin {
  background: url("/images/skin-toggle-sun.png") no-repeat;
  display: inline-block;
  float: right;
  margin-right: 0px;
  height: 25px;
  vertical-align: middle;
  width: 52px;
  cursor: pointer;
}

#icon-skin.dark {
  background: url("/images/skin-toggle-moon.png") no-repeat;
}

/* 2017-04-11 */

#h1-banner {
  position: absolute;
  right: 120px;
  bottom: 0px;
  z-index: 999;
}

#h1-banner a {
  width: 180px;
  height: 30px;
  margin-top: 3px;
  margin-bottom: -3px;
  display: block;
}

.note-ads {
  font-size: 11px;
  color: #ccc;
  font-weight: bold;
}

p {
  margin-bottom: 1em;
}

#middlecol {
  text-align: center;
}

.title_reg {
  background: #373737 none repeat scroll 0 0;
  font-size: 16px;
  height: 25px;
  line-height: 25px;
  position: relative;
}

.title_reg.double {
  height: 50px;
  line-height: 20px;
}

.title_reg.double .item_title {
  margin-top: 5px;
}

.title_reg.blue {
  background: #003871;
}

.item_container_right .title_reg, .item_container_right .item_title {
  width: 300px;
}

.item_container.hist-form {
  margin: 0 auto 20px auto;
}

.item_container.hist-form, .item_container.hist-form .title_reg, .item_container.hist-form .item_title {
  width: 380px;
}

.item_container.hist-form .item_border {
  width: 378px;
  padding: 10px 0;
  border: 1px solid #ccc;
}

.item_container.hist-form .item_border form {
  text-align: center;
}

.item_container.hist-form select {
  margin-right: 10px;
}

/*Left rail*/

#symbol_search * {
  line-height: 1.5em;
}

#symbol_search input {
  background: #fff;
}

#symbol_search .basicSearchForm input[type="text"]#ac-input {
  width: 170px !important;
  height: 25px !important;
}

#symbol_search .market_indices_data table td {
  height: 21px;
}

#symbol_search .market_indices_data td {
  vertical-align: middle;
}

#charts_left_menu .item_border {
  box-sizing: content-box;
  border: 1px solid #ccc;
}

#charts_left_menu .item_border a {
  clear: both;
  display: block;
  padding-left: 10px;
  line-height: 2.5em;
  text-decoration: none;
}

#charts_left_menu .item_border a span {
  background-image: url("/images/sprites_homepage.png?v=20141029");
  background-position: -472px -435px;
  display: inline-block;
  height: 25px;
  vertical-align: middle;
  width: 22px;
}

#charts_left_menu .item_border a:hover span {
  background-position: -494px -435px;
}

#charts_left_menu .item_border a.current {
  background: #E2EAF4;
  text-decoration: none;
  color: #003871;
}

#charts_left_menu .item_border a.current span, #charts_left_menu .item_border a.current:hover span {
  background: url("/images/arrow-blue.png") no-repeat top center;
}

.grey-container {
  margin-top: 15px;
  background: #cdcccb none repeat scroll 0 0;
  height: 32px;
  overflow: hidden;
}

.chart-img {
  max-width: 630px;
  width: 100%;
}

#hist-au-price-usd, #hist-price-usd, .hist-price-usd {
  text-align: center;
}

#hist-au-price-usd table, #hist-price-usd table, .hist-price-usd table {
  width: 100%;
  border: 1px solid #ccc;
  border-collapse: collapse;
}

#hist-au-price-usd table td, #hist-au-price-usd table th, #hist-price-usd table td, #hist-price-usd table th, .hist-price-usd table td, .hist-price-usd table th {
  text-align: right;
  padding-right: 10px;
  line-height: 26px;
}

#hist-au-price-usd table td.red, #hist-price-usd table td.red, .hist-price-usd table td.red {
  color: #f00;
}

#hist-au-price-usd table td.green, #hist-price-usd table td.green, .hist-price-usd table td.green {
  color: #008000;
}

#hist-au-price-usd table th, #hist-price-usd table th, .hist-price-usd table th {
  background: #d2dadc;
  border-bottom: 1px solid #ccc;
  padding: 5px 10px 5px 10px;
  font-size: 14px;
  font-weight: bold;
}

#hist-au-price-usd table td:first-child, #hist-au-price-usd table th:first-child, #hist-price-usd table td:first-child, #hist-price-usd table th:first-child, .hist-price-usd table td:first-child, .hist-price-usd table th:first-child {
  padding-left: 10px;
  text-align: left;
}

#hist-au-price-usd table td a, #hist-price-usd table td a, .hist-price-usd table td a {
  text-decoration: underline;
}

#hist-au-price-usd table td a:hover, #hist-price-usd table td a:hover, .hist-price-usd table td a:hover {
  text-decoration: none;
}

#mobile-hist-price-usd {
  margin: 0 auto;
  margin-bottom: 20px;
}

/* center the chart */

#hist-charts-section a.middle-chart {
  width: 540px;
  text-align: center;
}

#hist-charts-section a.middle-chart img {
  display: block;
  margin: 0 auto;
}

#chart_ny_gold {
  margin-bottom: 20px;
	margin-top: 10px;
}

#hist-charts-section {
  margin: 0 auto 20px auto;
  overflow: hidden;
  clear: both;
  max-width: 540px;
  width: 100%;
}

#hist-charts-section a {
  display: inline-block;
  float: left;
  width: 250px;
  text-align: left;
  margin: 10px;
  font-weight: bold;
  text-decoration: none;
}

#hist-charts-section .centered-banner {
  display: block;
  float: none;
  margin: 10px auto;
}

#hist-charts-section .centered-banner table {
  margin: 0 auto;
}

.hist-chart-img {
  width: 250px;
  height: 155px;
}

.text-adv {
  text-align: right;
  width: 400px;
  margin: 0 auto;
}

a.glossary {
  text-decoration: none;
  margin-left: 580px;
  margin-top: 5px;
  display: inline-block;
  font-weight: bold;
}

.printer-link {
  padding: 2px 5px;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid #003871;
  text-decoration: none !important;
  color: #003871 !important;
}

.warning-note {
  color: #FF0000;
  font-size: 13px;
  font-weight: bold;
}

/* Links section on top of the first chart */

#links-container, .links-container {
  width: 630px;
  margin: 15px auto;
  clear: both;
  float: none;
  overflow: hidden;
}

#links-container li, .links-container li {
  float: left;
  margin-left: 10px;
  width: 115px;
  height: 27px;
  display: inline-block;
  background: #F4F4F7;
  border: 1px solid #BFBFBF;
}

#links-container li:first-child, .links-container li:first-child {
  margin-left: 0;
}

#links-container li a, .links-container li a {
  width: 100%;
  line-height: 27px;
  text-decoration: none;
}

#links-container li a span, .links-container li a span {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 3px;
  background: url("/images/charts-page-icons.png") no-repeat;
}

#links-container li a span.icon-news, .links-container li a span.icon-news {
  background-position: -70px -67px;
}

#links-container li a span.icon-video, .links-container li a span.icon-video {
  background-position: -264px -68px;
}

#links-container li a span.icon-futures, .links-container li a span.icon-futures {
  background-position: -198px -67px;
}

#links-container li a span.icon-ichart, .links-container li a span.icon-ichart {
  background-position: -133px -68px;
}

#links-container li a span.icon-kcast, .links-container li a span.icon-kcast {
  background-position: -5px -67px;
}

#mobile-link-banner-container {
  width: 300px;
  margin: 0 auto;
  clear: both;
  overflow: hidden;
	border-top: thin solid #CCC;
	border-bottom: thin solid #CCC;
	padding-top: 10px;
}

#mobile-link-banner-container #mobile-links {
  float: left;
  width: 120px;
}

#mobile-link-banner-container #mobile-banner-right {
  width: 180px;
  height: 150px;
  float: right;
  display: inline-block;
  background: #455;
  margin-top: 27px;
}

#mobile-links li {
  float: none;
  display: block;
  margin: 0 5px 10px 0;
}

/* light and dark - Spot Price section */

#info-refresh {
  border: 1px solid #fff;
  color: #003871;
  padding: 10px 0;
  display: block;
  font-size: 13px;
  width: 630px;
  margin: 0 auto;
}

#sp-container {
  background: #fff;
  margin: 0 auto 15px auto;
  /*padding-bottom: 10px;*/
  border: 1px solid #bfbfbf;
  clear: both;
}

#sp-container .header-blk {
  clear: both;
}

.filters_outer {
  float: left;
}

#status-container {
  float: right;
  text-align: center;
  width: 330px;
  margin-top: 5px;
}

#status-container #market_status {
  width: auto;
  text-transform: none;
}

.market_status.open, #sp-container .data-blk.chg.arrow_up_tsp {
  color: #008000;
}

.market_status.closed, #sp-container .data-blk.chg.arrow_down_tsp, .darkskin #sp-container .data-blk.chg.arrow_down_tsp {
  color: #CD2230;
}

.market_status .info {
  color: #373737;
  font-weight: normal;
  font-size: 11px;
}

#timestamp {
  margin-top: -5px;
}

#sp-container .select_container:first-child {
  margin-left: 2.5%;
}

#sp-container .select_container.long-unit label::before {
  left: 70px
}

#sp-container .select_container.long-unit select {
  width: 97px
}

#sp-container .select_container.long-unit select::-ms-expand {
  display: none;
}

#sp-container .select_container ul li, #sp-container .select_container .selected {
  text-align: left;
}

#sp-container .select_container>div {
  height: 26px;
}

.select_container:first-child>div {
  width: 157px;
}

#sp-container .select_container:first-child label::before, .select_container:first-child>div::before {
  left: 131px;
}

#sp-container .select_container .selected span {
  display: none;
}

#sp-container .content-blk {
  clear: both;
  overflow: hidden;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 5px 0;
  margin: 5px auto;
}

#sp-container .data-blk-outer {
  width: 142px;
  height: 55px;
  float: left;
  display: inline-block;
  padding: 0 6px;
  border-left: 1px solid #fff;
}

#sp-container .data-blk-outer:first-child {
  padding-left: 10px;
  border-left: 1px solid #fff;
}

#sp-container .data-blk {
  width: 140px;
  height: 53px;
  border: 1px solid #BFBFBF;
  background: #DAEDF2;
}

#sp-container .data-blk.bid, #sp-container .data-blk.ask {
  position: relative;
  text-align: center;
  color: #000;
  font-weight: bold;
  font-size: 24px;
  line-height: 53px;
}

#sp-container .data-blk .label {
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 11px;
  color: #262626;
  font-weight: normal;
  line-height: 1em;
}

#sp-container .data-blk.hi-lo, #sp-container .data-blk.chg {
  background: #F6F6F6;
}

#sp-container .data-blk.hi-lo {
  font-size: 13px;
  text-align: center;
}

#sp-container .data-blk.hi-lo span {
  display: block;
  margin: 3px auto;
}

#sp-container .data-blk.hi-lo #sp-hi {
  margin-top: 10px;
}

#sp-container .data-blk.chg #sp-chg-icon {
  width: 30px;
  height: 30px;
  display: inline-block;
  float: left;
  margin-left: 15px;
  margin-top: 13px;
}

#sp-container .data-blk.chg #sp-chg-icon:before {
  content: "-";
  font-weight: bold;
  font-size: 24px;
  line-height: 30px;
}

#sp-container .data-blk.chg.arrow_up_tsp #sp-chg-icon:before, #sp-container .data-blk.chg.arrow_down_tsp #sp-chg-icon:before {
  content: "";
}

#sp-container .data-blk.chg.arrow_up_tsp #sp-chg-icon {
  background: url("/images/arrows-up-down.png") no-repeat -36px -3px;
}

#sp-container .data-blk.chg.arrow_down_tsp #sp-chg-icon {
  background: url("/images/arrows-up-down.png") no-repeat -3px 0;
}

#sp-container .data-blk.chg #sp-chg-data {
  margin-top: 5px;
  display: inline-block;
  float: right;
  margin-right: 15px;
  width: 70px;
}

#sp-container .data-blk.chg #sp-chg-data span {
  display: block;
  text-align: right;
  line-height: 1.3em;
}

#sp-container .data-blk.chg #sp-chg-value {
  font-size: 20px;
}

#sp-container .data-blk.chg #sp-chg-percent {
  font-size: 12px;
}

#sp-container .data-blk-outer {
  width: 25%;
}

.darkskin #info-refresh {
  color: #fff;
  border: 1px solid 0d0d0d;
  border-bottom: 1px solid #bfbfbf;
  background: #252628;
}

.darkskin .select_container select, .darkskin .select_container>div {
  background: #303030;
  border: 1px solid #7F7F7F;
  color: #fff;
}

.darkskin .select_container label::before, .darkskin .select_container>div::before {
  background: #303030 url("/images/select-arrow-dark.png") no-repeat scroll 50% 50%;
}

.darkskin .select_container ul {
  background: #303030;
  border: 1px solid #7F7F7F;
}

.darkskin .select_container ul li:hover {
  background: #000;
}

.darkskin #sp-container {
  border: 1px solid #0D0D0D;
  background: #252628;
}

.darkskin .market_status.open, .darkskin #sp-container .data-blk.chg.arrow_up_tsp {
  color: #00B742;
}

.darkskin .market_status .info, .darkskin #timestamp {
  color: #D9D9D9;
}

.darkskin #sp-container .content-blk {
  border-top: 1px solid #7F7F7F;
  border-bottom: 1px solid #7F7F7F;
  background: #292a2b;
}

.darkskin #sp-container .data-blk .label {
  color: #fff;
}

.darkskin #sp-container .data-blk-outer {
  border-left: 1px solid #7F7F7F;
}

.darkskin #sp-container .data-blk-outer:first-child {
  border-left: 1px solid #292a2b;
}

.darkskin #sp-container .data-blk {
  color: #fff;
  border: 1px solid #292a2b;
}

.darkskin #sp-container .data-blk.chg {
  color: #fff;
}

.darkskin #sp-container .data-blk.bid, .darkskin #sp-container .data-blk.ask, .darkskin #sp-container .data-blk.hi-lo, .darkskin #sp-container .data-blk.chg {
  background: #292a2b;
}

#status-container {
	width: 50%;
}
.filters_outer {
	width: 50%;
	display: inline-block;
	padding-left: 3px;
}
#timestamp {
	font-size: 12px;
	font-weight: normal;
	margin-top: 0;
}
.selected,
#sp-container .data-blk.hi-lo {
	font-weight: normal;
}

/* Responsive for live chat pages */

@media (max-width: 1199px) {
  body, .wrapper, #header, #sub_nav_container, #top_nav_container, #sub-nav-container, #main_container, #footer, #favorite-nav, #favorite-selection-tip {
    min-width: 1px;
  }
  .container, #middlecol {
    width: 100%;
  }
  #middlecol {
    padding: 0 10px 20px 10px;
  }
	#status-container #market_status {
		display: none;
	}
	#timestamp {
    font-size: 16px;
		margin-top: 12px;
	}
}

@media (max-width: 991px) {
  .warning-note {
    color: #666;
    font-weight: normal;
  }
	#status-container {
		width: 50%;
	}
	.filters_outer {
		width: 50%;
		display: inline-block;
		padding-left: 3px;
	}
	#timestamp {
		font-size: 16px;
		font-weight: normal;
		margin-top: 12px;
	}
	.selected,
	#sp-container .data-blk.hi-lo {
		font-weight: normal;
	}
	#status-container #market_status {
		display: none;
	}
	footer .footer-section>div>a.btn {
		width: 90px;
	}
}

@media (max-width: 767px) {
  #hist-charts-section {
    text-align: center;
  }
  #hist-charts-section a {
    margin: 10px 5px;
    float: none;
  }
	#status-container {
		width: 50%;
	}
	.filters_outer {
		width: 50%;
		display: inline-block;
		padding-left: 3px;
	}
	#timestamp {
		font-size: 16px;
		font-weight: normal;
		margin-top: 0;
	}
	.selected,
	#sp-container .data-blk.hi-lo {
		font-weight: normal;
	}
}

@media (max-width: 660px) {
  #sp-container {
    text-align: center;
  }
  #status-container, .filters_outer {
    float: none;
    margin: 5px auto;
  }
  #sp-container .data-blk-outer {
    width: 50%;
    text-align: center;
    margin: 0 0 10px 0;
    padding: 0;
  }
  #sp-container .data-blk-outer:first-child {
    padding: 0;
  }
  #sp-container .data-blk {
    width: 142px;
    box-sizing: content-box;
    margin: 0 auto;
  }
  #sp-container .select_container.long-unit {
    float: right;
    margin-right: 2%;
  }
	#info-refresh {
		display: none;
	}

	.filters_outer,
	#status-container {
		width: 100%;
	}
	.filters_outer {
		padding-left: 0;
		margin-bottom: -10px;
	}
	div#market_status.market_status.open {
		display: none;
	}
	.select_container {
		margin: 15px 0 10px 10px;
	}
	#mobile-link-banner-container {
		margin-bottom: 10px;
	}
	#chart_live_platinum,
	#chart_live_plad {
		height: 260px;
	}
	#hist-charts-section a.middle-chart {
		width: 100%;
	}
	footer .footer-section>div>a.btn {
		width: 90px;
	}
	footer .footer-section>div.footer-wide-section--mobile form button {
		clear: both;
	}
}

/* charts landing page /charts/index.html */

.magin_top_12px table {
  margin: 0 auto;
}

#tabs {
  width: 595px;
  margin: 2% 0 2% 60px;
}

#tabs input[type="radio"] {
  display: none;
}

#tabs label {
  background: #F8F8F8;
  display: inline-block;
  padding: 14px 25px 18px 5px;
  border-bottom: medium solid #373737;
  font-family: Arial;
  color: #777;
  cursor: pointer;
  transition: background .3s;
  -webkit-transition: background .3s;
  float: left;
}

#tabs label p {
  margin: 0;
  text-align: left;
}

label:hover {
  background: #d9d9d9;
  color: #707070;
}

.tab {
  min-height: auto;
  background: #FFF;
  display: none;
  padding: 12px;
  color: #444;
  text-align: left;
}

#toggle-tab1:checked~label[for="toggle-tab1"], #toggle-tab2:checked~label[for="toggle-tab2"], #toggle-tab3:checked~label[for="toggle-tab3"], #toggle-tab4:checked~label[for="toggle-tab4"] {
  background: #373737;
  margin-bottom: 0;
  padding-bottom: 18px;
  color: #606060;
  cursor: default;
}

#toggle-tab1:checked~label[for="toggle-tab1"] .tab-subtitle, #toggle-tab2:checked~label[for="toggle-tab2"] .tab-subtitle, #toggle-tab3:checked~label[for="toggle-tab3"] .tab-subtitle, #toggle-tab4:checked~label[for="toggle-tab4"] .tab-subtitle {
  color: #FFF;
}

#toggle-tab1:checked~#tab1, #toggle-tab2:checked~#tab2, #toggle-tab3:checked~#tab3, #toggle-tab4:checked~#tab4 {
  display: inline-block;
  width: 100%;
}

.tab-title {
  font-size: 21px;
  color: #F1B310;
}

.tab-subtitle {
  color: #373737;
  font-size: 17px;
  font-weight: bold;
}

p.tab-subtitle {
  font-weight: bold !important;
}

.section-left {
  float: left;
  margin: 0;
  padding: 0;
}

.section-right {
  float: right;
  margin: 0 18px 0 0;
  padding: 0;
}

.tab-content--title {
  border-bottom: medium solid #373737;
  margin-bottom: 30px;
}

.tab-content--title p {
  font-size: 27px;
  font-weight: bold;
  margin: 0;
}

.tab-content--title a {
  text-decoration: none;
  font-weight: bold;
  color: #373737;
  display: inline-block;
}

.tab-content--title a p:last-child {
  color: #A1A1A5;
  font-size: 18px;
  margin-bottom: 10px;
}

.tab-content--title img {
  margin: 0 0 0 5px;
  top: -5px;
  position: relative;
}

.tab-content--link {
  border-bottom: medium solid #373737;
  margin-bottom: 10px;
}

.tab-content--link a {
  text-decoration: none;
}

.tab-content--link a>p {
  margin: 0;
}

.tab-content--link a>p:first-child {
  color: #F1B310;
  font-size: 27px;
}

.tab-content--link a>p:last-child {
  color: #A1A1A5;
  font-size: 16px;
  margin-bottom: 30px;
}

.tab-content--link-aligned>a {
  color: #F1B310;
  font-size: 20px;
  text-decoration: none;
}

.tab-content--title-single {
  border-bottom: medium solid #373737;
  margin-bottom: 20px;
}

.tab-content--title-single a {
  text-decoration: none;
  font-weight: bold;
  font-size: 27px;
  color: #373737;
}

.tab-content--title-single a p {
  margin-bottom: 10px;
}
