.cnaf-container a:hover,
.cnaf-slider a:hover,
.cnaf-container a:focus,
.cnaf-slider a:focus {
  outline: none;
}

.slides,
.slides > li,
.cnaf-control-nav,
.cnaf-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cnaf-pauseplay span {
  text-transform: capitalize;
}

.slides:before, .slides:after {
  content: " ";
  display: table;
}
.slides:after {
  clear: both;
}

html[xmlns] .cnafslide .slides {
  display: block;
}

* html .cnafslide .slides {
  height: 1%;
}

.no-js .cnafslide .slides > li:first-child {
  display: block;
}

.cnafslide .slides {
  zoom: 1;
}

.slides.loading li {
  display: none;
}
.slides.loading li:first-child {
  display: block;
}

.cnaf-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

.loading .cnaf-viewport {
  max-height: 300px;
}

.carousel li {
  margin-right: 5px;
}

.cnaf-direction-nav {
  *height: 0;
}
.cnaf-direction-nav a {
  text-decoration: none;
  display: block;
  width: 40px;
  height: 40px;
  margin: -20px 0 0;
  position: absolute;
  top: 50%;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.cnaf-direction-nav a:before {
  font-size: 40px;
  display: inline-block;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}
.cnaf-direction-nav .cnaf-prev {
  left: -50px;
}
.cnaf-direction-nav .cnaf-next {
  right: -50px;
  text-align: right;
}
.cnaf-direction-nav .cnaf-disabled {
  opacity: 0 !important;
  filter: alpha(opacity=0);
  cursor: default;
}

.cnafsld-control-nav {
  position: absolute;
  bottom: 25px;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: center;
  z-index: 2;
}
.cnafsld-control-nav li {
  display: inline-block;
  overflow: hidden;
  margin: 0 0.5em;
}
.cnafsld-control-nav li a {
  background-color: #ddd;
  text-indent: 99em;
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -o-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
}
.cnafsld-control-nav li a.cnafsld-active {
  background-color: #ff0000;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.cnaf-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
}
.cnaf-pauseplay a:before {
  font-size: 20px;
  display: inline-block;
}
.cnaf-pauseplay a:hover {
  opacity: 1;
}

.control-slide {
  width: 100%;
  float: left;
}

.cnaf-control-nav {
  width: 100%;
  position: absolute;
  z-index: 2;
  left: 0;
  text-align: right;
  bottom: 15px;
}
.cnaf-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.cnaf-control-nav li a {
  display: block;
  cursor: pointer;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  text-indent: 99999em;
  width: 22px;
  height: 22px;
  background-color: transparent;
  border: solid 3px rgba(236, 236, 236, 0.4);
  box-shadow: none;
}
.cnaf-control-nav li a.cnaf-active, .cnaf-control-nav li a:hover {
  border-color: #fff;
  background-color: transparent;
}
.cnaf-control-nav li a.cnaf-active {
  cursor: default;
}

.control-news {
  height: 40px;
}
.control-news .cnaf-control-nav {
  bottom: 0;
}
.control-news .cnaf-control-nav li a {
  border-color: #ECECEC;
  width: 17px;
  height: 17px;
}
.control-news .cnaf-control-nav li a.cnaf-active, .control-news .cnaf-control-nav li a:hover {
  border-color: #000;
  background-color: transparent;
}

.cnaf-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.cnaf-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}
.cnaf-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .7;
  cursor: pointer;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.cnaf-control-thumbs img:hover {
  opacity: 1;
}
.cnaf-control-thumbs .cnaf-active {
  opacity: 1;
  cursor: default;
}

@media screen and (max-width: 860px) {
  .cnaf-direction-nav .cnaf-prev {
    opacity: 1;
    left: 10px;
  }

  .cnaf-direction-nav .cnaf-next {
    opacity: 1;
    right: 10px;
  }
}
