/**
 * 2021 Anvanto
 *
 * NOTICE OF LICENSE
 *
 * This file is not open source! Each license that you purchased is only available for 1 wesite only.
 * If you want to use this file on more websites (or projects), you need to purchase additional licenses. 
 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
 *
 *  @author Anvanto <anvantoco@gmail.com>
 *  @copyright  2021 Anvanto
 *  @license    Valid for 1 website (or project) for each purchase of license
 *  International Registered Trademark & Property of Anvanto
 */

.an_homecategories {
    margin-bottom: 64px;
}
.an_homecategories-head {
    margin-bottom: 30px;
}
.an_homecategories-head .an_homecategories-title {
    margin: 0 0 10px;
    text-align: center;
}
.an_homecategories-head p:not(.an_homecategories-title) {
    text-align: center;
}
.an_homecategories-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -15px 0 0;
}
.an_homecategories-slider {
    margin: 0;
}
.an_homecategories-item {
    position: relative;
    overflow: hidden;
}
.an_homecategories-item {
    display: block;
    max-width: 20%;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0 15px 15px 0;

}
.an_homecategories-slider .an_homecategories-item {
    max-width: 100%;
    padding: 0;
    margin: 0 auto 15px;
}
.an_homecategories-slider .an_homecategories-item-desc {
    right: 0;
    bottom: 0;
}
.an_homecategories-item .an_homecategories-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.an_homecategories-item .an_homecategories-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
}
.an_homecategories-item-desc {
    text-align: center;
    position: absolute;
    top: 0;
    right: 15px;
    bottom: 15px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.an_homecategories-item-desc .h6 {
    text-transform: uppercase;
    text-decoration: underline;
    margin-bottom: 2px;
    line-height: 1.2;
    color: #fff;
}
.an_homecategories-item-desc:hover .h6 {
    text-decoration: none;
}
.an_homecategories-item-desc p:not(.h6) {
    margin-bottom: 0;
    text-align: center;
}
.an_homecategories .owl-carousel .owl-item img {
    width: 100%;
    max-width: 100%;
}
.an_homecategories .owl-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.an_homecategories .owl-dots .owl-dot {
    margin: 5px;
}
.an_homecategories .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    margin: 0;
}
.an_homecategories .owl-dots .owl-dot.active span,
.an_homecategories .owl-dots .owl-dot:hover span {
    background: #000;
}
.an_homecategories .an_homecategories-nav {
    display: flex;
    justify-content: center;
}
.an_homecategories .an_homecategories-nav .owl-prev,
.an_homecategories .an_homecategories-nav .owl-next {
    margin: 5px;
}
.an_homecategories .an_homecategories-nav .disabled i {
    opacity: .5;
    cursor: no-drop;
}
.an_homecategories .an_homecategories-nav i {
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    font-size: 21px;
    height: 35px;
    line-height: 35px;
    width: 35px;
    text-align: center;
}
.an_homecategories .an_homecategories-nav i:hover {
    background: #000;
    color: #fff;
}
@media (max-width: 767px) {
    .an_homecategories-item {
        max-width: 50%;
    }
}
@media (max-width: 480px) {
    .an_homecategories-item {
        max-width: 100%;
    }
}