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

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

.shooting-star{
	position: relative;
	display: inline;
}

.shooting-star::before{
	content: '';
	display: block;
	position: absolute;
	top: -20px;
	right: -40px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 946.45 184.71'%3E%3Cpolygon class='cls-1' points='806.23 75.9 838.26 82.1 850.67 56.44 857.48 86.12 897.04 90.04 858.21 108.95 868.25 148.17 868.08 148 886.16 180.13 869.29 114.07 931.2 83.92 865.18 77.38 853.87 28.11 832.91 71.44 782.37 61.66 784.15 63.87 806.23 75.9'/%3E%3Cpath class='cls-1' d='M794.68,28.67S449.87-54.7,17.34,88.77c0,0,432.71-118.09,771.34-46.96l6-13.14Z'/%3E%3C/svg%3E") no-repeat right top;
	width: 100%;
	height: 100px;
}

.shooting-star.lift::before{
	top: -40px;
}

.divide::before{
	content: '';
	display: block;
	position: absolute;
	top: 0px;
	right: -150px;
	width: 150px;
	height: 100%;
	z-index: 1;
}

.green-bg .shooting-star::before{
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 946.45 184.71'%3E%3Cpolygon class='cls-1' points='806.23 75.9 838.26 82.1 850.67 56.44 857.48 86.12 897.04 90.04 858.21 108.95 868.25 148.17 868.08 148 886.16 180.13 869.29 114.07 931.2 83.92 865.18 77.38 853.87 28.11 832.91 71.44 782.37 61.66 784.15 63.87 806.23 75.9' fill='%23012D62'/%3E%3Cpath class='cls-1' d='M794.68,28.67S449.87-54.7,17.34,88.77c0,0,432.71-118.09,771.34-46.96l6-13.14Z' fill='%23012D62'/%3E%3C/svg%3E") no-repeat right top;
}

.red-bg .shooting-star::before{
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 946.45 184.71'%3E%3Cpolygon class='cls-1' points='806.23 75.9 838.26 82.1 850.67 56.44 857.48 86.12 897.04 90.04 858.21 108.95 868.25 148.17 868.08 148 886.16 180.13 869.29 114.07 931.2 83.92 865.18 77.38 853.87 28.11 832.91 71.44 782.37 61.66 784.15 63.87 806.23 75.9' fill='%23012D62'/%3E%3Cpath class='cls-1' d='M794.68,28.67S449.87-54.7,17.34,88.77c0,0,432.71-118.09,771.34-46.96l6-13.14Z' fill='%23012D62'/%3E%3C/svg%3E") no-repeat right top;
}

.red-star .shooting-star::before{
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 946.45 184.71'%3E%3Cpolygon class='cls-1' points='806.23 75.9 838.26 82.1 850.67 56.44 857.48 86.12 897.04 90.04 858.21 108.95 868.25 148.17 868.08 148 886.16 180.13 869.29 114.07 931.2 83.92 865.18 77.38 853.87 28.11 832.91 71.44 782.37 61.66 784.15 63.87 806.23 75.9' fill='%23D11242'/%3E%3Cpath class='cls-1' d='M794.68,28.67S449.87-54.7,17.34,88.77c0,0,432.71-118.09,771.34-46.96l6-13.14Z' fill='%23D11242'/%3E%3C/svg%3E") no-repeat right top;
}

.blue-bg .shooting-star::before{
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 946.45 184.71'%3E%3Cpolygon class='cls-1' points='806.23 75.9 838.26 82.1 850.67 56.44 857.48 86.12 897.04 90.04 858.21 108.95 868.25 148.17 868.08 148 886.16 180.13 869.29 114.07 931.2 83.92 865.18 77.38 853.87 28.11 832.91 71.44 782.37 61.66 784.15 63.87 806.23 75.9' fill='%236CCA98'/%3E%3Cpath class='cls-1' d='M794.68,28.67S449.87-54.7,17.34,88.77c0,0,432.71-118.09,771.34-46.96l6-13.14Z' fill='%236CCA98'/%3E%3C/svg%3E") no-repeat right top;
}

