
.new-modal-form {
    height: 400px;
    width: 500px;
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    z-index: 99;
    display: none;
    margin: 50px auto;
    left: 0;
    right: 0;
}

.modal-body {
    padding: 50px 60px 15px 80px;
}

.modal-body p {
    margin: 10px 0 20px 0;
}

/*div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    display: none !important;
}*/

.new_footer-modal div.wpcf7-response-output {
    position: absolute;
    bottom: -50px;
}

.new_footer-modal .wpcf7 input.wpcf7-not-valid {
    border: 1px solid #e12726;
}

.new_footer-modal div.wpcf7-response-output {
    display: none!important;
}

.new_footer-modal .wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok {
    display: block!important;
    position: absolute;
    top: 0;
    margin: 0;
    border: 0;
    background: white;
    font-size: 22px;
}

.wpcf7-not-valid-tip {
    display: none !important;
}

.modal-body .template-field label {
    display: block;
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.modal-body .template-field input {
    width: 100%;
    border-bottom: 1px solid #BDBDBD;
    padding-bottom: 5px;
    font-family: Montserrat, Helvetica, Arial, sans-serif;
    font-size: 18px;
    color: #333;
    font-style: italic;
    background-color: inherit;
}

.new-modal-form h1 {
    font-family: Montserrat, Helvetica, Arial, sans-serif;
    color: #706f79;
    text-align: center;
}

/*.form {*/
    /*display: flex;*/
    /*align-items: center;*/
    /*flex-direction: column;*/
/*}*/

/*.form input {*/
    /*width: 270px;*/
    /*height: 35px;*/
    /*padding: 13px 20px;*/
    /*font: 300 20px/24px Montserrat, Helvetica, Arial, sans-serif;*/
    /*color: #000;*/
    /*border: #fff 1px solid;*/
    /*background-color: #ede6e6;*/
/*}*/

/*.form span {*/
    /*font: 300 13px/32px Montserrat, Helvetica, Arial, sans-serif;*/
    /*color: #706f79;*/
/*}*/

/*.form .timer {*/
    /*margin: 15px 0 20px 0;*/
    /*font: 400 27px/34px Montserrat, Helvetica, Arial, sans-serif;*/
/*}*/

.new-modal-form .close {
    float: right;
    margin: 10px -50px 0 0;
    background-color: transparent;
}

.new-modal-form .close img {
    width: 40px;
    height: 40px;
    color: white;
}

.close:hover {
    opacity: 0.5;
    cursor: pointer;
}

.form .primary {
    display: inline-block;
    width: 310px;
    height: 60px;
    font: 300 20px/54px Montserrat, Helvetica, Arial, sans-serif;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background: #E12726;
    border: none;
    cursor: pointer;
}

.call-button-form {
    background-color: #E12726;
    color: #ffffff;
    border: none;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    outline: none;
    position: fixed;
    right: 30px;
    bottom: 30px;
    cursor: pointer;
    transition: .3s;
    display: block;
    z-index: 9;
    /*animation: pulsing 2s infinite;*/
}

.info-block {
    display: none;
    margin-left: -10px;
    padding: 15px 10px 15px 10px;
    background: #E12726;
    vertical-align: middle;
}

.info-block:after {
    content: '';
    position: absolute;
    left: 130px;
    top: 28px;
    border: 18px solid transparent;
    border-right-color: #E12726;
    border-left: 0;
}

.call-button-form:hover .info-block {
    display: block;
    position: absolute;
    top: -90px;
    z-index: 99;
    width: 180px;
    left: -100px;
}

.call-button-form img {
    width: 40px;
    height: 40px;
    color: white;
}

.new_footer-modal {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 140px;
    justify-content: space-evenly;
    align-items: center;
    display: none;
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    z-index: 99;
    -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, .24);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .24);
    /*display: flex;*/
}

.new_footer-modal .close img {
    width: 40px;
    height: 40px;
    color: white;
}

.footer-modal-body {
    display: flex;
    align-items: center;
    width: 80%;
}

.footer-modal-body form {
    display: flex;
    align-items: center;
}

