//---------------------------------
img{
    border: 0;
    vertical-align: top;
    max-width: 100%;
    height: auto;
}
.video-responsive {
    height: 0;
    padding-top: 0;
    padding-bottom: 56.25%;
    margin-bottom : 10px;
    position: relative;
    overflow: hidden;
	embed,iframe,object,video{
		top: 0;
		left: 0;
		position: absolute;
        @include square(percentage(1));
	}
}
.audio-responsive{
	iframe{
		@include size(percentage(1), 126px);
	}
}
ul.list-square li {
    position: relative;
    margin: 0 5px 0 0;
    &:before {
        background-color: #aaa;
        @include size(3px, 3px);
        top: 50%;
        right: -6px;
		left: auto;
        position: absolute;
        content: "";
    }
    &:last-child{
        a{
            margin-right: 0;
        }
        margin-right: 0;
        &:before {
            @include size(0, 0);
        }
    }
}
// breadcrumb
.tbay-breadscrumb{
    background: #fafafa;
    margin-bottom: 30px;
    .breadscrumb-inner{
        background: #fafafa;
        .breadcrumb{
          padding: 20px 0;
          background-color: transparent;
          margin-bottom: 0;
          font-size: 13px;
          text-transform: capitalize;
          font-weight: bold;
           font-family: $font-family-second;
           .active{
            color: $theme-color;
           }
           a{
             color: #333;
             &:hover{
              color: $theme-color;
             }
           }
        }
    }
}
// saerch
.search-form{
    > form{
        border-top:1px solid $border-color;
    }
    .btn{
        padding: $padding-base-vertical;
        background: transparent;
        color: $text-color;
        &:hover{
            background: transparent;
            color: $link-color;
        }
		i {
			font-size: 22px;
		}
    }
    .form-control{
        border: none;
    }
}
.ui-autocomplete.ui-widget-content{
    padding: 15px;
    margin: 0;
    list-style: none;
    width: 293px !important;
    background: #fff;
    z-index: 10000;
    border: solid 2px #eeeeee;
    border-top: 2px solid transparent;
    li{
        padding-bottom: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid $border-color;
        &:last-child{
            border: none;
            margin: 0;
            padding: 0;
        }
        img{
            width: 60px;
        }
    }
    .woocommerce-Price-amount {
      color: $theme-color;
      font-weight: bold;
    }
    u, ins {
      text-decoration: none;
    }
    del .woocommerce-Price-amount {
      color: #aaa;
    }
}
.content-index{
  .main-content{
    margin: 50px 0;
  }  
}
.main-content {
    display: block;
    margin: auto;
}

.bg-dark{
    background: #272727;
    color: #fff;
}
.text-purple {
    color: #6c58bd !important;
}

.text-red {
    color: #c32322 !important;
}
.text-red-1{
  color: #ff0000!important;
}
.text-orange {
    color: #f66000 !important;
}

.text-yellow {
    color: #e2d951 !important;
}
.text-black {
  color:#000!important;
}
.text-white, .text-light{
    color:#FFFFFF!important;
}
.text-darker {
    color:#333!important;
}
.text-uppercase{
text-transform: uppercase;
}
/*Radius
------------------------------------*/
[class*="radius"]{
    overflow:hidden;
}
.radius-0 {
    border-radius: 0 !important;
}

.radius-x {
    border-radius: 50% !important;
}

.radius-1x {
    border-radius: 10px !important;
}

.radius-2x {
    border-radius: 20px !important;
}

.radius-3x {
    border-radius: 30px !important;
}

.radius-4x {
    border-radius: 40px !important;
}

.radius-5x {
    border-radius: 5px !important;
}

