/*
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  ***************/


}


.icon-languages {
    background-image: url(assets/img/icon-language.svg);
        width: 19px;
    height: 19px;
}

.nav > li > a, .mobile-sidebar-levels-2 .nav > li > ul > li > a{
    font-weight: 500 !important;
    font-size: 14px;
}
.category-page-title .medium-flex-wrap{
    margin: 1.2rem 0;
    padding: 0.5rem 0;  
    border-top: 1px solid rgba(160, 160, 160, 0.25);
    border-bottom: 1px solid rgba(160, 160, 160, 0.25);
    font-size: 14px;
    font-family: Lato, sans-serif;
}
.category-page-title .filter-button strong{
    font-weight: 500;
    text-transform: capitalize;
    margin-left: 4px;
}
.nav-dropdown-default .nav-column li>a, .nav-dropdown.nav-dropdown-default>li>a{
    border-bottom: none;
font-size: 14px;
}
.nav-dropdown .menu-item-has-children>a, .nav-dropdown .nav-dropdown-col>a, .nav-dropdown .title>a{
    font-size: 14px;
}
.nav-column li>a, .nav-dropdown>li>a{
    padding: 7px 30px;
}
.nav-column>li>a, .nav-dropdown>li>a, .nav-vertical-fly-out>li>a, .nav>li>a{
    color:black;
}
.nav-dropdown-has-shadow .nav-dropdown{
    box-shadow: none;
}
.nav-dropdown-has-border .nav-dropdown{
    border:none;
}
.nav-dropdown>li.image-column:not(:last-child), .nav-dropdown>li.nav-dropdown-col{
    padding: 0 16px 20px;
}


.category-info{
    background-color: #f4f4f4;
    padding: 60px 0;
}
.category-info h1{
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    margin-bottom: 0px;
    color: #212224;
    max-width: 482px;
}
.category-info .description{
    margin-top: 16px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.54);
    max-width: 482px;
}

.accordion-title.active {
    background-color: #fff;
    color: #6f2277;
    font-weight: 700;
    border-bottom: 1px solid rgba(160, 160, 160, 0.25);
    border-top: none;
}
.accordion-title{
    border-bottom: 1px solid rgba(160, 160, 160, 0.25);
    border-top: none; 
    font-weight: 700;
    color: #6f2277 !important;
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 18px;
}
.accordion-inner {
    padding: 1em 4.3em;
}
.product-footer{
    margin-bottom: 3rem;
}


.product-info .block_widget .col{
    min-width: 50%;
}




.mini-ingredient-wrapper{
    display: flex;
}
.mini-ingredient-wrapper a{
display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 140.75px;
    margin-right: 32px;
}
.mini-ingredient-wrapper img{
    max-width: 100%;
    height: auto;
}

.mini-ingredient-name{
color: #220b25 !important;
    font-size: 16px;
    line-height: 32px;
    margin-top: 23px;
    font-weight: 700;
    text-align: center;
    display: block;
}
.mini-ingredient-description{
    min-height: 48px;
    margin-bottom: 0px;

    line-height: 24px;
    font-size: 14px;
    color: #71767B;
    text-align: center;
    display: block;
    margin: 0px;
    margin-top: 16px;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#accordion-ingredients-content .content{
    margin-top: 32px;
    display: block;
    color: #71767B;
    font-size: 14px;
    line-height: 24px;
}
#accordion-ingredients-content{
        padding: 1em 0;
}

.btn-secondary{
background: #000000;
    color: #ffffff;
    border: solid 1px #000000;
    text-align: center;
    display: inline-block;
    margin-top: 16px;
    font-weight: 400;
    padding: 8px 24px;
    min-width: 120px;
    border-radius: 0px;
    font-size: 14px;
    line-height: 24px;
}
.btn-secondary:hover{
background: #6f2277;

    border: solid 1px #6f2277;

}


.tax-ingredient .page-title-inner .medium-flex-wrap{
 display:none;
}


.ingredient-hero{
    min-height: 720px;
    padding: 30px 0;
}
.ingredient-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    margin-bottom: 0px;
    color: #212224;
}
.ingredient-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.54);
    max-width: 482px;
}

.custom-position-image{
    margin-top: 96px;
    margin-bottom: 96px;
}

.col-image {
padding: 0px 89px 0px 91px;
}
.col-text {
padding: 0px 91px 0px 89px;
}
.col-image>img{
    z-index: 1;
}
.col-image {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: end;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    z-index: 2;
}
.image02-custom-position {
    width: 87%;
    transform: rotate(-15deg);
    top: -38%;
    bottom: initial;
    left: 42%;
    right: initial;
    position: absolute;
}
.col-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 96px 128px;
}
.custom-image-box-title {
    font-size: 32px;
    line-height: 40px;
    color: rgba(0, 0, 0, 0.78);
    margin-bottom: 0px;
}
.custom-image-box-description{
    font-size: 16px;
    line-height: 24px;
    color: #36383b;
    margin-top: 16px;
}
.custom-image-box-description ol{
    margin-left:20px;
      list-style: none;
  padding-left: 0;  

}
.ingredient-products h2{
    text-align: center;
    color: rgba(0, 0, 0, 0.78);
}



.ingredients-title{
    font-size: 24px;
    line-height: 24px;
    margin-bottom: 8px;
    color: #48164d;
    margin: 64px 0 29px;
    text-align: center;
}



@media (max-width: 767px) {

    .ingredient-title {
        font-size: 24px;
        line-height: 32px;
    }
    .ingredient-hero {
        min-height: auto;
        padding: 16px;
    }

    .col-image > img {
        margin-right: auto;
        width: 70%;
    }
    .image02-custom-position {
        width: 70%;
        transform: rotate(6deg);
        top: -13%;
        bottom: initial;
        right: -6%;
        left: initial;
    }
    .col-image {
        padding: 0px 16px 0px 16px;
    }
    .col-image {
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }
    .col-text {
        padding: 23px 16px 0px 16px;
    }
    .custom-image-box-title {
        font-size: 24px;
        line-height: 40px;
    }
    .custom-position-image {
        margin-top: 40px;
        margin-bottom: 20px;
    }
}
add_filter('jpeg_quality', function($quality) {
    return 100;
});

add_filter('wp_editor_set_quality', function($quality) {
    return 100;
});