/*
 Theme Name:   Valentia Biologics
 Theme URI:    valentiabiologics.com
 Description:  Web de suplementos alimenticios
 Author:       Víctor Rico
 Author URI:   https://www.tallerwebencasa.com
 Template:     generatepress
 Version:      171020170915
 Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, fluid-layout, responsive-layout, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, light, white, dark, black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, yellow
*/

/* Shopping cart counter plugin
 ********************************************************************************/
#hero-header-menu .wpmenucart-contents {
  color: #fff !important;
}

.wpmenucart-contents:hover {
  color: #41c646 !important;
}

.wpmenucart-contents,
#hero-header-menu .wpmenucart-contents,
#hero-header-menu .wpmenucart-contents:hover {
  color: #1e73be !important;
}

/* Cart alignment fix */
.wpmenucart-contents {
  -webkit-box-pack: flex-start !important;
  -ms-flex-pack: flex-start !important;
  justify-content: flex-start !important;
}

@media only screen and (min-width: 1024px) {
  #hero-header-menu .wpmenucart-contents {
    color: #fff !important;
  }
	
  #hero-header-menu .wpmenucart-contents:hover {
    color: #41c646 !important;
  }
}
/* /Cart alignment fix */

/* Account bar area
 ********************************************************************************/
#menu-top-menu a {
  text-transform: uppercase;
  letter-spacing: 0.2px;
  font-weight: 300;
}

#site-navigation {
  border-bottom: 1px solid #efefef;
}

/* Shop 
 ********************************************************************************/
#left-sidebar {
  margin-top: 30px;
}

.product-categories .children {
  padding-bottom: 24px;
}

.product-categories .children a {
  font-size: 15px !important;
  color: #a4a4a4;
}

.product-categories > li {
  padding-bottom: 0 !important;
}

.product-categories .cat-parent > a {
  padding-bottom: 15px;
  display: block;
  color: #23282d;
}

/* Icon container */
.icon-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.icon-container--left {
  -webkit-box-align: left;
  -ms-flex-align: left;
  align-items: left;
  -webkit-box-pack: left;
  -ms-flex-pack: left;
  justify-content: left;
}

.icon-container--center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.icon-container--right {
  -webkit-box-align: right;
  -ms-flex-align: right;
  align-items: right;
  -webkit-box-pack: right;
  -ms-flex-pack: right;
  justify-content: right;
}

/* Dropdown buttons */
.dropdown_product_cat {
  background-color: #306aa6;
  padding: 10px 15px;
  width: 100%;
  border-radius: 0 !important;
  border: none;
  color: white;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* Order by dropdown menu */
.woocommerce-ordering .orderby {
  -webkit-appearance: none;
  -moz-appearance: none;	
  padding: 7px 44px 7px 15px;
  border: 2px solid #306aa6;
  background-color: transparent;
  color: #306aa6;
  outline: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='24' height='24' fill='%23306aa6' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1408 1088q0 26-19 45l-448 448q-19 19-45 19t-45-19l-448-448q-19-19-19-45t19-45 45-19h896q26 0 45 19t19 45zm0-384q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45 19-45l448-448q19-19 45-19t45 19l448 448q19 19 19 45z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 99% 50%;
  background-size: 16px 16px;
}

.woocommerce-product-search {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

input#woocommerce-product-search-field-0 {
  -webkit-box-flex: 2;
  -ms-flex-positive: 2;
  flex-grow: 2;
}

/* WooCommerce filter price */
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
  height: 2px;
  background-color: #306aa6;
  background-image: none;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
  height: 14px;
  width: 14px;
  background-color: #306aa6;
  background-image: none;
  border: none;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
  background-color: #a2c3e8;
  background-image: none;
}

/* Sidebar search field */
#left-sidebar input[type="search"] {
  background-color: #fff;
  color: #c5c5c5;
  outline: none;
  font-weight: 300;
  border-color: #c5c5c5;
  border-right-width: 0;
}

/* Shop categories */
.product-categories .children > .cat-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-bottom: 15px;
}

.product-categories > .cat-item > a {
  text-transform: uppercase;
}

.product-categories .children > .cat-item > .count {
  margin-left: auto;
  background-color: #bebebe;
  color: white;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 13px;
  align-self: flex-start;
}

.product-categories  > .cat-item > .count { display: none; }
/* /Shop categories */

.price_label {
  margin-left: auto;
}

.price_slider_amount {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/* Filter button */
.woocommerce .price_slider_amount button.button {
  background-color: transparent;
  color: #306aa6;
  border: 2px solid #306aa6;
  border-radius: 3px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  transition: all 300ms ease;
  outline: none;
}

.woocommerce .price_slider_amount button.button:hover {
  background-color: #306aa6;
}

/* Counter and "order by" alignment */
.woocommerce .woocommerce-ordering {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 48px;
}

.woocommerce .woocommerce-result-count {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 48px;
  line-height: 41px;
  border-bottom: 2px solid;
  color: #306aa6;
}

/* Home
 ********************************************************************************/
/* Product search */
#product-search-bar [id*="woocommerce-product-search-field-"] {
  padding: 17px 22px;
  border-color: #fff;
  width: 65%;
  -webkit-appearance: none;
}