.radius-6x {
    border-radius: 3px !important;
}
.owl-carousel-play{
    position:relative;
    .owl-item{
        & > div{
        }
        &:last-child .product-wrapper{
            border:none
        }
    }
}
.carousel-md {

    @include size($bo-carousel-md-width, $bo-carousel-md-height);
     line-height: $bo-carousel-md-height;
}
.carousel-sm {
    @include size($bo-carousel-sm-width, $bo-carousel-sm-height);
     line-height: $bo-carousel-sm-height;
     font-size: 14px;
}
.carousel-xs {
    @include size($bo-carousel-xs-width, $bo-carousel-xs-height);
     line-height: $bo-carousel-xs-height;
     font-size: 14px;
}
//back to top
.tbay-to-top{
    position: fixed;
    z-index: 1050;
    bottom: 6%;
	/*rtl:begin:ignore*/
    right: 230px;
	 left: auto;
	/*rtl:end:ignore*/
    text-align: center;
    font-size: 35px;
    display: inline-block;
    width: 50px;
    @include opacity(0);
    @include transition(all 0.5s  ease-in-out 0s);
    border-radius: 8px;
    background: #fff;
    &:hover{
        color: #fff;
    }
    &.active{
        @include opacity(1);
		/*rtl:begin:ignore*/
		right: 250px;
		left: auto;
		/*rtl:end:ignore*/
		@media (max-width: 1300px){
			display: block !important;
			right: 10px !important;
			@include opacity(0.5);
			.search-form, .tbay-cart, .wishlist-icon {
				display: none !important;
			}
			&:hover {
				@include opacity(1);
			}
			#back-to-top {
				border: 0;
				border-radius: 8px;
				background: #009aff;
				color: #fff;
			}
		}
		
    }
	@media (max-width: $screen-sm){
		bottom: 50px;
		right: 10px !important;
		.search-form, .tbay-cart, .wishlist-icon {
			display: none !important;
		}
	}
	&.v8 {
		.search-form, .tbay-cart, .wishlist-icon {
			display: none !important;
		}
		#back-to-top {
			border: 0;
			border-radius: 8px;
			background: #009aff;
			color: #fff;
		}
	}
    .search-form {
		z-index: 100;
		background: #009aff;
		@include border-radius(8px 8px 0 0);
		.btn {
		  color: #fff;
		  width: 50px;
		  height: 50px;
		  padding: 0;
		  font-size: 18px;
		  border: 0;
		  display: block;
		  @include border-radius(8px 8px 0 0);
		  &:focus {
			  background: transparent !important;
		  }
		}
	}
  .tbay-cart .mini-cart .sub-title, .tbay-cart .mini-cart .mini-cart-items {
      display: none;
  }
  .tbay-cart .mini-cart ,
  #cart .mini-cart {
    display: block;
    border: 2px solid #eee;
    border-bottom: 1px solid #eee;
    border-top: 0;
    padding: 0;
    .cart-icon {
      font-size: 22px;
      line-height: 49px;
	  display: block;
    }
    &:after {
      display: none;
    }
  }
  .wishlist-icon {
      border: 2px solid #eee;
      border-bottom: 1px solid #eee;
      border-top: 0;
      display: block;
      font-size: 22px;
      line-height: 49px;
      .count_wishlist {
        display: none;
      }
  }
  #back-to-top {
    font-size: 12px;
    border: 2px solid #eee;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    display: block;
    padding: 10px 0;
    font-weight: bold;
    i {
      font-size: 18px;
    }
    p {
      margin-bottom: 0;
    }
  }
}

//Category Fixed
.tbay-category-fixed{
    position: fixed;
    z-index: 99;
    bottom: 30%;
	/*rtl:begin:ignore*/
	left: 230px;
	right: auto;
	/*rtl:end:ignore*/
    text-align: center;
    font-size: 35px;
    display: inline-block;
    width: 50px;
    @include opacity(0);
    @include transition(all 0.5s  ease-in-out 0s);
    border-radius: 8px;
    background: #fff;
    border: 2px solid #eee;
    &.active{
        @include opacity(1);
        /*rtl:begin:ignore*/
		left: 250px;
		right: auto;
		/*rtl:end:ignore*/
        
    }
  .navbar-nav.megamenu>li>a { 
    border-radius: 0;
  }
  .navbar-nav.megamenu>li.active>a {
    background: transparent;
    i { 
      color: $theme-color;
    }
  }
	@media (max-width: $screen-xs){
		display: none !important;
	} 
	&.v8 {
		display: none !important;
	}
    .navbar-collapse {
        padding: 0 !important;      
    }
    ul {
      li {
        display: block;
        border-bottom: 1px solid #eee;
        float: left !important;
        &:last-child {
          border-bottom: 0;
        }
        a {
          width: 46px;
          height: 48px;
          overflow: hidden;
          padding: 0 !important;
		  line-height: 48px !important;
          i {
            width: 46px;
            height: 48px;
            display: block;
            font-size: 22px;
            line-height: 48px;
          }
          &:hover, &:active {
              background: transparent !important;
              color: #009aff  !important;
          }
        }
		ul {
			display: none !important;
		}
      }
    }
}

