/* 
Theme Name: Hello Child - Emberly
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Emberly Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

body, body p {
    font-family: "proxima-nova", sans-serif;
}

body h1, body h2, body h3, body h4, body h5, body h6 {
    font-family: "industry", sans-serif;
}

/*** Buttons ***/
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

/* All buttons */
.elementor-widget.elementor-widget-button a.elementor-button-link, .button span {
	border-radius: 0px;
    text-align: center;
    padding: 1rem 2rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0;
    font-weight: 700;
    border: none;
    transition: all .3s ease;
    display: block;
}

/* Normal Button */
.elementor-widget.elementor-widget-button:not(.button-secondary) a.elementor-button-link, .button:not(.gform_button) {
	color: #ffffff;
	background-image: linear-gradient(#5F1A18, #B13633);
    transform: skew(-25deg);
    display: inline-block;
}

.button span {
    transform: skew(25deg);
    line-height: 1em;
}

.elementor-widget.elementor-widget-button:not(.button-secondary) {
    margin-left: -0.75rem;
}

.elementor-widget.elementor-widget-button:not(.button-secondary) a.elementor-button-link .elementor-button-text, .button-text {
    transform: skew(25deg);
}

/* Secondary Button */
.elementor-widget-button.button-secondary a.elementor-button-link, .button-secondary span {
	background-color: transparent;
    color: #fff;
    padding-left: 0;
    padding-right: 0;
}

/*** White outline buttons ***/
a.white-outline.button-secondary, .white-outline.button-secondary {
    border: 2px solid white;
    padding: 8px 10px;
    font-weight: bold;
}

/*** Icons After Button ***/
.button-icon::after {
    content: "";
    display: inline-block;
    width: 16px;  /* Adjust the size as needed */
    height: 16px; /* Adjust the size as needed */
    margin-left: 8px;  /* Adjust the spacing as needed */
    background-size: contain;
    background-repeat: no-repeat;
}
.button-icon.button-icon-download::after {
    background-image: url('/wp-content/themes/emberly-child/assets/icons/download-light-icon.svg');
}
.button-secondary.button-icon {
    font-weight: bold;
    text-transform: uppercase;
}

/* Gforms */
.gform_wrapper.gravity-theme #field_submit, .gform_wrapper.gravity-theme .gform_footer {
    display: flex;
    justify-content: center;
   } 

.gform_wrapper.gravity-theme .gform_footer input {
    border: 2px solid #fff;
    border-radius: 0;
}

.elementor-kit-128 button, .elementor-kit-128 input[type="button"], .elementor-kit-128 input[type="submit"], .elementor-kit-128 .elementor-button {
    background-color: transparent;
    color: #ffffff;
	text-decoration: none;
    text-align: center;
    text-transform: uppercase;
	font-weight: bold;
}

body .gform_wrapper.gravity-theme .gfield_required {
    color: #ffffff;
    font-size: 1.5rem;
}

.gform_wrapper.gravity-theme .gfield_label {
	text-transform: uppercase;
}

/*** Hover Zoom ***/
.hover-zoom > *, .hover-zoom {
    transition: all 0.3s ease;
}

.hover-zoom:hover {
    filter: brightness(1.2);
    cursor: pointer;
}

.hover-zoom:hover > * {
    transform: translateY(-0.5rem);
}

/*** Image link ***/
.image-link {
    position: relative;
    overflow: hidden;
}

.image-link a {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.image-link a img {
    transition: all 1s ease;
}

.image-link:hover a img {
    transform: scale(1.1);
}

/*** Breadcrumbs ***/
#breadcrumbs {
    margin-bottom: 2rem;
	text-transform: uppercase;
}

#breadcrumbs > span > * {
    margin: 0 1.25rem;
}

#breadcrumbs > span > *:first-child {
    margin-left: 0;
}

/*** Recent Deliveries Hide Last Breadcrumbs ***/
/* .single.single-delivery span.breadcrumb_last {
    display: none;
} */


/*** FIRETRUCK SPECS ***/
ul.all-specs {
	list-style-type: none; /* Remove bullets */
	padding: 0; /* Remove padding */
	margin: 0; /* Remove margins */
}

