/*
Theme Name: Bursaw Oil and Gas
Theme URI: https//consumerfocusmarketing.com/
Author: Consumer Focus Marketing
Author URI: https//consumerfocusmarketing.com/
Description: Starter theme for Consumer Focus Marketing 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Portfolio, Oil, Blog
Text Domain: #
*/


  :root {
  /* Colors */
  --white: #FFF;
  --black: #000;
  
  /* Grays */
  --gray-lightest: #F2F2F2;
  --gray-light: #ECEDF2;
  --gray-medium: #7B808E;
  --gray-dark: #2D2F34;
  
  --red-medium: #D30000;
  --red-dark: #660000;

  --yellow: #FBB040;

  /* Semantic colors */
  --body-text-color: var(--black);
  --headline: var(--black);
  --link: var(--red-dark);
  --link-hover: var(--red-medium);

  
  /* Typography */
  --font-headline: "Montserrat", sans-serif;
  --font-body: "Montserrat", sans-serif;
  --font-button: "Montserrat", sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.563rem;
  
  /* Spacing */
  --spacing-small: .1rem;
  --spacing-medium: .4rem;
  --spacing-large: 1.5rem;
  
  /* Border radius */
  --border-radius: 0.938rem;


/* image overlays */
  --image-overlay-default: rgba(102, 0, 0, 0.8);
  --image-overlay-alt: rgba(38, 38, 38, 0.8);
  --image-overlay-other:rgba(102, 0, 0, 0.9);

}


html {
  font-size: calc(10px + 0.5vw);
}

body {
  font-size: var(--font-size-base);
  font-family: var(--font-body);
  overflow-x: hidden;
  color: var(--body-text-color);
  margin: 0;
  line-height: var(--line-height-base);
}

@media (max-width: 767.98px) {
  body *:not(h1, h2, h3, h4, small), body .btn {
    font-size: 1.5rem;
    line-height: 1.5;
  }
}

*,
::after,
::before {
  box-sizing: border-box;
  transition: all 0.2s linear;
}


.wrapper {
  padding: 0rem 15px 4rem;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-family: var(--font-headline);

}

h1 {
  font-size: 2.813rem;

}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.563rem;
}

h4 {
  font-size: 1.125rem;
}

p {
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--link);
  cursor: pointer;
}

a:hover {
  color: var(--link-hover);
  text-decoration: none;
}

a[href^="tel:"]:not(.btn) {
  color: inherit;
  text-decoration: none;
}

.container {
  min-width: 95vw;
}

hr {
  border-top: 4px solid var(--yellow);
  margin: 1.875rem auto;
}

/*** Buttons ***/
button:hover {
  cursor: pointer;
}

.btn, .gform_button {
  padding: var(--spacing-medium) calc(var(--spacing-large) + var(--spacing-small));
  margin: var(--spacing-medium) var(--spacing-large) var(--spacing-medium) 0;
  text-decoration: none;
  font-family: var(--font-button) !important;
  display: inline-block;
  white-space: pre-wrap;
  font-size: 0.938rem !important;
  font-weight: 700 !important;
  border-radius: var(--border-radius) !important;
  background: var(--white);
  border: 2px solid;
  border-color: var(--yellow);
	text-align:center;
}

.btn:hover, .gform_button:hover {
  transition: all 0.2s ease 0s !important;
  text-decoration: none !important;
}


.btn-primary, .gform_button {
  color: var(--black);
}

.btn-primary:hover, .gform_button:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.btn-default {
  color: var(--black);
  border-color: var(--red-medium);
}


.btn-default:hover {
  background: var(--red-medium);
  border-color: var(--red-medium);
  color: var(--white);
}

.btn-alt {
  background: var(--blue-medium);
  color: var(--white);
  border-color: var(--blue-medium);
}

.btn-alt:hover {
  background: var(--red-medium);
  color: var(--white);
  border-color: var(--red-medium);
}

.callout .btn,
.well .btn,
.coupon .btn {
    margin-right: 1rem;
}

.home .btn {
  margin-right: unset;
}

@media(max-width:767.9px){
  .btn, .gform_button{
    display: block !important;
    font-size: 1.25rem !important;
    margin: .75rem auto;
	  padding:1rem;
  }
}


