@media (min-width: 1170px) {
  .old-legacy__wrapper {
    position: relative;
    display: block;
    width: 1160px
  }
  #tab1 {
    width: 1160px;
  }
  #poloca_verx_div,
  #new-header,
  #l_bg2 {
    width: 1060px;
  }
  .footer-wrapper{
    max-width: 1060px;
  }
}

#new-header {
  position: relative;
}

#a-vzr {
  margin: 0;
  left: 20px;
  top: 14px;
}

#a-zaik {
  margin: 0;
  top: 14px;
  right: 20px;
}

#a-kids {
  margin: 0;
  top: 77px;
  left: 20px;
}

.new-header-menu {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  background-color: #fdfdfd;
  position: relative;
}
.header-menu__items{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.header-menu__item {
  padding: 10px 0;
  flex: 1 1 auto;
  /* max-width: calc(50% - 165px); */
  text-align: left;
  min-height: 160px;
  box-shadow: 0px 3px 5px -1px rgba(122, 129, 177, .2);
}

.header-menu__item:first-child {
  max-width: 330px;
}

.header-menu__item:last-child {
  max-width: 328px;
}

.-color-step-1 {
  background-color: #fdfdfd;
}

.-color-step-2 {
  background-color: #f5f9fe;
}

.-color-step-3 {
  background-color: #cbe1ff;
}

.subwrapper {
  max-width: 1060px;
}
.tren_item{
  display: none !important;
}
.custom-footer,
.custom-footer *{
  border-collapse: collapse;
  
}
.custom-footer{
  width: 100%;
  position: relative;
}
.footer-social{
  display: inline-block;
  position: absolute;
  top: 75px;
  right: 20px;
}

.custom-footer .bg_ten,
.custom-footer .bg_ten_l{
display: none;
}

.pereliv4{
  text-align: left;
  background-size: cover;
}

.subwrapper table {
  border-collapse: collapse;
}
.subwrapper{
  display: flex;
  flex-flow: row nowrap
}
.module-content{
  flex: 1 1  auto;
  background-color: #fefeff;
}

.module-sidebar{
  flex: 1 1 328px;
  max-width: 328px;
  background-color: #e7f1fe;
}
.mobile-menu-opener{
  display: none;
}

@media (min-width: 980px){
  .menu-item .font,
  .menu-item font{
    margin: 0px 10px;
  }
}
@media (max-width: 979px){
  /* mob menu */
  .menu-item{
    width: 100% !important;
    padding-left: 20px;
    margin-bottom: 5px;
  }
  .menu-item:hover{
    cursor: pointer;
  }
  .menu-item font,
  .menu-item .font{
    float: right;
    position: relative;
    transform: rotate(90deg);
    font-weight: 700;
    font-size: 17px;
  }
  .menu-item font::after,
  .menu-item .font::after{
    content: '';
    position: absolute;
    top: -4px;
    left: -10px;
    width: 30px;
    height: 30px;
    background-color: transparent;
  }
  .menu-item > ul{
    position: relative;
    display: block;
    max-height: 0px;
    overflow: hidden;
    left: 0px;
    top: 5px;
    width: 100%; 
    border: none;
    padding: 0;
  }
  .menu-item.open-submenu{
    z-index: 10 !important;
  }
  .menu-item.open-submenu > ul{
    max-height: 100000000px;
  }
  .menu-item.open-submenu .font,
  .menu-item.open-submenu font{
    transform: rotate(-90deg);
  }
  .menu-item:not(.showS) .font{
    display: none !important;
  }
  .header-menu__items{
    max-height: 100vh;
    overflow-y: auto;
  }

  .subwrapper{
    flex-flow: row wrap;
  }
  .module-sidebar{
    flex: 1 1 100%;
    max-width: 100%;
    padding-bottom: 30px;
  }
  body .column_block{
    width: calc(100% - 60px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
  }
  body .column_block:first-child{
    margin-top: 30px !important;
  }
  .column_block .column_block_zag{
    background-size: cover;
    position: relative;
  }
  .column_block_zag::after{
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 6px;
    height: 6px;
    border: 2px solid transparent;
    border-bottom-color: white;
    border-left-color: white;
    transform: rotate(-45deg) translateY(-10px);
  }
  .column_block.open .column_block_zag::after{
    transform: rotate(135deg) translateY(4px) translateX(5px);
  }
  .column_block:not(.open) .column_block_telo{
    max-height: 0px;
    overflow: hidden;
  }
  .recall-open{
    margin-right: 65px;
  }
  .footer-social{
    display: block;
    position: static;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;=
  }
}
@media (max-width: 1100px){ 
  .menu_osn a{
    white-space: normal !important;
  }
}
@media (max-width: 767px){ 
  body .recall-open{
    position: fixed;
    top: 50%;
    right: 10px;
    z-index: 999;
    margin: 0;
    text-indent: -9999px;
    overflow: hidden;
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  .recall-open i{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
.new-top-line{
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 100%;
}
.recall-open{
  display: block;
  position: relative;
  border-radius: 10px;
  background-color: #75cef7;
  padding: 5px 15px;
  text-align: center;
  border: none;
  transition: background-color 0.3s ease-in-out;
}
.recall-open i{
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  background-image: url("/images/phone.svg");
  background-size: cover

}
@media (min-width: 768px){
  .menu-item .font,
  .menu-item font{
    margin: 0px 10px;
  }
  
  .recall-open:hover{
    cursor: pointer;
    background-color: #69b5d8;
  }
}
@media (max-width: 980px){
  .new-header-menu{
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    max-width: 310px;
    transition: transform 0.3s ease;
  }
  .new-header-menu:not(.open){
    transform: translateX(100%);
  }
  .header-menu__item .new-header-menu{
    flex: 1 1 100%;
    max-width: 100%;
  }
  .mobile-menu-opener{
    display: block;
  }
  .mobile-menu-opener{
    flex: 1 1 60px;
    width: 60px;
    order: 10;
    height: 60px;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    background-color: #e3e3e3;
    position: absolute;
    top: 5px;
    right: 100%;
  }
  .mobile-menu-opener span {
      display: block;
      position: absolute;
      top: 29px;
      left: 15px;
      right: 15px;
      height: 3px;
      background-color: #3251a1;
      transition: transform 0.3s;
  }
  .mobile-menu-opener span::before,
  .mobile-menu-opener span::after{
      position: absolute;
      display: block;
      left: 0;
      width: 100%;
      height: 3px;
      background-color: #3251a1;
      content: "";
  }
  .mobile-menu-opener span::before {
      top: -13px;
      transform-origin: top right;
      transition: transform 0.3s, width 0.3s, top 0.3s;
  }
  .mobile-menu-opener span::after {
      bottom: -13px;
      transform-origin: bottom right;
      transition: transform 0.3s, width 0.3s, bottom 0.3s;
  }
  .open .mobile-menu-opener{
    background-color: #e4e4e4;
  }
  .open .mobile-menu-opener span{
      transform: rotate(180deg);
  }
  .open .mobile-menu-opener span::before,
  .open .mobile-menu-opener span::after{
      width: 50%;
  }
  .open .mobile-menu-opener span::before{
      top: 0;
      transform: translateX(18px) translateY(1.5px) rotate(45deg);
  }
  .open .mobile-menu-opener span::after{
      bottom:  0;
      transform:  translateX(18px) translateY(-1.5px) rotate(-45deg); 
  }
  #k_logopedu,
  #orator_skidka,
  #ritor_group{
    display: inline-block;
    padding: 10px;
    left: 50%;
    /* transform: translateX(-50%) translateY(-100%); */
  }
  #k_logopedu{
    background-color: #fefeff;
    background-size: 100px 200%;
    height: 44px;
    transform: translate( -48%, -118%);
  }
  #orator_skidka{
    background-color: #cbe1ff;
    background-size: 70px 200%;
    height: 60px;
    transform: translate( -50%, -101%);
  }
  #ritor_group{
    background-color:#f5f9fe;
    background-size: 125px 200%;
    height: 44px;
    transform: translate( -48%, -118%);
  }
  .header-menu__item{
    padding-top: 65px;
    margin-bottom: 10px;
  }
  #kontakt_for_glav{
    position: static;
    margin: 10px 11px 5px auto;
    display: block;
  }
  #head2{
    width: 100%;
    position: relative;
    padding-bottom: 25%;
    height: 0;
  }
  #new-header{
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
  }
  .menu-item.currentPage {
    background-color: thistle;
  }
  .wrap-st_block #st_block{
    height: 0;
    overflow: hidden;
  }
  .mob-wrap-st_block{
    display: block;
    width: 100%;
  }
  .mob-wrap-st_block #st_block{
    background-color: #fff;
  }
  .mob-wrap-st_block #stat{
    text-align: center;
    margin-bottom: 34px !important;
  }
  .statia tr:first-child td:first-child {
    width: 120px;
  }
  .mob-clear{
    clear: both;
    display: block;
    width: 100%;
  }
  .mob-hidden{
    display: none !important;
  }
  .long-link{
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
}
@media (min-width: 768px){
  body #logo_new{
    background-image: url('/images/new/new-logo-my4.png');
    background-repeat: no-repeat;
    left: auto;
    position: relative;
    background-size: contain;
    top: auto;
    height: 50px;
    background-position: center;
    width: 170px;
  }
}
#forma-recall{
  margin: auto; padding:20px 0; border:0px solid #F3F3F3; border-width:1px 0px 1px 0px; background-color:#FBFBFB; width: 650px; display: none; 
}
#fullscr-recall{
    position: fixed;
    top: 0px;
    padding-top: 30px;
    width: 100%;
}
.recall-open i{
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  background-image: url(/images/phone.svg);
  background-size: cover

}
@media (max-width: 767px){
  #forma-recall{
    max-width: 100%;
    padding: 15px;
    
  }
  #forma-recall td{
    width: 100%;
    display: block;
    margin: auto;
    text-align: center;
  }
  #a-vzr,
  #a-zaik, 
  #a-kids{
    display: none !important;
  }
  #chist_prud_top{ 
    width: auto;
    min-width: 120px;
    background-image: url('/images/new/chisti_prud_mob.png');
    background-size: cover;
    height: 38px;
    top: 14px;
  }
  #chist_prud_top a{
    display: none;
  }
  .new-top-line{
    justify-content: flex-start;
  }
  .header-contact-link{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 40px;
  }
  .header-contact-link img{
    max-height: 100%;
  }
  #logo_new{
    position: static;
    width: 116px;
    height: 33px;
    background-image:  url('/images/new/new-logo-my4.png');
    background-size: contain;
    background-repeat: no-repeat;
    /* left: auto;
    right: 70px; */
    width: 90px;
    /* transform: scale(0.7); */
    /* mix-blend-mode: darken; */
  }
  .new-header-menu{
    max-width: calc(100% - 60px);
  }
  .old-legacy__wrapper{
    overflow-x: auto !important;
  }
  body #osn,
  body #forma2, 
  body #forma3, 
  body #forma4, 
  body #forma5, 
  body #forma6, 
  body #forma7, 
  body #forma8 {
    width: 100%;
  }
  body #forma2 td, 
  body #forma3 td, 
  body #forma4 td, 
  body #forma5 td, 
  body #forma6 td, 
  body #forma7 td, 
  body #forma8 td {
    width: 100%;
    display: block;
    margin: auto;
    text-align: center;
  }
  body img {
    object-fit: contain;
  }
  body #informer_new a {
    position: relative;
    left: auto !important;
    z-index: 1;
    display: block;
    margin-top: 20px;
    top: 50px;
  }
  body #informer_new a[href="/ritor/strength_confident_words.php"]{
    display: none;
  }
  body #informer_new a br:not(:first-child){
    display: none;
  }
  body #zag{
    border-left-width: 10px;
  }
  .custom-footer-menu {
    padding: 10px;
  } 
  .module-content {
    max-width: 100%;
  }
  iframe{
    max-width: 100% !important;
  }
  #osn p{
    margin-left: auto !important;
  }
  form .new-btn{
    margin-bottom: 0 !important;
  }
  .resp-table{
    display: block;
    width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 480px){
  body #forma2 .checkbox ~ a, 
  body #forma3 .checkbox ~ a, 
  body #forma4 .checkbox ~ a, 
  body #forma5 .checkbox ~ a, 
  body #forma6 .checkbox ~ a, 
  body #forma7 .checkbox ~ a, 
  body #forma8 .checkbox ~ a {
    display: block;
  }
  .header-contact-link{
    left: calc(100% - 144px);
    height: 33px;
  }
  #fullscr-recall{
    padding-top: 68px;
  }
}
@media (max-width: 1169px) {
  .old-legacy__wrapper,
  #poloca_verx_div,
  #new-header,
  #l_bg2,
  #tab1 {
    display: block;
    width: 100%;
  }
  #poloca_verx_div {
    margin: 0;
  }
  .bg_ten_l,
  .bg_ten {
    display: none;
  }
  #shade-left,
  #shade-right {
    display: none;
  }
  body * {
    box-sizing: border-box;
  }
  body img {
    max-width: 100%;
    height: auto;
  }
}


