/* Apptrian Subcategories Redesign */

/* Container styles */
.apptrian-subcategories-container {
    display: flex;
    align-items: center;
    position: relative;
    margin: 20px 0;
    overflow: visible;
    width: 100%;
    direction: ltr;
}

.apptrian-subcategories-wrapper {
    overflow: hidden;
    flex: 1;
}

/* Category list */
.apptrian-subcategories-list {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: transform 0.5s ease;
    width: max-content;
}

.apptrian-subcategories-item {
    margin: 0 10px;
    padding: 0;
}

/* Category styling */
.apptrian-subcategories-category {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.apptrian-subcategories-category:hover {
    transform: translateY(-3px);
}

/* Image container */
.apptrian-subcategories-category-image {
    position: relative;
    width: 165px;
    height: 165px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.apptrian-subcategories-category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.apptrian-subcategories-category:hover .apptrian-subcategories-category-image img {
    transform: scale(1.05);
}

/* Category name styling */
.apptrian-subcategories-category-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 10px 5px;
    transition: background-color 0.3s ease;
}

.apptrian-subcategories-category:hover .apptrian-subcategories-category-name {
    background-color: rgba(255, 255, 255, 0.95);
}

.apptrian-subcategories-category-name span,
.apptrian-subcategories-category-name a span {
    color: #000;
    font-weight: 600;
    font-size: 14px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 95%;
    margin: 0 auto;
}

.apptrian-subcategories-category-name a:hover {
    color: #6a8aa6;
    text-decoration: none;
}

button.apptrian-subcategories-nav:hover {
    background-color: transparent;
}

/* Navigation buttons */
.apptrian-subcategories-nav {
    width: 40px;
    height: 40px !important;
    background: none;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /*margin: 0 20px;*/
    color: #222222 !important;
    transition: color 0.3s ease;
    z-index: 2;
    flex-shrink: 0;
    padding: 0 !important;
    margin: 0 !important;
}

.apptrian-subcategories-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.apptrian-subcategories-nav svg {
    width: 36px;
    height: 36px;
}

/* Heading */
.apptrian-subcategories-heading {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

/* RTL Support */
.rtl .apptrian-subcategories-category-name span,
.rtl .apptrian-subcategories-category-name a span {
    direction: rtl;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .apptrian-subcategories-nav {
        margin: 0 15px;
    }

    .apptrian-subcategories-item {
        margin: 0 6px;
    }

    .apptrian-subcategories-category-name {
        padding: 8px 4px;
    }
}

@media (max-width: 480px) {
    .apptrian-subcategories-category-image {
        width: 120px;
        height: 120px;
    }

    .apptrian-subcategories-category-image img {
        max-height: 120px;
        min-width: 120px;
        min-height: 120px;
        max-width: 120px;
    }

    .apptrian-subcategories-category-name span,
    .apptrian-subcategories-category-name a span {
        width: 93px;
        font-size: 12px;
    }

    .apptrian-subcategories-nav {
        margin: 0 10px;
    }

    .apptrian-subcategories-item {
        margin: 0 4px;
    }
}
html, body {
	overflow-x: hidden;
}
.clear { clear: both; }
.sidebar .block-tag .tag-list { padding-left: 0; }
.shop-by-tag .all-tags ul.tag-list { list-style: none; padding: 0; }
.tag-list .shop-by-tag .item {
    float: left;
    text-align: center;
	width: 20%;
	margin-bottom: 20px;
}
.tag-list .shop-by-tag .item .tag-content {
	border: 1px solid transparent;
	box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0);
	margin: 0 10px;
}
.tag-list .shop-by-tag .item .tag-content img {
	margin: 0 auto;
}
.rtlsol-tag-widget .owl-carousel .owl-item .item {
	padding: 0 10px;
}
.tag-list .shop-by-tag .item:hover .tag-content {
	border: 1px solid #bbb;
    box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.3);
}
.tag-list .shop-by-tag .item:nth-child(5n+1) {
    margin-left: 0;
    clear: left;
}

.shop-by-tag .description {
    margin: 0 0 10px;
}

.shop-by-tag .search {
    margin-bottom: 10px;
}

.shop-by-tag .search .fields {
    margin-bottom: 10px;
}

.shop-by-tag .characters ul.characters-filter {
    list-style: none;
    float: left;
}

.shop-by-tag .characters .view-all {
    float: right;
}

.shop-by-tag .characters ul.characters-filter li {
    float: left;
}

.shop-by-tag .characters ul.characters-filter li a {
    text-decoration: none;
}

.shop-by-tag .characters ul.characters-filter li a {
    display: block;
    border: 1px solid transparent;
    height: 28px;
    line-height: 28px;
    width: 28px;
    text-align: center;
}

.shop-by-tag .characters ul.characters-filter li a:hover,
.shop-by-tag .characters ul.characters-filter li.active a {
    background-color: #006bb4;
    color: #ffffff;
    border: 1px solid #006bb4;
}

.shop-by-tag .featured-tags {
    clear: both;
}

