@import "my_css_style.css";

a {text-decoration:none}

header .container {position: relative}
.wrap_header_divs{
  position: absolute;
  bottom:0;
  top:0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-around;
  flex-direction: row-reverse;
  align-items: center;
}
.wrap_header_divs>div{
  display: inline-block;
  /* display: flex; */
  margin-bottom: 1em;
}

@media (max-width: 555px) {
  .wrap_header_divs{
    display: flex;
    position: relative;
    flex-wrap: wrap;
  }
}
.search_div_fr {
}

section.block_on_main >div {
  padding-top: 2em;
  padding-bottom: 2em;
}
.title_link {font-size: 0.7em}

header .h_lini_icons > .dib {
  padding: 1em 0.5em 1em 0.5em;
  /* margin-bottom: 1em; */
  text-decoration: none;
  /* vertical-align: sub; */
}
header .h_lini_icons > .dib >span {
  line-height: 1.1em;
  color: gray;
  font-size: 14px;
  vertical-align: middle;
  padding: 0  0.3em 0 0;
  text-shadow: 1px 1px 2px white;
}
header .h_lini_form >form .wrap_search_div{
  background:white;
  border-radius: 0.5em;
  padding: 0.5em 0.5em 0.5em 1em;
  display: flex;
  justify-content: space-between;
}
header .h_lini_form #where_search_div{
  padding:0.2em 0 0;
  color:#4e4e4e;
}

header .h_lini_form #where_search_div{
  padding: 1em 0 0.5em 0;
  color:#4e4e4e;
  display:flex;
  justify-content: space-evenly;
}
header .h_lini_form >form  .wrap_search_div input {
  border: none;
  outline: none;
  min-width: initial;
  width: 100%;
}

header .h_lini_form >form  .wrap_search_div button {
  border: none;
  outline: none;
  background: #9E9E9E;
  border-radius: 0.5em;
  color: white;
  padding: 0.3em 1em;
}

@media (max-width: 555px) {

  header .h_lini_icons > .dib {
    display: none !important;
  }

  header .h_lini_form >form {
    margin-top:0.5em;
  }
}


.mp_red_blocks_table td{
  padding: 1em 1em 1em 2em;
  position: relative;
  line-height: 1.5em;
  display: block;
  margin-bottom: 0.5em;
}

.mp_red_blocks_table td:after {
  content: '';
  display: block;
  position: absolute;
  width: 0.5em;
  height: 4.3em;
  top: 0;
  left: 0.8em;
  background-color: white;
}

.owl_videos.main_page_video_list .img_cover {
  min-height: 250px;
}
.block_on_main#block_on_main_3{}
.block_on_main#block_on_main_3 >.container{
  position: relative;
  margin-bottom: 2em;
  padding-left: 2em;
  width: unset;
}


.owl_videos .owl-item {margin-bottom:2em}
.owl_videos .owl-item > .wrap_video_item {
  /*max-width:*/
  background-color:white;
  padding: 0em;
  max-width: 370px !important;
}


.owl_videos .wrap_video_item .video_title {
  font-size: 1.1em;
  padding:  1em 1em;
}
.owl_videos .wrap_video_item .wrap_pordobn {
  padding: 0 1em 1em;
}




section.block_on_main > .container {
  /* padding: 3em 0; */
}
#block_on_main_1 .container .news,
.block_on_main .wrap_aside_docs,
.block_on_main .wrap_audios
{
  background-color:white;
  padding: 1.7em;
  margin-left: -1em;
  margin-right: -1em;
}

#block_on_main_1 .container .news {
  padding-left: 0.7em;
  padding-right: 0.7em;
}
.news .post:not(:last-child), .blog .blog_post:not(:last-child) {
  margin-bottom: 1.5em;
  padding-bottom: 1.5em;
  border-bottom: 1px dashed #a8a8a8;
}
#block_on_main_6{
  /* padding:0 2.5em; */
}
#block_on_main_6 .container{
  margin: 3em auto;
  background-color:white;
  width: unset;
}



.block_on_main  .wrap_text_img_2233{
  display:flex;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
}
.block_on_main  .text223{
  font-size: 22px;
}
.block_on_main  .text2233{
  padding: 0 2em;
}

@media (max-width: 555px) {
  .block_on_main  .wrap_text_img_2233{
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
  }
  .block_on_main  .text2233{
    padding: 2em;
  }
  .block_on_main#block_on_main_3{padding: 0 0.5em;}
  .block_on_main#block_on_main_6{padding: 0 0.5em;}
}

body.template_default #content {
  overflow: visible;
}
ul.ul_aside_docs_elements {margin: 1em 0 ; padding: 0}
.ul_aside_docs_elements  li{list-style: none}
.ul_aside_docs_elements .fake_img {
  width: 180px;
  height:140px;
  background-size: 100%;
  background-repeat: no-repeat;
}
ul.beauty li {
  border-bottom: 1px solid whitesmoke;
  padding-bottom: 1em;
  margin-bottom: 1em;
}
ul.beauty li:last-child { border-bottom: none;margin-bottom: 0;padding-bottom: 0;}

.mp_red_blocks_table tbody tr {
  display: flex;
  width: 100%;
  justify-content: space-between;
  /* flex-wrap: wrap; */
}
.razdels_on_main {
  display: flex;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: space-between;
  margin-left: -1.1em;
  margin-right: -1.1em;
}
.razdels_on_main > p {
  margin-bottom: 1.5em; transition: transform 0.4s ease
}
.razdels_on_main > p:hover {
  transform: translateY(-10px); /* Поднятие блока на 20 пикселей вверх */
}
@media (max-width: 555px) {
  .razdels_on_main {
    display: flex;
    justify-content: center;
  }
}

.mp_red_blocks_table tbody td {
  min-width: 15em;
  margin-bottom: 1.5em;
  max-width: 15em;
}
@media (max-width: 555px) {
  .mp_red_blocks_table, .mp_red_blocks_table tbody, .mp_red_blocks_table tbody tr, table.mp_red_blocks_table tbody td {
    display:block;
    width:100%;
    min-width: 100%;
  }
}
#scrolltop noindex{
  display:none;
}
#scrolltop {
  background: none;
  left: initial;
  right: 50px;
  margin-bottom: 50px;
  border-radius: 50%;
}
#scrolltop >div {background:url('/images/up.png') no-repeat;padding: 30px;}
.wrap_element_images .file_text {font-size:0.9em}

.ul_aside_docs_elements .fake_img{transition:500ms}
.ul_aside_docs_elements .fake_img:hover{
  -webkit-filter: brightness(1.2);
  filter: brightness(1.2);}