/*
Theme Name: Ormond Energy
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-alt: #707070;
  --gray-light: #F7F7F7;
  --gray-medium: #677879;
  --gray-dark: #465455;
  --gray-darkest: #333333;
  
  --blue-light: #9BDCFF;
  --blue-medium: #007BBC;
  --blue-dark: #003450;
  
  --red-medium: #D50000;
  --red-dark: #BF0000;

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

  
  /* Typography */
  --font-headline: "DM Sans", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-button: "DM Sans", sans-serif;
  --font-size-base: 1rem;
  --line-height-base:1.563rem;
  
  /* Spacing */
  --spacing-small: .2rem;
  --spacing-medium: .82rem;
  --spacing-large: 2rem;
  
  /* Border radius */
  --border-radius: 1.625rem;
  --border-radius-hover: 0.938rem;


/* image overlays */
--image-overlay-default: rgba(0, 52, 80, 0.8);
--image-overlay-blue: rgba(0, 52, 80, 0.8);
--image-overlay-callout: rgba(0, 52, 80, 0.8);

}


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: 767px) {
  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: 2rem 15px 4rem;
}

img {
  max-width: 100%;
  height: auto;
}
img.round{
	border-radius:15px;
}

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

}

h1 {
  font-size: 3.125rem;
}

h2 {
  font-size: 2.188rem;
  color: var(--blue-medium);
}

h3 {
  font-size: 1.563rem;
}

h4 {
  font-size: 1.255rem;
}

p {
  padding: 0;
}

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

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

a[href^="tel:"]:not(.btn) {
  color: inherit;
  text-decoration: none;
}
hr {
  border-top: 1px solid var(--red-dark);
  margin: 1.875rem auto;
}

.gform_wrapper {
    margin-bottom: 1.5rem;
}

/*** 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-small) var(--spacing-medium) 0;
  text-decoration: none;
  font-family: var(--font-button) !important;
  display: inline-block;
  white-space: pre-wrap;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: var(--border-radius) !important;
  text-transform: uppercase !important;
  background: var(--red-medium);
  border-color: var(--red-medium);
}

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


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

.btn-default {
  color: var(--white);
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}


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

.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:767px){
  .btn, .gform_button{
    display: block !important;
    font-size: 1.65rem !important;
    margin: .75rem auto;
  }
}

/*** 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;
}


.rounded-image {
  border-radius: 3.125rem;
}

.blue-medium-bkg {
  background: #006ae3;
}

/* 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-top {
  background: linear-gradient(270deg,rgba(70, 84, 85, 1) 0%, rgba(103, 120, 121, 1) 50%);
  font-size: 0.938rem;
  text-transform: uppercase;
  font-weight: 700;
  padding-top: 0.175rem;
  padding-bottom: 0.175rem;
}

.header-top a {
  color: var(--white);
}

.header-top a:hover {
  text-decoration: underline;
}

@media(min-width: 768px) {
  .contact-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

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

  .header-top a {
    margin-left: 3.563rem;
    font-size: 0.938rem;
  }
}

.header-phone {
  font-size: 2.188rem;
  font-weight: 700;
  color: var(--red-medium) !important;
}

.header-phone:hover {
  color: var(--red-dark) !important;
}
@media(max-width: 768px) {
  .sm-hidden {display: none;

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

  .contact-header {
    text-align: center;
    margin-bottom: 0.813rem;
  }

  .navbar-brand {
    margin-right: 0;
    margin-bottom: 0;
  }
}

/*** NAV BAR ***/

.main-menu {
  background: var(--blue-dark);
}

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

.nav-link img {

}
.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;
  }
}

.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;
}

.nav-link img {
  margin-right: .25rem;
}
@media(max-width:790px){
  .nav-link img{
    width: 20px;
  }
}



/*** 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(--white);
  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);
  }
  
	li#menu-item-225 .dropdown-menu {
    right: unset;
}
	
  .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: 500;
}

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

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

  .main-menu .nav-link {
    font-size: unset;
  }



}


@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;
    text-align: left;
  }

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


}
/*** HOME ***/

.home-banner {
  font-size: 1.875rem;
  color: var(--white);
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-transform:uppercase;
  letter-spacing:1px;
}

.home-banner p {
  margin-bottom: 0;
}


@media(max-width: 768px) {
  .home-banner img {
    margin: auto auto 1rem;
    display: block;
  }
  .main-content {
    text-align: center;
  }
  .top-callout {
    margin-top: 3rem;
  }

  .svg-overlay {
    left: -400px !important;
    width: 200% !important;
  }

  .list-content h3 {
    margin-left: unset !important;
  }
  .list-content ul {
    padding-left: 1rem;
  }
	.home-banner-content {
		justify-content: center !important;
	}
}
.home-banner-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.home-banner img {
  max-height: 100px;
  border-radius: 15px;
}

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

