/**
 * Theme Name:       Activar CPG
 * Theme URI:        https://www.activarcpg.com
 * Description:      Custom theme created for Activar Construction Product Group Inc. utilizing Mai Theme Engine for the Genesis Framework.
 * Author:           Flying Orange
 * Author URI:       https://www.flyingorangewebdesign.com/
 * Version:          1.0
 * Text Domain:      activarcpg
 * Template:         genesis
 * Template Version: 3.4
 * License:          GPL-2.0-or-later
 * License URI:      http://www.gnu.org/licenses/gpl-2.0.html
 */



/* Table of Contents

	- Defaults
	- Theme Customizations
	- WooCommerce Customizations
	- WPDataTables Customizations
	- USA Map Customizations
	- Media Queries

*/

/* # Defaults
---------------------------------------------------------------------------------------------------- */

:root {
	--h1-font-size: var(--font-size-xxxxl);
	--h2-font-size: var(--font-size-xxl);
	--sub-menu-background: var(--color-alt);
	--sub-menu-link-color-hover: var(--color-primary);
	--color-border: var(--color-custom-1);
	--sub-menu-width: 300px;
}

.nav-before-header-menu {
	--menu-font-size: var(--font-size-sm);
	--menu-text-transform: uppercase;
}

.nav-header {
	--menu-text-transform: uppercase;
	--menu-font-weight: var(--heading-font-weight);
	--menu-item-link-color: var(--color-heading);
    --menu-item-link-color-hover: var(--color-secondary);
}

.nav-header .menu-item-link-current {
	color: var(--color-primary);
}

.sub-menu .menu-item-link {
	font-size: var(--font-size-sm);
	--menu-item-link-color: var(--color-heading);
	text-transform: none;
	padding: var(--spacing-xs) var(--spacing-md);
}

.entry-title-single {
	--entry-title-font-size: var(--font-size-xxl);
}



.button {
	border-radius: 30px !important;
	text-transform: uppercase;
	font-weight: 700;
}

.foo-table .nt_btn.nt_rounded_btn {
	border-radius: 30px !important;
	font-weight: 500;
	text-transform: uppercase;
}

h1.page-header-title {
	font-size: var(--font-size-xl);
}

.has-image-left-middle {
	--entry-image-link-margin-right: 0;
	--entry-image-link-margin-left: var(--column-gap);
}

.site-container {
	z-index: 9999;
}

.site-footer a {
	text-decoration: none;
}

.wp-block-image a:hover {
	opacity: 0.8;
}

/* # Theme Customizations
---------------------------------------------------------------------------------------------------- */

.home .content-sidebar-wrap {
	margin-top: 0;
}

.home .has-md-max-width, .home .has-sm-max-width {
	margin-left: 0;
}

