@charset "UTF-8";
/*
Theme Name: Web Solutions
Theme URI: https://www.websolutions.com/
Author: Web Solutions
Author URI: https://www.websolutions.com/
Description: WordPress wpCode
Version: 2.0
Text Domain: wpcodev2

Web Solutions is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
*/



/* TYPOGRAPHY ------------------------------

h1 { font-size: 2em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.5em; }
h4, th { font-size: 1.25em; }
h5 { font-size: 1.125em; }
h6 { font-size: 1.0em; }
*/

.intro {
  font-size: 1.25em;
}



/* HEADER ------------------------------*/
* {
  scroll-padding-top: 80px;
}
body>header {
  height: 6.5rem;
  background: #FFF;
  overflow: visible;
  padding: 0 1.875em 0 0;
  position: fixed;
  width: 100%;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
  transition: all .2s ease;
}
#navContainer {
  display: contents;
}
body.admin-bar>header {
	top: 32px
}
body>header.scrolled {
  box-shadow: 0 2px 0 var(--grey-lt);
}

body>header>.wrap {
  overflow: visible;
}

#brand {
  display: block;
  padding: 1.125em 0 0.875em;
  max-width: 9.875em;
  width: 100%;
  background: #FFF;
  align-self: start;
  position: relative;
}
#brand:before {
  content: "";
  position: absolute;
  bottom: -2px;
  right: -2px;
  left: 0;
  top: 6.5rem;
  border: 3px solid var(--grey-lt);
  z-index: -1;
  opacity: 0;
  transition: opacity .2s ease;
}
body>header.scrolled #brand:before {
  opacity: 1;
}

#brand img {
  display: block;
  width: 100%;
}

nav ul {
  margin: 0;
}

#mainnav {
  overflow: visible;
}

#mainnav ul {
  margin: 0;
  overflow: visible;
  padding: 0;
  text-align: center;
}

#mainnav > ul > li {
  display: inline-block;
  position: relative;
  margin-inline: 15px;
}

#mainnav a {
  font-size: 1.0625em;
  color: #000;
  display: inline-block;
  line-height: 2;
  padding: 0 1em;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
}
#mainnav>ul>li>a:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 1em;
  right: 1em;
  height: 5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: all .2s ease;
}

:is(.home, .page-template-page-tier-1)>header:not(.scrolled) {
  background: transparent;
}
:is(.home, .page-template-page-tier-1)>header:not(.scrolled) #mainnav > ul > li > a {
  color: #FFF;
}
:is(.home, .page-template-page-tier-1)>header:not(.scrolled) #ancillary a {
  color: #FFF;
  border-color: rgba(255,255,255,.5)
}
:is(.home, .page-template-page-tier-1)>header:not(.scrolled) #ancillary li:first-child:not(:last-child) a:before {
  filter: grayscale(1) brightness(5);
}

#mainnav>ul>li:hover>a:after,
#mainnav>ul>li.expand>a:after,
#mainnav>ul>li>a:focus:after,
#mainnav>ul>li:focus-within>a:after {
  transform: scaleX(1);
}

#mainnav>ul>li:is(.current-menu-item, .current-page-ancestor)>a:after,
:is(body.single,body.archive) #mainnav>ul>li.menu-item-52>a:after {
  transform: scaleX(1);
}



/* ACCESSIBLE DROPDOWNS ------------------------------ */
#mainnav>ul>li>button {
	background: transparent;
	bottom: -0.3125rem;
	border: 0;
	height: .5rem;
	opacity: 0;
	padding: 0;
	pointer-events: none;
	position: absolute;
	right: 50%;
	transform: translate(50%,-50%);
	width: 1rem;
}

#mainnav>ul>li>button:focus-visible {
	opacity: 1;
}

#mainnav>ul>li>button:before {
	background: url('./images/icons/chevron-down.svg') no-repeat center / contain;
	content: '';
	height: .75rem;
	left: 0;
	position: absolute;
	right: 0;
	top: calc(50% - 6px);
  filter: invert(1);
}
:is(.home, .page-template-page-tier-1)>header:not(.scrolled) #mainnav>ul>li>button:before {
  filter: invert(0);
}

