/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

@import "assets/fonts/lora/stylesheet.css";
@import "assets/fonts/dm-sans/stylesheet.css";

:root {
    /* Text size scale */
    /* https://www.fluid-type-scale.com/calculate?minFontSize=20&minWidth=320&minRatio=1.25&maxFontSize=22&maxWidth=1280&maxRatio=1.333&steps=6%2C5%2C4%2C3%2C2%2C1%2Ctitle&baseStep=4&prefix=h&decimals=2&useRems=on&remValue=16&previewFont=Inter&previewText=Almost+before+we+knew+it%2C+we+had+left+the+ground&previewWidth=900 */
    --text-xs: clamp(0.79rem, -0.01vw + 0.79rem, 0.78rem);
    --text-s: clamp(0.89rem, 0.08vw + 0.87rem, 0.94rem);
    --text-m: clamp(1rem, 0.21vw + 0.96rem, 1.13rem);
    --text-l: clamp(1.13rem, 0.37vw + 1.05rem, 1.35rem);
    --text-xl: clamp(1.27rem, 0.59vw + 1.15rem, 1.62rem);

    /* Heading size scale */
    /* https://www.fluid-type-scale.com/calculate?minFontSize=16&minWidth=320&minRatio=1.125&maxFontSize=18&maxWidth=1280&maxRatio=1.2&steps=xs%2Cs%2Cm%2Cl%2Cxl&baseStep=m&prefix=text&decimals=2&useRems=on&remValue=16&previewFont=Inter&previewText=Almost+before+we+knew+it%2C+we+had+left+the+ground&previewWidth=900 */
    --h6: clamp(0.8rem, -0.04vw + 0.81rem, 0.77rem);
    --h5: clamp(1rem, 0.05vw + 0.99rem, 1.03rem);
    --h4: clamp(1.25rem, 0.21vw + 1.21rem, 1.38rem);
    --h3: clamp(1.56rem, 0.45vw + 1.47rem, 1.83rem);
    --h2: clamp(1.95rem, 0.82vw + 1.79rem, 2.44rem);
    --h1: clamp(2.44rem, 1.36vw + 2.17rem, 3.26rem);
    --h-title: clamp(3.05rem, 2.15vw + 2.62rem, 4.34rem);
}

body {
    --hkb-widget-bg: #F2F2F2;
    --hkb-widget-radius: 5px;
    --hkb-search-field-radius: 5px;
}

.my-0 {
    margin-top: 0!important;
    margin-bottom: 0!important;
}
.my-1 {
    margin-top: 0.25rem!important;
    margin-bottom: 0.25rem!important;
}
.my-2 {
    margin-top: 0.5rem!important;
    margin-bottom: 0.5rem!important;
}
.my-3 {
    margin-top: 1rem!important;
    margin-bottom: 1rem!important;
}
.my-4 {
    margin-top: 1.5rem!important;
    margin-bottom: 1.5rem!important;
}
.my-5 {
    margin-top: 3rem!important;
    margin-bottom: 3rem!important;
}
.mt-0 {
    margin-top: 0!important;
}
.mt-1 {
    margin-top: 0.25rem!important;
}
.mt-2 {
    margin-top: 0.5rem!important;
}
.mt-3 {
    margin-top: 1rem!important;
}
.mt-4 {
    margin-top: 1.5rem!important;
}
.mt-5 {
    margin-top: 3rem!important;
}
.mb-0 {
    margin-bottom: 0!important;
}
.mb-1 {
    margin-bottom: 0.25rem!important;
}
.mb-2 {
    margin-bottom: 0.5rem!important;
}
.mb-3 {
    margin-bottom: 1rem!important;
}
.mb-4 {
    margin-bottom: 1.5rem!important;
}
.mb-5 {
    margin-bottom: 3rem!important;
}
.px-0 {
    padding-right: 0!important;
    padding-left: 0!important;
}
.px-1 {
    padding-right: 0.25rem!important;
    padding-left: 0.25rem!important;
}
.px-2 {
    padding-right: 0.5rem!important;
    padding-left: 0.5rem!important;
}
.px-3 {
    padding-right: 1rem!important;
    padding-left: 1rem!important;
}
.px-4 {
    padding-right: 1.5rem!important;
    padding-left: 1.5rem!important;
}
.px-5 {
    padding-right: 3rem!important;
    padding-left: 3rem!important;
}
.pt-0 {
    padding-top: 0!important;
}
.pt-1 {
    padding-top: 0.25rem!important;
}
.pt-2 {
    padding-top: 0.5rem!important;
}
.pt-3 {
    padding-top: 1rem!important;
}
.pt-4 {
    padding-top: 1.5rem!important;
}
.pt-5 {
    padding-top: 3rem!important;
}
.pb-0 {
    padding-bottom: 0!important;
}
.pb-1 {
    padding-bottom: 0.25rem!important;
}
.pb-2 {
    padding-bottom: 0.5rem!important;
}
.pb-3 {
    padding-bottom: 1rem!important;
}
.pb-4 {
    padding-bottom: 1.5rem!important;
}
.pb-5 {
    padding-bottom: 3rem!important;
}
.text-decoration-none, .text-decoration-none > a {
    text-decoration: none;
}

