.hero--default-bg {
  background-color: #222; /* A dark grey/charcoal color */
}

/* ==========================================================================
   Webform Styles for Location Taxonomy Hero Section
   ========================================================================== */

/* 1. Use CSS Grid for the layout */
.location-hero .webform-submission-form {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Creates two equal-width columns */
  gap: 1rem; /* The space between fields */
}

/* 2. Style the form fields and labels */
.location-hero .form-item {
  margin-bottom: 0; /* Remove default margins */
}

.location-hero label {
  color: #555; /* A dark grey for good contrast */
  font-weight: 600; /* Semi-bold */
  font-size: 0.875rem; /* Slightly smaller than default */
  margin-bottom: 0.25rem;
  display: block;
}

/* Style all input, select, and textarea fields */
.location-hero input[type="text"],
.location-hero input[type="email"],
.location-hero input[type="tel"],
.location-hero input[type="date"],
.location-hero select,
.location-hero textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #f4f4f4; /* A light grey background */
  border: 1px solid #ddd;
  border-radius: 8px; /* Slightly more rounded corners */
  color: #333;
  font-size: 1rem;
  box-sizing: border-box; /* Important for consistent sizing */
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Add a nice focus effect when a user clicks into a field */
.location-hero input:focus,
.location-hero select:focus,
.location-hero textarea:focus {
  outline: none;
  border-color: #007bff; /* A nice blue to show focus */
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* 3. Make specific fields span the full width */
.location-hero .form-item-message,
.location-hero .form-actions {
  grid-column: 1 / -1; /* This tells the element to span both columns */
}

/* Remove border and padding from the 'Service Required' fieldset */
.location-hero fieldset {
  border: none;
  padding: 0;
  margin: 0;
  grid-column: 1 / -1; /* Make it span both columns */
}
.location-hero fieldset .fieldset-wrapper {
  padding: 0;
}
.location-hero fieldset legend {
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0;
    color: #555;
    margin-bottom: 0.25rem;
}

/* 4. Style the submit button */
.location-hero .form-submit {
  width: 100%;
  background-color: #313131; /* Your dark charcoal background */
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 1rem;
}

.location-hero .form-submit:hover {
  background-color: #E05F03; /* The nice orange from your CTA buttons */
}
/* ==========================================================================
   End Webform Styles for Location Taxonomy Hero Section
   ========================================================================== */



.content-sections .row>* {
    margin-bottom: var(--bs-gutter-y);
}

#footer .content h4 {
	margin-top: 0;
}

.google-reviews-carousel-wrapper {
  background-color: rgba(0, 0, 0, 0.8);
}

#block-teamplus-googlereviewscarousel .content {
	
}

#block-teamplus-homepageundercontentbottomimages .content {
    margin-top: -120px;
    position: relative;
    z-index: 10;
	padding: 60px 0;
}

.path-frontpage #main-content {
	display: none;
}

#block-teamplus-webform fieldset {
	border: none;
	padding: 0.5em 1.5em 0.5em;
	margin-bottom: 0;
}

#block-teamplus-webform {
	max-width: 100%;
}

/* ==========================================================================
   Homepage Contact Webform Styles
   ========================================================================== */

/* This targets the specific contact form on your site */
@media (min-width: 992px) {
  /* UPDATED SELECTOR: Now only targets the form inside the block OR #main-content */
  #block-teamplus-webform .webform-submission-contact-form,
  #main-content .webform-submission-contact-form {
    /* 1. THE LAYOUT: Turning the form into a 3-column grid */
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates three equal-width columns */
    gap: 0rem 1.5rem; /* Adds space between rows and columns */
  }
}

/* 3. FIELD STYLES: Targeting the labels and input boxes */
/* UPDATED SELECTOR */
#block-teamplus-webform .webform-submission-contact-form .form-item,
#main-content .webform-submission-contact-form .form-item {
  /* Each field is a grid item */
}

/* UPDATED SELECTOR */
#block-teamplus-webform .webform-submission-contact-form label,
#main-content .webform-submission-contact-form label {
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: block; /* Ensures labels are on their own line above the input */
}

