.appform input, .appform textarea {
	width: 100%;
}

.appform input:not(:last-child) {
	margin-bottom: 15px;
}

.appform button {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.appform button:hover {
	background-color: rgb(73, 203, 2);
}

.appform .g-recaptcha {
	margin-top: 15px;
	margin-bottom: 15px;
}

.appform .app-form-title {
	text-align: center;
}

.appform>form {
	max-width: 550px;
	margin: 0 auto;
}

.popup {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	visibility: hidden;
	opacity: 0;
	transition: visibility 0s, opacity 0.25s;
    z-index: -1;
}

.popup.active {
	visibility: visible;
	opacity: 1;
    z-index: 10000;
}

.popup-content {
    position: relative;
	max-width: 450px;
    max-height: 90%;
	background-color: #f5f6f7;
	padding: 50px 40px;
	border-radius: 6px;
    overflow-y: auto;
}

#popup-policy .popup-content {
    max-width: 600px;
}

.popup .close-btn {
    position: absolute;
    top: 10px;
    right: 13px;
    display: inline-block;
    color: #aaa;
    font-size: 45px;
    line-height: 100%;
	cursor: pointer;
}

.checkbox-container {
	margin-bottom: 20px;
}

.appform .checkbox__input {
	display: none;
}

.appform .checkbox__label {
	position: relative;
	padding-left: 30px;
	cursor: pointer;
}

.appform .checkbox__label::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	background-color: #fff;
}

.appform .checkbox__input:checked+.checkbox__label::after {
	background-image: url('/bitrix/templates/pscb.ru-RESP/images/csscheckbox.png');
	background-color: #fff;
	background-size: 100%;
	background-position: 0 100%;
	border: 0;
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
}

.appform .checkbox__label::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	background-color: transparent;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-sizing: border-box;
	transition: border 0.2s ease 0s;
}

.appform .error {
	background-color: rgba(255, 0, 0, 0.2);
    border-color: transparent !important;
}