.fancy-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 2.75rem .75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  --arrow-size: 1.15em;
  --arrow-right: 1.1rem;
  --arrow-shift: 6px; 
}

.fancy-btn::before,
.fancy-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: var(--arrow-right);
  width: var(--arrow-size);
  height: var(--arrow-size);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translateY(-50%);
  pointer-events: none;
}

.btn-header::before,
.btn-header::after {
  height: 28px;
  width: 24px;
}

.fancy-btn::before{
  background-image: url("./img/light-red-arrow.svg");
}

.fancy-btn::after{
  background-image: url("./img/dark-red-arrow.svg");
  transition: transform .25s ease;
}

.fancy-btn:hover::after,
.fancy-btn:focus-visible::after {
  transform: translateY(-50%) translateX(var(--arrow-shift));
}

@media (prefers-reduced-motion: reduce) {
  .fancy-btn::after { 
    transition: none; 
  }
}


/*** GLOBAL ***/

/* Text alignment utilities for mobile and desktop */
.text-left-sm {
  text-align: left !important;
}
.text-center-sm {
  text-align: center !important;
}
.text-right-sm {
  text-align: right !important;
}

/* Apply at the medium (≥768px) breakpoint */
@media (min-width: 768px) {
  .text-left-md {
    text-align: left !important;
  }
  .text-center-md {
    text-align: center !important;
  }
  .text-right-md {
    text-align: right !important;
  }
}

/* Optional: Large breakpoint (≥992px) */
@media (min-width: 992px) {
  .text-left-lg {
    text-align: left !important;
  }
  .text-center-lg {
    text-align: center !important;
  }
  .text-right-lg {
    text-align: right !important;
  }
}

/*** HEADER ***/

.header-banner-top {
  background: var(--black);
      padding-top: .25rem;
    padding-bottom: .25rem;
	color:var(--white);
}

.header-banner-top a {
  color: var(--yellow) !important;
  text-decoration: none !important;
	margin-left:1rem;
}

.header-banner-top a:hover {
 text-decoration: none !important;
	color:var(--white) !important;
}


.header-banner-top {
    text-align: right;

}

.navbar-brand {
    margin-top: -1.75rem;
}

.header-banner-top img {
   max-height: 20px;
}

.header-banner-top a:nth-child(2) {
    margin-left: 4.563rem;
    margin-right: .5rem;
}


.buttons-header {
  display: flex;
  justify-content: flex-end;
}

a.btn.btn-header {
  margin: 1rem 0.625rem 0;
	
}

.btn-header {
    line-height:1.4;
	background: var(--white);
    border: 2px solid var(--yellow);
    text-transform: unset !important;
    text-align: left;
        display: flex;
    align-items: center;
    justify-content: space-around;
        font-size: 1.125rem !important;
        line-height: 25px;
}
@media(max-width:767.9px){
	.header-banner-top{
		text-align:center;
	}
	.buttons-header{
		display:none;
	}
	.navbar-brand {
		display: block;
		width: fit-content;
		margin-left: auto;
		margin-right: auto;
	}
}


.red-color {
  color: var(--red-medium);
}


/*** NAV BAR ***/


.nav-item {
    margin-bottom: 0;
    padding-top: .45rem;
    padding-bottom: .45rem;
    justify-content: center;
    display: flex;
}

@media(max-width: 768px) {
  .nav-item {
    text-align: left;
    display: block;
}
}

a.nav-link {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
}

.main-menu .nav-link:hover {
}


.dropdown-item {
  font-weight: 500;
  color: initial;
}

.dropdown-item:hover {
  color: var(--gray-dark);
  border-radius: 0;
}

.submenu-two {
    width: 100%;
}

.third-level .dropdown-item {
    white-space: pre-wrap;
    line-height: normal;
}

.nav-link {
    display: flex;
    align-items: center;
}



