.tjp-container a:focus,
.tjp-container a:hover,
.tjp-slider a:focus,
.tjp-slider a:hover {
  outline: 0;
}

.fm-direction-nav,
.slides,
.slides > li,
.tjp-control-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tjp-pauseplay span {
  text-transform: capitalize;
}

.slides:after,
.slides:before {
  content: " ";
  display: table;
}

.slides:after {
  clear: both;
}

html[xmlns] .tjpslide .slides {
  display: block;
}

* html .tjpslide .slides {
  height: 1%;
}

.no-js .tjpslide .slides > li:first-child {
  display: block;
}

.tjpslide .slides {
  zoom: 1;
}

.slides.loading li {
  display: none;
}

.slides.loading li:first-child {
  display: block;
}

.tjp-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 .tjp-viewport {
  max-height: 300px;
}

.carousel li {
  margin-right: 5px;
}

.fmnav-direction-nav {
  margin: 0;
}

.fmnav-direction-nav a {
  text-decoration: none;
  display: block;
  width: 40px;
  height: 40px;
  margin: -20px 0 0;
  position: absolute;
  top: 50%;
  z-index: 8;
  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;
}

.fmnav-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);
}

.fmnav-direction-nav .fmnav-prev {
  left: -50px;
}

.fmnav-direction-nav .fmnav-next {
  right: -50px;
  text-align: right;
}

.fmnav-direction-nav .tjp-disabled {
  opacity: 0 !important;
  cursor: default;
}

.fmnav-control-nav {
  position: absolute;
  bottom: 25px;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.fmnav-control-nav li {
  display: inline-block;
  overflow: hidden;
  margin: 0 0.5em;
}

.fmnav-control-nav li:before {
  display: none !important;
}

.fmnav-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);
}

.fmnav-control-nav li a.tjpsld-active {
  background-color: red;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.fmnav-control-nav.fmnav-control-paging li {
  padding: 0;
  margin: 0 0.5em;
}

.tjp-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;
}

.tjp-pauseplay a:before {
  font-size: 20px;
  display: inline-block;
}

.tjp-pauseplay a:hover {
  opacity: 1;
}

.control-slide {
  width: 100%;
  float: left;
}

.tjp-control-nav {
  width: 100%;
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  text-align: center;
  top: 0.5em;
}

.tjp-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
}

.tjp-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: 12px;
  height: 12px;
  background-color: #9a9a9a;
  box-shadow: none;
}

.tjp-control-nav li a.tjp-active,
.tjp-control-nav li a:hover {
  background-color: #fff;
}

.tjp-control-nav li a.tjp-active {
  cursor: default;
}

.control-news {
  height: 40px;
}

.control-news .tjp-control-nav {
  bottom: 0;
}

.control-news .tjp-control-nav li a {
  border-color: #ececec;
  width: 17px;
  height: 17px;
}

.control-news .tjp-control-nav li a.tjp-active,
.control-news .tjp-control-nav li a:hover {
  border-color: #000;
  background-color: transparent;
}

.tjp-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}

.tjp-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}

.tjp-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.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;
}

.tjp-control-thumbs img:hover {
  opacity: 1;
}

.tjp-control-thumbs .tjp-active {
  opacity: 1;
  cursor: default;
}

.tjp-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tjp-direction-nav a {
  text-decoration: none;
  display: block;
  width: 50px;
  height: 50px;
  margin: -20px 0 0;
  text-indent: -99999em;
  position: absolute;
  top: 50%;
  z-index: 5;
  overflow: hidden;
  opacity: 1;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  background-color: #000;
  opacity: 0.5;
  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;
}

.tjp-direction-nav a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 25px;
  margin: auto;
  background-image: url("../image/arrow-sprite.webp");
  background-repeat: no-repeat;
  color: rgba(0, 0, 0, 0.8);
}

.tjp-direction-nav a.tjp-prev {
  left: 0;
}

.tjp-direction-nav a.tjp-prev:before {
  background-position: 0 -8px;
}

.tjp-direction-nav a.tjp-next {
  right: 0;
}

.tjp-direction-nav a.tjp-next:before {
  background-position: -32px -8px;
}

@media screen and (max-width: 640px) {
  .tjp-direction-nav a {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
  }
}

@media screen and (max-width: 860px) {
  .tjp-direction-nav .tjp-prev {
    opacity: 1;
    left: 10px;
  }

  .tjp-direction-nav .tjp-next {
    opacity: 1;
    right: 10px;
  }
}

.tjp-gallery {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1;
}

.tjp-gallery .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
  touch-action: manipulation;
  -moz-backface-visibility: hidden;
}

.tjp-gallery .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.tjp-gallery .owl-stage-outer {
  position: relative;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
}

.tjp-gallery .owl-item,
.tjp-gallery .owl-wrapper {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}

