html {scroll-behavior: smooth;}
body {
  background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.8));  
  padding-top: 60px; font-size: 18px; font-family: 'Commissioner','Oswald','Roboto', Arial, sans-serif;
  background-attachment: fixed;
}

@font-face {
  font-family: 'Commissioner';
  font-display: swap;   
  src: url('../fonts/Commissioner-Regular.woff2') format('woff2'); 
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Commissioner';
  font-display: swap;   
  src: url('../fonts/Commissioner-Light.woff2') format('woff2'); 
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: 'Oswald';   
  font-display: swap; 
  src: url('../fonts/Oswald-Regular.woff2') format('woff2'); 
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Oswald';   
  font-display: swap; 
  src: url('../fonts/Oswald-Light.woff2') format('woff2'); 
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';    
  font-display: swap; 
  src: url('../fonts/Roboto-Regular.woff2') format('woff2'); 
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';    
  font-display: swap; 
  src: url('../fonts/Roboto-Light.woff2') format('woff2'); 
  font-style: normal;
  font-weight: 300;
}

/* Заголовки (перезапись Bootstrap) */
h1, .h1 { font-size: 2rem; color: #000; }
h2, .h2 { font-size: 1.5rem; color: #000; }
h3, .h3 { font-size: 1.3rem; color: #000; }
h4, .h4 { font-size: 1.2rem; color: #000; }
h5, .h5 { font-size: 1.125rem; color: #000; }
h6, .h6 { font-size: 1rem; color: #000; }

h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6 {
  font-family: 'Roboto',Arial,sans-serif;
}

.f-comm {
  font-family: "Commissioner", serif;
  font-optical-sizing: auto;
  letter-spacing: 1px;
  font-style: normal;
}

 .f-os {
   font-family: "Oswald", serif;
   font-optical-sizing: auto;
   letter-spacing: 2px;
   font-style: normal;
 }

 .f-rb {
  font-family: 'Roboto',sans-serif;
  font-optical-sizing: auto;
  letter-spacing:  auto;
  font-style: normal;
}

a {text-decoration: none;}

.m-bg {background-color: #121416 !important;}
.bg-2  {background-color: #222426 !important;}
.bg-3  {background-color: #40484e !important;}
.bg-4  {background-color: #C59D5F !important;}

.m-color {color: #6600CC !important;}
.m-color-2 {color: #CC00CC !important;}
.m-color-3 {color: #e7b870 !important;}
.m-color-4 {color: #12c401 !important;}

footer a {color: #FFF;}
footer a:hover {color: #CC00CC;}

.text-shadow {text-shadow: 2px 2px 4px rgba(0,0,0,0.4);}

/* Цвет иконок в шапке */ 
.top-link a:hover {color: #e7b870 !important; text-decoration: none;}

.soc-whatsapp {text-decoration: none;}
.soc-whatsapp svg path {fill: #25D366;transition: fill 0.3s ease;}
.soc-whatsapp:hover svg path {fill: #000;}

.soc-telegram {text-decoration: none;}
.soc-telegram svg path {fill: #2AABEE;transition: fill 0.3s ease;}
.soc-telegram:hover svg path {fill: #000;}

.soc-vk {text-decoration: none;}
.soc-vk svg path {fill: #07f;transition: fill 0.3s ease;}
.soc-vk:hover svg path {fill: #000;}

 /* .section {padding: 2rem 0; scroll-margin-top: 60px; отступ при скролле по якорю } */
.section h2 {color: #FFF;}

/* Оформление H2 */
.section h2:after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #C59D5F;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    margin-top: 10px;
}

.hero {
  position: relative;
  min-height: 30vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  /* background: linear-gradient(rgba(13, 15, 64, 0.6), rgba(0,0,0,0.99), rgba(13,15,64,0.6)); */
  /* на 90 градус. background: linear-gradient(90deg, rgba(13, 15, 64, 0.7), rgba(0,0,0,0.99), rgba(13,15,64,0.7)); */
}

/* Адаптивность */
@media (max-width: 991px) {
  body {padding-top: 56px;}
/* .hero {min-height: 20vh;} */
/* .section {padding: 1.5rem 0;} */

}

/* Подсветка пункта верхнего меню */
.dropdown-item { background-color: transparent !important;}

.navbar-nav .navbar-brand {color:#FFF;}
.navbar-nav .nav-item .nav-link {color: #FFF;}
.navbar-nav .nav-item .nav-link.active {color: #cadfff; text-decoration:none;}
.navbar-nav .nav-link {font-size:20px; padding-left: 15px; margin:4px 8px 3px 0;}
.navbar-nav .none-active .nav-link {text-decoration:none; color:#FFF;} /* без подменю вставить nav-item */

.navbar-nav .nav-item .nav-link {color: #FFF;}
.navbar-nav .nav-item.active .nav-link, .navbar-nav .nav-item:hover .nav-link {color: #ccdffa;}

/* Подменю */
.dropdown-menu {background: #212529;}
.nav-link .dropdown-toggle {color:#FFF;}
.dropdown-item.active, .dropdown-item:active {background-color: #045296;font-size:16px; color: #FFF;  font-weight:400;}
.dropdown-item {font-size:18px; color:#FFF;}

/* Navmenu font-family: 'Roboto',sans-serif; */
  .navmenu a,
  .navmenu a:focus {
    color: #dfdfdf !important;
    font-size: 20px;
    letter-spacing: 1px;
    font-family: "Oswald", serif;
    font-weight: 400;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #FFF !important;
  }

  /* Эффект при наведении на логотип */
.navbar-brand img {
  transition: transform 0.5s ease; /* Плавно */
}

.navbar-brand:hover img {
  transform: translateX(6px); /* Сдвиг + поворот rotate(15deg) */
}

img{
max-width: 100%;
height: auto;
}

/* хлебные крошки */
.breadcrumb-item a{color:#CC00CC;}
.breadcrumb-item a:hover{color:#000;}

.speedbar-gradient {
    background: linear-gradient(90deg, 
        #fff 0%, 
        #f5f5f5 10%,
        #eee 20%,
        #e0e0e0 30%,
        #d6d6d6 40%,
        #ccc 50%,
        #bdbdbd 60%,
        #b6b6b6 70%,
        #8f8f8f 80%,
        #888 90%,
        #6b6b6b 100%);
    padding: 12px 20px;
    border-radius: 6px;
    margin: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transform: translateZ(0);
    backface-visibility: hidden;
}

 /* Корректировка кнопок BS */
 .btn-primary, .btn-primary:active, .btn-primary:visited {
  background-color: #e7b870 !important; color: #121416 !important;
}

 .btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary:visited {
  background-color: #121416!important; color: #e7b870 !important; border-color: #e7b870 !important;
}

.btn-outline-primary:hover {
  background-color: #e7b870 !important; color: #121416 !important ;
}

.btn-primary:hover {
  background-color: #121416 !important; color: #e7b870 !important ;
}

/* Отключение всех фокусов */
*:focus {
    box-shadow: none !important;
    outline: none !important;
}


/* Жирность */
b, strong { font-weight: 600; }
.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* Списки */
li { list-style-type: none; }

/* Размеры шрифта */
.fs-13, .fs-13 a { font-size: 13px !important;; }
.fs-14, .fs-14 a { font-size: 14px !important;; }
.fs-15, .fs-15 a { font-size: 15px !important;; }
.fs-16, .fs-16 a { font-size: 16px !important;; }
.fs-17, .fs-17 a { font-size: 17px !important;; }
.fs-18, .fs-18 a { font-size: 18px !important;; }
.fs-20, .fs-20 a { font-size: 20px !important;; }
.fs-22, .fs-22 a { font-size: 22px !important;; }
.fs-24, .fs-24 a { font-size: 24px !important;; }
.fs-26, .fs-26 a { font-size: 26px !important;; }
.fs-30, .fs-30 a { font-size: 30px !important;}
.fs-40, .fs-40 a { font-size: 40px !important;}

.decor-none {text-decoration:none;}
.decor-none a{text-decoration:none;}

.lead {font-size: 1.1rem; font-weight: 500;}

/* Группа списков в сайдбаре */
.list-group-item.active {
    color: #252525;
    background-color: #F8F9FA;
    border-color: #0000;
	border: 1px solid rgba(0, 0, 0, 0.125);
}

/* Обрезка картинки по вертикали снизу */
.h-max {height: 150px; object-fit: cover; object-position: top;} 

/* навигация по страницам */
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}
.pagination > li {
  display: inline;
}
.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}

.pagination > li > a:hover,
.pagination > li > .pagination > li {
  z-index: 2;
  color: #000;
  background-color: #f5f5f5;
  border-color: #dcdcdc;
}

/* Оформление заголовков H1, H2 */
.header-h h1,
.header-h h2 {
  position: relative;
  padding: 0.6rem;
  text-transform: uppercase;
  text-align: center;
  color: #181818;
}

.header-h h1 { font-size: 1.3rem; }
.header-h h2 { font-size: 1.2rem; }

.header-h h1::before,
.header-h h2::before,
.header-h h1::after,
.header-h h2::after {
  content: "";
  position: absolute;
  border-bottom: 1px solid #666;
  left: 50%;
  transform: translateX(-50%);
}

.header-h h1::before { width: 25%; bottom: 0.3rem; }
.header-h h2::before { width: 25%; bottom: 0.5rem; }

.header-h h1::after  { width: 18%; bottom: 0; }
.header-h h2::after  { width: 18%; bottom: 0.2rem; }


/* Бургер */

.navbar-toggler {
  width: 20px;
  height: 20px;
  position: relative;
  transition: .5s ease-in-out;
  }
  
  /* Обнуляем BS */
  .navbar-toggler, 
  .navbar-toggler:focus,
  .navbar-toggler:active,
  .navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
  border:0;
  }
  
  .navbar-toggler span {
  margin:0;
  padding:0;
  }
  
  .toggler-icon {
  display: block;
  position: absolute;
  height:2px;  /* толщина линии */
  width: 100%;
  background: #FFF;
  border-radius: 1px;
  opacity: 1;
  left:0;
  transform:rotate(0deg);
  transition: .25s ease-in-out;
  }
  
  .middle-bar {
    margin-top:0px;
  }
  
  /* при нажатии */
  .navbar-toggler .top-bar {
    margin-top: 0px;
    transform: rotate(135deg);
  }
  
  .navbar-toggler .middle-bar {
   opacity:0;
   filter: alpha(opacity=0);
  }
  
  .navbar-toggler .bottom-bar {
    margin-top: 0px;
    transform: rotate(-135deg);
  }
  
  /* иконка при открытом */
  .navbar-toggler.collapsed .top-bar {
    margin-top:-20px;
    transform: rotate(0deg);
  }
  .navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    filter: alpha(opacity=100);
  }
  .navbar-toggler.collapsed .bottom-bar {
   margin-top: 20px;
   transform: rotate(0deg);
  }

/* обрамление обратной связи */
.service-forms{background:repeating-linear-gradient(-45deg,#383838,#383838 10px,#fff 10px,#fff 20px,#1264AD 20px,#1264AD 30px,#fff 30px,#fff 40px),#fff;padding:8px;margin:30px 0}
.service-forms .service-forms-content{background:#fff;padding:25px}

/* Карточка во 2-м блоке главной и похожих новостях */
.h-max-car-top img{width: 310px; height: 200px; object-fit: cover; object-position: top;}
.h-tittl-car-top {height: 70px;}
@media screen and (max-width: 768px) {
.h-max-car-top img{width: 500px; height: 333px; object-fit: cover; object-position: top;}
.h-tittl-car-top {height: 80px;}
}

@media (min-width: 576px) and (max-width: 992px) {
.h-tittl-car-top {height: 84px;}
}

@media screen and (max-width: 768px) {
.h-tittl-car-top {height: 40px;}
}

@media screen and (max-width: 576px) {
  .img-full img {
    float:none !important; /* Выравнивание по левому краю */
    width:100%;
    }
  
}

/*---------- вверх - вниз ------------*/
.go-up, .go-down {
 display: none;
 position: fixed;
 z-index: 9999; 
 right: 2%;
 background: #6600CC;
 border: 1px solid #ccc;
 border-radius: 5px;
 cursor: pointer;
 color: #fff;
 text-align: center;
 font: normal normal 30px/30px sans-serif;
 text-shadow: 0 1px 2px #354251;
 opacity: .6;
 padding: 5px 2px;
 margin-bottom: 5px;
 width: 42px;

}
.go-up { bottom: 60px; }
.go-down { bottom: 10px; }
.go-down:hover,
.go-up:hover {
 opacity: 1;
 box-shadow: 0 5px 0.5em -1px #354251;
}

/* до lg */
@media screen and (max-width: 992px) {
.card-col-2 {width:100%; height:80px;}
.text-foot-2 {bottom: 6px;}	
.card-col-3 {width:100%; height:90px;}
.img-col {display:none;} /* картинка в 3х колонках */ 
}

/* до md */
@media screen and (max-width: 768px) {
.card-col-2 {width:100%; height:100px;}
.card-col-3 {width:100%; height:110px;}

}

/* shortstory.tpl */
  /* Анимация ярлыка */
  .card:hover .position-absolute[style*="opacity: 0"] {
    opacity: 1 !important;
  }

  .card-img-top {
    transition: transform 0.3s ease;
  }

/* Обрезаем 30% снизу (оставляем 50%) */  
    .img-crop-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 50%; 
    overflow: hidden;
  }
  
  .img-crop-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; 
  }
/* Обрез картинки shortstory-serv.tpl */
.object-fit-cover {
  object-fit: cover;
  object-position: center;
}

/* Карточки  includes/card-middle.tpl */
.adv-card {
  border: 2px solid #C59D5F;
  border-radius: 10px;
  transition: 
    border-color 0.3s ease-in-out,
    transform 0.3s ease-in-out;
  transform: translateZ(0);
}

.adv-card:hover {
  border-color: #ce9238;
  transform: translateY(-2px) translateZ(0);
}

.adv-card:hover h2 a {
  color: #CC00CC;
}

/* Фон карточки при наведении - includes/card-middle.tpl */
  .custom-hover-card:hover .position-absolute[style*="opacity: 0"] {
    opacity: 1 !important;
  }

  /* При наведении ярлык вылезает */
  .custom-hover-card:hover .category-badge {
    opacity: 1 !important;
}  

  .img-crop-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 45%; 
    overflow: hidden;
  }
  
  .img-crop-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; 
  }
  
  .card-img-top {
    transition: transform 0.3s ease;
  }

  /* ярлык */
  .category-badge {
    position: absolute;
    top: 0;
    left: 0;
    color: #FFF;
    padding: 0.5rem 1rem;
    opacity: 0; /* Изначально невидим */
    background-color: #ce9238;
    border-bottom-right-radius: 0.375rem !important;
    transition: opacity 0.3s ease;
    z-index: 2;
}

/* Фон карточки при наведении includes/low-rise.tpl */
  .card-hover-bg {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .card-hover-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      linear-gradient(rgba(0,0,0,0.7), rgba(0, 0, 0, 0.95)), /* Чёрный слой с opacity 0.9 */
      url('https://viruson.ru/templates/vipadmin/img/web/card-hover-bg.png') no-repeat center center;
    background-size: cover;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.3s ease;
  }
  
  .card-hover-bg:hover::before {
    opacity: 0.7;
  }
  
  .card-hover-bg .card-body {
    position: relative;
    z-index: 1;
  }
  
  .card-hover-bg:hover .card-body,
  .card-hover-bg:hover .card-body a {
    color: white !important;
  }

  /* Карточки кмменты на главн. */
.comment-link {color: #FFF;}
.comment-link :hover {color: #C59D5F;}

/* Карточки "Сервисы" на главной */
.card-link {
  text-decoration: none;
  display: block;
}

.card-line {
  border: 2px solid #C59D5F;
  border-radius: 10px;
  transition: border-color 0.3s ease-in-out;
  /* Отключаем трансформ для производительности */
  will-change: border-color;
}

.card-line:hover {
  border-color: #ce9238;
}

.card-line-content {
  display: flex;
  align-items: center;
  /* padding: 8px; */
}

.card-line-image {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 8px 0 0 8px; /* Обрезаем левые края */
  overflow: hidden;
  margin-right: 15px;
/*   border-right: 2px solid #C59D5F; Разделитель */
}

.card-line-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Оптимизация рендеринга */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.card-line-title {
  color: #C59D5F;
  margin: 0;
  transition: color 0.3s ease-in-out;
  overflow: hidden;  /* как обрезать текст */
  text-overflow: ellipsis; /* добав. многоточия*/
  white-space: nowrap; /* в одну строку */
}

.card-line:hover .card-line-title {
  color: #FFF;
}

/* Оптимизация для множества карточек */
@media (prefers-reduced-motion: reduce) {
  .card-line,
  .card-line-title {
    transition: none;
  }
}

  /* Карточки "Партнёрки" */
  .card-partner-link {
    text-decoration: none;
    display: block;
  }

  .card-partner {
    border: 1px solid #C59D5F;
    border-radius: 10px;
    transition: border-color 0.3s ease-in-out;
    will-change: border-color;
  }

  .card-partner:hover {
    border-color: #ce9238;
  }

  .card-partner-content {
    display: flex;
    align-items: center;
    /* padding: 8px; */
  }

  .card-partner-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px 0 0 8px;
    /* Обрезаем левые края */
    overflow: hidden;
    margin-right: 15px;
    /*   border-right: 2px solid #C59D5F; Разделитель */
  }

  .card-partner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Оптимизация рендеринга */
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .card-partner-title {
    color: #C59D5F;
    margin: 0;
    transition: color 0.3s ease-in-out;
    overflow: hidden;  /* как обрезать текст */
    text-overflow: ellipsis; /* добав. многоточия*/
  /* white-space: nowrap; в одну строку */
  }

  .card-partner:hover .card-partner-title {
    color: #FFF;
  }

  /* Оптимизация для множества карточек */
  @media (prefers-reduced-motion: reduce) {
    .card-partner,
    .card-partner-title {
      transition: none;
    }
  }

  /* Карточки сайдбар */
.img-crop-container {
    position: relative;
    overflow: hidden;
    max-height: 200px; /* Максимальная высота */
    width: 100%;
}

.img-crop-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top; /* Обрезаем снизу, сохраняя верх */
}

/* Карточка block-affelist.tpl под рекламу ? */
.card-promo-hover {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-promo-hover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.85)),
    url('https://jjji.ru/1300/700/CC00CC') center center no-repeat;
  background-size: cover;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.card-promo-hover:hover::before {
  opacity: 0.9;
}

.card-promo-hover .card-body {
  position: relative;
  z-index: 1;
}

.card-promo-hover:hover .card-body,
.card-promo-hover:hover .card-body a,
.card-promo-hover:hover h5,
.card-promo-hover:hover p {
  color: #fff !important;
}

.card-promo-hover:hover .btn-outline-primary {
  border-color: #fff;
  color: #fff;
}

.card-promo-hover:hover .btn-outline-primary:hover {
  background: #fff;
  color: #6a1b9a;
}

/* DLE */
/* === Общие стили для input, select, textarea === */

input[type="text"]:not(#story), /* :not(#story) - не применяется к окну в navbar */
input[type="search"],
input[type="password"],
input[type="email"],
textarea,
select {
	/* border-radius: 0.375rem; */
	padding: 0.25rem 0.5rem;
	border: 1px solid #ced4da;
	box-shadow: none;
	width: 100%;
}

/* === Кастомный select со стрелкой от Bootstrap === */
select.form-control {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox=%220%200%2024%2024%22 fill=%22none%22%3E%3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M7.707 9.293a1 1 0 0 1 0 1.414L12 15.414l4.293-4.293a1 1 0 1 1 1.414 1.414l-5 5a1 1 0 0 1-1.414 0l-5-5a1 1 0 0 1 0-1.414z%22 fill=%22%23404040%22%3E%3C%2Fsvg%3E');
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 1.75rem;
	padding-right: 3rem;
}

/* Убираем подсветку при наведении на select */
select.form-control:hover {
	background-color: #fff;
	border-color: #ced4da;
}

/* === Чекбоксы === */
input[type="checkbox"],
.form-check-input,
.searchtable .admin_checkboxs input[type="checkbox"] {
	margin-right: 0.5rem;
}

/* === Стили для форм поиска === */
.searchtable .form-label {
	font-weight: bold;
}

.searchtable fieldset {
	border-radius: 0.375rem;
	box-shadow: 0 0 0 0.1rem rgba(6, 72, 170, 0.2);
}

/* Стили для BB-кодов */
.searchtable .bbcodes {
	padding: 0.5rem 1rem;
	border-radius: 0.375rem;
	border: 1px solid #ced4da;
	box-shadow: none;
}

/* Список категорий в поиске */
.select-category select {
	height: 200px;
	overflow-y: auto;
}

/* Дополнительные стили поиска */
.searchtable .search_result_num {
	color: #6c757d;
	font-size: 0.875rem;
}

.searchtable .form-group {
	margin-bottom: 1rem;
}

/* Кнопки диалогового окна */
.ui-dialog-buttonset .btn {
  border-radius: 0.375rem; /* Скругление углов */
  padding: 0.375rem 0.75rem; /* Паддинг для кнопок */
}

.ui-dialog-buttonset .btn:hover {
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25); /* Легкая подсветка при наведении */
}

/* !!! ОТК. ПУШ уведомлений !!!
#DLEPush {
  display: none !important;
}
 */

/* Облако тегов */
.tag_list > span { 
    margin: 0 2px 8px 0; 
}
.tag_list > span, 
.tag_list > span > a { 
    display: inline-block; 
}
.tag_list > span > a {
    background-color: #121416 !important;
    border: 1px solid #121416 !important;
    color: #e7b870 !important;
    text-decoration: none !important;
    padding: 4px 8px;
    border-radius: 4px;
}
.tag_list > span > a:hover {
    background-color: #e7b870 !important;
    color: #121416 !important;
    /* border-color: #e7b870 !important; */
}
.tags_more {
    display: none; 
    margin-top: 1em; 
}


/* Для прогрессбара */
.custom-progress-line {
    width: 50% !important;
    background-color: transparent !important;
    box-shadow: none !important;
    height: 8px; /* толщина */
    margin: 0 1rem;
}

.custom-progress-line .progress-bar {
    width: 100% !important;
    background-color:#2F3132  !important; /* #1d171b - темнее */
}

@media screen and (max-width: 1200px) {	
.custom-progress-line {
    width: 30% !important;
}
}


/* Выбор категорий при ADD новостей */
select[name="catlist[]"][id="category"] {
    max-width: 100% !important;
    width: 100% !important;
}

/* Для мобильных */
@media (max-width: 768px) {
    select[name="catlist[]"][id="category"] {
        height: 120px !important;
        font-size: 14px !important;
    }
}

/* xl - xxl */
@media (min-width: 1200px) and (max-width: 1400px) {

}

/* lg - xl */
@media (min-width: 992px) and (max-width: 1200px) {

}

/* md -lg */
@media (min-width: 768px) and (max-width: 992px) {

}

/* sm - md */
@media (min-width: 576px) and (max-width: 768px) {

}

/* от и до xxl */
@media screen and (max-width: 1400px) {

}

/* от и до xl */
@media screen and (max-width: 1200px) {	

}

/* от и до xs (ноль) - sm */
@media screen and (max-width: 576px) {

}
