.counter-top-container{display: block; position: absolute; top:0; bottom:0; left:0; right:0; text-align: center;}
.bf_news_img{ height: 500px; }
#myCounterMain .counter-group {
  margin: 0 auto;
  margin-bottom: 11px;
  display: inline-block;
  padding-right: 30px;
}
#myCounterMain.paddleft .counter-group {
  padding-right: 0 !important;
  padding-left: 300px !important;
}
.banner-slider__slider .header_bf {
  font-size: 20px;
  margin-bottom: 15px !important;
}
.bf_news_img .header_bf {
  font-size: 17px;
}
#myCounterNews .counter-group {
  margin: 20px auto;
  display: inline-block;
}
#myCounterTop .counter-group {
  margin: 0px auto;
  display: inline-block;
}
.counter-group:before,
.counter-group:after {
  content: " ";
  display: table;
}
.counter-group:after {
  clear: both;
}
.counter-block {
  float: left;
  margin-right: 10px;
}
.counter-block .counter {
  position: relative;
  width: 70px;
  height: 45px;
  overflow: hidden;
  font-family: sans-serif;
}
.counter-block .counter .number {
  width: 46%;
  height: 97%;
  background-color: #dddddd;
  color: #222222;
  position: absolute;
  font-size: 37px;
  line-height: 45px;
  top: -10000px;
  border-radius: 5px;
}
.counter-block .counter .number.tens {
  left: 0;
}
.counter-block .counter .number.units {
  left: 50%;
}
.counter-block .counter .number.hundreds {
  display: none;
}
.counter-block .counter .number.show {
  top: 0;
  z-index: 2;
}
.counter-block .counter .number.hidden-down {
  top: 100%;
}
.counter-block .counter .number.hidden-up {
  top: -100%;
  z-index: 10;
}
.counter-block .counter.with-hundreds {
  width: 300px;
}
.counter-block .counter.with-hundreds .number {
  width: 30.66%;
}
.counter-block .counter.with-hundreds .number.tens {
  left: 33.33%;
}
.counter-block .counter.with-hundreds .number.units {
  left: 66.66%;
}
.counter-block .counter.with-hundreds .number.hundreds {
  display: block;
  left: 0;
}
.counter-block .counter-caption {
  font-size: 90%;
  color: #ffffff !important;
  text-align: center;
  margin: 1px auto;
  background: rgba(0,0,0,0.7);
}
#myCounterNews .counter-block .counter-caption { background-color: rgba(34,34,34, 0.7); }
/*
@media (max-width: 2px) {
  #myCounterMain .counter-group {
    margin: 0 auto;
    margin-bottom: 45px;
  }
  .counter-block {
    margin-right: 10px;
  }
  .counter-block .counter {
    width: 80px;
    height: 65px;
    overflow: hidden;
    font-weight: 700;
  }
  .counter-block .counter .number {
    font-size: 65px;
    line-height: 65px;
  }
  .counter-block .counter.with-hundreds {
    width: 180px;
  }
  .counter-block .counter-caption {
    font-size: 100%;
  }
}
*/


@media (max-width: 992px) {
  #myCounterMain .counter-group {
    margin: 0 auto;
    margin-bottom: 0px;
    padding-right: 17px;
  }
  #myCounterMain.paddleft .counter-group {
    padding-right: 0 !important;
    padding-left: 177px !important;
  }
  .counter-block .counter {
    width: 37px;
    height: 30px;
    font-weight: 300;
  }
  .counter-block .counter .number {
    font-size: 23px;
    line-height: 31px;
  }
  .counter-block .counter.with-hundreds {
    width: 91px;
  }
  .counter-block .counter-caption {
    font-size: 70%;
  }
}

@media (max-width: 769px) {
  #myCounterMain .counter-group {
    margin: 0 auto;
    margin-bottom: 10px;
    padding-right: 27px;
  }
  #myCounterMain.paddleft .counter-group {
    padding-right: 0 !important;
    padding-left: 300px !important;
  }
  .counter-block .counter {
    position: relative;
    width: 65px;
    height: 43px;
    overflow: hidden;
    font-family: sans-serif;
  }
  .counter-block .counter .number {
    font-size: 36px;
    line-height: 43px;
  }
  .counter-block .counter.with-hundreds {
    width: 91px;
  }
  .counter-block .counter-caption {
    font-size: 90%;
  }
}

@media (max-width: 480px) {
  .bf_news_img{ height: 350px; }
  #myCounterMain .counter-group {
    margin: 0 auto;
    margin-bottom: 0px;
    padding-right: 17px;
  }
  .banner-slider__slider .header_bf {
    font-size: 15px;
  }
  .bf_news_img .header_bf {
    font-size: 14px;
  }
  #myCounterNews .counter-group {
    margin: 20px auto;
    margin-bottom: 20px;
  }
  .counter-block {
    margin-right: 5px;
  }
  .counter-block .counter {
    width: 40px;
    height: 28px;
  }
  .counter-block .counter .number {
    font-size: 24px;
    line-height: 28px;
  }
  .counter-block .counter.with-hundreds {
    width: 144px;
  }
  .counter-block .counter-caption {
    font-size: 70%;
  }
  #myCounterMain.paddleft .counter-group {
    padding-right: 0 !important;
    padding-left: 140px !important;
  }
}
.counter-block .counter .number{
  background: rgba(0, 0, 0, 0.7) !important;
  color: #ffffff !important;
}
.counter-top-container .header_bf{
  color: #fff;
  font-size: 20px;
  margin: 9px;
  display: block;
}
@media (max-width: 1024px) {
  #myCounterTop{margin-top: 10px;}
  .counter-top-container .header_bf{
    display: none;
    font-size: 14px;
    margin: 7px 3px 3px 3px;
  }
}
@media (max-width: 468px) {
  #myCounterTop{margin-top: 0}
  .counter-top-container .header_bf{
    display: block;
    font-size: 14px;
    margin: 7px 3px 3px 3px;
  }
}