.blue-star .shooting-star::before{
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 946.45 184.71'%3E%3Cpolygon class='cls-1' points='806.23 75.9 838.26 82.1 850.67 56.44 857.48 86.12 897.04 90.04 858.21 108.95 868.25 148.17 868.08 148 886.16 180.13 869.29 114.07 931.2 83.92 865.18 77.38 853.87 28.11 832.91 71.44 782.37 61.66 784.15 63.87 806.23 75.9' fill='%23012D62'/%3E%3Cpath class='cls-1' d='M794.68,28.67S449.87-54.7,17.34,88.77c0,0,432.71-118.09,771.34-46.96l6-13.14Z' fill='%23012D62'/%3E%3C/svg%3E") no-repeat right top;
}

.blue-bg.divide::before{
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233.32 1499.71'%3E%3Cpolygon points='.32 1499.71 0 1499.71 0 0 233.32 0 .32 1499.71' fill='%23012D62'/%3E%3C/svg%3E") no-repeat top left;
}

.green-bg.divide::before{
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233.32 1499.71'%3E%3Cpolygon points='.32 1499.71 0 1499.71 0 0 233.32 0 .32 1499.71' fill='%236CCA98'/%3E%3C/svg%3E") no-repeat top left;
}

.red-bg.divide::before{
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233.32 1499.71'%3E%3Cpolygon points='.32 1499.71 0 1499.71 0 0 233.32 0 .32 1499.71' fill='%23D11242'/%3E%3C/svg%3E") no-repeat top left;
}

/* color variables */
:root{
	--primary: #446084;
}

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

h2{
	font-size: 2.1em;
}

h3{
	font-size: 1.7em;
}

h4{
	font-size: 1.4em;
}

h5{
	font-size: 1.2em;
}

h6{
	font-size: 1em;
}

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

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

.custom-slider .slider-style-container .flickity-slider>:not(.is-selected){
	opacity: 1;
}

.custom-slider .flickity-viewport{
	min-height: 600px;
}

.position-left img{
	object-position: 0% 50%;
}

.position-right img{
	object-position: 100% 50%;
}

/* tabs special styling */

.top-tabs .nav{
	border-radius: 3px;
	display: flex;
	flex-direction: row;
}

.top-tabs .nav .tab a{
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	font-size: 1em;
}

.top-tabs .nav .tab{
	width: 20%;
	margin: 0;
	padding: 0px 10px;
}


@media (max-width: 800px){
	.top-tabs .nav .tab{
		width: 100%;
	}
}

.top-tabs .nav .tab:nth-child(1) a:before{
	content: url("/wp-content/uploads/2025/01/concept.svg");
}

.top-tabs .nav .tab:nth-child(2) a:before{
	content: url("/wp-content/uploads/2025/01/start.svg");
}

.top-tabs .nav .tab:nth-child(3) a:before{
	content: url("/wp-content/uploads/2025/01/growth.svg");
}

.top-tabs .nav .tab:nth-child(4) a:before{
	content: url("/wp-content/uploads/2025/01/scale.svg");
}

.top-tabs .nav .tab:nth-child(5) a:before{
	content: url("/wp-content/uploads/2025/01/succession.svg");
}

.top-tabs .nav .tab a{
	display: block;
	width: 100%;
}

.top-tabs .nav .tab a:hover:before, .top-tabs .nav .tab.active a:before{
	opacity: 1;
}

.top-tabs .nav .tab a:before{
	opacity: 1;
	transition: .2s ease-in;
}

.nav:hover>li:not(:hover)>a:before, .nav:hover .active:not(:hover) {
    opacity: .7;
	filter: grayscale(100%);
}

.top-tabs .nav .tab a{
	text-align: center;
}

.top-tabs .nav .tab a span{
	margin-right: 35px;
}

.top-tabs .nav .tab.active a, .top-tabs .nav .tab:hover a{
	font-weight: bold;
}