/* UPDATED SELECTORS for all inputs */
#block-teamplus-webform .webform-submission-contact-form input[type="text"],
#block-teamplus-webform .webform-submission-contact-form input[type="email"],
#block-teamplus-webform .webform-submission-contact-form input[type="tel"],
#block-teamplus-webform .webform-submission-contact-form input[type="date"],
#block-teamplus-webform .webform-submission-contact-form select,
#block-teamplus-webform .webform-submission-contact-form textarea,
#main-content .webform-submission-contact-form input[type="text"],
#main-content .webform-submission-contact-form input[type="email"],
#main-content .webform-submission-contact-form input[type="tel"],
#main-content .webform-submission-contact-form input[type="date"],
#main-content .webform-submission-contact-form select,
#main-content .webform-submission-contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #FBE4D2; /* The light beige background for inputs */
  border: none;
  border-radius: 0.25rem;
  color: #333333;
  font-size: 1rem;
}

/* 4. FULL-WIDTH FIELDS: Making specific fields span all 3 columns */
/* UPDATED SELECTOR */
#block-teamplus-webform .webform-submission-contact-form .form-item-message,
#main-content .webform-submission-contact-form .form-item-message {
  grid-column: 1 / -1; /* This tells the element to span from the first to the last column line */
}

/* UPDATED SELECTOR */
#block-teamplus-webform .webform-submission-contact-form .form-actions,
#main-content .webform-submission-contact-form .form-actions {
  grid-column: 1 / -1; /* The submit button also spans all columns */
}

/* 5. BUTTON STYLES: Styling the submit button */
/* UPDATED SELECTOR */
#block-teamplus-webform .webform-submission-contact-form .form-submit,
#main-content .webform-submission-contact-form .form-submit {
  width: 100%;
  background-color: #313131; /* The dark charcoal background */
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

/* UPDATED SELECTOR */
#block-teamplus-webform .webform-submission-contact-form .form-submit:hover,
#main-content .webform-submission-contact-form .form-submit:hover {
  background-color: #555555; /* A slightly lighter color on hover */
}
























.logo {
	float: none;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#block-teamplus-headertopsecondphonenumber .content .fw-bold {
	color: var(--mt-color-primary);
}

#block-teamplus-headertopsecondphonenumber .content h6 {
	margin-top: 0;
}

#block-teamplus-homepageherofirstservicesicons .content .col-md-4 {
	
}

#block-teamplus-homepageherofirstservicesicons .content img:hover {
	    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 15px #646cff50;
	transition: all 0.4s ease-in-out 0s, visibility 0s;
}

.orange-text-color {
	color: var(--mt-color-primary);
}

@media (min-width: 992px) {
  .field__item:nth-child(odd) .mt-highlight-image-wrapper {
    padding-left: 3rem;
  }
  .field__item:nth-child(odd) .mt-highlight-image-wrapper + .col-md-6 {
    padding-right: 3rem;
  }
  .field__item:nth-child(even) .mt-highlight-image-wrapper {
    padding-right: 3rem;
  }
  .field__item:nth-child(even) .mt-highlight-image-wrapper + .col-md-6 {
    padding-left: 3rem;
  }
}


#block-teamplus-homepagebannertopsecond .content {
	padding-bottom: 150px; 
}

@media (min-width: 992px) {
#block-teamplus-homepagebannertopfirst .content {
	padding-bottom: 150px; 
}
}

#block-teamplus-homepageherofirstservicesicons .content {
	 margin-top: -120px; 
	position: relative;
  z-index: 10;
}

/* ==========================================================================
   Homepage Service Tiles
   ========================================================================== */

.service-tile {
  background-color: #313131; /* A dark charcoal background */
  color: #ffffff; /* White text */
  height: 100%; /* Ensures all tiles are the same height */
}

.service-tile-content {
  position: relative;
  padding: 3rem 1.5rem 1.5rem; /* 3rem top padding to make space for the icon */
}