ul.all-specs li {
    display: inline-block;
    width: 50%;
}

.single-spec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
    margin-bottom: -1px;
    padding: 0.75rem 0;
	margin-right: 30px;
}

.single-spec > * {
    line-height: 1em;
}

h5.spec-title {
    font-size: 1rem;
    margin: 0;
}

@media screen and (max-width: 800px) {
    ul.all-specs li {
        width: 100%;
        border-top: 1px solid #fff;
    }
    
    ul.all-specs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .single-spec {
        border: 0;
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    ul.all-specs {
        border-bottom: 1px solid #fff;
    }
}

/*** DEALER MAPS ***/
.dealer-wrapper .dealer-sidebar, .acf-map {
    height: 45rem;
}

.acf-map {
	width: 100%;
	border: 0;
	margin: 0;
	padding: 0;
}

.dealer-wrapper {
    background-color: #000;
    display: grid;
    grid-template-columns: 1fr 1fr;
	gap: 0;
}
.gm-style-iw.gm-style-iw-c {
    color: #000;
}

@media screen and (max-width: 800px) {
    .dealer-wrapper {
        grid-template-columns: 1fr;
    }

    .dealer-wrapper .dealer-sidebar {
        height: fit-content;
    }

    .acf-map {
        height: 25rem;
    }

    .dealer-wrapper .dealer-listing {
        padding: 2rem;
    }

    .dealer-wrapper .dealer-listing-details {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

.dealer-wrapper .dealer-sidebar {
	background-color: #000;
    color: #fff;
}

.dealer-search {
    padding: 1rem;
    background-color: #242424;
}

.dealer-sidebar .dealer-listing-items {
    overflow-y: scroll;
    height: calc(100% - 85px);
    width: 100%;
}

.dealer-listing a {
    color: #fff;
}

.dealer-listing {
    padding: 1.5rem 3rem;
    width: 100%;
    display: block;
    line-height: 1.3em;
    border-bottom: 1px solid grey;
}

.dealer-listing-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
	gap: 2rem;
}
.dealer-listing-detail-title {
    display: flex;
    align-items: center;
	gap: 7px;
	margin-bottom: 10px;
}
.dealer-listing-detail-title img {
    height: 20px;
    width: 20px;
}

.dealer-listing-detail-title h5 {
    margin: 0;
	font-size: 1rem;
}

.search-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.search-box h5 {
	margin: 0;
}

.search-box select:hover {
    cursor: pointer;
	color: black;
}

select#state {
    color: black;
}

/** Firetruck Images ***/
.firetruck-thumbnail-image {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    position: relative;
}

.firetruck-thumbnail-image > img {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
}

/*** Gallery ***/
.firetruck-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.firetruck-gallery.single-delivery-gallery {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

@media screen and (max-width: 800px) {
    .firetruck-gallery, .firetruck-gallery.single-delivery-gallery {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/*** Recent Post List ***/
ul.recent-post-list {
    padding: 0;
    list-style: none;
}

/*** Mega Menu ***/
#global-nav {
    position: relative;
}


#mega-menu-firetrucks {
    position: absolute;
    top: 100%;
    opacity: 0;
    z-index: -9999;
}

#mega-menu-firetrucks.mega-menu-active, body.elementor-editor-header #mega-menu-firetrucks {
    opacity: 1;
    z-index: 9999;
}

.mega-menu-icon-wrapper {
    max-width: 5.5rem;
}
#global-nav .elementor-nav-menu .sub-arrow {
    fill: #fff;
}

.mega-menu-trigger-firetrucks a::after {
    display: block;
    width: 1rem;
    height: 1rem;
    position: relative;
    content: "";
    background-image: url(/wp-content/themes/emberly-child/assets/icons/dropdown-arrow-light.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    visibility: visible;
    opacity: 1!important;
    margin-left: 1rem;
}
/* .elementor-editor-active div#mega-menu-firetrucks {
    display: none;
} */

/*** Hide GF legend ***/
/* .gform_wrapper .gform_required_legend {
    display: none;
} */

/*** Firetruck card grid ***/
.firetruck-grid {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    list-style: none;
}
.firetruck-grid.firetruck-grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
}

