/* CATEGORY & SUBCATEGORY CUSTOM CSS */

.dv_tag_desc_pl {
    display: none;
}


.category-description{
    margin-bottom: 1rem !important;
}

.dvSubcategories ul{
    display:flex;
    flex-wrap:wrap
}
.dvSubcategories li{
    width:calc(15%);
    border:1px solid #eee;
    margin:0 5px 0 5px;
    min-height:15em;
    text-align:center;
    /*padding:15px 15px 0 15px;*/
    background-color:#fff;
    -webkit-transition:0.5s!important;
    transition:0.5s!important;
    transition-timing-function:ease;

    display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: space-around;*/
}

.dvSubcategories li h5 {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: auto;
    margin-bottom: auto;
}

.dvSubcategories .subcategory-heading{
    font-size:1.4rem;
    font-style:normal;
    font-weight:700;
    text-transform:uppercase;
    text-align: left;
    margin-top: 20px;
}
.dvSubcategories li a{
    font-size:1.1rem;
    font-style:normal;
    font-weight:700;
    text-transform:uppercase
}

.dvSubcategories li:hover{
    border:1px solid #ccc;
    -webkit-transition:0.5s!important;
    transition:0.5s!important;
    transition-timing-function:ease
}

.dvSubcategories h5{
    line-height:.9em;
    min-height:32px;
    margin-top:10px;
}

.dvSubcategories ul {
    display: flex;
    justify-content: center;
}

.contentBlockContainer a{
    text-decoration: underline;
}

.product-price-and-shipping, .product-add-cart{
    text-align: center;
}

.product-add-cart a {
    background-color: #B05C36;
    border-radius: 50px;
}

/* dimensione prezzo listing */
.product-miniature-list .product-price{
    font-size:2rem !important;
    letter-spacing: 0.0769230769rem;
    font-style: normal;
    font-weight: bold;
    text-transform: none;
}

@media (max-width: 736px) {
    .img-tag {
        width: 50%;
        height: auto;
    }
    .dv_tag_pl {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }

}

@media (max-width:575px){


    .dvSubcategories li{width:calc(50% - 10px)}

    .dvSubcategories li{
        max-height:16em;
    }

    .dv_subcatbox_height{
        height: 120px;
    }

    .product-miniature-list .col-buy, .product-miniature-list .col-description{
        text-align: center;
    }
    ::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    ::-webkit-scrollbar:vertical {
        width: 12px;
    }

    ::-webkit-scrollbar:horizontal {
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, .5);
        border-radius: 10px;
        border: 2px solid #ffffff;
    }

    ::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #ffffff;
    }
}

/*ESTIMATE ---------------------------------------------------------- */

@media (min-width:320px) and /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
       (max-width:641px) /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
{
    .product_date_container {
        width: 100%!important;
        max-width: unset!important;
        padding: 2px 5px!important;
        margin-top: unset;
        margin-bottom: unset;
        align-items: center;
/*        font-size: 10pt!important;*/
    }

    .ups_logo {
        height: 4em;
        width: 8em;
        display: none;
    }
    #js-product-list-top{
        display: none;
    }
    ::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    ::-webkit-scrollbar:vertical {
        width: 12px;
    }

    ::-webkit-scrollbar:horizontal {
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, .5);
        border-radius: 10px;
        border: 2px solid #ffffff;
    }

    ::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #ffffff;
    }
}

@media (min-width:961px),  /* tablet, landscape iPad, lo-res laptops ands desktops */
(min-width:1025px), /* big landscape tablets, laptops, and desktops */
(min-width:1281px)  /* hi-res laptops and desktops */
{
    .product_date_container {
        background: #F5FFF5;
        border: 1px solid #ADE4AC;
        padding: 10px 10px;
        clear: both;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        /*margin-left: 5px;*/
        align-content: center;
        max-width: 30em;
        justify-content: center;
    }
    .ups_logo{
        height: 3em;
        width: 6em;
        margin-left: 5px;
    }
}

/* smartphones, iPhone, portrait 480x320 phones */
@media only screen
and (device-width : 375px)
and (device-height : 812px)
and (-webkit-device-pixel-ratio : 3) {
    .product_date_container {
        width: 100%!important;
        padding: 10px 5px!important;
        max-width: unset!important;
        margin-top: unset;
        margin-bottom: unset;
        background: red;
        align-items: center;
        font-size: 10pt!important;
    }
    .ups_logo {
        margin-left: 5px!important;
        display: none;
    }
}
