body {
  /*padding : 10px ;*/

}

#exTab1 .tab-content {
  color : white;
  background-color: #428bca;
  padding : 5px 15px;
}

#exTab2 h3 {
  color : white;
  background-color: #428bca;
  padding : 5px 15px;
}

/* remove border radius for the tab */

#exTab1 .nav-pills > li > a {
  border-radius: 0;
}

/* change border radius for the tab , apply corners on top*/

#exTab3 .nav-pills > li > a {
  border-radius: 4px 4px 0 0 ;
}

#exTab3 .tab-content {
  color : white;
  background-color: #428bca;
  padding : 5px 15px;
}






      .bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
      }

      @media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }

      .b-example-divider {
        height: 3rem;
        background-color: rgba(0, 0, 0, .1);
        border: solid rgba(0, 0, 0, .15);
        border-width: 1px 0;
        box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
      }

      .b-example-vr {
        flex-shrink: 0;
        width: 1.5rem;
        height: 100vh;
      }

      .bi {
        vertical-align: -.125em;
        fill: currentColor;
      }

      .nav-scroller {
        position: relative;
        z-index: 2;
        height: 2.75rem;
        overflow-y: hidden;
      }

      .nav-scroller .nav {
        display: flex;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
        margin-top: -1px;
        overflow-x: auto;
        text-align: center;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
      }


html,
body {
  height: 100%;
}

body.login {
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  /*background-color: #f5f5f5;*/
}

.form-signin {
  max-width: 330px;
  padding: 15px;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}



/* LOADING*/
#overlay {
  background: #ffffff;
  color: #666666;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 5000;
  top: 0;
  left: 0;
  float: left;
  text-align: center;
  padding-top: 25%;
  opacity: .80;
}
#overlay > .spinner {
    margin: 0 auto;
    height: 64px;
    width: 64px;
    animation: rotate 0.8s infinite linear;
    border: 5px solid firebrick;
    border-right-color: transparent;
    border-radius: 50%;
}
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* LOADING 2 end*/

/*   FOOTER Stycky */
.bd-placeholder-img {
      font-size: 1.125rem;
      text-anchor: middle;
      -webkit-user-select: none;
      -moz-user-select: none;
      user-select: none;
    }

    @media (min-width: 768px) {
      .bd-placeholder-img-lg {
        font-size: 3.5rem;
      }
    }

    .b-example-divider {
      height: 3rem;
      background-color: rgba(0, 0, 0, .1);
      border: solid rgba(0, 0, 0, .15);
      border-width: 1px 0;
      box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
    }

    .b-example-vr {
      flex-shrink: 0;
      width: 1.5rem;
      height: 100vh;
    }

    .bi {
      vertical-align: -.125em;
      fill: currentColor;
    }

    .nav-scroller {
      position: relative;
      z-index: 2;
      height: 2.75rem;
      overflow-y: hidden;
    }

    .nav-scroller .nav {
      display: flex;
      flex-wrap: nowrap;
      padding-bottom: 1rem;
      margin-top: -1px;
      overflow-x: auto;
      text-align: center;
      white-space: nowrap;
      -webkit-overflow-scrolling: touch;
    }

.container {
  width: auto;
  max-width: 680px;
  padding: 0 15px;
}
/*   FOOTER Stycky END */

.popover {
    --bs-popover-max-width: 676px;
}


/*  FOR BUTTON SELECTOR */
.scroll-x {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;              /* плавная прокрутка для всех */
    -webkit-overflow-scrolling: touch;    /* плавный скролл на iOS */
    scrollbar-width: none;                /* скрыть полосу в Firefox */
}
.scroll-x::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}
.scroll-x .btn-group {
    display: inline-flex;
}
.scroll-x .btn {
    flex: 0 0 auto; /* не сжимать кнопки */
}

@media (min-width: 768px){
    /*.scroll-x{ overflow:visible; }*/
}


.scroll-x{
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;           /* страховка от переноса */
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;         /* FF – скрыть полосу */
    cursor:grab;                  /* drag-скролл */
}
.scroll-x::-webkit-scrollbar{ display:none; }  /* Chrome/Safari/Edge */
.scroll-x .btn-group{ display:inline-flex; }
.scroll-x .btn{ flex:0 0 auto; }
.scroll-x.dragging{ cursor:grabbing; user-select:none; }




/* TABS scroll*/
.nav-tabs-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* плавный скролл на мобильных */
}

.nav-tabs {
    flex-wrap: nowrap;         /* не переносить вкладки */
    white-space: nowrap;       /* текст не переносить */
}

.nav-tabs .nav-item {
    flex: 0 0 auto;            /* запретить сжатие */
}

.nav-tabs-scroll::-webkit-scrollbar {
    display: none;             /* скрыть полосу прокрутки */
}

.nav-tabs-scroll {
    scrollbar-width: none;     /* скрыть полосу (Firefox) */
}



/* FOOTER & HEADER*/
body { padding-top:56px; padding-bottom:64px; } /* space for fixed header/footer */
.app-footer .btn {
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    padding:8px 4px; height:56px; font-size:.8rem;
}

.navbar-brand .logo { width:28px; height:28px; margin-right:.5rem; }
/*.offcanvas .list-group-item { border:0; padding:.65rem 0; }*/
.app-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1030; /* поверх контента, но под offcanvas/nav */
}