.firetruck-item a {
    text-decoration: none;
    transition: 0.3s all ease;
}
h3.firetruck-item__title {
    font-size: 1.25rem;
}

@media screen and (max-width: 1100px) {
    .firetruck-grid {
        grid-template-columns: repeat(2, auto);
    }
}

@media screen and (max-width: 800px) {
    .firetruck-grid {
        grid-template-columns: repeat(1, auto);
        margin-bottom: 2rem;
    }
    .firetruck-grid.firetruck-grid-3-cols {
        grid-template-columns: 1fr;
    }
}

/* Available truck card grid ***/
ul.available-trucks.firetruck-grid .firetruck-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    height: 100%;
    display: flex;
}

ul.available-trucks.firetruck-grid .firetruck-item:first-child {
    display: flex;
    flex-direction: column;
}
.firetruck-item.available-truck-item:hover {
    opacity: .8;
}

@media screen and (min-width: 800px) {
    ul.available-trucks.firetruck-grid .firetruck-item:first-child, ul.available-trucks.firetruck-grid .firetruck-item:first-child .firetruck-thumbnail-image, ul.available-trucks.firetruck-grid .firetruck-item:first-child .firetruck-thumbnail-image{
        height: 100%;
    }
}

/*** Available truck ready to ship tag ***/
span.available-tag {
    font-weight: 700;
    text-transform: uppercase;
}
span.sale-pending-tag {
    opacity: .8;
}

.single-available-truck span.sale-pending-tag {
    opacity: 1;
    font-size: 1.563rem;
    font-weight: 900;
    text-transform: uppercase;
    font-family: "industry", sans-serif;
}

/*** Buying cooperatives ***/
.buying-cooperatives {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
}

@media screen and (max-width: 800px) {
    .buying-cooperatives {
        gap: 1.5rem;
        grid-template-columns: repeat(2, 1fr);
    }

    h3.firetruck-item__title {
        margin-bottom: 0;
    }
}

.buying-cooperative img {
    width: 100%;
}

.buying-cooperative-thumbnail {
    display: flex;
    position: relative;
    aspect-ratio: 22/9;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.75rem;
}

.buying-cooperative-thumbnail > img {
    width: 100%;
    height: auto;
    max-width: 7rem;
    max-height: 4rem;
}

.buying-cooperative h3 {
    font-size: 1.1rem;
    margin: 0;
}

.buying-cooperative-links-wrapper {
    margin-top: 1rem;
}

/* Financing */
ul.financing-items {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

@media screen and (max-width: 800px) {
    ul.financing-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem;
    }
    
    ul.financing-items {
        list-style: none;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

.financing-items h3 {
    font-size: 1.1rem;
    margin: 0;
}

.financing-item-thumbnail > img {
    width: 100%;
    height: auto;
    max-width: 11rem;
    max-height: 8rem;
}

.financing-item-thumbnail {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

/*** Button ***/
.elementor-widget-button.button-secondary {
    display: inline-block;
    width: fit-content;
}

.elementor-widget-button.button-secondary .elementor-button-link {
    padding: 0!important;
}

.button-secondary svg, .button-secondary img {
    width: 0.75rem;
    height: 0.75rem;
    margin-left: 0.5rem;
}

.button-secondary {
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    border-bottom: 1px solid #fff;
}

/** Popup Mods ***/
.em-popup-content, .em-popup-content a {
    color: #000;
}

.em-popup-content a:hover {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

@media screen and (max-width: 800px) {
    .em-popup-overlay.em-content-scroll .em-popup .em-popup-content-inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/*** Atonne Companies ***/
.atonne-companies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    padding: 0;
    gap: 3rem;
    align-items: center;
}

.atonne-companies li img {
	width: 100%;
	height: auto;
	max-width: 14rem;
	max-height: 5rem;
}

.atonne-companies li {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 800px) {
    .atonne-companies {
        grid-template-columns: repeat(2, 1fr);
    }
	.atonne-companies li img {
		max-width: 12rem;
		max-height: 4rem;
	}
}

/*** Find a Dealer ***/
.reset-filters {
    display: none;
    text-align: right;
    transition: 0.3s all ease;
}

.reset-filters.reset-filters-active {
    display: block;
}
.dealer-listing-items .not-found {
    padding: 1rem;
    text-align: center;
    background-color: #222;
    width: fit-content;
    color: #999;
}

.dealer-listing-items .not-found a {
    color: #999;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    transition: all 0.2s ease;
}

.dealer-listing-items .not-found a:hover {
    color: #fff;
}

.dealer-listing-items .lds-ripple {
    margin: auto;
}

.dealer-listing-items.processing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*** Loading ripple */
.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ripple div {
    position: absolute;
    border: 4px solid #fff;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  }
  .lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
  }
  @keyframes lds-ripple {
    0% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 0;
    }
    4.9% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 0;
    }
    5% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 1;
    }
    100% {
      top: 0px;
      left: 0px;
      width: 72px;
      height: 72px;
      opacity: 0;
    }
  }



/******* Slick Rotator *****/
.dimensional-rotator-wrapper {
    display: block;
    position: relative;
    width: 100%;
}

#dimensional-rotator {
    margin: 0;
    position: relative;
    width: 100%;
}

