.tszBlock_form .popupButton {
    display: none;
    cursor: pointer;
}
.tszBlock_form.isPopup .popupButton {
    display: inline-block;
}

.tszBlock_form.isPopup .formContent {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    transition: fadein 0.3s;
}
.tszBlock_form .formContent form {
    display: block;
    width: 100%;
    margin: auto;
}
.tszBlock_form.isPopup .formContent form {
    width: 50%;
    background-color: #eaeaea;
    border: 4px solid #146cab;
    box-shadow: 0 0 10px #146cab;
}

.tszBlock_form .formContent .heading {
    padding: 0 0 20px 0;
}
.tszBlock_form .formContent .heading h3{
    margin: 0!important;
}
.tszBlock_form .formContent .heading .close {
    display: none;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding-right: 10px;
    cursor: pointer;
}
.tszBlock_form.isPopup .formContent .heading .close {
    display: inline-block;
}
.tszBlock_form .formContent .heading .close:hover, .tszBlock_formModal .formContent .heading .close:focus{
    color: black;
    text-decoration: none;
}

.tszBlock_form.isPopup .formContent .fields {
    padding-left: 30px;
    padding-right: 30px;
}

.tszBlock_form .formContent .fields .field {
    margin: 10px 0;
}
.tszBlock_form .formContent .fields .field[data-label-position="left"] {
    display: flex;
    align-items: start;
}
.tszBlock_form .formContent .fields .field label {
    display: block;
    font-weight: 500;
}
.tszBlock_form .formContent .fields .field[data-label-position="left"] label {
    width: 40%;
    padding-right: 15px;
    text-align: left;
}
.tszBlock_form .formContent .fields .field[data-label-position="hidden"] label {
    display: none;
}
.tszBlock_form .formContent .fields .field label .required {
    display: inline-block;
    padding-right: 3px;
    line-height: 10px;
    color: #bb0202;
    transform: scale(2);
}

.tszBlock_form .formContent .fields .field input:not([type="radio"]):not([type="checkbox"]), .tszBlock_form .formContent .fields .field select, .tszBlock_form .formContent .fields .field textarea {
    width: 100%;
}
.tszBlock_form .formContent .fields .field input[type="radio"], .tszBlock_form .formContent .fields .field input[type="checkbox"] {
    margin-right: 5px;
}

.tszBlock_form .formContent .fields .field .options {
    width: 100%;
}

.tszBlock_form .formContent .fields .field.validationFailed label {
    color: #bb0202;
}


.tszBlock_form .formContent .resultMessages > * {
    display: none;
    color: #bb0202;
}
.tszBlock_form .formContent .resultMessages .success {
    color: #007a00;
}

.tszBlock_form .formContent .submit {
    padding: 15px 0;
}
.tszBlock_form.isPopup .formContent .submit {
    padding-bottom: 40px;
}
.tszBlock_form .formContent .submit a:hover {
    cursor: pointer;
}

.tszBlock_form .grecaptcha-badge {
    opacity: 0;
}

@media (max-width: 768px) {

    .tszBlock_form .formContent .fields .field[data-label-position="left"] {
        display: block;
    }
    .tszBlock_form .formContent .fields .field[data-label-position="left"] label {
        width: 100%;
        padding: 0;
        text-align: left;
    }

}