.home-static-image {
  padding: 12.55%;
}

.main-content {
  padding-top: 1.875rem;
  padding-bottom: 6.25rem;

}
.callout-home-wrapper {
  position: relative;
}

.home-callouts {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 3.125rem;
  padding-bottom: 3.5rem;
  overflow: hidden; 
}

.hover-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: transparent;
  transition: background-color 0.3s ease;
  z-index: 0;
}

.home-callouts:hover .hover-overlay {
  background-color: rgba(213, 0, 0, 0.5); 
}

.home-callouts > *:not(.hover-overlay) {
  position: relative;
  z-index: 1;
}

.icon-wrapper {
  background: var(--white);
  box-shadow: 0px 3px 6px #003450BF;
  border-radius: 50%;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.home-callouts * {
  color: var(--white);
}

.home-callouts h3 {
  padding-top: 4.125rem;
}
.home-callouts p {
  font-size: 1.125rem;
  margin: 0;
  line-height: normal;
  border-bottom: 1px solid;
  min-width: 160px;
  display: inline-block;
  padding-bottom: .5rem;
}

.bottom-callout-wrapper {
  margin-top: 2.563rem;
  display: block;
}

.bottom-callout p {
  border-color: var(--red-medium);
}

.top-callout p {
  border-color: var(--blue-medium);
}

@media(max-width: 768px) {
  .top-callout-wrapper .icon-wrapper {
    left: 0 !Important;
  }
}


.gas-logs {
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  overflow: hidden;
  padding-top: 3.125rem;
  padding-bottom: 2.375rem;
}

.gas-logs .btn {
  margin-top: 3.625rem;
}

.svg-overlay {
  position: absolute;
  top: 0;
  left: 125px;
  width: 100%; 
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.gas-logs .container {
  position: relative;
  z-index: 2; 
}

.gas-logs-content p:first-of-type:not(.showroom p) {
  margin-bottom: 2.063rem;
}

.gas-logs-content a:hover {
  text-decoration: underline;
}

.gas-logs h2, .gas-logs a {
  color: var(--white);
}

.gas-logs h3, .gas-logs li {
  font-size: 1.25rem;
}

.list-content h3 {
  text-transform: uppercase;
}

.showroom {
  border: 2px solid var(--blue-medium);
  padding: 1.563rem;
}

.list-content h3 {
  margin-left: 2.2rem;
}

.list-content ul {
  list-style: none;
}

.showroom h3 {
  margin-bottom: 0;
  text-transform: uppercase;

}

.showroom p {
  margin-bottom: 0;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img:hover {
  filter: brightness(.75);
}


.budget-plan {
  padding-top: 4.188rem;
  padding-bottom: 3.75rem;
}

.budget-plan h2 {
  color: var(--blue-dark);
  padding-top: 1.875rem;
}

@media(min-width:768px) {

  .home-banner img {
    float: right;
  }
}
@media(max-width: 768px) {
  .budget-plan li {
    padding-left: 3rem !important;
    font-size: 1.5rem;
  }

  .showroom {
    margin-top: 2rem;
  }
}

.budget-plan ul {
  list-style: none;
  padding-left: 0;
}

.budget-plan li {
  position: relative;
  padding-left: 2.625rem;
  margin-bottom: 1rem;
  font-size: 1.188rem;
  font-weight: 700;
  background: url('../ormond_energy/img/checkmark.svg') no-repeat left center;
}

/*** FOOTER ***/

footer {
  color: var(--white);
}

footer a {
  color: var(--white);
}

footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-logo {
  background: var(--gray-light);
}

.footer-logo img {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.footer-top {
  background: var(--gray-dark);
  padding-top: 2.188rem;
  padding-bottom: 1.5rem;
}

.footer-bottom {
  background: var(--blue-dark);
  padding-top: 1.125rem;
  padding-bottom: 1.125rem;
}

footer address {
  line-height: 1.438rem;
  display: flex;
  align-items: flex-start;
}

address img {
  margin-right: .625rem;
  margin-top: .35rem;
}

@media(max-width: 768px) {
  .footer-bottom * {
    font-size: small;
  }
  .footer-logo {
    padding-top: 2rem;
  }

}

.footer-app-badges {
	background: var(--gray-dark);
	display: flex;
	justify-content: center;
	align-items: center;
	padding-bottom: 1.5rem;
}

.footer-app-badges img {
	height: 50px; 
	width: auto; 
	margin: 0 10px;
}
/*** ACCORDIONS ***/


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


.accordion-group {
  margin-top: 1.875rem;
  overflow: hidden;
}

.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(--gray-light);
}


.panel-title.collapsed h3 {
  color: var(--red-medium);
}

.panel-title h3 {
  margin: 0;
  color: var(--blue-dark);
}

.panel-content {
  padding: 0 2.813rem 1.5rem;
  background: var(--gray-light);
}


.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(--white);
}

.blog-sidebar a:not(.blog-btn) {
}

.blog-sidebar .blog-btn:hover {

}

.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(--gray-light);
  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(--red-dark)
}


aside h3 {
 color: var(--blue-dark)
}




/*** BLOG - POSTS ***/


.post-image {
  height: 250px;
}

.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(--blue-dark);
  font-weight: 600;
}

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

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


