/*
Theme Name: Testdig
Template: astra
*/


i.sidebar-expand,
i.sidebar-close,
span.sidebar-expand,
span.sidebar-close{
    position:absolute;
    right: 8px;
    width: 25px;
    aspect-ratio: 1;
    font-size: 14px;
    cursor: pointer;
    top: 14px;
}

i.sidebar-expand::before,
i.sidebar-close::before,
span.sidebar-expand::before,
span.sidebar-close::before{
    content: "\f107";
    /*content: "\f067";*/
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
}

i.sidebar-close,
span.sidebar-close{
    display: none;
}

i.sidebar-close::before,
span.sidebar-close::before{
    content: "\f106";
}

.site-content{
    background-color: #f7f7f7;
}

/*  sidebar */
.custom-category-aveo{
    width: 100%;
}

.custom-category-aveo ul{
    margin: 0;
    padding-left: 0px !important;
    overflow:hidden;
}
.custom-category-aveo ul li a{
    font-size: 13px;
    padding:10px 20px 10px 15px;
    word-break: break-word;
    border-bottom: 1px solid #f0f0f0;
    display: inline-block;
    color: #555;
    width: 100% !important;
}
.custom-category-aveo ul li{
    list-style-type: none;
    line-height: 24px;
    position: relative;
}

.custom-category-aveo ul.children{
    display: none;
}

.current-cat{
    font-weight: 600;
}

li.current-cat li{
    font-weight: 400;
}

#td-sidebar-menu::-webkit-scrollbar,
#td-sidebar-menu__mobile::-webkit-scrollbar{
    width: 5px;
    background-color: #eee;
}

#td-sidebar-menu::-webkit-scrollbar-thumb,
#td-sidebar-menu__mobile::-webkit-scrollbar-thumb{
    background-color: #888;
    border: 0 solid #555555;
}

#td-sidebar-menu::-webkit-scrollbar-track,
#td-sidebar-menu__mobile::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 1px rgb(0 0 0 / 30%);
    background-color: #ccc;
}

.td-review-feedback-page{
    width: 100%;
}
.td-form-group > input{
    margin-top: .5rem;
}

.td-review-feedback-header{
    margin-bottom: 1rem;
}

/* woocommerce rewrite*/

.woocommerce-Reviews .comment_container img{
    display: none;
}

.woocommerce ul.product-categories > li ul li:before{
    border-width: 0 0 0 0;
}

.woocommerce-cart-form__contents{
    background-color: #ffffff;
}

p.price{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.woocommerce-price-suffix{
    color: #7a7a7a;
}

.e-loop-add-to-cart-form-container .quantity{
    margin-right: 0 !important;
}

/* elementor rewrite*/
.td-cart-icon .elementor-menu-cart__toggle .elementor-button{
    border: none;
}

/*.td-grid__5-col{*/
/*    grid-template-columns: 1fr 1fr 1fr 1fr 1fr !important;*/
/*}*/

/*   products  */
.td-product-img__reduced{
    max-width: 30% !important;
}

/*  custom checkout  */
.td-select-field #td_customer_selection,
.td-select-field #td_reference_number_select{
    padding: 12px 16px;
    line-height: 1.3rem;
    height: 50px;
}

.td-custom-text-field,
.td-custom-reference-number{
    display: none;
}

/*   search   */

#td-search__wrapper{
    display: none;
    position: absolute;
    padding: 1rem 0;
}

#td-search__wrapper::-webkit-scrollbar,
#td-search-results::-webkit-scrollbar{
    width: 5px;
    background-color: #eee;
}

#td-search__wrapper::-webkit-scrollbar-thumb,
#td-search-results::-webkit-scrollbar-thumb{
    background-color: #888;
    border: 0 solid #555555;
}

#td-search__wrapper::-webkit-scrollbar-track,
#td-search-results::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 1px rgb(0 0 0 / 30%);
    background-color: #ccc;
}