/*** MENU - BASE STYLES ***/

  /* show dropdown menus on hover */
  .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .dropdown-item {
    text-align: left;
    padding: .5rem 1.5rem;
    font-size: 1rem;
  }


  /* removes the deadzone click area */
  .dropdown-menu {
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  /* General hover styles */
.nav-link:hover,
.nav-item:hover {
    color: var(--red-dark);
    background: transparent;
}


.nav-link {
  position: relative;
  display: inline-block;
  color: inherit;
  text-decoration: none;
  padding-bottom: 3px; /* optional for spacing */
}



/* Dropdown item hover: red text only, no underline */
.nav-item .dropdown-item:hover {
    color: var(--red-dark);
    background: transparent;
    border-bottom: none;
}

/* Remove any unwanted styling from dropdown items inside active top nav */
.nav-item.active > .dropdown-item {
    border-bottom: none;
    color: var(--red-dark);
}


@media (min-width: 992px) and (max-width: 1200px) {
  .container {
    max-width: 990px;
  }
}

@media(min-width: 768px) {
  .dropdown-menu {
        box-shadow: 0px 1px 5px rgba(0,0,0,0.15);
  }
  
  .dropdown-menu {
    left: auto;
      right: 0;
      margin: 0 auto;
  }

    /* hides carets */
  .dropdown-toggle::after {
   /* display: none;*/
  }
}

span.navbar-toggler-icon {
    height: 3rem;
    width: 3rem;
}

.nav-link{
    font-size: 1.25rem;
}
.nav-link, .dropdown-item {
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.875rem;
}

.nav-link, .dropdown-item:hover {
  color: var(--blue-medium);
}

@media (max-width: 767.9px) {
  .nav-link, .dropdown-item {
      text-align: left;
      padding-bottom: 1rem;
      font-size: 1.5rem;
    }

    .main-menu .nav-link {
      font-size: unset;
		color:var(--white);
    }

.navbar-brand {
    margin-bottom: 2rem;
	margin-top: 1rem;
}
	.navbar{
		background:var(--gray-dark);
		
	}

}


@media (min-width: 768px) and (max-width: 992px) {
    .navbar-brand {
        display: block;
        margin: 0 auto;
    }
}




/*** MENU - TOP LEVEL ***/


/*** MENU - THIRD LEVEL MENU DROPDOWNS ***/

.second-level {
    position: relative;
}

.second-level > .dropdown-menu {
    top: 0;
    left: 100%;
}

@media (min-width: 768px) {
  .second-level > .dropdown-menu {
    margin-top: -.5rem;
  }

.second-level.menu-item-has-children > a:after {
    display: block;
    content: "▸";
    float: right;
    margin-right: -20px;
}

.second-level:hover > a:after {
    border-left-color: inherit;
}

.menu-item-has-children > .dropdown-item {
    padding: .5rem 2.25rem .5rem 1.5rem;
}
}
@media (max-width: 767.9px) {
  .third-level .dropdown-item {
    padding-left: 40px;
    font-size: 1.2rem;
  }

  .second-level.menu-item-has-children .dropdown-item::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.third-level a.dropdown-item::after {
    display: none !important;
}

  .third-leel .dropdown-item:before {
    position: absolute;
    content: '»';
    left: 0;
    margin-left: 1rem;
  }
  
  .third-level .dropdown-item {
    padding-left: 2rem;
    margin-left: 0.5rem;
  }
  .third-level .dropdown-menu .nav-item {
    padding-bottom: 0;
  }

  .dropdown-item:not(.third-level .dropdown-item) {
  font-weight: 600;
}

.third-level  .dropdown-item:before {
    position: absolute;
    content: '»';
    left: 0;
    margin-left: 2rem;
  }

.submenu-two .dropdown-item {
    padding-left: 2rem;
    margin-left: 1rem;
    font-size: 1.25rem;
  }

  .submenu-two .dropdown-menu .nav-item {
    padding-bottom: 0;
  }

  .top-level.nav-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid;
    padding-bottom: 1rem;
}

.nav-link {
    padding-top: 1rem;
    padding-bottom: 1rem;
}


}
/*** HOME ***/

.item {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.item-content {
  padding-top: 20%;
}

.item-banner {
    background: rgba(102, 0, 0, 0.9);
    text-align: center;
    color: var(--white);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}


.banner-home-sub {
    margin: 0;
}

.banner-home {
    font-size: 1.563rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--yellow);
    display: block;
    line-height: 2.188;
}



.home-propane-gas {
   position: relative;
  background-size: cover;
  background-position: center;
  height:;
  color: var(--white); 
}

