div.buttons {
	position: relative;
	padding: 10px 20px 0px 20px;
}

div.buttons div.column {
	display: table-cell;
}

div.buttons div.action {
	padding: 0 30px 0 0;
}

div.buttons #chart-currency-buttons {
	width: calc(100% - 132px);
}

div.buttons div.period {
	position: absolute;
	top: 10px;
	right: 20px;
}

div.buttons ul {
	display: flex;
	padding: 0;
	margin: 0;
	list-style: none;
}

div.buttons ul li {
	display:flex;
	align-items:center;
	justify-content:center;
	flex: 0 0 auto;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	text-align: center;
	vertical-align: middle;
	font-size: 12px;
	color: #000000;
	background-color: #e3e3e3;
	border: 0px;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	cursor: pointer;
}
div.buttons ul li:hover {
	background-color: #ebebeb;
}
div.buttons ul li:first-child {
	border-radius: 4px 0px 0px 4px;
	-moz-border-radius: 4px 0px 0px 4px;
	-webkit-border-radius: 4px 0px 0px 4px;
}

div.buttons ul li:not(.more):last-child {
	border-radius: 0px 4px 4px 0px;
	-moz-border-radius: 0px 4px 4px 0px;
	-webkit-border-radius: 0px 4px 4px 0px;
}

div.buttons ul li.more:last-child {
	border-radius: 0px 4px 4px 0px;
	-moz-border-radius: 0px 4px 4px 0px;
	-webkit-border-radius: 0px 4px 4px 0px;
}

div.buttons div.action ul li {
	width: 70px
}

div.buttons div.currency ul li,
div.buttons div.period ul li {
	width: 45px
}

div.buttons ul li.active {
	background-color: #555555;
	color: #FFFFFF;
	cursor: default;
}

div.buttons ul li.more {
	position: relative;
	cursor: pointer;
	background-image: url('/img/arrow-down-black.png');
	background-size: 10px;
	background-position: center center;
	background-repeat: no-repeat;
	/*transition: background-position 0.1s ease;*/
}
/*div.buttons ul li.more:hover {
	background-position: center calc(50% + 2px);
}*/
li.more:hover {
	border-radius: 0px 4px 0px 0px !important;
}

li.more ul.dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	flex-direction: column;
	z-index: 10;
}

li.more:hover ul.dropdown {
	display: flex;
}

ul.dropdown li {
	display: block;
}
ul.dropdown li:first-child {
	border-radius: 0px 0px 0px 0px !important;
}
ul.dropdown li:last-child {
	border-radius: 0px 0px 4px 4px !important;
}

@media (min-width: 940px) {
	div.buttons ul li {
		height: 26px;
	}
}
@media (min-width: 0px) and (max-width: 939px) {
	div.buttons ul li {
		height: 30px;
	}
}