/* Font styles */
.cs-rotate-ticker {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
}
/* cs-rotate tops */
.cs-rotate-ticker .cs-rotate,
.cs-rotate-ticker .cs-rotate--top,
.cs-rotate-ticker .cs-rotate--flipper__front {
  color: #fff;
  background-color: rgba(1, 26, 36);
}
/* cs-rotate bottoms */
.cs-rotate-ticker .cs-rotate--bottom,
.cs-rotate-ticker .cs-rotate--flipper__back {
  color: #efefef;
  background-color: rgba(1, 26, 36);
}
/* Hinge */
.cs-rotate-ticker .cs-rotate:after {
  border-top: solid 1px #151515;
}

.cs-rotate-ticker {
  overflow: visible;
  margin: 0 auto;
  display: flex;
}

.cs-rotate-ticker .cs-rotate {
  position: relative;
  float: left;
  width: 50px;
  height: 80px;
  margin: 0px 5px 0px 0px;
  border-radius: 4px;
  font-size: 3rem;
  text-align: center;
  perspective: 200px;
}

.cs-rotate-ticker .cs-rotate:last-child {
  margin-right: 0;
}

.cs-rotate-ticker .cs-rotate--top,
.cs-rotate-ticker .cs-rotate--bottom {
  overflow: hidden;
  position: absolute;
  width: 50px;
  height: 40px;
}

.cs-rotate-ticker .cs-rotate--flipper {
  z-index: 1;
  position: absolute;
  width: 50px;
  height: 80px;
  transform-style: preserve-3d;
  transition: transform 0s;
}

.cs-rotate-ticker .cs-rotate--flipper.flipped {
  transform: rotateX(-180deg);
  transition: all 0.3s ease-in-out;
}

.cs-rotate-ticker .cs-rotate--flipper__front,
.cs-rotate-ticker .cs-rotate--flipper__back {
  overflow: hidden;
  position: absolute;
  width: 50px;
  height: 40px;
  margin: 0;
  transform: rotateX(0deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.cs-rotate-ticker .cs-rotate--flipper__front {
  line-height: 80px;
  border-radius: 4px 4px 0px 0px;
}

.cs-rotate-ticker .cs-rotate--flipper__back {
  line-height: 0px;
  border-radius: 0px 0px 4px 4px;
  transform: rotateX(-180deg);
}

.cs-rotate-ticker .cs-rotate--top {
  line-height: 80px;
  border-radius: 4px 4px 0px 0px;
}

.cs-rotate-ticker .cs-rotate--bottom {
  bottom: 0;
  line-height: 0px;
  border-radius: 0px 0px 4px 4px;
}

.cs-rotate-ticker .cs-rotate:after {
  content: '';
  z-index: 2;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 50px;
  height: 40px;
  border-radius: 0px 0px 4px 4px;
}

@media (max-width: 550px) {
  .cs-rotate-ticker {
    width: 312px;
    height: 70px;
  }

  .cs-rotate-ticker .cs-rotate {
    font-size: 2.2rem;
    margin-right: 3px;
  }

  .cs-rotate-ticker .cs-rotate,
  .cs-rotate-ticker .cs-rotate--flipper,
  .cs-rotate-ticker .cs-rotate--flipper__front,
  .cs-rotate-ticker .cs-rotate--flipper__back,
  .cs-rotate-ticker .cs-rotate--top,
  .cs-rotate-ticker .cs-rotate--bottom,
  .cs-rotate-ticker .cs-rotate:after {
    width: 30px;
  }

  .cs-rotate-ticker .cs-rotate--flipper__front,
  .cs-rotate-ticker .cs-rotate--top {
    line-height: 50px;
  }

  .cs-rotate-ticker .cs-rotate--flipper,
  .cs-rotate-ticker .cs-rotate {
    height: 50px;
  }

  .cs-rotate-ticker .cs-rotate--flipper__front,
  .cs-rotate-ticker .cs-rotate--flipper__back,
  .cs-rotate-ticker .cs-rotate--top,
  .cs-rotate-ticker .cs-rotate--bottom,
  .cs-rotate-ticker .cs-rotate:after {
    height: 25px;
  }
}

@media screen and (min-width: 1440px) {
  .cs-rotate-ticker .cs-rotate {
    width: 80px;
    height: 128px;
    margin: 0px 10px 0px 0px;
    font-size: 4rem;
  }

  .cs-rotate-ticker .cs-rotate--top,
  .cs-rotate-ticker .cs-rotate--bottom {
    width: 80px;
    height: 64px;
  }

  .cs-rotate-ticker .cs-rotate--flipper {
    width: 80px;
    height: 128px;
  }

  .cs-rotate-ticker .cs-rotate--flipper__front,
  .cs-rotate-ticker .cs-rotate--flipper__back {
    width: 80px;
    height: 64px;
  }

  .cs-rotate-ticker .cs-rotate--flipper__front {
    line-height: 128px;
  }

  .cs-rotate-ticker .cs-rotate--top {
    line-height: 128px;
  }

  .cs-rotate-ticker .cs-rotate:after {
    width: 80px;
    height: 64px;
  }
}

.cs-rotate-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
	margin-top:-90px;
  align-items: flex-end; 
	position: relative;
}








/* boshanka filter */
.country-filter {
  background: #929852;
  float: left;
  width: 100%;
}

.country-filter .inner {
  padding: 10px 3.2em;
  display: flex;
  width: 100%;
  justify-content: flex-start;
  flex-wrap: wrap;
}

@media screen and (min-width: 850px) {
  .country-filter .inner {
    justify-content: space-between;
  }
}

.country-filter a {
  color: #fff;
  display: none;
  padding: 4px 8px;
  margin: 4px 0;
  text-transform: uppercase;
}

.country-filter a.filter-btn {
  background: #001b24;
  display: inline-block;
  white-space: nowrap;
}

.country-filter a.filter-link-visible {
  display: inline-block;
	
}

.country-filter a.filter-link-visible:hover {
background:#777c35;
	
}

.country-filter a.filter-link-visible.active {
background:#777c35;
	
}

.page-template-tpl-country-counter #primary #main .country_counter.full .container .inner #hero .flip-wrap .flip-item {
  width: 100%;
  height: 300px;
  margin-bottom: 20px;
}

.page-template-tpl-country-counter #primary #main .country_counter.full .container .inner #hero .flip-wrap .flip-item .country-stats {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: calc(100% - 60px);
}

@media screen and (min-width: 768px) {
  .page-template-tpl-country-counter #primary #main .country_counter.full .container .inner #hero .flip-wrap .flip-item {
    width: 48%;
    margin: 0 1% 20px 1%;
    height: 300px;
  }
}

@media screen and (min-width: 1180px) {
  .page-template-tpl-country-counter #primary #main .country_counter.full .container .inner #hero .flip-wrap .flip-item {
    width: 31%;
    margin: 0 1% 20px 1%;
    height: 300px;
    
    margin-bottom: 20px;
  }
}