/*********************************/
/* Top containers, common styles */
/*********************************/

@font-face{
       font-family: for_header;
       /*src:url('../fonts/ShellyAllegroC.eot');*/
       src: local(for_header), url('../fonts/Andantino-script.ttf')
             format('truetype');
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.clearfix{
   clear: both;
}

.rounded
{ /*проверить его необходимость*/
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.rounded-bottom
{ /*проверить его необходимость*/
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.generic-container
{ /*проверить его необходимость*/
    width: 100%;
    float: center;
    /*margin: 0 auto;*/
    margin-bottom: 5px;
    padding: 5px;
    background-color: black;/*изменить позже*/
}

.rounded-top
{ /*проверить его необходимость*/
    -webkit-border-top-right-radius: 5px;
    -webkit-border-top-left-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-topleft: 5px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}


.desaturate {  /* возможно это для версии для слабовидящих, проверить позже */
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
}

/*********************************/
/* Top containers, common styles */
/*********************************/

body
{ /*проверить его необходимость*/
  /*background-image: url('../images/bg/bg3842.webp'); /* или .png, .webp и т.д. */
  background-size: cover; /* растягивает изображение на весь экран */
  background-repeat: no-repeat; /* отключает повторение */
  background-position: center; /* центрирует изображение */
  background-attachment: fixed; /* фиксирует фон (опционально) */
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

*
{ /*проверить его необходимость*/
    margin: 0;
    padding: 0;
}

div.containerMain
{ /*проверить его необходимость*/
    margin: 0 auto;
    width: 100%;
    text-align: left;
    /*padding-top: 1.5625rem;*/
}

/*********************************/
/*          Top bar              */
/*********************************/
.topBar { /*верхнее меню*/
   background-image: url('/assets/images/new/topbar-bg.png');
   background-repeat: no-repeat;
   background-position: center top;
   background-size: 100% 100%;
   height: 120px;
   overflow: hidden;
   position: relative;
   z-index: 20;
}

.topBar__inner { /*контейнер для размещения в верхнем меню*/
   max-width: 1450px;
   margin: 0 auto;
   display: flex;
   align-items: flex-start;
   justify-content: flex-start;
   gap: 80px;
   
}

.siteLogo { 
   display: flex;
   align-items: center;
   gap: 12px;
   text-decoration: none;
   color: #452d09;
}

.siteLogo img { /*логотип*/
   display: block;
   width: 85px;
   padding: 10px 10px;
}

.siteLogo__text { /*наименование предприятия раядом с картинкой логотипа*/
   display: flex;
   align-items: center;
   font-size: 21px;
   line-height: 1.1;
   max-width: 340px;
   font-weight: 700;
   transform: scaleY(1.3);
   font-family:'Times New Roman';
   text-transform: uppercase;
   transform-origin: center;
}

/*.siteLogo__name { /*вроде можно убрать
    font-size: 21px;
    line-height: 1.1;
    max-width: 340px;
    font-weight: 700;
    display: inline-block;
    transform: scaleY(1.3);
}*/

.topNav { /*проверить его необходимость*/
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0; 
}

.menu { /*отступы для верхнего меню*/
    /*margin-left: auto;*/
    padding: 10px;
}

.mainNav__list { /*проверить его необходимость*/
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mainNav__link { /*проверить его необходимость*/
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #3f3324;
    padding-bottom: 6px;
    position: relative;
    transform: scaleY(1.16);
    transform-origin: center;
}

.mainNav__item.is-active .mainNav__link::after, /*проверить его необходимость*/
.mainNav__link:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #6b7a3a;
}

/*********************************/
/*    Top bar для каталога       */
/*********************************/

.topBar_catalog {
   height: 90px;
}

.topBar_inner_catalog {
   max-width: 1500px;
   margin: 0 auto;
   display: flex;
   align-items: flex-start;
   justify-content: flex-start;
   gap: 80px;
}

.siteLogo_catalog {
   display: flex;
   align-items: center;
   gap: 12px;
   text-decoration: none;
   color: black;
}

.siteLogo_catalog img {
   display: block;
   width: 75px;
   padding: 10px 10px;
}

.siteLogo_text_catalog {
   display: flex;
   align-items: center;
   font-size: 21px;
   line-height: 1.1;
   max-width: 340px;
   font-weight: 500;
   transform: scaleY(1.1);
   font-family:'Times New Roman';
   text-transform: uppercase;
   transform-origin: center;
}

/*********************************/
/*          Home banner          */
/*********************************/
.hero-banner {
   position: relative;
   width: 100vw;
   height: 600px;
   overflow: hidden;
   background: #000;
   margin-top: -95px; /*поднимает баннер выше под верхнее меню*/
   z-index: 1;
}

.hero-banner__video {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   z-index: 1;
}


/*********************************/
/*          Контент новости      */
/*********************************/

.content-layout {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 20px 20px;
    box-sizing: border-box;
    background: #efd7be;
    margin-bottom: -30px;
    position: relative;
    z-index: 0;
}

.content-layout__inner {
    width: 100%;
    max-width: 1500px;
    background: #efd7be;
    color: #452d09;
    box-sizing: border-box;
    border-radius: 0;
    padding: 5px;
}

.content-layout__inner .text-scale {
    display: inline-block;
    transform: scaleY(1.18);
    transform-origin: top left;
}

/*********************************/
/*          SearchBar            */
/*********************************/
.searchBar {
    position: relative;
    top: -75px;
    right: -540px;
    z-index: 10;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.searchBar:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(231, 76, 60, 0.2));
}

.sisea-search-form {
    position: relative;
}

.searchBar input[type="text"] {
    width: 100%;
    background: #f5f5f5 ;
    padding: 0px 55px 0px 20px ;
    height: 40px ;
    border-radius: 20px ;
    border: none ;
    box-sizing: border-box ;
    font-family: 'Helvetica Neue', Roboto, sans-serif;
    font-size: 14px;
    color: #333;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.searchBar input[type="text"]:focus {
    outline: none;
    background: #fff ;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.15);
    border: 1px solid #e74c3c ;
}

.searchBar input[type="text"]::placeholder {
    color: #95a5a6;
    transition: opacity 0.3s ease;
}

.searchBar input[type="text"]:focus::placeholder {
    opacity: 0.5;
}

.searchBar input[type="image"] {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: grayscale(100%) opacity(0.7);
    margin-left: 0;
}

.searchBar input[type="image"]:hover {
    filter: none;
    transform: translateY(-50%) scale(1.1);
}

/* Анимация при фокусе */
@keyframes searchPulse {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.2); }
    70% { box-shadow: 0 0 0 8px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

.searchBar input[type="text"]:focus {
    animation: searchPulse 2s infinite;
}

/* Микро-интеракция при нажатии */
.searchBar input[type="image"]:active {
    transform: translateY(-50%) scale(0.9);
}

/* Плавное появление тени при скролле */
.searchBar {
    opacity: 0.98;
    transition: opacity 0.3s ease;
}

.searchBar:hover {
    opacity: 1;
}

.searchBarBackground {
   background: transparent;
   border-color: transparent;
}

/*********************************/
/*          ContactButton        */
/*********************************/
/*.position-btn{
   position: relative;
    top: -115px;
    right: -810px;
}

.dropdown-button {
  background: #e74c3c;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.dropdown-button:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Контейнер для позиционирования меню 
.dropdown-container {
  position: relative;
  display: inline-block;
}

/* Выпадающее меню 
.dropdown-menu {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  position: absolute;
  top: 100%; /* Появляется снизу от кнопки 
  left: 50%; /* Центрируем по горизонтали 
  transform: translateX(-50%) translateY(10px); /* Начальное смещение вниз 
  width: Auto; /* Фиксированная ширина 
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 100;
  padding: 8px 0; /* Внутренний отступ сверху/снизу 
  margin-top: 5px; /* Компенсируем отступ 
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -5px; /* Перекрывает зазор 
  left: 0;
  width: 100%;
  height: 10px; /* Высота буферной зоны 
  background: transparent;
}

/* Элементы меню 
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px; /* Расстояние между иконкой и текстом 
  padding: 10px 16px; /* Отступы внутри каждого пункта 
  color: #333;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap; /* Текст не переносится 
}

.dropdown-item:hover {
  background: #f5f5f5;
  color: #e74c3c;
}

/* Показываем меню при наведении на контейнер или кнопку 
.dropdown-container:hover .dropdown-menu,
.dropdown-button:hover + .dropdown-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0); /* Сохраняем центровку 
  pointer-events: auto;
}

/* Иконки в меню 
.icon-small {
  width: 16px;
  height: 16px;
  flex-shrink: 0; /* Чтобы иконки не сжимались */
}

/*********************************/
/*          Button              */
/*********************************/

/*.more-news-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    border: none;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    cursor: pointer;
    margin: 20px 0;
    letter-spacing: 0.5px;
}

/* Эффект перелива 
.more-news-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.2), 
                transparent);
    transition: 0.5s;
}

/* Анимация при наведении 
.more-news-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #f05f4e 0%, #d64532 100%);
}

.more-news-btn:hover::before {
    left: 100%;
}

/* Эффект нажатия 
.more-news-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.5);
}

/* Иконка стрелки 
.more-news-btn::after {
    content: '→';
    margin-left: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
    color: rgba(255,255,255,0.8);
}

.more-news-btn:hover::after {
    transform: translateX(5px);
    color: white;
}

/* Анимация мягкой пульсации 
@keyframes subtlePulse {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

.more-news-btn.pulse {
    animation: subtlePulse 2s infinite;
}

/* Альтернативный вариант с бордером 
.more-news-btn.bordered {
    background: transparent;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    box-shadow: none;
}

.more-news-btn.bordered:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #f05f4e;
    border-color: #f05f4e;
}

/*********************************/
/*      Share 42 buttons         */
/*********************************/
/* Customization */
#share42 { margin: 15px 5px 10px 5px; }
/* Buttons */
#share42 {display: inline-block; padding: 6px 0 0 6px; background: #FFF; border: 1px solid #E9E9E9; border-radius: 4px;}
#share42:hover {background: #F6F6F6; border: 1px solid #D4D4D4; box-shadow: 0 0 5px #DDD;}
#share42 a {opacity: 0.5}
#share42:hover a {opacity: 0.7}
#share42 a:hover {opacity: 1}
/* Counters */
#share42 a {position:relative;}
#share42 a span {display: none; position: absolute; z-index: 10; top: 0; left: 100%; height: 19px; margin-left: 5px; padding: 0 5px; background: #FFF; border-radius: 4px; border: 1px solid #AAA; box-shadow: 0 0 5px rgba(0,0,0,0.25); text-align: center; color: #666; font: 0.75rem/1.67 Arial, sans-serif;}
#share42 a:hover span {display: block}


/*********************************/
/*      Shearch                  */
/*********************************/

div.pagination ul{list-style-type: none;}

div.pagination li{
padding: 0 10px 0 10px;
display: block;
float: left;
text-align: center;
}

div.pagination + p{clear:both;}

/* Appeal */
.appeal-tabs{
   width: 100%;
}
.appeal-tab{
   display: inline-block;
   box-sizing: border-box;
   width: 49%;
   text-align: center;
   border: 1px solid gray;
   border-radius: 4px;
   padding: 5px 10px;
   cursor: pointer;
   transition: background-color 0.4s;
}
.appeal-tab:hover{
   background-color: #ddd;
}
.appeal-tab.active{
   background-color: black;
   color: #fff;
}
.appeal-tabs .appeal-tab p{
   margin: 0;
}
.appeal-wrapper{
   width: 100%;
   overflow: hidden;
}
.appeal-scroll{
   position: relative;
   width: 200%;
   transition: transform 0.4s;
}
.appeal{
   display: inline-block;
   float: left;
   width: 50%;
   box-sizing: border-box;
}
.appeal form{
   padding: 10px 0;
}
#ur-code, #fz-code{
   display: none;
}
.form-control{
   margin-bottom: 10px;
}
.form-control label{
   display: block;
}
.form-control label sup{
   color: darkred;
}
.form-control input,
.form-control textarea{
   font-size: 0.875rem;
   padding: 5px;
   display: block;
   width: 80%;
   border: 1px solid gray;
   outline: none;
   border-radius: 4px;
   box-sizing: border-box;
}


@media (max-width: 1000px) {

}

