/*#region Шрифты */
@font-face {
  font-family: "Proxima Nova";
  src: url(../fonts/ProximaNovaCond-Regular.ttf);
}
/* @font-face {
  font-family: "Montserrat SemiBold";
  src: url(../fonts/Montserrat-SemiBold.ttf);
}
@font-face {
  font-family: "Montserrat Light";
  src: url(../fonts/Montserrat-Light.ttf);
}
@font-face {
  font-family: "Montserrat Regular";
  src: url(../fonts/Montserrat-Regular.ttf);
} */
body,
.site-footer,
a {
  /* font-family: 'Proxima Nova', serif !important; */
  font-family: Manrope, sans-serif !important;
}
/*#endregion */

/*#region Общие настройки */
div#toolbar-administration div,
div#toolbar-administration p,
div#toolbar-administration a {
    font-size: 15px;
    padding-right: 6px;
}
p, a, div {
    font-size: 18px;
}
html,
body,
div.dialog-off-canvas-main-canvas,
div#page-wrapper {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  height: 100%;
  justify-content: space-between;
}
div#page {
  display: flex;
  flex-direction: column;
  height: 100%;
}
div#main-wrapper {
  flex: 1 0 auto;
}

@media (max-width:800px) {
  div#main-wrapper .container {
    --bs-gutter-x: 0.3rem;
  }
}
a {
  text-decoration: none;
}
.no-link {
  pointer-events: none;
}
.no-link a {
  color: #333;
}
@media (min-width:800px) {
  #block-nostro-page-title H1 { /* Заголовок страницы ОБЩИЙ */
    text-align: center;
    margin: 10px 0 20px 40px;
  }
}
button {
  color: #fff  !important;
}
textarea:focus-visible,
input:focus-visible {
  outline: none;
}
/*#endregion */

/*#region ТРОББЕР */
.loader1 {
width: 65px;
    height: 65px;
    border: 4px solid #f7f7f7;
    border-radius: 50%;
    display: inline-block;
    position: fixed;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    top: 45%;
    left: 50%;
    z-index: 9999;
    box-shadow: inset 0 0 2px #27234e8c;
    @media (max-width: 800px) {
      left: 41%;
    }
} 
.loader1::after {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-bottom-color: #820000;
}
.loader1::before {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #4f01cc;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.ajax-progress-throbber, /* скрываем AJAX троббер  */
.ajax-progress {
	display: none;
}
/*#endregion*/

/*#region Блоки в шапке */
.wrapper-top-header .container .row {
    margin: 0;
}

@media (min-width:801px) {
  .region.region-top-header {
  justify-content: space-between;
}
  .region.region-top-header {
    padding: 1vw 0 1vw;
    align-items: center;
  }
}
@media (max-width:1200px) {
  div#block-nostro-polzovatelskiylogotipitekst {
    width: 20%;
    padding-right: 4px;
    padding-left: 5px;
  }
  .logo-img-text p {
    display: none;
  }
  .logo-img-text img {
    width:100%;
  }
}
@media (max-width:800px) {
  .wrapper-top-header .container .row {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
  #block-nostro-adrespredpriyatiya {
    display: none;
  }
  .logo-img-text p {
    display: none;
  }
    .logo-img-text img {
    width:auto;
  }
    div#block-nostro-polzovatelskiylogotipitekst {
    width: 66% !important;
    margin-top: 10px;
  }
}


div#block-nostro-polzovatelskiylogotipitekst {
  width: max-content;
}
.logo-img-text img {
  width: 180px;
}
/*#endregion */

/*#region Главное Горизонтальное меню  */

#block-nostro-glavnoegorizontalnoemenyu-menu > ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
#block-nostro-glavnoegorizontalnoemenyu-menu > ul > li {
  padding: 10px 19px;
  font-size: 1.5em;
  font-weight: 600;
}
#block-nostro-glavnoegorizontalnoemenyu-menu > ul > li:hover {
background-color: #e0e0e0;
}


