/*
 Theme Name: Acudor
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
.product-category-grid .product-category-grid-item .et_builder_inner_content {
    height: 100%;
    
}
#ajax-filter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
}

#category-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: flex-start;
}

#category_slug {
    font-size: 16px;
    padding: 10px;
    border: none;
    outline: none;
    cursor: pointer;
}

#ajax-filter-form .search-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    background: white;
}

#ajax-filter-form input[type="text"] {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 16px;
}

#ajax-filter-form button {
    background-color: #444;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

#ajax-filter-form button:hover {
    background-color: #222;
}

#filter-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.post-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
}

.post-item:hover {
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.15);
}

.post-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 15px;
}

.post-content {
    flex: 1;
}

.post-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
}

.post-description {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.download-button {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.download-button:hover {
    background: #f0f0f0;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.pagination-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination a, .pagination span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E0E0E0;
    color: transparent;
    text-decoration: none;
    font-size: 0;
    transition: background 0.3s ease-in-out;
}

.pagination .current {
    background: #333;
    width: 12px;
    height: 12px;
}

.pagination-prev, .pagination-next {
    background: none !important;
    font-size: 18px;
    color: #333;
    width: auto;
    height: auto;
}

.pagination-prev:hover, .pagination-next:hover {
    color: #555;
}

.next, .prev {
    display: none !important;  
}

.ajax-busy {
    cursor: progress !important;
}

.download-button .et-pb-icon {
    font-size: 24px;
    font-weight: 700;
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
    background-color: rgba(0, 0, 0, 0);
}

/** PRODUCT BENEFITS **/

.product-benefit-card {
    border-top: 12px solid #fff;
    padding-top: 40px;
    margin-bottom: 40px;
    font-family: 'Geograph',Helvetica,Arial,Lucida,sans-serif;
    line-height: 30px;
    font-size: 1.25rem;
    color: #fff;
    font-weight: 500;
}

.product-benefits-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px 82px;
}

@media screen and (min-width: 981px) {
    .product-benefits-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/** PRODUCT HIGHLIGHTS **/

.product-highlight-card {
    border-top: 12px solid #eb0000;
    padding-top: 40px;
    margin-bottom: 40px;
    
}

.product-highlight-title {
    font-family: "Geograph-medium",Helvetica,Arial,Lucida,sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    color: #4E4B4B;
}
.product-highlight-content {
    font-family: 'Geograph',Helvetica,Arial,Lucida,sans-serif;
    line-height: 30px;
    font-size: 1.25rem;
    color: #202020;
    font-weight: 500;
}

.product-highlights-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px 82px;
}

