.clearfix:before,
.clearfix:after {
	display: table;
	content: " ";
}

.clearfix:after {
	clear: both;
}

.form-table.profile-editor tr th {
	width: 250px;
}

.pe-uploaded-image,
.pe-uploaded-file {
	position: relative;
	padding: 10px 0;
    display: inline-block;
}

.pe-close-icon {
	display: block;
	width: 20px;
	height: 20px;
	position: absolute;
	top: 15px;
	right: 5px;
	overflow: hidden;
	cursor: pointer;
}

.pe-uploaded-file .pe-close-icon {
	position: relative;
	float: left;
	margin-right: 10px;
	top: 0;
	left: 0;
}

.pe-close-icon:before,
.pe-close-icon:after {
	content: '';
	width: 24px;
	height: 3px;
	background: #000;
	display: block;
	transform: rotate(45deg);
	top: 8px;
	left: -2px;
	position: relative;
	border-radius: 100%;

	-webkit-transition: all 0.2s ease-in-out 0s;
	-moz-transition: all 0.2s ease-in-out 0s;
	-o-transition: all 0.2s ease-in-out 0s;
	-ms-transition: all 0.2s ease-in-out 0s;
	transition: all 0.2s ease-in-out 0s;
}

.pe-close-icon:after {
	transform: rotate(-45deg);
	top: 6px;
}

.pe-close-icon:hover:before,
.pe-close-icon:hover:after {
	background: red;
}

.form-table.profile-editor p {
	margin-bottom: 0;
}

.form-table.profile-editor input,
.form-table.profile-editor textarea {
	outline: none;
}

.incorrect {
	border-color: red !important;
}

.pe-error-message {
	background-color: #ffebe8;
	border: 1px solid #cc0000;
	padding: 10px 20px;
	border-radius: 5px;
	margin-bottom: 20px;
	clear: both;
	display: block;
}

.pe-success-message {
	background-color: #E8FFEE;
	border: 1px solid #05A301;
	padding: 10px 20px;
	border-radius: 5px;
	margin-bottom: 20px;
	clear: both;
	display: block;
}

.form-table.profile-editor.extra .pe-incorrent-error {
	position: relative !important;
	top: 0 !important;
	left: 0 !important;
	right: auto !important;
}

.form-table.profile-editor.extra input[type="file"] {
	display: block !important;
}

/* Style1 */

.pe-edit-form.style1 {
	margin-bottom: 35px;
}

.pe-edit-form.name.style1 .pe-edit-item {
	width: 50%;
	float: left;
}

.pe-edit-form.yourself.style1 .pe-edit-row .pe-edit-item {
	width: 50%;
	float: left;
}

.pe-edit-form.name.style1 .pe-edit-item:nth-child(1),
.pe-edit-form.yourself.style1 .pe-edit-row .pe-edit-item:nth-child(1) {
	padding-right: 15px;
}

.pe-edit-form.name.style1 .pe-edit-item:nth-child(2),
.pe-edit-form.yourself.style1 .pe-edit-row .pe-edit-item:nth-child(2) {
	padding-left: 15px;
}

.pe-edit-form.style1 .pe-form-heading {
	color: #428bca;
	margin-bottom: 25px;
	padding-bottom: 5px;
	font-size: 18px;
	border-bottom: 1px dotted #cacaca;
	display: block;
	clear: both;
}

.pe-edit-form.style1 .pe-edit-item label {
	display: block;
	margin-bottom: 5px;
	color: #616f77;
	font-size: 14px;
	font-weight: 400;
	position: relative;
}

