/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a,
a:link,
a:visited,
a:hover,
a:focus,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button,
.gallery img,
a.fl-button {
    transition: all 0.25s ease-in-out !important;
}

p {
	margin-bottom: 25px;
}

.zbump {
	position: relative;
	z-index: 99999;
}

.focus-callout .fl-callout {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	-ms-transition: all .5s ease;
	transition: all .5s ease;
}

.focus-callout .fl-callout img {
	-webkit-filter: brightness(95%);
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	-ms-transition: all .5s ease;
	transition: all .5s ease;

}

.focus-callout .fl-callout:hover img,
.focus-callout .fl-callout:focus img {
	-webkit-filter: brightness(110%);
}

.focus-callout .fl-callout a {
	color: #ffffff;
}

.focus-callout .fl-callout:hover a,
.focus-callout .fl-callout:focus a {
	color: #b6e0c9;
}


/* ----------- Zip Search Form ----------- */

.zip-search-form {
  max-width: 600px;
  margin: 0;
}

.zip-search-form .search-row {
  display: flex;
  align-items: stretch;
}

/* wrapper for icon + input */
.zip-search-form .icon-input {
  position: relative;
  flex: 1;
}

/* globe icon positioning */
.zip-search-form .icon-input .fa-flag-usa {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #10217D;
  pointer-events: none;
  font-size: 20px;
}

/* input styling */
.zip-search-form .search-input {
  width: 100%;
  padding: 20px 20px 20px 50px; /* extra left for icon */
  border: 1px solid #10217D;
  border-right: none;
  border-radius: 40px 0 0 40px;
  font-size: 20px;
}