/*#endregion   */

/*#region  Поиск вверху сайта блок*/
div#search-block,
div#search-block-mobile {
  margin-bottom: 0 !important;
  width: 40%;
  float: right;
  @media (max-width:1200px) {
    width: 29%;
  }
}
div#search-block .js-form-item,
div#search-block-mobile .js-form-item {
  width: 100%;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
div#search-block input,
div#search-block-mobile input {
  height: 2.3em;
  width: 100%;
  border: 1px solid rgb(54, 54, 54);
  border-radius: 1em;
  padding-left: 12px;
  padding-right: 26px;
}
div#search-block div.d-flex.flex-wrap,
div#search-block-mobile div.d-flex.flex-wrap {
  margin-bottom: -1rem;
  display: flex;
}
.js input.form-autocomplete { /* Скрываем кружок в строке поиска */
  background-image: none !important;
}
form .form-actions { /* Это переопределение кнопки поиска, чтобы она не уезжала" */
  align-self: auto;
}
div#search-block button,
div#search-block-mobile button {
  background-size: 83% !important;
  background-position-y: 50% !important;
  background-position-x: 50% !important;
  background-repeat: no-repeat;
  border: none;
  background-image: url(../images/search-gray.svg);
  background-color: #fff0;
  color: #fff0 !important;
  margin-left: -30px;
}
.krest {  /*  Крестик на поиске */
  position: absolute;
  right: 7px;
  top: 36%;
  z-index: 9;
  color: #b3a499;
  cursor: pointer;
}
@media (min-width:801px) {
  div#search-block-mobile {
    display: none;
  }
}
@media (max-width:800px) {
  div#search-block {
    display: none;
  }
  div#search-block-mobile {
    width: auto;
    padding-left: 0;
    padding-right: 0;
  }
  div#search-block-mobile input {
  height: 2.1em;
  border: 1px solid rgb(54, 54, 54);
  border-color: rgb(183 183 183);
  border-radius: 0.5em;
  }
}
/* Автозаполнение*/
.ui-widget.ui-widget-content.search-api-autocomplete-search {
  background-color: #ffffff !important;
}
.search-api-autocomplete-search li article {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}
.search-api-autocomplete-search li article .field--name-title { /* Переопределение стилей поля TITLE в строке */
  margin: 0;
}
    /* КОНЕЦ Автозаполнение*/
/*#endregion*/

/*#region  Блок с адресом в шапке  */
div#block-nostro-adrespredpriyatiya {
    width: auto;
}
/*#endregion*/

/*#region  Аккаунт меню  */
@media (min-width:801px) {
  #account-menu-mobile {
    display: none;
  }
}
#account-menu {
  width: 50px;
  float:right;
  margin-right: 15px;
}
#account-menu > ul > li, 
#account-menu-mobile > ul > li {  
  background-image: url(../images/people-black.svg);
  cursor: pointer;
  width: 50px;
  height: 45px;
  background-repeat: no-repeat;
  position: relative;
  background-size: 100%;
  z-index: 9
}
#account-menu-mobile > ul > li {
  margin: 0;
}
#account-menu-mobile > ul > li > ul > li a {
  color: #333;
  font-size: 1.4em;
  padding: 13px 20px;
  font-weight: 600;
}
#account-menu ul li ul,
#account-menu-mobile ul li ul {
  display: none;
  position: absolute;
  background-color: #fff;
  width: 200px;
  list-style-type: none;
  padding: 0;
  line-height: 1em;
  margin-top: 0;
  box-shadow: 0 0 3px 1px #ddddddab;
  left: -83px;
}
#account-menu-mobile ul li ul {
  left: -153px;
}
#account-menu > ul > li span,
#account-menu-mobile > ul > li span {
  height: 29px;
  color:transparent;
}
#account-menu-mobile {
  width: auto;
  padding: 0;
  height: 29px;
}
@media (max-width:800px) {
  #block-nostro-korzinaipolzovatelnadesktop {  /* Это группа корзина+иенюАккаунт для десктоп */
    display: none;
  }
  #account-menu {
    width: 35px;
    margin-bottom: -19px;
  }
  #account-menu > ul > li, #account-menu-mobile > ul > li {
    width: 33px;
  }
}
/*#endregion*/