.shop-by-tag .featured-tags ul.featured-tag-list {
    list-style: none;
	padding: 0;
}

.tag-product-list {
    position: relative;
    padding-top: 50px;
}

.rtlsol-tag-widget {
    clear: both;
}
.rtlsol-tag-widget ul li .name {
    text-align: center;
}

.block-tag .block-title {
    margin: 0 0 20px;
}

.block-tag .block-title strong {
    font-size: 18px;
    font-weight: 300;
}

.block-tag ul.tag-list {
    list-style: none;
}
.tag-tag-view .tag-description {
	margin-bottom: 30px;
}
.tag-tag-view.page-products .products-grid .product-item {
	margin-left: 0;
}
.rtlsol-tag-widget  .owl-carousel {
	padding-left: 0;
}
.rtlsol-tag-widget  .item {
	text-align: center;
}
.rtlsol-tag-widget  .item img {
	margin: 0 auto;
}
.tag-tag-view .tag-info  .tag-image {
	margin-bottom: 30px;
}
.tag-tag-view .tag-info  .tag-image img {
	width: 100%;
}
@media (max-width: 767px) {
	.tag-list .item {
		width: 33.3333%;
	}
}
@media (max-width: 360px) {
	.tag-list .item {
		width: 100%;
	}
}
.featured-tags.tag-list{
text-align: center;
}
/* 
 * 	Core Owl Carousel CSS File
 *	v1.3.3
 */

