textarea.bxeditor-textarea {
  line-height: normal;
}
.b24-form-success {
  background-color: #CCC !important;
}
/*
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	body .ie11fix { flex-basis: 100%; }
}
*/
a,
a:focus {
  outline: none;
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  /* for ie11 */
  /* 	font-family: 'Roboto', sans-serif; */
}
body {
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
  min-height: 100vh;
}
body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
body header {
  /*flex: 0 0 auto;*/
  background-color: #CCC;
  position: fixed;
  width: 100%;
  z-index: 11;
}
body main {
  flex: 1 0 auto;
  z-index: 1;
}
body footer {
  flex: 0 0 auto;
}
h1,
h2,
h3,
h4 {
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child {
  margin-top: 0rem;
}
h1 {
  font-weight: 400;
}
h1:first-child {
  margin-top: 2rem;
}
b,
strong {
  font-weight: 500;
}
.blockquote,
.lead {
  text-align: center;
}
img {
  max-width: 100%;
  height: auto;
}
.caption {
  margin-bottom: 3rem;
  font-size: 0.8rem;
}
.to-edges {
  margin-left: -15px;
  margin-right: -15px;
}
a.show_all {
  background-image: url(/local/templates/bootstrap4/images/strelka2.png);
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 20px;
  margin-top: 13px;
  margin-bottom: 13px;
  display: inline-block;
}
.presentation {
  background-image: url('/local/templates/bootstrap4/images/icons/presentation.svg');
  background-repeat: no-repeat;
  padding-left: 70px;
  display: block;
  height: 60px;
  margin-bottom: 2rem;
}
.order-btn,
a.order-btn {
  display: inline-block;
  background-color: #231f20;
  border: 1px solid #231f20;
  padding: 15px 50px 15px 50px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1rem;
  margin: 15px auto;
  cursor: pointer;
}
.order-btn:hover,
a.order-btn:hover,
a.order-btn:focus,
a.order-btn:active {
  background-color: #FFFFFF;
  color: #231f20;
  text-decoration: none;
}
.more,
a.more {
  display: inline-block;
  background-color: #231f20;
  border: 1px solid #231f20;
  padding: 15px 50px 15px 50px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1rem;
  margin: 15px auto;
  cursor: pointer;
}
.more:hover,
a.more:hover {
  background-color: #FFFFFF;
  color: #231f20;
  text-decoration: none;
}
.messages {
  position: fixed;
  bottom: 0px;
  z-index: 100;
  width: 100%;
  background-color: #000;
  color: #FFFFFF;
}
.messages a {
  color: #FFFFFF;
  text-decoration: underline;
}
.messages .block {
  padding: 10px 0px;
}
.order-form .fancybox-skin {
  border-radius: 0px;
  background-color: #FFF;
  width: 100%;
}
.order-form .fancybox-skin .fancybox-close {
  top: 8px;
  right: 0px;
  width: 60px;
  height: 60px;
  background-size: 20px 20px;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(/local/templates/bootstrap4/components/bitrix/form.result.new/popup/images/close.svg);
  background-color: #FFF;
}
.order-form .popup_form {
  max-width: 600px;
}
.order-form .popup_form .item {
  padding-bottom: 16px;
}
.order-form .popup_form textarea {
  width: 100%;
  border: 1px solid #231f20;
}
.order-form .popup_form input[type=text] {
  width: 80%;
  border: 1px solid #231f20;
}
.order-form .popup_form input[type=file] {
  width: 100%;
  border: none;
}
.order-form .popup_form .errortext,
.order-form .popup_form .starrequired {
  color: #231f20;
}
#mobile-panel {
  display: none;
  padding: 0px 15px 20% 15px;
  z-index: 1001;
  overflow: scroll;
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #231f20;
}
#mobile-panel #mobile-panel-content {
  color: #949597;
}
#mobile-panel #mobile-panel-content a:hover {
  text-decoration: none;
  color: #fff;
}
#mobile-panel #mobile-panel-content section {
  padding: 15px 0px;
  border-top: 1px solid #535355;
}
#mobile-panel #mobile-panel-content nav.menu-activities a {
  display: block;
  font-size: 24px;
  text-transform: uppercase;
  color: #FFF;
  padding: 4px 0px;
  font-weight: 700;
}
#mobile-panel #mobile-panel-content nav.company a {
  display: block;
  font-size: 16px;
  color: #FFF;
  padding: 8px 0px;
}
#mobile-panel #mobile-panel-content .phone a {
  font-size: 18px;
  font-weight: 700;
}
#mobile-panel #mobile-panel-content .snet {
  display: flex;
  justify-content: space-between;
}
#mobile-panel #mobile-panel-content .snet a {
  padding: 4px 2px;
  font-size: 18px;
  font-weight: bold;
}
#mobile-left-menu nav.left_menu {
  background-color: #FFF;
  padding: 12px 0px;
}
#desktop-panel {
  display: none;
}
header a:hover {
  text-decoration: none;
}
header .line1 {
  padding: 15px 0px;
  background-color: #FFF;
  color: #231f20;
}
header .line1 a {
  color: #231f20;
}
header .line1 .logo img {
  width: 140px;
  height: auto;
}
header .line1 .menu-toggle a.menu-toggle-btn {
  display: block;
  cursor: pointer;
}
header .line1 .menu-toggle a.menu-toggle-btn img {
  width: 37px;
  height: 31px;
}
header .line2 {
  background-color: #FFF;
  padding: 12px 0px;
}
main {
  padding: 14px 0px;
}
main .front-slideshow {
  padding-left: 0px;
  padding-right: 0px;
}
article {
  margin-bottom: 48px;
}
article h2,
article h3,
article h4,
article h5,
article h6,
article ul,
article p {
  max-width: 720px;
}
article a {
  text-decoration: underline;
}
article a:hover {
  text-decoration: underline;
}
aside section {
  margin-bottom: 48px;
}
aside .news-item {
  margin-bottom: 16px;
}
aside .news-item .date {
  display: block;
  font-size: 90%;
}
aside .news-item a {
  color: #231f20;
  display: block;
}
aside .news-item a:hover {
  text-decoration: underline;
}
footer {
  color: #FFFFFF;
}
footer .line1 {
  color: #FFF;
  background-color: #231f20;
  font-size: 12px;
  padding: 30px 0px;
}
footer .line1 a:hover {
  color: #FFFFFF;
}
footer .line1 .header {
  font-weight: 700;
  font-size: 14px;
}
@media (min-width: 768px) {
  #desktop-panel {
    z-index: 1002;
    overflow: hidden;
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
  }
  #desktop-panel #desktop-panel-background {
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
  }
  #desktop-panel #desktop-panel-content {
    position: absolute;
    z-index: 1005;
    overflow: auto;
    top: 0px;
    right: 0;
    height: 100%;
    width: 42%;
    max-width: 400px;
    background-color: #211d1f;
    color: #7f7f7f;
    font-size: 16px;
    padding: 30px 50px 90px 50px;
  }
  #desktop-panel #desktop-panel-content a:hover {
    color: #FFF;
  }
  #desktop-panel #desktop-panel-content a.desktop-menu-close {
    padding: 20px;
    float: right;
    display: block;
    margin: -15px -20px 0px 0px;
  }
  #desktop-panel #desktop-panel-content a.desktop-menu-close img {
    width: 28px;
    height: 28px;
  }
  #desktop-panel #desktop-panel-content section {
    padding: 15px;
  }
  #desktop-panel #desktop-panel-content nav.company a {
    display: block;
    font-size: 21px;
    color: #FFF;
    padding: 4px 0px;
    font-weight: 500;
  }
  #desktop-panel #desktop-panel-content nav.company a:hover {
    color: #7f7f7f;
  }
  #desktop-panel #desktop-panel-content .contact .region {
    display: block;
    font-weight: 500;
    color: #FFF;
  }
  #desktop-panel #desktop-panel-content .snet {
    padding-top: 20px;
  }
  #desktop-panel #desktop-panel-content .snet a {
    display: inline-block;
  }
  header .line1 {
    padding: 25px 0px 20px 0px;
  }
  header .line1 nav.menu-activities {
    font-size: 0;
    /* inline-block spacing */
    margin-left: 80px;
  }
  header .line1 nav.menu-activities a {
    display: inline-block;
    font-weight: 700;
    font-size: 18px;
    padding: 6px 8px 0px 8px;
    letter-spacing: 0px;
  }
  header .line1 nav.menu-activities a.selected:link,
  header .line1 nav.menu-activities a.selected:visited,
  header .line1 nav.menu-activities a.selected:active,
  header .line1 nav.menu-activities a.selected:hover {
    text-decoration: underline;
  }
  aside {
    font-size: 12px;
  }
  aside h2 {
    font-size: 1.5rem;
  }
}
@media (min-width: 992px) {
  header .line1 .phone {
    margin-right: 30px;
    font-size: 14px;
    font-weight: 500;
    padding-top: 8px;
  }
  header .line1 .phone a {
    padding-right: 4px;
  }
}
@media (min-width: 1200px) {
  aside {
    font-size: 14px;
  }
  aside section {
    padding-right: 30%;
  }
}
@media (min-width: 1600px) {
  .container-fluid {
    max-width: 1566px;
  }
  .to-edges {
    margin-left: 0px;
    margin-right: 0px;
  }
  header .line1 .company-menu {
    margin-right: 0px !important;
  }
  header .line1 .logo {
    margin-right: 0px;
  }
  main .front-slideshow {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 575.98px) {
  h1 {
    font-size: 2.5rem;
  }
}
