/*

Theme Name: PMD Stores 
Theme URI: https://pmdgrp.com
Author: Red Pup Media
Author URI: https://redpupmedia.com
Description: Custom theme for PMD Group based on Pro
Version: 4.3.3.3
Template: pro

*/

/*======================/
GENERAL
=======================*/
.x-container {
  display: none;
}

body.logged-in .x-container,
body.woocommerce-lost-password .x-container,
body.pmdgrphome .x-container {
  display: block;
}

body.woocommerce-lost-password .x-sidebar.left {
  display: none;
}

.hidden_if_logged_out {
  position: absolute;
  margin-left: -4000px !important;
}

body:not(.logged-in) .hidden_if_logged_in div {
  display: block !important;
}

body.logged-in .hidden_if_logged_out {
  position: relative;
  margin-left: auto !important;
}

body.logged-in .hidden_if_logged_in {
  display: none;
}

#pmggrp_stores_loginform .login-remember {
  display: none;
}

#pmd_welcome_section {
  display: none;
}

.home #pmd_welcome_section,
.post-type-archive-product #pmd_welcome_section {
  display: flex;
  width: 100%;
}

.home #pmd_welcome_section div,
.post-type-archive-product #pmd_welcome_section div {
  flex: 0 0 100%;
}

.x-container.max.width.offset {
  margin-top: 75px;
}

#pmdgrp_welcome_login_signup {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#pmdgrp_welcome_login_signup h5 {
  color: #e64320;
  text-align: center;
  width: 100%;
}

#pmdgrp_welcome_login_signup>div {
  display: flex;
  flex-direction: column;
}

.widget.woocommerce.widget_recently_viewed_products,
.x-crumbs {
  display: none;
}

body.logged-in .widget.woocommerce.widget_recently_viewed_products,
body.logged-in .x-crumbs {
  display: block;
}

.x-pagination a.page-numbers {
  color: #333;
}

.x-nav-tabs>li:not(.active)>a {
  color: #333;
  font-style: italic;
}

/*======================/
SIDEBAR
=======================*/
.x-main .h-widget,
.x-sidebar .h-widget {
  border-top: none;
  border-left: none;
  border-right: none;
  text-align: left;
  padding: 0;
  margin-bottom: 0px;
}

body.logged-in .widget.woocommerce.widget_recently_viewed_products .h-widget {
  max-width: 1400px;
  margin: 20px auto;
}

/*======================/
PRODUCTS IN CATALOGUE
=======================*/
.woocommerce ul.products {
  display: flex;
  flex-wrap: wrap;
}

.woocommerce ul.products li.product .entry-product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

li.product .entry-featured {
  border: none;
  padding: 0px;
  display: flex;
  align-items: flex-end;
  height: 100%;
}

li.product {
  border: 2px solid #f5f5f5;
  flex: 1 0 20%;
  -webkit-flex: auto;
}

@media (min-width: 767px) {
  li.product {
    max-width: 22%;
  }
}

.woocommerce li.product .entry-featured a {
  display: block;
  flex: 1 1 1px;
  -webkit-flex: auto;
}

.woocommerce li.product .entry-featured a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
  flex: 0;
}

.woocommerce li.product .entry-wrap {
  background-color: #f5f5f5;
  padding: 15px 5px 5px;
  min-height: 35%;
}

body.woocommerce li.product .entry-header h3 {
  font-size: 15px;
}

body #woocommerce_recently_viewed_products-2 ul.product_list_widget li a img.wp-post-image {
  width: auto;
}

body #woocommerce_recently_viewed_products-2 ul.product_list_widget li a span {
  width: 100%;
}

/*======================/
PRODUCT SINGLE
=======================*/
.product .product_meta {
  display: none;
}

body.woocommerce-cart .x-sidebar.right,
body.woocommerce-checkout .x-sidebar.right,
body.woocommerce-account .x-sidebar.right,
body.search .x-sidebar.right {
  display: none;
}

body.woocommerce .related {
  margin-bottom: 0px;
}

/*======================/
CHECKOUT
=======================*/
.woocommerce .cart.shop_table .product-thumbnail a img {
  width: 125px;
}

