html {
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", arial, sans-serif;
  background-color: #fff;
  color: #000;
}
.wrapper {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
h1 {
  font-family: "Times New Roman", arial, sans-serif;
  font-size: 50px;
  color: #843c0c;
  margin: 0;
}
.page-header h1 {
  font-size: 30px;
}
h2 {
  font-family: "Times New Roman", arial, sans-serif;
  font-size: 36px;
  color: #656565;
  margin: 0;
  padding-top: 20px;
}
hr {
  background-color: #ba372a;
  height: 1.5px;
}
a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
}
ul.breadcrumb,
ol.breadcrumb {
  list-style: none;
  margin: 0;
  padding-top: 10px;
  background-color: #ebeae8;
}
ul.breadcrumb li,
ol.breadcrumb li {
  display: inline-block;
  text-transform: uppercase;
  font-style: italic;
  font-size: 10px;
}
/*Редактор кода в админке*/
.CodeMirror {
  font-size: 20px;
  line-height: 1;
}
.button:hover {
  color: #fff;
  background-color: #11457e;
  transition: all 0.2s linear;
}
.button {
  color: #11457e;
  padding: 20px 20px;
  /* background-color: #11457e; */
  font-size: 20px;
  border: 2px solid #11457e;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s linear;
}
.com-content-article__body .button {
  padding: 5px 5px;
  margin: 0 10px;
}
footer {
  background: #404040;
}
.footer {
  padding: 15px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.footer1 {
  color: #fff;
  margin: 0 auto;
  width: 25%;
}
.header {
  z-index: 1;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  width: 100%;
  background-color: #e2dfdf;
}
.logo-wrapper {
  width: 52%;
}
.logo {
  min-width: 300px;
  color: #843c0c;
  font-size: 36px;
  font-weight: bold;
  font-style: italic;
}

#logo {
  width: 40%;
  display: flex;
  justify-content: space-between;
}
.logo_item {
  width: 50%;
  min-width: 180px;
  justify-content: flex-start;
  flex-wrap: wrap;
  vertical-align: middle;
}
.logo_item a img {
  width: 34%;
}
.logo-image {
  width: 100px;
  position: absolute;
  top: 17%;
  left: 4%;
}
.container_content {
  width: 100%;
  display: flex;
  background-color: #ebeae8;
  margin: 0 auto;
}
#textmoduleone {
  font-size: 14pt;
}
.site-description {
  position: absolute;
  top: 23%;
  right: 1%;
  font-size: 2em;
  font-style: italic;
  font-weight: bold;
  color: #f00;
  width: 50%;
  background-color: #ffffffb0;
  padding: 5px;
}
/*-----------------------menu---------------------*/

.menu-wrapper {
  display: flex;
  justify-content: flex-end;
  background: #ffffff;
  position: relative;
}
.main_menu {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
  z-index: 2;
}
ul#menu_nav {
  display: flex;
  font-size: 11px;
  letter-spacing: 1px;
}
.nav-child,
.mod-menu__sub {
  display: none;
}
ul.nav-child li:hover,
ul.mod-menu__sub li:hover {
  background-color: #2780c1;
  color: #fff;
}
ul.nav-child li a:hover,
ul.mod-menu__sub li a:hover {
  color: #fff;
}
ul#menu_nav li {
  padding-left: 10px;
  text-transform: uppercase;
}

.parent {
  position: relative;
}
#sideright ul.menu,
#sideright ul.nav {
  line-height: 2;
}

/*----------------mobile_menu---------------------*/
.mobile_menu-wrapper {
  width: 100%;
  position: absolute;
  right: 0%;
  top: 97%;
  display: none;
  padding: 0 15px 0 0;
  line-height: 2.5;
  background-color: #fff;
  border: 1px solid #000;
  z-index: 10;
}
.mobile_menu {
  display: none;
  padding-top: 37px;
}
.mobile_menu a img {
  width: 40px;
}
.mobile_menu ul.mod-menu__sub a {
  font-size: 24px;
}

ul.nav li {
  list-style-type: none;
  color: #333;
}
ul.mod-menu a {
  color: #333;
}
ul.nav-child,
ul.mod-menu__sub {
  background-color: #eee;
  position: absolute;
  line-height: 1.8;
  padding: 5px 3px;
  width: 250px;
  z-index: 1;
  left: 24%;
}
i.fa {
  color: #000;
}
#mobile i.fa {
  margin-top: 13px;
  display: none;
}
.visible {
  display: block;
}

/*----------------Первый экран главной Акция---------------------*/
.pop_up {
  padding: 10px;
  background-color: #ffffff80;
  color: #f00;
  font-size: 14pt;
  line-height: 1.3;
  margin-top: 5px;
  width: 30%;
}