/* T2 DROPDOWN MENU ------------------------------ */
#mainnav li ul {
  background: var(--grey-lt);
  height: auto;
  opacity: 0;
  overflow: auto;
  padding: 1em 0;
  position: absolute;
  top: -200vh;
  transition: opacity .3s ease .3s;
  visibility: hidden;
  width: 15.625rem;
  z-index: 1;
}

.page-template-page-tier-2 #mainnav li ul {
  box-shadow: 0 0 0 1px #fff;
}

#mainnav li:hover ul,
#mainnav li>a:focus + ul,
#mainnav>ul>li.expand>ul,
#mainnav>ul>li>ul:focus-within {
  opacity: 1;
  top: calc(100% + 5px);
  left:1em;
  visibility: visible;
  z-index: 1;
}

#mainnav li ul li {
  display: block;
  width: 100%;
}

#mainnav li ul li a {
  background: none;
  color: #000;
  display: block;
  font-size: 1em;
  line-height: 1.1;
  padding: .3em .75em;
  text-align: left;
  width: 100%;
  text-transform: none;
}

#mainnav li ul li a:is(:hover, :focus) {
  background: #FFF;
  color: var(--red);
}

#mainnav li ul ul {
  display: none;
}



/* ANCILLARY ------------------------------ */
#ancillary {
  color: #ccc;
  padding: 1rem 0;
}

#ancillary :is(ul, li) {
  display: inline;
}

#ancillary a {
  color: #000;
  display: inline-block;
  font-size: 1.0625em;
  padding: 13px 20px 13px 39px;
  line-height: 1;
  position: relative;
  border-radius: 43px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.2);
}
#ancillary li:last-child a {
  background: #000;
  color: #FFF;
  border-color: #000;
}
#ancillary li:last-child a:is(:hover,:focus) {
  background: #FFF;
  color: #000;
  border-color: rgba(0,0,0,.2);
}
#ancillary a:before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 14px;
  height: 1rem;
  width: 1rem;
  background: url(images/icons/calendar-plus.svg) no-repeat center / contain;
}
#ancillary li:last-child a:before {
  background: url(images/icons/phone-red.svg) no-repeat center / contain;
}
#ancillary li + li {
  margin-left: 1.25rem;
}

#ancillary li.current_page_item a,
#ancillary a:is(:hover, :focus) {
  color: #fff;
  background: #000;
}

#ancillary form {
  display: inline;
}

#ancillary form input {
  display: inline-block
}

/* mobile */
#mobilenav, .mobileOnly, .toggleNav {
  content-visibility: hidden;
  display: none;
}



/* MAIN ------------------------------ */
main .not-found-content {
  min-height: 50vh;
}

main > .wrap:first-child {
  padding-top: var(--margin);
}

main>div>aside {
  float: left;
  overflow: hidden;
  padding-right: 3em;
  width: 20em;
  margin-bottom: 1.5rem;
}

body.fullWidth #content {
  float: none;
  margin: 0 auto;
  width: 100%;
}

#content {
  overflow: hidden;
  padding: 0 0 3.125em;
  position: relative;
}

.tier-2-hero {
  padding-top: 6.5rem;
}

.tier-1-main #content,
.tier-2-hero + #content {
  padding-bottom: 0;
}

#content.standard-content:not(.fullWidth) {
  width: calc(100% - 20em);
  float: right;
}

#content.fullWidth {
  float: none;
  margin: 0 auto;
}

.twoCol {
  columns: 2;
}

.threeCol {
  columns: 3;
}

.alignright {
  margin: 0 0 .75em 2.5em;
}

.alignleft {
  margin: 0 2.5em .75em 0;
}



