/**
 * 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: 52px;
    position: relative;
}
.an_homecategories-head {
    margin: 30px 0;
}
.an_homecategories-head .an_homecategories-title {
    line-height: 1.2225;
    margin: 0 0 10px;
    text-align: center;
    font-size: 32px;
    font-weight: 300;
    text-transform: none;
}
.an_homecategories-head p:not(.an_homecategories-title) {
    text-align: center;
}
.an_homecategories-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
}
.an_homecategories-slider {
    margin: 0;
}
.an_homecategories-item {
    position: relative;
    overflow: hidden;
}
.an_homecategories-item {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    width: 33.33334%;
    max-width: 100%;
}
.an_homecategories-slider .an_homecategories-item {
    width: 100%;
}
.an_homecategories-item .an_homecategories-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    margin-bottom: 0;
}
.an_homecategories-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.an_homecategories-item .an_homecategories-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
}
.an_homecategories-item-desc {
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 40px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: rgba(255,255,255,.9);
}
.an_homecategories-item-desc .h6 {
    margin: -2px 0 5px;
    font-size: 26px;
    font-weight: 300;
    text-align: center;
    line-height: 1.2;
    color: #000;
}
.an_homecategories-item-desc p:not(.h6) {
    margin-bottom: 0;
    text-align: center;
}
.an_homecategories .owl-carousel .owl-item img {
    width: auto;
    max-width: 100%;
}
.an_homecategories .owl-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    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 {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.an_homecategories .an_homecategories-nav .disabled i {
    opacity: .5;
    cursor: no-drop;
}
.an_homecategories .an_homecategories-nav i {
    color: #c8c8c8;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border: 1px solid #c8c8c8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    margin: 5px;
}
.an_homecategories .an_homecategories-nav i:hover {
    background: #000;
    color: #fff;
}
/*** effects ***/
.an_homecategories-item .an_homecategories-image {
    position: relative;
    overflow: hidden;
}
.an_homecategories-item .an_homecategories-image::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}
.an_homecategories-item:hover .an_homecategories-image::before {
    -webkit-animation: shine .75s;
    animation: shine .75s;
}
@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}
@keyframes shine {
    100% {
        left: 125%;
    }
}

@media (max-width: 991px) {
    .an_homecategories-item {
        width: 100%;
    }
}
@media (max-width: 380px) {
    .an_homecategories-item-desc {
        left: 30px;
        right: 30px;
        bottom: 30px;
    }
}