@font-face {
    font-family: "Twemoji Country Flags";
    src: url("../validForm/TwemojiCountryFlags.woff2")
}

.validForm input:not([type=submit]) {
    border-radius: 0 !important;
}

.validForm input:not([type=submit]) {
    border-bottom: 1px solid #000000 !important;
}

.validForm__phone {
    position: relative;
    z-index: 1
}

.validForm__phone .numbers-left {
    position: absolute;
    bottom: 0;
    right: 0;
    background: red;
    padding: 3px 0;
    text-align: center;
    width: 24px;
    border-radius: 6px 0 0 0;
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.validForm__phone .list-country {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 110px;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    cursor: pointer;
    gap: 8px;
    font-family: -apple-system, "Twemoji Country Flags", Arial, sans-serif !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0 10px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
}

.validForm__phone .list-country span {
    font-family: -apple-system, "Twemoji Country Flags", Arial, sans-serif !important;
}

.validForm__phone .list-country::before {
    content: "";
    position: absolute;
    right: 10px;
    top: calc(50% - 3px);
    width: 6px;
    height: 6px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    -webkit-transition: all .2s;
    transition: all .2s
}

.validForm__phone .list-country:hover {
    background-color: rgba(0, 0, 0, .1);
}

.validForm__phone .list-info {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    width: 100%;
    max-width: 400px;
    min-width: 300px;
    overflow-y: auto;
    max-height: 180px;
    z-index: 2;
    background-color: #fff;
    padding: 10px 20px;
    -webkit-box-shadow: 2px 4px 10px rgba(0, 0, 0, .1);
    box-shadow: 2px 4px 10px rgba(0, 0, 0, .1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    list-style: none;
    font-size: 14px;
    border-radius: 0 6px 6px 6px;
    font-family: -apple-system, "Twemoji Country Flags", Arial, sans-serif !important;
}

.validForm__phone .list-info::-webkit-scrollbar {
    width: 6px;
    height: 10px;
    background-color: #ccc
}

.validForm__phone .list-info::-webkit-scrollbar-thumb {
    background-color: #000;
    outline: 0;
    border-radius: 10px
}

.validForm__phone .list-info li {
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
    padding-top: 8px;
    font-weight: 500;
    -webkit-transition: all .5s;
    transition: all .5s;
    letter-spacing: .325px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: -apple-system, "Twemoji Country Flags", Arial, sans-serif !important;
}

.validForm__phone .list-info li:hover {
    background: #f2f2f2
}

.validForm__phone .list-info li span {
    opacity: .6
}

.validForm__phone.active {
    z-index: 5
}

.validForm__phone.active .list-country {
    background: #fff;
    -webkit-box-shadow: 0 -1px 4px rgba(0, 0, 0, .1);
    box-shadow: 0 -1px 4px rgba(0, 0, 0, .1);
    z-index: 10
}

.validForm__phone.active .list-country::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    background: #fff
}

.validForm__phone.active .list-country::before {
    -webkit-transform: translateY(-2px) rotate3d(0, 0, 1, 45deg);
    transform: translateY(-2px) rotate3d(0, 0, 1, 45deg)
}

.validForm__block {
    position: relative
}

.validForm__block.block-2 {
    width: calc(50% - 5px)
}

@media (max-width: 1023px) {
    .validForm__block.block-2 {
        width: 100%
    }
}

.validForm__block.block-3 {
    width: calc(33.333% - 6.7px)
}

@media (max-width: 1023px) {
    .validForm__block.block-3 {
        width: 100%
    }
}

.validForm__block.block-4 {
    width: calc(25% - 7.5px)
}

@media (max-width: 1023px) {
    .validForm__block.block-4 {
        width: 100%
    }
}

.validForm__block.block-1 {
    width: 100%
}

.validForm__block.block-name input:not([type=submit]) {
    padding-left: 48px
}

.validForm__block.block-name::before {
    content: "";
    position: absolute;
    left: 16px;
    top: calc(50% - 12px);
    width: 24px;
    height: 24px;
    background-image: url(../validForm/icon-user.svg);
    background-size: cover
}

.validForm__block.block-mail input:not([type=submit]) {
    padding-left: 48px
}

.validForm__block.block-mail::before {
    content: "";
    position: absolute;
    left: 16px;
    top: calc(50% - 12px);
    width: 24px;
    height: 24px;
    background-image: url(../validForm/icon-mail.svg);
    background-size: cover
}

.validForm__block button[type=submit], .validForm__block input[type=submit] {
    width: 100%;
    height: 64px;
    background: -webkit-gradient(linear, right top, left bottom, color-stop(40%, #0bc594), to(#138f6f));
    background: linear-gradient(to bottom left, #0bc594 40%, #138f6f 100%);
    border-radius: 6px;
    border: 1px solid #0bc594;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.validForm__block button[type=submit]:disabled, .validForm__block input[type=submit]:disabled {
    pointer-events: none;
    opacity: .5
}

.validForm__block button[type=submit]:hover, .validForm__block input[type=submit]:hover {
    opacity: .8
}

.d-checkbox {
    width: 100%;
    margin: 24px 0;
    display: block;
    position: relative
}

.d-checkbox_input {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    visibility: hidden
}

.d-checkbox_input:checked ~ .d-checkbox_check {
    border: 2px solid green
}

.d-checkbox_input:checked ~ .d-checkbox_check::before {
    opacity: 1
}

.d-checkbox_input.not-checked:not(:checked) ~ .d-checkbox_check {
    border: 2px solid red
}

.d-checkbox_check {
    position: absolute;
    left: 0;
    top: -4px;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 2px solid #ccc;
    -webkit-transition: all .5s;
    transition: all .5s
}

.d-checkbox_check::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 3px;
    width: 6px;
    height: 12px;
    border-bottom: 2px solid green;
    border-right: 2px solid green;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    opacity: 0;
    -webkit-transition: all .5s;
    transition: all .5s
}

.d-checkbox_text {
    display: inline-block;
    position: relative;
    padding-left: 36px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
}

.d-checkbox_text a {
    color: green;
    text-decoration: underline
}

.validForm__block input:not([type=submit]) {
    width: 100%;
    outline: 0;
    border-radius: 0 !important;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.validForm__block input[type=tel]::placeholder {
    color: rgba(25,22,29,.6);
}

.validForm__block input[type=tel] {
    padding-left: 14px;
}

.validForm__block input:not([type=submit]).empty-input, .validForm__block input:not([type=submit]).wrong-mail, .validForm__block input:not([type=submit]).wrong-phone {
    border-bottom: 1px solid red !important;
}

.validForm__block input[type=tel] {
    padding-left: 120px;
}

.validForm__block textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    min-height: 120px;
    outline: 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 24px;
    font-size: 16px;
    line-height: 1;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.validForm__block textarea:hover {
    border: 1px solid #000
}

.validForm__block textarea:focus {
    border: 1px solid #000
}

.validForm__block textarea.empty-input {
    border: 1px solid red
}

.validForm--alert {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 400px;
    padding: 16px 80px 30px 20px;
    min-height: 70px;
    -webkit-box-shadow: 2px 5px 15px rgba(0, 0, 0, .15);
    box-shadow: 2px 5px 15px rgba(0, 0, 0, .15);
    border-radius: 6px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
    z-index: 10;
    -webkit-transition: all .5s;
    transition: all .5s
}

@media (max-width: 560px) {
    .validForm--alert {
        width: calc(100% - 48px)
    }
}

.validForm--alert::before {
    content: "";
    position: absolute;
    left: -6px;
    top: -6px;
    width: calc(100% + 3px);
    height: calc(100% + 3px);
    border-radius: 6px;
    z-index: 1
}

.validForm--alert_text {
    font-size: 16px;
    line-height: 1.2;
    z-index: 3;
    position: relative
}

.validForm--alert_close {
    position: absolute;
    right: 3px;
    top: -6px;
    width: 36px;
    height: 36px;
    border-radius: 0 0 0 6px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    cursor: pointer;
    z-index: 2;
    -webkit-transition: all .5s;
    transition: all .5s
}

.validForm--alert_close::after, .validForm--alert_close::before {
    content: "";
    position: absolute
}

.validForm--alert_close::before {
    right: 16px;
    top: calc(50% - 7px);
    width: 2px;
    height: 14px;
    background-color: #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all .5s;
    transition: all .5s
}

.validForm--alert_close::after {
    right: 16px;
    top: calc(50% - 7px);
    width: 2px;
    height: 14px;
    background-color: #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: all .5s;
    transition: all .5s
}

.validForm--alert_close:hover::before {
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg)
}

.validForm--alert_close:hover::after {
    -webkit-transform: rotate(-225deg);
    transform: rotate(-225deg)
}

.validForm--alert.error {
    border: 2px solid #ef8d9c;
    color: #fff
}

.validForm--alert.error::before {
    background: -webkit-gradient(linear, left bottom, right top, color-stop(40%, #ef8d9c), to(#ffc39e));
    background: linear-gradient(to top right, #ef8d9c 40%, #ffc39e 100%)
}

.validForm--alert.warning {
    border: 2px solid #ba6ad1;
    color: #fff
}

.validForm--alert.warning::before {
    background: -webkit-gradient(linear, left bottom, right top, color-stop(40%, #ba6ad1), to(#ffcaa9));
    background: linear-gradient(to top right, #ba6ad1 40%, #ffcaa9 100%)
}

.validForm--alert.show {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1
}

.validForm--alert.hide {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none
}

.loading-code {
    position: absolute;
    left: 0;
    top: 0;
    width: 110px;
    height: 100%;
    background-image: url("./loading-spinner.svg");
    background-size: 50px;
    background-position: center left;
    background-repeat: no-repeat;
}

.validForm .fbf-text-police {
    z-index: 1;
    margin-top: 0;
}
.validForm .wpcf7-not-valid-tip {
    font-size: 14px;
    margin-top: 4px;
}

.validForm .popup__container .fieldf input,
.validForm .popup__container .fieldf textarea {
    max-width: 100%;
}

.validForm .popup-left__block,
.validForm .fieldf input,
.validForm .fieldf textarea {
    max-width: 330px;
    width: 100%;
}

@media (max-width: 768px) {
    .validForm .wpcf7-not-valid-tip {
        font-size: 12px;
    }
}