.home-propane-gas a:not(.btn) {
    color: inherit;
}

.home-propane-gas h2 {
  font-size: 1.563rem;
}

.home-propane-gas h3 {
    color: var(--yellow);
    font-size: 1.125rem;
}

.home-propane-gas li, .home-propane-gas ul {
  padding: 0;
  list-style: none;
  margin: 0;
}

.home-propane-gas {

	padding: 4.125rem .25rem 6rem;
}

.home-propane-gas h2 {
    margin-bottom: 2rem;
}

.main-content {
    padding-top: 3.5rem;
    padding-bottom: 3.313rem;
}


.home-propane-gas::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--image-overlay-default);
  z-index: 1; 
}

.home-propane-gas > * {
  position: relative;
  z-index: 2; 
}

.banner-customer {
  position: relative;
  background-size: cover;
  background-position: center;
  height:;
  color: var(--white);
  z-index: 0; 
  padding-top: 4.063rem;
  padding-bottom: 4.063rem;
}

@media(min-width: 768px) {
.banner-customer p {
  max-width: 920px;
  margin: auto;
}
.banner-customer .btn {
  margin-top: 2.125rem;
  margin-bottom: 0;
}
}

.banner-customer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(38, 38, 38, 0.88);
  z-index: 1; 
}

.banner-customer > * {
  position: relative;
  z-index: 2; 
}

.boxes-home hr {
  border-top: 4px solid var(--red-medium);
  margin: .875rem auto 1.875rem;
  max-width: 206px;
}


@media(min-width: 768px) {
  .boxes-home p {
    max-width: 25rem;
    margin: auto;
}
}
@media(max-width:767.98px){
	.boxes-home{
		margin-bottom:2.5rem;
	}
	.banner-home span.yellow {
    font-size: 2rem;
    line-height: 1.5;
}
	.home-propane-gas h2{
		font-size:2.5rem;
	}
	.home-propane-gas h3{
		font-size:1.9rem;
		margin-top:1rem;
	}
}

cite {
    font-style: normal;
    color: var(--red-dark);
    font-size: 1.125rem;
}

.testimonials {
  padding-top: 3.375rem;
  padding-bottom: 3.375rem;
  text-align: center;
}

.testimonials .btn {
  margin-top: 1.25rem;
}


/*** FOOTER ***/

footer {
  background: var(--black);
  color: var(--white);
  font-size: 0.938rem;
  padding-top: 3rem;
  padding-bottom: 4.188rem;
}

ul#menu-footer {
    list-style: none;
    padding: 0;
}

.address-align {
    display: flex;
    align-items: flex-start;
}

.address-content, .address-align address {
  margin-left: .75rem;
}

footer a,  footer .copyright a:hover, footer a[href^="tel:"]:hover {
  color: var(--yellow);
}

footer a:hover, footer .copyright a, footer a[href^="tel:"]  {
  color: var(--white);
}

footer li {
  margin: 0;
}

@media(max-width:991px){
	footer .col-md-6.col-lg-3{
		margin-top:2rem;
	}
}





/*** ACCORDIONS ***/


.accordion {
  margin: 2.75rem 0 2.75rem;
}


.accordion-group {
    margin-top: 1.875rem;
    overflow: hidden;
    border-radius: var(--border-radius);
    border: 3px solid var(--yellow);
}

.panel-title {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.688rem 2.813rem !important;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  font-family: var(--font-headline);
  padding: .5rem;
  background: var(--white);
}


.panel-title.collapsed h3 {
    font-size: 1.563rem;
    margin: 0;
}

.panel-title h3 {
  margin: 0;
      font-size: 1.563rem;
}

.panel-content {
  padding: 0 2.813rem 1.5rem;
}


.panel-title::after {
  content: "-";
  background-color: var(--red-medium);
  color: var(--white);
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  line-height: normal;
    padding-bottom: .15rem;

}


.panel-title.collapsed::after {
  content: "+";
  background-color: var(--red-medium);
  color: var(--white);
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  line-height: normal;
  padding-bottom: .15rem;

}




/*** BLOG - SIDEBAR ***/

.blog-sidebar {
    padding: 2rem;
}

