@include media-breakpoint-down(md){
	.tparrows{
		display: none!important;
	}
} 

ul.nav-tabs{  
	overflow: hidden;
	display: inline-block;
	> li{
		white-space: nowrap; 
		display: inline-block;
		> a{
			margin: 0 6px;
			background: $nocolor;
			padding: 8px 15px;
			font-size: 13px;
			font-weight: 500;
			@include border-radius(5px);
			&:hover, &:focus, &:active{
				color: $theme-color;
			}
		}  
		&.active{
			> a{
				background: $theme-color;
			}
		}
	}
}

#gva-filter-overlay, #gva-overlay{
	position: fixed;
	@include size(100%, 100%);
	background: rgba(0, 0, 0, 0.6);
	top: 0;
	left: 0;
	z-index: 99;
	display: none;
	&.open{
	  display: block;
	}
	&:hover{
	  cursor: pointer;
	}
}

.swiper{
	width: 100%;
	height: 100%;
}

.swiper-slide{
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	width: 25%;
	@media(max-width: 768px){
		width: 100%;
	}
}

.swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.swiper-content-inner{
	margin: 0 -15px;
	overflow: hidden;
	.init-carousel-swiper, .init-carousel-swiper-theme{
		padding: 0 15px;
		overflow: visible;
		max-height: 320px;
		&:after{
		 	content: "";
		 	background: url('#{$image-theme-path-base}preloader.gif') no-repeat center center $white;
		 	position: absolute;
		 	top: 0;
		 	left: 0;
		 	z-index: 999; 
		 	@include size(100%, 100%);
	  	}
	  	.swiper-wrapper{
			opacity: 0;
			> .swiper-slide:not(:first-child){
				display: none;
			}
	  	}
		&.swiper-initialized, &.swiper-container-initialized{
			max-height: initial;
			&:after{
				display: none!important;
		 	}
		 	.swiper-wrapper{
		 		opacity: 1;
		 		> .swiper-slide{
		 			display: flex;
		 		}
		 	}
		}
	}
}
.margin-disable{
	.swiper-content-inner{
		margin: 0;
		.init-carousel-swiper, .init-carousel-swiper-theme{
			padding: 0;
		}
	}
}

.swiper-slider-wrapper{
	position: relative;
	.swiper-nav-next, .swiper-nav-prev{
		width: 56px;
		height: 56px;
		line-height: 1;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		background: $white;
		border-radius: 50%;
		box-shadow: 0 3px 30px 0 rgba(0, 0, 0, 0.1);
		color: $theme-color;
		transition: all 0.35s;
		background-size: 10px;
		opacity: 0;
		z-index: 11;
		font-size: 18px;
		@media(max-width: 1280px){
			width: 40px;
			height: 40px;
			font-size: 16px;
		}
		&:after{
		  font-family: 'ticomoon';
		  text-align: center;
		  display: inline-block;
		  width: 100%;
		  font-weight: 900;
		}
		&:hover{
			background: $theme-color;
			color: $white;
		}
	}
	.swiper-nav-next{
		right: -30px!important;
		@media(max-width: 1280px){
			right: -10px!important;
		}
		&:after{
			content: "\e936";
		}
	}
	.swiper-nav-prev{
		left: -30px!important;
		@media(max-width: 1280px){
			left: -10px!important;
		}
		&:after{
			content: '\e937';
		}
	}
	&:hover{
		.swiper-nav-next, .swiper-nav-prev{
         opacity: 1;
         &:hover, &:focus{
            opacity: 1;
         }
		}
	}
	.swiper-pagination{
		position: relative;
		display: flex;
		justify-content: center;
      margin-top: 20px;
		> span{
			margin: 0 5px;
			width: 35px;
			height: 3px;
			transition: all 0.35s;
         background: transparent;
         border-radius: 0;
         background: $border-color;
         //border-bottom: 3px solid $border-color;
         position: relative;
         opacity: 1;
         border-radius: 5px;
         position: relative;
         &:after{
            content: '';
            height: 20px;
            width: 100%;
            position: absolute;
            top: -8px;
            left: 0;
            z-index: 11;
         }
			&.swiper-pagination-bullet-active{
				background: $theme-color;
			}
		}
	}
} 

