#designer {
	position: fixed;
	width: 285px;
	max-height: 95%;
	top: 0;
	left: 18px;
	z-index: 10000;
	margin: auto;
	bottom: 0;
	background: #444;
	overflow: auto;
	overflow-x: hidden;
	border: 1px #7e7c7d solid;
	font-family: sans-serif;
	font-size: 14px;
	line-height: 22.4px;
}

#designer .hide_me {
	display: none;
}

#designer .header {
	padding: 5%;
	background-color: #6566ff;
	color: white;
}

#designer .header span {
	font-size: 18px;
}

#designer .header button {
	width: 40%;
	font-size: 14px;
	float: left;
	margin: 5% 5% 0 5%;
	padding: 4px;
	border-radius: 20px;
	border: 1px white solid;
	background-color: transparent;
}

#designer .body {
	color: white;
	list-style: none;
	margin: 0px 10px 18px 10px;
}

#designer .body .intend {
	margin-left: 20px;
}

#designer .body hr {
	border-color: #888;
	margin: 0;
}

#designer .body input {
	width: 100%;
	color: black;
}

#designer .body select {
	width: 100%;
	color: black;
	padding: 4px;
}

#designer .body .element {
	padding: 11px 0;
	cursor: pointer;
}

#designer .body .element .headline div {
	float: right;
	width: 18px;
	height: 18px;
}

#designer .body .element > .headline div b {
	display: block;
	width: 100%;
	height: 100%;
	background: url('../img/fs-sprite.png') no-repeat -18px 1px;
}

#designer .body .element_open > .headline div b {
	background-position: 0 1px;
}

#designer .body .element .setting * {
	cursor: auto;
}

#designer .body .element .font-select *, #designer .body .element select {
	cursor: pointer !important;
	text-decoration: none;
}

#designer .body .settings .setting:nth-child(1) {
	margin-top: 11px;
}

#designer .body .settings .setting {
	cursor: auto;
	margin-bottom: 7px;
}

#designer .body .settings .setting .sub_headline {
	margin-bottom: 3px;
}

#designer .button_div {
	padding: 5%;
	background-color: #272727;
	color: white;
}

#designer .button_div button {
	width: 92%;
	font-size: 14px;
	float: left;
	margin: 0 4%;
	padding: 6px;
	border-radius: 20px;
	border: 1px white solid;
	background-color: transparent;
}

/* Spectrum Colorpicker */
#designer .body .settings .setting .sp-replacer {
	width: 100%;
	border: none;
	background: #555;
}

#designer .body .settings .setting .sp-preview {
	width: 100%;
}

#designer .body .settings .setting .sp-dd {
	display: none;
}

/* jQuery fontselect */
#designer .body .settings .setting .fs-drop {
	width: 100%;
	margin-top: -3px;
	margin-bottom: 20px;
}

#designer .body .settings .setting .fs-drop .fs-results {
	width: auto;
}

/* On/Off switch */
.onoffswitch {
	position: relative;
	width: 69px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}
.onoffswitch-checkbox {
	display: none;
}
.onoffswitch-label {
	display: block;
	overflow: hidden;
	cursor: pointer !important;
}
.onoffswitch-inner {
	display: block;
	width: 200%;
	margin-left: -100%;
	transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
	display: block;
	float: left;
	width: 50%;
	height: 24px;
	padding: 0;
	line-height: 24px;
	font-size: 14px;
	color: white;
	font-family: Trebuchet, Arial, sans-serif;
	font-weight: bold;
	box-sizing: border-box;
}
.onoffswitch-inner-on:before, .onoffswitch-inner-on:after {
	float: right;
}
.onoffswitch-inner-off:before, .onoffswitch-inner-off:after {
	float: left;
}
.onoffswitch-inner:before {
	content: "ON";
	padding-left: 12px;
	background-color: #3BAA34;
	color: #FFFFFF;
}
.onoffswitch-inner-on:before {
	padding-left: 34px;
}
.onoffswitch-inner:after {
	content: "OFF";
	padding-right: 9px;
	background-color: #9C0F05;
	color: #FFFFFF;
	text-align: right;
}
.onoffswitch-inner-on:after {
	padding-right: 32px;
}
.onoffswitch-switch {
	display: block;
	width: 18px;
	margin: 5px;
	background: #FFFFFF;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 41px;
	border: 2px solid #999999;
	border-radius: 2px;
	transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
	margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
	right: 0px;
}

/* togglebtn */
#toggleButtonWrapper {
	position: absolute;
	top: -3px;
	right: 2px;
	transition: 1s;
	-webkit-transition: 1s;
	cursor:pointer;
}
#designer #toggleButton {
	box-sizing: border-box;
	display: block;
	width: 30px;
	height: 51px;
	z-index: 99;
}
#designer #toggleButton:before, #designer #toggleButton:after, #designer #toggleButton span {
	background: #fff;
	content: '';
	display: block;
	width: 20px;
	height: 3px;
	position: absolute;
	left: 0px;
}
#designer #toggleButton:before {
	top: 0px;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate( 45deg );
}
#designer #toggleButton span {
	top: 20px;
	left: -50px;
	opacity: 0;
	background: #fff;
}
#designer #toggleButton:after {
	top: 40px;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate( -45deg );
}
#designer  #toggleButton:before, #designer  #toggleButton:after {
	top: 20px;
	left: 0px;
	background: #fff;
}
#designer #toggleButton:before, #designer #toggleButton:after, #designer #toggleButton span {
	-webkit-transition: all 0.5s ease 0.5s;
	transition: all 0.5s ease 0.5s;
	-webkit-transition-property: transform, top, bottom, left, opacity, background;
	transition-property: transform, top, bottom, left, opacity, background;
}
#mobileNaviTriggerWrap {
	position: relative;
	display: inline-block;
}
#designer {
	transition: 1s;
	-webkit-transition: 1s;
}
#designer.hidemenu {
	left: -285px;
	transition: 1s;
	-webkit-transition: 1s;
	overflow: visible;
	z-index:1;
}
#designer.hidemenu #toggleButtonWrapper {
	position: absolute;
	top: 0;
	right: -40px;
	width: 40px;
	height: 100%;
	background: #444444;
	transition: 1s;
	-webkit-transition: 1s;
	z-index:2;
}
#designer.hidemenu #toggleButton:before {
	-webkit-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	transform: rotate( 0deg );
}
#designer.hidemenu #toggleButton:after {
	-webkit-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	transform: rotate( -90deg );
}
#designer.hidemenu #toggleButton:before, #designer.hidemenu #toggleButton:after, #designer.hidemenu #toggleButton span {
	left: 10px;
}