/* HOME -------------------------------- */
.home-hero {
  height: 100vh;
}
.admin-bar .home-hero {
  height: calc(100vh - 2rem);
}
.home-hero .hero-content {
  top: 50%;
  transform: translateY(-50%);
}
.home-hero a[href^="tel:"] {
  color:#000;
  display: inline-block;
  white-space: nowrap;
}

/* Hiding while video is grayscale
.home-hero .rotator:before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,.1);
  pointer-events: none;
}
*/

.home-hero .rotator:after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}


.home-hero .slick-arrow,
.home-hero .controls {
  bottom: 1.25em;
}

.home-hero #homeVideo + .controls {
  left: 1.25em;
  transform: none;
}

.home-callouts-top {
  gap: 0;
}

.home-callouts-top > div {
  width: calc(25% - .75rem);
}

.home-services ul {
  column-count: 2;
  gap:0.5em;
}

.home-services ul li {
  display: inline-block;
  margin-bottom: 1em;
  width: 100%;
}

.interior-services ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18.75em, 1fr));
  gap:1em;
}
.home-services img {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-services .wrap-inner {
  width: 50%;
  margin-inline: auto 0;
  padding: 6em 3vw;
}


/* BLOCKS ------------------------------ */
.two-column-content > * {
  width: calc(50% - 2.1875rem);
}


/* color images use this mask 
.page-template-page-tier-1 .pageHeader:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 42% 55%, rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.00) 24%, rgba(0,0,0,0.42) 63%), linear-gradient(180deg, rgba(0,0,0,0.00) 74%, rgba(0,0,0,0.14) 96%), linear-gradient(0deg, rgba(0,0,0,0.00) 80%, rgba(0,0,0,0.42) 93%);
}
*/

/* grayscale images use this mask */
.page-template-page-tier-1 .pageHeader:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 42% 55%, rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.00) 24%, rgba(0,0,0,0.42) 63%), linear-gradient(180deg, rgba(0,0,0,0.00) 74%, rgba(0,0,0,0.14) 96%), linear-gradient(0deg, rgba(0,0,0,0.00) 70%, rgba(0,0,0,0.65) 93%);
}
.tier-1-intro {
  display: flex;
  gap: 0;
}

p.intro,
p.intro-block,
.tier-1-intro-content p:first-child strong,
.tier-1-intro-content p.intro,
.tier-2-main .content .wrap > p:is(.intro, .intro-block) {
  font-size: 1.625em;
  font-weight: 700;
  line-height: 1.35;
}

.tier-1-intro aside {
  width: 30%;
}
.tier-1-intro .tier-1-intro-content {
  width: 100%;
}

.tier-1-intro:has( aside nav ul li ) {
  gap: 10%;
}
.tier-1-intro .tier-1-intro-content:has(+ aside nav ul li ) {
  width: 60%;
}
.tier-1-intro aside:not(:has( li)) {
  width: 0;
}

.tier-2-hero .tier-2-image {
  position: absolute;
  top: 6.5rem;
  right: 0;
  width: 50%;
  height: calc(100% - 6.5rem);
}
.tier-2-hero .text-container {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 50%;
  padding: 7.5em var(--ws-gap) 5.1875em;
}

.tier-2-hero .text-container .inner-wrap {
  max-width: 37em;
  margin: 0 auto;
}

.home .google-reviews .bg-img {
  background-position: center right;
}

.home .google-reviews .wrap {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

.google-reviews-block {
  width: 50%;
  float: right;
  margin: 0 0 1rem 3rem;
}


main.blog-landing #content article {
  width: calc(33.33% - .67rem);
}
main.blog-landing  #content:has(+ .blog-sidenav .cat-item-none) article {
  width: calc(25% - .75rem);
}

main.blog-single:has(.cat-item-none) #content {
  margin: 0 auto;
  max-width: 48.75em;
  width: 100%;
}

main.blog-landing #content article a:is(:hover, :focus-visible) {
  border-color: #000;
}

main.blog-landing #content article a:is(:hover, :focus-visible) .read-more-link {
  color: var(--red);
}