.swiper-slide img{
	max-width: 100%;
	width: auto;
	height: auto;
}

.swiper-pagination-bullets-dynamic{
	left: 50%;
	transform: translateX(-50%)!important;
	white-space: nowrap;
	span{
		transition: .3s transform,.3s left;
	}
}

.select2-container{
   width: 100%!important;
   .select2-dropdown{
      border: 1px solid $border-color;
      box-shadow: 0 5px 12px rgba(0, 0, 0, 0.16);
      .select2-selection__rendered{
         outline: none!important;
      }
      .select2-search--dropdown{
         padding: 15px;
         .select2-search__field{
            height: 32px;
         }
      }
      ul.select2-results__options{
         li{
            padding: 3px 15px;
            font-size: 14px;
            &.select2-results__option--highlighted{
               background: #F6F6F6;
               color: $theme-color;
            }
            &[aria-selected="true"]{
               background: #F6F6F6;
               color: $theme-color;
            }
         }
      }
   }
   &.option-select2-filter{
      .select2-dropdown--above{
         margin-top: -6px;
      }  
      .select2-dropdown--below{
         margin-top: 6px;
      }
   }
   .select2-selection{
      outline: none;
      height: 51px;
      border: 1px solid $border-color!important;
      background: $white;
      padding: 0 10px;
      line-height: 32px!important;
      &.select2-selection--single{
         height: 50px;
      }
      .select2-selection__arrow{
         background-image: url('#{$image-theme-path-base}down-arrow.svg')!important;
         background-repeat: no-repeat;
         background-position: center center;
         background-size: 12px;
         border: none;
         width: 12px!important;
         height: 12px!important;
         top: 50%!important;
         right: 16px!important;
         margin-top: -3px;
         transition: all 0.35s;
         b{
            display: none;
         }
      }
      .select2-selection__rendered{
         outline: none!important;
         line-height: 50px!important;
         .select2-selection__placeholder{
            color: $body-color;
            line-height: 50px;
         }
         .select2-selection__clear{
            font-size: 18px;
            background: $theme-color;
            color: $white;
            @include size(20px, 20px);
            border-radius: 4px;
            line-height: 18px;
            text-align: center;
            position: absolute;
            top: 50%;
            margin-top: -8px;
            right: 16px;
            transition: all 0.35s;
            z-index: 11;
            &:hover{
               background: $black;
            }
         }
      }
   }
   &.select2-container--open{
      .select2-selection{
         .select2-selection__arrow{
            @include rotate(-180deg);
         }
      }
   }
}

body.logged-in{
   &.admin-bar{
      .select2-container{
         .select2-dropdown--below, .select2-dropdown--above{
            top: 32px;
         }
      }
   }
}

.select2-selection{
   &.select2-selection--multiple{
      .select2-selection__rendered{
         padding: 0;
         li{
            &.select2-selection__choice{
               border: 1px solid $border-color;
               background: $border-color;
               color: $black;
               margin: 5px;
               line-height: 38px;
               padding: 0 15px;
               font-weight: 600;
               .select2-selection__choice__remove{
                  color: $white;
                  background: $theme-color;
                  @include size(22px, 22px);
                  line-height: 21px;
                  border-radius: 3px;
                  text-align: center;
                  margin-right: 6px;
               }
            }
            &.select2-search--inline{
               margin: 0 10px;
               line-height: 50px;
            }
         }
      }
   }
}

#ui-datepicker-div{
	font-size: 14px;
	font-family: $headings-font-family;
	font-weight: 500;
	select{
		height: 32px;
		line-height: 32px;
		background: #FAFBFC;
	}
	button{
		text-transform: uppercase;
		letter-spacing: 1px;
		font-family: $headings-font-family;
		background: $theme-color;
		color: $white;
		font-size: 12px;
		font-weight: 600;
		border: none;
	}
	.ui-widget-header{
		background: $black;
		color: $white;
		border: none;
		.ui-datepicker-prev, .ui-datepicker-next{
			background: #fff;
			top: 2px;
			border: none!important;
		}
		.ui-datepicker-prev{
			left: 2px;
			top: 2px;
		}
		.ui-datepicker-next{
			right: 2px;
		}
	}
	table.ui-datepicker-calendar{
		border: none;
	}
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active{
	border: none;
	background: #dfdfdf;
	padding: 2px 5px;
	line-height: 28px;
	color: $black;
	&.ui-state-highlight{
		position: relative;
		&:after{
			content: '';
			width: 6px;
			height: 6px;
			background: $theme-color;
			border-radius: 50%;
			position: absolute;
			top: 4px;
			left: 4px;
		}
	}
	&.ui-state-active{
		background: $theme-color;
		color: $white;
		&.ui-state-highlight:after{
			background: $white;
		}
	}
}