/* button styling */
.zip-search-form .search-button {
  padding: 20px 30px;
  font-size: 18px;
  background-color: #007bff;
  color: #fff;
  border: 1px solid #007bff;
  border-radius: 0 40px 40px 0 !important;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

/* focus states */
.zip-search-form .search-input:focus,
.zip-search-form .search-button:focus {
  outline: none;
  color: #10217D;
  border-color: #fdf910;
}

/* hover state for button */
.zip-search-form .search-button:hover {
  background-color: #fdf910;
  border-color: #fdf910;
  color: #10217D;
}


/* --------- State Selector Form (adapted) ----------*/
.search-form {
  max-width: 600px;
  margin: 0 auto;
}

.search-form .search-row {
  display: flex;
  align-items: stretch;
}

/* wrapper for globe icon, select, and custom arrow */
.search-form .select-wrapper {
  position: relative;
  flex: 1;
}

/* globe icon positioning (like your .fa-flag-usa) */
.search-form .select-wrapper .fa-globe {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #10217D;
  pointer-events: none;
  font-size: 20px;
}

/* the dropdown field (mirrors your .search-input) */
.search-form .search-select {
  width: 100%;
  padding: 20px 20px 20px 50px;     /* extra left padding for globe */
  border: 1px solid #10217D;
  border-right: none;
  border-radius: 40px 0 0 40px;
  font-size: 20px;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

/* custom arrow on the right */
.search-form .select-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #10217D;
  font-size: 0.85rem;
}

/* submit button (copied from your zip-form) */
.search-form .search-button {
  padding: 20px 30px;
  font-size: 18px;
  background-color: #007bff;
  color: #fff;
  border: 1px solid #007bff;
  border-radius: 0 40px 40px 0 !important;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

/* focus states (match zip-form) */
.search-form .search-select:focus,
.search-form .search-button:focus {
  outline: none;
  color: #10217D;
  border-color: #fdf910;
}

/* hover state for button */
.search-form .search-button:hover {
  background-color: #fdf910;
  border-color: #fdf910;
  color: #10217D;
}


/* --------- 50 States grid ------- */

.states-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  .states-grid li a {
    display: block;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #10217D;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
  }
  .states-grid li a:hover,
  .states-grid li a:focus {
    background: #effbfc;
    border-color: #fdf910;
    outline: none;
  }

  /* Tablet: 2 columns */
  @media (max-width: 992px) {
    .states-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  /* Mobile: 1 column */
  @media (max-width: 576px) {
    .states-grid {
      grid-template-columns: 1fr;
    }
  }


/* ----- Popular Searches ----- */

  .popular-searches {
    max-width: 100%;
    margin: 0 auto;
  }

  .popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
	  text-align: center;
  }
  .popular-list li a {
	  color: #2e4450;
    display: block;
  }

  @media (max-width: 576px) {
    .popular-list {
      grid-template-columns: 1fr;
    }
  }

/* ---- 1010 City Locations ---- */

.popular-cities h2 {
	margin-bottom: 20px;
	text-align: center;
}

/* Layout */
.popular-cities .gd-rows-popular-locations{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  justify-content:center;
  gap:1rem;
  list-style:none;
  margin:0 auto;
  padding:0;
  max-width:900px;
}
.popular-cities .gd-rows-popular-locations span{display:block}

/* Make links look like your states grid */
.popular-cities .gd-rows-popular-locations a.gd-badge.border-0.badge{
  display:block !important;
  font-size: 18px !important;
  padding:0.75rem 1rem !important;
  background:#fff !important;
  border:1px solid #ddd !important;
  border-radius:4px !important;
  text-decoration:none !important;
  color:#10217D !important;
  font-weight:500 !important;
  transition:background .2s,border-color .2s,transform .2s !important;
}

/* Hover/focus */
.popular-cities .gd-rows-popular-locations a.gd-badge.border-0.badge:hover,
.popular-cities .gd-rows-popular-locations a.gd-badge.border-0.badge:focus{
  background:#effbfc !important;
  border-color:#fdf910 !important;
  outline:none !important;
  transform:translateY(-2px);
}

/* Nuke Bootstrap badge look inside this block */
.popular-cities .bsui .badge{
  background:transparent !important;
  border:none !important;
  padding:0 !important;          /* we set padding on the <a> above */
  line-height:normal !important;
  color:inherit !important;
  display:block !important;      /* override inline-block */
}
.popular-cities .bsui .border-0{border:0 !important}

/* Tablet / Mobile */
@media (max-width:992px){
  .popular-cities .gd-rows-popular-locations{
    grid-template-columns:repeat(2,1fr);
  }
}
@media (max-width:576px){
  .popular-cities .gd-rows-popular-locations{
    grid-template-columns:1fr;
  }
}



/* ---- 1010 GD Search Form Tweaks ---- */

.bsui .form-select {
    padding: 0 2.53125rem 0 1.125rem;
}



/* ---- 1010 Agent Listing Cards ---- */

/* --- Learn More New Line --- */
.geodir_post_meta .gd-read-more {
    display: block;
    margin-top: 5px; 
}

/* --- Section heading --- */
.agents-grid h2 {
	margin-bottom: 20px;
	text-align: center;
}

/* --- Main body text --- */
.geodir-listings .card-body,
.geodir-loop-container .card-body {
  font-size: 0.95rem;          
  line-height: 1.5;            
  color: #2e4450;              
  text-align: left !important; /* remove justify */
}

/* --- Remove justified text sitewide in GD cards --- */
.geodir-listings .bsui .text-justify,
.geodir-loop-container .bsui .text-justify {
  text-align: left !important;
}

/* --- Titles --- */
.geodir-listings .geodir-entry-title,
.geodir-loop-container .geodir-entry-title {
  margin-bottom: 10px !important; /* spacing under name */
}
.geodir-listings .geodir-entry-title a,
.geodir-loop-container .geodir-entry-title a {
  color: #10217D;              
  font-weight: 600;            
  text-decoration: none;
}
.geodir-listings .geodir-entry-title a:hover,
.geodir-loop-container .geodir-entry-title a:hover {
  text-decoration: underline;
}

/* --- Meta labels (e.g. Phone:, Plan Types:) --- */
.geodir-listings .geodir_post_meta_title,
.geodir-loop-container .geodir_post_meta_title {
  font-weight: 600;
  color: #2e4450;
}

/* --- Icons inside meta rows --- */
.geodir-listings .geodir_post_meta_icon i.fas,
.geodir-loop-container .geodir_post_meta_icon i.fas {
  color: #8aa0b3;              
}

/* --- hours listing card --- */
.geodir-listings .geodir-field-business_hours,
.geodir-loop-container .geodir-field-business_hours {
	font-size: 15px;
}

.bsui .dropdown-toggle:not(.dropdown-toggle-split)::after {
    margin-right: 0;
}

/* --- Lists for carriers & plan types --- */
.geodir-listings .geodir_post_meta ul,
.geodir-loop-container .geodir_post_meta ul {
  list-style: none;
  margin: .25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
}
.geodir-listings .geodir_post_meta ul li,
.geodir-loop-container .geodir_post_meta ul li {
  background: #f9fbfd;
  border: 1px solid #e6eaf0;
  border-radius: 4px;
  padding: .15rem .4rem;
  font-size: 0.9rem;
}

/* --- Subtle link hover (e.g., phone numbers) --- */
.geodir-listings a,
.geodir-loop-container a {
  color: #10217D;
  text-decoration: none;
}
.geodir-listings a:hover,
.geodir-loop-container a:hover {
  text-decoration: underline;
}

/* --- Hide Verified: Yes and Featured: Yes fields --- */
.geodir-listings .geodir-field-verified,
.geodir-loop-container .geodir-field-verified,
.geodir-listings .geodir-field-featured,
.geodir-loop-container .geodir-field-featured {
  display: none !important;
}

/* --- Override FEATURED & NEW badge colors to navy --- */
.geodir-listings .gd-badge[data-badge="featured"],
.geodir-loop-container .gd-badge[data-badge="featured"],
.geodir-listings .gd-badge[data-badge="post_date"],
.geodir-loop-container .gd-badge[data-badge="post_date"] {
  background-color: #10217D !important;
  border-color: #10217D !important;
  color: #ffffff !important;
}

/* --- Increase .p-2 padding to 1rem --- */
.bsui .p-2 {
  padding: 1rem !important;
}






/* ------- Hero Agent Callout -------- */

.agent-hero .fl-callout-photo-left .fl-callout-photo, .fl-callout-photo-left-text .fl-callout-photo {
    width: 20%;
	padding-right: 0;
}

.agent-hero .fl-callout-photo-left .fl-callout-content, .fl-callout-photo-left-text .fl-callout-text-wrap {
    width: 80%;
    padding-left: 20px;
	padding-top: 7px;
}




/* ------- Nav ------- */

.focus-menu .fa-solid {
	color: #16c2d5 !important;
	margin-right: 5px;
    font-size: 17px;
}

/* Make the menu-button look like your FL buttons */
.focus-menu .menu-button > a {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px; /* matches your main button set */
    background: #10217d;
    border: none;
    color: #fff !important;
    line-height: 1;
    text-decoration: none;
	margin-left: 15px;
}

/* Hover state */
.focus-menu .menu-button > a:hover {
    background: #16c2d5 !important;
    color: #10217d !important;
}





/* === Resource Callout Cards === */
.resource-callout {
  transition: all 0.25s ease;
}

.resource-callout .fl-callout {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 30px 20px 20px 20px; /* custom padding inside box */
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Adjusted icon spacing and color */
.resource-callout .fl-callout-icon-above-title .fl-icon {
  color: #30c2d5;
  font-size: 2rem;
  margin-bottom: 10px !important; /* reduced spacing */
  transition: color 0.2s ease;
}

/* Title and link styling */
.resource-callout .fl-callout-title a {
  text-decoration: none;
  color: #10217D;
  font-weight: 500;
  display: inline-block;
  transition: color 0.2s ease;
}

/* Hover styling (matches states-grid) */
.resource-callout:hover .fl-callout {
  background: #effbfc;
  border-color: #fdf910;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.resource-callout:hover .fl-callout-title a {
  color: #0b1464;
}



/* --- Blog Single Post --- */

    .fl-post-feed-post.fl-post-feed-image-beside, .fl-post-feed-post.fl-post-feed-image-beside-content, .fl-post-feed-post.fl-post-feed-image-beside-right, .fl-post-feed-post.fl-post-feed-image-beside-content-right {
		max-width: 100% !important;
}



/* --- Line Borders --- */

.line-borders {
  position: relative;
  display: inline-block;
  border-radius: 30px;
  z-index: 0;
}

/* Common gradient border style for both layers */
.line-borders::before,
.line-borders::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2px; /* Simulates border thickness */
  border-radius: 30px;
  background: linear-gradient(135deg, #00AEF0, #C3F3FF);
  box-sizing: border-box;
  pointer-events: none;
  z-index: 1;

  /* Transparent center */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* First gradient border - offset top right */
.line-borders::before {
  transform: translate(20px, -10px);
  z-index: 1;
}

/* Second gradient border - offset bottom left */
.line-borders::after {
  transform: translate(-20px, 10px);
  z-index: 0;
}

/* Fallack Firefox */
@supports not (-webkit-mask-composite: xor) {
  .line-borders::before,
  .line-borders::after {
    background: none;
    border: 2px solid #c3f3ff;
    padding: 0;
  }
}




/* --- Logos --- */


.pp-logos-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}



/* --- Agent Email Modal --- */

/* Override the extra-wide Bootstrap .modal-xl */
#aui-modal .modal-dialog.modal-xl {
  max-width: 640px;           /* adjust: 560–720px usually looks good */
}

/* Add some height so it feels taller before iframe auto-resizes */
#aui-modal .modal-body {
  min-height: 520px;          /* tweak as preferred */
}

/* Nice rounded card + deeper shadow */
#aui-modal .modal-content {
  border-radius: 12px;
  box-shadow: 0 14px 42px rgba(0,0,0,.25);
  overflow: hidden;
}

/* Keep the iframe visually tidy */
#gd-ninja-iframe {
  display: block;
  width: 100%;
  min-height: 520px;           /* matches modal-body */
  border: 0;
}


/* --- Fallback Agent in Search Results --- */

/* Hide the fallback agent card whenever REAL GeoDirectory listings exist */
.wp-block-geodirectory-geodir-widget-loop:has(.geodir-post) ~ .gd-fallback-agent {
    display: none !important;
}

/* Hide the GeoDirectory "No listings were found" message */
.geodir-info.d-block.mx-1 {
    display: none !important;
}

.gd-fallback-agent .geodir-field-phone {
	display: none;
}

/* --- Fallback Agent in Location Directory Results --- */

/* Hide phone number ONLY for fallback listings ND, WV, RI */
.geodir-post.post-13490 .geodir-field-phone,
.geodir-post.post-13480 .geodir-field-phone,
.geodir-post.post-13487 .geodir-field-phone {
    display: none !important;
}


/* --- Agent Signup Form --- */

/* Remove set address on map from secton from form */
#geodir_address_map_row {
	display: none !important;
}


/* --- Jude --- */