.service-icon {
  /* Positioning the icon */
  position: absolute;
  top: -35px; /* Pulls the icon up to overlap the image */
  left: 50%;
  transform: translateX(-50%);

  /* Styling the orange box */
  background-color: #f58426; /* Your brand's orange color */
  height: 70px;
  width: 70px;
  border-radius: 0.25rem; /* Optional: slightly rounded corners */
  
  /* Centering the icon *inside* the orange box */
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 40px; /* Controls the size of the icon itself */
  height: auto;
}





.header-container ul.sf-menu .sf-sub-indicator {
    top: 30px !important;
}

.header-container ul.menu > li > a, .header-container ul.menu > li > span {
    text-transform: none;
    font-size: 18px;
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

h1 {
	font-size: 70px !important;
}

/* ==========================================================================
   Service Page Hero content width
   ========================================================================== */
.field--name-field-sp-hero-subtitle {
	width: 75%;
}
.hero-title {
	width: 75%;
}
@media (min-width: 1200px) {
  .hero-container {
    max-width: 980px;
    padding-left: 0rem;
    padding-right: 0rem;
  }
}
@media (min-width: 1500px) {
  .hero-container {
    max-width: 980px;
  }
}
@media (min-width: 1555px) {
  .hero-container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.hero-container, .hero-container-fluid, .hero-container-lg, .hero-container-md, .hero-container-sm, .hero-container-xl, .hero-container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}


/* ==========================================================================
   Service Page Hero Styles
   ========================================================================== */

.service-page-hero {
  position: relative; /* Needed for the overlay effect */
  padding: 6rem 0; /* Gives the hero some height. Adjust as you like. */
  color: #ffffff; /* Let's assume the text on top will be light. */

  /* These lines read the variables from our Twig template! */
  background-image: var(--hero-bg-image);
  background-size: var(--hero-bg-size);
  background-repeat: var(--hero-bg-repeat);
  background-attachment: var(--hero-bg-attachment);
  background-position: center center;
}

/* This creates the dark overlay effect */
.service-page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1; /* Sits below the text */

  /* Reads the color and opacity variables from Twig */
  background-color: var(--hero-overlay-color);
  opacity: var(--hero-overlay-opacity);
}

/* This makes sure the text sits on top of the overlay */
.service-page-hero .hero-content {
  position: relative;
  z-index: 2; /* Sits above the overlay */
}




.path-frontpage .internal-banner-container {
	display: none;
}

/* My Custom Styles for the Team+ Theme */
/* Default Padding for Smart Column Sections */
.smart-columns-wrapper {
  padding-top: 30px;
  padding-bottom: 25px;
}

/* This stronger rule removes the padding when the checkbox is ticked */
.smart-columns-wrapper.region--no-paddings {
  padding-top: 0;
}

.internal-banner {
    min-height: 100px !important;
}

.header-top-highlighted .row {
	margin-right: 0;
    margin-left: 0;
}

.internal-banner-container {
    min-height: 10px !important;
}

.hero-top {
    min-height: 80px;
}

.hero-top__container {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.responsive-map-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.responsive-map-container iframe,   
.responsive-map-container object,  
.responsive-map-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.googlemapblock iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
}

.googlemapblock {
    position: relative;
    padding-bottom: 350px;
    padding-bottom: auto;
    height: 0;
    overflow: hidden;
    max-height: 350px;
}

.sub-featured__section {
    padding: 0px 0 !important;
}

#sub-featured .sub-featured__container .col-12 {
    padding-right: 0px;
    padding-left: 0px;
}

#sub-featured .row {
    margin-right: 0px;
    margin-left: 0px;
}

#sub-featured .container-fluid {
    width: 100%;
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
#sub-featured .container-fluid {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
}
}

/*ELECTRIC HEATING CALCULATOR CSS*/
.heatlosscalc .calc-totals {
    padding: 20px;
    color: #FFFFFF;
    background: var(--mt-color-secondary);
    overflow: hidden;
}

.heatlosscalc label {
    color: #ffffff;
}

.heatlosscalc .calc-input {
    padding: 20px;
    background: var(--mt-color-primary);
    color: #ffffff;
    overflow: hidden;
}

.heatlosscalc [class*='col-'] {
    padding: 15px;
}
/*ELECTRIC HEATING CALCULATOR CSS*/