.category-thums-block {
    margin-left: -13px;
    font-size: 0;
    text-align: center;
}
.category-thumb {
    float: none;
    display: inline-block;
}
.category-link {
    border: 2px solid #313131;
    padding: 10px;
    margin-left: -2px;
    margin-top: -2px;
    font-size: 14px;
}
.category-link a.block {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #4d4d4d;
    font-weight: bold;
}
.category-link img {
    width: 40%;
}
.gems-banner, .video-banner {
    border: 2px solid #313131;
}
.gemstone-header .mobile-banners .owl-item {
    border: 4px solid #161616;
}

.gemstone-header .video-banner {
    margin-left: -1px;
}

.owl-prev {
    position: absolute;
    bottom: 40%;
    padding: 1%;
    background: white;
    left: 0;
    height: 22%;
	border: 0
}
.owl-next {
    position: absolute;
    bottom: 40%;
    padding: 1%;
    background: white;
    right: 0;
    height: 22%;
	border: 0
}
.owl-item a {
    display: block;
}

.category-link.active-cat::before {
    content: "Items Listed Below";
    position: absolute;
    border: 4px solid white;
    bottom: 2px;
    left: 0px;
    width: calc(100% - 2px);
    z-index: 500;
    padding: 5px;
    opacity: 0.9;
}

.amethyst .active-cat::before {
	background-color: #660e7c;
	color: #ffffff;
}

.emerald .active-cat::before {
	background-color: #0e8e5f;
	color: #FFFFFF;
}

.blue.topaz .active-cat::before {
	background-color: #09F;
	color: white;
}

.citrine .active-cat::before {
	background-color: #FC0;
	color: #413400;
}


.garnet .active-cat::before {
	background-color: #a01113;
	color: white;
}

.green.amethyst .active-cat::before {
	background-color: #399;
	color: white;
}

.aquamarine .active-cat::before {
	background-color: #9CF;
	color: #08335E;
}

.morganite .active-cat::before {
	background-color: #F96;
	color: white;
}

.Mystic.Topaz .active-cat::before {
	background-color: #887A96;
	color: #210042;
}

.opal .active-cat::before {
	background-color: #FCF;
	color: #3A3A3A;
}

.pearl .active-cat::before {
	background-color: #FCC;
	color: #313131;
}

.peridot .active-cat::before {
	background-color: #9C0;
	color: white;
}

.pink.gemstone .active-cat::before {
	background-color: #F9C;
	color:  #3D2B34;
}

.ruby .active-cat::before {
	background-color: #F36;
	color: white;
}

.sapphire .active-cat::before {
	background-color: #336;
	color: white;
}

.tanzanite .active-cat::before {
	background-color: #36C;
	color: white;
}

.category-thums-block .col-md-3.col-sm-3.col-xs-6 {
    padding: 0 !important;
}

/***** Add Flexbox Start */
.category-thums-block .category-thumb .category-link img {
    max-width: 105px;
}
.category-link a.block {
        border: 0;
    }

@media only screen and (min-width: 768px) {
    .category-thums-block {
        display: flex;
        flex-direction: row;
    }

    .category-thums-block .category-thumb {
        flex-grow: 1;
    }

    .category-link a.block {
        white-space: normal;
        line-height: 1.1;
        border: 0;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .category-thums-block .category-thumb .category-link img {
        width: 65%;
    }
}
/***** Add Flexbox End */