.footer-modal-body .template-field label {
    display: block;
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-modal-body .template-field input {
    border-bottom: 1px solid #BDBDBD;
    padding-bottom: 5px;
    font-family: Montserrat, Helvetica, Arial, sans-serif;
    font-size: 18px;
    color: #333;
    font-style: italic;
    background-color: inherit;
}

.template-field {
    margin-right: 15px;
}

.wpcf7 {
    display: flex;
}

.new_footer-modal .wpcf7 input {
    width: 200px;
    height: 50px;
    padding: 0px 20px;
    font-size: 16px;
    color: #000;
    border: #fff 1px solid;
    background-color: #ede6e6;
    margin-right: 5px;
}

.new_footer-modal .wpcf7 span {
    font: 300 13px/32px Montserrat, Helvetica, Arial, sans-serif;
    color: #706f79;
}

.new_footer-modal .wpcf7 input.primary-footer {
    display: inline-block;
    width: auto;
    height: 50px;
    font: 300 20px/54px Montserrat,Helvetica,Arial,sans-serif;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background: #e12726;
    border: none;
    cursor: pointer;
}

.footer-modal-body p {
    color: #000000;
    margin: 0 30px 0 60px;
    font-weight: 400;
    font-size: 36px;
}

.new_footer-modal.close {
    margin-top: -90px;
}

.new_form_active {
    display:flex;
}


@media only screen and (max-width: 1150px) {
    .new-modal-form {
        width: 500px;
    }

    .footer-modal-body p {
        margin: -25px 10px 0 10px;
        font-size: 21px;
    }

    .wpcf7 input {
        width: 150px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 899px) {
    .new-modal-form {
        width: 400px;
        height: 550px;
    }

    .new-modal-form h1 {
        padding: 10px;
    }

    .footer-modal-body {
        justify-content: center;
        flex-wrap: wrap;
    }

    .new_footer-modal {
        height: 180px;
    }

}

@media only screen and (max-width: 700px) {
    .new-modal-form {
        width: 450px;
        height: 470px;
    }

    .new-modal-form h1 {
        font-size: 24px;
        padding: 10px;
    }

    .new-modal-form .close {
        margin: 10px -35px 0 0;
    }

    .new-modal-form .close img {
        width: 30px;
        height: 30px;
    }

    .modal-body {
        padding-top: 50px;
    }

    .wpcf7 {
        flex-wrap: wrap;
        margin-left: 40px;
        margin-top: 10px;
    }

    .new_footer-modal {
        height: 250px;
        justify-content: center;
    }

    .new_footer-modal .close {
        margin: -180px 0 0 0;
    }

    .call-button-form {
        right: 10px;
        bottom: 50px;
    }
}

@media only screen and (max-width: 520px) {
    .new-modal-form {
        width: 330px;
    }

    .new-modal-form h1 {
        font-size: 20px;
        padding: 10px;
    }

    .modal-body {
        padding-top: 30px;
    }

    .new_footer-modal {
        height: 200px;
    }

    .new_footer-modal .close {
        margin: -150px 0 0 0;
    }

    .new_footer-modal input#name1 {
        display: none;
    }

    .footer-modal-body form {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    .wpcf7 input {
        width: 225px;
        font-size: 14px;
        margin-top: 10px;
    }



}

@media only screen and (max-width: 400px) {
    /*.new-modal-form {
        width: 250px;
        height: 400px;
    }

    .new-modal-form h1 {
        font-size: 16px;
        padding: 10px;
    }

    .modal-body {
        padding-top: 30px;
    }

    .form input {
        width: 170px;
        height: 20px;
        padding: 13px 20px;
        font: 300 20px/24px Montserrat, Helvetica, Arial, sans-serif;
        color: #000;
        border: #fff 1px solid;
        background-color: #ede6e6;
        font-size: 18px;
    }

    .form .primary {
        display: inline-block;
        width: 210px;
        font: 300 18px/54px Montserrat, Helvetica, Arial, sans-serif;
        color: #fff;
        text-align: center;
        text-decoration: none;
        background: #E12726;
        border: none;
        cursor: pointer;
    }

    .new_footer-modal {
        height: 410px;
    }

    .new_footer-modal .close {
        margin: -330px 0 0 0;
    }

    .footer-modal-body h2 {
        margin: -25px 10px 0 35px;
        font-size: 18px;
    }*/
}

@keyframes pulsing {
    0% {
        transform: none;
    }
    50% {
        transform: scale(0.8);
    }
    100% {
        transform: none;
    }
}