/*#region БЛОК Телефон и емайл в шапке */
div#block-nostro-telefoniemayldlyaglavnoy {
    width: 16%;
    line-height: 1.6em;
    text-align: center;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
}
div#block-nostro-telefoniemayldlyaglavnoy p {
    margin-bottom: 0;
}
@media (max-width:800px) {
  div#block-nostro-telefoniemayldlyaglavnoy {
      display: none;
  }
}
#nostro-tel-top-mobile {
  display: none;
}
@media (max-width:800px) {
  div#nostro-tel-top-mobile { /* Это мобильный */
    font-weight: 600;
    color: #6f6f6f;
    padding: 0;
    width: auto;
    display: flex;
    align-items: center;
  }
}
/*#endregion */

/*#region Значок корзины десктоп и мобайл */
@media (min-width:801px) {
  #korzina-mobile {
    display: none;
  }
}
div#block-nostro-korzina {
  width: 56px;
  float: right;
  padding: 0;
}
.cart-block--summary a {
  display: block;
  position: relative;
  width: fit-content;
}
div#block-nostro-korzina span.cart-block--summary__count {
  color: #333333c2;
  font-size: 14px;
  font-weight: 800;
}
.cart-block--summary__icon img {
  width: 39px;
  filter: invert(100%);
  opacity: 0.6;
}
/* мобильная корзина */
#korzina-mobile .cart-block--link__expand {
  display: flex;
}
#korzina-mobile span.cart-block--summary__icon {
  width: 20px;
  margin: 0 3px 0 10px;
}
#korzina-mobile .cart-block--summary__count {
  display: flex;
  align-items: center;
}
@media (max-width:801px) {
  div#block-nostro-korzina {
    width: 45px;
  }
  .cart-block--summary__icon img {
    width: 28px;
  }
}
/*#endregion */

/*#region Мобильный телефон шапка  */
@media (min-width:800px) {
  #block-nostro-mob-tel-header {
    display: none;
  }
}
@media (max-width:800px) {
    div#block-nostro-mob-tel-header {
      width: auto;
      float: right;
      margin-right: 1em;
    }
  }
/*#endregion */

/*#region Кнопка для "Вертикальное меню Инструменты" (Бургер меню ДЕСКТОП)  */
@media (min-width:800px) {
  #burger-menu-button-mobile {  
    display: none;
  }
}
@media (max-width:800px) {
  #block-nostro-glavnoegorizontalnoemenyu-menu { /* на мобильнои убираем горизонтальное меню*/
    display: none;
  }
}

.burger-menu-btn-cover {
  width: min-content;
	display: flex;
  /* background-color: #820000; */
  padding: 3px 2px;
}
.burger-menu-btn-cover:has(.active)::after{
  color:#27234e;
}
.burger-menu-btn {
  width: 24px;
  height: 21px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin: 0 auto;
  cursor: pointer;
}
.burger-menu-btn span {
  width: 100%;
  height: 17%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #3098a3;
  transition: all 0.5s;
}
.burger-menu-btn span:nth-of-type(2) {
  top: calc(50% - 30%);
}
.burger-menu-btn span:nth-of-type(3) {
  top: calc(50% + 30%);
}
.burger-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 15px;
  background-color: gray;
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.burger-menu.active {
  transform: translateX(0);
}
.burger-menu li {
  list-style-type: none;
}
.burger-menu-btn.active span {
  background-color: #820000;
}
.burger-menu-btn.active span:first-of-type {
  transform: translateX(100%);
}
.burger-menu-btn.active span:nth-of-type(2) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.burger-menu-btn.active span:nth-of-type(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}
@media (max-width:800px) {
  div#burger-menu-button-mobile {
    margin-right: 10px;
    float: left;
  }
  .burger-menu-btn span:nth-of-type(2) {
    top: calc(50% - 10px);
  }
  .burger-menu-btn span:nth-of-type(3) {
    top: calc(50% + 10px);
  }
  .burger-menu-btn {
    width: 33px;
    height: 26px;
  }
}
#burger-menu-button-mobile .burger-menu-btn span {
  /* background-color: #ffffff;  */
  height: 5px;
}

