/*
Theme Name: Blouin Brothers
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;
  --lighter-black:#4d4d4d;
  --teal: #06779f;	
  --green:#0b6b34;
  --green-dark:#01441f;
  --red:#d83d05;
  --blue: #007aa2;

  
  /* Grays */
  --gray-lightest: #e8e8e8;
  --gray-light: #f0f0f0;
  --gray-medium: #A0A0A0;
  --gray-dark: #333333;

  

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

  
  /* Typography */
  --font-headline: "Poppins", sans-serif;
  --font-body: "Arial", "Helvetica", sans-serif;
  --font-size-base: 0.8rem;
  --line-height-base: 1rem;
  
  /* Spacing */
  --spacing-small: .3rem;
  --spacing-medium: .60rem;
  --spacing-large: 2rem;
  
  /* Border radius */
  --border-radius: 2.313rem;


/* image overlays */
  --image-overlay: rgba(0, 0, 0, 0.8);
	  --image-overlay-blue: rgba(0, 173, 238, 0.9);
  --image-overlay-callout: rgba(0, 0, 0, 0.8);
  --image-overlay-yellow: rgba(255, 208, 10, 0.62);

}


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

body:not(.home) img {
    border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

}

h1 {
  font-size: 2.125rem;
}

h2 {
  font-size: 1.563rem;
}

@media (max-width: 767px) {
	h2{
		font-size: 2rem!important;
	}
  }
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  padding: 0;
}

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

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

a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}

.container {
  min-width: 77vw;
}

@media(max-width:768px){
  .container{
    min-width: 100vw;;
  }
}

hr {
  border-top: 1px solid var(--gray);
  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-body) !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;
  border: 3px solid var(--teal) !important;
}

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

.btn-primary, .gform_button {
  background: var(--teal) !important;
  color: var(--white) !important;
}


.btn-primary:hover, .gform_button:hover {
  background: var(--gray-dark) !important;
  color: var(--white) !important;
  border-color: transparent !important;
}

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


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


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

@media (max-width: 768px) {
    input[type="submit"],
    button[type="submit"],
    .btn[type="submit"] {
        width: 100%!important;
        display: block!important;
    }
}

/*** GLOBAL ***/

.yellow {
  background: var(--yellow);
}


/*** HEADER ***/

header {
  background: var(--gray-light);
  color: var(--red);
  border-bottom: solid 23px var(--teal);
  margin-bottom: 2rem;
   
}

@media(max-width:768px){
 header{
	  border-bottom: none;
  }
}

body:not(.home) header {
    margin-bottom: 0;
}

header a {
  color: var(--green);
}

.header-links{
	color: #c5c4c4;
	box-shadow: 5px 8px 12px -4px rgba(0, 0, 0, 0.3);
	border-radius: 0px 0px 10px 10px;
	padding:10px 0px;
	border-left: 1px solid #c5c4c4;
	border-right: 1px solid #c5c4c4;
	border-bottom: 1px solid #c5c4c4;
	border-top:0px solid #c5c4c4;
	background-image: linear-gradient(to bottom, #ffffff, #d5d5d5);
	font-size: 14px;
	text-align:center;
	text-shadow: 2px 2px 1px rgba(255, 255, 255, 0.75);
	margin-bottom:1rem;
	max-width:320px;
	margin-left: auto;
	margin-right: 10vw;
}
.header-links a{
	font-style: italic;
	color: var(--red)!important;
	font-weight:500;
	
}


@media(max-width:768px){
  .header-links {
   	margin-left: 1rem;
	margin-right: auto;
  }
}

@media(max-width:768px){
  .header-links a{
	  font-size:1rem;
  }
}

.navbar-brand{
	padding-bottom:1rem;
}

@media(max-width:768px){
  .navbar-brand{
	  padding-bottom:0;
  }
}

.navbar-brand img{
	border-radius:0 !important;
	box-shadow: none!important;
}

@media(max-width:768px){
  header{
    text-align:center;
  }
}



@media(max-width: 768px) {
  .navbar-brand {
    display: block;
    margin: auto;
    text-align: center;
	  
  }

}

/*** NAV BAR ***/

  .main-menu {
    font-family: var(--font-headline);
	margin-right: -3rem;
	
  }


@media(max-width:768px){
  .main-menu{
    
	margin-right:0rem;
  }
}

@media (max-width: 768px) {
    .main-menu {
        margin-right: 0;
        background-color: var(--teal);
    }

    .main-menu .navbar-toggler {
        background-color: var(--teal);
        border: none;
        border-radius: 0;
    }

    .main-menu .navbar-collapse {
        background-color: var(--gray-light);
        width: 100%;
    }
}


.main-menu .nav-link {
    color: var(--green);
    font-size: 0.875rem;
    text-transform: uppercase;
	font-weight:bold;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}


.nav-link img {
  max-height: 18px;

}

.nav-fill .nav-item {
	
	display: flex;
}
.nav-fill .nav-item {
    justify-content: flex-end;
}

.nav-item {
    margin-bottom: 0;
}

.main-menu .nav-link:hover {
  color: var(--red);
}


@media(max-width:768px){
  .nav-container{
	  background-color:var(--gray-light);
  }
}

.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;
}
.navbar-nav .dropdown > .nav-link::after {
    content: "▼";
    display: inline-block;
    font-size: .6em;
    border: none; 
}


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

