/*
Copyright 2020 TATA ELXSI

Licensed under the Apache License, Version 2.0 (the 'License');
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.in), BARATH KUMAR R (barath.r@tataelxsi.co.in)
*/
@import "../../../assets/scss/mixins/mixin";
@import "../../../assets/scss/variable";
.breadcrumb-holder {
  .breadcrumb-custom {
    @include box-shadow(0, 2px, 5px, 0, rgba(0, 0, 0, 0.25));
    @include roundedCorners(5);
    @include background(null, $white, null, null, null);
    @include margin-value(0, 0, 0, 0);
    @include flexbox(inline-block, null, null, null, null, null);
    overflow: hidden;
    .breadcrumb-item-custom {
      @include flexbox(block, null, null, null, null, null);
      @include line-height(35px);
      @include font(null, 12px, null);
      @include padding-value(0, 10, 0, 30);
      @include position_value(relative, null, null, null, null);
      float: left;
      cursor: pointer;
      &:hover {
        @include background(null, $secondary, null, null, null);
        a {
          color: $white;
        }
        &::after {
          @include background(null, $secondary, null, null, null);
        }
      }
      a {
        color: $primary;
      }
      &:first-child {
        padding-left: 20px;
        @include roundedTopLeftRadius(5);
        @include roundedBottomLeftRadius(5);
        &::before {
          @include position_value(null, null, null, null, 14px);
        }
      }
      &:last-child {
        @include roundedTopRightRadius(5);
        @include roundedBottomRightRadius(5);
        padding-right: 20px;
        &::after {
          content: none;
        }
      }
      &::after {
        content: "";
        @include position_value(absolute, 0, -18px, null, null);
        @include wh-value(36px, 36px);
        @include background(null, $white, null, null, null);
        @include box-shadow(2px, -2px, 0, 1px, $breadcrumb-after-color);
        transform: scale(0.707) rotate(45deg);
        z-index: 1;
        @include roundedTopRightRadius(5);
        @include roundedBottomLeftRadius(50);
      }
      &.active {
        @include background(null, $primary, null, null, null);
        color: $white;
      }
    }
  }
}