/**
Theme Name: products demo
Author: demo
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


.short-description-in-posts-category {
    font-size:16px;
}

.related-products-description {
    font-size:15px;
}

a.tags-in-category, a.tags-in-category:hover {
    display: inline-block;
    padding: 8px 10px;
    background-color: #D0D0D0;
    border-radius: 12px;
    margin-bottom: 5px;
    margin-right: 5px;
    color: #000000;
}

/*pagrindiniame puslapyje linkai yra melyni*/
.elementor .elementor-widget-text-editor a {
    color: #4169e1;
}

.elementor-element.elementor-button-info .elementor-button {
    background-color: #459e00;
}

/*kaip pirkti puslapyje mygtukai*/
.elementor-widget-container .elementor-button.elementor-size-xl, .elementor-button-link.elementor-size-xs {
    background-color: #459e00 !important;
}


/*postuose esancio h3 dydis*/
h3.elementor-heading-title.elementor-size-default {
    font-size:20px;
}

.product-category-description {
    font-size:20px;
}

span.product-category-description h2 {
    font-size: 26px;
}

span.product-category-description h3 {
    font-size: 24px;
}

span.product-category-description h4 {
    font-size: 22px;
}

.tax-produktu_kategorijos h2.entry-title, .tax-produkto_tipas h2.entry-title {
    font-size: 26px;
}
 
.product-content h1 {
    font-size: 25px;
}
 
.product-content h2 {
    font-size: 20px;
}

.related-articles-short-description {
    font-size: 15px;
    margin-bottom: 20px;
}


.how-to-buy-link, .how-to-buy-link:hover
{
    display: inline-block;
    background-color:#459e00;
    padding: 13px 45px;
    margin-bottom:10px;
    color: white;
    font-weight: bold;
}
.amway-prices-link, .amway-prices-link:hover
{
    display: inline-block;
    background-color:#6ab132;
    padding: 12px 15px;
    margin-bottom:10px;
    color: white;
}
div.amway-prices-sticky
{
      /*position: -webkit-sticky;
      position: sticky;
      top: 0;*/
}

.type-amway-produktai.hentry h1.entry-title {
    text-align: center;
}
 
.two-columns {
    display: flex;
    margin-bottom: 30px;
}
 
.prod-column {
  flex: 50%;
}
 
.product-media {
    padding-right: 30px;
}
 
 
.related-info {
  /*flex: 33.33%;
  align-content: space-between;*/
  text-align: center;
  flex-basis: calc(33.33% - 20px); /* Set width for each product (33.33% of the container width minus margins) */
  margin-bottom: 20px; /* Add spacing between rows */
}
 
.type-amway-produktai .entry-content .related-info a {
    font-size: 40px;
  text-decoration:none;
}


.entry-content h2 { /*intention yra tik produktams pakeisti h2 dydi*/
    font-size:20px;
}
h2.entry-title { /*postu kategorijoje postu pavadinimai*/
    font-weight: bold;
    line-height: 1;
    font-size: 23px;
}
 
.related-row {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    justify-content: space-between;  /*Distribute items evenly across the container */
/*    justify-content: flex-start; /* Align items to the start of the container */
}
 
.related-block {
    font-size: 30px;
    margin-bottom:30px;
}

h3.related-products-title {
    text-align: center;
    font-size:25px;
    margin-bottom: 15px;
    font-weight: bold;
}

.related-articles-short-description {
    font-size: 15px;
    margin-bottom: 20px;
}

h4.related-products-for-every-product {
    font-size:18px;
    font-weight: bold;
    margin-bottom: 10px;
}

h4.related-articles-for-every-product {
    font-size:18px;
    text-decoration: underline;
    margin-bottom: 10px;
}

h4.related-products-in-post {
    color: #000000;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-short {
    
    margin-bottom: 30px;
}
 
.related-info p {
    text-align: left;
    padding: 0 20px;
    color: inherit;
}
.archive.tax-produktu_kategorijos .ast-row:before, .archive.tax-produkto_tipas .ast-row:before {
    content: none;
}
 
