/*
Theme Name: Lube It USA Theme
Author: HC Solutions
Version: 1.0
*/

:root {
	--document-padding: 2rem;
	--document-width: 65rem;
	--usa-blue: #0B3682;
	--usa-yellow: #FFDC4F;
	--usa-red: #C41A2B;
}

html {
	background-color: #ffffff;
	color: #000000;
	font-family: "Roboto", "Helvetica", sans-serif;
	overflow-x: hidden;
}

body {
	margin: 0px;
}

p {
	line-height: 1.6rem;
}

img {
	width: 100%;
}

hr {
	color: black;
	border-style: solid;
}

h1,
h2,
h3 {
	font-family: "montserrat", sans-serif;
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.montserrat {
	font-family: "montserrat", sans-serif;
}

/* Add more heading sizes soon... */
h3 {
	font-size: 1.3rem;
}

.max-width > * {
	max-width: var(--document-width);
	padding-left: var(--document-padding);
	padding-right: var(--document-padding);
}

.max-width > .alignfull {
	padding-left: 0px;
	padding-right: 0px;
	max-width: none;
}

.alignfull {
	width: 100% !important;
}

.center-aligned > * {
	margin-left: auto;
	margin-right: auto;
}

.no-scroll {
  overflow: hidden;
  height: 100%;
}
.over-header-post {
	position: relative;
	z-index: 1;
}
.post-inner:first-child {
	padding-top: 5em;
}


/* Header */

#site-header {
	width: 100vw;
	max-width: 100vw;
	background-color: #fff;
	position: fixed;
	top: 0px;
	left: 0px;
	transition: all 0.5s ease;
	z-index: 100;
	box-shadow: 0px -2px 12px 3px #6A6A6A;
}

.logged-in.admin-bar #site-header {
	top: 32px;
}

.header-inner {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}


#site-header.header-smaller .sizing-container {
	padding-left: var(--document-padding) !important;
	transition-delay: 0.3s;
}

#site-header.header-smaller .front-page-banner-image {
	width: 100%;
	left: 0%;
	transform: translateY(-30px);
	opacity: 0;
	transition-delay: 0s;
}

#site-header.header-smaller .custom-logo {
	top: 0px;
	transform: scale(0.7) translateX(-35px);
	transition-delay: 0s;
}

.mobile-only {
	display: block;
}
.desktop-only {
	display: none;
}

.reset-list-style {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 15px;
	text-decoration: none;
	list-style: none;
	text-transform: uppercase;
}
#site-header li {
	overflow: hidden;
}
#site-header .header-navigation-wrapper a {
	transition: all 0.3s ease-in;
	position: relative;
	text-decoration: none;
}
#site-header .header-navigation-wrapper a::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1.5px;
	background: var(--usa-blue);
	transition: all 0.3s ease-in;
}

#site-header .header-navigation-wrapper a:hover::before {
	transform: translateX(120%);
}

#site-header .header-navigation-wrapper a::after {
	content: "";
	position: absolute;
	left: -100%;
	bottom: 0;
	width: 100%;
	height: 1.5px;
	background: var(--usa-blue);
	transition: all 0.3s ease-in;
	transition-delay: 0.2s;
}

#site-header .header-navigation-wrapper a:hover::after {
	transform: translateX(100%);
}

#site-header a,
#site-header a:visited {
	color: #0B3682;
	font-family: "montserrat", sans-serif;
	font-size: 0.8rem;
	font-weight: 900;
	font-style: italic;
}
/*#site-header a:hover {
	text-underline-offset: 5px;
	text-decoration-thickness: 3px;
}*/

#site-header.header-smaller a,
#site-header.header-smaller a:visited {
	font-size: 0.7rem;
}

.header-navigation-wrapper {
	max-width: 80%;
	min-width: 25%;
}

#site-header .custom-logo {
	position: relative;
	top: 3px;
	width: 38vw;
	height: auto;
	max-width: 200px;
	transition: all 0.3s ease;
	transition-delay: 0.3s;
	z-index: 105;
}

#site-header .front-page-banner-image {
	position: absolute;
	top: 5%;
	left: -45%;
	width: 190%;
	height: auto;
	z-index: 101;
	transition: all 0.3s ease;
	transition-delay: 0.3s;
}
#site-header .sizing-container {
	padding-left: 4em;
	transition: all 0.3s ease;
	transition-delay: 0s;
}

