body {
	font-size: 16px;
}

.font-weight-bold {
	font-weight: 700;
}

.ulined {
	/* background-image: linear-gradient(180deg, #003B5C00 60%, #FCC982 60%); */
	font-weight: 700;
}


/* Hide the last three <li> items by default */
#z-menu li:nth-last-child(-n+3) {
  display: none;
}

/* Keep them visible inside dropdowns with .secondary-n */
.secondary-n ul li {
  display: block !important;
}

/* Show them only on mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
  #z-menu li:nth-last-child(-n+3) {
    display: block;
  }
}

.secondary-n .elementor-nav-menu.sm-vertical li:hover {
	background: #F3F5F9;
	border-radius: 4px;
}

.secondary-n .elementor-nav-menu.sm-vertical li:hover a {
  transform: translateX(30px); /* Push the link 40px to the right */
  transition: transform 0.3s ease-in-out; /* Smooth animation */
}


.customBtn.inNav a {
 position: relative;
 display: inline-block;
 min-width: 0;
 max-width: 320px;
 min-height: 40px;
 padding: 12px 22px;
 background: #fff;
 border:1px solid #ED8B00 !important;
 }
 
.customBtn.inNav a:hover {
  color: #003B5C;
  border:1px solid #003B5C !important;
}

.customBtn.inNav a:hover:before {
  transform: translateX(0);
}

.customBtn.inNav a:after,
.customBtn.inNav a:visited:after {
 position: absolute;
 top: 0px;
 height: 0;
 width: 0;
 right:0px;
 border: 10px solid transparent;
 border-top-color: #ED8B00;
 border-right-color: #ED8B00;
 content: "";
}

.customBtn.inNav a:hover:after{
 position: absolute;
 top: 0px;
 height: 0;
 width: 0;
 right:0px;
 border: 10px solid transparent;
 border-top-color: #003B5C;
 border-right-color: #003B5C;
 content: "";
}

#mobilecta {
	padding-bottom: 40px;
}

#mobilecta a {
  position: relative;
  display: inline-block;
  min-width: 0;
  max-width: 320px;
  min-height: 40px;
  padding: 12px 22px;
  background: #ED8B00;
  border: 1px solid #ED8B00 !important;
  color: #003B5C;
}

/* Hover Effect */
#mobilecta a:hover {
  color: #003B5C;
  border: 1px solid #003B5C !important;
}

/* Triangle Effect */
#mobilecta a:after,
#mobilecta a:visited:after {
  position: absolute;
  top: 0px;
  height: 0;
  width: 0;
  right: 0px;
  border: 10px solid transparent;
  border-top-color: #003B5C;
  border-right-color: #003B5C;
  content: "";
}

#mobilecta a:hover:after {
  border-top-color: #003B5C;
  border-right-color: #003B5C;
}


.textLink-CTA .elementor-button-icon i {
	color:#84329B;
}

.service-tile {
	border: 1px solid transparent;
}

.color-retirement--bg 		{ background-color: rgba(  0, 59, 92, 0.85) !important; }
.color-financial--bg 		{ background-color: rgba(183,191, 16, 0.85) !important; }
.color-lifeinsurance--bg 	{ background-color: rgba(132, 50,155, 0.85) !important; }
.color-transitions--bg 		{ background-color: rgba(237,139,  0, 0.85) !important; }
.color-education--bg 		{ background-color: rgba(  0,129,109, 0.85) !important; }    
.color-estate--bg 			{ background-color: rgba(26, 54, 153, 0.85) !important; }
.color-biz--bg   			{ background-color: rgba( 66,152,181, 0.85) !important; } 
.color-longtermcare--bg  	{ background-color: rgba(83,131, 116, 0.85) !important; } 
.color-extra--bg  			{ background-color: rgba( 66,152,181, 0.85) !important; } 


a.service-tile, a.service-tile h2, a.service-tile p, a.service-tile span {
	color:#fff !important;
}

.service-tile .elementor-icon svg{
  fill:#fff !important;
  transform:scale(1);           
  transition:transform .3s ease;
  will-change:transform;       
}

.service-tile:hover .elementor-icon svg{
  transform:scale(.9);          /* target size */
}

.service-tile.nobgc { background-color: transparent !important;}

/* add a smooth transition */
.service-tile {
  transition: filter 0.3s ease;
}

/* on hover, darken the entire tile by 10% */
.service-tile:hover {
  filter: brightness(1.1) !important;
  cursor: pointer;
}


.service-tile .service_desc {
	min-height: 6rem;
}


/* Default button styles */
.tileCTA {
  padding: 0.75rem 0 0 0 ;
  margin-top: 1.5rem; 
  font-weight: 600;
  border-top:1px solid #fff;
}