.blog-sidebar h3 {
    color: var(--yellow);
}

.blog-sidebar a:not(.blog-btn) {
  color: var(--white);
}

.blog-sidebar a:not(.blog-btn):hover {
  color: var(--white);
}

.blog-sidebar a:hover {

}

.post-content aside .btn-primary {
    display: block;
    margin-top: 2rem;

}

.post-content aside .btn-primary:hover {

}

.blog-title {
    transition-property: background, background-color, border-color, box-shadow, color, opacity, text-shadow, transform;
    transition-duration: 0.2s;
    transition-timing-function: linear;
}



.blog-title.bkg-img:hover::before,.blog-title.bkg-color:hover  {
}

.blog-sidebar h3 {
  font-size: x-large;
  margin-bottom: 1rem;
  border-bottom: 1px solid;
  padding-bottom: .5rem;
}

.post-links, .category-links {
  padding-left: 1em;
}

.sidebar-links li {
  line-height: normal;
}

.blog-btn {
  font-size: medium;
  padding: .5rem;
}


aside {
    background: var(--red-dark);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

aside a {
}



aside ul {
    color: var(--white)
}


aside h3 {
   color: var(--yellow)
}


.blog-link, .blog-categories a {
  color: var(--white);
}

.blog-link:hover, .blog-categories a:hover {
  color: var(--yellow);
}


/*** BLOG - POSTS ***/


.post-image {
      height: 250px;
	border-radius: 15px;
	margin-bottom: 2rem;
}

.post-meta:not(article .post-meta) {
    font-size: 85%;
    font-style: italic;
    margin-bottom: 3rem;
    line-height: normal;
}


/*** BLOG - INDEX ***/

.blog-article {
  margin-bottom: 3rem;
}

.blog-content {
}


.blog-article .blog-link {
  text-decoration: underline;
  font-weight: 700;
}

.blog-article .blog-link:hover {
  text-decoration: none;
}

.blog-content {
  padding: 2.313rem;

}

article h2 {
    font-size: 1.875rem;
}

article .post-link {
  font-family: var(--font-headline);
    text-transform: uppercase;
    font-weight: 700;
    padding: .5rem 0;
    display: block;

}

article .post-link:hover {
}

article .post-meta {
  font-size: small;
  font-style: italic;
}

aside {
}

aside ul {
  padding-left: 1rem;
    line-height: normal;
}


li.categories {
    list-style: none;
}

.categories h3 {
  padding-bottom: .5rem;
}

aside .well {
    margin-bottom: 0;
}

li.cat-item {
    font-weight: 700;
}


/*** BLOG -- HOME ***/


.blog-home .blog-content a {
  text-decoration: underline;
}

.blog-home .blog-content a:hover {
  text-decoration: unset;
}

.blog-home .blog-content p:first-of-type {
    margin: 0;
}

/**** TABLES ****/

table {
  width: 100%;
  margin: 0 0 1rem;
  font-size: 1rem;
}

th {
  font-size: 1.125rem;
  background: var(--red-dark);
  font-weight: 600;
}

td, th {
  padding: 0.5rem 1rem;
}

thead {
  background: var(--body-text-color);
  color: var(--white);
  border: 1px solid var(--body-text-color);
  text-align: left;
}


tr:nth-child(even) {
  background: #FFF3E2;
}

td, th {
  border: 1px solid var(--body-text-color);
}

/*** LISTS ***/

ul.alt li {
  position: relative;
  list-style: none;
}

ul.alt li::before {
  content: '\2713';
  display: inline-block;
  line-height: 1.1rem;
  text-align: center;
  color: var(--white);
  background: var(--red-medium);
  border-radius: 50%;
  height: 1rem;
  width: 1rem;
  font-size: 0.75rem;
  position: absolute;
  left: -1.5rem;
  top: 6px;
}

li {
  margin-bottom: 0.563rem;
}

ol.alt {
  counter-reset: orderedList;
}

ol.alt li {
  list-style-type: none;
  position: relative;
}

ol.alt li::before {
  counter-increment: orderedList;
  content: counter(orderedList);
  display: inline-block;
  line-height: 1rem;
  text-align: center;
  color: var(--white);
  background: var(--red-medium);
  border-radius: 50%;
  height: 1rem;
  width: 1rem;
  font-size: 0.75rem;
  position: absolute;
  left: -1.5rem;
  top: 6px;
}


@media(min-width:768px){
	.serviceplan{
		font-size:.8rem;
	}
	.serviceplan li {
    margin-bottom: 0.2rem;
	}
	.threecol{
		column-count:2;
	}
}
@media(min-width:992px){
	.twocol{
		column-count:2;
	}
		.threecol{
		column-count:3;
	}
}
@media(max-width: 768px) {
  ul.alt li::before, ol.alt li::before {
    line-height: 1.5rem;
    height: 1.5rem;
    width: 1.5rem;
    font-size: 1rem;
    left: -2.25rem;
  }


  ul.alt li, ol.alt li {
    line-height: normal;
  }
  .serviceArea{
    columns:2;
    font-size: 1rem;
  }
  .serviceArea li{
    margin-bottom: .25rem;
  }
  }



blockquote {
  position: relative;
  /* margin: 4rem auto 0; */
  padding: clamp(1rem, 4vw, 0rem) clamp(2rem, 10vw, 25rem);
}

blockquote::before,
blockquote::after {
  position: absolute;
/*   font-size: clamp(2rem, 18vw, 25rem); */
	font-size: clamp(2rem, 18vw, 8.625rem);
  color: var(--yellow);
}

blockquote::before {
  content: "“";
  left: clamp(0.5rem, 2vw, 10rem);
  top: 5.5rem;
}

blockquote::after {
  content: "”";
  right: clamp(0.5rem, 2vw, 1rem);
  bottom: 0.5rem;
}

@media(max-width:767.98px){
	blockquote::before{
		top: -1rem;
	}
	blockquote::after{
		bottom: -2rem;
	}
}
/*** TOP LEVEL BOXES ***/

.full-height {
    display: flex;
    flex-direction: column;
}

.box-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-bottom: 3rem;
    overflow: hidden;

}