/* Site Wrapper */
.site-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
}

.ar-16-9 {
    aspect-ratio: 16/9;
}
.ar-9-16 {
    aspect-ratio: 9/16;
}
.ar-4-3 {
    aspect-ratio: 4/3;
}
.ar-3-4 {
    aspect-ratio: 3/4;
}
.ar-1-1 {
    aspect-ratio: 1/1;
}

/* Visually Hidden */
.visually-hidden:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* No Underline */
.no-ul, .no-ul a {
    text-decoration: none;
}

/* Remove bottom margin on last paragraph */
.gb-container p:last-child:last-of-type {
    margin-bottom: 0px;
}
.block-editor-block-list__layout .gb-container p:nth-last-child(2) {
    margin-bottom: 0px;
}

.text-underline, .text-underline > a {
    text-decoration: underline;
}

a.gb-button:hover, .card-animation:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 6px -1px, rgba(0, 0, 0, 0.06) 0 2px 4px -1px;
    transform: translateY(-2px);
}

.slideout-navigation.do-overlay .inside-navigation {
    height: 100%;
    padding: 10% 30px;
    justify-content: center;
}

.wp-block-search {
    position: relative;
}
.wp-block-search__inside-wrapper input[type=search] {
    border-color: var(--dark);
    border-radius: 5px;
    line-height: 18px;
    padding-right: 52px;
}
.wp-block-search__button {
    position: absolute;
    right: 10px;
    text-indent: -9999px;
    background-image: url(assets/images/search.svg);
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: center;
    background-size: 22px;
    line-height: 18px !important;
}
.wp-block-search__button:hover {
    background-color: transparent;
}
::placeholder, div.wpforms-container-full input::placeholder,
::-webkit-input-placeholder, div.wpforms-container-full input::-webkit-input-placeholder, /* WebKit, Blink, Edge */
::-ms-input-placeholder, div.wpforms-container-full input::-ms-input-placeholder { /* Edge 12 -18 */
    color: var(--dark) !important;
    opacity: 1 !important;
}
div.wpforms-container-full {
    margin-top: 16px;
    margin-bottom: 16px;
}
div.wpforms-container-full input:not([type='checkbox']):not([type='radio']),
div.wpforms-container-full select {
    height: 40px;
    min-height: 40px;
    border-radius: 5px;
}
div.wpforms-container-full input[type=checkbox]:before, div.wpforms-container-full input[type=radio]:before,
div.wpforms-container-full input, div.wpforms-container-full select, div.wpforms-container-full textarea {
    border-color: var(--grey) !important;
}
div.wpforms-container-full textarea {
    border-radius: 5px;
}
div.wpforms-container-full input[type=email] {
    background-color: var(--white);
    color: var(--dark);
    border-radius: 5px;
    padding: 8px 12px;
}
div.wpforms-container-full form button[type=submit]:not(:hover):not(:active) {
    font-weight: 700;
    text-align: center;
    padding: 8px 20px;
    border-radius: 5px;
    border: 0 solid var(--yellow);
    background-color: var(--yellow);
    color: var(--dark);
}
div.wpforms-container-full form button[type=submit]:hover {
    font-weight: 700;
    text-align: center;
    padding: 8px 20px;
    border-radius: 5px;
    border: 0 solid var(--yellow);
    background: var(--yellow);
    color: var(--dark);
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 6px -1px, rgba(0, 0, 0, 0.06) 0 2px 4px -1px;
    transform: translateY(-2px);
}
div.wpforms-container-full .wpforms-field-label {
    font-weight: normal;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 24px;
}
div.wpforms-container-full .wpforms-field-sublabel {
    color: var(--dark);
}
.wpforms-field label a {
    text-decoration: underline;
}
div.wpforms-container-full .wpforms-form label.wpforms-error, div.wpforms-container-full .wpforms-form em.wpforms-error {
    margin-top: 8px;
}
#wpforms-form-429, #wpforms-form-429 .wpforms-field-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
}
#wpforms-form-429 .wpforms-field-container {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}
#wpforms-form-429 .wpforms-field {
    padding-top: 0;
    padding-bottom: 0;
}
#wpforms-form-429 .wpforms-field-container .wpforms-field {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}
.wpforms-container #wpforms-form-429 .wpforms-submit-container {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    margin-top: 0;
}
div#hkb .hkb-fullwcontainer {
    width: 100%;
    position: static;
    margin-left: auto;
    margin-right: auto;
}
div#hkb .hkb-searchbox-wrapper[data-hkb-header-type=solid], div#hkb .hkb-subheader[data-hkb-header-type=solid] {
    border-radius: 5px;
    padding-left: 20px;
    padding-right: 20px;
}
div#hkb .hkb-container {
    padding: 0 0px;
}
div#hkb .hkb-mainpage-wrapper {
    padding: 30px 0;
}
div#hkb .hkb-site-search .hkb-site-search__field {
    line-height: 24px;
    padding: 8px 44px 8px 12px;
    margin-right: 0;
}
div#hkb .hkb-site-search .hkb-site-search__field::placeholder{
    color: var(--dark);
}
div#hkb .hkb-site-search .hkb-site-search__icon {
    left: unset;
    right: 14px;
    z-index: 1;
}
div#hkb .hkb-site-search .hkb-site-search__button {
    display: inline-block;
    background-color: transparent;
    text-indent: -9999px;
    position: absolute;
    right: 0;
    z-index: 2;
    min-width: 44px;
}
div#hkb .hkb-subheader .hkb-site-search .hkb-site-search__button {
    display: inline-block;
}
div#hkb .hkb_widget_exit .hkb_widget_exit__btn, div#hkb .hkb-category .hkb-category__view-all {
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    padding: 8px 20px;
    border-radius: 5px;
    border: 0px solid var(--yellow);
    background-color: var(--yellow);
    color: var(--dark);
}
div#hkb .hkb_widget_exit .hkb_widget_exit__btn:hover, div#hkb .hkb-category .hkb-category__view-all:hover {
    /*border: 1px solid var(--yellow);*/
    /*background-color: var(--dark);*/
    /*color: var(--white);*/
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 6px -1px, rgba(0, 0, 0, 0.06) 0 2px 4px -1px;
    transform: translateY(-2px);
}

