/*
Theme Name: Action Materials Theme
Theme URI: https://vexingmedia.com
Version: 1.0
Description: Website theme designed by Vexing Media for Action Materials
Author: Vexing Media
Author URI: https://vexingmedia.com
template: bb-theme
*/

/*** Header ***/

header {
	position: relative;
}

#header-logo {
	position: absolute;
	height: 194px;
	width: 337px;
	z-index: 1000;
}

@media screen and (min-width: 769px) and (max-width: 992px) {
	#header-logo {
		max-width: 40%;
		top: -5px;
	}
	
	#header-phone {
		display: none;
	}
}

@media screen and (max-width: 768px) {
	#header-logo {
		position: initial;
		max-width: 70%;
		margin: 0 auto;
		height: 160px;
	}
	
	#header-phone .fl-module-content {
		margin-top: 0;
	}
}

/* Highlight Active/Hover Menu Items */
#menu-main-menu .sub-menu li a {
	border-bottom: 2px solid #f47521;
}

#menu-main-menu li a:hover::after,
#menu-main-menu li.current-menu-item > a::after,
#menu-main-menu li.current_page_ancestor > div > a::after {
	content: "";
	width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 12px solid #fff;
	position: absolute;
	bottom: 10px;
	left: 50%;
  transform: translatex(-50%);
}

#menu-main-menu .sub-menu li a:hover::after,
#menu-main-menu .sub-menu li.current-menu-item > a::after {
	content: none;
}

#menu-main-menu .sub-menu li a:hover::before,
#menu-main-menu li:not(.page-item-39) .sub-menu li.current-menu-item > a::before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: 40%;
	width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #fff;
}

@media screen and (max-width: 768px) {
	#menu-main-menu .sub-menu {
		padding-left: 0;
	}
	
	#menu-main-menu .sub-menu li a {
		border-bottom: 0;
	}
	
	#menu-main-menu li a:hover::after,
	#menu-main-menu li.current-menu-item > a::after,
	#menu-main-menu li.current_page_ancestor > div > a::after {
		border-left: 10px solid #fff;
		border-top: 10px solid transparent;
		border-bottom: 10px solid transparent;
		position: absolute;
		left: 25%;
		top: 15%;
		transform: none;
	}
}

/* Button Icon Rotation */
header i.fl-button-icon.fa-calculator {
	transform: rotate(-10deg);
}

/* Calculator Modal */
body:not(.fl-builder-edit) #calculator-modal {
	display: none !important;
}

/* Header Buttons */
.header-button-group .fl-col-content {
	display: flex;
	align-items: center;
  flex-direction: row;
	justify-content: flex-end !important;
}

@media screen and (max-width: 768px) {
	.header-button-group .fl-col-content {
		align-items: center;
		flex-direction: column;
	}
}

/*** Footer ***/
#footer-social-icons i {
	border-radius: 0;
}

/*** Home Page ***/

.home-masthead-text .fl-col-content > .fl-module {
	max-width: 1100px;
	margin: 0 auto;
}

.home-ps-left,
.home-ps-right {
	border: 20px solid rgba(235,113,32,0);
	margin-bottom: 20px;
	background: rgba(235,113,32,0.8);
}

.home-ps-left {
	border-right-width: 10px;
}

.home-ps-right {
	border-left-width: 10px;
}

.home-ps-left ul {
	list-style-type: none;
	display: flex;
	padding: 0;
}

.home-ps-left ul li {
	margin: 0 auto;
}