.dimensional-rotator-slides {
    width: 100%;
    background-color: #e9e9e9;
}

.hotspot-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    background-color: #0006;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5% 8%;
    display: none;
    z-index: -99999;
    visibility: hidden;
}

.hotspot-overlay.hotspot-active {
    display: flex;
    visibility: visible;
    z-index: 50;
    animation: fadeHotspotIn 0.5s ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

@keyframes fadeHotspotIn {
    0% {
        opacity: 0;
        z-index: -999999;
    }
    1% {
        opacity: 0;
        z-index: 50;
    }
    100% {
        opacity: 1;
        z-index: 50;
    }
}

.hotspot-description {
    max-width: 50%;
}

.hotspot-description h3 {
    margin: 0;
    font-size: 20px;
    margin-bottom: 7px;
}

.rotator-slide {
	position: relative;
	width: 100%;
	overflow: visible;
	height: fit-content;
    display: block;
}

.rotator-slide::after {
	content: "";
	display: block;
	padding-bottom: 60%;
}

ul.slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

ul.slick-dots li {
    background-color: transparent;
    width: fit-content;
    height: fit-content;
    margin-right: 10px;
}

ul.slick-dots li button {
    font-size: 0;
    width: 16px;
    height: 16px;
    min-width: 10px;
    padding: 0;
    border: 2px solid #999;
    background-color: transparent;
    border-radius: 50%;
}

ul.slick-dots li.slick-active button {
    background-color: #222;
    border-color: #222;
}

.hotspot-close {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 5%;
    right: 5%;
    background-color: #fff;
    padding: 7px;
    border-radius: 50%;
    box-shadow: 3px 3px 16px rgb(0 0 0 / 20%);
    transform: rotate(45deg);
    transition: all 0.2s ease;
}

.hotspot-close:hover {
    cursor: pointer;
    transform: rotate(135deg);
}

.hotspot-description p {
    margin-bottom: 15px;
    font-size: 1rem;
    display: block;
    line-height: 1.4em;
}

.hotspot-description a.button {
    display: inline-block;
    padding: 10px 20px;
    line-height: 1em;
}

.hotspot-trigger {
    width: 20px;
 height: 20px;
 display: flex;
 align-items: center;
 justify-content: center;
 background-color: #fff;
 color: #222;
 font-size: 16px;
 border-radius: 50%;
 line-height: 1em;
 transition: all 0.4s ease;
 position: absolute;
 z-index: 10;
 box-shadow: 0 0 10px rgb(0 0 0 / 20%);
}

.hotspot-trigger svg {
 width: 10px;
 height: 10px;
}

.hotspot-trigger:hover {
 cursor: pointer;
 transform: rotate(-135deg) scale(1.15);
}

.hotspot-trigger.hotspot-active {
 transform: rotate(-135deg);
}

@media screen and (max-width: 800px){
    .hotspot-description p {
        display: none;
    }

    .hotspot-description {
        max-width: 130px;
    }

    .hotspot-description a.button {
        font-size: 0.9rem;
    }

    .hotspot-trigger {
        width: 15px;
        height: 15px;
        padding: 3px;
    }

    #dimensional-rotator .slick-prev {
        left: 10px;
        top: calc(100% + 25px);
    }

    #dimensional-rotator .slick-next {
        right: 10px;
        top: calc(100% + 25px);
    }

    .rotator-slide::after { 
        padding-bottom: 80%;
    }

    .hotspot-description h3 {
        background: #fff;
        display: inline-block;
        padding: 5px 10px;
        line-height: 1em;
    }
}


