@import "../../../css/chart-v2.0.css";

body {
	color:#333;
	font-family: Arial,"Simsun",sans-serif;
	font-size: 14px;

}
#chart-footer .dropdown {
	border: none!important;
}
#range-selector a{
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
	border: 1px solid #333;
    color: #333;
	white-space: nowrap;
	margin: 0 5px 4px 0;
}
#range-selector .active a,#range-selector a:hover{
	border-color:#0075c1;
	color:#0075c1;
	background: #ffffff;
}
#error-wrapper{
	display: none;
}
#wrapper{
	border: 0;
}
#footer{
	font-size: 12px;
	padding-bottom: 12px;
}
#top-table td, #top, #range-selector, #range-input, #news-information, #chartexport, #chart, #chart-footer, #bottom, #footer{
	border-color: #a6afbc;
	border-left: 0;
	border-right: 0;
}
#top-table .row1 .col1{
	vertical-align:middle;
}
#footer{
	border-bottom: 0;
}
#top{
	border-top: 0;
	padding-top: 12px;
}
.alteration-equal{
	color: #6f6f6f;
}
#bottom-table tr:last-child td, .bottom-table tr:last-child td{
	border-bottom: 1px solid #393838;
}
#bottom-table thead tr:last-child th, .bottom-table thead tr:last-child th{
	border-bottom-color: #393838;
}
#chart-footer .history-download{
	width: 25%;
}
#range-input{
	padding: 1em;
}
#range-input .range-begin input, #range-input .range-until input,
#range-input .submit {
	background:#fff;
	border: 1px solid #333;
	height: 30px;
	line-height: 30px;
	padding: 0 1em;
}
#range-input .title{
	padding-top: 0;
	padding-bottom: 8px;
}
.range-begin i, .range-until i{
	color:#0075c1;
}
#news-information .news-icons .news-icon{
	color: #e2001a;
	border-color: #e2001a; 
}
input[type="checkbox"] + label::before{
	font-size: 18px;
	top:0;
	color: #e2001a;
}
input[type="checkbox"] + label{
	padding-left: 24px;
}
#news-information{
	color: #000;
}
#range-input .submit, #chart-footer .history-download a{
	background: none!important;
	border-width: 0;
	padding-left:0;
	color:#333;
	box-shadow: none;
	-moz-box-shadow: none;
	-ms-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-o-border-radius: 0;
	-ms-border-radius: 0;
	width: auto;
}
#chart-footer .history-download a{
	width: 100%;
	padding: 0.6em 1em;
	border-width:0!important;
}
#range-input .submit i, #chart-footer .history-download a i{
	margin-right: 0.2em;
}

.is-today .pika-button{
	color:#0075c1;
}
.pika-button:hover{
	background: #0075c1 !important;
}
.is-selected .pika-button{
	background: #0075c1 !important;
	box-shadow: none;
	-moz-box-shadow: none;
	-ms-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
}
#chartexport a {
    background-color: #fff!important;
    border: 1px solid #fff!important;
    box-shadow: none;
	-moz-box-shadow: none;
	-ms-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
	color:#333;
	padding: 0 0.5em;
	text-align: center;
}
#chartexport a:hover {
	color:#0075c1;
}
#range-input .submit:hover, #chart-footer .history-download a:hover{
	color:#0075c1;
}
.alteration-down{
	color: #e2001a;
}
#chart-footer .history-download{
	padding-left: 0.25em!important;
}
#data-tbl{
	min-width: 500px;
	border-spacing: 0;
    border-collapse: collapse;
}
#data-tbl td{
	padding: 5px 10px;
	border: 1px solid #eee;
}
#range-input{
	padding-top: 0.2em;
	margin-bottom: 1.8em;
}
.top-info{
	border-bottom: 1px solid #a6afbc ;
	padding-bottom: 0.4em;
}
#top-table .row1.price {
    padding: 3px 5px;
}
#top-table .row1 td {
    padding: 5px;   
}
#top-table .row3 td{
	padding-right: 0;
}
#top-table .row3 td span{
	display: block;
	border-bottom: 1px solid #a6afbc;
    border-top: 1px solid #a6afbc;
    padding: 0.4em 0;
    width: 100%;
    text-align: left;
    white-space: nowrap;
}
#top-table .row3 td.col1{
	width: 15%;
}
#top-table .row3 td.col2{
	width: 85%;
	text-align: left;
}
#chart-footer{
	margin-top: 1.8em;
}
#chart-footer .history-download .select-format{
	padding-top: 0;
}
#chart-footer > div:nth-child(3n+3){
	padding-left: 0;
}