.tjp-gallery .owl-item {
  position: relative;
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.tjp-gallery .owl-item img {
  display: block;
  width: 100%;
}

.tjp-gallery .owl-item img.owl-lazy {
  transform-style: preserve-3d;
}

.tjp-gallery .owl-item .owl-lazy {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tjp-gallery .owl-item .owl-lazy:not([src]),
.tjp-gallery .owl-item .owl-lazy[src^=""] {
  max-height: 0;
}

.tjp-gallery .owl-dots.disabled,
.tjp-gallery .owl-nav.disabled {
  display: none;
}

.tjp-gallery .owl-nav .owl-next,
.tjp-gallery .owl-nav .owl-prev {
  cursor: pointer;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tjp-gallery .owl-nav button.owl-next,
.tjp-gallery .owl-nav button.owl-prev {
  background: 0 0;
  color: inherit;
  border: none;
  padding: 0 !important;
  font: inherit;
  display: block;
  position: absolute;
  top: 25%;
  bottom: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.77);
}

.tjp-gallery .owl-nav button.owl-next:hover,
.tjp-gallery .owl-nav button.owl-prev:hover {
  background: rgba(0, 0, 0, 0.77);
}

.tjp-gallery .owl-nav button.owl-prev {
  left: 8px;
}

.tjp-gallery .owl-nav button.owl-prev span {
  background-position: 3px -8px;
}

.tjp-gallery .owl-nav button.owl-next {
  right: 8px;
}

.tjp-gallery .owl-nav button.owl-next span {
  background-position: -30px -8px;
}

.tjp-gallery .owl-nav button.disabled {
  opacity: 0;
}

@media screen and (max-width: 1023px) {
  .tjp-gallery .owl-nav button.owl-prev {
    left: 0;
  }

  .tjp-gallery .owl-nav button.owl-next {
    right: 0;
  }
}

.tjp-gallery .owl-nav span {
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  overflow: hidden;
  width: 26px;
  height: 25px;
  display: block;
  background-image: url("../image/arrow-sprite.webp");
  background-repeat: no-repeat;
  text-indent: 9999em;
  opacity: 0.6;
}

.tjp-gallery .owl-dot {
  cursor: pointer;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tjp-gallery .owl-dot button.owl-dot {
  background: 0 0;
  color: inherit;
  border: none;
  padding: 0 !important;
  font: inherit;
}

.tjp-gallery.owl-loaded {
  display: block;
}

.tjp-gallery.owl-loading {
  opacity: 0;
  display: block;
}

.tjp-gallery.owl-hidden {
  opacity: 0;
}

.tjp-gallery.owl-refresh .owl-item {
  visibility: hidden;
}

.tjp-gallery.owl-drag .owl-item {
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tjp-gallery.owl-grab {
  cursor: move;
  cursor: grab;
}

.tjp-gallery.owl-rtl {
  direction: rtl;
}

.tjp-gallery.owl-rtl .owl-item {
  float: right;
}

.tjp-gallery .animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.tjp-gallery .owl-animated-in {
  z-index: 0;
}

.tjp-gallery .owl-animated-out {
  z-index: 1;
}

.tjp-gallery .fadeOut {
  animation-name: fadeOut;
}

.tjp-gallery .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000;
}

.tjp-gallery .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  transition: transform 0.1s ease;
}

.tjp-gallery .owl-video-play-icon:hover {
  -ms-transform: scale(1.3, 1.3);
  transform: scale(1.3, 1.3);
}

.tjp-gallery .owl-video-playing .owl-video-play-icon,
.tjp-gallery .owl-video-playing .owl-video-tn {
  display: none;
}

.tjp-gallery .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 0.4s ease;
}

.tjp-gallery .owl-video-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
}

.no-js .owl-carousel {
  display: block;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.owl-height {
  transition: height 0.5s ease-in-out;
}

.owl-theme .owl-nav {
  margin-top: 10px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-nav [class*="owl-"] {
  color: #fff;
  font-size: 14px;
  margin: 5px;
  padding: 4px 7px;
  background: #d6d6d6;
  display: inline-block;
  cursor: pointer;
  border-radius: 3px;
}

.owl-theme .owl-nav .disabled {
  opacity: 0.5;
  cursor: default;
}

.owl-theme .owl-nav .disabled + .owl-dots {
  margin-top: 10px;
}

.owl-theme .owl-dots {
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-dots .owl-dot {
  display: inline-block;
  zoom: 1;
}

.owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px 7px;
  background: #d6d6d6;
  display: block;
  -webkit-backface-visibility: visible;
  transition: opacity 0.2s ease;
  border-radius: 30px;
}

.owl-theme .owl-dots .owl-dot :hover span,
.owl-theme .owl-dots .owl-dot.active span {
  background: #869791;
}