.woocommerce .cart.shop_table .product-remove a.remove {
  font-size: 2em;
  background: #dedede;
  border-radius: 100px;
  padding: 0px 11px;
}

.woocommerce .cart-collaterals .cart_totals {
  width: 100%;
  max-width: 600px;
  float: right;
}

.woocommerce .shop_table.shop_table_responsive th,
.woocommerce .shop_table.shop_table_responsive td {
  text-align: right;
}

.woocommerce .cart-collaterals table th {
  width: 75%;
}

/*
.woocommerce-checkout .woocommerce-info.wc-account-funds-apply-notice {
	display: none;
}
*/
.wc-account-funds-apply {
  display: flex;
  margin: auto;
  max-width: 380px;
  flex-wrap: wrap;
  justify-content: center;
}

.wc-account-funds-apply .wc-account-funds-apply-button {
  order: 3;
  flex: 1 0 100%;
}

.wc-account-funds-apply strong {
  margin: 0 3px;
}

.woocommerce-SavedPaymentMethods.wc-saved-payment-methods {
  list-style: none;
}

.checkout.woocommerce-checkout #customer_details {
  background-color: rgba(221, 221, 221, 0.96);
  padding: 3%;
  box-sizing: border-box;
}

.checkout.woocommerce-checkout #order_review_heading {
  margin-top: 0px;
}

.checkout.woocommerce-checkout {
  position: relative;
}

.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout {
  position: absolute;
  top: -70px;
}

#order_review {
  display: flex;
  flex-direction: column;
}

#order_review .woocommerce-info.wc-account-funds-apply-notice {
  order: 2;
}

#order_review .shop_table.woocommerce-checkout-review-order-table {
  order: 1;
}

#order_review .woocommerce-form-coupon-toggle {
  order: 3;
}

#order_review .checkout_coupon {
  order: 4;
}

#order_review #payment {
  order: 5;
}

#pmdgrp_checkout_message {
  color: #fff;
  padding: 2em;
  margin: 1em 0 2em;
}

#pmdgrp_checkout_message h2 {
  color: #fff;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {

  /* IE10+ CSS styles go here */
  .woocommerce-checkout .woocommerce-info.wc-account-funds-apply-notice {
    display: block;
  }

  .wc-account-funds-apply {
    display: block;
    max-width: 100%;
    float: none;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  .wc-account-funds-apply .wc-account-funds-apply-button {
    display: block;
    margin: auto;
  }

  .checkout.woocommerce-checkout #order_review_heading,
  #order_review {
    margin-left: 40px;
    width: 47%;
    float: left;
  }

  .checkout.woocommerce-checkout #order_review_heading {
    margin-top: 35px;
  }

  .checkout.woocommerce-checkout #customer_details {
    width: 48%;
    float: left;
  }

  .wc-account-funds-apply strong {
    margin: 0 3px;
  }
}

@supports (display: grid) {
  .checkout.woocommerce-checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 0fr 1fr;
    grid-gap: 20px;
  }

  .checkout.woocommerce-checkout:before,
  .checkout.woocommerce-checkout:after {
    position: absolute;
  }

  .checkout.woocommerce-checkout #customer_details {
    grid-row: span 2;
  }
}

@supports not (display: grid) {
  .checkout.woocommerce-checkout #customer_details {
    width: 33%;
    float: left;
  }

  .checkout.woocommerce-checkout #order_review_heading {
    width: 60%;
    float: right;
  }

  .checkout.woocommerce-checkout #order_review {
    width: 60%;
    float: right;
    margin: 0 3%;
  }
}

/*======================/
Search
=======================*/
body.search .product .entry-wrap .entry-featured {
  border: none;
  padding: 0;
  order: 1;
  margin-top: 0;
  margin-bottom: 5px;
  background: transparent;
}

body.search .product .entry-wrap .entry-featured a {
  outline: none;
  display: flex;
  justify-content: center;
  border: none;
  background: transparent;
}

body.search .product .entry-wrap .entry-featured img {
  max-height: 200px;
  min-width: auto;
  width: auto;
}

