/*
Theme Name: T & S Heating and Air Conditioning
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 {
  --white: #FFFFFF;
  --black: #000;
  --body: #160A02;

  --lt-gray: #F9F9F9;
  --md-gray: #cccccc;
  --dk-gray: #818181;

    --blue:#0092cd;
    --red: #bb2222;
    --lt-purple: #77a;

 --headline-color: #0B109F;

  --page-title-bkg: ;
  --page-title-bkg: ;



  /* TYPOGRAPHY */

  --body-font: 'Montserrat', sans-serif;
  --headline-font: 'Montserrat', sans-serif;


  --base-font-size: 1rem;
  --base-line-height: 1.813rem;
}

/*** DEFAULTS ***/

/* font size will +/- by 1px for every 100px of the viewport width */

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

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

@media (max-width: 768px) {
    body {
        font-size: 1.25rem;
    }
}

* {
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: linear;
}

*, ::after, ::before {
    box-sizing: border-box;
}

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

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

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

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

/**

Font size formula: Target Size / Base Size = Value
Example: 50px / 16px = 3.125rem

**/

.home h1 {
    color: var(--black);
    font-size: 2.813rem;
}

.home h2 {
    font-size: 2.188rem;
}

h1 {
  font-size: 3.125rem;
}

h2:not(.home h2):not(.well h2) {
  font-size: 1.875rem;
  color: var(--black);

}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--red);
cursor: pointer !important;

}

a:hover {
	cursor: pointer !important;

}


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


/*** "GLOBAL" STYLES ***/

.container {
  min-width: 95vw;
}

hr {
    border-top: 1px solid var(--blue);
    margin: 1.875rem auto 3.125rem;
}


/*** BUTTONS ***/

button:hover {
    cursor: pointer;
}

.btn, .gform_button {
    padding: .59rem 5.4rem;
    margin: 1rem .25rem;
    text-decoration: none;
    display: inline-block;
    white-space: pre-wrap;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 1.219rem;
    text-transform: uppercase;

}

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

.btn-menu {
    border-radius: 1.219rem;
}

.btn-ghost {
    background: transparent;
    border-color: var(--blue);
}

.btn-ghost:hover {
    background: var(--blue);
}


.btn-primary, .gform_button {
    background: var(--red);
    border-color: var(--red);
	padding:1rem 4.75rem;
	border-radius:100px;
	color: var(--white);
}

.gform_button {
    color: var(--white);
    border: none;
}

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


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

.btn-default:hover {
    color: var(--white);
}

@media(max-width:767px){
    .btn, .gform_button{
        display: block;
        font-size: 1.35rem;
    }
}
/*** COLORS ***/


/*** HEADER ***/
.upper-header{
	font-weight: 600;
	font-size: small;
	margin-bottom: 1rem;
	margin-top: 0.688rem;
	text-transform: uppercase;
	color: var(--red);
}

.text-right-md{
	padding-top: 4rem;
}

.navbar{
	background-color: var(--blue);
}

.navbar .nav-link {
    padding-right: 0;
    padding-left: 1rem;
}

header address a {
    color: initial;
    font-size: 0.938rem;
}

header address a[href^="tel:"] {
    font-size: 1.25rem;
    font-weight: 700;
    margin-left: 2.5rem;
}

header address {
    line-height: normal;
	margin-bottom: 2rem;
}

header address img {
    padding-right: .25rem;
}

@media (max-width: 767.98px) {
	header address a {
    font-size: 1.25rem;
	}
	header address a[href^="tel:"] {
        padding-top: 0.5rem;
		margin-left: 0;
        display: block; 
        margin: 0.25rem 0; 
    }
}

/*** NAV BAR ***/

  .main-menu {
    font-weight: 700;
	  padding: 0;
  }

@media(min-width: 767.98px) and (max-width: 992px) {
	.nav-link {
    	font-size: 1rem;
	}
}

@media(min-width: 767.98px) {

.navbar-brand {
    position: absolute;
	z-index: 100;
}

.navbar-brand img {
    position: relative;
    max-width: 200px;
}
	
	#bs-example-navbar-collapse-1 {
    max-width: calc(100% - 184px);
    margin: 0 0 0 auto;
}
	
	.mobile-only {
		display: none;
	}
	}

@media(max-width: 767.98px) {
.navbar-brand {
	display: none;
}
	
	.nav-link {
		text-align: left;
	}
	.main-menu {
		padding: 1rem;
	}
	.top-bar .mobile-only a img {
    margin: auto;
    display: block;
    max-width: 200px;
}

.upper-header {
    text-align: center;
    margin-top: 0.5rem;
}

header address {
    text-align: center;
}

header address a {
    display: block;
}

header address a:last-child {
    margin: 0rem auto 0;
}
	.top-bar .mobile-only a img {
		margin-top: 0.5rem;
	}
}
  
