input[type="text"]:readyonly {
	background: #dddddd;
	border: none;
}

#additional-fields .input-wrap .readonly {
	background: none;
	border: none;
	-moz-appearance: textfield;
	padding-top: 0;
	padding-bottom: 0;
	min-height: initial;
}

#additional-fields .input-wrap .readonly::-webkit-outer-spin-button,
#additional-fields .input-wrap .readonly::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.custom-select {
	min-height: 35px;
}

.custom-select.readonly {
	padding-left: 5px !important;
	padding-right: 0 !important;
}

.custom-select.readonly select {
	padding-left: 0px !important;
}

.input-group-prepend.readonly input[type="text"] {
	padding: 3px 0 !important;
	line-height: 1 !important;
	min-height: auto !important;
}

.custom-select.readonly label {
	display: none;
}

.custom-select select {
	color: #000;
}

.custom-control.custom-radio {
	text-align: left;
	font-size: 14px;
}

.discount-option-type {
	width: 100%;
	float: none;
	clear: both;
	font-size: 14px;
}

.discount-option-type input-wrap:after {
	content: '';
	display: block;
	float: none;
	clear: both;
}

#additional-fields hr {
	padding-bottom: 10px;
	display: block;
	width: 100%;
	clear: both;
	float: none;
	border-top: 1px solid #f2f2f2;
}

.popup--form.fancybox-content {
	padding-top: 20px;
	padding-bottom: 20px;
}

.input-wrap .custom-select select {
	min-height: 35px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.input-wrap input[type="text"],
.input-wrap input[type="email"],
.input-wrap input[type="tel"],
.input-wrap input[type="time"],
.input-wrap input[type="date"],
.input-wrap input[type="number"],
.input-wrap input[type="password"],
.input-wrap select,
.input-wrap textarea {
	min-height: 35px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.custom-radio {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin-bottom: 0;
	width: 100%;
	position: relative;
	z-index: 999;
	pointer-events: auto;
}

.custom-radio [type="radio"]:checked,
.custom-radio [type="radio"]:not(:checked) {
	position: absolute;
	opacity: 0;
	width: 100%;
	z-index: 9999;
	padding: 5px 0;
	margin: 0;
	height: 20px;
	cursor: pointer;
}
.custom-radio [type="radio"]:checked + label,
.custom-radio [type="radio"]:not(:checked) + label {
	position: relative;
	padding-left: 28px;
	cursor: pointer;
	line-height: 20px;
	display: inline-block;
	color: #666;
}
.custom-radio [type="radio"]:checked + label:before,
.custom-radio [type="radio"]:not(:checked) + label:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 18px;
	height: 18px;
	border: 1px solid #ddd;
	border-radius: 100%;
	background: #fff;
}
.custom-radio [type="radio"]:checked + label:after,
.custom-radio [type="radio"]:not(:checked) + label:after {
	content: '';
	width: 12px;
	height: 12px;
	background: #248a60;
	position: absolute;
	top: 4px;
	left: 4px;
	border-radius: 100%;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
.custom-radio [type="radio"]:not(:checked) + label:after {
	opacity: 0;
	-webkit-transform: scale(0);
	transform: scale(0);
}
.custom-radio [type="radio"]:checked + label:after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.input-group-prepend {
	margin-right: -1px;
}

.input-group {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	width: 100%;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group input[type="time"],
.input-group input[type="date"],
.input-group input[type="number"],
.input-group input[type="password"],
.input-group select,
.input-group textarea {
	border-radius: 0 !important;
}

.input-group-append,
.input-group-prepend {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	align-items: center;
	background: #dbe4f5;
	width: 100%;
}

#additional-fields .input-wrap .input-group-prepend .readonly {
	padding-top: 10px;
	padding-bottom: 10px;
}

.input-group-append span,
.input-group-prepend span {
	padding: 0px 5px;
	font-weight: bold;
	display: block;
}

.input-group-append.readonly span,
.input-group-prepend.readonly span {
	padding-left: 0;
	white-space: nowrap;
}

.input-group-text {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding: 0.375rem 0.75rem;
	margin-bottom: 0;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #495057;
	text-align: center;
	white-space: nowrap;
	background-color: #e9ecef;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.popup--form .popup__button {
	padding-top: 15px;
}

.form-fields--computation-wrap {
	float: right;
	width: 40%;
	padding-left: 50px;
}

.popup--form {
	max-width: 850px;
	width: auto;
	min-width: 600px;
}

.popup--form form {
	display: block;
	float: none;
	text-align: left;
	position: relative;
}

.form-fields {
	max-height: initial;
}

.form-fields #additional-fields {
	float: left;
	width: 60%;
	border-top: none;
	padding-top: 0;
	position: relative;
	max-height: 500px;
	overflow: auto;
}

.popup--form form:before {
	content: '';
	display: block;
	height: 65%;
	width: 1px;
	position: absolute;
	right: 0;
	top: 28%;
	background: #eff2f8;
	left: calc(60% + 25px);
}

.input-wrap.wide {
	max-width: 60%;
}

.input-wrap.whole {
	max-width: 100% !important;
	width: 100% !important;
	float: none;
	clear: both;
}

.m-b-5 {
	margin-bottom: 10px;
	display: block;
}

#additional-fields .select2-container.select2-container--default.select2-container--open {
	z-index: 5000;
}