#site-header .custom-logo:hover {
	transform: scale(1.05);
}
#site-header.header-smaller .custom-logo:hover {
	transform: scale(0.8);
}
#site-header .custom-logo-link {
	display: inline-block;
	height: 0px;
}

#site-header .header-titles {
	position: relative;
}

.mobile-menu-hamburger {
	background: transparent;
	border: none;

}
.mobile-menu-hamburger span {
	display: block;
	width: 25px;
	height: 2px;
	background: #000;
	margin: 6px auto;
	transform-origin: center center;
}

/* Secondary Header Area */
.title-area .title {
	text-align: center;
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
}

.title-area .sub-title {
	text-align: center;
	font-weight: 100;
}

.blue-box .hours-text {
	text-align: center;
	margin-top: 0px;
	margin-bottom: 0px;
}


/* Mobile Menu */
.menu-modal {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	color: #fff;
	z-index: 80;
}

.menu-modal.open {
	display: block;
}

.menu-modal-inner {
	position: relative;
	height: 60vh;
	width: auto;
	top: 0vh;
	max-width: 100%;
	background-color: var(--usa-blue);
	z-index: 90;
	transition: height 0.3s ease;
}

.mobile-nav-menu
.mobile-menu-list-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-decoration: none;
	list-style: none;
	padding-top: 3em;
	padding-left: 0px;
	z-index: 120;
}
.mobile-nav-menu .mobile-menu-list-wrapper li:first-child:before {
	content: '';
	position: absolute; 
	height: 6rem;
	width: 100%;
	background-color: white;
	bottom: 100%;
	border-bottom: 1px solid black;
}

.mobile-menu-list-wrapper > li {
	background-color: #ffffff;
	color: black;
	border-bottom: 1px solid black;

	font-weight: 900;
	font-family: 'montserrat', sans-serif;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mobile-menu-list-wrapper li a {
	box-sizing: border-box;
	padding: 1rem;
	padding-right: 2rem;
	display: inline-block;
	width: 100%;
}

.mobile-menu-list-wrapper li:nth-child(1)  { z-index: 100; }
.mobile-menu-list-wrapper li:nth-child(2)  { z-index: 90; }
.mobile-menu-list-wrapper li:nth-child(3)  { z-index: 80; }
.mobile-menu-list-wrapper li:nth-child(4)  { z-index: 70; }
.mobile-menu-list-wrapper li:nth-child(5)  { z-index: 60; }
.mobile-menu-list-wrapper li:nth-child(6)  { z-index: 50; }
.mobile-menu-list-wrapper li:nth-child(7)  { z-index: 40; }
.mobile-menu-list-wrapper li:nth-child(8)  { z-index: 30; }
.mobile-menu-list-wrapper li:nth-child(9)  { z-index: 20; }
.mobile-menu-list-wrapper li:nth-child(10) { z-index: 10; }

.logged-in.admin-bar .mobile-menu-list-wrapper {
	padding-top: calc(3em + 32px);
}

.mobile-nav-menu {
  position: relative;
  top: 10vh;
}

@media (min-height: 700px) {
	.mobile-nav-menu {
	  top: 10vh;
	}
}

.menu-modal a {
	transition: all 0.3s ease;
}

.menu-modal .mobile-menu-list-wrapper li {
	text-align: right;
}

.menu-modal a,
.menu-modal a:visited {
	color: black;
	text-decoration: none;
}



/* Footer */

#site-footer {
	position: relative;
	background-color: #ffffff;
	z-index: 5;
}

.footer-inner {
	padding-top: 5em;
	padding-bottom: 3em;
	padding-left: var(--document-padding);
	padding-right: var(--document-padding);
}

.smaller-inner-footer {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	padding-left: 0px !important;
	padding-right: 0px !important;
}

.footer-columns {
	margin-bottom: 2em;
	display: flex;
	flex-direction: column;
}

#footer-logo-column{
	display: block;
	margin-bottom: 2em;
}

.footer_site_logo {
	max-width: 500px !important;
}
#site-footer .blog-info h3 {
	margin: 0px;
}

#site-footer .blog-info {
	text-align: left;
}

#footer-info-column {
	display: block;
}
.info-column-inner {
  display: block;
}

