/*
Theme Name: ChildTheme
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* font sizing and new classes */
.display-1 {
    font-size: clamp(3.5rem, 1rem + 6vw, 6rem) !important;
}

.display-2 {
    font-size: clamp(3.5rem, 1rem + 5.45vw, 5rem) !important;
}

.display-3 {
	font-size: clamp(3rem, 1rem + 4.45vw, 4.5rem) !important;
 }
 
 .display-4{
	 font-size: clamp(3rem, 1rem + 3vw, 4rem) !important;
 }

.banner .res-text{
	font-size: 100% !important;
}

h1, h2, h3, h4, h5{
	margin-bottom: 15px;
}

h1{
	font-size: 3.3em;
}

h2{
	font-size: 2.7em;
}

h3{
	font-size: 2.1em;
}

h4{
	font-size: 1.7em;
}

h5{
	font-size: 1.4em;
}

h6{
	font-size: 1em;
}

p {
	font-size: 18px;
}

p.lead{
	font-size: 1.2em
}

.small{
	font-size: .9em
}

/*** Google Maps ***/
/* adjust padding to change the height of maps */

.google-maps {
  position: relative;
  padding-bottom: 64%;
  height: 0;
  width:  100%;
  overflow: hidden;
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}


/*change color of checkmarks from flatsome's green */
.dark ul li.bullet-checkmark:before, .dark ul li.bullet-arrow:before, .dark ul li.bullet-star:before{
	color: white;
}

/* change the color of bullets. Set your colors at the top */
ul li.bullet-checkmark:before, ul li.bullet-arrow:before, ul li.bullet-star:before{
	color: var(--fs-color-primary);
}

/*** gravity forms ***/

.gform_wrapper legend{
    text-transform: none !important; 	
}

.gform_wrapper label{
    color: inherit;
}

.gform_wrapper .ginput_complex label{
	font-size: .8em !important;
}

.full-width .gform_button.button{
    width: 100%
}

.gform_wrapper.gravity-theme .gfield-choice-input{
	margin-bottom: 0;
}

.gform_wrapper .gfield_required{
	color: var(--fs-color-primary) !important;
}

.gform_button.button{
	border-radius: 5px;
}

/* horizontal forms */
.gform_wrapper .gf_simple_horizontal .gform_body{
	width: 100%;
	max-width: unset;
}

.gform_wrapper .gf_simple_horizontal .gform_button.button{
	margin: 0;
}

/*** align buttons at bottom of cards (must be set to equal) ***/
.align-buttons .button{
	margin-top: auto;
}

.align-buttons .col-inner{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.align-buttons .text-center.col-inner{
	align-items: center;
}

.align-buttons .col-inner div{
	width: 100%;
}

/* for nested row buttons */

.align-buttons .col-inner > .row{
	height: 100%;
}

.align-buttons .row .col{
	padding-bottom: 0;
}

.align-buttons .row .col-inner{
	display: flex;
	height: 100%;
}

/* fix weird spacing on buttons */
.button span {
    padding-top: 5px;
}

/* white button text color */
.button.white:not(.is-outline, .is-link, .is-underline), .button.white.is-outline:hover{
	color: var(--fs-color-primary) !important;
}

/* banner fix */
.banner a.fill{
	z-index: 11;
}

/* horizontally align icons */

.align-icons{
    align-items: center;
}


/* fill image height */

.fill img, .fill .img-inner{
	height: 100%;
}

.fill img{
	object-fit: cover;
}

.show-radius .col-inner{
	overflow: hidden;
}

/*** clickable cards ***/

/* position the a tag */
.clickable-card .clickable-card-link{
	position: absolute;
	display: block;
	width: 100%; 
	height: 100%;
	top: 0; 
	left: 0;
	z-index: 99;
}

.clickable-card .clickable-card-link span{
	font-size: 0;
	height: 0;
}

.clickable-card .clickable-card-link i{
	display: none;
}

/* hover effects */ 
.clickable-card > .col-inner, .clickable-card > .col-inner img{
	transition: .2s ease-in-out;
}

.clickable-card > .col-inner:hover{
	/* on hover, change your card color to a new color */
	background: #1E00A1;
	background: linear-gradient(80deg, rgba(30, 0, 161, 1) 0%, rgba(0, 102, 161, 1) 100%);
}

.clickable-card > .col-inner:hover *{
	color: white; /* make all the text inside your hovered card white */
}

.clickable-card > .col-inner:hover img{
	transform: scale(1.1); /* if you have an image in your card, make it grow on card hover */
}

/* fix flatsome overlay error */
.overlay{
	width: calc(100% + 2px) !important;
}

/* limit size of containers on mobile */
@media only screen and (max-width: 1200px){
	.container-width, .full-width .ubermenu-nav, .container:not(.banner-layers), .row:not(.row-collapse){
		width: calc(100% - 30px);
	}
}

/* fix alignment on absolute footer */
@media (min-width: 850px){
	.footer-secondary{
		padding: 0px !important;
	}
}

.results-post .post-meta {
	display: none;
}

.page-number {
	border-radius: 0px !important;
}

.header-inner {
	margin-top: 20px;
	border-top: 1px solid #a7c1c9;
	border-bottom: 1px solid #a7c1c9;
}

.box-shadow-5 {
	box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

/* Single Blog Post Header Styles */
.page-title-bg {
	background-image: url("http://loganlaw.flywheelsites.com/wp-content/uploads/2025/06/blog-inner-hero-update.png");
	background-position: center;
	background-size: cover;
}

.title-overlay {
	display: none;
}

/* Form Button */
.gform_button {
	padding: 7px 30px !important;
	border-radius: 0px !important;
}