/*************
style part 1
*************/

.column_block {
  text-align: left;
  display: block;
  position: relative;
  width: 293px;
  margin: 20px 0px 0px 19px;
  border: 4px solid #1c306e;
  border-width: 0px 0px 4px 0px
}

.column_block_zag {
  display: block;
  height: 29px;
  background-color: #1c306e;
  background-image: url(/images/new/news_zag.jpg);
  background-position: top;
  background-repeat: no-repeat
}

.column_block_zag h4 {
  margin: 0px 0px 0px 15px;
  padding: 5px 0px 0px 0px;
  font-weight: bold;
  font-family: Arial;
  color: white;
  font-size: 12pt
}

.column_block_telo {
  display: block;
  position: relative;
  background-color: #d4def0
}

.news_elem {
  float: none;
  display: block;
  position: relative;
  margin: 0px 8px 0px 15px;
  padding: 12px 0px 12px 0px;
  border: 0px solid #b6b5b5;
  border-width: 1px 0px 0px 0px;
  clear: both
}

.news_elem img {
  text-align: left;
  margin: 0px 5px 2px 0px;
  padding: 0px
}

.news_elem .news_data {
  font-size: 10px;
  padding: 0px;
  margin: 0px
}

.news_elem .news_sod {
  font-size: 12px;
  padding: 0px;
  margin: 0px
}