.content_hidden {
  display: none;
  background-color: #e9be8a;
  position: absolute;
  top: -160%;
  right: 2%;
  width: 80%;
  padding: 22px;
}
.content_hidden img {
  width: 100%;
}
.content_flex {
  display: flex;
  width: 100%;
}
.content_item30 {
  width: 30%;
  padding: 10px;
}
.content_item {
  width: 50%;
  padding: 10px;
}
/*----------------junewsultra---------------------*/
.ju-container {
  width: 100%;
  display: flex;
  background-color: #ebeae8;
  margin: 0 auto;
  padding: 10px;
}
.jn {
  width: 33%;
}
.jn-head {
  display: flex;
}
.jn-left {
  padding-right: 10px;
}

/*----------------junewsultra---------------------*/
#component {
  width: 75%;
  padding: 10px;
  background-color: #fff;
  margin: 20px 20px;
  font-size: 18px;
}
#sideright {
  width: 25%;
  margin: 0 10px;
  font-size: 18px;
}
.copyright {
  color: #fff;
  text-align: center;
}
#scrolltotop {
  width: 40px;
  height: 40px;
  position: fixed;
  bottom: 140px;
  right: 40px;
  display: none;
  z-index: 999;
  border: 1px solid #ddd;
  background-color: rgba(255, 255, 255, 0.4);
}
#scrolltotop:before {
  content: " \f106";
  font-family: "FontAwesome";
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 3px;
  width: 40px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  font-size: 25px;
  font-weight: 700;
  color: #000;
}
#scrolltotop:hover {
  background-color: #c4c4c4;
}
.visually-hidden {
  display: none;
}
div.mod-languages ul {
  margin-top: 20px;
  display: flex;
}
.buttonchat {
  width: 170px;
  position: fixed;
  bottom: 1%;
  right: 1%;
  text-align: center;
  background-color: lavender;
  padding: 0 0 15px;
  border-radius: 5px;
  border: 1px solid #2e2e2e;
  z-index: 100;
}
.buttonchat span {
  font-size: 15px;
  line-height: 40px;
  font-weight: normal;
}
.buttonchat .fab {
  font-size: 30px;
  /*color: #843c0c;*/
  margin: 0 5px;
}
.buttonchat .fab:hover {
  color: #ff6600;
}
.block-text {
  position: absolute;
  top: 7%;
  left: 20%;
}
#confident {
  column-count: 2;
}
@media screen and (max-width: 1024px) {
  .main_menu {
    display: none;
  }
  .mobile_menu {
    display: block;
    padding-right: 37px;
    padding-top: 5px;
  }
  .container_content {
    display: block;
  }
  #component {
    width: 96%;
  }
  i.fa {
    font-size: 40px;
  }
  ul.lang-inline img {
    width: 36px;
  }
  div.mod-languages ul.lang-inline li {
    padding-right: 30px;
  }
  ul.nav-child,
  ul.mod-menu__sub {
    width: 88%;
  }
  .mobile_menu-wrapper {
    font-size: 26px;
  }
  header.header {
    display: block;
  }

  .logo-wrapper {
    width: 100%;
  }
  #textmoduleone {
    font-size: 20pt;
  }
  .menu-wrapper {
    display: flex;
    justify-content: space-around;
  }
  .content_item30 {
    width: 90%;
  }
}
@media screen and (max-width: 980px) {
  .mobile_menu-wrapper {
    font-size: 24px;
  }
  .content_hidden {
    top: -45%;
  }
  .content_flex {
    flex-wrap: wrap;
  }
  .content_item {
    width: 100%;
  }
  .pop_up {
    font-size: 23pt;
    width: 90%;
  }
  .logo {
    width: 100%;
    transform: none;
  }
  .textitem {
    transform: skewX(0deg);
  }
}

@media screen and (max-width: 525px) {
  h1 {
    font-size: 28px;
  }
  h2 .head_description {
    font-size: 20px;
  }
  #textmoduleone {
    font-size: 23pt;
    display: none;
  }
  .mobile_menu a img {
    width: 24px;
  }

  #mod-custom155 .custom .block-text {
    position: static !important;
    top: auto !important;
    left: auto !important;
  }
  body .buttonchat {
    width: 100%;
    height: 80px;
    bottom: 0;
  }
  body .buttonchat .fab {
    font-size: 40px;
    margin: 10px 30px;
  }
  body .buttonchat span {
    font-size: 22px;
  }
  .pop_up {
    font-size: 25pt;
  }
  .logo {
    width: 100%;
    transform: none;
  }
  .textitem {
    transform: skewX(0deg);
  }
  div#logomoduleone img {
    width: 150px;
  }
  #component {
    margin: 0;
  }
  .mobile_menu-wrapper {
    font-size: 22px;
  }
}