@media screen and (min-width: 981px) {
    .product-highlights-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/** PRODUCT CHART **/
.product-chart-container h3 {
    font-family: "Geograph-medium",Helvetica,Arial,Lucida,sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    color: #eb0000;
}
.product-chart-container h4 {
    font-family: "Geograph-medium",Helvetica,Arial,Lucida,sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    color: #202020;
}

.product-chart-container table {
    width: 100%;
    border-collapse: collapse;
}

.product-chart-container table thead tr th {
    text-align: left;
    padding: 10px 12px;
}

@media screen and (min-width: 981px) {
    .product-chart-container table thead tr th:first-child {
        padding-left: 10%;
    }
    .product-chart-container table thead tr th:last-child {
        padding-right: 10%;
    }
}

.product-chart-container table thead tr:nth-child(even) {
    border-top: 1px solid #EAEAEA;
}

.product-chart-container table tbody tr td {
    border-top: 1px solid #EAEAEA;
    text-align: left;
    padding: 10px 12px;
}

.product-chart-container table tbody tr:nth-child(even) {
    background: #F5F5F5;
}

@media screen and (min-width: 981px) {
    .product-chart-container table tbody tr td:first-child {
        padding-left: 10%;
    }
    .product-chart-container table tbody tr td:last-child {
        padding-right: 10%;
    }
}

/** PRODUCT DOWNLOAD CARD **/
.product-download-card {
    border-radius: 10px;
    background: #fff;
    padding: 20px 18px;
}

.product-download-card--content-container {
    display: flex;
    gap: 0 11px;
    align-items: center;
}
.product-download-card--content-container:hover .product-download-card--product-name,
.product-download-card--content-container:focus .product-download-card--product-name{
    color: #eb0000;

}
.product-download-card--icon {
    -ms-flex: 0 0 75px;
    flex: 0 0 75px;
    max-width: 75px;
    width: 75px;
    height: 75px;
}

.product-download-card--icon img {
    width: 100%;
    height: auto;
}

.product-download-card--name {
    -ms-flex: 0 0 300px;
    flex: 0 0 300px;
    max-width: 300px;
    width: 300px;
}
.product-download-card--product-name {
    font-family: "Geograph-medium",Helvetica,Arial,Lucida,sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    color: #202020;
}
.product-download-card.opened .product-download-card--product-name {
    color: #eb0000;
}

.product-download-card--product-category {
    font-family: "Geograph-medium",Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2rem;
    padding-top: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #202020;
}

.product-download-card--description {
    flex-grow: 1;
    font-family: "Geograph-medium",Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 25px;
    color: #202020;
}

.product-download-card--toggle {
    /* width: 52px;
    height: 52px; */
    box-sizing: border-box;
}

.product-download-card--toggle-button {
    cursor: pointer;
}


.product-download-card--toggle-button:hover {
/*    border-color: #B3B3B3;
    border-width: 2px;
    padding: 12px;*/
}

.product-download-card--toggle-button-icon {
    display: block;
    padding: 10px 10px 3px 10px;
    border: 2px solid #B3B3B3;
    border-radius: 6px;
    transform: scaleY(1);
    transition: transform 0.5s ease-in-out;
}
.product-download-card.opened .product-download-card--toggle-button .product-download-card--toggle-button-icon{
    transform: scaleY(-1);
}

.product-download-card--downloads-container {
    margin-left: 86px;
    margin-right: 86px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s linear;
}
.product-download-card.opened .product-download-card--downloads-container {
    border-top: 1px solid #E6E6E6;
    max-height: 300px;
}
.product-download-card--download-title {
    font-family: 'Geograph',Helvetica,Arial,Lucida,sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 29.6px;
}
.product-download-card--download-list {
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    gap: 10px;
}
.product-download-card--download-list a{
    margin-top: 10px;
}
.product-download-card--download-list a:hover span,
.product-download-card--download-list a:focus span{
    color: #eb0000;
}
.product-download-card--download-list a span{
    line-height: 1.4rem;
}


.product-download-card--download {
    display: flex;
    
    align-items: center;
    box-sizing: border-box;
    width: 100%;

    font-family: 'Geograph',Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 29.6px;
    color: #202020;
}

@media (min-width: 980px) {
    .product-download-card--download {
        width: auto;
        flex: 0 0 calc(33.33% - 10px);
    }
}

@media only screen and (max-width: 980px) {
    .product-download-card--content-container {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .product-download-card--icon{
        flex: 0 0 100%;
        width: 100%;
        height: 100%;
        text-align: center;
    }
    .product-download-card--name{
        width: calc(100% - 70px);
    }
    .product-download-card--icon img{
        max-width: 200px;
    }
}

/** PRODUCT RECOMMENDATIONS **/
.product-recommendations-list {
    gap: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-bottom: 66px;
}

@media only screen and (max-width: 980px) {
    .product-recommendations-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (max-width: 768px) {
    .product-recommendations-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

.product-recommendation-card {
    border-radius: 13px;
    background: #FFF;
    box-shadow: 0px 4px 17.4px 0px rgba(0, 0, 0, 0.10);
    padding: 18px;
    position: relative;
}

.product-recommendation-card-body img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.product-recommendation-product-title {
    color: #202020;
    text-align: center;
    font-family: "Geograph-medium",Helvetica,Arial,Lucida,sans-serif;
    font-size: 22.225px;
    font-style: normal;
    font-weight: 500;
    line-height:144%;
    letter-spacing: 0.1px;
    margin: 10px;
    transition: all 0.3s ease;
}
.product-recommendation-card:hover .product-recommendation-product-title {
    color: #eb0000;
}
.product-recommendation-product-short-description {
    color: #202020;
    text-align: center;
    font-family: 'Geograph',Helvetica,Arial,Lucida,sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 148%;
    letter-spacing: 0.2px;
    margin: 10px;
    max-height: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}
.product-recommendation-card:hover .product-recommendation-product-short-description {
    max-height: 200px;
}

/** PRODUCT SPECIFICATIONS **/
.product-specifications-list {

}

.product-specifications-list dt {
    color: #4E4B4B;
    font-family: "Geograph-medium",Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 185%;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.product-specifications-list dd {
    color: #202020;
    font-family: 'Geograph',Helvetica,Arial,Lucida,sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 148%;
    letter-spacing: 0.2px;

    margin: 0 0 28px 0;
}

/** PRODUCT VIDEOS **/
.product-videos-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.product-video-item {
    flex: 0 0 calc(50% - 20px);
}

.product-video-card {
    position: relative;
}

/** WPML **/
.wpml-ls-legacy-list-horizontal {
    padding: 0 !important;
}
.wpml-ls-statics-shortcode_actions ul {
    padding: 0 !important;
}

.wpml-ls-statics-shortcode_actions .wpml-ls-item-legacy-list-horizontal a {
    color: #FFF !important;
    font-family: 'Geograph',Helvetica,Arial,Lucida,sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: 0.14px;
}

.wpml-ls-statics-shortcode_actions .wpml-ls-item-legacy-list-horizontal.wpml-ls-current-language a {
    font-weight: bold;
}

/** CATEGORY GRID **/
.product-category-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 50px;
    grid-auto-rows: 1fr;
}
@media (min-width: 768px) {
    .product-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 980px) {
    .product-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1200px) {
    .product-category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-category-grid-item {   
}

.product-category-grid-item > div {
    height: 100%;
}

/** BREADCRUMBS **/
.breadcrumb-separator {
    color: #202020;
    font-family: 'Geograph',Helvetica,Arial,Lucida,sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 175%;
    letter-spacing: 0.13px;
    padding-left: 8px;
    padding-right: 8px;
}
.breadcrumb-name {
    color: #202020;
    font-family: 'Geograph',Helvetica,Arial,Lucida,sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 175%;
    letter-spacing: 0.13px;
    transition: all 0.3s ease;
}

.breadcrumb-link:hover .breadcrumb-name {
    color: #eb0000;
}

/** DOWNLOAD SEARCH **/
.acudor-downloads-search {
    
    display:flex;
    flex-flow: row wrap;
    padding: 4px;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 44px;
}

#acudor-downloads-search-input {
    box-sizing: border-box;
    flex-grow: 1;
    padding: 15px 42px;
    color: #202020;
    font-family: "Geograph-medium",Helvetica,Arial,Lucida,sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0.16px;
    margin-bottom: 1rem;
    width: 100%;
    border-radius: 49px;
    border: 1px solid #202020;
}

#acudor-downloads-search-button {
    -webkit-transition: all 300ms ease 0ms;
    -o-transition: all 300ms ease 0ms;
    transition: all 300ms ease 0ms;
    box-sizing: border-box;
    border-radius: 30px;
    background: #202020;
    border: none;
    height: 56px;
    padding: 16px 42px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #FFF;
    font-family: "Geograph",Helvetica,Arial,Lucida,sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 210%;
    letter-spacing: 0.16px;
    cursor: pointer;
    width: 100%;
}
#acudor-downloads-search-button:hover,
#acudor-downloads-search-button:focus{
    background-color: #eb0000;
    border-color: #eb0000;
    color: #fff;
}

@media (min-width: 768px) {
    .acudor-downloads-search {
        border-radius: 49px;
        border: 1px solid #202020;
        box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.25);
    }

    #acudor-downloads-search-input {
        width: auto;
        border: none;
        border-radius: none;
        box-shadow: none;
        margin-left: 30px;
        margin-bottom: 0;
    }

    #acudor-downloads-search-button {
        width: auto;
    }
}