/* clearfix */
.owl-carousel .owl-wrapper:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
/* display none until init */
.owl-carousel{
	display: none;
	position: relative;
	width: 100%;
	-ms-touch-action: pan-y;
}
.owl-carousel .owl-wrapper{
	display: none;
	position: relative;
	-webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper-outer{
	overflow: hidden;
	position: relative;
	width: 100%;
}
.owl-carousel .owl-wrapper-outer.autoHeight{
	-webkit-transition: height 500ms ease-in-out;
	-moz-transition: height 500ms ease-in-out;
	-ms-transition: height 500ms ease-in-out;
	-o-transition: height 500ms ease-in-out;
	transition: height 500ms ease-in-out;
}
	
.owl-carousel .owl-item{
	float: left;
}
.owl-controls .owl-page,
.owl-controls .owl-buttons div{
	cursor: pointer;
}
.owl-controls {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* mouse grab icon */
.grabbing { 
    cursor:url(../../frontend/Smartwave/portortl_child/ar_SA/RTLSOL_Tag/css/grabbing.png) 8 8, move;
}

/* fix */
.owl-carousel  .owl-wrapper,
.owl-carousel  .owl-item{
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility:    hidden;
	-ms-backface-visibility:     hidden;
  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  -ms-transform: translate3d(0,0,0);
}

/*
* 	Owl Carousel Owl Demo Theme 
*	v1.3.3
*/

.owl-theme .owl-controls{
	margin-top: 10px;
	text-align: center;
}

/* Styling Next and Prev buttons */

.owl-theme .owl-controls .owl-buttons div{
	color: #FFF;
	display: inline-block;
	zoom: 1;
	*display: inline;/*IE7 life-saver */
	margin: 5px;
	padding: 3px 10px;
	font-size: 12px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	background: #869791;
	filter: Alpha(Opacity=50);/*IE7 fix*/
	opacity: 0.5;
}
/* Clickable class fix problem with hover on touch devices */
/* Use it for non-touch hover action */
.owl-theme .owl-controls.clickable .owl-buttons div:hover{
	filter: Alpha(Opacity=100);/*IE7 fix*/
	opacity: 1;
	text-decoration: none;
}

/* Styling Pagination*/

.owl-theme .owl-controls .owl-page{
	display: inline-block;
	zoom: 1;
	*display: inline;/*IE7 life-saver */
}
.owl-theme .owl-controls .owl-page span{
	display: block;
	width: 12px;
	height: 12px;
	margin: 5px 7px;
	filter: Alpha(Opacity=50);/*IE7 fix*/
	opacity: 0.5;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background: #869791;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span{
	filter: Alpha(Opacity=100);/*IE7 fix*/
	opacity: 1;
}

/* If PaginationNumbers is true */

.owl-theme .owl-controls .owl-page span.owl-numbers{
	height: auto;
	width: auto;
	color: #FFF;
	padding: 2px 10px;
	font-size: 12px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

/* preloading images */
.owl-item.loading{
	min-height: 150px;
	background: url(../../frontend/Smartwave/portortl_child/ar_SA/RTLSOL_Tag/css/AjaxLoader.gif) no-repeat center center
}/* 
 *  Owl Carousel CSS3 Transitions 
 *  v1.3.2
 */

.owl-origin {
	-webkit-perspective: 1200px;
	-webkit-perspective-origin-x : 50%;
	-webkit-perspective-origin-y : 50%;
	-moz-perspective : 1200px;
	-moz-perspective-origin-x : 50%;
	-moz-perspective-origin-y : 50%;
	perspective : 1200px;
}
/* fade */
.owl-fade-out {
  z-index: 10;
  -webkit-animation: fadeOut .7s both ease;
  -moz-animation: fadeOut .7s both ease;
  animation: fadeOut .7s both ease;
}
.owl-fade-in {
  -webkit-animation: fadeIn .7s both ease;
  -moz-animation: fadeIn .7s both ease;
  animation: fadeIn .7s both ease;
}
/* backSlide */
.owl-backSlide-out {
  -webkit-animation: backSlideOut 1s both ease;
  -moz-animation: backSlideOut 1s both ease;
  animation: backSlideOut 1s both ease;
}
.owl-backSlide-in {
  -webkit-animation: backSlideIn 1s both ease;
  -moz-animation: backSlideIn 1s both ease;
  animation: backSlideIn 1s both ease;
}
/* goDown */
.owl-goDown-out {
  -webkit-animation: scaleToFade .7s ease both;
  -moz-animation: scaleToFade .7s ease both;
  animation: scaleToFade .7s ease both;
}
.owl-goDown-in {
  -webkit-animation: goDown .6s ease both;
  -moz-animation: goDown .6s ease both;
  animation: goDown .6s ease both;
}
/* scaleUp */
.owl-fadeUp-in {
  -webkit-animation: scaleUpFrom .5s ease both;
  -moz-animation: scaleUpFrom .5s ease both;
  animation: scaleUpFrom .5s ease both;
}

.owl-fadeUp-out {
  -webkit-animation: scaleUpTo .5s ease both;
  -moz-animation: scaleUpTo .5s ease both;
  animation: scaleUpTo .5s ease both;
}
/* Keyframes */
/*empty*/
@-webkit-keyframes empty {
  0% {opacity: 1}
}
@-moz-keyframes empty {
  0% {opacity: 1}
}
@keyframes empty {
  0% {opacity: 1}
}
@-webkit-keyframes fadeIn {
  0% { opacity:0; }
  100% { opacity:1; }
}
@-moz-keyframes fadeIn {
  0% { opacity:0; }
  100% { opacity:1; }
}
@keyframes fadeIn {
  0% { opacity:0; }
  100% { opacity:1; }
}
@-webkit-keyframes fadeOut {
  0% { opacity:1; }
  100% { opacity:0; }
}
@-moz-keyframes fadeOut {
  0% { opacity:1; }
  100% { opacity:0; }
}
@keyframes fadeOut {
  0% { opacity:1; }
  100% { opacity:0; }
}
@-webkit-keyframes backSlideOut {
  25% { opacity: .5; -webkit-transform: translateZ(-500px); }
  75% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); }
  100% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); }
}
@-moz-keyframes backSlideOut {
  25% { opacity: .5; -moz-transform: translateZ(-500px); }
  75% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); }
  100% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); }
}
@keyframes backSlideOut {
  25% { opacity: .5; transform: translateZ(-500px); }
  75% { opacity: .5; transform: translateZ(-500px) translateX(-200%); }
  100% { opacity: .5; transform: translateZ(-500px) translateX(-200%); }
}
@-webkit-keyframes backSlideIn {
  0%, 25% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(200%); }
  75% { opacity: .5; -webkit-transform: translateZ(-500px); }
  100% { opacity: 1; -webkit-transform: translateZ(0) translateX(0); }
}
@-moz-keyframes backSlideIn {
  0%, 25% { opacity: .5; -moz-transform: translateZ(-500px) translateX(200%); }
  75% { opacity: .5; -moz-transform: translateZ(-500px); }
  100% { opacity: 1; -moz-transform: translateZ(0) translateX(0); }
}
@keyframes backSlideIn {
  0%, 25% { opacity: .5; transform: translateZ(-500px) translateX(200%); }
  75% { opacity: .5; transform: translateZ(-500px); }
  100% { opacity: 1; transform: translateZ(0) translateX(0); }
}
@-webkit-keyframes scaleToFade {
  to { opacity: 0; -webkit-transform: scale(.8); }
}
@-moz-keyframes scaleToFade {
  to { opacity: 0; -moz-transform: scale(.8); }
}
@keyframes scaleToFade {
  to { opacity: 0; transform: scale(.8); }
}
@-webkit-keyframes goDown {
  from { -webkit-transform: translateY(-100%); }
}
@-moz-keyframes goDown {
  from { -moz-transform: translateY(-100%); }
}
@keyframes goDown {
  from { transform: translateY(-100%); }
}

@-webkit-keyframes scaleUpFrom {
  from { opacity: 0; -webkit-transform: scale(1.5); }
}
@-moz-keyframes scaleUpFrom {
  from { opacity: 0; -moz-transform: scale(1.5); }
}
@keyframes scaleUpFrom {
  from { opacity: 0; transform: scale(1.5); }
}

@-webkit-keyframes scaleUpTo {
  to { opacity: 0; -webkit-transform: scale(1.5); }
}
@-moz-keyframes scaleUpTo {
  to { opacity: 0; -moz-transform: scale(1.5); }
}
@keyframes scaleUpTo {
  to { opacity: 0; transform: scale(1.5); }
}