* {
  box-sizing: border-box;
}

html,
body{
  @media screen and (max-width:1020px){
    overflow-x:hidden;
  }
  scroll-behavior: smooth;
}

.price {
  list-style: none;
  margin: 0;
  padding: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.price:hover {
  box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.2)
}

.price .header {
  background-color: #0F8989;
  color: white;
  font-size: 25px;
}

.price li {
  border-bottom: 1px solid #eee;
  padding: 20px;
  text-align: left;
  list-style: none
}

.price li::before {
  display: none;
}

.price .grey {
  background-color: #fbfbfb;
  font-size: 20px;
}

.button {
  background-color: #E41919;
  border: none;
  color: white;
  padding: 10px 25px;
  text-align: left;
  text-decoration: none;
  font-size: 18px;
}

#customers {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  max-width: 100%;
  min-width: 30%;
  overflow-y: scroll!important;
  display: inline-block;
}

#customers td,
#customers th {
  border: 3px solid #E63C3D;
  padding: 8px;
  text-align: center;
}

#customers tr:nth-child(even) {
  background-color: #fbfbfb;
}

#customers tr:hover {
  background-color: #d7fbfb;
}

#customers th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  background-color: #E63C3D;
  color: white;
}

.tabs .tabs-head.arrow_scroll .nav.nav-tabs {
  transform: translateX(1px);
}

.link .svg,
.icon .svg {
  position: relative;
  margin: 0 auto !important;
  height: 100%;
}

.link .svg svg,
.icon .svg svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo_and_menu-row .phone a {
  position: relative;
}

.logo_and_menu-row .phone a::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 20px;
  top: 0;
  left: -25px;
}

.menu-row .mega-menu table td.wide_menu .wrap.dropdown-menu li.has_img a {
  min-height: 55px;
}

#mobileheader .logo a,
.logo-row .logo a {
  line-height: 100px;
  height: 100%;
  display: flex;
  align-items: center;
}

.header_navigation_and_search {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1344px;
  justify-content: center;
  margin: 0 auto 25px;
}

.header_navigation_and_search > .menu-row {
  width: 100%;
  max-width: 90%;
  min-width: auto;
}

@media screen and (min-width: 991px) {
  #mobileheader .right-icons {
    padding: 20px 0;
  }
}

.detail .galery .flexslider.top-bigs,
.detail .galery .items,
.detail .galery .flexslider .flex-viewport {
  height: auto;
}

table.contacts-stores tr.item .phone {
  width: 230px;
}

.mixitup-container .item-views.table-elements .row div {
  visibility: visible;
}

.block {
  float: left;
  line-height: 13px;
  width: 235px;
  text-align: center;
  background: #b5fffe;
  color: #000000;
  margin-right: 7px;
  border: 3px solid #009896;
  border-radius: 5px;
}

.block h4 {
  font-size: 19px;
}

.block p {
  font-size: 15px
}

.tabs2 input[type="radio"] {
  display: none;
}

.tabs2 input[type="radio"]:checked + label {
  background-color: #fff;
  border-bottom: 1px solid #fff;
}

.column {
  float: left;
  width: 23.3%;
  margin-bottom: 16px;
  padding: 0 8px;
}

.menu-row.with-color .wrap_icon .personal-link,
.wrap_icon.wrap_cabinet,
a.personal-link.dark-color.avt {
  display: none;
}

.breadcrumb > li, .breadcrumb .active, .breadcrumb a, .breadcrumb > * {
  color: #878787 !important;
}