#footer-info-line {
	font-family: "Roboto";
	font-weight: 300;
	margin-bottom: 0px;
	margin-top: 0px;

}
#footer-info-email {
	margin-top: 6px;
	margin-bottom: 3px;
}
.footer-info-phone,
.footer-river-phone {
	margin-top: 0px;
	font-weight: 300;
	color: black !important;
	font-family: "Roboto", "Helvetica", sans-serif;
}
.footer-river-phone {
	margin-bottom: 0px;
}

.footer-nav {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	font-weight: 100;
	font-family: "Roboto", "Helvetica", sans-serif;
	margin-top: 20px;
}

.footer-nav {
	list-style-type: none;
}
.footer-nav li {
	margin-left: 0px;
	padding-left: 0px;
}


.footer-nav a {
	transition: all 0.3s ease;
	position: relative;
}

.footer-nav a,
.footer-nav a:visited {
	color: black;
	text-decoration: none;
}
.footer-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1.5px;
	background: black;
	transition: width 0.3s ease;
}
.footer-nav a:hover::after {
	width: 100%;
}

.footer-discount {
	width: 100%;
	position: relative;
	left: 0;
	right: 0;
}
.footer-discount-columns {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}

.footer-hours p {
	text-align: center;
	margin-bottom: 0px;
}

.blue-box {
	background-color: var(--usa-blue);
	color: white !important;
	padding: 2em 0em;
}
.blue-box.smaller-blue-box {
	padding: 1em 0em;
}
.color-styling {
	position: relative;
	border-bottom: 5px solid var(--usa-yellow);
	z-index: 5;
}
.color-styling:after {
	content: '';
	position: absolute;
	top: calc(100% + 5px);
	left: 0;
	right: 0;
	height: 5px;
	background-color: var(--usa-red);
}

.colored-heading {
	position: relative;
	margin-bottom: 1.5em;
}

.colored-heading:after,
.textured-text-section h2:after {
	content: '';
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	width: 250px;
	height: 4px;
	background-color: var(--usa-red);
	transform: translateX(-50%);
}
.colored-heading:before,
.textured-text-section h2:before {
	content: '';
	position: absolute;
	top: calc(100% + 26px);
	left: 50%;
	width: 200px;
	height: 4px;
	background-color: var(--usa-yellow);
	transform: translateX(-50%);
}

.textured-text-section h2.has-text-align-left {
	text-align: left !important;
}

.textured-text-section h2.has-text-align-left:before,
.textured-text-section h2.has-text-align-left:after {
	left: calc(0px + var(--document-padding));
	transform: translateX(0px);
}