@media (max-width: 768px) {

    /* Make the outer navigation column full width */
    .nav-container {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 0;
        padding-right: 0;
        background-color: transparent;
    }

    /* Full-width navbar */
    .main-menu {
        width: 100%;
        margin-right: 0;
        padding: 0;
        background-color: var(--teal);
    }

    /* Remove padding from the Bootstrap container */
    .main-menu .container-fluid {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    /* Teal toggler bar */
    .main-menu .navbar-toggler {
        background-color: var(--teal);
        border: none;
        border-radius: 0;
        margin: 0;
    }

    /* Full-width gray menu */
    .main-menu .navbar-collapse {
        width: 100%;
        background-color: var(--gray-light);
        margin: 0;
        padding: 0;
    }
}


@media (max-width: 768px) {
    .main-menu .navbar-collapse {
        width: 100%;
        background-color: var(--gray-light);
        padding-right: 2rem;
    }

    .nav-fill .nav-item {
        justify-content: flex-end;
		position: relative;
    }
	
	.navbar-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
}

	

    .main-menu .navbar-nav {
        width: 100%;
    }


    .main-menu .navbar-nav .nav-item {
        display: block;
        width: 100%;
        position: relative;
    }

   
    .main-menu .navbar-nav > .nav-item > .nav-link {
        text-align: right;
        justify-content: flex-end;
    }


    .main-menu .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background-color: var(--white);
    }


    .main-menu .navbar-nav .dropdown-menu .dropdown-item {
        display: block;
        width: 100%;
        text-align: right;
        padding: .5rem 1.5rem;
    }
	    .main-menu .navbar-nav .dropdown-menu {
        margin-right: -2rem;
        width: calc(100% + 2rem);
    }
}





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

  .dropdown-item:hover,
  .nav-link:hover,
  .nav-item:hover,
  .nav-item.active > a {
    color: var(--red);
    
}

@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;
  }
}
.nav-link{
    font-size: 1.25rem;
}
.nav-link, .dropdown-item {
  color: #0c2c4d;
  font-weight: 500;
}

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

.navbar-brand {
    margin-bottom: 2rem;
}

}


