@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');
.montserrat-black {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}
.montserrat-medium {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
:root {
    --popup-width: 704px;
    --popup-height: 498px;
    --close-x: 32px;
    --close-y: 34px;
    --text-dist: 38px;
    --submit-width: 206px;
    --submit-height: 40px;
    --submit-radius: 20px;
    --submit-fontsize: 1.125em;
    --submit-dist: 6.5px;
    --thanks-button-dist: 35px;
}
#popup-july {
    --blue: #1e3578;
}
#popup-july .f-blue {
    color: var(--blue);
}
#popup-july .popup-content {
    width: 700px;
    height: 500px;
    padding: 0 15px;
    background-image: url(../images/hero/popup-back.jpg);
    background-image: -webkit-image-set(url("../images/hero/popup-back.jpg") 1x,
            url("../images/hero/popup-back@2x.jpg") 2x);
}
#popup-july .popup-close {
    width: auto;
    height: auto;
    top: 0;
    right: 0;
    padding: 15px;
}
#popup-july .title {
    font-size: 1.5625em;
    line-height: 1.1em;
}
#popup-july .text {
    font-size: 1.0625em;
    line-height: 1.2941176471em;
}
#popup-july form {
    margin-top: 10px;
}
#popup-july .button {
    background-color: #ed1c24;
    height: 2.2em;
    border-radius: 1.1em;
    font-size: 1.2em;
    padding: 0;
    width: 11em;
    margin: 0 auto;
    color: white !important;
}
#popup-july .button,
#popup-july .button:hover,
#popup-july .button:active,
#popup-july .button:visited,
#popup-july .button:focus {
    color: white !important;
    outline: none;
    border: none;
    text-decoration: none;
}
#popup-july .form-action {
    justify-content: center;
    display: flex;
}
#popup-july .popup-thanks .text {
    font-size: 1.40625em;
    line-height: 1.33em;
}
#popup-july .popup-thanks .button {
    background-color: #282828;
    margin-top: 1em;
    margin-bottom: 59px;
    color: white;
}
#popup-july .border-gray {
    border-color: rgb(118, 118, 118);
}
@supports (background: -webkit-named-image(i)) {
    #popup-july .button {
        padding-top: 2px;
    }
}
@media screen and (min-width: 568px) {}
@media screen and (max-width: 567px) {
    :root {
        --popup-width: 100%;
        --popup-height: 100%;
        --close-x: 16px;
        --close-y: 20px;
        --text-dist: 21px;
        --submit-width: 150px;
        --submit-height: 33px;
        --submit-radius: 17px;
        --submit-fontsize: 0.8125em;
        --submit-dist: 10px;
        --thanks-button-dist: 24px;
    }
    #popup-july form {
        margin-top: 21px;
        width: calc(100% - 50px);
    }
    #popup-july .title {
        font-size: 1.25em;
        line-height: 1.25em;
    }
    #popup-july .text {
        font-size: 0.835em;
        line-height: 1.5714285714em;
        margin: 0 auto;
    }
    #popup-july .popup-thanks .button {
        font-size: 1.25em;
        line-height: 1.5em;
    }
    #popup-july .popup-thanks .text {
        font-size: 1.20625em;
    }
    #popup-july .popup-content {
        width: 100%;
        height: 100%;
        background-position: center;
        background-image: url(../images/hero/popup-back-m.jpg);
        background-image: -webkit-image-set(url("../images/hero/popup-back-m.jpg") 1x,
                url("../images/hero/popup-back-m@2x.jpg") 2x);
    }
    #popup-july .thanks {
        max-width: 375px;
        margin: 0 auto;
        width: 100%;
    }
    #popup-july .popup-form,
    #popup-july .popup-inner {
        width: 100%;
    }
    #popup-july .button {
        font-size: 1.1em;
    }
}