#playground-wpr {
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
	background-color: #18191a;
}

#playground-presets {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	position: relative;
	width: calc(100% - 40px);
	max-width: 880px;
	margin: 0 auto 25px;
	color: #adb0b5;
}

#playground-presets input {
	display: none;
}

#playground-presets label {
	display: block;
	width: auto;
	max-width: 104px;
	height: auto;
	margin: 10px;
	cursor: pointer;
}

#playground-presets label div {
	display: block;
	position: relative;
	width: auto;
	height: 44px;
	max-height: 44px;
	margin: 0 auto 10px;
}

#playground-presets label div img:first-child,
#playground-presets input:checked + label div img:last-child {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
}

#playground-presets label div img:last-child,
#playground-presets input:checked + label div img:first-child {
	display: none;
}

#playground-presets label span,
#playground-settings-links div {
	display: block;
	box-sizing: border-box;
	padding: 7px 5px;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: #e4e6eb;
	border-radius: 20px;
	border: 1px solid #3a3b3c;
}

#playground-presets input:checked + label,
#playground-settings-links div.active {
	pointer-events: none;
}

#playground-presets input:checked + label span,
#playground-settings-links div.active {
	background-color: #3a3b3c;
}

#playground-presets label:hover span,
#playground-settings-links div:hover {
	background-color: #242526;
}

#gallery-wpr {
	display: block;
	width: 100%;
	height: auto;
	background-image: url(/image/dg/playground/gallery-bg.svg);
	background-position: top left;
	background-size: auto auto;
	background-repeat: repeat;
	background-color: #e4e6eb;
}

#diamond-gallery-playground > div {
	display: none;
}

#playground-settings {
	display: block;
	width: calc(100% - 40px);
	max-width: 880px;
	margin: 30px auto 0;
	color: #adb0b5;
}

#playground-settings-links {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
}

#playground-settings-links div {
	padding: 8px 15px;
	margin: 10px 5px 0;
	cursor: pointer;
}

#playground-settings-sections {
	display: block;
	box-sizing: border-box;
	position: relative;
	width: 100%;
	margin: 30px 0 0;
	padding: 0 15px 30px;
	border-radius: 4px;
	background-color: #242526;
}

.playground-settings-section {
	display: none;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
}

.playground-settings-section.active {
	display: flex;
}

.half-block {
	align-self: flex-start;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	width: 50%;	
	margin: 0;
}

.setting {
	display: block;
	width: calc(25% - 30px);
	margin: 30px 15px 0;
}

.setting-adjstr {
	display: block;
	width: calc(25% - 30px);
	margin: 0px 15px;
}

.half-block > .setting,
.half-block > .setting-adjstr {
	width: calc(50% - 30px);
}

.setting > label {
	display: block;
	box-sizing: border-box;
	position: relative;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	margin-bottom: 10px;
	word-break: break-word;
}

.setting > label img {
	display: block;
	float: left;
	width: 14px;
	height: 14px;
	margin-right: 5px;
	opacity: .5;
}

.setting > label div {
	display: none;
	box-sizing: border-box;
	position: absolute;
	z-index: 3;
	bottom: calc(50% + 14px);
	left: -10px;
	width: 100%;
	height: auto;
	padding: 0 10px;
	font-weight: 400;
	line-height: 1.4;
	color: #e4e6eb;
	border-radius: 4px;
	background-color: #18191a;
	box-shadow: 0 0 20px rgba(0,0,0,.25);
}

.setting > label img:hover + div,
.setting > label div:hover {
	display: block;
}

.setting > label div:before {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 12px;
	width: 10px;
	height: 10px;
	background-color: #18191a;
	transform: rotate(45deg);
}

.setting > label div:after {
	content: '';
	position: absolute;
	z-index: 2;
	bottom: -20px;
	left: 0;
	width: 100%;
	height: 100%;
}

.setting > label div p {
	margin: 10px 0;
}

.playground-range,
.playground-pick-color {
	display: flex;
	align-items: center;
	position: relative;
	z-index: 2;
}

.playground-range input {
	width: calc(100% - 60px);
	appearance: none;
  	-webkit-appearance: none;
	height: 2px;
	background: #18191a;
	cursor: pointer;
	margin: 0;
}

.playground-range input:focus,
.playground-pick-color input:focus {
  	box-shadow: none;
  	outline: none;
}

.playground-range input::-webkit-slider-thumb {
  	-webkit-appearance: none;
  	appearance: none;
  	width: 14px;
  	height: 14px;
  	border-radius: 50%; 
  	background: #e4e6eb;
  	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  	cursor: pointer;
}

.playground-range input::-moz-range-track {
	background: transparent;
}

.playground-range input::-moz-range-thumb {
	border: none;
	width: 14px;
  	height: 14px;
  	border-radius: 50%; 
  	background: #e4e6eb;
  	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  	cursor: pointer;
}

