@charset "utf-8";

/* BUTTONS */
a.button, .repeater_button, button {
	display: inline-block;
	position: relative;
	padding: 10px 15px;
	margin: 10px 0;
	border: 3px solid #000;
	text-transform: uppercase;
	font-weight: 800;
	color: #000;
	background: #fff;
	opacity: 1;
	cursor: pointer;
	transition: all 0.3s;
}
a.button, .repeater_button:hover, button:hover {
	background: #f1f1f1;
}
a.button:hover, .repeater_button:hover {
	opacity: 0.5;
	transition: all 0.3s;
}

.pe_message.message {
	border: 3px solid #099;
	background: #efe;
	color: #099;
	padding: 5px 10px;
	margin-bottom: 10px;
	font-weight: 700;
}
.pe_message.message.error {
	border: 3px solid #d00;
	background: #fee;
	color: #d00;
}
.pef .field_wrap {
	padding: 5px 0;
}

.pef label, .pef .label {
	font-weight: 700;
}

.pef_field.required label > span:first-child::after, .pef_field.required .label::after {
	content: ' *';
}

.pef .field_wrap, .pef label {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.pef .options_wrap {
	display: block;
	position: relative;
	clear: both;
	overflow: hidden;
}

.pef .options_wrap label, .pef .options_wrap .label {
	font-weight: normal;
	margin-right: 20px;
	text-transform: none;
}

.pef .field_wrap.radio label {
	display: inline-block;
	width: auto;
	text-transform: none;
}

.pef .field_wrap .description, .pef .field_wrap label .description {
	display: block;
	font-weight: 400;
	text-transform: none;
	font-style: italic;
	font-size: 0.95em;
	color: #777;
}

.pef .field_wrap .sub_field_wrap {
    background: #fafafa;
    margin: 8px 0 10px;
	padding: 5px 10px;
    border: 1px solid #ccc;
}

.pef .field_wrap .repeater.sub_field_wrap {
    background: #fff;
}

.repeat_block {
    background: #fafafa;
	border: 1px solid #ccc;
	padding: 5px 10px;
	margin: 3px 0 12px;
}

.pef .field_wrap a {
	text-transform: none;
}

.pef input[type="text"], #loginform input[type="text"], .pef input[type="number"], .pef input[type="email"], .pef input[type="date"], .pef input[type="file"], .pef input[type="password"], #loginform input[type="password"], .pef textarea, .pef select {
	display: block;
	width: 100%;
	border: 1px solid #ccc;
	box-sizing: border-box;
	height: 36px;
	margin-top: 2px;
	padding-left:10px;
	padding-right: 10px;
	font-size: 1em;
	text-transform: none;
}

.pef textarea {
	height: 100px;
}

.pef .pe_input.readonly {
	background: #efefef;
	color: #888;
}

.pef input[type="file"] {
	border: none;
}

.pef input[type="submit"], #loginform input[type="submit"] {
	color: #000;
	border: 3px solid #000;
	font-size: 1.5em;
	padding: 15px 20px;
	margin-top: 15px;
	transition: all 0.3s;
}

.pef input[type="submit"]:hover, input[type="submit"]:hover {
	background: #000;
	color: #fff;
	transition: all 0.3s;
	opacity: 1;
}

.pef .file_preview {
	position: relative;
	width: auto !important;
	max-width: 40%;
}

.pef .file_preview .delete_file {
	display: none;
}

.pef .file_preview.has_img .delete_file {
	display: block;
	position: absolute;
	width: 28px;
	height: 28px;
	padding: 0;
	top: -10px;
	right: -14px;
	background: #f00;
	color: #fff !important;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
	text-align: center;
	cursor: pointer;
}

.pef .file_preview .delete_file:hover {
	background: #c00;
}

.pef .file_preview .delete_file::before {
	content: 'x';
}

.pef p.work_site {
	position: relative;
	margin: 10px 0 !important;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;	
}

.pef a.delete_site {
	position: absolute;
	top: 50%;
	margin-top: -14px;
	right: 0;
	background: #f00;
	padding: 2px 8px;
	color: #000 !important;
	border: 1px solid #000;
}

form.pef.search {
	display: block;
	width: 100%;
	float: none;
	clear: both;
	overflow: hidden;
	margin-bottom: 10px;
}
.pef.search input[type="text"], .pef.search input[type="submit"] {
	display: inline-block;
	width: auto;
	height: 36px;
	padding: 2px 10px;
	margin: 5px 5px 5px 0;
	float: left;
}
body .pef .grecaptcha-badge {
	visibility: visible;
	margin: 10px 0;
}
@media screen and (min-width: 981px){
	.pef .pe_input.city_label, .pe_input.state_label, .pef .pe_input.zip_label, .pe_input.country_label {
		width: 49%;
		float: left;
	}
	.pef .pe_input.city_label, .pef .pe_input.zip_label {
		margin-right: 2%;
	}
}

/* SELECT 2 */
.select2-container {
	display: block;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
	padding: 0 3px !important;
}
.select2-container--default .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
	padding: 3px 0;
	height: auto;
}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border-color: #ccc;
}
.select2-dropdown,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    border-radius: 0px !important;
}
.select2-container .select2-selection {
	line-height: 1em;
}
.select2-container .select2-selection--single .select2-selection__rendered {
	padding-left: 10px;
	font-weight: 400;
	text-transform: none;
}
.select2-container-multi .select2-choices .select2-search-field input {
	height: auto;
}
.select2-container-multi .select2-choices .select2-search-choice {
	line-height: 19px;
}
.select2-container-multi .select2-search-choice-close {
	top: 6px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
	margin-top: 3px;
	margin-bottom: 1px;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
	font-weight: 400;
	text-transform: none;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background: rgba(200,200,200,0.2);
}
.select2-container .select2-search--inline .select2-search__field {
	margin-top: 8px;
	margin-left: 4px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 6px;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
	margin-right: 5px;
}

/* AJAX FILE UPLOAD */
.ajax_file_upload {
	background: #efefef;
	border: 3px dashed #999;
	padding: 10px;
	margin-top: 10px;
	cursor: pointer;
}
.ajax_file_upload.dz-drag-hover {
	background: #C2FEBC;
	border-color: #007700;
	color: #007700;
}

/* ERRORS */
.pef .error_message {
	display: none;
	color: #f00;
}

.pef .field_wrap.error .error_message {
	display: block;
	text-transform: none;
}

.pef .field_wrap.error input, .pef .field_wrap.error div.label, .pef label.error input {
	border: 1px solid #f00;
}

.pef .field_wrap.error label, .pef .field_wrap.error div.label, .pef .field_wrap label.description.error {
	color: #f00;
}

/* EDIT/LIST TABLE */
.pef_edit_table {
	width: 100%;
	border: 2px solid #000;
	margin-bottom: 15px;
}
.pef_edit_table th {
	padding: 10px;
	background: #000;
	color: #fff;
}
.pef_edit_table th a {
	color: #fff;
}
.pef_edit_table tr {
	transition: 0.2s all;
}
.pef_edit_table td {
	padding: 0;
}
.pef_edit_table td a {
	display: block;
	width: 100%;
	padding: 5px 10px;
	transition: 0.2s all;
}
.pef_edit_table tr:nth-child(2n) {
	background: rgba(0,0,0,0.05);
}
.pef_edit_table tbody tr:hover {
	background: rgba(0,0,0,0.7);
}
.pef_edit_table tbody tr:hover a {
	color: #fff;
}
