/*
Theme Name: Frost Child
Template: frost
Theme URI: https://frostwp.com/
Author: WP Engine
Author URI: https://wpengine.com/
Description: Child theme of Frost
Requires at least: 6.5
Tested up to: 6.5.2
Requires PHP: 7.0
Version: 1.0.9
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: frost-child
*/


/* --- RESPONSIVE --- */

/* Desktop */
@media (width > 781px) {
    .home-h1 {
        font-size: clamp(48px, 3rem + ((1vw - 3.2px) * 2.362), 72px) !important;
    }
}

/* Tablet */
@media (width <= 820px) {
    /* TEMPORARY - TODO: Fix mobile submenu */
    .wp-block-navigation__submenu-container {
        display: none !important;
}
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
        color: var(--wp--preset--color--contrast);
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }
    .wp-block-navigation {
        order: 1;
        flex-grow: 0;
    }
    header .wp-block-site-logo {
        flex-grow: 1;
    }
    .overflow-clip .wp-block-cover {
        min-height: 300px !important;
    }
}
/* Mobile */
@media (width <= 781px) {
    .header-phone .wp-block-button__link {
        font-size: 0 !important;
        padding: 0;
        border: none;
    }

    .is-style-outline .wp-block-button__link:hover {
        background-color: white !important;
    }
    
    .header-phone .wp-block-button__link img {
        width: 30px;
        margin: 0;
    }
    header .wp-block-site-logo img {
        width: 150px;
    }
    header .wp-block-navigation-item {
        font-size: 1.4rem !important;
        line-height: 2;
    }
    .hero-section {
        min-height: 20em !important;
    }
    .hero-arrow.safe-svg-inside svg {
        width: 47px;
    }
    .hide-mobile {
        display: none !important;
    }
    .center-mobile {
        text-align: center;
    }
    .wp-block-button.center-mobile {
        margin-inline: auto;
    }
    .partner-logos {
        gap: 30px;
    }
    .wp-block-media-text {
        gap: 30px;
    }
    .wp-block-media-text>.wp-block-media-text__content {
        padding-inline: 0;
    }
    .awards-logos {
        flex-wrap: wrap;
        gap: 2.2em;
    }
    .awards-logos .wp-block-image {
        width: 7em;
    }
    .hero-title {
        font-size: 40px !important;
    }
    .reverse-columns-mobile {
        flex-direction: column-reverse;
    }
}

/* Small Mobile */
@media (width <= 425px) {
.page-template-default .wp-block-post-featured-image {
    float: none;
    margin: 0 auto;
}
}

/* --- Header --- */
.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: "";
    z-index: 13;
    position: absolute;
    width: 100%;
    height: 5px;
    top: 0;
    left: 0;
    background: linear-gradient(to right, #F5941C 0%, #F5941C 61%, #FFCF95 100%);
}

.has-background .wp-block-navigation__responsive-container-open:focus, .has-background .wp-block-navigation__responsive-container-open:hover {
    color: var(--wp--preset--color--contrast);
}

.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {
    width: 47px !important;
    height: 47px !important;
}

.wp-block-navigation__responsive-container-open rect:first-of-type {
  transform: translateY(2px);
}

.wp-block-navigation__responsive-container-open rect:last-of-type {
  transform: translateY(-1px);
}

.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {
    width: 47px !important;
    height: 47px !important;
}

.wp-block-navigation__responsive-container-open rect:first-of-type {
  transform: translateY(2px);
}

.wp-block-navigation__responsive-container-open rect:last-of-type {
  transform: translateY(-1px);
}