.box-wrapper:not(:has(.box-image)) .box-content {
  border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border-top: 3px solid;
}

.box-wrapper:not(:has(.box-image)) .box-content h2 {
  color: inherit;
  padding: 0 0 1.125rem;
  text-align: unset;
}

.box-content {
    flex-grow: 1;
    overflow: hidden;
    padding: 2rem 2rem;
    background: var(--white);
    border: 3px solid var(--body-text-color);
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    border-top: 0;
}

.box-content a:not(.btn) {
  color: var(--red-dark);
}

.box-content a:not(.btn):hover  {
  text-decoration: none;
    color: var(--red-medium);

}

.box-image {
  background-size: cover; 
  background-position: center center; 
  background-repeat: no-repeat;
  min-height: 150px;
  position: relative;
  display: flex;
  align-items: center;
    border-top-right-radius: var(--border-radius);
  border-top-left-radius: var(--border-radius);
}

.box-wrapper h2 {
  width: 100%;
  margin-bottom: 0;
  padding: 1.813rem 2rem 1.125rem;
  color: var(--white);
  text-align: center;

}

/* Keep callout images on small screens*/
@media (max-width: 768px) {
  .container.callout.callout-left .callout-image,
  .container.callout.callout-right .callout-image {
    max-width: 100% !important;
    height: 250px !important;
    background-size: cover;
    background-position: center;
    display: block !important;
    min-height: 300px;
	  border-radius: var(--border-radius) var(--border-radius) 0 0;
  }

  .container.callout.callout-left .row.no-gutters,
  .container.callout.callout-right .row.no-gutters {
    flex-direction: column;
  }
}

/* WELLS */

.well {
    padding: 2rem 2rem 2.5rem;
    margin-bottom: 3rem;
    border-radius: 0.625rem;
}

.well .btn {
    margin-bottom: 0;
    margin-top: 1rem;
}

.well .btn:hover {
}

.well-default {
  border: 4px solid var(--red-medium);
}

.well-default h2, 
.well-default h3 {
  font-size: 1.563rem;
}

.well-default a:not(.btn) {
  color: var(--red-dark);
}

.well-default a:not(.btn):hover {
  text-decoration: none;
  color: var(--red-medium);

}

.well-alt {
  background: var(--red-dark);
  color: #FFF3E2;
}

