/**
 * 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-top: 70px;
    margin-bottom: 74px;
}
.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;
    justify-content: space-between;
    margin: 0;
}
.an_homecategories-slider {
    margin: 0!important;
}
.an_homecategories-item {
    position: relative;
}
.an_homecategories-item {
    display: block;
    max-width: 100%;
    position: relative;
    margin: 0;

}
.an_homecategories-slider .an_homecategories-item {
    margin: 0 auto 30px;
}
.an_homecategories-item .an_homecategories-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.an_homecategories-item .an_homecategories-image img {
    max-width: 100%;
}
.an_homecategories-item-desc {
    position: absolute;
    top: 46px;
    left: 38px;
    text-transform: uppercase;
    z-index: 2;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}
.an_homecategories-item-desc .h2 {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
}
.an_homecategories-item-desc p:not(.h2) {
    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 {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    margin: 5px;
}
.an_homecategories .owl-dots .owl-dot.active,
.an_homecategories .owl-dots .owl-dot:hover {
    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;
}
/*** effects ***/
.an_homecategories-item .an_homecategories-image {
    position: relative;
    overflow: hidden;
    transition: all .4s;
}
.an_homecategories-item .an_homecategories-image:hover {
    box-shadow: 0 5px 15px 0 rgb(0 0 0 / 35%);
}
.an_homecategories-item .an_homecategories-image::before,
.an_homecategories-item .an_homecategories-image::after {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.35s,-webkit-transform 0.35s;
    transition: opacity 0.35s,transform 0.35s;
}
.an_homecategories-item .an_homecategories-image::before {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: scale(0,1);
    transform: scale(0,1);
}
.an_homecategories-item .an_homecategories-image::after {
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: scale(1,0);
    transform: scale(1,0);
}
.an_homecategories-item .an_homecategories-image:hover::before,
.an_homecategories-item .an_homecategories-image:hover::after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

@media (max-width: 1200px) {
    .an_homecategories-list {
        justify-content: center;
        margin: 0 -10px;
    }
    .an_homecategories-item {
        display: block;
        margin: 0 10px 20px;
    }
}
@media (max-width: 767px) {
    .an_homecategories-list {
        flex-wrap: wrap;
    }
}