/*************/
/*  form settings - from cf7.css */
/*************/
.form-control:focus, form input:focus, form textarea:focus, select:focus {
    outline-style:none;
    outline:0 !important;
    -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.2) !important;
    box-shadow: 0 0 4px rgba(0,0,0,0.2)!important;
 }
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-animation: autofill 0s forwards;
    animation: autofill 0s forwards;
}
@keyframes autofill {
    100% {
        background: #fff;
        color: #8B8B8B;
    }
}
@-webkit-keyframes autofill {
    100% {
        background: #fff;
        color: #8B8B8B;
    }
}
/* placeholder */
*::-webkit-input-placeholder {
    color: #8B8B8B;
}
*:focus::-webkit-input-placeholder {
    color:#8B8B8B;
}

*:-moz-placeholder {
    /* FF 4-18 */
    color: #8B8B8B;
    opacity: 1;
}
*::-moz-placeholder {
    /* FF 19+ */
    color: #8B8B8B;
    opacity: 1;
}
*:focus::-moz-placeholder {
    color:#8B8B8B;
}
*:-ms-input-placeholder {
    /* IE 10+ */
    color: #8B8B8B;
}
*::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #8B8B8B;
}
*:focus::-ms-input-placeholder {
    color:#8B8B8B;
}
*::placeholder {
    /* modern browser */
    line-height:1.25!important;
    color: #8B8B8B!important;
}
*:focus::placeholder {
    color:#8B8B8B;
}
/**/
input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input, select {
    border: 1px solid #000;
    color: #000;
    background-color: #fff;
    width: 100%;
    height: 46px;
    line-height: 46px;
    border-radius: 0;
    font-weight: 400;
    padding: 0 16px;
    transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -webkit-transition: all 0.15s ease-in-out;
}

input[type="radio"], input[type="checkbox"] {
    height: auto!important;
    line-height: 1.6;
    width: auto
}
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #000;
    color: #000;
    width:100%;
    background-color: #fff;
    padding: 3px 16px;
    border-radius:0;
}

/**/
div.wpcf7 {
    position: relative;
    margin: 0 auto 30px!important;
	  width: 780px;
    max-width: 100%;
}
div.wpcf7 p:empty:before {
    display:none
}
div.wpcf7 h3, div.wpcf7 p {
    margin-bottom:10px;
	line-height: 1.4;
}
div.wpcf7 p:empty {
    margin:0;
    line-height: 0
}
div.wpcf7 p.small-text {
    margin-bottom: 5px;
    font-size: 14px;
}
div.wpcf7 .cf7-small-text {
    font-size: 12px;
    margin-bottom: 0;
}

.wpcf7 label {
    line-height: 1.4;
    display: block;
    font-weight: normal;
}
.wpcf7 label .label-text {
    display: inline-block;
    line-height: 1;
    margin-bottom:6px
}
.wpcf7 label a {
    color:#000;
    font-weight: normal;
	   transition: color .5s
}
.wpcf7 label a:hover, .wpcf7 label a:focus {
    color:#ff4f00;
	font-weight: normal;
}
.white-text .wpcf7 .form-control {
	color:#000;
}
.wpcf7 input[type="submit"] {
  width: auto
}
.wpcf7-select.form-control {
    padding-left:12px
}
.wpcf7-form-control {
    margin-bottom: 10px!important;
}
.wpcf7-form-control-wrap {
    display: block;
    position: relative;
}
.wpcf7-form-control.wpcf7-acceptance {
    margin-bottom: 30px!important;
    margin-top: 20px;
}
.wpcf7-form-control-wrap .custom-dropdown {
	margin-bottom:0;
	padding-bottom: 22px
}
.wpcf7 textarea.form-control {
    height: 125px;
	   display: block;
}
.wpcf7-form-control.wpcf7-acceptance {
    display: block;
}

/* custom radio */
.wpcf7-form-control.wpcf7-radio.radio_wrap {
    padding-left:56px
}