/*#endregion */

/*#region Вертикальное меню Инструменты */
.wrapper-primary-menu {
    position: relative;
}
@media (min-width:800px) {
  .wrapper-top-header > .container,
  .wrapper-primary-menu > .container {
      border-bottom: 1px solid #333;
  }
}

#block-mob-vert-menu {
	position: absolute;
  z-index: 999;
  background-color: #f9f9f9;
  transition: 0.5s;
  width: 0;
  height: 0;
  overflow: hidden;
  margin-left: -10px;
  line-height: 0.9;
  visibility: hidden;
	top: 37px;
	/* white-space: nowrap; */ /* Это исключает перенос слов */
  box-shadow: 1px 1px 8px 1020px #3333333d;
}
.block-mob-vert-menu-active {
  width: 90% !important;
  height: 12em !important;
  visibility: visible !important;
  transition: 0.5s;
}
#block-mob-vert-menu ul {
	display: block;
	list-style: none;
}
/* .open1 {
  background: #ececec;
} */
#block-mob-vert-menu ul li.open1:has(ul) span::after{
  transform: translateY(3px) translateX(-2px) rotate(180deg);
  /* margin-bottom: 3px;
  margin-left: 2px; */
}
#block-mob-vert-menu ul li span,
#block-mob-vert-menu ul li a {
  display: flex;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  padding-right: 3px;
  /* border-bottom: 1px solid #9e9e9e; */
  height: 36px;
  font-weight: 600;
}

@media (max-width:800px) {
  .wrapper-primary-menu {
      position: relative;
      border-bottom: 1px solid;
      margin-bottom: 10px;
      /* padding-bottom: 0 !important; */
      height: 39px;
  }
}

#block-mob-vert-menu ul li ul li {
  background-color: #f9f9f9;
}
/*#endregion */

/*#region СИСТЕМНЫЕ сообщения и Служебные страницы типа feeds и т.д. */
.alert-wrapper {
    position: relative;
    max-height: 100%;
    height: auto;
    z-index: 99;
}
.alert-wrapper .alert {
    display: flex;
}
.alert svg {
    max-width: 1rem;
    height: 1rem;
}
nav.action-links li a {
    background: #ffb38d;
    padding: 1px 7px;
    font-size: 0.9em;
    border: none;
    font-weight: 600;
}

nav.action-links li {
    margin-right: 10px;
}
nav.action-links {
    display: flex;
    margin: 10px;
}
/*#endregion */

/*#region  Подвал  */
@media (min-width: 800px) {
  .site-footer__top.clearfix {
    display: flex;
  }
  .site-footer__top .region {
    margin: 0 0; /* Перекрытие класса row для регионов в подвале  */
  }
  .site-footer__top .region + .region {
    margin-left: 1%;
    border-left: 1px solid #c4bfbf;
  }
  .sting-tel-mobile {
    display: none;
  }
}
@media (max-width: 800px) {
  .sting-tel-decktop {
    display: none;
  }
}
.site-footer {
  background-color: #DEDEDE;
}
.site-footer__top p { /* Перекрытие класса из bario theme */
    margin-top: 0;
}
.site-footer { /* Перекрытие класса из bario theme */
  padding-top: 12px;
  padding-bottom: 0;
}
.site-footer .block { /* Перекрытие класса из bario theme */
  margin: 7px 0;
}
.site-footer .content,
.site-footer .content p,
.site-footer .content a {
  color: #333;
  font-size: 15px;
}
.site-footer .content a:hover {
  color: #820000;
}
.site-footer .block {
  border: none; /* Перекрытие в теме bootstrap-bario  */
}
div#block-nostro-pervyyblokvpodvale img {
  width: 70%;
  filter: grayscale(0.5);
  opacity: 0.5;
  height: auto;
}
div#block-nostro-tretiyblokvpodvale a,
div#block-nostro-tretiyblokvpodvale p {
    font-size: 18px;
}
/*#endregion*/

