@charset "utf-8";
/* CSS Document */
*{
padding:0; margin:0;
}
body{
	background:#003463;
	font:100%/1.5em  "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
}
img{
	max-width:100%;
}


h1 {
	font-size: 22px; /* Для всех по умолчанию */
	color:#c3c3c3;
	margin:0 ;
	padding:0;
}
@media (max-width: 768px) {
  h1 { font-size: 14px; } /* Для планшетов и смартфонов */
}

h2 {
	font-size: 18px; /* Для всех по умолчанию */
	color:#fff;
	margin:0 ;
	padding:0;
}
@media (max-width: 768px) {
  h2 { font-size: 14px; } /* Для планшетов и смартфонов */
}

h3{
	color: darkseagreen;
}

p{	
	font-size: 15px; 
	text-align: left;
	margin:0 10px;
	padding:0 10px;
	color: #c3c3c3;
}
@media (max-width: 768px) {
  p { font-size: 10px; } /* Для планшетов и смартфонов */

}


a {
	color:inherit;
	text-decoration: none;
}

#wrapper{
	width: 100%;
	max-width:1100px;
	min-width:300px;
	margin:0 auto;
	padding: 5px ;
}

#header{
	width: 100%;
	height: 100%;
	overflow: hidden;
	margin-bottom: -5px;
	}
.header_logo{
	width: 58%;
	height: 100%;
	margin-left: 8px;
	background:url(../img/fon_blika.jpg);

	float:left;
	background-repeat:no-repeat;
}
.header_telefon{
   width:40%;
   float:right;
}
section{
width:100%;
}
section .center{
width:100%;
background-image:url(../img/center_bg.png);
background-repeat:repeat-y;
margin:0px auto;
text-align: center;
}
.mal_cont{
background-image:url(../img/mal_cont.png);
background-repeat:no-repeat;
margin-left:20px;
height: 230px;
width:182px;
}


.clear{
 clear:both;
}
.date{
	color: #CCCCCC;
	font-style: italic;
	margin-top:0px;
	margin-right:15px;
	text-align: center;
	
}
footer{
	max-width: 1090px;
	min-width:200px;
	margin:0 auto;
	padding-top: 0;
	padding-bottom: 15px;;
}

