﻿/*-------------------
      Base Sizes
--------------------*/
/* This is the single variable that controls them all */
/* The size of page text  */
/*-------------------
     Transitions
--------------------*/
@media (max-width: 767.98px) {
  .nav-tabs-sticky,
  .secondary-sticky {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    z-index: 6;
    background-color: #fff;
  }
  .nav-tabs-sticky:before, .nav-tabs-sticky:after,
  .secondary-sticky:before,
  .secondary-sticky:after {
    content: '';
    display: table;
  }
}

.nav-tabs-scroll .nav-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
}

.nav-tabs-scroll.nav-tabs-scroll--primary .nav-tabs {
  background-color: #f8f9fa;
}

@media (min-width: 576px) {
  .nav-tabs-scroll .nav-item {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}

@media (max-width: 767.98px) {
  .nav-tabs-scroll {
    margin-right: -15px;
    margin-left: -15px;
    position: relative;
    z-index: 1023;
    overflow: hidden;
    height: 51px;
  }
  .nav-tabs-scroll.fixed {
    position: fixed;
  }
  .nav-tabs-scroll.slide-up {
    -webkit-transform: translateY(-87px);
    -ms-transform: translateY(-87px);
    transform: translateY(-87px);
  }
  .nav-tabs-scroll .scroller {
    background: #e9ecef;
    height: 51px;
    width: 40px;
    font-size: 1rem;
    opacity: 1;
    z-index: 9999;
    position: absolute;
    top: 1px;
    bottom: 1px;
    -webkit-transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
    -o-transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
    transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  }
  .nav-tabs-scroll .scroller:hover {
    background: #ced4da;
    opacity: 1;
    text-decoration: none;
    cursor: pointer;
  }
  .nav-tabs-scroll .scroller:active {
    background: #ced4da;
  }
  .nav-tabs-scroll .scroller.scroller-right {
    right: 0;
    padding: 12px 8px 12px 20px;
    background: -webkit-gradient(linear, left top, right top, from(rgba(233, 236, 239, 0)), color-stop(25%, #e9ecef), to(#e9ecef));
    background: -webkit-linear-gradient(left, rgba(233, 236, 239, 0) 0%, #e9ecef 25%, #e9ecef 100%);
    background: -o-linear-gradient(left, rgba(233, 236, 239, 0) 0%, #e9ecef 25%, #e9ecef 100%);
    background: linear-gradient(to right, rgba(233, 236, 239, 0) 0%, #e9ecef 25%, #e9ecef 100%);
  }
  .nav-tabs-scroll .scroller.scroller-right.hidden {
    right: -40px;
  }
  .nav-tabs-scroll .scroller.scroller-left {
    left: 0;
    padding: 12px 20px 12px 8px;
    background: -webkit-gradient(linear, left top, right top, from(#e9ecef), color-stop(75%, #e9ecef), to(rgba(233, 236, 239, 0)));
    background: -webkit-linear-gradient(left, #e9ecef 0%, #e9ecef 75%, rgba(233, 236, 239, 0) 100%);
    background: -o-linear-gradient(left, #e9ecef 0%, #e9ecef 75%, rgba(233, 236, 239, 0) 100%);
    background: linear-gradient(to right, #e9ecef 0%, #e9ecef 75%, rgba(233, 236, 239, 0) 100%);
  }
  .nav-tabs-scroll .scroller.scroller-left.hidden {
    left: -40px;
  }
  .nav-tabs-scroll .nav-tabs {
    max-width: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
  .nav-tabs-scroll .nav-tabs .nav-link {
    white-space: nowrap;
    height: 50px;
  }
  .nav-tabs-sticky .nav-tabs-scroll .nav-tabs {
    background-color: #e9ecef !important;
  }
  .nav-tabs-sticky .nav-tabs-scroll .nav-tabs .nav-item {
    text-transform: uppercase;
    font-weight: 500;
  }
  .nav-tabs-sticky .nav-tabs-scroll .nav-tabs .nav-item .nav-link {
    border-right-color: #ced4da;
  }
  .secondary-sticky .nav-tabs-scroll .scroller {
    background: #fff;
  }
  .secondary-sticky .nav-tabs-scroll .scroller.scroller-right {
    background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(25%, white), color-stop(75%, white), to(white));
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, white 25%, white 75%, white 100%);
    background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, white 25%, white 75%, white 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 25%, white 75%, white 100%);
  }
  .secondary-sticky .nav-tabs-scroll .scroller.scroller-left {
    background: -webkit-gradient(linear, left top, right top, from(white), color-stop(75%, white), to(rgba(255, 255, 255, 0)));
    background: -webkit-linear-gradient(left, white 0%, white 75%, rgba(255, 255, 255, 0) 100%);
    background: -o-linear-gradient(left, white 0%, white 75%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to right, white 0%, white 75%, rgba(255, 255, 255, 0) 100%);
  }
}