.main-menu .nav-link {
    color: var(--black);
}

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



.navbar {
      z-index: 10000;
}

.dropdown-toggle::after {
    border-top: .3em solid var(--blue);
}

.dropdown-item {
    font-weight: 700;
}

.dropdown-item:hover {
    background: var(--red);
    color: var(--white);
    border-radius: 0;
}

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

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

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


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

  .nav-item.active > a,
  .nav-link:hover,
  .nav-item:hover {
}


@media(min-width: 767.98px) {
  .dropdown-menu {
        background: ;
  }
  
  .dropdown-menu {
      left: auto;
      right: 0;
      margin: 0 auto;
  }

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


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

.top-level {
  position: relative;
}

.dropdown.top-level:hover:after {
  border-left: solid transparent 10px;
  border-right: solid transparent 10px;
  border-top: solid var(--md-blue) 10px;
  bottom: -10px;
  content: " ";
  height: 0;
  margin-left: -13px;
  position: absolute;
  width: 0;
  z-index: 10000;
}


/*** MENU - SECOND LEVEL MENU DROPDOWNS ***/

.second-level {
    position: relative;
    padding-bottom: 1rem;
}

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

.dropdown-menu {
    box-shadow: rgba(0, 0, 0, 0.19) 0 0 8px 0;
}


@media (min-width: 767.98px) {
  .second-level > .dropdown-menu {
    margin-top: -.5rem;
    margin-bottom: -.5rem;
    padding-bottom: .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;
  }
}


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

@media (max-width: 767.98px) {
  .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;
  }
}


/*** HOME ***/

.hero-text{
	padding:2rem;
	color: var(--white);
}
@media(min-width:992px){

.hero-text{
    padding:10rem;
}
}

.hero-text p:first-child {
    font-size: 3.5rem;
    line-height: normal;
}

.hero-text p:first-child strong {
    display: block;
}


.home-about{
	padding-top: 3rem;
	padding-bottom: 2rem;
}

.home-about h1 {
	line-height: 1.3;
    margin-bottom: 1rem;
}

@media(min-width: 768px) {
	.home-about {
		max-width:900px;
		margin: auto;
	}
}

.home-about p.red {
    color: var(--red);
    font-size: 1.125rem;
}

.home-about p:nth-last-child(2) a {
    color: inherit;
}

.home-services{    
	background-color: var(--lt-gray);
	padding-top: 2.375rem;
	padding-bottom: 2.375rem;
}


.card {
	min-height: 454px;
	border: none;
	border-radius: 15px;
	margin-top: 2rem;
}

.card-footer a {
	text-transform: uppercase;
	font-weight: 700;
}

.card .btn-primary {
    border-color: var(--white);
	margin: 2rem auto auto;
	display: block;
}

.card-body {
	padding: 2rem;
}

.card-flip > div {
  backface-visibility: hidden;
  transition: transform 300ms;
  transition-timing-function: linear;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
	border-radius: 15px;
}

.card-front {
  transform: rotateY(0deg);
}

.card-back {
  transform: rotateY(180deg);
  position: absolute;
  top: 0;
  background: rgba(0, 146, 205, 0.90);
}

.card-flip:hover .card-front {
  transform: rotateY(-180deg);
}
  
.card-flip:hover .card-back {
  transform: rotateY(0deg);
}

.card-footer {
	background: unset;
	border: unset;
}

@media(min-width: 768px) and (max-width: 992px) {
    .card, .card-footer {
        max-width: 600px;
        margin: auto;
    }
}

.center{
	margin: 2rem 0 2rem 0;
	text-align:center;
}
.service-area-section{
	color: var(--white);
		padding-bottom: 2.188rem;

}

#home-carousel {
    color: var(--white);
    text-align: center;
}

#home-carousel .item-content {
    padding-top: 12.5%;
    padding-bottom: 12.5%;

}


.carousel-indicators li {
  width: 0.938rem;
  height: 0.938rem;
  border-radius: 100%;
  cursor: pointer;
  background-color: var(--headline-color);
  border: 1px solid;
  margin: 0 0.5rem 1rem;
}

.carousel-indicators .active {
  background-color: var(--blue);
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 20px;
    height: 20px;
}

@media(max-width: 768px) {
    .carousel-control-prev, .carousel-control-next {
        display: none;
    }

}

.slide-headline {
    font-size: 3.125rem;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.25;
}

.text-box p {
    font-size: 1.5rem;
}

#home-carousel .btn {
    background: transparent;
    border-color: inherit;
    margin: 2.5rem auto 0;
}

.carousel-control-prev, .carousel-control-next {
    background: transparent;
    border: none;
}

.visually-hidden {
    display: none;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    height: 30px;
    width: 30px;
}


