/**
Theme Name: Harbor Hemp Company
Author: James Revillini / Vandertech
Author URI: https://www.vandertech.com
Description: Custom theme developed for Harbor Hemp Company by James Revillini / Vandertech. Email support@vandertech.com.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: harbor-hemp-company
Template: astra
*/

p:empty {
	display: none;
}




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

.hhemp h1,
.hhemp .entry-content h1 {
	color: #d1242e;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 10px !important;
}

.hhemp h2,
.hhemp .entry-content h2,
.product h2 {
	color: #193160;
	font-weight: 900;
	font-size: 33px;
}

.hhemp.single-post .entry-content h2 {
	font-size: 28px;
	font-weight: 600;
}

.hhemp h3,
.hhemp .entry-content h3 {
	color: #2978b7;
	font-weight: 700;
	margin-bottom: 11px;
	line-height: 1.1;
}

.margin-bottom-0 p:last-child {
	margin-bottom: 0;
}


/* reduce margin below element contaning h2, h3 */

.elementor-widget.elementor-widget-heading {
	margin-bottom: 10px;
}

.main-header-bar-navigation {
	text-transform: uppercase;
}


/* ---------------------------- ELEMENTOR BUTTONS */

.hhemp .elementor-button {
	background-color: #d1242e;
	color: white;
	font-size: 18px !important;
}


/* ---------------------------- MENU TWEAKS */

@media screen and (min-device-width: 769px) {
	
	/* hide mobile-only links on stuff bigger than ipad */
	.hhemp .main-header-menu .menu-item.mobile-only {
		display:none;
	}
}

/* role-based menu tweaks */

.hhemp.role-wholesale .menu-item.consumer,
.hhemp.role-sales .menu-item.consumer {
	display: none;
}

.hhemp:not(.role-wholesale):not(.role-sales) .menu-item.wholesale {
	display: none;
}

/* --------------------------- HEADSTER */
/* account for transparent header pages */
.hhemp.ast-theme-transparent-header .hhemp-custom-header {
	position: absolute;
    z-index: 1000;
    width: 100vw;
}

/* --------------------------- FOOTSTER */
footer h3 {
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 1rem;
	text-transform: uppercase;
	font-weight: 500;
}

footer form {
	margin-right: 2em;
}

form .mc4wp-form-fields label {
	display: none;
}

footer .mc4wp-form-fields {
	display: flex;
}

footer .mc4wp-form-fields input[type=email] {
	flex-grow: 1;
}

.menu-footer-container {
	text-align: center;
}

#menu-footer {
	display: inline-block;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: .8em;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#menu-footer li {
	border-right: 1px solid #ccc;
	display: inline-block;
	padding: 0 1em;
}

#menu-footer li:last-of-type {
	border-right: none;
}

#menu-footer a {
	color: white;
}






/* --------------------------------- ALTERNATE BG COLOR */

/* the darkblue thing is an old name but the purpose here is to turn everything to white text in this container */
/* note: it may or may not be only on the home page */
.alt-bg-darkblue {
	background: #193160;
}

.alt-bg-darkblue p,
.alt-bg-darkblue h1,
.alt-bg-darkblue h2,
.alt-bg-darkblue h3,
.entry-content .alt-bg-darkblue h1,
.entry-content .alt-bg-darkblue h2,
.entry-content .alt-bg-darkblue h3 {
	color: #fff;
}


/* -------------------------------- MOBILE CSS */



/* bg color mobile menu */

.ast-header-break-point .main-header-menu {
	background-color: #193160;
}



/* ------------------------------- PRODUCTS */

.hh-product-description p:last-child,
.hhemp-add-button p,
.hhemp-price p,
.hhemp-subscribe-button p {
	margin-bottom: 0;
}

.hhemp-add-button .button.add_to_cart_button,
.hhemp-subscribe-button .button.add_to_cart_button {
	border-width: 3px !important;
	border-style: solid;
	border-radius: 7px;
	border-color: #d1242e;
}

.hhemp-subscribe-note span {
	font-size: 14px;
	color: #7a7a7a;
}

.hhemp-subscribe-button .button.product_type_subscription {
	color: #d1242e;
	border-color: #d1242e;
	background-color: #ffffff;
}

.hhemp-subscribe-button .button.product_type_subscription:before {
	font-family: 'FontAwesome';
	content: '\f021';
	color: #999;
	position: absolute;
	left: .65em;
}



/* -------------------------------- WOO SIDEBAR */

.woocommerce .sidebar-main .widget .star-rating {
	display: none;
}
