/**
 * 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: 56px 0 78px;
    position: relative;
    overflow: hidden;
}
.an_homecategories .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px;
    padding-top: 60px;
    padding-bottom: 30px;
}
.an_homecategories-head {
    margin-bottom: 30px;
}
.an_homecategories-head .an_homecategories-title {
    margin: 0 0 18px;
    text-align: left;
    color: #fff;
}
.an_homecategories-head p:not(.an_homecategories-title) {
    color: #fff;
    text-align: left;
}
.an_homecategories-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -15px;
}
.an_homecategories-slider {
    margin: 0 0 71px;
}
.an_homecategories-item {
    position: relative;
    overflow: hidden;
}
.an_homecategories-item {
    width: calc(25% - 30px);
    position: relative;
    border: 2px solid #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 200px;
    padding: 29px 29px;
    margin: 0 15px 30px;
}
.an_homecategories-slider .an_homecategories-item {
    margin: 0;
    width: 100%;
}
.an_homecategories-item .an_homecategories-image {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 60px;
}
.an_homecategories-item .an_homecategories-image img {
    max-width: 100%;
    height: auto;
}
.an_homecategories-item-desc .h5 {
    color: #fff;
    font-weight: 700;
    margin: 9px 0 0;
}
.an_homecategories-item-desc p:not(.h5) {
    margin-bottom: 0;
    text-align: center;
}
.an_homecategories .owl-carousel .owl-item img {
    width: auto;
    max-width: 100%;
}


.an_homecategories-controls {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 2;
}
.an_homecategories-controls-wrap {
    position: relative;
    padding: 0 25px;
}
.an_homecategories-nav {
    display: flex;
    justify-content: center;
}
.an_homecategories-nav.disabled {
    display: none;
}
.an_homecategories-controls .owl-prev,
.an_homecategories-controls .owl-next {
    position: absolute;
    display: flex;
    align-items: center;
    top: calc(50% - 9px);
    cursor: pointer;
}
.an_homecategories-controls .owl-prev {
    left: 1px;
}
.an_homecategories-controls .owl-next {
    right: 0;
}
.an_homecategories-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}
.an_homecategories-dots .owl-dot {
    display: inline-block;
    zoom: 1;
    *display: inline;
}
.an_homecategories-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 4px 6px;
    background: #fff;
    display: block;
    -webkit-backface-visibility: visible;
    transition: all 200ms ease;
    border-radius: 50%;
    cursor: pointer;
}

/*** effects ***/
.an_homecategories-item:hover {
    border-color: transparent;
    z-index: 1;
}
.an_homecategories-item:hover::before {
    content: "";
    display: block;
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    opacity: 0.9;
    z-index: -1;
}
@media (max-width: 991px) {
    .an_homecategories-item {
        width: calc(33.3333% - 30px);
    }
}
@media (max-width: 600px) {
    .an_homecategories-item {
        width: calc(50% - 30px);
    }
}
@media (max-width: 400px) {
    .an_homecategories-item {
        width: calc(100% - 30px);
    }
}