#td-search-results{
    max-width: 260px;
    max-height: 50vh;
    position: fixed;
    overflow-y: auto;
    background: white;
    z-index: 100;
    display: none;

}
#td-search-results ul{
    margin: 0;
    padding: 10px;

}

#td-search-results ul li{
    list-style: none;
}

#td-search-results ul li h3{
    font-size: .8rem;
}

#td-search-results ul li img{
    max-width: 75px;
}

.td-search__img{
    display: flex;
    gap: 10px;

}

.td-search__img p{
    color: black;
    font-size: .8rem;
}

.td-search__img p{
    margin-bottom: 0;
}

.td-search-results__price{
    font-weight: 500;
    font-size: .9rem;
}

/*  search mobile  */
.td-search-input-form__wrapper{
    /*display: none!important;*/
}

/*    notifier   */
input[type="submit"].cwg_popup_submit,
input[type="submit"].cwgstock_button,
button[type="button"].swal2-close{
    background-color: #2c7aae;
}

/*   spinner   */
@keyframes spinner {
    from {
        /*width: 20px;*/
        /*height: 20px;*/
        border-radius: 50%;
        background-color: black;
    }

    to {
        /*width: 20px;*/
        /*height: 20px;*/
        border: none;
        border-radius: 0;
        background-color: rgba(0 , 0, 0, 0);
        transform: rotate(590deg);
    }
}

.td-default-spinner {
    display: block;
    position: absolute;
    top: 11px;
    right: 39px;
    width: 20px;
    aspect-ratio: 1;
    animation-duration: 1.5s;
    animation-name: spinner;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.no-tax{
    color: #5C5C5C;
}

/*   countdown*/

.order-before-text__text{
    font-size: .75rem;
}

.order-before-text{
    font-family: verdana, geneva, sans-serif;
    font-size: small;
    font-weight: 500;
}


/* product card */
.td_products-grid-heading {
    padding: 1em 0;
}

.td_recommended-products-grid {
    max-width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    gap: 1em;
}

.td_product-card {
    width: 250px;
    box-shadow: 4px 4px 8px lightgrey;
    border: 1px solid #f1e8e8;
    border-radius: 1em;
    padding: 1em 1em 0.2em 1em;
    background-color: white;
    text-align: center;

    h6 {
        height: 3em;
        margin-bottom: 0;
    }

    a {
        text-decoration: none !important;
    }
}

.td_product-card > h6 > a {
    color: black;
}

.td_product-image > img {
    width: 180px;
    min-height: 180px;
    object-fit: contain;
}

.td_product-price {
    margin: 0;
}

.td_product-buttons {
    display: flex;
    justify-content: center;
}

.td_product-buttons a {
    display: inline-block;
    margin: 5px;
    padding: 8px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
}
.td_btn-info {
    background-color: #1E776F;
    color: white;
}
.td_btn-cart {
    background-color: #2D79AE;
    color: white;
}

.td_product-rating {
    font-size: 0.6em;
    color: #ff9900;
}

/*   medias  */
@media screen and (max-width: 1025px)
{
    #td-sidebar-menu{
        display: none;
    }
    .td-column-expand{
        width: 100% !important;
    }
}

@media screen and (min-width: 767px) and (max-width: 1025px)
{
    .td-tablet-hidden{
        display: none !important;
    }

}

@media screen and (min-width: 767px)
{
    .td-grid-main__mobile{
        display: none;
    }

}

@media screen and (max-width: 600px)
{
    .article-grid{
        width: 290px !important;
        font-size: .4rem !important;
    }

}

button[data-function=show-toggle] {
    width: fit-content;
    display: none;
    margin: 0;
    padding: 0;
    font-size: 1em;
    background-color: white;
    color:var(--ast-global-color-0);
}

.testdig-custom-active {
    border-top: 3px solid var(--ast-global-color-0) !important;
}

.testdig-custom-hide {
    display: none !important;
}

form[name="checkout"] #shipping_method li {
    display: none;
}