.wp-block-navigation__submenu-container {
    border-radius: 10px;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__label {
    font-size: 0.8em;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    padding: 10px;
    border-radius: 5px;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
    background: #143b461c;
}

/* --- Buttons --- */
.wp-element-button img {
	vertical-align: middle;
    margin-right: 7px;
    margin-bottom: 1px;
}

.wp-block-navigation__responsive-container-close, .wp-block-navigation__responsive-container-open {
    border: none;
}

.is-style-outline .wp-block-button__link:hover {
    background-color: color-mix(in srgb, var(--wp--preset--color--primary) 10%, transparent);
}

.icon-button a::after {
    content: "";
    display: inline-block;
    width: 19px;
    height: 14px;
    background: url('/wp-content/uploads/2025/02/arrow_right.svg') no-repeat center;
    background-size: contain;
    margin-left: 8px;
    transition: transform 0.3s ease-in-out;
}

.icon-button:not(.is-style-outline, .is-style-fill) a::after {
    filter: brightness(0) invert(1);
}

.icon-button a:hover::after {
    transform: translateX(4px);
}

.wp-block-button__link:hover {
    background-color: #ff8e00;
}

.wp-block-social-link-anchor {
    padding: 10px;
}

button#copy {
    border: none;
    background: var(--wp--preset--color--primary);
    color: white;
    border-radius: 50px;
    padding: 8px;
    width: 100%;
    max-width: 100px;
    display: block;
    margin: 10px 0 0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'DM Sans';
}

button#copy:hover {
    background: #ff8e00;
}