/******** SLIDER *******/
.slick-prev,
.slick-next
{
    font-size: 0;
    line-height: 0;

    position: absolute;
    top: 50%;

    display: block;

    width: 20px;
    height: 20px;
    padding: 0!important;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);

    cursor: pointer;

    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus
{
    color: transparent;
    outline: none;
    background: transparent;
}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before
{
    opacity: 1;
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before
{
    opacity: .25;
}

.slick-prev:before,
.slick-next:before
{
    font-family: 'slick';
    font-size: 20px;
    line-height: 1;

    opacity: .75;
    color: white;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev
{
    left: -30px;
}
[dir='rtl'] .slick-prev
{
    right: -30px;
    left: auto;
}
.slick-prev:before
{
    content: '<';
}
[dir='rtl'] .slick-prev:before
{
    content: '>';
}

.slick-next
{
    right: -30px;
}
[dir='rtl'] .slick-next
{
    right: auto;
    left: -30px;
}
.slick-next:before
{
    content: '>';
}
[dir='rtl'] .slick-next:before
{
    content: '<';
}

body .slick-arrow:before, body .slick-arrow:after {
    color: #fff!important;
}

body .slick-arrow {
    background: transparent!important;
    fill: #fff!important;
}

	.slider-thumbnail {
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
	}
	
	.ratio-16x9 {
		position: relative;
	}
	
	.ratio-16x9:after {
	  content: "";
	  display: block;
	  padding-bottom: 56.25%;
	}
	
	.slider-item {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.slider-heading {
		font-size: 20px;
	}
	
	body .slick-arrow {
		opacity: 0.6;
		transition: all 0.4s ease;
	}
	
	body .slick-arrow:hover {
		opacity: 1;
	}

#item-slider {
    margin: 30px 0;
}

.object-fit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%!important;
    object-fit: cover;
    object-position: center;
}

.hotspot-description {
    color: #000;
}

/*** Firetruck Disclaimer ***/
.firetruck-disclaimer {
    background-color: #444;
    padding: 0.25rem 1.5rem 0.25rem 1.5rem;
    text-align: center;
    border: 1px solid #8e8e8e;
    font-size: .85rem;
}

/*** Container ***/
.container {
    max-width: 95rem;
    margin: 0 auto;
    position: relative;
}

.container-padding {
    padding: 5rem 3rem;
}
@media screen and (max-width: 767px) {
    .container-padding {
        padding: 4rem 2rem;
    }
}

/*** Matterport ***/
.matterport-image, .matterport-image a, .matterport-image img {
    width: 100%;
    height: fit-content;
    display: block;
}

.matterport-walkthrough .button {
    margin-top: 0.75rem;
}
.matterport-image a img {
    width: 100%;
	max-width: 100%;
    height: 100%;
}


/*** Styled Table ***/
.styled-table th, .styled-table td {
    padding: 0.75rem 1.25rem;
}

.styled-table th {
    background-color: #464646;
}
.styled-table th:hover {
    background-color: #464646;
}

.styled-table tr:nth-child(odd) td {
    background-color: #222;
}
.styled-table tr td {
    text-align: center;
}
@media screen and (max-width: 875px) {
	section.wildland-matrix.hme-section {
		overflow-x: scroll;
	}
	.styled-table th, .styled-table td {
		padding: 0.5rem;
	}
}

/*** Location filter ***/
#location_filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/*** Slide Items ***/
.slick-items:not(.slick-initialized) .slick-item:not(:first-child) {
    display: none!important;
}

/*** Section ***/
.hme-section {
    padding: 5rem 2rem;
    position: relative;
}

@media screen and (max-width: 800px) {
    .hme-section {
        padding: 3rem 2rem;
    }
}

.hme-section img {
    width: 100%;
    height: auto;
}

.hme-section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    width: 100%;
}