.archive.tax-produktu_kategorijos .ast-row, .archive.tax-produkto_tipas .ast-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    grid-gap: 1.5rem;
    justify-items: center;
    margin: 0;
    padding: 0;
	background: #ffffff;
}
 
.archive article.amway-produktai {
    padding: 1em;
}

.to-product {
    display: block;
    text-align: center;
    margin-bottom: 20px;
}
 
.to-product button {
    padding: 8px 10px;
    background-color: #459e00;
}
 
.to-product a.product-link, .to-product a.product-link:hover {
    color: #ffffff;
}
 
article.amway-produktai p.read-more {
    display: none;
}

a.brand-link {
    text-decoration:underline;
}

/*breadcrumbs in post*/
.ast-breadcrumbs-wrapper {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    font-size: 14px;
}

/*post content*/
p.entry-content {
    margin-bottom: 0.5em;
    font-size: 16px;
}

/*anchor in post*/
a.elementor .elementor-widget-text-editor {
    color: #4169e1;
    font-size: 17px;
}

/*do not show images of posts in category view*/
.archive.category .ast-blog-featured-section.post-thumb, .archive.tag .ast-blog-featured-section.post-thumb {
    display: none;
}

/*beginning of style modifications for displaying products (title, image, short description) on other pages*/

.display-amway-product-on-page {
    display: flex;
    flex-direction: column; /* Stacks elements vertically */
    align-items: center; /* Centers content horizontally */
    text-align: justify; /* Aligns text from both sides */
    align-items: center;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 550px; /* Fixes the height of the box */
}

.display-amway-product-on-page .product-image {
    flex: 0 0 120px;
    margin-right: 20px;
}

.display-amway-product-on-page .product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.display-amway-product-on-page .product-details {
    flex: 1;
}

.display-amway-product-on-page .product-title {
    height: 75px; /* Reserve space for exactly 3 lines of text */
    line-height: 1.2em; /* Adjust line height for consistent spacing */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Add ellipsis for truncated text */
    display: -webkit-box; /* Enable multiline truncation */
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical; /* Vertical orientation for the truncation */
    margin-bottom: 10px; /* Space between title and description */
}

.display-amway-product-on-page .product-title a {
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}

.display-amway-product-on-page .product-title a:hover {
    color: #0073e6; /* Change color on hover */
}

.display-amway-product-on-page .product-description a {
    text-decoration: none;
    font-size: 1em;
    line-height: 1.6;
    margin: 0; /* Removes default margins */


    overflow: hidden; /* Ensures content doesn't overflow */
    text-overflow: ellipsis; /* Truncates overflow text with ellipsis */
    display: -webkit-box; /* For multiline truncation */
    -webkit-line-clamp: 5; /* Limits description to 5 lines */
    -webkit-box-orient: vertical; /* Sets box orientation for truncation */
}

.display-amway-product-on-page .product-description a:hover {
    color: #0073e6; /* Change color on hover */
}

/*end of style modifications*/

 
@media screen and (max-width: 767px) {
 
/*.archive.tax-produktu_kategorijos .ast-row {
    grid-template-columns: auto auto;
}*/
.related-info {
    flex: 50%;
}
.related-info:nth-of-type(3) {
    display:none;
}

.site-header { /* top menu is fixed*/
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

#content { /*140px from the top are reserved for the menu*/
    padding-top: 140px;
}

/*end of (max-width: 767px)*/
}
 
@media screen and (max-width: 577px) {
 
/*.archive.tax-produktu_kategorijos .ast-row {
    grid-template-columns: auto;
}*/
.two-columns, .related-row {
    flex-direction: column;
}
.related-info:nth-of-type(3) {
    display:block;
}
.product-media {
    padding-right: 0px;
    padding-bottom: 30px;
}
.display-amway-product-on-page {
    height: auto; /* Allow height to adjust on smaller screens */
    max-width: 100%; /* Adjust to fit screen width */
    margin-bottom: 1px;
}

.site-header { /* top menu is fixed*/
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

#content { /*140px from the top are reserved for the menu*/
    padding-top: 140px;
}

/*end of (max-width:577px)*/
}