div#hkb ul.hkb-article-list>li {
    background-color: var(--grey);
    margin-bottom: 10px;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
}
div#hkb ul.hkb-article-list>li:before {
    top: 7px;
    left: 10px;
    display: none;
}
div#hkb ul.hkb-article-list a {
    line-height: 24px;
}
div#hkb .hkb-category .hkb-category__view-all {
    display: inline-block;
    /*padding-left: 40px;*/
}
div#hkb .hkb-category .hkb-category__view-all::before {
    top: 9px;
    left: 20px;
    display: none;
}
div#hkb .hkb-categoryhead .hkb-categoryhead__title {
    font-size: 30px;
    font-weight: 500;
    line-height: 39px;
}
.gb-container.nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.usaHtml5MapSelector {
    text-align: center;
}
.usaHtml5MapSelector select {
    border-radius: 5px;
    border: none;
    background: #ffffff;
    color: var(--dark);
    padding: 8px 12px;
}
.usaHtml5Mapbottom svg path {
    /*fill: var(--light-yellow);*/
}
.usaHtml5Mapbottom svg path:hover {
    /*fill: var(--yellow);*/
}
.stk-block-carousel.stk--arrows-outside:is(.stk--arrows-align-flex-end,.stk--arrows-align-flex-start) {
    border-bottom: 1px solid var(--dark);
}
.stk-block-carousel.stk--arrows-outside:is(.stk--arrows-align-flex-end,.stk--arrows-align-flex-start) .stk-block-carousel__buttons {
    margin-bottom: -40px;
}
.stk-block-carousel.stk--arrows-outside:is(.stk--arrows-align-flex-end,.stk--arrows-align-flex-start) .stk-block-carousel__dots {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}
.slideout-navigation .top_phone_number {
    position: absolute;
    top: 0;
    left: 0;
}
.slideout-navigation .top_phone_number a {
    display: inline-block;
}
.fadeInUp {
    animation: fadeInUp 0.5s ease backwards;
    /*animation: 1.5s ease-out 0s 1 slideInFromRight forwards;*/
}
@keyframes fadeInUp {
    0% { transform:translate(0px, 50px); opacity: 0; }
    100% { transform:translate(0px, 0); opacity: 1; }
}
@keyframes slideInFromRight {
    0% {
        transform: translateX(50%);
    }
    100% {
        transform: translateX(0);
    }
}

@media (min-width: 768px) {
    .wpforms-container #wpforms-form-429 .wpforms-submit-container,
    #wpforms-form-429 .wpforms-field.field_state {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        max-width: none;
        width: auto;
    }
    #wpforms-form-429 .wpforms-field.field_state {
        width: 112px;
    }
}

@media (max-width: 768px) {
    .menu-bar-items a[data-gpmodal-trigger="gp-search"] {
        display: none;
    }
    .main-navigation .menu-toggle {
        padding: 0;
        font-size: 25px;
    }
    .slideout-navigation.do-overlay .slideout-exit {
        position: absolute !important;
        margin-right: 8px;
    }
    div#hkb .hkb-archive.hkb-archive--three-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    #wpforms-form-429 .wpforms-field-container .wpforms-field, .wpforms-container #wpforms-form-429 .wpforms-submit-container {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    div#hkb .hkb-container {
        padding: 0 0px;
    }
    div#hkb .hkb-archive.hkb-archive--three-cols {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 575px) {
    .stk-block-carousel.stk--arrows-outside:is(.stk--arrows-align-flex-end,.stk--arrows-align-flex-start) .stk-block-carousel__slider {
        /*max-width: 80%;*/
        /*margin-left: 0;*/
        /*overflow: unset;*/
    }
}