/* CTA Calculate */
.cta-calculate h2 {
	position: relative;
	left: 60%;
	line-height: 1.1em;
	height: 101px;
	width: 200px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.cta-calculate h2::before {
	content: "\f1ec";
	font-family: "Font Awesome 5 Free";
	height: 101px;
	width: 84px;
	display: block;
	position: absolute;
	top: 30px;
	left: -75px;
	font-weight: 900;
	font-size: 2.5em;
	transform: rotate(-10deg);
}

.cta-calculate .fl-module-heading .fl-module-content,
.cta-calculate .fl-module-rich-text .fl-module-content {
	margin-bottom: 0 !important;
}

.cta-calculate .fl-module-rich-text .fl-module-content {
	margin-top: 5px !important;
}

.cta-calculate p {
	margin: 0 30px 0;
}

@media screen and (max-width: 992px) {
	.cta-calculate h2 {
		position: initial;
		left: 0;
		height: auto;
		width: auto;
		margin: 0 auto !important;
		display: block !important;
	}
	
	.cta-calculate h2::before {
		content: '';
	}
	
	.cta-calculate h2 span {
		max-width: 70%;
		display: block;
		margin: 0 auto;
	}
	
	.cta-calculate p {
		margin-top: 10px;
	}
}

/*** Interior Pages ***/

/* Products */
#product-archive-list .fl-post-feed-post {
	border-bottom: 0;
}

.products-category-list ul {
	list-style-type: disc;
}

.products-category-list li.fl-post-feed-post {
	list-style: inherit;
	overflow: visible;
	margin-bottom: 0;
	border-bottom: 0;
}

.products-category-col .fl-module-button {
	height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.product-listing .fl-post-feed {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.product-listing article {
	width: 49%;
	border-bottom: 0;
	padding: 20px !important;
	background: #f47521;
}

@media screen and (max-width: 768px) {
	.product-listing article,
	.product-listing article.fl-post-feed-image-beside {
		width: 100%;
		max-width: 100%;
	}
}

#fl-main-content .product-listing article.fl-post-feed-post:last-child {
	margin-bottom: 40px !important;
}

.product-listing article h2 {
	color: #fff;
	margin: 10px 0 0;
}

.product-listing article a {
	color: #fff;
}

.product-description {
	margin: 20px 0;
}

.product-price {
	font-weight: bold;
}

.product-locations {
	margin: 10px 0;
}

/* Locations */
#fl-main-content .location-product-list .fl-module-content {
	margin: 0;
}

#fl-main-content .location-product-list li {
	margin-bottom: 3px;
	border-bottom: 0;
}

#fl-main-content .fl-post-grid-empty {
	padding-left: 40px;
}

/* Trucks */
/* Carousels */

.carousel-indicators {
	position: inherit;
}

.carousel-indicators button {
	background: none;
  border: 0;
  margin: 0;
  padding: 10px 5px;
}

.carousel-indicators button img {
	height: 100%;
}

.carousel-caption {
	padding-top: 0;
	padding-bottom: 10px;
	bottom: 0px;
	text-shadow: rgb(0, 0, 0) 0px 0px 10px;
}

.visually-hidden {
	display: none;
}

.carousel-control-prev,
.carousel-control-next {
	background-color: rgba(0,0,0,0.6);
	border: 0;
	border-radius: 0;
	width: auto;
	top: 40%;
	bottom: inherit;
	padding: 15px 10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
	background-color: rgba(0,0,0,0.8);
	border: 0;
}

@media screen and (max-width: 992px) {
	.carousel-indicators {
		display: none;
	}
}

/*** Sidebar ***/

#sidebar .cta-calculate .fl-module-content {
	margin: 20px 0;
}

#sidebar-search .fl-col-content {
	display: table;
}

#sidebar-search .fl-module-photo {
	float: left;
	width: 25%;
	vertical-align: middle;
}

#sidebar-search .fl-module-heading {
	float: left;
	width: 75%;
}

#sidebar-search h2 {
	font-size: 2em;
	line-height: 1em;
}

#sidebar-search .fl-module-search {
	clear: both;
}

#sidebar-search .fl-search-form-fields {
	flex-direction: column;
}

#sidebar-search .fl-search-form-input-wrap {
	margin-bottom: 10px;
}

#sidebar-search .fl-form-field {
	padding-right: 0;
}

@media screen and (max-width: 992px) {
	#sidebar-search .fl-module-heading {
		float: none;
		width: 100%;
	}
	
	#sidebar-search .fl-module-heading .fl-module-content {
		margin: 20px;
	}
}

/*** MISC ***/

/* Full height for BG image */
html {
	min-height: 100vh;
}

