.powermail_label {
	display: block;
	margin-right: 0;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 5px 5px 5px 0;
	text-align: left;
	font-size: 1.333em;
	font-weight: 500;
}

.powermail_input {
	background: #ECECEC;
	border: none;
	font-family: "ag-book", sans-serif;
	width: 100%;
	margin-right: 3px;
	padding: 0 0 0 7px;
	vertical-align: top;
	font-size: 1.25em;
	font-weight: 300;
	height: 40px;
	margin-bottom: 20px;
}

.powermail_textarea {
	background: #ECECEC;
	border: none;
	font-family: "ag-book", sans-serif;
	width: 100%;
	margin-right: 3px;
	padding: 0 0 0 7px;
	vertical-align: top;
	font-size: 1.25em;
	font-weight: 300;
	margin-bottom: 20px;
}

.powermail_field .checkbox input {
	margin-top: -5px;
}

.powermail_field .radio input {
	margin-top: -5px;
}

.powermail_submit {
	background: #6f6f6f !important;
	color: #FFFFFF;
	display: block;
	font-size: 1.333em;
	font-weight: 500;
	height: 40px !important;
	width: max-content !important;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 5px !important;
	text-align: left;
	text-transform: uppercase;
}

.powermail_submit:hover {
	background: #000000 !important;
}

/* general form stylings */
.powermail_field {
	max-width: 570px;
}

/* font for default label */
.powermail_label {
	letter-spacing: 0.4px;
	color: #333333;
	font-weight: 400;
}

/* textarea */
.powermail_textarea {
	padding-top: 10px;
	padding-right: 10px;
	max-width: 560px;
}

/* radio buttons and checkbox */
.checkbox label,
.radio label {
	letter-spacing: 0.4px;
	color: #333333;
}

.powermail_fieldwrap_type_check {
	margin-bottom: 20px;
}

/* remove blue glow from input and textarea */
textarea:focus, input:focus, input[type]:focus, .uneditable-input:focus {
	border: 1px solid #333;;
	box-shadow: none;
	outline: 0 none;
}

/* select */
.powermail_field .powermail_select {
	border: 1px solid #ececec;
	color: #333333;
	padding: 0px 20px;
	margin-bottom: 20px;
	width: 101%;
	background-color: #ECECEC;
	box-sizing: border-box;
	height: 50px;
}

.powermail_field .powermail_select:hover {
	border-color: #333;
	cursor: pointer;
}

/* file upload */
.powermail_fieldwrap_type_file {
	margin-bottom: 10px;
}

.powermail_fieldwrap_type_file .powermail_file {
	height: auto;
	padding-left: 0;
}

/* style with pseudo class  */
.powermail_fieldwrap_type_file input[type="file"]::file-selector-button {
	border: 1px solid #ECECEC;
	background-color: #ECECEC;
	padding: 10px 5px;
	font-size: 1.25em;
}

.powermail_fieldwrap_type_file input[type="file"]::file-selector-button:hover {
	border-color: #333;
	cursor: pointer;
}

/* show text */
.powermail_fieldwrap_type_text {
	margin-bottom: 20px;
}

/* submit button */
.powermail_submit {
	margin-top: 30px;
	padding: 5px 25px !important;
}

.powermail_submit:hover {
	cursor: pointer;
}

/* error messages */
.tx-powermail ul.parsley-errors-list {
	margin-top: 0px;
}

.tx-powermail ul.parsley-errors-list li {
	color: red;
	background: none;
	padding-left: 0px;
}

.tx-powermail .powermail_fieldwrap_type_radio .powermail_field_error_container {
	margin-top: 10px;
}

/* confirmation page */
.powermail_confirmation .powermail_all_label {
	padding-left: 0;
	font-size: 1.25em;
}

.powermail_confirmation .powermail_all_value {
	font-size: 1.25em;
}

.powermail_confirmation .btn-group {
	display: flex;
	justify-content: space-between;
}

.powermail_confirmation .btn-group input[type="submit"] {
	background-image: none;
	background-color: #ECECEC;
	border: 1px solid #ECECEC;
	padding: 10px 5px;
	font-size: 1.25em;
	height: auto;
	width: auto;
	min-width: 100px;
}

.powermail_confirmation .btn-group input[type="submit"]:hover {
	border-color: #333;
	cursor: pointer;
}

.powermail_fieldwrap_type_file .drop-zone {
	max-width: 100%;
	min-height: 80px;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-weight: 500;
	font-size: 20px;
	color: #cccccc;
	border: 4px dashed #ECECEC;
	flex-wrap: wrap;
}
.powermail_fieldwrap_type_file .drop-zone.draggedover {
	border: 4px dashed #b4b4b4;
}

.powermail_fieldwrap_type_file  .file_upload {
	cursor: pointer;
	background-color: #cccccc;
	color: #333333;
	padding: 5px;
	font-size: 18px;
}

.powermail_fieldwrap_type_file .drop-zone--over {
	border-style: solid;
}

.powermail_fieldwrap_type_file .drop-zone__input {
	display: none;
}

.powermail_fieldwrap_type_file #gallery {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.powermail_fieldwrap_type_file .drop-zone__thumb {
	width: 100%;
	height: 80px;
	max-width: 120px;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	margin: 3px;
	z-index: 2;
}

.powermail_fieldwrap_type_file .drop-zone__thumb img {
	width: 100%;
	height: 80px;
	overflow: hidden;
}

.powermail_fieldwrap_type_file .parsley-errors-list {
	width: 100%;
}

.powermail_fieldwrap_type_file .drop-zone__thumb .thumb_text {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #ffffff;
	background: rgba(0, 0, 0, 0.5);
	font-size: 10px;
	text-align: center;
	display: none;
	padding: 5px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.powermail_fieldwrap_type_file .drop-zone__thumb:hover .thumb_text {
	display: flex;
}

.powermail_fieldwrap_type_file .drop-zone__thumb:hover .thumb_text p {
	font-size: 10px;
	line-height: normal;
	margin: 0 5px;
	word-break: break-all;
}

.powermail_fieldwrap_type_file .drop-zone__thumb:hover .thumb_text .file_info .delete {
	background-color: transparent;
	background-image: none;
	border-width: 0;
	border-style: solid;
	border-color: #e2e8f0;
	cursor: pointer;

	& :hover svg{
		fill: #333333;
	}
}

.powermail_fieldwrap_type_file .drop-zone__thumb:hover .thumb_text .file_info .delete svg {
	fill: white;
}

.powermail_fieldwrap_type_file .drop-zone__thumb:hover .thumb_text .file_info .delete :hover svg {
	fill: white;
}

.powermail_fieldwrap_type_file .drop-zone__thumb:hover .thumb_text .file_info {
	display: flex;
	justify-content: space-evenly;
	margin-top: 5px;
}

.powermail_fieldwrap_type_file .hidden {
	display: none;
}