.carousel-control-prev-icon {
    background-image: url(http://localhost:8888/sherman/wp-content/themes/sherman/img/prev-icon.svg);
}

.carousel-control-next-icon {
    background-image: url(http://localhost:8888/sherman/wp-content/themes/sherman/img/next-icon.svg);
}



.main-content {
    margin-bottom: 2.75rem;
    margin-top: 2.188rem;
}

@media(min-width:768px) {
    .main-content p {
        max-width: 937px;
        margin: 15px auto;
    }
}

.service-boxes {
    margin-bottom: 2.75rem;
}

.service-box {
    color: var(--white);
    font-size: 0.875rem;
    padding: 23.5% 1rem;
    height: 100%;
}

.service-box a {
    color: var(--red);
    text-transform: uppercase;
}

@media(min-width: 768px) {
    .service-area-wrapper {
        padding-left: 3rem;
    }
}

@media(max-width: 768px) {
    .service-box * {
        font-size: initial;
    }

    .service-box h2 {
       font-size: 1.875rem;
    }
}




.logo-section {
    margin-bottom: 1.125rem;
}


ul.service-area {
    column-count: 2;
    list-style: none;
    padding: 0;
    line-height: 1.875rem;
}

/*** FOOTER ***/

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

.bottom-footer,
.bottom-footer {
    color: var(--white);
}

footer a {
    color: inherit;
}
.footer-logo img, .footer-logo a {
    max-width: 250px;
    width: 100%;
    margin: auto;
}
footer a:hover {
    color: inherit;
    text-decoration: underline;
}

footer strong {
    display: block;
    font-size: 0.875rem;
    color: var(--headline-color);
    text-transform: uppercase;
}

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


[class*="footer-info"] {
	padding-left: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: .5rem;
}

[class*="footer-info"]:before {
content: '';
    position: absolute;
    left: 1.5rem;
    background-size: contain !important;
	filter: invert(91%) sepia(25%) saturate(2955%) hue-rotate(336deg) brightness(102%) contrast(101%);
}

.footer-info--address:before {
	background: url('img/marker-yellow.svg') no-repeat;
	height: 19px;
    width: 21px;
	margin-top: .5rem;
}

.footer-info--phone {
	font-weight: 700;
	display: flex;
    justify-content: center;
}

.footer-info--phone:before {
	background: url('img/phone-yellow.svg') no-repeat;
	height: 15px;
    width: 21px;
}

@media(min-width: 768px) {
.margin-footer {
    margin-top: 4rem;
}

.margin-footer:nth-child(3), .margin-footer:nth-child(4) {
    margin-top: 6rem;

}
}

.margin-footer:nth-child(3) a { 
    text-decoration: underline;
	line-height: 2;
}
.margin-footer:nth-child(3) a:hover {
    text-decoration: none;
}

footer address {
    line-height: 2rem;
}

.social-icons {

	text-align:center;
}

.social-icons a {
    background: var(--blue);
    height: 30px;
    width: 30px;
    border-radius: 50%;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
	margin-top: 0.2rem;
}

.social-icons a:hover {
    background: var(--white);
}

.social-icons a:not(a:last-child) {
     margin-right: 1.25rem;   
}

.social-icons img {
    height: 20px;
    width: 20px;
}


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

.top-footer img:not(.social-icons img) {
    margin-bottom: 2rem;
}

.top-footer address {
    margin-bottom: 1rem;
}
	[class*="footer-info"]:before {
		display: none;
	}
	[class*="footer-info"] {
		padding: unset;
	}
}

.bottom-footer {
background: var(--red);
color: var(--white);

}

.footer-hr {
    max-width: 75%;
    color: var(--blue);
    opacity: 1;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: unset;
}




@media(max-width: 768px) {
    .footer-logo {
        margin: auto auto 2rem;
        display: block;
    }
    footer strong {
        margin-top: 2rem;
    }
}


address {
    margin: 0;
}


/*** PAGES ***/

.entry-title {
    margin: 0;
}

.page-background.no-img {
    background: var(--lt-gray);
    border-bottom: 5px solid var(--blue);
    padding: 2rem 0;
}

.page-background.bkg-img h1 {
    color: var(--white);
}

.fill-space {
    width: 100%;
    max-height: 335px;
    object-fit: cover;
    padding-right: 2rem;
}

@media(min-width:768px) {
/*     .page-content p:first-child {
        max-width: 937px;
        margin: 15px auto;
    } */
}

/*** POSTS ***/

.blog-wrapper h2 > a {
    color: initial;
}

.blog-wrapper h2 > a:hover {
    text-decoration: unset;
}

li.categories {
    list-style: none;
}

@media ( max-width:768px ) {
    li.categories > ul {
        list-style-position: inside;
    }
}
/*** 404 ***/

.not-found {
    min-height: 15rem;
    flex-direction: column;
}

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

.not-found h2 {
    margin-bottom: 1.66rem;
}

/*** SIDEBARS ***/


.well {
    padding: 1rem 2rem;
    margin: 1rem auto 1.563rem;
    background: var(--blue);
    color: var(--black);
    text-align: center;
}

.well h2, .well h3 {
  color: var(--black);
  margin-bottom: 1rem;
font-size: 1.75rem;
}






.well-alt {
  background: var(--dk-gray);
  border-left-color: var(--md-gray);
	color:var(--white);
	text-align:left;
}
.well-alt h2, .well-alt h3{
		color:var(--white);
}


/*** PAGE CALLOUTS ***/

.edge_callout {
    
   width: 100vw;
   position: relative;
   left: 50%;  
   margin-left: -50vw;
}

 .edge_callout .col-md-12 {
     max-width: 90vw;
     margin-left: calc((100% - 90vw) / 2);
 }


 .callout {
    margin-bottom: 1.563rem;
    margin-right: 0;
    margin-left: 0;
    background: var(--md-gray);
}

.callout-text {
    padding: 3.75rem 4.313rem 3.688rem 3rem;
}

.callout-image {
  max-width: 15rem;
}

.callout a, .full-callout a {
    color: inherit;
    text-decoration: underline;
}

.callout a:hover, .full-callout a:hover {
    text-decoration: unset;
}

.full-callout {
    margin-bottom: 1.563rem;
}

.full-callout-text {
  color: var(--white);

}

.full-callout-text:before {
    background: var(--accent-gray);
    margin-bottom: 1.563rem;
    margin-right: 0;
    margin-left: 0;
}

.full-callout-bkg:before {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.full-callout-bkg * {
    color: var(--white);
}

.full-text {
  background: none;
  position: relative;
  display: grid;
  padding-top: 3.75rem;
  padding-bottom: 4.313rem;
}

.full-text:before {
  content:"";
  position: absolute;
  height: 100%;
  width: 200vw;
  left: -100vw;
  z-index: -1;
}


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

    }
}