#additional-fields .select2-container--default .select2-selection--single {
	background: transparent;
	border: none;
}

#additional-fields .select2-container--default .select2-selection--single .select2-selection__arrow {
	display: none;
}

.select2-results__option {
	font-size: 14px;
	padding: 4px 10px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	font-size: 14px;
	line-height: 35px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
	background: #eff2f8;
	color: #000;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	font-size: 14px;
	padding: 6px 10px;
}

.select2-container--default .select2-results > .select2-results__options {
	text-align: left;
}

.form-fields .input-hidden {
	display: none !important;
}

.form-fields--computation-wrap .input-wrap-editable {
	width: 100%;
}

.form-fields--computation-wrap .input-wrap-editable label {
	position: relative;
}

.form-fields--computation-wrap .input-wrap-editable label .edit-field {
	font-size: 14px;
	font-style: italic;
	font-weight: 300;
	color: red;
	position: absolute;
	right: 0;
	top: 0;
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 2px;
	cursor: pointer;
}

.input-wrap-editable-editable input[type="text"],
.input-wrap-editable input[type="email"],
.input-wrap-editable input[type="tel"],
.input-wrap-editable input[type="time"],
.input-wrap-editable input[type="date"],
.input-wrap-editable input[type="number"],
.input-wrap-editable input[type="password"],
.input-wrap-editable select,
.input-wrap-editable textarea {
	background: #eff2f8;
	color: #212121;
}

.input-wrap-editable-editable.readonly input[type="text"],
.input-wrap-editable.readonly input[type="email"],
.input-wrap-editable.readonly input[type="tel"],
.input-wrap-editable.readonly input[type="time"],
.input-wrap-editable.readonly input[type="date"],
.input-wrap-editable.readonly input[type="number"],
.input-wrap-editable.readonly input[type="password"],
.input-wrap-editable.readonly select,
.input-wrap-editable.readonly textarea {
	background: transparent;
}

.input-group .dropdown-menu {
	display: none;
	z-index: 1000;
	min-width: 10rem;
	padding: 0.5rem 0;
	margin: 0;
	font-size: 1rem;
	color: #212529;
	text-align: left;
	list-style: none;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 0.25rem;
	position: absolute;
	right: 0;
	top: 100%;
}

.input-group .dropdown-item {
	display: block;
	width: 100%;
	padding: 0.25rem 1rem;
	clear: both;
	font-weight: 400;
	color: #212529;
	text-align: inherit;
	text-decoration: none;
	white-space: nowrap;
	background-color: transparent;
	border: 0;
	font-size: 14px;
	padding: 6px 5px;
	line-height: 1;
}

.input-group .dropdown-item.selected {
	cursor: pointer;
	pointer-events: none;
	background: #dbe4f5;
}

.input-group .dropdown-toggle {
	white-space: nowrap;
	padding: 11px;
	border: 1px solid #ccc;
}

.dropdown-toggle::after {
	display: inline-block;
	margin-left: 0.255em;
	vertical-align: 0.255em;
	content: "";
	border-top: 0.3em solid;
	border-right: 0.3em solid transparent;
	border-bottom: 0;
	border-left: 0.3em solid transparent;
}

.input-group .dropdown-menu {
	top: auto !important;
	display: block !important;
	width: inherit;
	width: auto;
	position: relative;
	white-space: nowrap;
	padding: 11px 11px 8px;
	border: 1px solid #ccc;
	background-color: #f4f4f4;
	font-weight: 400;
	font-size: 14px;
	background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
	background-repeat: no-repeat;
	background-position-x: 100%;
	background-position-y: 5px;
}

.input-wrap.input-wrap-editable .field-static label .edit-field {
	position: relative;
	display: block;
	padding-left: 0;
	padding-top: 0;
	line-height: 1;
}

.form-fields .field-static p {
	width: 100%;
	text-align: right;
}

.input-wrap.input-wrap-editable .field-static input[type="text"] {
	display: block;
	padding: 0px;
	margin-top: 3px;
	text-align: right;
}

.asterisk {
	display: inline-block;
	color: #ff4343;
}

.form-v2-error {
	display: none;
	clear: both;
	padding: 5px 15px;
	margin: 0px 5px;
	border: 1px solid #ff4343;
	margin-top: 10px;
	margin-bottom: 15px;
	color: #ff4343;
	font-size: 13px;
}

.form-v2-error.active {
	display: block;
}