#product-search-bar input[type="submit"] {
  -webkit-appearance: none;
  width: 35%;
  padding: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 300;
  border-radius: 0 !important;
}

.product-search-field {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.inside-site-info {
  padding-left: 30px;
  padding-right: 30px;
  box-sizing: border-box;
}

@media screen and (min-width: 768px) { 
  .credit-card-icons {
    -webkit-box-pack: start;
    -ms-flex-pack: flex-start;
    justify-content: flex-start;	
  }
}

/* WooCommerce products */
/*.home-featured-products */ .woocommerce-Price-amount.amount {
  font-size: 24px;
  color: #333;
}

/*.home-featured-products */ .woocommerce .products .product .button {
  background-color: transparent;
  color: #35a038;
  border: 2px solid;
  border-radius: 5px;
}

/*.home-featured-products */ .woocommerce .products .product .button:hover {
  background-color: #35a038;
  color: #fff;
}

/*.home-featured-products */ .woocommerce .products .product {
  background-color: #fff;
  /* width: calc(100% - 30px) !important;
  margin: 0 15px 30px!important; */
  padding: 25px !important;
  transition: all 300ms ease;
  box-sizing: border-box;
  border: 2px solid rgba(0,0,0,0.07);
  border-radius: 3px;
  text-align: center;
}

/*.home-featured-products */ .woocommerce .products .product:hover {
  transform: scale(1.09);
  box-shadow: 0 0 34px rgba(0, 0, 0, 0.16);
  border-width: 0;
}

/*.home-featured-products .woocommerce .products {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-left: 0;
}

@media only screen and (min-width: 600px) {
 .home-featured-products .woocommerce .products {
    -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  }

  .home-featured-products .woocommerce .products .product {
    width: calc(50% - 30px) !important;
  }  
}

@media only screen and (min-width: 1000px) {
 .home-featured-products .woocommerce .products .product {
    width: calc(25% - 30px) !important;
  }  
}*/

/* Woo Product carousel plugin */
.product-carousel-plugin .item {
  background-color: #fff;
  margin: 0 15px 30px !important;
  padding: 25px !important;
  transition: all 300ms ease;
  border: 2px solid rgba(0,0,0,0.07);
  border-radius: 3px;
}

.product-carousel-plugin .item .add_to_cart_button {
  background-color: transparent !important;
  color: #35a038 !important;
  border: 2px #35a038 solid !important;
  border-radius: 5px !important;
  padding: 10px 20px !important;
  font-size: 16px !important;
  text-transform: none !important;
  line-height: 1.5 !important;
}

.product-carousel-plugin .item .add_to_cart_button:hover {
  background-color: #35a038 !important;
  color: #fff !important;
}

.product-carousel-plugin .price {
  font-size: 24px  !important;
  color: #333  !important;
}

.product-carousel-plugin .product_name a {
  color: #1e73be  !important;
}

.product-carousel-plugin .wpcs_rating .woocommerce-product-rating {
  display: none !important;
}

/* Heart icon & text banenr */
.product-registered__icon {
  font-size: 98px !important;
  color: #fff;
  margin-right: 15px;
}

.product-registered__title {
  margin-bottom: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 200;
  letter-spacing: 0.5px;
}

@media screen and (min-width: 768px) {
  .product-registered__title { font-size: 22px; }	
}

/* Hero header description
 ********************************************************************************/
.hero-header-desc {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Slider arrows color */
#rev_slider_1_1 .uranus.tparrows:before {
  color: #3069a6;
  font-size: 24px !important;
}

/* Acerca de
 ********************************************************************************/
.elementor-tab-content p:last-child {
  margin-bottom: 0;
}

/* WOOCOMMERCE 
 ********************************************************************************/
/* CART, CHECKOUT, MY ACCOUNT */
.woocommerce-page .entry-title {
  font-family: "Muli";
  font-weight: bold;
}

.woocommerce table.shop_table td, 
.woocommerce table.shop_table th {
  padding: 8px !important;
}

/* Signgle product title */
.product .entry-summary .entry-title {
  margin-bottom: 24px;
}

/* Product counter input */
/*.woocommerce div.product form.cart {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}*/

.woocommerce div.product form.cart .quantity .qty {
  padding: 12px; 
  padding-bottom: 12px;
}

/* Product counter size */
.woocommerce .quantity .qty {
  width: 3.631em !important;
}

/* Amount alignment */
.woocommerce-table--order-details tr > *:last-child {
  text-align: right;
}

/* Fixes PDF download link from dropping */
.woocommerce-orders-table__cell .woocommerce-button {
  padding: 5px 10px !important;
  margin-top: 2.5px !important;
  margin-bottom: 2.5px !important;
}

.woocommerce-orders-table__cell .woocommerce-button:first-child {
  margin-right: 5px;
}

/* SINGLE PRODUCT 
 ********************************************************************************/
.woocommerce-product-gallery__image > a {
  display: block;
  padding: calc(147px / 2) calc(147px / 2) 0;
}

/* Allergens icons  */
.alergenos * { box-sizing: border-box; }

.alergenos {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap; 
  -webkit-box-align: start; 
  -ms-flex-align: start; 
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.alergenos,
.alergenos__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.alergenos__item {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: calc(1 / 3.5 * 100%);
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-bottom: 15px;
}

.alergenos__icono {
  width: 60px;
  height: 60px;
  margin-bottom: 5px;
  background-image: url(images/alergenos.png);
  background-repeat: no-repeat;
}

.alergenos__texto {
  text-align: center;
  text-transform: uppercase;
  color: #ab9b6a;
  font: 12px/1.5 "Raleway", sans-serif;
}

.sin-gluten { background-position: -187px 0px; }
.sin-azucar { background-position: -43px 0px; }
.sin-lactosa { background-position: -326px 0px; }
.edulcorante-natural { background-position: -468px 0px; }
.sin-conservantes { background-position: -605px 0px; }
.sin-grasas-trans { background-position: -747px 0px; }
.sin-colorantes { background-position: -898px 0px; }

.vegan { 
  width: 54px;
  background-image: url(images/vegano.png);
}


.flex-control-nav.flex-control-thumbs {
  margin-top: 45px !important;
}

/* UTILITY HELPERS
 ********************************************************************************/
.all-centered {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/* ZOHO FORM
 ********************************************************************************/
#SIGNUP_HEADING {
  display: none;
}

#SIGNUP_PAGE {
  margin: 0;
  width: 100% !important;
}

#SIGNUP_PAGE td {
  padding: 0;
}