body.search .product .entry-wrap .entry-header {
  order: 2;
  background-color: #f5f5f5;
  padding: 15px 5px 5px;
}

body.search .product .entry-wrap .entry-header .p-meta {
  display: none;
}

body.search .product .entry-wrap .entry-content {
  order: 3;
  background-color: #f5f5f5;
  padding: 15px 5px 5px;
  min-height: 35%;
  margin-top: 0px;
}

body.search .x-container.max.width.offset div[role="main"] {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
}

body.search .x-container.max.width.offset div[role="main"] article {
  float: left;
  overflow: hidden;
  position: relative;
  margin: 0 4% 9.25% 0;
  padding: 0;
  display: flex;
  width: 22%;
  border: 2px solid #f5f5f5;
}

body.search .x-container.max.width.offset div[role="main"] article .entry-wrap {
  display: flex;
  flex-direction: column;
}

/* FORMS */
.nolabel label,
.nolabel .gfield_label {
  position: absolute;
  /*	left:-2000px;
	top:auto;
	width:1px;
	height:1px;
*/
  overflow: hidden;
  transform: translateX(-150%);
  -webkit-transform: translateX(-150%);
  opacity: 0;
}

.nolabel .showlabels .gfield_label,
.nolabel .showlabel .gfield_label {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  left: initial;
  top: initial;
  width: initial;
  height: initial;
  overflow: visible;
  transform: translateX(0%);
  -webkit-transform: translateX(0%);
  opacity: 1;
}

.nolabel .showlabel .ginput_container label {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  left: initial;
  top: initial;
  width: initial;
  height: initial;
  overflow: visible;
  transform: translateX(0%);
  -webkit-transform: translateX(0%);
  opacity: 1;
}

.nolabel .ginput_container_checkbox label {
  display: inline-block !important;
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  left: initial;
  top: initial;
  width: initial;
  height: initial;
  overflow: visible;
}

body .gform_body label,
body .gform_body label {
  -webkit-transition: -webkit-all 1s;
  /* Safari */
  transition: all 1s;
}

body .gform_body li,
body .gform_body li {
  position: relative;
}

body .gform_body label.labeled,
body .gform_body label.labeled {
  top: 15px;
}

body .gform_body #input_1_1 label.labeled {
  top: 0px;
}

@media (max-width: 767px) {

  body .gform_body label.labeled,
  body .gform_body label.labeled {
    top: -10px;
  }
}

body .gform_body .ginput_container_checkbox label.labeled,
body .gform_body .ginput_container_checkbox label.labeled {
  top: 0;
}

body .ginput_container_checkbox {
  width: 100% !important;
  margin-left: 0 !important;
}

body .gform_body label.labeled,
body .gform_body label.labeled,
body .gform_body .showlabel label:not(.gfield_label),
body #input_1_1 label,
body .gform_body label.labeled {
  transform: translateX(0);
  -webkit-transform: translateX(0);
  height: auto;
  width: auto;
  opacity: 1;
  display: inline-block;
  flex: 1;
}

body .name_first label,
body .name_last label {
  display: none !important;
}

body .ginput_container_password label {
  top: 30px !important;
}

.e11-19.x-text.hidden_if_logged_in {
  display: none;
}

.woocommerce-checkout .woocommerce-NoticeGroup.woocommerce-NoticeGroup-updateOrderReview {
  display: none;
}

.anr_captcha_field {
  min-height: 160px;
}

/*
*
* CUSTOM VARIATION CSS
**********************************************/

div.image-loader {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
}

div.image-loader img {
  position: absolute;
  bottom: 0;
  top: 0;
  right: 0;
  left: 0;
  margin: auto;
}

.loaded .zoomit-ghost {
  cursor: zoom-in !important;
}

/* #myimage {
  image-rendering: pixelated;
} */

/* .entry-product > .entry-featured {
    display: none !important;
}

.entry-product .entry-wrap {
    padding: 0 !important;
}

li.product.type-product {
    background: #f5f5f5;
    padding-bottom: 10px;
}

li.product .entry-header span.price, li.product .entry-header h3 {
    padding: 0 10px;
}

li.product .entry-header .entry-featured {
    margin-bottom: 12px;
} */