/**************
 *            *
 *   TABLES   * 
 *            *
 **************/


/*** BASE ***/

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


th {
    font-weight: 500;
    font-size: 1.15rem;
}


td, th {
    padding: .25rem 1rem;
}


/*** REGULAR TABLE ***/


thead {
    background: var(--accent-gray);
    color: var(--white);
    border: 1px solid var(--accent-gray);
}

tbody {
    border: 1px solid var(--md-gray);
}

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

td, th {
    border-right: 1px solid var(--md-gray);
}


/*** ALT TABLE ***/

table.alt thead {
    background: var(--lt-gray);
    color: unset;
    border: 1px solid var(--md-gray);
}

table.alt tbody {
    border: 1px solid var(--md-gray);
}

table.alt tr:nth-child(even) {
    background: var(--lt-gray);
}

table.alt td, table.alt th {
    border: 1px solid var(--md-gray);
}


/*** LISTS ***/

ul.alt li {
    list-style-type: none;
    padding-left: 1rem;
    display: flex;
    align-items: center;
}

ul.alt li:before {
    content: "\F26B";
    font-family: "bootstrap-icons";
    display: inline-block;
    margin-left: -1rem; 
    width: 1.5rem; 
    font-size: .95rem;
    color: var(--dk-gray);
}

ul.alt {
    padding-left: 1rem;
}


/**** BLOCKQUOTES ****/

blockquote {
    background: var(--lt-gray);
    border-left: 0.75rem solid var(--md-gray);
    padding: 1rem 0.75rem;
}

blockquote:before {
    /* color: var(--md-gray); */
    /* content: open-quote; */
    font-size: 4rem;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}

blockquote.alt {
    background: var(--md-gray);
    border-color: var(--accent-gray);
}


/*** SOCIAL ICONS ***/

i.bi {
    padding-right: .5rem;
    font-size: 1.5rem;
}


/**** FORMS ****/

.gform_wrapper {
    background: var(--lt-gray);
    padding: 2rem;
}


.pay-bill .amount {
    font-size: 1.25rem;
    font-weight: 700;
}

.pay-bill input {
    border-color: transparent;
}

.g-recaptcha.brochure__form__captcha > div {
    margin: auto auto 0;
    display: block;
}

/*** ACCORDIONS ***/
.accordion {
  margin: 1.5rem 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 0.5rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  font-family: var(--font-headline);
  border-bottom: 3px dashed var(--red);
  padding: 1rem 1.25rem;
}



.panel-content {
  padding: 0.85rem 1.25rem 1.25rem;
  background: var(--lt-gray);
}
.panel-content p, .panel-content .btn {
	margin-bottom: 0;
}

.panel-title::after {
  content: "-";
  background-color: var(--red);
  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: 0.15rem;
}

.panel-title.collapsed::after {
  content: "+";
  background-color: var(--red);
  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: 0.15rem;
}