@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 ***/
.home-button {
    background-image: linear-gradient(to bottom, #01833b, #006a30);
    color: var(--white);
    font-weight: bold;
    padding: 8px 10px 3px 10px;
    margin-top: 1rem;
    border-radius: 15px;

    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-button:hover {
    background-image: linear-gradient(to bottom, #01441f, #01441f);
}

.button-image {
    position: relative;
    display: flex;
    flex: 0 0 auto;
}

.button-image img {
    display: block;
}

.button-image::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-image: url("https://mockups.consumerfocusweb.com/blouin-brothers/wp-content/uploads/2026/07/boxArrows.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.button-text {
    flex: 1;
    min-width: 0;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    padding-left: 1rem;
}

@media (max-width: 750px) {
    .button-text {
        font-size: 1.8rem;
    }
}


.main-content {
	padding-top: 3.625rem;
	padding-bottom: 3.938rem;
}




.side-menu{
	background-image: linear-gradient(to bottom, #ffffff, #d5d5d5);
	display: flex;
	flex-wrap: wrap;
    border: 1px solid #ccc; /* optional outer container border */
	color:var(--gray-dark);
	font-size: 0.65rem;
	line-height:1rem;
	border-radius: 12px;
	line-height:0.5rem;
	box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
	
}
.side-menu ul{
	margin-left:-1rem;
}
.side-menu li{
	list-style-image:url('https://mockups.consumerfocusweb.com/blouin-brothers/wp-content/uploads/2026/07/listArrows.png');
}
.side-menu > div {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px;
    box-sizing: border-box;
}

.side-menu > div + div {
    border-left: 1px solid #ccc;
	min-width: 0;
}

/* 750px–1000px: one column */
@media (min-width: 750px) and (max-width: 1000px) {
    .side-menu > div {
        flex: 1 1 100%;
    }

    .side-menu > div + div {
        border-left: none;
        border-top: 1px solid #ccc;
    }
}

/* 491px–749px: two columns */
@media (min-width: 491px) and (max-width: 749px) {
    .side-menu > div {
        flex: 1 1 0;
    }

    .side-menu > div + div {
        border-top: none;
        border-left: 1px solid #ccc;
    }
}

/* 490px and below: one column */
@media (max-width: 490px) {
    .side-menu > div {
        flex: 1 1 100%;
    }

    .side-menu > div + div {
        border-left: none;
        border-top: 1px solid #ccc;
    }
}



.side-menu h4{
	color:var(--blue);
	font-size:0.8rem;
}

.side-menu li{
	text-wrap:nowrap;
}

.side-menu li a:hover{
	color: var(--blue);
}

#gform_wrapper_1 {
    margin: auto;
	background-color:var(--gray-light);
	padding:2rem;
	border-radius:10px;
	border: 2px solid var(--gray-medium); 
}

.main-callouts {
	padding-top: 3.688rem;
	padding-bottom: 5.688rem;
}

.main-callouts .callout-box p {
	max-width: 412px;
	margin: auto;
}

.main-callouts h3, .main-callouts .btn {
	margin: 1.125rem auto;
}

.gform_wrapper h4 {
    color: var(--teal);
}


#home-carousel .carousel-item {
    position: relative;
    height: 70vh; /* Full viewport height */
}

#home-carousel .item {
    position: relative;
    height: 100%;
}
#home-carousel .media-container {
    position: absolute;
    width: 77vw;
    height: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    overflow: hidden;
}

@media(max-width:768px){
  #home-carousel .media-container{
    width: 87vw;;
  }
}

#home-carousel .responsive-media {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#home-carousel .responsive-media[style*="background-image"] {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.desktop-image {
    display: block;
}

.mobile-image {
    display: none;
}

@media (max-width:768px) {
    #home-carousel .carousel-item {
        height: auto;
    }

    #home-carousel .item {
        height: auto;
    }

    #home-carousel .media-container {
        position: relative;
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    #home-carousel .mobile-image {
        display: block;
        width: 100%;
        height: auto;
    }

    #home-carousel .desktop-image {
        display: none;
    }
	.desktop-image {
        display: none;
    }

    .mobile-image {
        display: block;
        width: 100%;
        height: auto;
    }
	
}


/*** FOOTER ***/
footer:not(.home):not(.front-page) {
	margin-top:1rem;
}

footer img{
	border-radius:0 !important;
	box-shadow: none!important;
}
.upper-footer{
	background-color:var(--teal);
	font-size: 0.7rem;
   padding:1rem 0rem;

}
.upper-footer .col-md-4 span{
	text-wrap:nowrap;
	font-weight:light;
}


.lower-footer{
	background-color:var(--gray-lightest);
	text-align:right;
	padding: 1.5rem 0rem 4rem 0rem;
	width: 85vw;
	
}

.lower-footer img{
	padding-left:1rem;
	
}

footer {
  color:var(--white);
  background-color: var(--gray-lightest);
}

address{
	font-weight:600;	
	 margin-bottom: 0!important;
}


footer a {
	color: inherit;
}

.phone {
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.5;
}


@media(min-width: 768px) {
	.copyright {
		text-align: right;
	}
}