@media screen and (min-width:991px) and (max-width:1023px){
	#range-selector ul {
		display: table;
		table-layout: fixed;
	}
	#range-selector ul li{
		display: table-cell;
		float: none;
		width: auto;
	}
	#range-selector li:nth-of-type(4) a{
		margin-right: 4px!important;
	}
	#top-table .row1, #top-table .row2{
		width: auto;
	}
	#top-table tr {
		float: left;
		width: 25%;
	}
	#top-table .row4 td:last-child, #top-table .row5 td:last-child, #top-table .row8 td:last-child, #top-table .row9 td:last-child, #top-table .row12 td:last-child {
		margin-right: 4%;
		width: 46%;
	}
	#top-table .row5 td:first-child, #top-table .row6 td:first-child, #top-table .row7 td:first-child, #top-table .row9 td:first-child, #top-table .row10 td:first-child, #top-table .row11 td:first-child {
		margin-left: 4%;
		width: 46%;
	}
	#top-table td {
		font-size: 0.85em!important;
	}
	#top-table .row2{
		width: 30%;
	}
	#range-input .range-begin, #range-input .range-until {
		width: auto;
	}
	#range-input .range-begin label:first-child, #range-input .range-until label:first-child {
		margin: 0 0.4em 0 1em;
		width: auto;
	}
	#chart-footer > div {
		width: 25%;
	}
	#chart-footer > div:nth-child(3n+4) {
		clear: none;
		padding-left: 0.5em;
	}
	#chart-footer .history-download{
		width: 25%!important;
	}
}
#top .top-company-info{
	font-weight: bold;
}
.history-download .select-format{
	display:none;
}
.mobileView{
	display:none;
}
@media screen and (min-width:991px){
	#chart-footer .history-download{
		width:25%;
	}
	#top-table tr.mobileView td{
		padding-left: 0!important;
	}

}
@media screen and (max-width:990px){
	#chart-footer .history-download{
		clear: none !important;
		padding-right: 0!important;
		padding-left: 0.25em !important;
	}
	#top-table .row3 td.col2 span{
		text-align: right;
	}
	#chart-footer .history-download a{
		width: auto!important;
		padding-right: 0!important;
		padding-left: 0!important;
	}
	#top-table .row1.price{
		width:24%;
	}
}

@media screen and (min-width:768px) and (max-width:989px){
	#top-table .row2 {
    width: 41%;
	}
}
@media screen and (min-width:481px) and (max-width:767px){
	#top-table .row3 td.col1{
		width: 25%;
	}
	#top-table .row3 td.col2{
		width: 75%;
		text-align: left;
	}
}
@media screen and (min-width:600px){
	#bottom-table td.col4{
		width: 10%;
	}
	#bottom-table td.col5, #bottom-table td.col6, #bottom-table .row2 th.col6{
		text-align: center;
	}
	#top-table td {
		font-size: 0.95em;
	}
	#bottom-table th, .bottom-table td{
		font-size: 0.95em;
	}

}
@media screen and (min-width:520px){
	#chartexport{
		float: right;
		margin-top: -33px;
		position: relative;
		width: auto;
		border: 0;
	}
}
@media screen and (min-width:601px) and (max-width:1024px){
	#chart-footer .history-download{
		width: 33.333%;
	}
}
@media screen and (max-width:600px){
	#chart[data-highcharts-chart]{
		background-size: 120px auto;
		background-position: 40% 30%;
	}
	#chart-footer .history-download{
		width: 50%;
	}
	#bottom-table td, .bottom-table td{
		text-align: right;
		position: relative;
	}
	#bottom-table td::before, .bottom-table td::before{
		position: absolute;
		left: 0;
		text-align: left;
	}
	#bottom-table th, .bottom-table td{
		font-size: 0.9em;
	}
	#bottom-table tr td, .bottom-table tr td {
		border-bottom: 1px solid #a6afbc;
	}
}
@media screen and (max-width:519px){
	#chartexport{
		position: relative;
	}
}
@media screen and (min-width:481px)  and (max-width:1023px){
	#range-selector li:nth-of-type(4) a{
		margin-right: 0;
	}
}
@media screen and (min-width:480px)  and (max-width:520px){
	#top-table .row1 .col2 strong{
		font-size: 1.65em;
	}
	#top-table tr.row1.date td{
		padding-left: 5px!important;
	}
}
@media screen and (min-width:481px)  and (max-width:580px){
	#range-selector a{
		border: 1px solid  #c2c2c2!important;
	}
}
@media screen and (min-width:480px)  and (max-width:600px){
	#top-table tr.dailyLow{
		clear: both;
	}
}
@media screen and (max-width:600px){
	#range-input .range-wrap{
		padding-right: 1%!important;
	}
	#range-input .range-until{
		padding-left: 1%!important;
		padding-right: 0!important;
	}
}
@media screen and (max-width:480px){
	#bottom-table td, .bottom-table td{
		font-size: 0.8em;
	}
	#top-table .row2 td.col1{
		white-space: nowrap;
	}
	#top-table .row3 td.col1, #top-table .row3 td.col2{
		width: 50%;
	}
	#top-table .row3 td.col2 span{
		text-align: right;
	}
	#top-table .row3 td span{
		border-top-width: 0!important;
	}
	#range-input .submit{
		max-width: 100%;
	}
	#range-selector a{
		margin: 0;	
		padding: 0.6em 0;	
	}
	#news-information .news-option{
		width: 30%;
		white-space: nowrap;
	} 
	#news-information .news-icons{
		text-align: right;
		width: 70%;
	}
	#news-information .news-option{
		padding-top: 7px;
		margin-right: 0;
	}
	#top-table tr.row1.date td{
		padding-left:0px;
		padding-right:0px;
	}
	#top-table tr.row2.alteration td strong:nth-of-type(2){
		text-align:right;
	}
	
	#range-selector ul{
		display: table;
	}
	#range-selector ul li{
		white-space: nowrap;
		overflow: hidden;
		width: 12.5%;
		float: none;
		display: table-cell;
	}
	#range-input{
		margin-bottom: 0;
	}
}