.colr {
	background-image: linear-gradient(to right, white, #f2f2f2);
}

.coll {
	background-image: linear-gradient(to right, #f2f2f2, white);
}

.JLpage .page-header {
	background: var(--color-primary);
	color: var(--color-white);
}

.JLpage h1.page-header-title {
	color: var(--color-white);	
}

.MMpage .page-header {
	background: var(--color-custom-3);
	color: var(--color-white);
}

.MMpage h1.page-header-title, .DRpage h1.page-header-title {
	color: var(--color-white);	
}

.DRpage .page-header {
	background: var(--color-secondary);
}

.ALpage .page-header {
	background: var(--color-custom-2);
	color: var(--color-white);
}

.ALpage h1.page-header-title {
	color: var(--color-white);	
}

.single-post {
	--content-sidebar-wrap-margin-bottom: 0;
}

.single-post .after-entry {
    margin: var(--spacing-xxl) 0 0;
}

[type=search] {
	padding: var(--spacing-xs) var(--spacing-sm);
}

/* # WooCommerce Customizations
---------------------------------------------------------------------------------------------------- */

.summary {
	justify-content: flex-start;
}

h1.product_title {
	font-size: var(--font-size-lg);
}

p.price {
	color: var(--color-link);
	font-size: var(--font-size-md);
}

.product-category a {
	color: var(--color-body);
}

.product-category a:hover {
	text-decoration: none;
	color: var(--color-primary);
}

.product-category img {
	margin-bottom: var(--spacing-md);
}

.wc-tabs {
	margin: var(--spacing-lg) 0 0;
}

.wc-tabs li:not(.active) a {
	border-top-color: #b8babc;
	border-right-color: #b8babc;
	border-left-color: #b8babc;	
	background-color: #fff;
	font-size: var(--font-size-sm);
}

.wc-tabs li.active a, .wc-tabs li.active a:focus {
	background-color: var(--color-alt);
	border-bottom-color: #b8babc;
	font-size: var(--font-size-sm);
}

.wc-tab {
	border-bottom-color: #b8babc;
	border-right-color: #b8babc;
	border-left-color: #b8babc;	
}

.woocommerce-Tabs-panel {
	padding: var(--spacing-lg);
	border-bottom: var(--border);
	border-left: var(--border);
	border-right: var(--border);
	border-bottom-color: #b8babc;
	border-right-color: #b8babc;
	border-left-color: #b8babc;	
}

.wc-tab h2, .related h2 {
	font-size: var(--font-size-xl);
}

h2.woocommerce-loop-product__title {
	font-size: var(--font-size-md);
	margin-bottom: var(--spacing-sm);
}

.variations label {
	font-size: var(--font-size-sm);
}

.added_to_cart {
	border-radius: 30px !important;
	text-transform: uppercase;
	font-weight: 700;
	font-size: var(--font-size-base);
	--button-padding: var(--button-padding);
}

.single-product span.tagged_as {
    display: none !important;
}

.orderby option[value="price"],
.orderby option[value="price-desc"]
{
   display: none;
}

.wpfFilterWrapper i {
	display: none !important;
}

/* # WPDataTables Customizations
---------------------------------------------------------------------------------------------------- */

.wpDataTablesWrapper table.wpDataTable td {
	padding: var(--spacing-sm) var(--spacing-md) !important;
}

.wpdt-c .button {
	color: var(--color-white) !important;
}

.wpdt-c .button-small {
	color: var(--color-white) !important;
	font-size: var(--font-size-sm) !important;
	--button-padding: var(--spacing-xs) var(--spacing-md);
	border-radius: 30px !important;
}

.wpDataTablesWrapper .dataTables_filter {
	background: var(--color-alt);
}

.wpDataTablesWrapper .dataTables_filter > label {
	padding: var(--spacing-sm);
}

/* # USA Map Customizations
---------------------------------------------------------------------------------------------------- */

.usaHtml5MapContainer {
	max-width: 75% !important;
	margin-left: auto;
	margin-right: auto;
}

/* # Media Queries
---------------------------------------------------------------------------------------------------- */

@media (max-width: 767px) {

	.before-header {
		display: none;
	
}
	
}



/* User Portal*/
main {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 64em;
  width: 100%;
}
.userportal {
  border-collapse: collapse;
  border-spacing: 0;
  max-width: 100%;
  width: 100%;
  font-size: 15px;
  margin-bottom: 5px;
}
.userportal tr td a {
    color: #2079d2;
    text-decoration: none;
}

/*** HEADER ***/
.userportal thead {
  border-bottom: 2px solid #e5e5e5;
}
.userportal th,
.userportal td {
  padding: 10px 12px;
  position: relative;
}
.userportal th {
  letter-spacing: 0.025em;
  outline: none;
  padding-right: 2em;
  text-align: left;
  transition: color 0.2s ease-in-out;
  background: #000;
}
.userportal th:hover,
.userportal th:focus {
  color: #83e4e2;
}

/* Arrows */
.userportal th:after,
.userportal th:before {
  border: 0.35em solid transparent;
  content: '';
  height: 0; 
  position: absolute;
  right: 0.65em;
  top: 50%;
  transform: translateY(-50%);
  transition: border-color 0.2s ease-in-out;
  width: 0; 
}
.userportal th:before {
  border-bottom-color: rgba(255, 255, 255, 0.25);
  border-top: 0;
  margin-top: -0.35em;
}
.userportal th:after {
  border-bottom: 0;
  border-top-color: rgba(255, 255, 255, 0.25);
  margin-top: 0.35em;
}
.userportal th:hover:before,
.userportal th:focus:before {
  border-bottom-color: rgba(255, 255, 255, 0.75);
}
.userportal th:hover:after,
.userportal th:focus:after {
  border-top-color: rgba(255, 255, 255, 0.75);
}

.userportal th[aria-sort="ascending"],
.userportal th[aria-sort="descending"] {
  color: #fddc32;
}

.userportal th[aria-sort="ascending"]:before {
  border-bottom-color: #a2ed56;
}

.userportal th[aria-sort="ascending"]:after {
  border-top-color: rgba(255, 255, 255, 0.25);
}

.userportal th[aria-sort="descending"]:before {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.userportal th[aria-sort="descending"]:after {
  border-top-color: #fd6470;
}

.userportal tr:nth-child(even) {
  background-color: #fcfcfc;
}
.userportal td[data-label="Name"] {
  /*font-weight: 700;*/
  letter-spacing: 0.05em;
}

/* Animal Cells */
.userportal td[data-label="Chickens"],
.userportal td[data-label="Pigs"],
.userportal td[data-label="Snakes"] {
  text-align: center;
}

.userportal  .tablesorter-headerRow {
    background: #000;
    color: #fff;
}

.orderdata.container {
  position: relative;
  /*max-width: 700px;*/
  width: 100%;
  background: #ebebeb0f;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.orderdata.container header {
  font-size: 1.5rem;
  color: #333;
  font-weight: 500;
  text-align: center;
}
.orderdata.container .form {
    margin-top: 0px;
    display: inline-block;
    width: 100%;
}
.orderdata .form .input-box {
  width: 100%;
  margin-top: 20px;
}
.orderdata .input-box label {
  color: #333;
}

.orderdata .form .column {
    width: 33%;
    float: left;
}

.orderdata .input-box label {
    font-weight: bold;
    margin-bottom: 0px !important;
    display: block;
}

.orderdata .form .input-box span {
    font-size: 16px;
    line-height: 22px;
    display: inherit;
}
.userportal tr td {
    border-right: 1px solid #ccc!important;
}


/*Responsive*/

@media (max-width: 1192px) {
	.search {
	    width: 37%;
	    float: right;
	}
}
@media (max-width: 1156px) {
.search {
    width: 500px;
    float: left;
}
}
@media (max-width: 767px) {
	.orderdata .form .column {
	    width: 50%;
	    float: left;
	}

}
@media (max-width: 600px) {

  /*** TABLE ***/
  .userportal tr,
  .userportal td {
    display: block;
  }

  .userportal tr {
    padding: 0;
  }

  /* Header */
  .userportal thead tr {
    text-align: center;
  }

  .userportal th {
    display: block;
    padding: 0.6em 0.5em;
  }

  /* Body */
  .userportal td {
    padding: 0.25em 0.5em 0.25em 6.5em;
  }

  .userportal td:before {
    content: attr(data-label);
    left: 0.5em;
    position: absolute;
    top: 0.125em;
    width: 100%;
  }

  /* Animal Cells */
  .userportal td[data-label="Chickens"],
  .userportal td[data-label="Pigs"],
  .userportal td[data-label="Snakes"] {
    text-align: left;
  }

  /* Check and Cross Marks */
  .userportal span.yes {
    line-height: 0.875;
  }
  .orderdata .form .column {
	    width: 100%; 
  }
  .userportal th, .userportal td {
      position: relative; 
      border-right: 0px;
  }
  .userportal td:first-of-type, .userportal th:first-of-type {
     border-left: 0px;
  }
  .userportal tr td {
      border-right: 0px solid #ccc!important;
      padding: 0.25em 0.5em 0.25em 10em;
  }
  .userportal tr, .userportal td {
    display: block;
    border-bottom: 0px;
  }
  .userportal tr:nth-child(even) {
    background-color: #e9e9e9;
}

}

/* Search page fix */
body.search {
	width: 100% !important;
}

@media (max-width: 550px) {
	.search {
		width: 100%; 
	}
}
@media screen and (max-width: 500px) {
  .orderdata .form .column {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 420px) {
	.search input[type="text"] {
	    width: 60%;
	    float: left; 
	    height: 30px; margin-top: 0px;
	}
	.search input[type="submit"] {
	    background: #000;
	    float: left;    margin-top: 0px;
	}
	.search {
	    margin-bottom: 10px;
	}
}


li#wppb-form-element-1,li#wppb-form-element-7,li#wppb-form-element-10 {
    display: none;
}

form#wppb-edit-user ul {
    clear: both;
    max-width: 100%;
}
form#wppb-edit-user .wppb-form-field {
    width: 50%;
    float: left;
    min-height: 60px;
}

.wppb-form-field label, #wppb-login-wrap .login-username label, #wppb-login-wrap .login-password label, #wppb-login-wrap .login-auth label {
    width: 50%;
    float: none !important;
    min-height: 1px;
}
.wppb-form-field input[type="text"], .wppb-form-field input[type="number"], .wppb-form-field input[type="email"], .wppb-form-field input[type="url"], .wppb-form-field input[type="password"], .wppb-form-field input[type="search"], .wppb-form-field select, .wppb-form-field textarea, .wppb-checkboxes, .wppb-radios, #wppb-login-wrap .login-username input, #wppb-login-wrap .login-password input, #wppb-login-wrap .login-auth input {
    width: 100%;
    float: none !important;
}
li#wppb-form-element-11 {
    display: none;
}
#wppb-login-wrap p, #select_user_to_edit_form p {
    float: none !important;
}
li#wppb-form-element-8 {
    clear: both;
}

form#wppb-edit-user .text-input  {
    height: 45px;
    width: 95%;
    border-radius: 10px;
    padding-left: 15px;
}

select.default_field_display-name {
    height: 45px;
    width: 95%  !important;
    border-radius: 10px;
}

form#wppb-loginform .input#user_login, form#wppb-loginform input#user_pass, form#wppb-recover-password input#username_email {
    height: 45px;
    border-radius: 10px;
    padding-left: 15px;
    width: 100%  !important;
}

form#wppb-loginform, form#wppb-recover-password {
    background: #cccccc24;
    width: 60%;
    padding: 20px 30px;
    border-radius: 10px;
}

form#wppb-recover-password .wppb-form-field > span {
    margin-left: 0% !important;
}

form#wppb-recover-password #pass-strength-result {
    margin: 9px 5px 5px 0%  !important;
    padding: 3px 5px  !important;
    height: 33px  !important;
}
a.login-lost-password:focus {
    border: 0px !important;
    outline: none;
}