/**
 * Content ARea
 */
@media only screen and (min-width: 768px) {
  .single-product.left-sidebar .content-area {
    width: 100%;
    float: none;
    margin-right: 0;
  }
}

/**
 * IMAGE
 */
@media only screen and (min-width: 768px) {

  .single-product div.product .woocommerce-product-gallery {
    margin-right: 2%;
    width: 40%;
    margin-bottom: 2%;
  }

  .woocommerce.single-product div.product div.images .flex-control-thumbs li {
    width: 15%;
    margin-right: 2%;
    margin-bottom: 2%;
  }

  .woocommerce.single-product div.product div.images .flex-control-thumbs li img {
    border: 1px solid var(--oblue);
    padding: 1px;
  }

  .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
    margin-right: 2%;
  }

  .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
    clear: none;
  }
}

/**
 * TITLE
 */
.woocommerce div.product .product_title {
  font-size: var(--font-size-medium);
  line-height: var(--line-height-medium);
  margin-bottom: 2px;
}


/**
 * FORM GENERAL
 */

.woocommerce div.product form.cart {
  border-style: solid;
  border-color: var(--ooblue);
  border-width: 1px 0;
  margin-bottom: 0;
}

.woocommerce div.product form.cart .price {
  font-size: 1.41575em;
  line-height: 18px;
  padding: 0;
  margin: 8px 0 0 0;
  display: block;
  position: relative;
}

.single-product div.product-type-simple .summary > div > form > div,
.single-product div.product-type-variable .summary > *:nth-child(2) > form > *:nth-child(2) {
  margin: 0;
  border-radius: 1px;
  border: solid var(--oblue) 1px;
}

@media only screen and (min-width: 768px) {
  .single-product div.product .summary {
    width: calc(100% - 42%);
  }

  .single-product div.product .summary > *:nth-child(2) > form {
    margin-bottom: 1rem;
  }

  .single-product div.product-type-simple .summary > div > form > div,
  .single-product div.product-type-variable .summary > *:nth-child(2) > form > *:not(style):not(script) {
    margin: 0;
    /*width: calc(100% - 295px - 2rem);*/
    display: inline-block;
    vertical-align: top;
  }

  .single-product div.product .summary > *:nth-child(2) > form > *:not(style):not(script):nth-child(2) {
    /*margin: 0 0 0 0.5em;*/
    margin: 1rem 0 0 0;
    /*width: 295px;*/
  }
}

/**
 * FORM SIMPLE
 */

.woocommerce div.product form.cart .label label,
.woocommerce div.product form.cart .label span {
  font-size: 12px;
  text-transform: uppercase;
}
.single-product div.product-type-simple form .wcsatt-options-wrapper > div:first-child {
  background: var(--blue);
  color: white;
  text-align: center;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
}
.single-product div.product-type-simple form .wcsatt-options-wrapper > div:first-child span {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
}
.single-product div.product-type-simple form .wcsatt-options-wrapper > div:last-child {
  padding: 0 0.5em;
}
.single-product div.product-type-simple form .quantity {
  margin-left: 0.5rem;
}

.single-product div.product-type-simple form > div {
  padding-top: 10px;
}

.single-product div.product-type-simple form .ecom__alert--minmax {
  padding: 0 0.5rem;
  margin: 10px 0 10px;
}
.single-product div.product-type-simple form .woo__badges {
  padding: 0 0.5em;
  margin-bottom: 10px;
}

/**
 * FORM VARIATIONS
 */

span.woo-selected-variation-item-name {
  display: none !important;
}

.woocommerce div.product form.cart .variations,
.woocommerce div.product form.cart .variations tbody,
.woocommerce div.product form.cart .variations tbody tr,
.woocommerce div.product form.cart .variations tbody tr td {
  margin-bottom: 8px;
}

.single-product div.product table.variations th {
  line-height: 18px;
}

.single-product .woocommerce-variation-add-to-cart .variations_button {
  padding-top: 0;
}
.single-product div.product .woocommerce-variation-add-to-cart.variations_button {
  padding: 0.5rem;
}

/**
 * SUBSCRIPTIONS ?
 */
.first-payment-date {
  margin-bottom: 8px;
}