.news_elem .news_sod a {
  text-decoration: underline;
  color: #172163
}

.news_elem .news_sod a:hover {
  text-decoration: none
}

.column_spec {
  /* border-color: #601660 */
}

/* .column_spec .column_block_zag {
  background-image: url(/images/new/akcii_zag.jpg)
} */

.column_spec .news_elem {
  /* border-color: #fe71fe */
}

.column_spec .column_block_telo {
  /* background-color: #ffa2ff;
  background-image: url(/images/new/fon_for_akcii.jpg); */
  background-position: bottom right;
  background-repeat: no-repeat
}

.column_spec .news_data {
  color: #390138
}

.column_trening {
  border-color: #0f2186
}

.trenings_orator .column_block_zag {
  background-image: url(../images/new/treningi_zag.jpg)
}

.column_trening .column_block_zag {
  background-image: url(../images/new/treningi_zag.jpg)
}

.column_trening .news_elem {
  border-color: #0f2186
}

.column_trening .column_block_telo {
  background-color: #afcafd;
}

.column_trening .news_elem {
  margin: 0px 23px 0px 23px
}

.column_trening .news_elem .news_sod {
  font-size: 11pt
}

#lenta_news {
  position: absolute;
  top: 4px;
  right: 10px;
  color: #FFF
}