.footer-cta img,
.full-width-block img {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.footer-cta .wrap-inner,
.full-width-block .wrap-inner {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 18.75em;
  padding: 5.1875rem 5.375rem;
  width: 50%;
}
.footer-cta .wrap-inner > div,
.full-width-block .wrap-inner > div {
  max-width: 37rem;
  margin: 0 auto;
}

.staff-block {
  gap: 1em;
}

/*
.staff-block:nth-of-type(even) {
  flex-direction: row-reverse;
}
*/

.staff-block .image {
  min-width: 15.625em;
  width: 25%;
}

.staff-block .image-container {
  min-height: 19.875em;
}

.staff-block .staff-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* FOOTER ------------------------------ */
.fatFooter {
  display: flex;
  justify-content: space-between;
}

body>footer .wrap nav span::before {
  content: "|";
  margin: 0 0.5em;
}
body>footer .wrap nav ul li:before {
  content: "|";
  margin-inline: .5em;
}

body>footer a:is(:hover, :focus) {
  color: var(--red);
}

#exposure {
  float: right;
  margin-left: 11px;
}

#exposure a:is(:hover, :focus) {
  opacity: .8;
}




/* MIN-WIDTH MEDIA QUERIES ------------------------------ */

/* 1500px */
@media (min-width: 1600px) {
  body {
    font-size: 1.125em;
  }
}


/* MAX-WIDTH MEDIA QUERIES ------------------------------ */

/* 1300px */
@media (max-width: 81.25em) {
  .tier-1-main h1:before {
    left: 1.375rem;
  }
  .footer-cta .wrap-inner, .full-width-block .wrap-inner {
    padding-inline: 1.5rem 3rem ;
  }
}

/* 1130px */
@media (max-width: 70.625em) {
  .home-services .wrap-inner {
    display: flex;
    flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
  }
  .home-services ul {
    display: flex;
    flex-direction: column;
    gap:1em;
    margin: 0;
  }
  .home-services ul li {
    margin: 0;
  }
}


/* 1080px */
@media (max-width: 67.5em) {
  .tier-2-hero .text-container {
    padding: 6em var(--ws-gap) var(--margin);
  }
  
  .content .wp-block-columns {
    flex-wrap: wrap !important;
    gap: calc(var(--margin) * .5);
  }

  .content .wp-block-columns > * {
    flex-basis: 100% !important;
    width: 100%;
  }
  body>header {
    padding-right: .5rem;
  }
  #ancillary li + li {
    margin-left: .5rem;
  }
  #mainnav li {
    margin-inline: 0;
  }
  #mainnav a {
    padding: 0 .5em;
  }

  .home-services .wrap-inner {
    padding-block: 5.3125rem;
  }
  .home-services ul {
    columns: 1;
  }
  .accordion-with-image, .accordions {
    flex-wrap: wrap;
  }
  :is(.accordion-with-image, .accordions, .accordions:has(.accordion:nth-child(2)), .accordions:has(.accordion:nth-child(3))) .accordion {
    width: 100%;
  }

  :is(main.blog-single, main.blog-landing) > .wrap {
    gap: 3rem;
  }
  :is(main.blog-single, main.blog-landing) #content {
    width: calc(100% - 15.875rem);
  }
  main.blog-landing #content article,
  main.blog-landing  #content:has(+ .blog-sidenav .cat-item-none) article {
    width: calc(50% - .5rem);
  }
  
}

/* 900 */
@media (max-width: 56.25em) {
  #brand {
    max-width: 8rem;
  }
  #ancillary a {
    padding-left: 31px;
  }
  #ancillary a:before {
    left: 11px;
  }
  #mainnav > ul > li {
    margin-inline: 0;
  }

  .home-callouts ul {
    flex-wrap: wrap;
  }
  .home-callouts ul li {
    width: calc(50% - .5rem);
  }

  .full-width-block ul.twoCol {
    columns: 1;
  }
}


@media (max-width: 782px) {
	body.admin-bar>header {
		top: 46px;
	}
}