/**
 * WooCommerce Tabs
 */
.woocommerce-tabs {
  overflow: visible;
  padding: 1em 0;
}
.single-product div.product .woocommerce-tabs {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-flow: row wrap;
}
.single-product div.product .woocommerce-tabs > div {
  flex: 1 0 15%;
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-style: solid;
  border-color: var(--ooblue);
  border-width: 0 0 1px 0;
}
@media screen and (min-width: 768px) {
  .single-product div.product .woocommerce-tabs > div {
    border-width: 0;
  }
}
.single-product div.product .woocommerce-tabs > div#tab-additional_information {
  order: 1;
  flex: 0.5 0 15%;
}
.single-product div.product .woocommerce-tabs > div#tab-description {
  order: 2;
}

/*
 * YotPo for MediDent
 */
.single-product div.product .woocommerce-tabs > div#tab-yotpo_widget {
  order: 3;
  flex: 2 0 15%;
  min-width: 100%;
}
#tab-additional_information > h2,
.yotpo .promoted-products-box .yotpo-main-title {
  font-size: var(--font-size-medium);
  color: #131315 !important;
}
#tab-yotpo_widget {
  display: block;
  position: relative;
  width: 100%;
  min-height: 1px;
}

/**
 * Mobile Only CSS
 */
@media (max-width: 768px) {

  .single-product .site-main .product {
    flex: 1 0 20px;
    width: 100%;
    min-width: unset;
    display: block;
    position: relative;
    order: 50;
    padding: 0;
    margin: 0;
  }
  .site-main ul.products.columns-2 li.product {
    width: 49%;
  }

  /*.single-product .site-main .product > div {*/
  /*  flex: 1 0 20px;*/
  /*  width: 100%;*/
  /*  min-width: unset;*/
  /*  display: block;*/
  /*  position: relative;*/
  /*  order: 50;*/
  /*  padding: 0;*/
  /*  margin: 0 0 1em 0;*/
  /*}*/

  .single-product .site-main .product > .images {
    order: 20;
  }

  .single-product .site-main .product > .entry-summary {
    order: 10;
  }

  .single-product div.product .woocommerce-tabs > div#tab-additional_information {
    display: none;
  }

  .single-product div.product .woocommerce-product-gallery .flex-viewport{
    margin-bottom: 0;
    border-width: 1px;
    border-style: solid;
    border-color: var(--oblue);
  }

  .flex-control-nav {
    margin: 0;
    padding: 0.1em 30px 0.4em 30px;
    list-style: none;
    background: var(--blue);
    line-height: 0;
    text-align: center;
  }
  .flex-control-nav li {
    display: inline-block;
    font-size: 0;
    line-height: 0;
  }
  .flex-control-nav li a {
    background: url(https://eadn-wc05-718794.nxedge.io/wp-content/themes/nbdrstorefront/libraries/bxslider/images/page.png) no-repeat;
    background-position: center;
    background-size: contain;
    text-indent: -9999px;
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    outline: 0;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
  }
  .flex-control-nav li a.flex-active {
    background: url(https://eadn-wc05-718794.nxedge.io/wp-content/themes/nbdrstorefront/libraries/bxslider/images/page-current.png) no-repeat;
    background-position: center;
    background-size: contain;
  }

  .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .flex-direction-nav li {
    font-size: 0;
    line-height: 0;
  }
  .flex-direction-nav li a {
    position: absolute;
    padding-top: 25px;
    width: 25px;
    bottom: 0;
    background-position: center;
    background-size: 15px;
  }
  a.flex-next {
    background: url(https://eadn-wc05-718794.nxedge.io/wp-content/themes/nbdrstorefront/libraries/bxslider/images/triangle.png) no-repeat;
    right: 0;
  }
  a.flex-prev {
    background: url(https://eadn-wc05-718794.nxedge.io/wp-content/themes/nbdrstorefront/libraries/bxslider/images/triangle.png) no-repeat;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }

}

/**
 * Single Product Page Prev/Next Related Product
 */
@media only screen and (min-width: 768px) {
  .storefront-product-pagination a .storefront-product-pagination__title {
    font-size: 16px;
    line-height: 16px;
  }
}