@media (max-width: 490px) {
    .upper-footer .col-md-3,
    .upper-footer .col-md-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .upper-footer .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 10px;
    }

    .upper-footer .col-md-4 span {
        display: block;
        white-space: normal;
        overflow-wrap: break-word;
    }
}
/*** 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: 1rem 0 .5rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  font-family: var(--font-headline);
  border-bottom: 2px dashed var(--gray-dark);
  padding: .5rem;
}


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

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

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


.panel-title::after {
  content: "-";
  background-color: var(--gray-dark);
  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(--gray-dark);
  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 {
    background-color: var(--gray-dark);
    padding: 2rem;
  color: var(--white)
}

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

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

.blog-sidebar .blog-btn:hover {
  border-color: var(--white);
  background: var(--gray-dark);
}

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

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

}

.post-content aside .btn-primary:hover {
    color: var(--white);

}

.blog-title {
    transition-property: 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  {
    background: rgba(39, 37, 96, .6);
}

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



/*** 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 {
    background: var(--gray-light);
}


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

.blog-article .blog-link:hover {
  text-decoration: none;
  color: var(--gray-dark);
}

.blog-content {
  padding: 2.313rem;
  background: var(--gray-light);

}

article h2 {
    font-size: 1.875rem;
}

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

}

article .post-link:hover {
  color: var(--gray-dark);
}

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

aside {
  background: var(--gray-light);
}

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(--gray-other);
  font-weight: 600;
}

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

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


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

td, th {
  border: 1px solid var(--gray-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(--gray-dark);
  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(--gray-dark);
  border-radius: 50%;
  height: 1rem;
  width: 1rem;
  font-size: 0.75rem;
  position: absolute;
  left: -1.5rem;
  top: 6px;
}
.serviceArea{
  columns:3;
  font-size: .9rem;
}
.serviceArea li{
  margin-bottom: 0;
}

.twocol{

}

@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 {
    background: var(--gray-light);
    padding: 1rem;
    border-left: 15px solid var(--gray-dark);
    font-style: italic;
}

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

blockquote p {
  margin: 0;
}






/*** 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-content {
    flex-grow: 1;
    overflow: hidden;
    padding: 2rem;
    background: var(--gray-light);
    color: var(--black);
}

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

.box-wrapper h2 {
  color: var(--white);
  font-size: 1.875rem;
  width: 100%;
  background: var(--gray-dark);
  margin-bottom: 0;
  padding: 1.25rem 2rem;
}

/* WELLS */

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

.well .btn {
    margin-bottom: 0;
    color: var(--gray-dark);
    margin-top: 1rem;
}

.well .btn:hover {
    color: var(--gray-dark);
}

.well-default {
      background: var(--gray-light);
      color: var(--gray-dark);
}

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

.well-default a {
  color: var(--gray-dark);
  text-decoration: underline;
  }

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

.well-alt {
  background: var(--gray-light);
  color: var(--black);
}

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

.well-alt a:not(.btn) {
  color: var(--gray-dark);
  text-decoration: underline;
}

.well-alt a:hover {
  color: var(--gray-dark);
  text-decoration: none;
}


.well-default .btn {
  background: var(--gray-dark) !important;
  color: var(--white) !important;
  border-color: var(--gray-dark) !important;
  text-decoration: none;
}

.well-default .btn:hover {
  background: transparent !important;
  color: var(--gray-dark) !important;
  border-color: var(--white) !important;
}

.well-alt .btn:hover {
  border-color: var(--white);
  text-decoration: none;
}


/** COUPONS **/

.coupon {
  border: 6px dashed var(--gray-dark);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
}

.coupon h3,.coupon h2 {
  color: var(--gray-dark);
}

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

/* CALLOUTS */

.callout {
    margin-bottom: 3rem;
}

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

.callout h2, .callout h3 {
  color: var(--gray-dark);
}

.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 {
    text-decoration: underline;
}


.callout-image {
    max-width: 250px;
	height:160px;
	border-radius:20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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


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

.callout:not(.callout-full.img-visible, .callout-full.img-none) .callout-content {
    padding: 0rem 2rem 2.5rem;
}

.callout-content h2{
	color:var(--green);
	font-size:1.2rem;
}



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

@media (max-width: 768px) {
    .callout-image {
        max-width: 100%;
        height: 200px;
        margin-bottom: 1.5rem;
    }

    .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 {
    /* 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 ***/


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

.page-title h1 {
  color: var(--black);
  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 {
  color: var(--yellow);
}

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