@media screen and (min-width:480px) and (max-width:481px) {
	.mobileView{
		display:table-row;
	}
	.desktopView{
		display:none;
	}
	#range-selector a{
		border: 1px solid  #c2c2c2!important;
		margin: 0 5px 4px 0;
	}
	#range-selector ul li {
    border: 0 none;
    float: left;
    width: 25%;
	}
	#range-selector li:nth-of-type(4) a{
		margin-right: 0;
	}
}
@media screen and (min-width:480px){
	#news-information .news-option{
		padding-top: 0;
	}
	#top-table .row1.price{
		max-width: 30%;
		white-space:nowrap;
	}
	#top-table .row2.alteration td{
		padding:5px;
	}

}
@media screen and (max-width:380px){
	#chart-footer > div, #chart-footer .history-download{
		width: 100%;
		clear: both!important;
		padding-right: 0!important;
		padding-left: 0!important;
	}

	#news-information .news-icons{
		text-align: left;
		clear: both;
		width: 100%;
	}
}
@media screen and (max-width:320px){
	#chart[data-highcharts-chart]{
		background-size: 110px auto;
	}
	#range-input {
		padding-bottom: 0.5em;
		margin-bottom: 0; 
	}
}
@media screen and (max-width:280px){
	#top-table .row1 .col2 strong{
		font-size: 1.5em;
	}

	#range-selector ul li a{
		font-size: 75%;
	}
	#range-input .range-begin input, #range-input .range-until input{
		float: right;
		width: 74%;
	}
	#range-input .range-begin, #range-input .range-until{
		position: relative;
	}
	#range-input .range-begin label:first-child, #range-input .range-until label:first-child{
		width: 22%;
	}
	.range-begin label:last-child, .range-until label:last-child{
		position: absolute;
		top: 12px;
		right: 8px;
	}
	.pika-single.is-bound .pika-lendar, .pika-single{
		width: 200px!important;
	}

	#range-input .range-wrap input {
		display: block;
		height: 34px;
		padding: 0 1em;
		width: 100%;
	}
	#range-input .range-wrap .calendar-icon {
		margin-top: 15px;
	}
}
@media screen and (max-width:259px){
	#wrapper{
		border: 0;
	}
	#top, #range-selector, #range-input, #news-information, #chartexport, #chart-footer, #bottom, #footer{
		padding-left: 0.6em;
		padding-right: 0.6em;
	}
	#bottom-table td, .bottom-table td {
		white-space: nowrap;
	}
	.pika-table, .pika-lendar{
		max-width: 220px!important;
	}
}

@media screen and (min-width:381px) and (max-width:767px){
	#chart-footer .history-download{
		padding-right: 0!important;
		padding-left: 0.5em!important;
	}
}

body.isWeb #wrapper select{
	opacity: 0!important;
	display: none;
}
body .dropdown::after{
	display: none!important;
}
body.isMobile .dropdown::after{
	display: none!important;
}
.pika-table td.is-today.is-selected .pika-button, .pika-table td.is-today.is-selected .pika-button:hover{
	color: #fff!important;
}

#chart-footer .dropdown{
	display: block!important;
}

body.isMobile #chart-footer select{
	display: block!important;
}
body.isMobile select{
	background: #f9fafb none repeat scroll 0 0;
    border: 1px solid #ddd;
    padding: 8px 5px;
    position: relative;
}
body.isMobile .dropdown{
	position: relative;
}
body.isMobile .dropdown:after{
	content: "";
	border: 5px solid transparent;
	border-top:5px solid #ccc;
	position: absolute;
	top: 15px!important;
	right: 8px;
	margin-top: 0!important;
	bottom: auto;
	z-index: 2000;
}

#chart{
	background: url(images/logo-smit.png)  46% 30% no-repeat;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
