/*
Theme Name: BeTheme Child
Theme URI: http://themes.muffingroup.com/betheme
Description: Child theme for BeTheme. Custom CSS added below is loaded with the site.
Author: Muffin group
Author URI: http://muffingroup.com
Template: betheme
Version: 1.0
*/

/* Add custom CSS below this line. */




/*---------- Contact Form 7 - Original Caldera Layout ----------------*/

.custom-contact-form {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Title */
.custom-contact-form .contact-title {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 28px;
    color: #626262;
    text-align: center;
    margin: 0 0 15px;
}

/* Three columns */
.custom-contact-form .contact-fields-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin-bottom: 12px;
}

.custom-contact-form .contact-field {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0;
    max-width: none;
    text-align: center;
}

/* Remove paragraph margins */
.custom-contact-form .contact-field p,
.custom-contact-form .contact-message p {
    margin: 0 !important;
}

/* Center labels */
.custom-contact-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #626262;
    text-align: center;
    margin-bottom: 5px;
}

/* Inputs */
.custom-contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    height: 30px;
    padding: 5px 8px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    margin: 0;
}

/* Message */
.custom-contact-form .contact-message {
    width: 100%;
    margin-top: 12px;
    text-align: center;
}

.custom-contact-form textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 125px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    background: #fff;
    resize: vertical;
    margin: 0;
}

/* Submit button */
.custom-contact-form .contact-submit {
    text-align: center;
    margin-top: 12px;
}

.custom-contact-form input[type="submit"] {
    display: inline-block;
    padding: 7px 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #444;
    font-size: 12px;
    border-radius: 0;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 767px) {
    .custom-contact-form .contact-fields-row {
        flex-direction: column !important;
        gap: 12px;
    }

    .custom-contact-form .contact-field {
        width: 100% !important;
        flex: 0 0 auto !important;
    }
}



/* Match original Caldera Form layout */

.custom-contact-form .contact-title {
    margin-bottom: 8px !important;
    font-size: 20px;
    line-height: 25px;
}

.custom-contact-form .contact-fields-row {
    gap: 12px !important;
    margin-bottom: 8px !important;
}

.custom-contact-form .contact-field p,
.custom-contact-form .contact-message p,
.custom-contact-form .contact-submit p {
    margin: 0 !important;
}

.custom-contact-form label {
    margin-bottom: 5px !important;
    line-height: 18px;
}

.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"] {
    height: 29px !important;
    padding: 4px 8px !important;
}

.custom-contact-form .contact-message {
    margin-top: 5px !important;
}

.custom-contact-form textarea {
    height: 126px !important;
    min-height: 126px !important;
    padding: 8px !important;
}

.custom-contact-form .contact-submit {
    margin-top: 12px !important;
}

.custom-contact-form input[type="submit"] {
    margin: 0 !important;
    padding: 5px 10px !important;
    font-size: 12px;
}

/* Remove extra CF7 line spacing */
.custom-contact-form br {
    display: none;
}

/* Remove theme spacing around fields */
.custom-contact-form .wpcf7-form-control-wrap {
    margin: 0 !important;
}


/* Center submit button exactly */
.custom-contact-form .contact-submit {
    position: relative;
    display: block !important;
    width: 100%;
    text-align: center !important;
    margin-top: 12px !important;
}

.custom-contact-form .contact-submit p {
    display: block !important;
    width: 100%;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.custom-contact-form .contact-submit input[type="submit"] {
    display: inline-block !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    vertical-align: middle;
}

.custom-contact-form .contact-submit .wpcf7-spinner {
    position: absolute !important;
    left: calc(50% + 42px);
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
}

/* Match original Caldera Form height */

.custom-contact-form textarea {
    height: 170px !important;
    min-height: 170px !important;
    box-sizing: border-box;
}

/* Keep the submit button spacing consistent */
.custom-contact-form .contact-submit {
    margin-top: 12px !important;
}



/*---------- END Contact Form 7 - Original Caldera Layout ----------------*/

#Action_bar .contact_details {
  float: none;
  width: 100%;
  text-align: center;
}


@media (min-width: 1000px) {
  #Content .mcb-section-inner {
    padding-left: 100px;
    padding-right: 100px;
    box-sizing: border-box;
  }
}

#Content figure.alignleft {
    margin-right: 40px;
}


.top_bar_right {
    display:none;
}