@media screen and (max-width: 800px) {
    .hme-section-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/*** Columns ***/
.col {
    display: block;
    position: relative;
    min-width: 0;
}

/*** Metal BG ***/
.metal-bg {
    background-image: url(/wp-content/uploads/2023/08/Metal-BG-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*** EZ trac section ***/
section.hme-section.ez-trac {
    padding-bottom: 2rem;
}

section.hme-section.ez-trac img {
    max-width: 35rem;
    margin: 0 auto;
    display: block;
}

/*** Section header ***/

.section-header.section-header-flex {
	display: flex;
    align-items: center;
    margin: 2rem 0;
    justify-content: space-between;
	gap: 1rem;
}

.section-header.section-header-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin: 2rem 0;
}

.section-header.section-header-2col h2 {
    margin: 0;
}

.section-header.section-header-2col .section-col:nth-child(2) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}



/*** Styles for pagination and the recent deliveries section ***/
.pagination-wrapper {
    display: inline-flex;
}

.pagination-wrapper .page-numbers {
    width: 25px;
    height: 25px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #434343;
    margin: 5px;
    border: 1px solid grey;
}

.recent-delivery-wrapper .recent-delivery-search {
    padding-bottom: 25px;
}

.recent-delivery-wrapper .firetruck-grid {
    padding-top: 25px;
}

a.next.page-numbers, a.prev.page-numbers {
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.pagination-wrapper .page-numbers:hover {
    background-color: #b5b5b5;
    transition: .2s all;
}

span.page-numbers.current {
    color: white;
    background-color: #9b9b9b;
}

.recent-delivery-wrapper .not-found {
    font-size: 1rem;
    justify-content: center;
    align-items: center;
    display: flex;
    border: 2px dashed grey;
    padding: 25px;
    max-width: 1000px;
    margin: auto;
    margin-top: 50px;
}

.not-found a {
    padding-left: 10px;
    text-decoration: underline;
    letter-spacing: 2px;
}

/*** News Content ***/
.news-content h2, .news-content h3 {
    font-size: 1.55rem;
    margin-bottom: 0.5rem;
    margin-top: 2.5rem;
    font-family: "proxima-nova", sans-serif;
    text-transform: none;
}

.news-content h2 {
    font-size: 1.55rem;
}

.news-content h3 {
    font-size: 1.25rem;
}

.news-content blockquote {
    border-left: 6px solid #B13633;
    margin: 2rem 0;
    padding-left: 1rem;
    font-size: 2rem;
}

@media screen and (max-width: 800px) {
	.news-content blockquote {
		font-size: 1.5rem;
	}
}

.news-content figcaption {
    color: #fff;
    font-size: 0.75rem;
    font-style: italic;
}

.news-content figure {
    display: grid;
    gap: 0.75rem;
}

.news-content p ~ figure, .news-content p ~ p > img {
    margin-top: 1.5rem;
}

.news-content a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.news-content a:hover {
	text-decoration: none;
}

@media screen and (min-width: 1000px) {
	.news-content .alignleft {
		margin-right: 3rem;
		margin-bottom: 2rem;
	}	
}


@media screen and (max-width: 1000px) {
	.news-content .alignleft, .news-content .alignright {
		width: 100%;
		float: none;
		margin-right: 0;
		margin-bottom: 1rem;
	}	
}

/*** Embed Container ***/
.embed-container { 
	position: relative; 
	padding-bottom: 56.25%;
	overflow: hidden;
	max-width: 100%;
	height: auto;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.gform_page .gform_page_footer.top_label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gform_wrapper .gform_page input[type="button"].gform_next_button, .gform_wrapper .gform_page input[type="submit"].gform_next_button {
    border: none;
	margin: 0;
}

.gform_wrapper .gform_page input[type="button"].gform_previous_button {
    background-image: none;
	background-color: transparent;
   	border: none;
	color: #fff;
	padding: 0;
    margin: 0;
	transform: unset;
}
div#gform_wrapper_28 .gf_progressbar_title {
    color: #fff;
}

/* Quiz Form CSS Styling*/

body #gform_wrapper_1 .gform_body .gform_fields .gsection {
    background-image: url('/wp-content/uploads/2023/07/Red-BG.jpg'); /* Replace with your image path */
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    padding: 20px; /* Add some padding if needed */
    border-radius: 8px; /* Optional: adds rounded corners */
    /* Additional styles can be added as needed */
}



/* Ensure Previous and Next buttons are stacked vertically */
#gform_wrapper_29 .gform_page_footer {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    align-items: stretch; /* Make buttons full-width */
    gap: 10px; /* Add spacing between the buttons */
}