.vc_row[data-vc-stretch-content] >.container {
	width: 100%;
	padding: 0;
}

.menu{
    padding:0;
    margin:0;
    li{
        list-style: none;
        line-height: 2.2;
    }
}
// loading
.tbay-body-loading {
  overflow: hidden;
}
@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

@keyframes -webkit-spin {
  0% {
      -webkit-transform: rotate(0deg);
  }
  100% {
      -webkit-transform: rotate(360deg);
  }
}
.tbay-page-loading{
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99991;
  #loader{
    animation: 2s linear 0s normal none infinite running spin;
    -webkit-animation: 2s linear 0s normal none infinite running spin;
    -ms-animation: 2s linear 0s normal none infinite running spin;
    border-color: #00a1f1 transparent transparent;
    border-image: none;
    border-radius: 50%;
    border-style: solid;
    border-width: 3px;
    display: block;
    height: 150px;
    left: 50%;
    margin-left: -75px;
    margin-top: -75px;
    position: relative;
    top: 50%;
    width: 150px;
    z-index: 1001;
    &:before{
      animation: 3s linear 0s normal none infinite running spin;
      -webkit-animation: 3s linear 0s normal none infinite running spin;
      -ms-animation: 3s linear 0s normal none infinite running spin;
      border-color: #f65b47 transparent transparent;
      border-image: none;
      border-radius: 50%;
      border-style: solid;
      border-width: 3px;
      bottom: 5px;
      content: "";
      left: 5px;
      position: absolute;
      right: 5px;
      top: 5px;
    }
    &:after{
      animation: 1.5s linear 0s normal none infinite running spin;
      -webkit-animation: 1.5s linear 0s normal none infinite running spin;
      -ms-animation: 1.5s linear 0s normal none infinite running spin;
      border-color: #f9c922 transparent transparent;
      border-image: none;
      border-radius: 50%;
      border-style: solid;
      border-width: 3px;
      bottom: 15px;
      content: "";
      left: 15px;
      position: absolute;
      right: 15px;
      top: 15px;
    }
  }
  .loader-section{
    background: #f5f5f5 none repeat scroll 0 0;
    height: 100%;
    position: fixed;
    top: 0;
    transform: translateX(0px);
    width: 51%;
    z-index: 1000;
    &.section-left{
       left: 0;
    }
    &.section-right{
      right:0;
    }
  }
}

.tbay-title {
    @extend .container;
}
.bread-title {
  background-color: #fafafa;
  padding: 32px 0 32px 30px;
  font-size: 24px;
  margin-top: 3px;
  margin-bottom: 30px;
}

//tbay tooltip
.tbay-tooltip + .tooltip {
  display: none;
  .tooltip-inner {
    background-color: $theme-color;
    padding: 6px 13px;
  }
  &.left {
    .tooltip-arrow {
      border-left-color: $theme-color;
    }
  }  
  &.top {
    .tooltip-arrow {
      border-top-color: $theme-color;
    }
  }  
  &.right {
    .tooltip-arrow {
      border-right-color: $theme-color;
    }
  }  
  &.bottom {
    .tooltip-arrow {
      border-bottom-color: $theme-color;
    }
  }
}

html input[type="button"], input[type="reset"], input[type="submit"] {
  color: #fff;
  background-color: $theme-color;
  border-color: $theme-color;
  text-transform: none;
  font-weight: bold;
  padding: 4px 10px 3px;
  font-size: 13px;
  outline: none;
  box-shadow: none !important;
  border: 0 !important;
}

.page-header {
  padding-bottom: 0;
  margin: 0;
  border-bottom: 0;
}

#main-container.inner .page-header {
  padding: 0 15px;
}
#main-container.inner #main-content[class*="col"] .page-header {
  padding: 0;
}

.page-title {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 20px;
  position: relative;
  padding: 0;
  color: #222;
  text-transform: uppercase;
}