tr:nth-child(even) {
  background: var(--gray-light);
}

td, th {
  border: 1px solid var(--blue-dark);
}

/*** 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(--blue-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(--blue-medium);
  border-radius: 50%;
  height: 1rem;
  width: 1rem;
  font-size: 0.75rem;
  position: absolute;
  left: -1.5rem;
  top: 6px;
}

@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;
  }
}

@media (min-width:992px){
	.threecol{
		column-count:3;
	}
	.twocol{
		column-count:2;
	}
}

blockquote {
  padding: 2rem;
  font-style: italic;
  background: var(--gray-light);
  border-left: 10px solid var(--blue-dark);
}

blockquote strong {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-weight: 700;
}

blockquote p {
  margin: 0;
}

blockquote a {
  color: var(--white);
  text-decoration: underline;
}

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

/*** TOP LEVEL BOXES ***/

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

.box-wrapper {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin: 1rem 0;
  overflow: hidden;
  border-radius: 50px;

}

.box-content {
  flex-grow: 1;
  overflow: hidden;
  padding: 0 2rem 2rem;
  background: var(--gray-medium);
  color: var(--white);
}

.box-content a:not(.btn) {
  color: var(--white);
  text-decoration: underline;
}

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

}

.box-image {
  background-size: cover; 
  background-position: center center; 
  background-repeat: no-repeat;
  min-height: 150px;
  position: relative;
  display: flex;
  align-items: flex-end;
}

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

}

/* WELLS */

.well {
  padding: 2rem 2rem 2.5rem;
  margin: 1.5rem 0;
  color: var(--white);
  border-radius: 50px;
}

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

.well .btn:hover {
}

.well-default {
  background: var(--blue-dark);
}

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

.well-default a:not(.btn) {
  color: var(--blue-light);
}

.well-default a:not(.btn):hover {
  text-decoration: underline;
  color: var(--blue-light);
}

.well-alt {
  background: var(--gray-dark);
}

.well-alt h2, 
.well-alt h3 {
  color: inherit;
}

.well-alt a:not(.btn) {
  text-decoration: none;
  color: var(--blue-light);
}

.well-alt a:hover {
  text-decoration: underline;
  color: var(--blue-light);
}


.well-default .btn {


}

.well-default .btn:hover {

}

.well-alt .btn:hover {

}


/** COUPONS **/

.coupon {
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 2rem;
  border: 5px dashed var(--blue-medium);
  border-radius: 2.5rem;
}



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

/* CALLOUTS */

.callout {
  margin: 1.5rem auto .5rem;
}

.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(--blue-light);
}

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

.callout-left .callout-image {
  border-top-left-radius: 50px;
}

.callout-right .callout-image {
  border-bottom-right-radius: 50px;
}


.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: var(--gray-light);
}



@media (max-width: 768px) {
  .callout .callout-content {
    flex: 0 0 100%;
  }
}



/*** 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 {
  width:inherit;
  max-width:inherit; 
  height:inherit;
  /* To center horizontally */
  margin: 0 auto;
  pointer-events:all;
}

/*** PAGES ***/


.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);
}

.not-found {
  flex-direction: column;
}

.not-found .btn {
  margin-right: 0;
}

.not-found h1 {
  font-size: 6rem;
}

/* 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;
  }

  .container.callout.callout-left .row.no-gutters,
  .container.callout.callout-right .row.no-gutters {
    flex-direction: column;
  }
	
	.callout-left .callout-image,
	.callout-right .callout-image{
  border-radius: 50px 50px 0 0 !important;
}

}

/*** 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;
}

/*** product logos ***/
.products {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.products img {
    max-width: 200px;
    margin: 1rem;
}