.wp-block-columns.services-columns { 
  display: flex;
  gap: 0px;
}
.wp-block-columns.services-columns {
  flex-direction: column !important;
}
.wp-block-columns.services-columns > .wp-block-column {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

.footer-discount-intro-line {
	margin: 0px;
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
}

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



/* Cover Header */
.cover-header {
	position: relative;
	/*overflow: hidden;*/
	width: 100%;
	height: 70vh;
	z-index: 3;
}

.cover-header.front-cover-header {
	margin-top: 1.75rem;
	background-position: top;
  background-size: cover;
}

.cover-header.static-image {
	position: relative;
	overflow-y: visible;
	z-index: 1;
}

.cover-header .cover-header-inner {
	width: 100%;
	height: 100%;
	background-size: cover;

	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.cover-header .cover-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background-color: #000;
	opacity: 0.03;
	z-index: 2;
}

.cover-header .text-container {
	color: white;
	position: relative;
	text-align: center;
	z-index: 12;
}

.heading-inner-containers {
	position: relative;
	z-index: 12;
}

.cover-header .text-container::before {
  content: '';
  position: absolute;
  top: 52%;
  left: 50%;
  width: 100%;
  height: 30vh;
  background: radial-gradient(ellipse, black 0%, transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0.4;
  z-index: 3;
}

.textured-text-section h2,
.textured-text-section h3 {
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	position: relative;
	margin-bottom: 2em;
}

.lubeit-style {
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
}
.lubeit-shadow {
	text-shadow: 3px 3px 0px black;
}
.cover-header .text-container .subheading {
	font-weight: 100;
	line-height: 2rem;
}

.cover-header .text-container .heading {
	font-size: 1.8rem;
	padding-top: 1rem;
}

.cover-header .text-container .sub-tag-line {
	font-size: 1rem;
}

.roboto {
	font-size: 1rem;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
}

/* Cover Header Video */

.cover-header .front-page-icon {
	  max-width: 85px;
    max-height: 85px;
}

.cover-header .front-page-icon-container {
	margin-bottom: -3rem;
}

.video-cover-header .text-container {
	transform: translateY(-25%);
}

.video-cover-header .text-container::before {
  opacity: 0.5;
}

.cover-header .screen-height-container {
	position: relative;
	height: 100vh;
	width: 100vw;
}
.cover-header .screen-height-container .play-video-button {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 4;
	transition: all 0.3s ease;
}
.cover-header .play-video-button a {
	color: white;
	text-decoration: none;
}
.cover-header .play-video-button a:visited {
	color: white;
	text-decoration: none;
}
.cover-header .play-video-button:hover {
	transform: scale(1.07) translateX(-50%);
	transform-origin: left; //add this line
}



/* Blocks */

/* Block: Columns ---------------------------- */

.wp-block-column {
	margin-bottom: 3.2rem;
	min-width: 0;
}

.grey-area > .wp-block-columns {
	margin-top: 0em;
	margin-bottom: 0em;
}
.grey-area .grey-area-image-column {
	position: relative;
	overflow: hidden;
	align-items: stretch;
}
.grey-area .grey-area-image-column img {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
}

.content > .wp-block-columns {
	margin-top: 3em;
	margin-bottom: 3em;
}

.wp-block-image {
	margin-bottom: 0px !important;
}

.vertical-align-center {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.small-padding {
	padding: 1em;
}
.award-shadow {
	box-shadow: 5px 5px 10px #676767;
}
.max-height-medium img {
	max-height: 500px;
}

.grey-area .alignright {
	margin: 0em;
}
.grey-area .alignleft {
	margin: 0em;
}
.massive {
	font-size: 1.5rem;
}


/* 1) Let WP Columns' children actually shrink */
.wp-block-columns > .wp-block-column {
	min-width: 0; /* the key fix */
}

/* 2) Make the image wrapper and figure shrink with the column */
.wp-block-column .wp-block-image,
.wp-block-column .wp-block-image > figure,
.wp-block-image.aligncenter,        /* in case .wp-block-image is on <figure> */
figure.wp-block-image.aligncenter { /* core pattern */
	min-width: 0;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* 3) Make the image itself responsive (override width attr if needed) */
.wp-block-image img {
	display: block;
	width: 100%;     /* beats the width="900" attribute */
	max-width: 100%;
	height: auto;
}


@media ( min-width: 480px ) {

	#site-header .custom-logo {
		width: 35vw;
	}

	#site-header .sizing-container {
		padding-left: 5em;
	}

	.cover-header .text-container .subheading {
    font-size: 1.6rem;
		line-height: 2.2rem;
	}

	.cover-header .text-container .heading {
		font-size: 2rem;
		margin-bottom: 0.4em;
	}


	.cover-header .front-page-icon {
	  max-width: 100px;
    max-height: 100px;
	}

	/* Heading Sizes */
	h3 {
		font-size: 1.3rem;
	}
	h4 {
		font-size: 1.2rem;
	}
	h5 {
		font-size: 1.1rem;
	}

	.massive {
		font-size: 1.7rem;
	}

}


@media ( min-width: 600px ) {

	.mobile-menu-hamburger span {
		width: 35px;
	}
	#site-header .sizing-container {
		padding-left: 6em;
	}
	/* Heading Sizes */
	h3 {
		font-size: 1.4rem;
	}
	h4 {
		font-size: 1.3rem;
	}
	h5 {
		font-size: 1.2rem;
	}

	.massive {
		font-size: 2rem;
	}

	.wp-block-columns.services-columns {
    flex-direction: row !important;
    gap: 0px;
  }
  .wp-block-columns.services-columns > .wp-block-column {
    flex: 0 0 33% !important;
    max-width: 33% !important;
  }

}

