/*
Theme Name: Weiman Consulting 2025
Theme URI: https://www.nlhsolutions.com
Author: Brad Hokanson
Author URI: https://www.nlhsolutions.com
Description: Custom Theme For Weiman Consulting
Template: betheme
Version: 1.0
*/



/* Target WordPress internal embeds */
body.single-faq .wp-embedded-content {  /* the iframe */
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;          /* let it grow with content */
    min-height: 400px;                /* optional: prevent squish */
    border: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove fixed width/height from embed wrapper if present */
body.single-faq .wp-block-embed,
body.single-faq .wp-block-embed__wrapper,
body.single-faq figure.wp-block-embed {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Make internal embed content stretch inside iframe */
body.single-faq iframe.wp-embedded-content {
    width: 100vw !important;          /* edge-to-edge hack if needed */
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;  /* center if overflowing */
}

/* Optional: hide fallback blockquote always */
body.single-faq blockquote.wp-embedded-content {
    display: none !important;
}

body.single-faq .section-post-header .post-meta,body.single-faq .section-post-header .single-photo-wrapper {
  display:none;
}

body.single-faq .section-post-header a.home {
  display:none;
}




/* Narrow the 'Other' free text input in CF7 checkbox */
.wpcf7-free-text {
    width: 70% !important;          /* Adjust this percentage or use px/em – e.g., 300px, 60%, etc. */
    max-width: 350px !important;    /* Optional cap so it never gets too wide on large screens */
    margin-left: 24px !important;   /* Indent it under the checkbox label for better alignment */
    margin-top: 6px !important;     /* Small space below the checkbox */
    display: block !important;      /* Ensures it starts on its own line below the label */
    box-sizing: border-box;         /* Keeps padding/border inside the width */
}

/* Optional: Make it match your other text inputs' look (padding, border, etc.) */
.wpcf7-free-text {
    padding: 8px 12px !important;
    border: 1px solid #ccc !important;  /* Match your theme's input borders */
    border-radius: 4px !important;
    font-size: 16px !important;         /* Or whatever your other inputs use */
}

/* If needed, target only this specific checkbox group (higher specificity) */
.wpcf7-list-item.last.has-free-text .wpcf7-free-text {
    width: 65% !important;          /* Slightly narrower if you prefer */
}

span.wpcf7-list-item {
    display: block !important;
    margin: 8px 0 !important;       /* or 0.5em 0 for relative spacing */
}

.section-post-comments {
  display:none !important;
}

.top_bar_right .button {
background:#2a9ed4;
color:#fff;
font-size:17px;
}

.top_bar_right .button:hover {
background:#91dafc;
color:#000;
}


#Top_bar.is-sticky { height: 70px !important; }

#Top_bar .logo .logo-sticky { height: 60px !important; max-height: unset !important; }

#Footer ul.social i{
	font-size:1.5em;
}

#Footer .footer_copy .social li {
margin-right: 10px !important;
}


#Footer .footer_copy .social li a:hover {
color: #91dafc; /* Replace with your desired hover color */
}

body.home #Header {
    min-height: 90px !important;
}

.largeh1 h1 {
  font-size:65px;
  line-height: 70px;
}

.herotext {
  font-size:18px;
}

 .fancy_heading .inside {
  font-size:16px;
  color: #626e84;
}

body.home .mfn-tag-cloud {
  display:none;
}

.ctabutton {
  background-color:#0d306f;
  color:#fff;
  width:80%;
  text-transform:uppercase;
}

.button.ctabutton i {
 color:#fff;
}

.ctabutton:hover {
  background-color: #2a9ed4;
  color:#fff;
}

/* contact fomr style */

/* Contact Form 7 – Final Version: Left-aligned bold labels, uniform color, no borders */
.contactform {
    max-width: 100%;
    font-family: inherit;
}

/* Main tables */
.contactform table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 16px;
    margin-bottom: 30px;
}

.contactform td {
    padding: 0;
    border: none !important;
    vertical-align: top;
    background: none !important;
}

/* ALL labels — both left and right columns — same style */
.contactform td:nth-child(odd),   /* Name, Address, State, Phone, Other, etc. */
.contactform td:nth-child(3) {     /* Title, City, Zip, Email */
    width: 130px;
    padding-right: 20px;
    font-weight: bold !important;
    color: #000 !important;       /* Same strong black as left labels */
    white-space: nowrap;
}

/* Input fields – clean, consistent, no extra borders */
.contactform input[type="text"],
.contactform input[type="tel"],
.contactform input[type="email"],
.contactform select,
.contactform textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #ddd !important;
    border-radius: 4px;
    background: #fff !important;
    box-shadow: none !important;
}

/* Textarea */
.contactform textarea {
    height: 130px;
    padding: 12px 14px;
}

/* Checkboxes section */
.contactform p:nth-of-type(1) {
    margin: 35px 0 12px;
    font-weight: bold;
    color: #000;
}

.contactform [checkbox] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
    margin-bottom: 30px;
}

/* Submit button spacing */
.contactform input[type="submit"] {
    margin-top: 15px;
}

/* Mobile – stack everything cleanly */
@media (max-width: 782px) {
    .contactform table,
    .contactform tbody,
    .contactform tr,
    .contactform td {
        display: block;
        width: 100% !important;
    }

    .contactform td:nth-child(odd),
    .contactform td:nth-child(3) {
        width: 100% !important;
        padding: 0 0 8px 0;
        white-space: normal;
    }

    .contactform td {
        padding-bottom: 20px;
    }

    .contactform [checkbox] {
        grid-template-columns: 1fr;
    }
}

/* end contact fomr style */