.active_btn,
.noActive_btn {
  background: linear-gradient(101.22deg, #D31C21 1.17%, #E63C3D 100%);
  color: white;
  font-family: 'Montserrat';
  font-style: normal;
  font-size: var(--font-size-18);
  line-height: var(--font-line-height-21);
  padding: 18px 29px;
  font-weight: 700;
}

.noActive_btn {
  background: transparent;
  border: 1px solid #EA3931;
  color: #EA3931;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-size: var(--font-size-18);
  line-height: var(--font-line-height-21);
  text-align: center;
}

.active_btn:hover {
  color: white;
}

.noActive_btn:hover {
  background: linear-gradient(101.22deg, #D31C21 1.17%, #E63C3D 100%);
  border: 1px solid #EA3931;
  color: white;
}

#search_close {
  display: none;
}

@media screen and (max-width: 650px) {
  .column {
    width: 100%;
    display: block;
  }
  .active_btn,
  .noActive_btn {
    padding: 10px 30px 10px;
  }
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  border-radius: 7px;
}

.container {
  padding: 0 17px;
}

.container::after, .row::after {
  content: "";
  clear: both;
  display: table;
}

label[for*=POPUP_EMAIL_],
input[data-sid*="EMAIL_"],
input[id*="EMAIL_"] {
  display: none !important;
}

.product_sub_banner_title, .block_info_sub_tabs {
  width: 100%;
  max-width: 100%;
  text-align: center;
  height: auto;
  display: block;
  min-width: 300px
}

.product_sub_banner_title > h2, .block_info_sub_tabs > h2 {
  text-align: left;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-size: clamp(24px,3vw,48px);
  line-height: 1.4;
  color: #333;
}

.product_sub_banner_title > p, .block_info_sub_tabs > p {
  word-break: break-all
}

.info {
  max-width: 280px;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  margin: 0 0 0 28px
}

.info > .desc {
  font-weight: 400;
  margin: 5px 0
}

.block_table_info > .btn_open_table {
  font-family: 'Montserrat';
  font-style: normal;
  line-height: 17px;
  letter-spacing: .7px;
  font-size: 14px;
  display: block;
  border-radius: 2px;
  background: linear-gradient(101.22deg, #D31C21 1.17%, #E63C3D 100%);
  color: #fff;
  padding: 12px 53px 11px;
  border: none;
  margin: 90px auto 30px;
}

.block_table_info > .btn_open_table > span {
  font-size: 30px;
  vertical-align: middle;
  transform: rotate(0);
  display: inline-block;
  transition: all .3s ease-in-out;
}

.block_table_info > .btn_open_table > span.active {
  transform: rotate(45deg);
}

.block_table_info > .table_info {
  width: 100%;
  max-width: 100%;
  display: none
}

.block_table_info > .table_info.is-open {
  display: block
}

.block_table_info > .table_info > #customers th {
  background: linear-gradient(101.22deg, #D31C21 1.17%, #E63C3D 100%);
}

.block_table_info > .table_info > #customers .btn.btn-default {
  background: linear-gradient(101.22deg, #D31C21 1.17%, #E63C3D 100%);
  border-color: #D23932
}

.block_table_info {
  width: 100%;
  max-width: 100%;
  margin: 0 0 50px
}

.block_stap_svg.mobile {
  display: none;
}

@media (max-width: 1100px) {
  .stocks > .items > .item:nth-child(1), .stocks > .items > .item:nth-child(3) {
    position: static;
  }
  .captcha-row .captcha_input {
    position: static
  }
  .form .captcha-row .captcha_image {
    height: auto;
    position: relative;
    width: 100%;
    max-width: 100%;
    display: block
  }
  .captcha-row .captcha_input input[name=captcha_word] {
    width: 56%;
    top: 130px
  }
  .news-list {
    justify-content: space-evenly
  }
  #customers th {
    font-size: 1.1rem;
    line-height: 1.3
  }
  #customers td, #customers th {
    font-size: 1.1rem;
    line-height: 1.3;
    padding: 3px
  }
}

@media (max-width: 1025px) {
  
  .col-md-6.col-sm-6.dflex > .row {
    width: 100%;
    max-width: 290px
  }
  .form.contacts .title {
    display: block;
    margin: 0
  }
  .col-md-6.col-sm-6.dflex {
    justify-content: center;
  }
  .news-list > .news-item {
    max-width: 360px;
    margin: 0 auto;
  }
  .stocks_info {
    margin: 0 0 25px;
    padding: 10px;
  }
  .block_stocks {
    justify-content: center;
    padding: 0;
  }
  .block_stocks {
    margin: 0 0
  }
  .stocks {
    max-width: 570px
  }
  .stocks > .items > .item {
    max-width: 270px
  }
}

@media (max-width: 780px) {
  .wrap_banner{margin-bottom:60px;margin-top:40px;}
  .mt-120{margin-top:60px;}
  .mb-120{margin-bottom:60px;}
  .header_title__info > .header > .header_info > .header_link{justify-self:flex-start!important;}
  .right_block.narrow_Y.catalog_page > p {
    text-align: center;
  }
  .services_list,
  .block_info_sub_banner > .block_info {
    justify-content: center;
  }
  .container {
    padding: 0;
  }
  .stocks_info > .desc,
  .form_desc,
  .product_sub_banner_title > h2,
  .block_info_sub_tabs > h2,
  .block_services > h2 {
    text-align: left;
  }
  .block_info_sub_banner > .block_info,
  .block_info_tab > .block_info {
    gap: 15px;
  }
  .col-md-6.col-sm-6.dflex > .row {
    max-width: 270px
  }
  .tabs-item {
    padding: 20px
  }
  .tabs ul.nav.nav-tabs {
    display: flex !important;
    justify-content: center
  }
  .item_info {
    text-align: left;
    padding: 0;
  }
  .news-item > .item_info > .item_info_desc {
    padding: 20px 0;
  }
  .detail_services.mtop,
  .detail_form.mtop,
  .about_company,
  .block_history__header{
    padding: 0 20px;
  }
  .history_company_item{margin-bottom:60px;}
  .block_info_missions{padding:0 20px; gap:0!important;}
  .block_info_missions > .block_info_missions_imgs {
    display: grid;
    grid-template-columns: minmax(164px, 164px);
    grid-template-areas: "missimg missimg";
    align-items: center;
    gap: 5px;
  }
  .block_info_missions > .block_info_missions_imgs > img {
    max-width: 100%;
    align-self: end;
  }
  .mb-120 {
    margin-bottom: 60px!important;
  }
  .block_stap_svg.desktop {
    display: none;
  }
  .block_stap_svg.mobile {
    display: block;
    padding: 0 20px;
  }
  .contacts.contacts-page-map-overlay {
    position: static;
    top: 0;
  }
  .block_form_programm {
    gap: 30px;
  }
  .inputs,
  .soglasie{
    justify-content: flex-start;
  }
  .inner-table-block {
    display: block;
    text-align: center;
    margin: 10px 20px;
  }
  .block_btn_price > .price_cart {
    font-weight: 700;
  }
  .products_buy_list > .products_buy_item {
    gap: 30px;
  }
  .block_btn_price {
    justify-content: space-between;
    width: 100%;
  }
  .detail_list_programms, .detail_list_products, .detail_infoTabs, .detail_subBanner_tizers,.block_services_main{
    padding: 0 20px;
  }
  .form.contacts .title {
    text-align: left;
  }
  .text-block {padding:0 40px;}
  .item-views.blocks .title_block {
    padding: 0 20px;
  }
  .flex-direction-nav{
    .flex-nav-prev{
      left: -25px!important;
    }
    .flex-nav-next{
      width: 95%!important;
    }
  }
  .block_stap_work > .header_title__info {
    padding: 0 20px;
    margin: 0 0 30px 0;
  }
  .right_link_block{display:none!important;}
}