/* .column_masterclass {
  border-color: #870d17
}

.column_masterclass .column_block_zag {
  background-image: url(/images/new/master_class.jpg)
}

.column_masterclass .news_elem {
  border-color: #e4a5a5
}

.column_masterclass .column_block_telo {
  background-color: #fbc7c7;
} */

.column_masterclass .news_elem {
  margin: 0px 23px 0px 23px
}

.column_masterclass .news_elem .news_sod {
  font-size: 10pt
}

/*******************
style part 2
*******************/

.trenings_orator {
  width: 292px;
  position: relative;
  margin: 20px 0px 0px 18px;
}

.tren_item {
  position: relative;
  display: block;
  float: left;
  border: 0px solid #bdbdbd;
  border-bottom-width: 1px;
  width: 290px;
  background-repeat: no-repeat;
  background-position: top right;
  height: 104px
}

.tren_item_bg {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 21;
  background-image: url("/images/new/tren_item_bg.png");
  background-repeat: no-repeat;
  background-position: top right
}

.left_col_tren,
.right_col_tren {
  position: absolute;
  z-index: 22
}

.left_col_tren {
  left: 0px;
  width: 85px;
  height: 100%
}

.right_col_tren {
  left: 90px;
  width: 210px;
  height: 100%
}

.tren_data {
  font-family: Tahoma;
  position: absolute;
  line-height: 1.5em;
  top: 13px;
  width: 80px;
  height: 52px;
  background-color: #cbccce;
  color: #9b0000;
  text-align: center;
  font-size: 14px;
  padding-top: 11px;
  -webkit-border-top-right-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-radius-topright: 10px;
  -moz-border-radius-bottomright: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.tren_data span {
  font-size: 34px;
}

.left_col_tren p {
  position: absolute;
  top: 80px;
  left: 22px;
  padding: 0px;
  margin: 0px;
}

.left_col_tren p a {
  color: #054bcd;
  font-size: 10pt
}

.zag_tren_div {
  display: block;
  margin: 10px 26px 0px -70px;
}

.zag_tren {
  font-size: 16px;
  line-height: 1.2em;
}

.price_tren {
  font-weight: bold;
  font-size: 14px;
  margin: 5px 0px 0px -70px
}

.zapis_tren {
  position: absolute;
  bottom: 5px;
  left: 32px;
  color: #FFF;
  font-weight: bold;
  font-size: 14px;
  padding: 3px 14px 5px 14px;
  line-height: 1em;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
}

.tren_blue .zag_tren {
  color: #041389
}

.tren_blue .zapis_tren {
  background-color: #054bcd;
}

.tren_blue .zapis_tren:hover {
  background-color: #053ea8
}

.tren_green .zag_tren {
  color: #144913
}

.tren_green .zapis_tren {
  background-color: #144913;
}

.tren_green .zapis_tren:hover {
  background-color: #083b07
}

.tren_red .zag_tren {
  color: #7d0202
}

.tren_red .zapis_tren {
  background-color: #7d0202;
}

.tren_red .zapis_tren:hover {
  background-color: #630303
}

.korp_tren {
  position: absolute;
  left: -70px;
  top: 10px;
  text-align: center;
  width: 200px;
}

.left_play_tren,
.right_play_tren {
  
  position: absolute;
  top: 29px;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  height: 105px;
  width: 14px;
  border: 0px solid #a4b5ce;
  cursor: pointer;
  background-color: #FFF;
  opacity: 0.2;
  filter: alpha(opacity=20%);
  z-index: 25;
}

.left_play_tren {
  background-image: url("/images/new/top_treug_tren2.png");
  border-right-width: 0px;
  left: 0px;
  border-radius: 0px 0px 0px 0px;
  z-index: 25;
}

.right_play_tren {
  background-image: url("/images/new/bottom_treug_tren2.png");
  border-left-width: 0px;
  right: 0px;
  border-radius: 0px 0px 0px 0px;
  z-index: 25;
}

#tren_block_play {
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
}