.wpcf7-radio span.wpcf7-list-item, .radio-input {
    position: relative;
    margin: 0 24px 0 0;
}
.radio-input {
	margin-bottom: 15px
}
.wpcf7-radio input[type="radio"], .radio-input input[type="radio"], .wc_payment_method input[type="radio"],
#add_payment_method #payment ul.payment_methods li input,
.woocommerce-cart #payment ul.payment_methods li input,
.woocommerce-checkout #payment ul.payment_methods li input {
    opacity: 0;
    width: 25px;
    position: relative;
    z-index: 2;
    margin-right: 10px;
}
.radio-input input[type="radio"] {
	margin: 0 10px 0 0;
	padding: 0;
}
.wpcf7-radio .wpcf7-list-item-label {
    line-height: 20px;
    cursor: pointer;
}
.wc_payment_method input[type="radio"] + label {
  cursor: pointer
}
.wpcf7-radio input[type="radio"] + span::before, .radio-input  input[type="radio"] + span::before,
.wc_payment_method input[type="radio"] + label::before {
    display: inline-block;
    vertical-align: middle;
    position: absolute;
}
.wpcf7-radio input[type="radio"] + span::before, .radio-input  input[type="radio"] + span::before,
.wc_payment_method input[type="radio"] + label::before {
	width: 25px;
    height: 25px!important;
	text-align: center;
    cursor: pointer;
    border: 1px solid #000;
    background: #fff;
    border-radius: 50%;
    line-height: 23px;
    left: 0;
    top: 0;
    font-family: 'icomoon';
    content: '\e90e';
    z-index: 1;
	  transition: all 0.25s ease-in-out;
    font-size:0;
    color: transparent;
}
.wpcf7-radio input[type="radio"]:checked + span::before, .radio-input  input[type="radio"]:checked + span::before,
.wc_payment_method input[type="radio"]:checked + label::before {
    color: #ff4f00;
	  font-size: 15px
}

/* checkbox & acceptance */
/* set icon from icomoon */