#SIGNUP_PAGE td * {
  padding: 0 !important;
}

input#CONTACT_EMAIL, input#LASTNAME {
  padding: 0.7em !important;
  font-size: 0.875em !important;
  text-align: left !important;
  margin-bottom: 15px !important;
  box-sizing: border-box !important;
  height: auto !important;
}

input#CONTACT_EMAIL {
  margin-bottom: 15px;
}


input#zcWebOptin {
  padding: 0.8em !important;
}

/* BLOG
 ********************************************************************************/
/* 
  Manten la relación de aspecto sin importar el tamaño de las imágenes que suba
  cualquier usuario a la hora de publicar contenidos en el blog.  
*/
.archive.category .post-image > a,
.blog .post-image > a {
  position: relative;
  display: block;
  overflow: hidden;
}

.archive.category .post-image > a::before,
.blog .post-image > a::before {
  content: "";
  height: 0;
  padding-top: calc(9/16 * 100%);
  width: 100%;
  display: block;
}

.archive.category .post-image > a > img,
.blog .post-image > a > img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Manten la misma separación en todos los artículos entre el título y la imágen */
.archive.category .inside-article,
.blog .inside-article {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
          flex-direction: column;
}

.archive.category .inside-article > .entry-header,
.blog .inside-article > .entry-header {
  margin-bottom: auto;
}

/* Mejora el título de las entradas */
.archive.category .entry-title,
.blog .entry-title {
  font-size: 1.3rem;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}
.woocommerce-Price-amount.amount {
    font-size: 15px;
    color: #000000;

}



/* SEARCH FIELD - PRODUCTS
 *******************************************************************************/
#main-search-field form {
  width: 100%;
  max-width: 450px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;	
  margin: auto;
}

#main-search-field .search-field {
  padding: 10px 43px 10px;
  border-radius: .3em;
  outline: none;
  width: 100%;
  border: 2px solid #ededed;
}

.main-search-field form.woocommerce-product-search {
  position: relative;
}

#main-search-field button[type="submit"] {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  font-size: 0;
  color: transparent;
  border-radius: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg height='36' viewBox='0 0 24 24' width='36' fill='%23666' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.5 14h-.79l-.28-.27c.98-1.14 1.57-2.62 1.57-4.23 0-3.59-2.91-6.5-6.5-6.5s-6.5 2.91-6.5 6.5 2.91 6.5 6.5 6.5c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99 1.49-1.49-4.99-5zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5z'/%3E%3Cpath d='M0 0h24v24h-24z' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position-x: 50%;
  background-position-y: 50%;
  width: 66px;
  padding: 0;
  outline: 0;
}

/* Prevent "x" icon being overlapped by the search icon (Webkit) */
input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

