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

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

/* color variables */
:root{
	--primary: #80aad3;
	--dark: #052e47;
}

/* font sizing and new classes */
.display-1 {
    font-size: 4.5em
}

.display-2 {
    font-size: 3.5em
}

.display-3 {
    font-size: 3em
}

.display-4{
	font-size: 2.7em;
}

.display-1, .display-2, .display-3 {
    padding: 0;
    margin-top: .2em;
    margin-bottom: .2em;
}

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

h1{
	font-size: 4.5em;
}

h2{
	font-size: 3em;
}

h3{
	font-size: 1.7em;
}

h4{
	font-size: 1.4em;
}

h5{
	font-size: 1.2em;
}

h6{
	font-size: 1em;
}

h1, h2, h3, h4, h5, h6{
	line-height: 1;
	margin-bottom: 10px;
}

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(--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(--primary) !important;
}

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

label{
	font-weight: normal;
	font-style: italic;
}

/* 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 row (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%;
}

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

/* 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;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    
    /* mobile for display sizes */
    .display-1 {
		font-size: 3em;
	}

	.display-2 {
		font-size: 2.5em;
	}

	.display-3 {
		font-size: 2.3em;
	}

	.display-4{
		font-size: 2em;
	}
}

/* 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;
	}
}

/* header adjustments */
.header .nav-left{
	justify-content: center; 
}

.header-wrapper div > .container{
	width: calc(100% - 80px);
	max-width: 1600px !important;
	margin:  auto;
}

.header-top{
	border-bottom: .5px solid #DBE6EA;
}


/* custom button size */
.button:not(.is-link){
	padding: 5px 35px;
}

.button.secondary.is-outline{
	border-color: #b2c9d2;
}

.is-outline{
	border-width: 1px !important
}

/* custom section width */

.limit-width{
	width: calc(100% - 80px);
	max-width: 1600px;
	margin:  auto;
	border-radius: 30px;
	overflow: hidden;
}

@media only screen and (max-width: 48em) {
	.limit-width{
		width: calc(100% - 60px);
	}
}

/* site background */

#wrapper{
	background: url('/wp-content/uploads/2024/11/wave-pattern-light-1.png');
	background-repeat: repeat;
}

#main{
	background-color: transparent !important;
}

.header-wrapper:not(.stuck) .header-bg-color{
	background-color: unset;
}

/* buttons */

.dark .button.primary:not(.is-link):hover span{
	color: var(--dark);
}

.dark .button.primary:not(.is-link):hover {
	background-color: white;
	box-shadow: none;
}

.button.white:not(.is-link):not(.is-outline) span {
	color: var(--primary)
}

.button.white:not(.is-link):not(.is-outline):hover span {
	color: var(--dark);
}

.rounded img, .rounded{
	border-radius: 20px;
}


/* blog slider */

.box-blog-post .is-divider{
	display: none;
}

.box-blog-post .button{
	border-radius: 99px;
}

/* clickable cards */

/* position the a tag */
.clickable-card .clickable-card-link{
	position: absolute;
	display: block;
	width: 100%; /* width and height 100% of the parent container column-inner */
	height: 100%;
	top: 0; /* make sure absolute position is in the right place */
	left: 0;
	z-index: 99; /* bring link element to the top of the card so it is covering everything else */
}

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

.clickable-card > .col-inner:hover{
	background-color: var(--dark) !important; /* on hover, change your card color to a new color */
}

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

.clickable-card > .col-inner img{
	transition: .2s ease-in;
}

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

.text-overlay .overlay{
	background-color: transparent !important;
	background: -webkit-linear-gradient(top, rgba(3,3,3,0) 50%, rgba(13,13,12,0.6) 100%);
    background: linear-gradient(180deg, rgba(3,3,3,0) 50%, rgba(13,13,12,0.6) 100%);
}

/* gallery fix */
.grid-col .box-image img{
	left: 0;
}

/* blog adjustments */

h6.is-xsmall{
	font-size: 1em;
}

.cat-item a{
	font-size: .85em;
}

span.post_comments{
	display: none;
}

/* video fix */ 
.html5_video_players button{
	margin: unset;
}