.well-alt h2, 
.well-alt h3 {
    color: var(--white);

}

.well-alt a:not(.btn) {
  color: var(--yellow);
}

.well-alt a:hover {
  text-decoration: none;
  color: #FFF3E2;
}


.well-default .btn {

}

.well-default .btn:hover {

}

.well-alt .btn {
    background: #FFF3E2;
  color: var(--black);
  border-color: var(--yellow);
}

.well-alt .btn:hover {
  background: var(--white);
  color: var(--black);
}


/** COUPONS **/

.coupon {
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 2rem;
  border: 5px dashed var(--black);
  border-radius: 15px;
  background: var(--yellow);
}

.coupon h2 {
  color: var(--black);
  font-size: 2.188rem;
}

.coupon h3 {
  color: var(--blue-medium);
  font-size: 1.563rem;
}

.coupon .btn {
  margin-right: 0;
}

/* CALLOUTS */

.callout {
    margin-bottom: 3rem;
}

.callout .btn {
    margin-bottom: 0;
}

.callout h2, .callout h3 {
  color: var(--blue-medium);
}

.callout-full.img-visible, .callout-image {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.callout-full.img-visible, .callout-full.img-visible h2 {
  color: var(--white);
}

.callout-full.img-visible a:not(.btn) {
    color: var(--yellow);
}

.callout-full.img-visible a:not(.btn):hover {
    color: var(--white);
}

.callout-image {
    max-width: 35%;
}

.callout-full.img-visible {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.callout-full.img-visible::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
    background: var(--image-overlay-default);

}

.callout-full .callout-content {
  position: relative;
  z-index: 2;
}

.default-img-bkg::before {
  background: var(--image-overlay-default);
}

.blue-img-bkg::before {
  background: var(--image-overlay-blue);
}


.callout-full.img-visible .callout-content {
    padding: 3rem;
    text-align: center;
    font-size: 1.125rem;
    color: var(--white);
}

.callout:not(.callout-full.img-visible, .callout-full.img-none) .callout-content {
    padding: 2rem 2rem 2.5rem;
    background: #FFF3E2;
    border-radius: var(--border-radius);
}

.callout-right .callout-image,
.callout-left .callout-content {
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.callout-right .callout-content,
.callout-left .callout-image{
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}





@media (max-width: 768px) {
    .callout .callout-content {
        flex: 0 0 100%;
    }
	.callout:not(.callout-full.img-visible, .callout-full.img-none) .callout-content{
		border-radius:0 0 var(--border-radius) var(--border-radius) !important;
	}
	
}



/*** MODAL ***/

.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
    pointer-events:none;
}
.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events:none;
}
.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width:inherit;
 max-width:inherit; /* For Bootstrap 4 - to avoid the modal window stretching full width */
    height:inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events:all;
}

/*** PAGES ***/


.site-header:not(.home .site-header) {
  border-bottom: 8px solid var(--body-text-color);
}

.page-title {
      padding-top: 2.375rem;
    padding-bottom: 2.375rem;
    margin-bottom: 2.5rem;
}

.page-title h1 {
  line-height: normal;
  margin: 0;
}

.page-title.bkg-color {
    background: none;
    padding-bottom: 0;
    margin-bottom: 1rem;
}

.page-title.bkg-img {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding-top:6.75%; 
  padding-bottom:6.75%;
  position: relative;
  margin-bottom: 2rem;
}

.page-title.bkg-img h1 {
}

.page-title.bkg-img::before {
    content:"";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--image-overlay);
}


/*** EXTERNAL LINKS ***/

a[target="_blank"]:has(> img):after, a[target="_blank"]:has(> svg):after,footer a[href^="https://consumerfocusmarketing.com"]:after {
  display: none;
}


a[target="_blank"]::after {
  content: "";
  width: 11px;
  height: 11px;
  margin-left: 4px;
  -webkit-mask:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 16 16'><path stroke-width='5' fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/><path stroke-width='5' fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/></svg>") center/cover;
  display: inline-block;
  background: currentColor;
}

/** FORMS **/

.gform_wrapper {
    border: 3px solid var(--red);
    padding: 2rem;
    border-radius: 1rem;
}
