// Assets Styling

/* Owl Theme */

.owl-theme {
.owl-nav {
  margin-top: 10px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.owl-nav [class*='owl-'] {
  color: $primary;
  font-size: $body-size;
  margin: 5px;
  padding: 4px 7px;
  background: $white;
  border-radius: $circle;
  border: 2px solid $primary;
  display: inline-block;
  cursor: pointer;
}
.owl-nav [class*='owl-']:hover {
  background: $white;
  color: $primary;
  text-decoration: none;
}
.owl-theme .owl-nav .disabled {
  opacity: 0.5;
  cursor: default;
}
.owl-nav.disabled + .owl-dots {
  margin-top: 10px;
}
}
.owl-theme {
  .owl-dots {
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    margin-top: 10px;
    justify-content: center;
    display: flex;
    button.owl-dot {
      display: inline-block;
      zoom: 1;
      *display: inline;
      span {
        width: 20px;
        height: 20px;
        line-height:20px;
        margin: 5px 3px;
        background: $grey;
        display: block;
        -webkit-backface-visibility: visible;
        @include transition(all 0.4s ease);
        border-radius: $circle;
      }
      &.active span,
      &:hover span {
        @include transition(all 0.4s ease);
        background: $secondary !important;
      }
    }
  }
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  border: 2px solid $primary;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  color: $primary;
  @include transition(all 0.4s ease);
  &:hover {
    border: 2px solid $secondary;
    color: $secondary;
    @include transition(all 0.4s ease);
  }
}

.works-nav button.owl-prev,
.works-nav button.owl-next {
  border: 2px solid $white;
  width: 45px;
  height: 45px;
  margin: 0 3px;
  line-height: 42px;
  text-align: center;
  color: $white;
  border-radius: $circle;
  background: none;
  @include transition(all 0.4s ease);
  &:hover {
    border: 2px solid $secondary;
    background: none;
    color: $secondary;
    @include transition(all 0.4s ease);
  }
}

#owl-brands {
  .owl-nav {
    display: none;
  }
}

#owl-cslider {
  .owl-dots {
    margin-top: -50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 99;
  }
  .owl-item img {
    border-radius: $curved;
  }
}

.works-carousel {
  .owl-nav {
    text-align: left;
    margin-top: 60px;
  }
  .work-title {
    margin: 30px 0 0 0;
  }
}

/* Back to top button */

.back-to-top {
  display: block;
  z-index: 500;
  width: 60px;
  height: 60px;
  border-radius: $circle;
  line-height: 60px;
  text-align: center;
  position: fixed;
  bottom: -80px;
  right: 35px;
  @include transition(all 1s ease);
  background-color: $white;
  text-decoration: none;
	box-shadow: $shadow;
  &.show {
    bottom: 35px;
  }
  i {
    @include transition(all 1s ease);
  	line-height: 50px;
    font-size: 1.2rem;
  }
  a {
    width: 60px;
    height: 50px;
    display: block;
    color: $body-color;
  }
  &:hover {
    box-shadow: $shadow-hover;
    i {
      color: $body-color;
    }
  }
}

/* Pricing toggler */

.toggle, .toggler {
  display: inline-block;
  vertical-align: middle;
  margin: 10px;
}

.toggler {
  color: #ddd;
  transition: .2s;
  font-weight: bold;
}

.toggler--is-active {
  color: $primary;
}

.b {
  display: block;
}

.toggle {
  position: relative;
  width: 80px;
  height: 35px;
  border-radius: 100px;
  background-color: $primary;
  overflow: hidden;
  box-shadow: inset 0 0 2px 1px rgba(0, 0, 0, 0.05);
}

.check {
  position: absolute;
  display: block;
  cursor: pointer;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 6;
}

.check:checked ~ .switch {
  right: 2px;
  left: 57.5%;
  transition: 0.25s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  transition-property: left, right;
  transition-delay: .08s, 0s;
}

.switch {
  position: absolute;
  left: 2px;
  top: 2px;
  bottom: 2px;
  right: 57.5%;
  background-color: $white;
  border-radius: 36px;
  z-index: 1;
  transition: 0.25s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  transition-property: left, right;
  transition-delay: 0s, .08s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hide {
  display: none;
}

/* Preloader */

#preloader {
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-color: $white;
  z-index:99999;
}
.loader-centered{
	width:400px;
	height:400px;
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
	background: $white;
	filter: blur(10px) contrast(20);
}
.blob-1,.blob-2{
	width:70px;
	height:70px;
	position:absolute;
	background:$secondary;
	border-radius:50%;
	top:50%;left:50%;
	transform:translate(-50%,-50%);
}
.blob-1{
	left:20%;
	animation:osc-l 2.5s ease infinite;
}
.blob-2{
	left:80%;
	animation:osc-r 2.5s ease infinite;
	background:$primary;
}
@keyframes osc-l{
	0%{left:20%;}
	50%{left:50%;}
	100%{left:20%;}
}
@keyframes osc-r{
	0%{left:80%;}
	50%{left:50%;}
	100%{left:80%;}
}

.wrapper {
  position: relative;
  display: block;
  overflow:hidden;
}

*:focus {
  outline: none !important;
}