.pe-edit-form.style1 .pe-edit-item input[type=text],
.pe-edit-form.style1 .pe-edit-item input[type=password],
.pe-edit-form.style1 .pe-edit-item textarea {
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	background-image: none;
	color: #616f77;
	outline: 0;
	vertical-align: top;
	background-color: #fff;
	-webkit-filter: none!important;
	filter: none!important;
	box-shadow: none;
	border-radius: 2px;
	border: 1px solid #dbe0e2;

	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.pe-edit-form.style1 .pe-edit-item textarea {
	height: auto;
}

.pe-edit-form.style1 .pe-edit-item input[type=text]:not(.pe-read-only):focus,
.pe-edit-form.style1 .pe-edit-item input[type=password]:not(.pe-read-only):focus,
.pe-edit-form.style1 .pe-edit-item textarea:focus,
.pe-edit-form.style1 .pe-edit-item select:focus {
	border-color: #22beef !important;
}

.pe-edit-form.style1 .pe-edit-item input[type=text]:not(.pe-read-only):hover,
.pe-edit-form.style1 .pe-edit-item input[type=password]:not(.pe-read-only):hover,
.pe-edit-form.style1 .pe-edit-item textarea:hover,
.pe-edit-form.style1 .pe-edit-item select:hover {
	border-color: #b1bac0;
}

html body .pe-edit-form.style1 .pe-edit-item input.pe-read-only {
	cursor: not-allowed;
	background-color: #eee;
}

.pe-edit-form.style1 .pe-edit-item {
	display: block;
	margin-top: 5px;
	margin-bottom: 10px;
	font-size: 12px;
	color: #95a2a9;
	position: relative;
}

.pe-edit-form.style1 .pe-edit-item input[type="checkbox"] {
	position: relative;
	top: 6px;
	width: 20px;
	height: 20px;
	opacity: 0;
	cursor: pointer;
	margin-right: 4px;
}

.pe-edit-form.style1 .pe-edit-item .pe-fake-checkbox {
	width: 20px;
	height: 20px;
	display: block;
	border: 1px solid rgba(0,0,0,.2);
	position: absolute;
	top: 10px;

	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.pe-edit-item.style1 label.pe-checkbox:hover .pe-fake-checkbox,
.pe-edit-item.style1 label.pe-radio:hover .pe-fake-radio {
	border-color: #22beef;
}

.pe-edit-form.style1 .pe-edit-item .pe-active .pe-fake-checkbox,
.pe-edit-form.style1 .pe-edit-item .pe-active .pe-fake-radio {
	border-color: #428bca;
	background-color: #428bca;
}

.pe-edit-form.style1 .pe-edit-item .pe-active .pe-fake-checkbox:before {
	content: '';
	display: block;
	width: 12px;
	height: 12px;
	background-color: #fff;
	margin: 0 auto;
	margin-top: 3px;
}

.pe-edit-form.style1 .pe-edit-item input[type="radio"] {
	position: relative;
	top: 5px;
	width: 20px;
	height: 20px;
	opacity: 0;
	cursor: pointer;
	margin-right: 4px;
}

.pe-edit-form.style1 .pe-edit-item .pe-fake-radio {
	width: 20px;
	height: 20px;
	display: block;
	border: 1px solid rgba(0,0,0,.2);
	position: absolute;
	top: 9px;
	border-radius: 50%;

	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.pe-edit-form.style1 .pe-edit-item .pe-active .pe-fake-radio:before {
	content: '';
	display: block;
	width: 12px;
	height: 12px;
	background-color: #fff;
	margin: 0 auto;
	margin-top: 3px;
	border-radius: 50%;
}

.pe-edit-form.style1 .pe-edit-item label.pe-radio {
	margin-bottom: 0;
}

.pe-edit-form.style1 .pe-edit-item .pe-uploaded-image img {
	display: block;
	margin: 0;
}

.pe-edit-form.style1 .pe-styled-upload input[type=file] {
	display: none;
}

.pe-styled-upload {
	position: relative;
}

.pe-styled-upload.incorrect .pe-file-path,
.pe-styled-upload.incorrect button {
	border-color: red !important;
}

.pe-edit-form.style1 .pe-styled-upload button {
	color: #616f77;
	border-radius: 2px 0 0 2px;
	background-color: #fff;
	border: 1px solid #cdd3d7;
	padding: 6px 12px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
	float: left;
}

.pe-edit-form.style1 .pe-styled-upload button:hover {
	background-color: #f2f3f4;
}

.pe-edit-form.style1 .pe-styled-upload button:focus {
	outline: none;
}

.pe-edit-form.style1 .pe-styled-upload .pe-file-path {
	display: block;
	min-width: 350px;
	height: 36px;
	padding: 6px 12px;
	float: left;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
	background-image: none;
	color: #616f77;
	outline: 0;
	vertical-align: top;
	background-color: #fff;
	-webkit-filter: none!important;
	filter: none!important;
	box-shadow: none;
	border-radius: 0 2px 2px 0;
	border: 1px solid #dbe0e2;
	border-left: none;

	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.pe-edit-form.style1 .pe-edit-item select {
	display: block;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
	color: #616f77;
	outline: 0;
	vertical-align: top;
	background-color: #fff;
	-webkit-filter: none!important;
	filter: none!important;
	box-shadow: none;
	border-radius: 2px;
	border: 1px solid #dbe0e2;

	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.pe-edit-form.style1.name .pe-edit-row:last-child .pe-edit-item,
.pe-edit-form.style1.yourself .pe-edit-row:last-child .pe-edit-item {
	margin-bottom: 0;
}

/* Style2 */

.pe-edit-form.style2 {
	margin-bottom: 30px;
}

.pe-edit-form.style2 .pe-edit-item {
	margin-bottom: 10px;
	position: relative;
}

.pe-edit-form.style2 .pe-incorrent-error {
	font-size: 14px;
}

.pe-edit-form.name.style2 .pe-edit-item {
	width: 50%;
	float: left;
}

.pe-edit-form.yourself.style2 .pe-edit-row .pe-edit-item {
	width: 50%;
	float: left;
}

.pe-edit-form.name.style2 .pe-edit-item:nth-child(1),
.pe-edit-form.yourself.style2 .pe-edit-row .pe-edit-item:nth-child(1) {
	padding-right: 15px;
}

.pe-edit-form.name.style2 .pe-edit-item:nth-child(2),
.pe-edit-form.yourself.style2 .pe-edit-row .pe-edit-item:nth-child(2) {
	padding-left: 15px;
}

.pe-edit-form.style2 .pe-form-heading {
	color: #858689;
	text-transform: uppercase;
	border-bottom: 5px solid rgba(0,0,0,.1);
	display: block;
	font-size: 25px;
	padding-bottom: 5px;
	margin-bottom: 20px;
}

.pe-edit-form.style2 .pe-edit-item label {
	color: #555;
	display: block;
	font-size: 13px;
	text-transform: uppercase;
	padding-left: 8px;
	margin-bottom: 6px;
	font-weight: normal;
	position: relative;
}

.pe-edit-form.style2 .pe-edit-item label.pe-checkbox,
.pe-edit-form.style2 .pe-edit-item label.pe-radio {
	padding-left: 0;
}

.pe-edit-form.style2 .pe-edit-item input[type=text],
.pe-edit-form.style2 .pe-edit-item input[type=password],
.pe-edit-form.style2 .pe-edit-item textarea {
	display: block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
	font-weight: 400;
	height: 38px;
	padding: 8px 10px;
	outline: none;
	border-width: 2px;
	border-radius: 3px;
	border-style: solid;
	border-color: #c0c2c7;
	background: #fff;

	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.pe-edit-form.style2 .pe-edit-item textarea {
	height: auto;
}

.pe-edit-form.style2 .pe-edit-item input[type=text]:not(.pe-read-only):focus,
.pe-edit-form.style2 .pe-edit-item input[type=password]:not(.pe-read-only):focus,
.pe-edit-form.style2 .pe-edit-item textarea:not(.pe-read-only):focus {
	border-color: #969fa1;
}

.pe-edit-form.style2 .pe-edit-item input[type=text]:not(.pe-read-only):hover,
.pe-edit-form.style2 .pe-edit-item input[type=password]:not(.pe-read-only):hover,
.pe-edit-form.style2 .pe-edit-item textarea:not(.pe-read-only):hover {
	background-color: #fffbdb;
}

.pe-edit-form.style2 .pe-edit-item .pe-description {
	margin-top: 6px;
	padding: 0 1px;
	font-size: 11px;
	line-height: 15px;
	color: #999;
	display: block;
}

.pe-edit-form.style2 .pe-edit-item .pe-read-only {
	opacity: 0.5;
	cursor: not-allowed;
}

.pe-edit-form.style2 .pe-edit-item input[type="checkbox"] {
	position: relative;
	top: 6px;
	width: 20px;
	height: 20px;
	opacity: 0;
	cursor: pointer;
	margin-right: 4px;
}

.pe-edit-form.style2 .pe-edit-item .pe-fake-checkbox {
	width: 20px;
	height: 20px;
	display: block;
	border: 2px solid #c0c2c7;
	position: absolute;
	top: 10px;

	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.pe-edit-form.style2 .pe-edit-item .pe-active .pe-fake-checkbox,
.pe-edit-form.style2 .pe-edit-item .pe-active .pe-fake-radio {
	border-color: #969fa1;
}

.pe-edit-form.style2 .pe-edit-item .pe-active .pe-fake-checkbox:before {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	background-color: #969fa1;
	margin: 0 auto;
	margin-top: 3px;
}

.pe-edit-form.style2 .pe-edit-item input[type="radio"] {
	position: relative;
	top: 5px;
	width: 20px;
	height: 20px;
	opacity: 0;
	cursor: pointer;
	margin-right: 4px;
}

.pe-edit-form.style2 .pe-edit-item .pe-fake-radio {
	width: 20px;
	height: 20px;
	display: block;
	border: 2px solid #c0c2c7;
	position: absolute;
	top: 9px;
	border-radius: 50%;

	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.pe-edit-form.style2 .pe-edit-item .pe-active .pe-fake-radio:before {
	content: '';
	display: block;
	width: 8px;
	height: 8px;
	background-color: #969fa1;
	margin: 0 auto;
	margin-top: 4px;
	border-radius: 50%;
}

.pe-edit-form.style2 .pe-styled-upload input[type=file] {
	display: none;
}

.pe-edit-form.style2 .pe-styled-upload button {
	background-color: #969fa1;
	opacity: 0.8;
	border-radius: 3px 0 0 3px;
	padding: 0 20px;
	min-height: 0px;
	height: 30px;
	line-height: 30px;
	display: block;
	float: left;

	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.pe-edit-form.style2 .pe-styled-upload button:hover {
	opacity: 1;
}

.pe-edit-form.style2 .pe-styled-upload button:focus {
	outline: none;
}

.pe-edit-form.style2 .pe-styled-upload .pe-file-path {
	display: block;
	min-width: 350px;
	height: 30px;
	padding: 0px 12px;
	float: left;
	font-size: 14px;
	font-weight: 400;
	line-height: 30px;
	background-image: none;
	color: #616f77;
	outline: 0;
	vertical-align: top;
	background-color: #fff;
	-webkit-filter: none!important;
	filter: none!important;
	box-shadow: none;
	border: none;
	border-left: none;

	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.pe-edit-form.style2 .pe-styled-upload {
	border: 2px solid #c0c2c7;
	border-radius: 3px;
	padding: 2px;
}

.pe-edit-form.style2 .pe-edit-item select {
	display: block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	font-weight: 400;
	padding: 6px 10px;
	outline: none;
	border-width: 2px;
	border-radius: 3px;
	border-style: solid;
	border-color: #c0c2c7;
	background: #fff;

	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.pe-edit-form .pe-edit-item .wp-editor-wrap iframe {
	border-right: 1px solid #e5e5e5;
	border-left: 1px solid #e5e5e5;
	box-sizing: border-box;
}

.pe-edit-form .pe-edit-item .wp-editor-wrap textarea {
	border: 1px solid #e5e5e5;
}

.pe-edit-form.style2.name .pe-edit-row:last-child .pe-edit-item,
.pe-edit-form.style2.yourself .pe-edit-row:last-child .pe-edit-item {
	margin-bottom: 0;
}

/* Login form */

.pe-edit-form.login.style1,
.pe-edit-form.login.style2 {
	margin-bottom: 15px;
	max-width: 400px;
	margin: 0 auto;
}

.pe-login-form input[type=text],
.pe-login-form input[type=password] {
	margin-bottom: 10px;
}

.pe-login-form input[type=checkbox] {
	margin-right: 5px;
}

.pe-login-form > a {
	display: block;
	margin-bottom: 10px;
}

.pe-edit-form.login .pe-edit-row .pe-edit-item {
	width: 50%;
	float: left;
	margin-top: 0;
	margin-bottom: 15px;
}

.pe-edit-form.login .pe-edit-row .pe-edit-item:nth-child(2) {
	text-align: right;
}

.pe-edit-form.login.style1 .pe-edit-row .pe-edit-item:nth-child(2) a,
.pe-edit-form.login.style2 .pe-edit-row .pe-edit-item:nth-child(2) a {
	font-size: 14px;
	font-weight: 400;
	display: block;
	margin-top: 8px;
}

.pe-edit-form.login.style2 .pe-edit-row .pe-edit-item:nth-child(2) a {
	font-size: 13px;	
}

.pe-edit-form.login.style2 .pe-edit-row .pe-edit-item:nth-child(2) a:nth-child(2),
.pe-edit-form.login.style1 .pe-edit-row .pe-edit-item:nth-child(2) a:nth-child(2) {
	margin-top: 0;
}

.pe-incorrent-error {
	right: 10px;
	color: red;
}