@media (max-width: 580px) {
  .item_info > .item_btns > .noActive_btn {
    background: white;
  }
  .main > .container > .row > .maxwidth-theme > div:not(.left-menu-md):not(.right-menu-md) {
    padding: 0 !important;
  }
  .news-list > .news-item > .btn_price {
    justify-content: center;
    flex-direction: column;
    gap: 20px;
  }
  .block_info_sub_banner {
    justify-content: center;
    gap: 0
  }
  .news-list {
    gap: 30px;
    justify-content: center
  }
  .block_stocks {
    margin: 10px 0
  }
  .col-md-6.col-sm-6.dflex > .row {
    max-width: 250px
  }
  .form .more_text_small {
    padding-left: 20px
  }
  .stocks > .items {
    margin: 20px 0
  }
  .news-list > .news-item {
    max-width: 330px
  }
  .stocks > .items > .item {
    max-width: 220px
  }
  .stocks > .items > .item > .title, .stocks > .items > .item > .desc {
    padding: 15px
  }
}

@media (max-width: 480px) {
  .block_info_sub_banner {
    justify-content: center;
    gap: 0
  }
  .stocks > .items > .item {
    max-width: 100%
  }
  .block_stocks {
    margin: 10px 0
  }
  .col-md-6.col-sm-6.dflex > .row {
    max-width: 200px
  }
  .form .more_text_small {
    padding-left: 20px
  }
  .stocks > .items {
    margin: 20px 0
  }
  .news-list > .news-item {
    max-width: 330px
  }
}

@media (max-width: 400px) {
  .col-md-6.col-sm-6.dflex > .row {
    max-width: 190px
  }
  .form .more_text_small {
    padding-left: 3px
  }
  .news-list > .news-item {
    max-width: 320px
  }
  .ribbon2 {
    right: 10px
  }
}

@media (max-width: 380px) {
  .col-md-6.col-sm-6.dflex > .row {
    max-width: 180px
  }
}

@media (max-width: 320px) {
  .col-md-6.col-sm-6.dflex > .row {
    max-width: 160px;
  }
}

blockquote {
  padding: 25px 30px 25px 50px;
  margin: 20px 0 40px;
  border-left: 4px #e63c3d solid;
  font-size: 15px;
  line-height: 1.4;
  border-radius: 3px;
  background: url("/images/svg/quote.svg") no-repeat, #f9f9f9;
  background-position: 15px 20px;
}

.btn.btn-primary,
.btn.btn-primary:hover, .btn.btn-primary:active, .btn.btn-primary:focus {
  background-color: #e4393a;
  border-color: #e4393a;
}

#go-top {
  background-color: #e53b3c;
  color: white;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0;
  position: fixed;
  right: 25px;
  bottom: 100px;
  cursor: pointer;
  height: 56px;
  width: 56px;
  background-position: center 15px;
  border-radius: 100%;
  display: inline-block;
  background-size: 25px;
  background-image: url("https://buh.alpha-soft.ru/local/templates/new-buch/img/scroll.svg");
  transition: all .3s ease-in-out;
  background-repeat: no-repeat;
  box-shadow: 0 102.256px 39.8626px rgb(0 0 0 / 1%), 0 5px 34.6632px rgb(0 0 0 / 5%), 0 25.9974px 25.9974px rgb(0 0 0 / 9%);
}

.flex-direction-nav{
  .flex-nav-prev{
    x-left: -25px!important;
  }
  .flex-nav-next{
    x-width: 95%!important;
  }
}
