/*
Theme Name:   Astra Child
Theme URI:    http://apanescu.ro/
Description:  Astra Child Theme
Author:       Panescu Stefan
Author URI:   http://apanescu.ro/
Template:     astra
Version:      1.1.1232
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  astrachild
*/

/* Custom categories */


#custom_header_html {
    width:90vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

#category_list_container {
    display:flex;
    position: absolute;
}

#category_main_list {
    display: none;
    background-color: #adff;
}

#category_secondary_list {
    background-color: #8bdf;
    width:50vw;
}

.category_container {
    font-family: sans-serif;
    display: flex;
    /* width: 200px; */
    align-items: center;
}

#category_container {
    margin-right:10px;
}

#category_button:hover {
    cursor: pointer;
}

.category_list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.category_item {
    display:flex;
    align-items:center;
    padding: 10px 5px;
    font-size: large;
}

.category_item:hover {
    background-color: #8bdf;
}
.category_item.active {
    flex-direction:row-reverse;
    background-color: #8bdf;

}

.category_item:hover {
    cursor: pointer;
}

.search_result_item {
    border: 1px solid #0000;
    transition-duration: 300ms;
}
.search_result_item:hover {
    /* background-color: #0003 ; */
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    transition-duration: 300ms;
}

#search_clear {
    display:inline-block;
    position:relative;
    top:5px;
    right:35px;
    width:0px;
}

#body_overlay {
    display:none;
    position:absolute;
    top:0px;
    left:0px;
    width:100vw;
    height:100vh;
    background-color: #000a;
}

@media only screen and (max-width: 1200px) {
    .site-header-below-section-left.site-header-section.ast-flex.site-header-section-left {
        flex-direction: column-reverse;
        align-items: start;
    }


}

/* Styling widget categorii */
.product-categories-grid .category-item {
    border: 1px solid #ccc;
    border-radius:15px;
    padding:10px;
    text-align: center;
}

.product-categories-grid .category-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-categories-grid .category-item h3 {
    margin-top: 10px;
    font-size: 1.2em;
}

.product-categories-grid .category-item p {
    color: #666;
    font-size: 0.9em;
}

/* some test css */

.home-head {
	height:35vh;
}

a.ast-loop-product__link {
    /*height:32pt;*/
    overflow: hidden;     
}