/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* CF7 Style */
.contact-form-custom {
    max-width: 600px;
}

.contact-form-custom .form-field {
    margin-bottom: 20px;
}

/* Email + Phone Number - 50% Width */
.contact-form-custom .form-row {
    display: flex;
    gap: 20px;
}

.contact-form-custom .form-row .form-field {
    width: 50%;
    margin-bottom: 20px;
}

.contact-form-custom input,
.contact-form-custom textarea {
    width: 100%;
    border: 1px solid #9935B026;
    border-radius: 10px;
    background: #fff;
    padding: 10px 15px;
    margin-top: -10px;
    font-size: 16px;
    color: #000;
    outline: none;
    box-sizing: border-box;
}

/* Keep entered text black */
.contact-form-custom input:focus,
.contact-form-custom textarea:focus {
    color: #000;
    background: #fff;
}

.contact-form-custom input {
    height: 55px;
}

.contact-form-custom textarea {
    height: 160px;
    resize: none;
}

/* Placeholder color */
.contact-form-custom input::placeholder,
.contact-form-custom textarea::placeholder {
    color: #777;
    opacity: 1;
}

/* Submit Button */
.submit-btn input {
    width: 210px !important;
    height: 50px !important;
    border: none !important;
    border-radius: 30px !important;
    background: #2343EC
			!important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 400;
    cursor: pointer;
    transition: all .3s ease;
    padding: 0 !important;
}

.submit-btn input:hover {
    background: #9935B0 !important;
}

/* Mobile */
@media (max-width: 767px) {
    .contact-form-custom .form-row {
        display: block;
    }

    .contact-form-custom .form-row .form-field {
        width: 100%;
    }
}
