@import "default/bs_nav_tabs";
@import "default/variables";

$other-medium-gray:          #A49E93 !default;
$font-color:                 #66615b !default;
$medium-pale-bg:             #F1EAE0 !default;

.vue-tabs {
  &.stacked{
    display:flex;
    flex-direction: row;
  }
  .nav-tabs-navigation{
    text-align: center;
    border-bottom: 1px solid $medium-pale-bg;
    margin-bottom: 30px;

    .nav > li > a{
      padding-bottom: 20px;
    }
  }
  .nav-tabs-wrapper{
    display: inline-block;
    margin-bottom: -6px;
    position: relative;
    width: 100%;
  }
  .nav-tabs{
    border-bottom: 0 none;
    font-size: $font-size-base;
    font-weight: $font-weight-bold;
    > li{
      > a{
        border: 0 none !important;
        color: $other-medium-gray;
      }
      > a:hover{
        color: $font-color;
        background-color: transparent;
      }
    }

    > li.active{
      color: $font-color;
      position: relative;

      > a,
      > a:hover,
      > a:focus{
        background-color: transparent;
        border: 0 none;
        //height: 50px;
      }

      a:after{
        border-bottom: 11px solid $white-color;
        border-left: 11px solid rgba(0, 0, 0, 0);
        border-right: 11px solid rgba(0, 0, 0, 0);
        content: "";
        display: inline-block;
        position: absolute;
        right: calc(50% - 11px);
        bottom: 0;
      }

       a:before{
        border-bottom: 11px solid $medium-pale-bg;
        border-left: 11px solid rgba(0, 0, 0, 0);
        border-right: 11px solid rgba(0, 0, 0, 0);
        content: "";
        display: inline-block;
        position: absolute;
        right:  calc(50% - 11px);
        bottom: 1px;
      }
    }
  }
  .nav-stacked{
    border-right: 1px solid $medium-pale-bg;
    font-size: $font-size-base;
    font-weight: $font-weight-bold;
    padding: 20px 0;

    > li {
      > a{
        color: $other-medium-gray;
        padding: 7px 25px;
        text-align: right;
      }
      > a:hover{
        color: $font-color;
      }
    }
    > li.active{
      > a{
        color: $font-color;
      }
      a:after{
        border-right: 11px solid $white-color;
        border-top: 11px solid rgba(0, 0, 0, 0);
        border-bottom: 11px solid rgba(0, 0, 0, 0);
        content: "";
        display: inline-block;
        position: absolute;
        right: -1px;
        bottom: 7px;
      }

      a:before{
        border-right: 11px solid $medium-pale-bg;
        border-top: 11px solid rgba(0, 0, 0, 0);
        border-bottom: 11px solid rgba(0, 0, 0, 0);
        content: "";
        display: inline-block;
        position: absolute;
        right: 0;
        bottom: 7px;
      }
    }
  }

  .left-vertical-tabs{
    width: 170px;
    min-width: 170px;
  }

  .right-text-tabs{
    width: calc(100% - 170px);
    float: left;
    padding: 6px 15px;

  }
}