/*#region Копирование текста в буфер обмена */
.cp-to-clip {/*Это для всего копированияч текста в буфер обмена */
  position: relative;
  cursor: pointer;
}

.text_to_clipboard { /*Это ВСПлывающее окно для копированияч текста в буфер обмена */
  display: inline-block;
  position: absolute;
  width: 366px;
  color: green;
  font-style: italic;
  background-color: #e3e3e3;
  padding: 3px 3px 3px 3px;
  border-radius: 15px;
  z-index: 10;
  text-align: center;
  top: 1.7em;
  left: -2em;
  @media (max-width:800px) { 
    top:30px;
    left: 0;
    width: 100%;
    margin-left:0;
  }
}

.cp-to-clip.copied {/*Это для всего копированияч текста в буфер обмена */
  color: green !important;
}
.cp-to-clip:after {
  content: ' ';
  background-image: url(../images/copy-icon-base.svg);
  width: 1em;
  height: 0.8em;
  background-size: 83%;
  background-repeat: no-repeat;
  display: inline-block;
  margin-left: 2px;
}

/* #endregion */

/* #region МЕГАМЕНЮ*/

.podsvetka { /* Для подсветки кпункта меню "Продукция", клгда мышка наведена на раскрытый блок мегаменю */
  background-color: #e0e0e0;
  transition: 0.4s;
}
/* .podsvetka a {
  color: #fff !important;
} */
div#block-nostro-megamenyu {
  position: relative;
}
.mega-menu-production {
  display: flex;
  flex-direction: row;
  width: 90%;
  position: absolute;
  top: 5px;
  left: 5%;
  border-radius: 10px;
  box-shadow: 0 0 15px 0px #d1d1d1;
  padding: 1em;
  z-index: 4;
  background-color: #fff;
  transition: 0.5s ;
  transition-delay: 0.5s;
  opacity: 0;
  visibility: hidden;
}

.mega-menu-production > div + div {
  padding-left: 1em;
}
.mega-menu-production a {
  font-size: 1.2em;
  text-align: center;
  display: block;
}
.mega-menu-production a:hover {
    color: #820000;
}
div#block-nostro-megamenyu h3:before { /* Иконки мв мегаменю */
  content: " ";
  width: 20px;
  height: 20px;
  background-image: url(../images/mega-menu-icons-carbid-insert.svg);
  background-size: 100%;
  margin: 0 6px 0px 0;
  display: block;
  float: left;
  background-repeat: no-repeat;
}


.mega-visible {
  opacity: 1;
  visibility: visible;
  transition: 0.5s ;

}
/* #endregion */

/*#region Контакт БЛОК */
#block-nostro-contactblock #edit-message-wrapper label {
  display: none;
}
#block-nostro-contactblock input#edit-mail,
#block-nostro-contactblock input#edit-name,
#block-nostro-contactblock button,
#block-nostro-contactblock textarea {
  width: 100%;
  border-radius: 4px;
  color: #333 !important;
  padding: 5px;
  border: 1px solid #aaa;
}
#block-nostro-contactblock label {
  display: none;
}
/*#endregion*/