/* 1) Target the CTA text */
.tileCTA .elementor-heading-title::after {
  content: '→';                    /* Unicode arrow */
  display: inline-block;
  margin-left: 0.5rem;             /* space before the arrow */
  transition: transform 0.3s ease; /* animate on hover */
}

/* 2) On hover, nudge the arrow to the right */
.service-tile:hover .elementor-heading-title::after {
  transform: translateX(4px);
}

.proof .customBtn a {
 	min-height: 44px;
 	padding: 14px 24px;
 	background: #ED8B00;
 	color:#003B5C;
 	transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 7px -3px rgba(68, 54, 29, 1);
    border: 1px solid transparent;
}
 
.proof .customBtn a:hover {
  	color: #003B5C;
  	transform: translateY(-2px);
}

.proof .customBtn a:hover:before {
  	transform: translateX(0);
}

.proof .customBtn a:hover {
 	background: #ffffff;
 	background-position: 0;
 	border:1px solid #003B5C;
}

.proof .customBtn a:after,
.proof .customBtn a:visited:after {
	 top: -1px;
	 right:-1px;
	 border-top-color: #003B5C;
	 border-right-color: #003B5C;
}

.proof .customBtn a:hover:after{
	 top: -1px;
	 right:-1px;
	 border-top-color: #003B5C;
	 border-right-color: #003B5C;
}


.tellink {
	padding-bottom: 4px;
	border-bottom: 2px solid #84329B;
}

.tellink:hover {
	border-bottom: 2px solid #ED8B00;
}

.post-loop-link {
	
}

.testimonials-slider .elementor-testimonial__content {
	background-color: transparent !important;
	box-shadow: none;
}

.elementor-testimonial__image {
	
}

.elementor-testimonial__image img {
    filter: brightness(0) invert(1);
}

#featured-in .mediaLogos  img {
	max-height: 60px !important; 
	height: 60px;
}


#financial_priority_form { 
	background-color: rgba(200, 214, 241, 0.07);
	padding: 16px 20px 24px 20px;
	border-radius: 16px;
}

#financial_priority_form label {
    font-size: 15px; /* Adjust size for readability */
    font-weight: 600; /* Slightly bold for emphasis */
    color: var( --e-global-color-accent ); /* White or adjust based on background contrast */
    display: block;
    margin-bottom: 8px; /* Add spacing between label and select field */
    text-transform: uppercase; /* Optional: Makes label more distinct */
    opacity: 0.8; /* Slightly muted so it's not overpowering */
    font-family: "Lato", sans-serif;
}

#financial_priority_form select {
    width: 100%; /* Ensures full width inside form */
    height: 48px; /* Optimal height for usability */
    font-size: 18px;
    font-weight: 700;
    color: #333; /* Dark text for readability */
    background-color: #ffffff; /* White background */
    border: 2px solid #ccc; /* Subtle border */
    border-radius: 6px; /* Soft rounded edges */
    padding: 10px;
    transition: border-color 0.3s ease-in-out;
    font-family: "Lato", sans-serif;
}

/* Hover & Focus Effect */
#financial_priority_form select:hover,
#financial_priority_form select:focus {
    border-color: #ED8B00; /* Barnum’s orange for brand consistency */
    box-shadow: 0px 0px 8px rgba(237, 139, 0, 0.3);
}

#financial_priority_form button {
    width: 100%; /* Full-width for mobile usability */
    height: 50px;
    background-color: #ED8B00; /* Barnum’s orange */
    color: #ffffff; /* White text for contrast */
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    border: none;
    border-radius: 6px; /* Consistent with dropdown */
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    font-family: "Lato", sans-serif;
}

/* Hover Effect */
#financial_priority_form button:hover {
    background-color: #d97900; /* Slightly darker orange for hover */
    box-shadow: 0px 4px 10px rgba(237, 139, 0, 0.4);
}

@media (max-width: 768px) {
    #financial_priority_form select, 
    #financial_priority_form button {
        font-size: 16px;
        height: 44px;
    }
}


#financial_priority_form2 { 
	background-color: rgba(200, 214, 241, 0.07);
	padding: 16px 30px 24px 30px;
	border-radius: 12px;
}

#financial_priority_form2 .elementor-field-group {
	padding-left:0;
	padding-right:0;
}
#financial_priority_form2 label {
    font-size: 1.6em; /* Adjust size for readability */
    font-weight: 700; /* Slightly bold for emphasis */
    color: #fff; /* White or adjust based on background contrast */
    display: block;
    margin-bottom: 8px; /* Add spacing between label and select field */
    text-transform: none; /* Optional: Makes label more distinct */
    opacity: 0.8; /* Slightly muted so it's not overpowering */
    
}

