/* ************************************************************************************************
								Categories Page Styles
************************************************************************************************ */
.content_scene_cat { color: #d7d7d7; line-height: 19px; margin: 0 0 26px 0; }
.content_scene_cat .content_scene_cat_bg { padding: 18px 10px 10px 42px; }
@media (max-width: 1199px) { .content_scene_cat .content_scene_cat_bg { padding: 10px 10px 10px 15px; } }
.content_scene_cat span.category-name { font-size: 30px; font-weight: 600; text-transform: uppercase; line-height: 50px; color: white; margin-bottom: 12px; }
@media (max-width: 1199px) { .content_scene_cat span.category-name { font-size: 25px; line-height: 30px; } }
.content_scene_cat p { margin-bottom: 0; }
.content_scene_cat a { color: #7F6B6C; }
.content_scene_cat a:hover { text-decoration: underline; }
.content_scene_cat .content_scene { color: #666666; }
.content_scene_cat .content_scene .cat_desc { padding-top: 20px; }
.content_scene_cat .content_scene .cat_desc a { color: #777777; }
.content_scene_cat .content_scene .cat_desc a:hover { color: #515151; }

/* ************************************************************************************************
									Sub Categories Styles
************************************************************************************************ */
#subcategories { border-top: 1px solid #ebebeb; padding: 15px 0 0px 0; }
#subcategories p.subcategory-heading { font-weight: bold; color: #333333; margin: 0 0 15px 0; }
#subcategories ul { margin: 0 0 0 -20px; }
#subcategories ul li { float: left; width: 100%; margin: 0 0 0 0px; text-align: center; height: 202px; }
#subcategories ul li h5 a{color:#FFF !important; line-height: 202px !important; font-size: 28px !important;}
#subcategories ul li .subcategory-image { padding: 0 0 8px 0; }
#subcategories ul li .subcategory-image a { display: block; padding: 9px; border: 1px solid #ebebeb; }
#subcategories ul li .subcategory-image a img { max-width: 100%; vertical-align: top; }
#subcategories ul li .subcategory-name { font: 600 18px/22px "Open Sans", sans-serif; color: #555454; text-transform: uppercase; }
#subcategories ul li .subcategory-name:hover { color: #515151; }
#subcategories ul li .cat_desc { display: none; }
#subcategories ul li:hover .subcategory-image a { border: 5px solid #333333; padding: 5px; }


/* CUSTOM CSS FOR CATEGORY PAGE */

.categories-list ul li {
    padding: 3px 0;
}

.categories-list {
    width: 20%;
    float: left;
}

div#subcategories {
    width: 80%;
}

div#categories-container {
    display: flex;
}

#subcategories ul {
    display: flex;
    flex-wrap: wrap;
}

#subcategories ul li {
    width: 48%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 10px #00000040;
    border-radius: 6px;
    transition: all 0.5s ease;
    height: min-content;
    float: left;
    margin-bottom: 30px;
}

#subcategories ul li a.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

#subcategories ul li a.img-link {
    position: absolute;
    width: 100%;
    background: #f1f3f3;
    bottom: 0;
    padding: 14px;
    background-color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.categories-list ul li a {
    display: block;
    width: 100%;
    font-size: 1.5rem;
    font-weight: 400;
    color: #000;
    padding: 6px 0;
}

#subcategories ul li:hover {
    box-shadow: 0 0 20px #00000059;
}

#subcategories ul li:nth-child(5n + 1) {
    width: 100%;
}

.the-row {
    display: flex;
    width: 50%;
    padding: 10px 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.the-row:nth-child(even) {
    flex-wrap: wrap-reverse;
}

.categories-list h3 {
    padding: 10px 0px 20px 0;
    font-size: 27px;
    color: #000;
    font-family: 'Poppins';
    position: relative;
}

.categories-list h3:before {
    content: '';
    position: absolute;
    width: 40%;
    height: 4px;
    background: #d4d4d4;
    bottom: 9px;
}


@media screen and (min-width: 1024px) and (max-width: 1365px) {
.categories-list h3 {
    font-size: 16px;
}

#subcategories ul li {
    margin-bottom: 20px;
}

.categories-list ul li a {
    font-size: 13px;
}
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
.categories-list h3 {
    font-size: 12px;
}

#subcategories ul li {
    margin-bottom: 20px;
}

.categories-list ul li a {
    font-size: 11px;
    padding: 0;
}
}

@media screen and (min-width: 320px) and (max-width: 767px) {
.categories-list h3 {
    font-size: 12px;
}

#subcategories ul li {
    margin-bottom: 20px;
}

.categories-list ul li a {
    font-size: 11px;
    padding: 0;
}

.categories-list {
    width: 100%;
}

div#categories-container {
    flex-direction: column;
}

div#subcategories {
    width: 100%;
}

.the-row {
    width: 100%;
}
}



.the-row li a {
    font-family:'Poppins';
    font-weight:400 !important;
    font-size:1.5rem !important;
    color:#000;
}

.categories-list{
    border-top: 1px solid #ebebeb;
}


    

/* CUSTOM CSS FOR CATEGORY PAGE */