/* --- Text --- */
.is-style-label {
    color: #3393AE;
    font-size: 0.84em;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

b,
strong,
th {
	font-weight: var(--wp--custom--font-weight--semi-bold);
	font-weight: 600;
}

.wp-block-heading {
    text-wrap: pretty;
}

:is(.page-template-default, .post-template-default) .wp-block-heading:not(.large-on-child) {
    font-size: 2em;
}

.form-heading {
	color: #32464b;
	font-weight: 800;
}

.text-align-center {
	text-align: center;
}

/* --- Utility Classes --- */
.rounded-lg, .rounded-lg > * {
    border-radius: 33px;
}

.rounded-15 {
    border-radius: 15px;
}

.opacity-40 {
    opacity: .4;
}

.opacity-50 {
    opacity: .5;
}

.no-underline a {
    text-decoration: none;
}

.balance-text {
    text-wrap: balance;
}

.width-md {
    text-wrap: balance;
    max-width: 500px;
}

.width-600 {
    text-wrap: balance;
    max-width: 600px;
}

.width-lg {
    text-wrap: balance;
    max-width: 1050px;
}

.overflow-clip {
    overflow: clip;
}

.white-background img {
	background-color: #ffffff96;
}

/* Team Video Section */
.team-lines-block {
    height: 30em;
}

.team-lines-block figure {
    position: absolute;
}

.team-lines-block .wp-block-video {
    right: 50%;
    transform: translateX(50%);
    width: 100%;
    max-width: 700px;
    padding: 15px;
    z-index: 0;
}

.team-top-left {top: -80px; left: 2%;}

.team-top-right {top: 5%;right: -2px;}

.team-bottom-left {bottom: -70px; left: 24%;}

.team-bottom-right {bottom: -70px; right: 19%;}

.team-line { z-index: -1;}

.dots-right {right: 99px;bottom: 0;}

.dots-left {top: 30px;left: 0;}

.dots-top {top: -68px;right: 6%;}

.team-lines-block .has-custom-border img {
    object-position: 50% 7%;
}

@media (width <= 767px) {
   /*Line Separator*/
	.wp-block-separator.separator {
		margin-bottom: 0;
	}
	.wp-site-blocks .wp-block-group .entry-content.wp-block-post-content .wp-block-group.padding-top-mobile-15px {
		padding-top: 15px!important;
	}
}

@media (width <= 781px) {
    .team-lines-block {
        height: 335px;
    }
    .team-lines-block .wp-block-video video {
        height: 320px;
    }
    .team-lines-block .wp-block-image.has-custom-border img {
        width: 80px !important;
        border-width: 5px !important;
    }
    .team-line {
        transform: scale(.75);
    }
    .team-bottom-left {bottom: -16%;left: 12%}
    .team-bottom-right { right: 14%;}
    .team-top-left {left: 0; top: -18%; }
    .team-top-right {right: 0; top: -7%}
    .dots-right {right: -23px; bottom: -16%;}
    .dots-left {top: -55px; left: -12%;}
    .dots-top {top: -68px; right: -3%;}
}

/* --- Modal Block --- */
.dotted-line-sect {
    position: relative;
    z-index: 0;
}

.dotted-line-sect::before {
    content: "";
    z-index: -1;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 68%;
    border: 8px;
    border-style: dotted none none none;
    border-color: #ECEAE2;
}

@media (width <= 781px) {
    .mobile-row-col {
        display: grid;
        grid-template-columns: 30% 70%;
    }
    
    .mobile-row-col .wp-block-safe-svg-svg-icon {
        grid-row: 1 / 3;
        height: 100%;
        vertical-align: middle;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-row-col p {
        grid-column: 2;
        text-align: left;
        margin-block-start: 8px; }
    
    .mobile-row-col p:first-of-type {
        margin-block-start: 0; }
    
    .dotted-line-sect::before {
        display: none;
    }
    
    .dotted-line-sect {
        gap: 44px;
    }
}

/* --- Images --- */
.wp-block-image img {
    vertical-align: middle;
}

.dotted-circle {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 222px;
    border: 6px dotted #e4f2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.dotted-circle::before,
.dotted-circle::after {
    content: "";
    position: absolute;
    background: #e4f2f5;
    border-radius: 50px;
}

.dotted-circle::before { width: 4px; height: 20%; }
.dotted-circle::after { height: 4px; width: 20%; }

.image-swap figure {
    margin: 0
}

.image-swap figure:first-of-type:not(:only-of-type) {
    position: absolute;
    z-index: 1;
    transition: all .4s ease-in-out
}

.image-swap figure:first-of-type:not(:only-of-type):hover {
    opacity: 0
}

/* --- Child Pages --- */
a.parent-post:before {
    content: "< ";
}

/* --- Blog --- */
.blog .wp-block-post-excerpt__more-text {
    display: none;
}

/* --- GEOBLOCK --- */

.geo-block-inner {
    background: var(--wp--preset--color--neutral);
    padding: 30px 12px 30px;
    border-radius: 24px;
  }
  
  h3.gb-cities-col {
    line-height: 1.6;
    text-transform: none;
    font-weight: 400;
    font-size: 1em;
    text-wrap: balance;
    color: var(--wp--preset--color--custom-dark-blue);
  }
  
  .gb-buttons a {
    background: var(--wp--preset--color--base);
    color: var(--wp--preset--color--contrast);
    border: 1px solid var(--wp--preset--color--primary);
    border-radius: 60px;
    padding: 10px;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
  }
  
  .gb-title h2 {
    font-size: 1.2rem;
    line-height: 1.3;
  }
  
  .geo-subhead {
    font-weight: 600;
    letter-spacing: -0.019em;
  }

/* --- Hide or Show PPC Hero Form --- */

/*Hero with Form - Column*/
.wp-block-column.hide-tablet-1024 {
	display: none;
}

/*Hero with Form - Form in Page Body*/
.wp-block-group.tablet-mobile-form {
	display: block;
}

@media (width <= 1024px) {
/*Hero with Form*/
	.wp-block-cover.form-hero {
		min-height: 20em;
	}
	.wp-block-cover.form-hero .wp-block-cover__inner-container .wp-block-group .wp-block-columns .wp-block-column.full-width-tablet-col {
		flex-basis: 100%!important;
	}
	.center-tablet {
		text-align: center;
	}
}

@media (width >= 1025px) {
    /*Hero with Form - Column*/
	.wp-block-column.hide-tablet-1024 {
		display: block;
	}
	/*Hero with Form - Form in Page Body*/
	.wp-block-group.tablet-mobile-form {
		display: none;
    }
	.width-90-percent-desktop {
		width: 90%;
	}
	.wp-block-group.min-height-309 {
		min-height: 309px;
	}
}

/* Referral Bow */
.corner-bow-wrapper {
    position: relative;
    overflow: clip;
}

.corner-bow {
    position: absolute;
    top: -18px;
    left: -6px;
}

/* --- Gravity Forms ---*/
.gform_wrapper.gform-theme {
	text-align: left;
}

.gform_required_legend {
	display: none;
}

.gform_wrapper.gform-theme .gform-body.gform_body .gform_fields {
	gap: 16px;
}

.gform_wrapper.gform-theme .gform-body.gform_body .gform_fields .gfield .ginput_container input {
	color: #4c6268;
	border: solid 1px #97d1e4;
	padding: 10px;
	border-radius: 5px;
}

.gform_wrapper.gform-theme .gform-body.gform_body .gform_fields .gfield .ginput_container input:focus,
.gform_wrapper.gform-theme .gform-body.gform_body .gform_fields .gfield .ginput_container input:active,
.gform_wrapper.gform-theme .gform-body.gform_body .gform_fields .gfield .ginput_container input:visited {
	color: #00576e;
	border: solid 1px #ffa22e;
	outline: none;
}

.gform_wrapper.gform-theme .gform-body.gform_body .gform_fields .gfield .ginput_container input::placeholder {
	font-size: 0.875rem;
    opacity: 1;
}

.gform_wrapper.gform-theme .gform-footer.gform_footer .gform_button.button {
	border: none;
	border-radius: 50px!important;
}

.gform_wrapper.gform-theme .gform-footer.gform_footer .gform_button.button:hover {
	background-color: #FF8E05;	
}

.gform_wrapper.gform-theme .gform-footer.gform_footer .gform_button.button:focus {
	border: none;
	outline: none;
}

/* .gform_confirmation_wrapper.gform_wrapper.gform-theme  .gform_confirmation_message {
    background-color: #00576e!important;
    color: #ffffff;
    padding: 10px 30px;
    border-radius: 30px;
    text-align: center;
} */

.gform_confirmation_wrapper.gform_wrapper.gform-theme  .gform_confirmation_message {
    background-color: #ffffff!important;
	border: solid 1px #ffa22e;
    color: #00576e;
    padding: 10px 30px;
    border-radius: 30px;
    text-align: center;
}

.gform_confirmation_wrapper.gform_wrapper.gform-theme  .gform_confirmation_message::before,
.gform_confirmation_wrapper.gform_wrapper.gform-theme  .gform_confirmation_message::after {
    content: unset;
}

h3.gsection_title {
    font-size: 1.2rem;
}

.gfield--type-section {
    margin-bottom: 17px;
    border-block-end: 1px solid #3393ae26
 !important;
}

.gfield--type-section:not(:first-of-type) {
    margin-top: 20px;
}

/* ############################################################## */
/* Global CSS styles to fix form validation from breaking layouts */
/* ############################################################## */

.gform-theme--framework .gform_validation_errors .gform_submission_error {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* --- CR Suite Modals --- */

button#myModal-launch {
	cursor: pointer;
    background-color: var(--wp--preset--color--primary);
    border: 1px solid rgba(0, 0, 0, 0);
    padding: 10px 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
	border-radius: 3px;
}

.modal-header button.close {
    cursor: pointer;
}

h3#modalLabel {
    font-size: 26px;
    line-height: 1.15;
    margin-top: 16px;
}

.modal-footer {
    display: none;
}

.modal-header img {
    width: 250px;
}

.consent-checkbox-field .gchoice {
    align-items: center;
}

/* --- Video --- */
.wp-block-embed iframe {
    border-radius: 27px;
    box-shadow: 0px 2px 3px #00000033;
}