.left_play_tren:hover,
.right_play_tren:hover {
  opacity: 0.8;
  filter: alpha(opacity=80%)
}

.slider-pages-circle {
  display: inline-block;
  text-align: center;
  background-color: #f3f3f3;
  padding: 5px 16px 5px 16px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  height: 14px;
  margin: 10px auto 0px auto;
  vertical-align: top
}

.slider-pages-circle div {
  cursor: pointer;
  display: inline-block;
  margin: 2px 3px 2px 3px;
  width: 12px;
  height: 12px;
  background: #054bcd;
  cursor: pointer;
  text-indent: -9999px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -o-border-radius: 12px;
  border-radius: 12px;
}

.slider-pages-circle div.active_page_slider {
  cursor: default;
  background: #fff;
  background: #ffffff;
  margin: 0px 3px 0px 3px;
  cursor: default;
  border: 2px solid #054bcd;
}

.old-legacy__wrapper{
  overflow-x: hidden;
}



/*25.04.2019*/
.watsapp-btn{
  position: fixed;
  bottom: 5px;
  left: 50%;
  right: 0;
  display: block;
  border-radius: 10px;
  background-color: #75cef7;
  padding: 5px 15px;
  text-align: center;
  border: none;
  text-decoration: none;
  width: 240px;
  max-width: 100%;
  transform: translateX(-50%);
  display: none;
  transition: padding-left .23s ease, opacity .23s ease;
  padding-left: 15px;
  opacity: 0;
}
.watsapp-btn i{
  position: absolute;
  left: 8px;
  width: 32px;
  height: 32px;
  transition: opacity .23s ease;
  opacity: 0;
}
.watsapp-btn.show{
  opacity: 1;
}
.watsapp-btn.after-load{
  padding-left: 40px;
}
.watsapp-btn.after-load i{
  opacity: 1;
}
@media screen and (max-width: 767px){
  .watsapp-btn{
      display: block;
  }
}

body {
  background-image: none !important;
  background-color: #9cc0ff;

}

body #informer_new{
  background:#1E90FF url(images/for_glav2a.png) no-repeat;
  background-position: top left;
}
body #zag{
  border-color: #1E90FF;
}
body .new-btn{
  background-color: #1E90FF;
}