.wpcf7-checkbox .wpcf7-list-item {
    margin: 0 24px 0 0;
}
.wpcf7-checkbox label {
    margin-top: 15px;
}
.woocommerce-form__label-for-checkbox {
    margin-bottom: 0;
}
.wpcf7-checkbox label span, .woocommerce-form__label-for-checkbox span {
    display: table;
}
/*input-checkbox*/
.wpcf7-form-control.wpcf7-acceptance  {
    padding: 0;
}
.wpcf7-checkbox label,
.wpcf7 .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item,
.woocommerce-form__label-for-checkbox {
    position: relative;
    display: block;
    min-height: 2rem;
    margin-left:0;
}
.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
    margin-bottom: 17px;
    margin-top: 5px;
}
.woocommerce-form__label-for-checkbox {
  min-height: auto;
}
.wpcf7 .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item > label {
    display:flex!important
}
.wpcf7-checkbox label input[type="checkbox"],
.wpcf7 .wpcf7-form-control.wpcf7-acceptance input,
label.custom-checkbox input,
.woocommerce-form__label-for-checkbox input[type="checkbox"]  {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.wpcf7-checkbox label span,
.wpcf7 .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label,
label.custom-checkbox span,
.woocommerce-form__label-for-checkbox span:not(.optional)  {
    padding-left: 34px;
    position: relative;
    cursor:pointer;
    line-height: 1.2;
}
.filter-check-group  label.custom-checkbox span {
    line-height: 22px
}
.woocommerce form .form-row label.woocommerce-form__label-for-checkbox {
    line-height: 1.2
}
#order_review .wc-gzd-checkbox-placeholder p.form-row label.woocommerce-form__label-for-checkbox {
    display: inline-block
}
label[for="legal"] abbr.required {
	position: absolute;
	left: 100%;
	top:0
}
.woocommerce-form__label-for-checkbox span {
  line-height: inherit;
}
.wpcf7 .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label {
  padding-top: 3px;
}
.wpcf7 .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px;
    line-height: 1.4;
}
.wpcf7-checkbox label  input + span::before,
.wpcf7 .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item  label input + span.wpcf7-list-item-label::before,
label.custom-checkbox input + span::before,
.woocommerce-form__label-for-checkbox input + span:not(.optional)::before  {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    line-height: 22px;
    font-size: 18px;
    font-style: normal;
    content: '\e90a';
    font-family: "icomoon";
    color: #fff;
    text-align: center;
    background-color: #fff;
    pointer-events: none;
    border: 1px solid #000;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.wpcf7-checkbox label  input:checked + span::before,
.wpcf7 .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item label input:checked + span.wpcf7-list-item-label::before,
label.custom-checkbox input:checked + span::before,
.woocommerce-form__label-for-checkbox input:checked + span:not(.optional)::before {
    color: #ff4f00;
}
.wpcf7-checkbox label  input.invalid + span::before,
.wpcf7 .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item label input.invalid + span.wpcf7-list-item-label::before,
label.custom-checkbox input.invalid + span::before,
.woocommerce-form__label-for-checkbox input.invalid + span:not(.optional)::before {
    color: #fff;
}
.wpcf7-checkbox label  input.invalid + span::before,
.wpcf7 .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item > input.invalid + span.wpcf7-list-item-label::after {
    left: -2.5rem;
    width: 1.5rem;
    height: 1.5rem;
}

/* spinner */
.wpcf7 .wpcf7-spinner {
    position: absolute;
    right: 20px;
    margin: 10px;
	bottom: 0;
}

/* errors  */
span.wpcf7-not-valid-tip {
    font-size: 12px;
	line-height: 1.4;
    font-weight: normal;
    display: block;
    position: absolute;
    bottom: -5px;
    left: 0;
}
.wpcf7-form-control.wpcf7-textarea ~ span.wpcf7-not-valid-tip {
    bottom: -14px
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.form-control.wpcf7-not-valid,
select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required.form-control.wpcf7-not-valid {
    border-color: #dc3232;
}

.cf7-acceptance span.wpcf7-not-valid-tip {
    bottom: -10px;
    width: 100%;
}
div.wpcf7-response-output {
    position: absolute;
    bottom: 40px;
    color: #00253f;
    border-color: #ff4f00;
    font-size: 16px;
	line-height: 1.4;
    max-width: 280px;
    right: 50%;
    margin-right: -140px!important;
    text-align: center;
    background-color: #fff;
    padding: 8px 10px!important;
    border-radius:0;
    box-shadow: 0 3px 5px 1px rgba(0,0,0,0.1);
    cursor: pointer;

}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: 2px solid #ff4f00;
}
div.wpcf7-mail-sent-ok {
    border: 2px solid #00253f;
}

div.wpcf7 .ajax-loader {
    position: absolute;
    left: 50%;
    margin-left: -8px;
    bottom: 16px;
}


@media only screen and (max-width: 767px) {
    .cf7-acceptance span.wpcf7-not-valid-tip {
        bottom: 0;
        position: relative;
    }
    .wpcf7-form-control.wpcf7-radio.radio_wrap {
        padding-left: 0;
    }
    .wpcf7 .row .col-sm-6.empty-col {
        margin:0!important
    }

    .wpcf7-checkbox label span {
        font-size: 14px;
    }
    span.wpcf7-not-valid-tip {
        font-size: 11px;
/*        bottom: -15px;*/
    }
  	.wpcf7-form-control.wpcf7-acceptance {
        margin-bottom: 20px!important;
    }
}
@media (max-width: 575px) {
    .wpcf7 input[type="submit"] {
        float: none!important;
        margin: 25px auto 0;
        display: table;
    }
}

/* captcha - id in admin Forge12*/
input#fmerk_sdpho {
	margin-bottom: 20px;
}
@media (min-width: 768px) {
	input#fmerk_sdpho {
		width: calc(50% - 15px);
	}
}