.amasty-label-container{
    line-height: normal;
    position: absolute;
    z-index: 995 ;
}

/*
Amasty Label version 2.3.5 uses amlabel-text as the label text class.
The amasty-label-text class is also needed here to keep the rule backwards compatible with the module versions.
*/
.amasty-label-text,
.amlabel-text{
    padding: 0 3px;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
}

.amlabel-top-left{
    top  : 0;
    left : 0;
}

.amlabel-top-center{
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

.amlabel-top-right{
    top  : 0;
    right : 0;
}

.amlabel-middle-left{
    left : 0;
    top   : 0;
    bottom  : 0;
    margin-top: auto;
    margin-bottom: auto;
}

.amlabel-middle-center{
    top   : 0;
    bottom  : 0;
    margin-top: auto;
    margin-bottom: auto;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

.amlabel-middle-right{
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    right: 0;
}

.amlabel-bottom-left{
    bottom: 0;
    left: 0;
}

.amlabel-bottom-center{
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

.amlabel-bottom-right{
    bottom: 0;
    right: 0;
}

#search-box-container .product-item a.product-item-photo {
    position: relative;
}