#acudor-downloads-results {
    margin-bottom: 44px;
}

#acudor-downloads-load-more {
    display: flex;
    height: 56px;
    padding: 16px 42px;
    align-items: center;
    border-radius: 30px;
    border: none;
    background: #FFF;
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.25);
    color: #202020;
    font-family: "Geograph",Helvetica,Arial,Lucida,sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.1px;
    cursor: pointer;
    -webkit-transition: all 300ms ease 0ms;
    -o-transition: all 300ms ease 0ms;
    transition: all 300ms ease 0ms;

    & svg path{
        -webkit-transition: all 300ms ease 0ms;
        -o-transition: all 300ms ease 0ms;
        transition: all 300ms ease 0ms;
    }
}

#acudor-downloads-load-more:hover,
#acudor-downloads-load-more:focus{
    background: #202020;
    border-color: #202020;
    color: #fff;

    & svg path{
        fill: #fff;
    }
}

#acudor-downloads-load-more svg {
    margin-right: 10px;
}

.acudor-downloads-pagination {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

#acudor-downloads-results .product-download-card {
    margin-bottom: 12px;
}
#acudor-downloads-results .product-download-card,
#acudor-downloads-results .product-download-card:hover, 
#acudor-downloads-results .product-download-card.opened {
    box-shadow: 0px 0px 10.5px 0px rgba(0, 0, 0, 0.25);
}