/*#region Соглашение COOCIES POP-AP окно*/
.eu-cookie-compliance-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 2.4em;
}
.eu-cookie-compliance-buttons button.agree-button {
  border-radius: 5px;
  padding: 5px 10px;
  background-color: #a9a9a9;
}
.eu-cookie-compliance-buttons button.decline-button {
  padding: 5px 10px;
  background: #a9a9a9 !important;
  border: none;
  box-shadow: none;
  text-shadow: none;
  font-weight: 300;
  font-size: 19px;
  font-family: 'Proxima Nova';
  font-family: Manrope, sans-serif;
  margin-bottom: -3px;
}
div#sliding-popup:has(.eu-cookie-compliance-banner) {
  background-color: #79797970;
}
.eu-cookie-compliance-message a {
  color: inherit;
  text-decoration: underline;
}
.eu-cookie-compliance-message h3,
.eu-cookie-compliance-message a {
 font-size: 18px !important;
}
/*#endregion*/

/*#region Pop-Up окно добавления в корзину */
/* button.ui-dialog-titlebar-close, */

@media (min-width: 801px) {
  .ui-button.ui-corner-all.ui-widget.ui-button-icon-only.ui-dialog-titlebar-close span { /* Это крестик */
    top: 5px;
    height: 30px;
    width: 30px;
    background-image: url(../images/cross.png);
    border: 1px solid;
    background-color: #ffffff;
    left: 0 !important;
    background-size: 100%;
    background-position: 0;
  }
  button.ui-dialog-titlebar-close:empty {
    top: 15px;
    height: 30px;
    width: 30px;
    background-image: url(../images/cross.png);
    border: 1px solid;
    background-color: #ffffff;
    background-size: 100%;
    background-position: 0;
  }
}
.pop-up-add-cart p {
  display: none;
}
div.ui-dialog-titlebar:has(+ div .pop-up-add-cart) h1 {
  font-size: 28px;
  @media (max-width: 800px) {
    font-size: 20px;
  }
}
.pop-up-add-cart-button {
  color:#333;
}
.pop-up-add-cart-variation > div {
  display: flex !important;
  height: 60px;
  margin-bottom:2em;
}
.pop-up-add-cart-variation .field__label {
  text-align: center;
  font-weight: 600;
}
.pop-up-add-cart-variation > div > div {
  display: flex;
  height: inherit;
  flex-direction: column;
  justify-content: space-between !important;
  align-items: center;
}
.pop-up-add-cart-variation > div > div + div {
padding-left: 15px;
margin-left: 15px;
border-left: 1px solid #999;
}
.pop-up-add-cart-buttons a.button--primary ,
.pop-up-add-cart-buttons a.button.button--secondary {
  color: #00934e;
}

.pop-up-add-cart-buttons a.use-ajax.button.button--secondary {
  color: #ff3c37;
}
 .pop-up-add-cart .field--name-field-stock-level {
  text-align: center;
 }

@media (max-width: 800px) {
  div:has(div .pop-up-add-cart) {
    width: 96% !important;
    margin: 0 auto;
    margin-left: 2%;
  }
  .pop-up-add-cart .field--name-field-stock-level,
  .pop-up-add-cart .field--name-price,
  .pop-up-add-cart .field--name-sku,
  .pop-up-add-cart .field--name-field-img {
    display: none !important;
  }
  .pop-up-add-cart-variation > div > div {
    padding-left: 0 !important;
    margin-left: 0 !important;
    border-left: none !important;
  }
  .pop-up-add-cart-buttons {
    display: flex;
    flex-direction: column;
  }
  .pop-up-add-cart-buttons a {
      margin-bottom: 5px;
  }
  .ui-dialog-titlebar.ui-corner-all.ui-widget-header button.ui-dialog-titlebar-close { /* Это крестик */
    top: 15px;
    height: 30px;
    width: 30px;
    background-image: url(../images/cross.png);
    border: 1px solid;
    background-color: #ffffff;
    background-size: 100%;
    background-position: 0;
    }
}
/*#endregion*/

/*#region  Текст на главной */
.home-text {
    font-size: 1.2em;
    line-height: 1.3em;
}
/*#endregion*/