.news {
background: #0099FF;
width:15%;
height:12%;
float:left;
margin:10px 10px 10px 30px;
padding: 20px;
  box-shadow:0 5px 15px;
}
/**** PORTFOLIO STYLES*****/
.portfolio-categ{margin-bottom:30px;}
.portfolio-categ li{display:inline;margin-right:10px;}
.image-block{ display:block;position: relative;}
.image-block img{border: 1px solid #e3f1f1; border-radius: 4px 4px 4px 4px;background:#5a91f7;padding:10px;}
.image-block img:hover{border: 1px solid #76a5ec;box-shadow:0 0 10px #1e0592;}
.portfolio-area li{float: left; margin: 0 10px 20px 0px;overflow: hidden; width:245px;padding:5px;}
.home-portfolio-text{margin-top:10px;}
li.active a{ text-decoration: none;}
/**** END PORTFOLIO STYLES*****/


/*-------------------------------------------------------------------------------------*/
.circle-img {
	width: 80px; /* Задайте нужный размер */
	height: 80px; /* Должен совпадать с шириной */
	border-radius: 50%; /* Делает фото круглым */
	object-fit: cover; /* Обрезает изображение, сохраняя пропорции */
	border: 2px solid #07aa30;
}
.captcha{
background:url(../img/captcha.jpg);
color:#FFFFFF;
border:0;
text-align:center;
width:50px;
height:34px;
}
/* Сделаем капчу адаптивной на мобильных */
@media (max-width: 480px) {
	.captcha, input[name="captcha2"] {
		width: 48% !important; /* Два поля капчи встанут в ряд */
		display: inline-block;
	}
}
.error{
color:#FF0000;
font-size:16px;

}

.menu_list {	
	width: 272px;
}
.menu_head {
	padding: 10px 10px;
	cursor: pointer;
	position: relative;
	margin:10px auto 0 auto;
	font-weight:bold;
	background: #333 url(images/left.png) center right no-repeat;
	color:#fff;
	border-radius:5px 5px 0 0;
}
.menu_body {
	display:none;
	width:270px;
	
	border-radius:0 0 10px 10px;
	background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
	box-shadow: 1px 1px 3px #000;
}
.menu_nav{
	min-width:27.272727;
	max-width:100%;
	margin:0 auto;
	padding:0;
	}
.menu_nav ul{
	display:table-row;
	
	}
.menu_nav ul li{
	display:table-cell;
	width:auto;
	height:48px;
	text-align:center;
	vertical-align:bottom;
	border:1px solid #5c97cf;
	background-color: #BEC5C0;
	}
.menu_nav ul li a{
	color:#000;
	height:48px;
	display:table-cell;
	width:960px;
	font:0.9em bold;
	vertical-align:middle;
	text-decoration:none;
	}
.menu_nav ul li a:hover{
	color:#ff6842;
	}
	
.menu_nav select {
  display: none;
}

@media (max-width: 400px) {
.menu_nav ul     { display: none; }
.menu_nav select { display: inline-block; }
}

.article-preview {
  display: -webkit-box;
  -webkit-line-clamp:3;      /* Количество видимых строк */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;    /* Добавляет ... в конце */
}

.title-preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.single-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* Добавляет "..." */
}

.ultra-smooth {
	/* 3s — медленный темп для спокойного эффекта */
	/* alternate — заставляет анимацию идти вперед-назад (плавный цикл) */
	animation: smooth-pulse 2s ease-in-out infinite alternate;
	
	font-family: sans-serif;
	color: #00CC00;
	font-size: 20px;
  }

  @keyframes smooth-pulse {
	from {
	  opacity: 1;
	  transform: scale(1); /* Можно добавить легкое увеличение */
	}
	to {
	  opacity: 0.3;
	  transform: scale(1.02); /* Текст чуть-чуть увеличивается */
	}
  }
  /* ---------карточки -----*/
/* 1. Глобальные настройки цветов */
:root {
  --brand-color: #0030cc;
  --card-bg: rgba(255, 255, 255, 0.95);
  --text-main: #333333;
  --text-muted: #666666;
}

/* 2. Контейнер футера (фон и сетка) */
.footer_main {
  background-image: url(../img/center_bg.png);
  background-repeat: repeat;
  /*padding: 40px 10px;*/
  display: flex;
  justify-content: center;
  align-items: stretch; /* Растягивает все обертки карточек до одной высоты */
  gap: 25px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

/* 3. Обертка для каждой карточки */
.footer_main-blok {
  flex: 1;
  min-width: 300px;
  max-width: 360px;
  display: flex; /* Важно, чтобы внутренняя карточка знала высоту обертки */
}

/* 4. Сама карточка */
.footer_blok {
   border: 2px solid #999;
   padding: 20px;
   margin: 20px;
  background: var(--card-bg);
  backdrop-filter: blur(5px); /* Легкое размытие фона за карточкой */
  border-radius: 15px;
 /* border-left: 5px solid var(--brand-color);*/
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);

  display: flex;
  flex-direction: column; /* Элементы внутри идут сверху вниз */
  width: 100%;
  transition: transform 0.3s ease;
  box-sizing: border-box;
  overflow: hidden;
}

.footer_blok:hover {
  transform: translateY(-8px);
  background: #ffffff;
}

/* 5. Заголовки с иконками */
.footer_blok h4 {
  color: var(--brand-color) !important;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 6. Картинка в карточке видео */
.footer_blok img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  
}

/* 7. Текст превью */
.article-preview {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* 8. ПРИЖИМАЕМ КНОПКУ К НИЗУ (Магия Flexbox) */
.footer_blok p[style*="text-align: right"],
.footer_blok p:last-child {
  margin-top: auto !important; /* Выталкивает кнопку вниз */
  padding-top: 15px;
  margin-bottom: 0;
}

/* 9. Стиль ссылок-кнопок */
.footer_blok a {
  display: inline-block;
  color: var(--brand-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  border: 2px solid var(--brand-color);
  padding: 3px 18px;
  border-radius: 25px;
  transition: all 0.2s ease;
}

.footer_blok a:hover {
  background: var(--brand-color);
  color: #fff !important;
}

/* 10. Удаляем мусорные переносы строк из старой верстки */
.footer_blok br {
  display: none !important;
}

/* 11. Адаптивность под мобилки */
@media (max-width: 768px) {
  .footer_main {
	flex-direction: column;
	align-items: center;
  }
  .footer_main-blok {
	width: 100%;
  }
}
  /*----индикатор----*/
.news-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ff4d4d;
    color: white;
    font-size: 15px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    /* Анимация мигания */
    animation: blink 1.5s infinite ease-in-out;
}

@keyframes blink {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); } /* Чуть пульсирует */
    100% { opacity: 1; transform: scale(1); }
}
  