/* Target all Next buttons in Form 29 */
#gform_wrapper_29 input.gform_next_button {
    width: 100%; /* Full-width button */
    order: 1; /* Ensure Next appears first */
}

/* Target all Previous buttons in Form 29 */
#gform_wrapper_29 input.gform_previous_button {
    width: 100%; /* Full-width button */
    order: 2; /* Ensure Previous appears below */
}


/* Target the spinner globally */
.gform_ajax_spinner {
    width: 16px !important; /* Adjust width */
    height: 16px !important; /* Adjust height */
}

/* Optionally, target the spinner for Form 29 only */
#gform_wrapper_29 .gform_ajax_spinner {
    width: 16px !important; /* Adjust width */
    height: 16px !important; /* Adjust height */
}


span.pcafe_imgp_text {
    color: black;!;
}

/* Center-align and enlarge the legend text */
#gform_wrapper_29 legend.gfield_label.gform-field-label {
    text-align: center; /* Center align the legend */
    font-size: 2rem; /* Enlarge the legend text */
    font-weight: bold; /* Optional: Make it bold */
    margin-bottom: 10px; /* Add spacing below the legend */
}

/* Center-align text beneath the legend */
#gform_wrapper_29 fieldset .gfield_description {
    text-align: center; /* Center align description text */
    font-size: 1rem; /* Adjust font size if needed */
    margin-top: 5px; /* Optional: Add spacing above the description */
}

#gform_wrapper_29 p.gform_required_legend {
    display: none;
}


/* Center-align and enlarge label text for Form 29 */
#gform_wrapper_29 label.gfield_label.gform-field-label {
    font-size: 2em !important; /* Enlarge text with one important tag */
    text-align: center; /* Center-align the text */
}

/* Center-align and enlarge section titles for Form 29 */
#gform_wrapper_29 h3.gsection_title {
    font-size: 2em; /* Enlarge text */
    text-align: center !important; /* Center-align with one important tag */
}

/* Properly center-align the description div for Form 29 */
#gform_wrapper_29 div#gfield_description_29_29 {
    text-align: center; /* Fix center alignment */
    margin: 0 auto; /* Ensure alignment within the container */
}

/* Maintain gradient and skewed submit button for Form 29 */
#gform_wrapper_29 input#gform_submit_button_29 {
    background-image: linear-gradient(#5F1A18, #B13633);
    transform: skew(-25deg);
    display: inline-block;
}

label.gfield_label.gform-field-label {
    padding-bottom: 20px!important;
}


#gform_wrapper_29 .gchoice {
    color: black; /* Makes the text color black */
    background-color: white; /* Sets the background of the entire div to white */
    font-size: 18px; /* Sets the font size to 18px */
    padding: 5px 10px 5px 10px;
    margin: 5px;
    border-radius: 5px;
}

#gform_wrapper_29 label.gfield_label.gform-field-label {
    text-align: center; /* Center-aligns the text */
    display: block; /* Ensures the label takes the full width of its container */
    width: 100%; /* Ensures centering works consistently */
}


#gform_wrapper_29 label {
    background-color: transparent !important;
    border-width: 0px !important;
    box-shadow: none !important;
    padding: 10px 0px;
}


.gform_wrapper label {
    width: 100%;
    display: block; /* Ensures the label behaves like a block element */
}