/* perfect-scrollbar v0.6.7 */
.ps-container {
   -ms-touch-action: none;
  overflow: hidden !important; 
}
.ps-container.ps-active-x > .ps-scrollbar-x-rail,
.ps-container.ps-active-y > .ps-scrollbar-y-rail { display: block; }
.ps-container.ps-in-scrolling { pointer-events: none; }
.ps-container.ps-in-scrolling.ps-x > .ps-scrollbar-x-rail { background-color: #eee;opacity: 0.9; }
.ps-container.ps-in-scrolling.ps-x > .ps-scrollbar-x-rail > .ps-scrollbar-x { background-color: #999; }
.ps-container.ps-in-scrolling.ps-y > .ps-scrollbar-y-rail { background-color: #eee; opacity: 0.9; }
.ps-container.ps-in-scrolling.ps-y > .ps-scrollbar-y-rail > .ps-scrollbar-y { background-color: #999; }
.ps-container > .ps-scrollbar-x-rail {
   display: none;
   position: absolute;
   /* please don't change 'position' */
   border-radius: 4px;
   @include opacity(0);
   transition: background-color 0.2s linear, opacity 0.2s linear;
   bottom: 3px;
   /* there must be 'bottom' for ps-scrollbar-x-rail */
   height: 8px; 
   transition: all 0.2s;
}
.ps-container > .ps-scrollbar-x-rail > .ps-scrollbar-x {
   position: absolute; 
   /* please don't change 'position' */
   background-color: #aaa;
   border-radius: 4px;
   transition: background-color 0.2s linear;
   bottom: 0;
   /* there must be 'bottom' for ps-scrollbar-x */
   height: 8px; 
}
.ps-container > .ps-scrollbar-y-rail {
   display: none;
   position: absolute;
   /* please don't change 'position' */
   border-radius: 4px;
   @include opacity(0);
   transition: background-color 0.2s linear, opacity 0.2s linear;
   right: 3px;
   /* there must be 'right' for ps-scrollbar-y-rail */
   width: 4px; 
}
.ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y {
   position: absolute;
   /* please don't change 'position' */
   background-color: #aaa;
   border-radius: 4px;
   transition: background-color 0.2s linear;
   right: 0;
   /* there must be 'right' for ps-scrollbar-y */
   width: 5px; 
}
.ps-container:hover.ps-in-scrolling { pointer-events: none; }
.ps-container:hover.ps-in-scrolling.ps-x > .ps-scrollbar-x-rail { background-color: #eee; opacity: 0.9; }
.ps-container:hover.ps-in-scrolling.ps-x > .ps-scrollbar-x-rail > .ps-scrollbar-x { background-color: #999; }
.ps-container:hover.ps-in-scrolling.ps-y > .ps-scrollbar-y-rail { background-color: #eee; opacity: 0.9; }
.ps-container:hover.ps-in-scrolling.ps-y > .ps-scrollbar-y-rail > .ps-scrollbar-y { background-color: #999; }
.ps-container:hover > .ps-scrollbar-x-rail, .ps-container:hover > .ps-scrollbar-y-rail { opacity: 0.6; }
.ps-container:hover > .ps-scrollbar-x-rail:hover { background-color: #eee; opacity: 0.6; }
.ps-container:hover > .ps-scrollbar-x-rail:hover > .ps-scrollbar-x { background-color: #999; }
.ps-container:hover > .ps-scrollbar-y-rail:hover { background-color: #eee; opacity: 0.6; }
.ps-container:hover > .ps-scrollbar-y-rail:hover > .ps-scrollbar-y { background-color: #999; }