:root {
  color-scheme: light dark;
}

html {
  font-size: 10px;
}
html, body {
  touch-action: manipulation;
}
.grecaptcha-badge{
	visibility: hidden
}
body:not(.dark-theme) .tooltip{
  --bs-tooltip-bg: #fff;
}
a:hover{
  text-decoration: none;
}
:focus-visible {
  outline:none;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
}
/*
.form-check{
  padding-left:1.5rem;
}
*/
.shards-hero-s5--3 .form-check-input{
  border: 1px solid rgba(255,255,255, 0);
}

.form-check-input:disabled ~ .form-check-label{
  opacity: .5!important;
}
/*
.form-switch .form-check-input{
  margin-left:-1.8em;
  margin-right:.8em;
}
*/
.or{
  position:relative;
  color:#fff;
}
.or:before,
.or:after{
  content:"";
  display:block;
  border-top:1px solid rgba(255,255,255, .25);
  width:20%;
  position:absolute;
  left:0;
  top:50%;
}
.or:after{
  left:auto;
  right:0;
}


.shards-hero{
  height:100%;
  min-height: calc(100vh - 65px);
  max-height:3000px;
}

.card .nav-link{
  color:#3d5170;
}

.card .nav-link:hover{
  background:#fbfbfb;
  color:#007bff;
}

.main-sidebar .nav .nav-item .nav-link > i{
  font-size:1rem;
  line-height:0;
  position:relative;
  top:-2px
}

.nav-link > i.fa-brands,
.nav-link > i.fad,
.nav-link > i.fa-light,
.nav-link > i.fa-solid{
  font-size:1rem;
}
.btn{white-space: nowrap;}
.btn > i.fa-brands,
.btn > i.fad,
.btn > i.fa-light,
.btn > i.fa-solid{
  font-size:.85rem;
}

.main-sidebar{
  z-index:10;
}
.sticky-top{
  z-index:9;
}
.main-content > .main-content-container{
  /*min-height:calc(100vh - 120px);*/
  margin-bottom:3.75rem;
}

.main-content{
  min-height:100vh;
  position: relative;
}
.main-footer{
  position:absolute;
  width:100%;
  bottom:0;
  left:0;
}
/* Avoid Chrome to see Safari hack */
@supports (-webkit-touch-callout: none) {
  .main-content{
    /* The hack for Safari */
    min-height: -webkit-fill-available;
  }
  .shards-hero{
    min-height: -webkit-fill-available;
  }
}

.nav:hover{
  background:transparent;
}

.navbar-dark .navbar-toggler{
  border-radius: 50%;
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.5);
  width:2.5rem;
  height:2.5rem;
  padding:0;
  line-height:0;
  transition: all 250ms cubic-bezier(0.27, 0.01, 0.38, 1.06);
}
.navbar-dark .navbar-toggler:hover{
  color: rgba(255,255,255,1);
  border-color: rgba(255,255,255,1);
}
.navbar-toggler:focus {
  box-shadow: none;
}

.close{
  cursor: pointer;
}

.veil{
  position:absolute;
  z-index:9;
  margin:0 0 0 3.36rem;
  background:#fff;
  height:2.5rem;
  width:2rem;
  opacity:.5
}

.sidebar{
  height:100%;
}

.table-history > tbody > tr:not(.nohover){
  cursor: pointer;
}

.dropdown-menu .dropdown-item{
  cursor:pointer;
}

.btn-up {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  text-decoration: none;
  cursor: pointer;
}

.btn-up.visible {
  display: block; /* Показываем кнопку при необходимости */
}

.mobile-menu{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  max-height:5rem;
  z-index:1000;
  border-radius:.5rem .5rem 0 0;
  margin:0;
  padding:0 .25rem;
  box-shadow: 0 -.125rem .625rem rgba(90, 97, 105, .12);
  overflow: hidden;
  /*background-color: rgba(0,0,0, .9)!important;*/
}

.mobile-menu .d-grid{
  display: grid; 
  grid-template-columns: 20% 20% 20% 20% 20%;  
}

.mobile-menu .item{
  padding:.75rem 0 .5rem 0;
}

.mobile-menu a,
.mobile-menu a:hover{
  color:#000;
}
.mobile-menu a > i,
.mobile-menu a > small{
  line-height:1;
  opacity:.5;
}

.mobile-menu a > small{
  padding-top:.35rem;
  display:block;
}

.mobile-menu a.active,
.mobile-menu a:hover,
.mobile-menu a.active > i,
.mobile-menu a.active > small{
  opacity:1;
  color:#0d6efd; 
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 16px;
  }
}
@media screen and (max-width: 1200px) {
  html {
    font-size: 15px;
  }
}
@media screen and (max-width: 992px) {
  html {
    font-size: 13px;
  }
  
  .main-sidebar .nav .nav-item .nav-link {
    padding: .9375rem .75rem;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 13px;
  }
  .form-control,
  select.form-control:not([size]):not([multiple]){
    font-size: 1rem;
    padding:.75rem 1rem;
    height:auto;
  }
  .page-header .page-title{
    font-size: 1.1rem;
  }
  .d-grid > .btn,
  .btn{
    font-size:1rem;
    padding:.85rem 1.5rem;
  }
  .d-grid > .btn > i{
    font-size:1rem;
  }
  
  .main-navbar .navbar .notifications .dropdown-menu .dropdown-item,
  .dropdown-item{
    padding:1rem 1.75rem;
  }
  
  .btn-up {
    bottom: 5rem;
    right: .5rem;
  }
}

