.hdf-form *,
.hdf-form :after,
.hdf-form :before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.hdf-form {
	overflow: hidden;
	max-width: 800px;
	margin: 0 auto;
}
.hdf-item {
	padding: 1.2em 0;
	position: relative;
}
.hdf-item.hdf-item-column,
.hdf-item.hdf-item-columns,
.hdf-item.hdf-item-heading {
	padding: 0;
}
.hdf-form > .hdf-item:last-child {
	padding-bottom: 0;
}
.hdf-label {
	display: inline-block;
	cursor: pointer;
	font-weight: 700;
}
.hdf-hint,
.hdf-notification {
	font-size: 0.8em;
	margin: 0;
}
.hdf-notification {
	color: red;
	display: none;
}
.hdf-error .hdf-notification {
	display: block;
	position: absolute;
}
.hdf-hidden {
	display: none;
}
.hdf-heading {
	line-height: 1.2;
}
.hdf-heading-h2 {
	margin-top: 2em;
}
.hdf-form .hdf-input {
	display: block;
	padding: 1em;
	width: 100%;
	line-height: 1;
	font-size: 0.8em;
	border-radius: 0;
	border-color: currentColor;
	border-style: none;
	border-bottom-style: dashed;
	box-shadow: none;
	border-width: 1px;
	background-color: #fafafa;
	height: initial;
}
.hdf-select {
	cursor: pointer;
}
.hdf-error .hdf-input {
	border-color: red;
	border-style: solid;
}
.hdf-error .sun-editor-editable {
	border: 1px solid red;
}
.hdf-error .hdf-check-row {
	border: 1px solid red;
	padding: 0.2em;
}
.hdf-error.hdf-item-upload .hdf-file-drag {
	border: 2px dashed red;
}
.hdf-item-checkbox .hdf-options-check input[type="checkbox"]:focus + label::after,
.hdf-item-radio .hdf-options-check input[type="checkbox"]:focus + label::after {
	box-shadow: 0 0 0 2px #007cba;
	outline: 0;
}
.hdf-check-row {
	margin-top: 1em;
	line-height: 1;
	display: grid;
	grid-template-columns: max-content 1fr;
	grid-gap: 1em;
}
.hdf-item-checkbox .hdf-options-check,
.hdf-item-radio .hdf-options-check {
	font-size: 24px;
}
.hdf-item-checkbox .hdf-options-check input[type="checkbox"],
.hdf-item-radio .hdf-options-check input[type="checkbox"] {
	position: absolute;
	opacity: 0;
}
.hdf-item-checkbox .hdf-options-check label,
.hdf-item-radio .hdf-options-check label {
	width: 2em;
	height: 1em;
	position: relative;
	cursor: pointer;
	display: block;
	font-size: 22px !important;
}
.hdf-item-radio .hdf-options-check label:before {
	content: "";
	position: absolute;
	width: 2em;
	height: 1em;
	left: 0.1em;
	transition: background 0.1s ease;
	background: #dfdfdf;
	border-radius: 50px;
	box-shadow: inset 0 1px 1px rgb(0 0 0 / 50%);
}
.hdf-item-radio .hdf-options-check label:after {
	content: "";
	position: absolute;
	width: 1em;
	height: 1em;
	border-radius: 50px;
	left: 0;
	transition: all 0.2s ease;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
	background: #555;
	animation: hdf_switch-off 0.2s ease-out;
	z-index: 2;
}
.hdf-item-radio .hdf-options-check input[type="checkbox"]:checked + label:before {
	background: #72c474;
	box-shadow: inset 0 1px 1px rgba(84, 152, 140, 0.5);
}
.hdf-item-radio .hdf-options-check input[type="checkbox"]:checked + label:after {
	animation: hdf_switch-on 0.2s ease-out;
	left: 1.1em;
	background: #efefef;
}
.hdf-item-checkbox .hdf-options-check label:before {
	content: "";
	position: absolute;
	width: 2em;
	height: 1.2em;
	left: 0.1em;
	transition: background 0.1s ease;
	border-radius: 3px;
	background: #dfdfdf;
	box-shadow: inset 0 1px 1px rgb(0 0 0 / 50%);
}
.hdf-item-checkbox .hdf-options-check label:after {
	content: "";
	position: absolute;
	width: 1em;
	height: 1em;
	border-radius: 3px;
	left: 0.2em;
	top: 0.1em;
	transition: all 0.2s ease;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
	background: #555;
	animation: hdf_switch-off 0.2s ease-out;
	z-index: 2;
}
.hdf-item-checkbox .hdf-options-check input[type="checkbox"]:checked + label:before {
	background: #72c474;
	box-shadow: inset 0 1px 1px rgba(84, 152, 140, 0.5);
}
.hdf-item-checkbox .hdf-options-check input[type="checkbox"]:checked + label:after {
	animation: hdf_switch-on 0.2s ease-out;
	right: 0.1em;
	left: inherit;
	background: #efefef;
}
.hdf-item-date div label {
	font-size: 0.9em;
	font-style: italic;
}
.hdf-columns {
	display: grid;
	grid-gap: 2.1em;
}
.hdf-col-1-1 {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.hdf-col-1-1-1 {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}
.hdf-button {
	padding: 1em;
	line-height: 1;
	background: #555;
	display: block;
	text-align: center;
	color: #fff;
	cursor: pointer;
	margin-top: 2em;
}
.hdf-submit:hover {
	background: grey;
}
.hdf-required-symbol {
	color: red;
}

.hdf-disabled {
	cursor: normal !important;
	opacity: 0.7;
}

.hdf-prefix {
	overflow: hidden;
	display: grid;
	grid-template-columns: max-content 1fr;
	border-top-left-radius: 0.3em;
	border-bottom-left-radius: 0.3em;
}
.hdf-postfix {
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr max-content;
	border-top-right-radius: 0.3em;
	border-bottom-right-radius: 0.3em;
}
.hdf-fix {
	line-height: 1;
	height: 100%;
	padding: 0 0.6em;
	background-color: #555;
	color: #fff;
	align-items: center;
	display: flex;
}
.hdf-message {
	display: none;
	text-align: center;
	padding: 0.3em;
	border: 1px solid #999;
	position: relative;
}
.hdf-message > p {
	margin: 0 !important;
	padding: 0 !important;
}
.hdf-loader {
	width: 250px;
	padding: 1em;
	position: relative;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}
.hdf-loader-dot {
	animation-name: loader;
	animation-timing-function: ease-in-out;
	animation-duration: 3s;
	animation-iteration-count: infinite;
	height: 12px;
	width: 12px;
	border-radius: 100%;
	background-color: #a49e9e;
	box-shadow: 0 0 1px #eee;
	position: absolute;
}
.hdf-loader-dot:first-child {
	animation-delay: 0.5s;
}
.hdf-loader-dot:nth-child(2) {
	animation-delay: 0.4s;
}
.hdf-loader-dot:nth-child(3) {
	animation-delay: 0.3s;
}
.hdf-loader-dot:nth-child(4) {
	animation-delay: 0.2s;
}
.hdf-loader-dot:nth-child(5) {
	animation-delay: 0.1s;
}
.hdf-loader-dot:nth-child(6) {
	animation-delay: 0s;
}
@keyframes loader {
	15% {
		transform: translateX(0);
	}
	45% {
		transform: translateX(230px);
	}
	65% {
		transform: translateX(230px);
	}
	95% {
		transform: translateX(0);
	}
}
@media screen and (max-width: 782px) {
	.hdf-columns {
		grid-template-columns: 1fr;
		grid-gap: 0;
	}
}

.hdf-item-upload .hdf-file-drag {
	display: block;
	margin-top: 0.5em;
	width: 100%;
	padding: 0.8em;
	text-align: center;
	border-radius: 7px;
	border: 2px dashed #999;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background: #fafafa;
}

.hdf-item-upload .hdf-file-drag:hover,
.hdf-item-upload .hdf-file-drag.hdf-upload-active {
	border-color: #454cad;
}

.hdf-item-upload .hdf-file-drag:hover .hdf-file-upload-button,
.hdf-item-upload .hdf-file-drag.hdf-upload-active .hdf-file-upload-button {
	background: #454cad;
}

.hdf-upload-icon {
	width: 26px;
	margin-bottom: -2px;
}

.hdf-upload-icon path {
	fill: #fff;
}

.hdf-item-upload .hdf-upload-response {
	width: 100%;
}

.hdf-item-upload input[type="file"] {
	display: none;
}

.hdf-item-upload .hdf-upload-start {
	color: #5f6982;
	display: grid;
	grid-template-columns: minmax(20px, 1fr) minmax(40px, 1fr);
	place-items: center;
	grid-gap: 1em;
}

.hdf-item-upload .hdf-file-upload-button {
	display: grid;
	grid-template-columns: max-content minmax(40px, 1fr);
	place-items: center;
	grid-gap: 1em;
	margin: 0 auto;
	width: fit-content;
	max-width: 100%;
	text-decoration: none;
	text-transform: initial;
	border: none;
	border-radius: 0.4rem;
	outline: none;
	padding: 0.4em 1.3em;
	line-height: 1;
	color: #fff;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	box-sizing: border-box;
	background: #555;
	cursor: pointer;
}

.hdf-upload-text {
	display: inline-block;

	word-break: break-all;
}

.hdf-uploading-bar {
	margin-top: 1em;
	display: none;
	padding: 0.2em 1em;
	border-radius: 12rem;
	color: #fff;
	background: linear-gradient(159deg, #2d6770, #1c6fa8);
	background-size: 400% 400%;
	animation: hdf-bar-animation 3s linear infinite;
}

@keyframes hdf-bar-animation {
	0% {
		background-position: 13% 0%;
	}
	50% {
		background-position: 88% 100%;
	}
	100% {
		background-position: 13% 0%;
	}
}

.hdf-uploading-text {
	animation: hdf-blink-animation 2s linear infinite;
}

@keyframes hdf-blink-animation {
	0% {
		opacity: 1;
	}
	30% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	70% {
		opacity: 1;
	}
	100% {
		opacity: 1;
	}
}

.sun-editor-editable {
	font-size: 1em;
}
