.tuner {
	position: fixed;
	z-index: 1000;
	top: 162px;
	left: 0;
	margin-left: -159px;
	color: #000;
	transition: margin 0.3s;
}
.tuner i {
	position: absolute;
	top: 0;
	left: 100%;
	width: 54px;
	height: 54px;
	background: #ecf0f1;
	font-size: 28px;
	line-height: 54px;
	text-align: center;
	cursor: pointer;
	transition: color 0.3s;
}
.tuner i:hover:before {
	animation: spin 1s infinite linear;
	-webkit-animation: spin 1s infinite linear;
}
.tuner label {
	padding-top: 14px;
	font-size: 12px;
	line-height: 30px;
}
.tuner .inner {
	width: 119px;
	padding: 0 20px 20px;
	background: #ecf0f1;	
}
.tuner .color-picker {
	position: relative;
	cursor: pointer;
}
.tuner .color-picker div {
	height: 31px;
	border: 1px solid transparent;
}
.tuner .color-picker .active {
	border-color: #000;
	box-shadow: inset 0 0 0 3px #ecf0f1;	
}
.tuner .colors {
	margin: -5px;
}
.tuner .colors li {
	display: inline-block;
	vertical-align: top; 
	width: 31px;
	height: 31px;
	margin: 5px;
	border: 1px solid transparent;
	cursor: pointer;
}
.tuner .colors .active {
	border-color: #000;
	box-shadow: inset 0 0 0 3px #ecf0f1;	
}
.tuner .layouts li {
	margin-top: 10px;
	background: #000;
	padding-top: 2px;
	font-size: 12px;
	line-height: 24px;
	text-align: center;
	color: #fff;
	cursor: pointer;
}
.tuner .layouts li:first-child {
	margin-top: 0;
}
.tuner .layouts .active {
	background: #fff;
	color: #5b687b;
	cursor: default;
}
.tuner-visible {
	margin-left: 0;
}
.tuner-style {
	display: none;
}
@media screen and (max-width: 767px) { /* phone */
	.tuner {
		top: 96px;
	}
	.tuner .colors {
		margin: -2px;
	}
	.tuner .colors li {
		width: 18px;
		height: 18px;
		margin: 2px;
	}
	.tuner .custom-color {
		display: none;
	}
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}