.frame_img {
  display: block;
  background: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 4px;
  cursor: pointer;
}

.frame_img img:hover, #colorbox img:hover {
  opacity: 1;
}

.frame_img_inner {
  max-height: 1500px;
}

#sync1_wrapper {
  display: none;
}

#sync1 .item {
  color: #FFF;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  text-align: center;
}

#sync2 .item {
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  background: #FFF;
  position: relative;
  padding-bottom: 37px;
}
#sync2 .item .play-video-small {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
}
#sync2 .item a {
  display: grid;
  border: 1px solid #EAE8E1;
}
#sync2 .item a img {
  margin: 0 auto;
  width: 56px;
}

#sync2 .item h1 {
  font-size: 18px;
}

#sync2 .synced .item {
  background: #0c83e7;
}

#sync1 .owl-prev, #sync1 .owl-next {
  display: inline-block;
  padding: 0px;
  text-align: center;
  position: absolute;
  top: 40% !important;
  width: 16px;
  height: 25px;
  font-size: 12px;
  margin: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--main-color);
  font-size: 30px;
  color: #fff;
  line-height: 20px;
}

#sync1:hover .owl-prev, #sync1:hover .owl-next {
  display: inline-block !important;
}

#sync1 .owl-prev {
  left: 0px;
}

#sync1 .owl-next {
  right: 0px;
}

#sync1 .owl-prev:hover {
  right: 4px;
}

#sync1 .owl-next:hover {
  right: 4px;
}

#sync1.owl-carousel .owl-item img {
  transform-style: preserve-3d;
  display: inherit;
  width: auto;
  /*max-width: 350px;*/
}
@media all and (max-width: 768px) {
  #sync1.owl-carousel .owl-item img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
  }
}

/*********THUMBNAIL***********/
@media screen and (max-width: 600px) {
  .frame_left .thumbs {
    display: none;
  }
}

.thumbs .owl-carousel .owl-stage {
  text-align: center;
  margin: 0 auto;
}

#sync2 .owl-prev, #sync2 .owl-next {
  display: inline-block !important;
  zoom: 1;
  position: absolute;
  padding: 6px 0 0;
  margin: 0;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  font-size: 45px;
  color: #404040;
  font-family: -webkit-body;
  line-height: 12px;
  top: 32%;
  transform: translateY(-50%);
  opacity: 1;
  /*background: #ddd;*/
  box-sizing: border-box;
  transition: 0.2s;
}
#sync2 .owl-prev:hover, #sync2 .owl-next:hover {
  /*background:var(--main-color);*/
  color: var(--main-color);
}

#sync2 .owl-prev {
  left: -50px;
}
@media all and (max-width: 850px) {
  #sync2 .owl-prev {
    left: -18px;
  }
}

#sync2 .owl-next {
  right: -130px;
}
@media all and (max-width: 850px) {
  #sync2 .owl-next {
    right: -120px;
  }
}

.product .frame_left #sync1_wrapper {
  border: 1px solid #EEE;
}

@media screen and (max-width: 600px) {
  .product .frame_left .magic_zoom_area {
    display: none;
  }
  .frame_img {
    padding: 0px;
  }
  .frame_img_inner {
    padding: 0px;
  }
  .product .frame_left #sync1_wrapper {
    display: block;
    border: none;
    min-height: 320px;
  }
  .product .frame_left #sync1_wrapper .item {
    position: relative;
  }
  .product .frame_left #sync1_wrapper .item > img {
    width: 75%;
  }
  .product .frame_left #sync1_wrapper .item .play-video-check img {
    width: 50px !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
.fotorama__nav__frame {
  height: 100px !important;
}
.fotorama__nav__frame img {
  height: 100px !important;
  top: 0px !important;
}

.fotorama__thumb-border {
  height: 96px !important;
}

.popup-video-full {
  position: fixed;
  z-index: 22222222;
  top: 0;
  left: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9490196078);
  display: none;
}
.popup-video-full .content-video {
  width: 100%;
  height: 100%;
}
.popup-video-full .video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (max-width: 900px) {
  .popup-video-full .video {
    width: 100%;
  }
}
.popup-video-full .close {
  float: right;
  color: white;
  font-size: 22px;
  padding: 10px;
  cursor: pointer;
}

.thumbs-boxOpen {
  display: inline-block;
}
.thumbs-boxOpen .thumbs {
  width: 212px;
  float: left;
}

.box-thumbs-boxOpen {
  text-align: center;
}

.click-openbox-char {
  float: left;
}
.click-openbox-char .itembox {
  border: 1px solid #EAE8E1;
  width: 60px;
  height: 56px;
  float: left;
  margin-left: 14px;
  background-image: url("../images/thongso.jpg");
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  position: relative;
  display: block;
}
.click-openbox-char .itembox span {
  position: absolute;
  bottom: -8px;
  display: block;
  width: 106%;
  text-align: center;
  transform: translateY(100%);
  line-height: 18px;
}
.click-openbox-char .itembox:nth-child(2) {
  background-size: 32px;
  background-image: url("../images/mo-hop.jpg");
}

.color_name_for_img {
  position: absolute;
  bottom: 30px;
  display: block;
  width: 106%;
  text-align: center;
  transform: translateY(100%);
  line-height: 18px;
}