/* BG Image */
body {
	background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url(https://actionmaterials.vexing.me/wp-content/uploads/2022/08/river-rock.jpg) !important;
}

/* Remove Bottom Margin From Last P in BB Text Module */
.fl-rich-text p:last-child {
   margin-bottom: 0;
}

/* Underline Body Links */
#fl-main-content a,
footer a {
	text-decoration: underline;
}

#fl-main-content h1 a,
#fl-main-content h2 a,
#fl-main-content h3 a,
#fl-main-content h4 a,
#fl-main-content h5 a,
#fl-main-content h6 a,
#fl-main-content a.fl-button,
#fl-main-content .wp-block-button a,
footer h1 a,
footer h2 a,
footer h3 a,
footer h4 a,
footer h5 a,
footer h6 a,
footer a.fl-button {
	text-decoration: none;
}

/* UL Bullet Color/Style */
body.has-blocks .fl-post-content ul:not(.blocks-gallery-grid) li::before,
body.has-blocks .fl-post-content ol li::before {
	content: "●";
	color: #f47521;
	display: inline-block;
	width: 1.2rem;
	margin-left: -1rem;
	font-size: 1rem;
}

/* Default Button BG */
.fl-page .no-bg a.fl-button {
	background: rgba(244, 117, 33, 0);
}

.fl-page .no-bg a.fl-button:hover {
	background: rgba(244, 117, 33);
}

/* BB Button Alternate Styles */
.fl-page .btn-trans_black a.fl-button {
	color: #000;
	border-color: #000;
	background: rgba(0,0,0,0);
}

.fl-page .btn-trans_black a.fl-button span {
	color: #000;
}

.fl-page .btn-trans_black a.fl-button:hover {
	color: #fff;
	background: #000;
}

.fl-page .btn-trans_black a.fl-button:hover span {
	color: #fff;
}

.fl-page .btn-black a.fl-button {
	color: #fff;
	border-color: #000;
	background: #000;
}

.fl-page .btn-black a.fl-button span {
	color: #fff;
}

.fl-page .btn-black a.fl-button:hover {
	color: #000;
	background: #fff;
	border-color: #000;
}

.fl-page .btn-black a.fl-button:hover span {
	color: #000;
}

/* Volume Calculator */
#calc_container {
	max-width:100%;
	font-size:11pt;
}

#calc_container .calc-row {
	display: flex;
}

#calc_container .calc-col {
	width: 50%;
	flex: 1 1 auto;
	align-self: center;
	text-align: right;
	margin: 5px;
}

#calc_container .calc-col-inner {
	display: inline-block;
}

#calc_container .calc-col-inner:nth-child(odd) {
	text-align: right;
	width: 55%;
}

#calc_container .calc-col-inner:nth-child(even) {
	text-align: left;
	width: 40%;
}

#calc_container .calc-col input {
	width: 75px;
}

#calc_container .calc-col input[type=button],
#calc_container input.calc-total {
	width: 100px;
}

#calc_container .calc-col-button {
	text-align: center;
	width: 40%;
}

#calc_container .calc-col-total {
	width: 55%;
}

#calc_container hr {
	border: none;
	height: 1px;
	background: #fa4616;
	color: #fa4616;
}

.formtbl input,
.formtbl select {
	color:black;
}

@media screen and (max-width: 768px) {
	#calc_container .calc-row {
		flex-direction: column;
	}
	
	#calc_container .calc-col {
		width: 100%;
	}
}

/* NF Dropdown Border */
.nf-form-content .list-select-wrap>div select {
	border: 1px solid #eee !important;
}

/* Reviews */
.review-item {
	border-bottom: 0;
}

.review-rating {
	text-align: center;
}

.review-rating i::before {
	font-size: 2em;
}

.review-rating i.fas::before {
	color: #f47521;
}

.review-rating i.far::before {
	color: #333;
}

.review-body {
	font-size: 1.5em;
  font-weight: 300;
	font-style: italic;
}

.review-body p {
	margin: 20px 0 0;
}

.review-author {
	text-align: right;
	font-family: "Akshar",sans-serif;
  font-weight: 500;
	font-size: 1.5em;
}





/*
@media screen and (min-width: 993px) {}

@media screen and (min-width: 769px) and (max-width: 992px) {}

@media screen and (max-width: 768px) {}
*/