/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}


#top-link.is-outline {
  background-color: white;
  border: 2px solid black;
}

#top-link.is-outline:hover {
  border-color: black;
  background-color: #047638;
}

#top-link .icon-angle-up {
  color: black;
}

.demo_store {
  font-size: 15px;
  padding: 15px;
  position: relative;
  z-index: 20;
}

@media screen and (max-width: 1200px) {
  .demo_store {
    font-size: 14px;
    padding: 20px;
  }
}

@media screen and (max-width: 768px) {
  .demo_store {
    font-size: 13px;
  }
}

.flickity-viewport {
  position: relative;
  /* overflow: auto; */
}


.flickity-slider {
  display: flex;
  flex-wrap: nowrap;
}

.flickity-slider .col .col-inner {
    height: 100%;
}

.flickity-slider  .product-small.box {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 5px;
    border: 1px solid #ccc;
}

.home .flickity-slider > .col:not(.product-category) {
  height: 460px;
  padding: 0 15px;
}

.home .flickity-slider > .col:not(.product-category) {
  height: 460px;
}

.bottom_product {
  text-align: center;
}

.flickity-slider .bottom_product .price-wrapper {
  font-size: 20px;
  margin-bottom: 8px;
  margin-top: 0;
}


.box-text {
    padding-bottom: 0;
}

@media screen and (max-width: 849px) {
  .flickity-slider > .col {
      height: 380px;
  }
}

@media screen and (max-width: 630px) {
  .flickity-slider > .col {
      height: 360px;
  }
}

@media screen and (max-width: 549px) {
  .flickity-slider > .col {
      height: 380px;
  }
}

@media screen and (max-width: 429px) {
  .flickity-slider > .col {
      height: 340px;
  }
}


.post-type-archive-product .product-small .add-to-cart-button a,
.tax-product_cat .product-small .add-to-cart-button a,
.flickity-slider .add-to-cart-button a {
  margin-right:  0;
  margin-left:  0;
  padding: 0 0.5em;
}

.single-product .flickity-slider > .col {
    height: 460px;
}

@media screen and (max-width: 849px) {
  .single-product .flickity-slider > .col {
      height: 450px;
  }
}

@media screen and (max-width: 659px) {
  .single-product .flickity-slider > .col {
      height: 410px;
  }
}

.widget_price_filter .price_slider_amount .button {
  float: none;
  display: block;
  font-size: 1.1em;
  margin-top: 40px;
}

.widget_price_filter .price_label {
  padding-top: 6px;
  display: block;
  text-align: left;
  margin-bottom: 20px;
}

.widget_price_filter .price_slider_amount {
  padding-bottom: 30px;
}

.post-type-archive-product .product-small.box,
.tax-product_cat .product-small.box {
  height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 5px;
  border: 1px solid #ccc;
}

.post-type-archive-product .product-small.box,
.tax-product_cat .product-small.box {
  height: 460px;
}

@media screen and (max-width: 849px) {
  .post-type-archive-product .product-small.box,
  .tax-product_cat .product-small.box {
      height: 430px;
  }
}

@media screen and (max-width: 475px) {
  .post-type-archive-product .product-small.box
  .tax-product_cat .product-small.box {
      height: 370px;
  }
}


.slider-nav-reveal .flickity-prev-next-button:hover, .slider-nav-reveal .flickity-prev-next-button {
  box-shadow: 0 -35px 15px 0 rgba(0,0,0,0.3);
}

.product-gallery-slider {
  border: 1px solid #ccc;
}

.tax-product_cat .woopq-quantity,
.post-type-archive-product .qty {
  margin-right: 0;
}

.flickity-slider .ajax_add_to_cart,
.home .ajax_add_to_cart,
.tax-product_cat .ajax_add_to_cart,
.post-type-archive-product .ajax_add_to_cart {
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}

.home .ajax_add_to_cart,
.tax-product_cat .ajax_add_to_cart,
.post-type-archive-product .ajax_add_to_cart {
  line-height: 1.1em;
}

 .button.alt:not(.is-outline) {
  background-color: #047638 !important;
}


.flickity-slider .bottom_product form.cart,
.home .bottom_product form.cart,
.tax-product_cat .bottom_product form.cart,
.post-type-archive-product .bottom_product form.cart {
  margin-bottom: 0;
}

.tax-product_cat .price-wrapper,
.post-type-archive-product .price-wrapper {
  margin-bottom: 5px;
}

.quantity input[type="number"] {
    max-width: 5em;
    width: 5em;
}

.quantity.buttons_added {
  justify-content: center;
}

.product-lightbox .quantity.buttons_added {
  justify-content: flex-start;
}

.text-center .quantity, .quantity {
  margin-right: 0;
}

.home .bottom_product form .quantity {
    margin-bottom: 10px;
}


.home .flickity-slider .bottom_product .price-wrapper {
  font-size: 18px;
}

.product-info .quantity.buttons_added {
  justify-content: flex-start;
}

.qty-suffix {
    font-size: 12px !important;
}

p.name.product-title.woocommerce-loop-product__title {
    max-height: 39.44px;
    overflow: hidden;
}