/** RELATED PRODUCTS ON BLOG PAGES **/
.blog-related-products {
    max-width: 944px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 50px;
    grid-auto-rows: 1fr;
}

.blog-related-products-item {
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .blog-related-products {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 980px) {
    .blog-related-products {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* @media (min-width: 1200px) {
    .blog-related-products {
        grid-template-columns: repeat(4, 1fr);
    }
} */

.blog-related-product {
    display: flex;
    width: 100%;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 13px;
    background: #FFF;
    box-shadow: 0px 4px 17.4px 0px rgba(0, 0, 0, 0.10);

    transition: box-shadow 0.3s ease;
}

.blog-related-product-image {
    width: 100%;
}

.blog-related-product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.blog-related-product-title {
    width: 100%;
}

.blog-related-product-title h2 {
    color: #202020;
    text-align: center;
    font-family: "Geograph-medium",Helvetica,Arial,Lucida,sans-serif;
    font-size: 22.225px;
    font-style: normal;
    font-weight: 500;
    line-height: 143.982%;
    letter-spacing: 0.1px;
    transition: color 0.3s ease;
}

.blog-related-product-title h3 {
    max-height: 0;
    overflow: hidden;
    color: #202020;
    text-align: center;
    font-family: 'Geograph',Helvetica,Arial,Lucida,sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 148%;
    letter-spacing: 0.2px;
    padding:0;

    transition: max-height 0.3s ease;
}

.blog-related-product:hover {
    box-shadow: 0px 3.798px 40px 0px rgba(0, 0, 0, 0.30);
}
.blog-related-product:hover .blog-related-product-title h3 {
    max-height: 100px;
}
.blog-related-product:hover .blog-related-product-title h2 {
    color: #eb0000;
}

.product-benefits-list-item > div,
.product-highlights-list-item > div{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.product-benefits-list-item img,
.product-highlights-list-item img{
    max-width: 75px;
    padding-right: 20px;
}
.product-benefits-list-item p,
.product-highlights-list-item p{
    font-size: 20px;
}