/* назначить ширина контейнеров */
/* @media and (min-width: 1920px) {
.container{ max-width: 1440px;}
.container-fluid { max-width: 1440px;}  
.container-fluid { max-width: 1366px;} 
} */

/* Адаптивность всех картинок */
img{
max-width: 100%;
height: auto;
}

/* Заголовки (перезапись 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; }

/* Ссылки
a {
  color: #1264AD;
  text-decoration: none !important;
}
a:hover {
  color: #00131D;
}
 */
/* Цветовые классы
.m-color { color: #1264AD; }
.m-bg { background: #1264AD; }
 */
/* Жирность */
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; }

/* Радиусы скругления */
.radius-2  { border-radius: 0.25rem; }
.radius-4  { border-radius: 0.4rem; }
.radius-6  { border-radius: 0.6rem; }
.radius-8  { border-radius: 0.8rem; }
.radius-10 { border-radius: 1rem; }
.radius-25 { border-radius: 2rem; }

/* Списки */
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);
}

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

/* Короткая новость */
.short-story h2 a{color:#1264AD;}
.short-story h2 a:hover{color:#000;}

.shadow-ss:hover {
	box-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 2px 3px rgba(0,0,0,0.2);
	transition: box-shadow .3s;
}

/* .short-link {font-size:12px;} текст футера карточки */
.short-link i{padding:0 5px;} /* Отступы иконок */
.short-link span{margin-right:12px;}

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

/* Вывод коротких новостей в 2 колонки для shortstory-col-2.tpl */
.card-col-2 {width:48.3%; float:left; margin:5px;}
.text-foot-2 {position: absolute; bottom: 10px;}


/* Вывод коротких новостей в 3 колонки для shortstory-col-3.tpl */
.card-col-3 {width:32%; float:left; margin:5px;}
.text-foot-3 {position: absolute; bottom: 10px;}

/* Полная новость */
/* Регулируем верт. отступы, когда "Автоматический перенос строк" Управляем br от DLE  */
/* .br-none br {display: block; content: ""; padding: 3px 0;} */
/* .br-none h2,h3,h4,h5 {margin: 12px 0 3px 0;} */
/* полная новость */
/* .font-full {font-size: 0.975rem;} 15.6px */
/* отступ под картинками */
/* .img-full img {padding: 10px 12px 2px 0;} */

.img-full img {
/* float:left; Выравнивание по левому краю. Другие картинки тоже влево */
  margin: 22px 15px 5px 0; /* Отступы вокруг картинки. Если margin: 0 15px 5px 0; - то нужно вкл. ниже br */
}
/* .br-none br {display: block; content: ""; padding: 0;} убираем <br> из DLE */

/* навигация по страницам */
.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 */
.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 {
  content: "";
  position: absolute;
  border-bottom: 1px solid #666;
  left: 50%;
  width: 25%;
  transform: translateX(-50%);
}

.header-h h1::before {
  bottom: 0.3rem;
}

.header-h h2::before {
  bottom: 0.5rem;
}

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

.header-h h1::after {
  bottom: 0rem;
}

.header-h h2::after {
  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;}

}

/* диапазон конкретных брекпоинтов */

/* 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) {

}

/* Обнуляем выделени элементов BS
  .form-control, 
  .form-control:focus,
  .form-control:active,
  .navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
  border:0;
  }

  .btn, 
  .btn:active,
  .btn:focus {
  outline: none;
  box-shadow: none;
  border:0;
  }

  input,
  button,
  select,
  optgroup,
  textarea,
  .form-control {
    outline: none;
    box-shadow: none;
    border:0;
  } */