.playground-range output {
	display: block;
	box-sizing: border-box;
	width: 50px;
	min-width: 50px;
	height: 26px;
	padding: 0;
	margin-left: 10px;
	text-align: center;
	font-size: 13px;
	font-weight: 500;
	color: #e4e6eb;
	line-height: 26px;
	border-radius: 4px;
	background-color: #3a3b3c;
	pointer-events: none;
}

.playground-pick-color > input {
	display: block;
	box-sizing: border-box;
	width: calc(100% - 36px);
	height: 26px;
	border: none;
	padding: 0 10px;
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #e4e6eb;
	line-height: 26px;
	margin: 0;
	border-radius: 4px;
	background-color: #3a3b3c;
	outline: none;
}

.playground-pick-color > input::-webkit-input-placeholder {
  	color: #b0b3b8;
}

.playground-pick-color > input::placeholder {
  	color: #b0b3b8;
}

.playground-pick-color output {
	display: block;
	position: relative;
	width: 26px;
	height: 26px;
	margin-left: 10px;
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.7) inset;
	cursor: pointer;
	overflow: hidden;
}

.playground-pick-color output:before {
	content: '';
	position: absolute;
	z-index: -1;
	display: block;
	box-sizing: border-box;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 4px;
	border: 1px solid #242526;
	background-image: url(/image/dg/playground/gallery-bg.svg);
	background-position: center;
	background-size: 12px 12px;
	background-repeat: repeat;
	background-color: #e4e6eb;
}

.playground-pick-color input[type=color] {
	opacity: 0;
	display: block;
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	border-radius: 4px;
	cursor: pointer;
}

.playground-select {
	width: 100%;
	position: relative;
	border-radius: 4px;
	background-color: #3a3b3c;
	overflow: hidden;
}

.playground-select:before {
	content: '';
	position: absolute;
	z-index: 2;
	top: 1px;
	right: 0;
	width: 35px;
	height: 24px;
	background-image: url(/image/dg/playground/select-arrow.svg);
	background-position: center;
	background-size: cover;
	pointer-events: none;
}

.playground-select select {
	display: block;
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
	height: 26px;
	padding: 0 10px;
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #e4e6eb;
	line-height: 26px;
	border: none;
	margin: 0;
	box-shadow: none;
	background: transparent;
	background-image: none;
	-webkit-appearance: none;
	outline: none;
	cursor: pointer;
	-moz-appearance: none;
	text-overflow: ellipsis;
}

.playground-select select option {
	color: initial;
}

input.playground-text {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 26px;
	border: none;
	margin: 0;
	padding: 0 10px;
	outline: none;
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #e4e6eb;
	line-height: 26px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	border-radius: 4px;
	background-color: #3a3b3c;
}

.playground-radio {
	display: flex;
	width: 100%;
	box-sizing: border-box;
	border: 2px solid #3a3b3c;
	border-radius: 4px;
}

.playground-radio input {
	display: none;
}

.playground-radio label {
	display: block;
	width: 50%;
	margin: 0;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: #adb0b5;
	line-height: 22px;
	cursor: pointer;
}

.playground-radio label:hover {
	color: #e4e6eb;
}

.playground-radio input:checked + label {
	color: #e4e6eb;
	pointer-events: none;
	background-color: #3a3b3c;
}

#buttons-block {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 30px 0;
}

#buttons-block a {
	display: block;
	box-sizing: border-box;
	width: 180px;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	line-height: 1;
	padding: 11px 10px;
	margin: 10px;
	color: #333333;
	background-size: 300% 100%;
    border-radius: 50px;
    transition: all .25s ease-in-out;
	background-image: linear-gradient(40deg, #ffa745 0%, #fe869f 30%, #ef7ac8 45%, #a083ed 70%, #43aeff 85%);
    box-shadow: 0 5px 15px #000;
	cursor: pointer;
}

#buttons-block a:hover {
	text-decoration: none;
	box-shadow: 0 5px 15px rgba(0,0,0,0);
    background-position: 100% 0;
    transition: all .25s ease-in-out;
}

.html-caption {
	display: block;
	box-sizing: border-box;
	padding: 0 20px;
}

.diamond-gallery-playground-caption {
	display: inline-block;
	box-sizing: border-box;
	padding: 0 20px 20px;
}

@media screen and (max-width: 768px) {

	.setting,
	.half-block > .setting,
	.half-block > .setting-adjstr {
		width: calc(50% - 30px);
	}

	.half-block {
		width: 100%;
	}

}

@media screen and (max-width: 450px) {

	#playground-presets {
		justify-content: space-around;
		max-width: 250px;
	}

	#playground-presets label span, 
	#playground-settings-links div {
		font-size: 10px;
	}

	#playground-settings-sections {
		padding: 0 10px 30px;
	}

	.setting,
	.half-block > .setting {
		width: 100%;
		margin: 30px 0 0;
	}

	.half-block > .setting-adjstr {
		display: none;
	}

	#buttons-block {
		display: block;
	}

	#buttons-block a {
		margin: 10px auto;
	}

}