#financial_priority_form2 select {
    width: 100%; /* Ensures full width inside form */
    height: 48px; /* Optimal height for usability */
    font-size: 1.4em;
    font-weight: 700;
    color: #333; /* Dark text for readability */
    background-color: #ffffff; /* White background */
    border: 2px transparent; /* Subtle border */
    border-radius: 6px 0 0 6px; /* Soft rounded edges */
    padding: 10px;
    transition: border-color 0.3s ease-in-out;
    font-family: "Lato", sans-serif;
}

/* Hover & Focus Effect */
#financial_priority_form2 select:hover,
#financial_priority_form2 select:focus {
    border-color: #ED8B00; /* Barnum’s orange for brand consistency */
    box-shadow: 0px 0px 8px rgba(237, 139, 0, 0.3);
}

#financial_priority_form2 button {
    width: 100%; /* Full-width for mobile usability */
    height: 50px;
    background-color: #ED8B00; /* Barnum’s orange */
    color: #ffffff; /* White text for contrast */
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    border: none;
    border-radius: 0 6px 6px 0; /* Consistent with dropdown */
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    font-family: "Lato", sans-serif;
}



/* Hover Effect */
#financial_priority_form2 button:hover {
    background-color: #d97900; /* Slightly darker orange for hover */
    box-shadow: 0px 4px 10px rgba(237, 139, 0, 0.4);
}

@media (max-width: 768px) {
    #financial_priority_form2 select, 
    #financial_priority_form2 button {
        font-size: 16px;
        height: 44px;
    }
}

.pubs-proof img {
	height: auto;
    max-height: 32px; /* Ensures all images are the same height */
    width: auto; /* Maintains aspect ratio */
    filter: brightness(0.25) invert(0.25);  /* Converts to grayscale and lightens */
    transition: filter 0.3s ease-in-out;
}

.pubs-proof img:hover {
    filter: none; /* Restores full color on hover */
}

/* only inside this loop (template ID 8610) */
.elementor-8610 .elementor-widget-image a {
  display: block;          /* make the link fill its column */
  position: relative;      
  width: 100%;             
  padding-top: 56.25%;     /* 9/16 = .5625 → 16:9 box */
  overflow: hidden;        
}

.elementor-8610 .elementor-widget-image a img {
  position: absolute;      
  top: 0;
  left: 0;                 
  width: 100%;             
  height: 100%;            
  object-fit: cover;       /* crop and center to fill */
}

.serviceformContainer {
	box-shadow: rgba(0, 0, 0, 0.23) 0px 0.6px 1.79px -1.19px, rgba(0, 0, 0, 0.21) 0px 1.81px 5.43px -2.38px, rgba(0, 0, 0, 0.17) 0px 4.79px 14.36px -3.56px, rgba(0, 0, 0, 0.01) 0px 15px 45px -4.75px;
}

.quiz-wrapper {
   
}

.quiz-question {
	text-transform:none !important;
	font-family: "Raleway", Sans-serif !important;
}

.quiz-wrapper button {
  display: block;
  margin: 10px 0;
  padding: 12px 16px;
  font-size: 16px;
  width: 100%;
  text-align: left;
  background: #f7f7f7;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.quiz-wrapper button:hover {
  background: #e5f1ff;
  border-color: #0073e6;
  color:var( --e-global-color-primary );
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 12px;
 
  margin-bottom: 2.25rem;
  min-width:60% ; 
  max-width: 600px;
}
.progress-bar {
  background: #f0f0f0;
  border-radius: 50px;
  width: 100%;
  height: 10px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: #2196f3;
  width: 0%;
  transition: width 0.3s ease-in-out;
}
.progress-percent {
  font-size: 14px;
  min-width: 32px;
  text-align: right;
}

.quiz-step button {
    max-width: 360px;
    border-radius: 2.5rem;
    text-align: left;
    font-weight: 600;
    color:var( --e-global-color-primary );
}

.quiz-step button.back-button {
  background: #eeeedd;
  color: #333;
  margin-top: 2.25rem;
  font-weight: bold;
  width: auto;
  display: inline-block;
  border:none;
}


.back-button:hover {
  background: #ddd;
}
.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: #0073e6;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}
.cta-button:hover {
  background: #005bb5;
}

#quiz-retake-container {
    display: none;
}



.quiz-result-block h3, .quiz-result-block p {
    color:#fff !important;
}

.quiz-result-block h3 span {
	font-weight: 400;
	display: block;
}
.quiz-result-block[class*="color-"]::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: #fff; /* Adjust to match your page background */
  clip-path: polygon(100% 0, 0% 0%, 100% 100%);
  z-index: 2;
}

/* Ensure relative positioning */
.quiz-result-block {
  position: relative;
  overflow: hidden;
}

.eael-dch-title span:not(.eael-dch-title-lead) {
	font-weight:400 !important;
}

.e-floating-bars__announcement-icon {
	height:65px !important;
}

.e-floating-bars__announcement-icon svg {
height: 26px !important;
width: auto !important;
}