/* Breakpoint from mobile to desktop */
@media ( min-width: 782px ) {

	.smaller-inner-footer {
		padding-left: inherit;
		padding-right: inherit;
	}

	.mobile-only {
		display: none;
	}
	.desktop-only {
		display: block;
	}

	.footer-discount-columns {
		flex-direction: row;
	}

	#site-header .sizing-container {
		padding-left: 7em;
	}

	.header-navigation-wrapper {
		max-width: 90%;
		font-size: 0.8rem;
	}
	.menu-modal.open {
		display: none;
	}

	/* Secondary Header Area */

	.title-area {
		padding: 3em;
	}

	.title-area .title {
		margin-bottom: 0.5em;
	}

	.title-area .sub-title {
		margin-top: 0.5em;
		font-size: 1.5rem;
	}

	/* Footer */

	.blue-box {
		padding: 3em 0em;
	}
	.blue-box.smaller-blue-box {
		padding: 2em 0em;
	}

	#site-footer .blog-info {
		text-align: center;
	}

	.footer-columns {
		margin-bottom: 4em;
		flex-direction: row;
	}
	.footer_site_logo {
		max-width: 600px !important;
	}

	.footer-discount-intro-line {
		font-size: 1.3rem;
	}

	#footer-logo-column{
		flex-direction: row;
		display: flex;
		justify-content: center;
		flex: 0 0 50%;
		margin-bottom: 0px;
	}
	#footer-logo-column > * {
		flex: 1;
		max-width: 600px;
		padding-left: 2em;
		padding-right: 2em;
	}
	#footer-info-column {
		flex-direction: column;
		display: flex;
		justify-content: center;
		flex: 1
	}
	.info-column-inner {
	  width: 75%;
	  margin: 0 auto;
	}

	.cover-header .text-container .heading {
		font-size: 2rem;
		margin-bottom: 0em;
	}

	.cover-header .text-container .sub-tag-line {
		font-size: 1.1rem;
	}

}
@media ( min-width: 950px) {

	#site-header .custom-logo {
		top: 16px;
		max-width: 220px;
	}

	#site-header .front-page-banner-image {
		top: 18%;
		left: -50%;
		width: 200%;
	}
	#site-header .sizing-container {
		padding-left: 8em;
	}

	.title-area .title {
		font-size: 2.3rem;
	}

	.title-area .sub-title {
		font-size: 1.8rem;
	}

	#site-header a,
	#site-header a:visited {
		font-size: 1rem;
	}
	#site-header.header-smaller a,
	#site-header.header-smaller a:visited {
		font-size: 0.9rem;
	}
	.reset-list-style {
		gap: 20px;
	}
	#site-footer .blog-info {
		font-size: 1.3rem;
	}

	/* Heading Sizes */
	h3 {
		font-size: 1.5rem;
	}
	h4 {
		font-size: 1.4rem;
	}
	h5 {
		font-size: 1.3rem;
	}
	.massive {
		font-size: 2.3rem;
	}

}


@media ( min-width: 1100px ) {

	.header-navigation-wrapper {
		max-width: 70%;
		font-size: 1rem;
	}

	.reset-list-style {
		gap: 30px;
	}

	#site-header .custom-logo {
		width: 20vw;
		max-width: 450px;
		height: auto;
	}

	#footer-logo-column{
		flex: 1;
	}

	.title-area .title {
		font-size: 2.8rem;
	}

	.title-area .sub-title {
		font-size: 1.8rem;
	}

	.footer-discount-intro-line {
		font-size: 1.5rem;
		margin-bottom: 0em !important;
	}

	.cover-header .text-container .subheading {
		    font-size: 2rem;
    		line-height: 2.2rem;
    		margin-top: 0.5em;
	}

	.cover-header .text-container .heading {
		font-size: 2.3rem;
	}

	.cover-header .front-page-icon {
	    max-width: 115px;
	    max-height: 115px;
	}

	#site-header a,
	#site-header a:visited {
		font-size: 1.05rem;
	}

	#site-header.header-smaller a,
	#site-header.header-smaller a:visited {
		font-size: 1rem;
	}


}


@media ( min-width: 1300px ) {

	.cover-header .text-container .subheading {
		    font-size: 2.3rem;
    		line-height: 2.5rem;
	}

	.cover-header .text-container .heading {
		font-size: 2.5rem;
	}

	.cover-header .front-page-icon {
	    max-width: 130px;
	    max-height: 130px;
	}
	#site-header .custom-logo {
		top: 16px;
		max-width: 300px;
		transition-delay: 0s;
	}

	#site-header .front-page-banner-image {
		top: 18%;
		left: -50%;
		width: 200%;
		transition-delay: 0s;
	}

	#site-header .sizing-container {
		padding-left: var(--document-padding);
	}
}

@media ( min-width: 1400px ) {
	#site-header .custom-logo {
		top: 16px;
		max-width: 350px;
	}
}

@media ( min-width: 1600px ) {
		.massive {
			font-size: 2.6rem;
		}
}

