footer {
    width: var(--full-width);
    height: auto;
}

#footer_gray {
    padding: 100px 0;
    background-color: var(--gray);
}

#footer_gray .calc_container.flex {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.footer_title {
    flex: 0 100%;
    padding-bottom: 50px;
}

.footer_gray_left, .footer_gray_right {
    flex: 0 50%;
}

.footer_gray_left_container.flex {
    width: calc(100% - 50px);
    margin-left: auto;
    flex-direction: column;
}

.footer_gray_left_container.flex hr {
    display: none;
}

.footer_info_box {
    width: var(--full-width);
    padding-left: 10px;
    margin-bottom: 60px;
}

.footer_info_box.border {
    border-left: 2px solid var(--white);
    margin-bottom: 20px;
}

.footer_gray_right_container {
    width: calc(100% - 50px);
    margin-right: auto;
}

.footer_form_container {
    width: var(--full-width);
}

form.wpcf7-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}

form.wpcf7-form p:nth-of-type(5) {
    flex: 0 100%;
}

form.wpcf7-form p textarea {
    width: 100%;
}

form.wpcf7-form p:last-of-type {
    width: 100%;
    display: flex;
    align-items: center;
}

form p {
    width: 40%;
}

form p span, form p span .input_form {
    width: 100%;
}

.input_form {
    flex: 0 40%;
    background: transparent;
    border-right: 0;
    border-left: 0;
    border-top: 0;
    border-bottom: 3px solid var(--white);
    padding-bottom: 15px;
    margin-bottom: 70px;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.8px;
}

.input_textarea {
    flex: 0 100%;
    height: 250px;
    background-color: transparent;
    border-right: 0;
    border-left: 0;
    border-top: 0;
    border-bottom: 3px solid var(--white);
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.8px;
}

.input_form::placeholder, .input_textarea::placeholder {
    color: var(--black);
    opacity: 1;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.submit_button {
    width: 230px;
    height: 40px;
    line-height: 30px;
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
    text-transform: uppercase;
    margin-left: auto;
    margin-top: 30px;
    cursor: pointer;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    order: 2;
    -webkit-order: 2;
    -webkit-appearance: none;
}

.submit_button:hover {
    color: var(--black);
    background: var(--white);
}

#footer_white {
    padding: 50px 0;
}

#footer_white .calc_container.flex {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

#footer_white .calc_container.flex h3.gray {
    margin-left: 60px;
}

#footer_white .calc_container.flex a:first-of-type {
    margin-left: 350px;
}

#footer_white .calc_container.flex a {
    margin-left: 80px;
}

#footer_white .calc_container.flex a:after {
    background: transparent;
}

#footer_white .calc_container.flex a svg {
    height: 45px;
}

#footer_white .calc_container.flex a svg .st0 {
    transition: 0.3s;
    -webkit-transition: 0.3s;
}

#footer_white .calc_container.flex a svg .st0:hover {
    fill: var(--black);
}

.wpcf7 form.sent .wpcf7-response-output, .wpcf7 form.invalid .wpcf7-response-output {
    border: none;
    font-family: 'Courier Prime', monospace;
    position: absolute;
    left: 0;
    bottom: 0;
    margin-bottom: 0;
    padding: 0;
}

.wpcf7-not-valid-tip {
    color: #000;
}

@media screen and (max-width: 1440px) {

    #footer_white .calc_container.flex a:first-of-type {
        margin-left: 250px;
    }

    .footer_gray_right_container {
        width: var(--full-width);
    }

}

@media screen and (max-width: 1024px) {

    footer {
        padding-bottom: 50px;
        background: var(--gray);
    }

    #footer_gray {
        padding: 100px 0 50px 0;
    }

    #footer_gray .calc_container.flex {
        width: var(--full-width);
        align-items: center;
        justify-content: center;
    }

    .footer_title {
        text-align: center;
    }

    .footer_gray_left, .footer_gray_right {
        flex: 0 80%;
    }

    .footer_gray_left {
        order: 2;
        -webkit-order: 2;
        border-top: 2px solid #000;
        padding-top: 90px;
    }

    .footer_gray_right {
        order: 1;
        -webkit-order: 1;
    }

    .footer_gray_left_container.flex {
        margin: 0 auto;
        text-align: center;
    }

    .footer_gray_left_container.flex hr {
        display: block;
        height: 3px;
        width: 50px;
        border: 0;
        background-color: var(--white);
        margin-bottom: 40px;
    }

    .footer_info_box {
        padding-left: 0;
        margin-bottom: 40px;
    }

    .footer_info_box.border {
        border-left: 0;
    }

    .footer_info_box:nth-of-type(2), .footer_info_box:nth-of-type(4), .footer_info_box:last-of-type {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .input_form {
        flex: 0 45%;
    }

    .submit_button {
        margin: 50px auto;
    }

    #footer_white {
        width: 80%;
        background: var(--gray);
        margin: 0 auto;
        border-top: 2px solid var(--text-color);
        border-bottom: 2px solid var(--text-color);
    }

    #footer_white .calc_container.flex {
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
    }

    #footer_white a:hover {
        opacity: 1;
    }
    
    #footer_white .calc_container.flex h3.gray {
        margin-left: 0;
        color: var(--white);
        flex: 0 100%;
        margin-bottom: 50px;
    } 

    #footer_white .calc_container.flex a svg .st0 {
        fill: #fff;
    }

    #footer_white .calc_container.flex a:first-of-type {
        margin-left: 0;
    }

    form.wpcf7-form p:last-of-type {
        flex-direction: column;
    }

    .submit_button {
        order: 1;
        -webkit-order: 1;
    }

    .wpcf7-spinner {
        order: 2;
        -webkit-order: 2;
    }

}

@media screen and (max-width: 768px) {

    #footer_white .calc_container.flex a {
        margin-left: 50px;
    }

    #footer_gray .calc_container.flex {
        width: var(--calc-width);
    }

    .footer_gray_left, .footer_gray_right {
        flex: 0 100%;
    }

    .input_form {
        flex: 0 100%;
    }

    #footer_white {
        width: var(--calc-width);
    }

}

@media screen and (max-width: 600px) {

    #footer_gray {
        padding: 70px 0 50px 0;
    }

    #footer_white .calc_container.flex h3.gray {
        margin-bottom: 30px;
    }

    #footer_white .calc_container.flex a svg {
        height: 35px;
    }

    form p, form p span, form p span .input_form {
        width: 100%;
    }

}

@media screen and (max-width: 320px) {

    .input_textarea {
        height: 200px;
    }

    #footer_white {
        padding: 25px 0;
    }

    #footer_white .calc_container.flex h3.gray {
        margin-bottom: 15px;
    }

    #footer_white .calc_container.flex a {
        margin-left: 30px;
    }

    #footer_white .calc_container.flex a svg {
        height: 30px;
    }

}