img {
  width: 100%;
  height: auto;
}
.logo img {
  width: auto;
  height: auto;
}

.post-img-custom img {
  width: 70%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.post-img-custom iframe {
  width: 70%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
sub {
  line-height: initial;
}
.post-img-custom sub em {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.post-img-custom figcaption {
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 8px;
  border: 1px solid #dee2e6;
}
th {
  text-align: left;
}
.row {
  margin-right: 0;
  margin-left: 0;
}

/*
Popup
*/
.show-tour-3d .show-tour-3d button {
  border: none;
  background: #333;
  color: #fff;
  padding: 10px 30px;
  border-radius: 5px;
  font-size: 17px;
  cursor: pointer;
  font-family: "Saira Semi Condensed", sans-serif;
}
.show-tour-3d .popup-flex {
  margin: 30px;
}
.show-tour-3d .popup-container {
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  transform: scale(1.3);
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  align-items: center;
}
.show-tour-3d .popup-content {
  background-color: #fefefe;
  margin: auto;
  padding: 10px;
  border: 1px solid #888;
  width: 100%;
  height: 100%;
}
.show-tour-3d .popup-content span {
  position: absolute;
  top: 10px;
  right: 30px;
  color: #fff;
  float: right;
  font-size: 50px;
  font-weight: bold;
}

.show-tour-3d .popup-content span:hover,
.show-tour-3d .popup-content span:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.show-tour-3d .show {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.show-tour-3d .more-articles {
  margin: 30px 30px 50px;
  font-size: 20px;
}
.show-tour-3d .more-articles a {
  margin: 0 10px;
  text-decoration: underline;
}

#tour3d-popup-btn {
  width: auto;
  height: 40px;
  padding: 10px;
  color: #000;
  font-weight: bold;
  background-color: #f9c56a;
  border-radius: 10px;
  font-size: 16px;
}

.xemthem-btn {
  height: 40px;
  width: auto !important;
  margin-top: 50px !important;
  animation: floatx 3s ease-in-out infinite;
}
@keyframes floatx {
  0% {
    transform: translatex(0px);
  }
  50% {
    transform: translatex(20px);
  }
  100% {
    transform: translatex(0px);
  }
}

#kham_pha_3D {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .post-img-custom img {
    width: 100%;
  }
  .post-img-custom iframe {
    width: 100%;
  }
}

/* CSS Document */
.runtext-container {
  width: 100%;
  position: absolute;
  top: 80px;
  z-index: 40;
  background-color: #fff;
  padding: 5px;
}
.text-container {
  display: inline;
  margin-right: 50px;
}

.text-container a {
  text-decoration: none;
  font-weight: bold;
  color: #ff0000;
  /* text-shadow: 2px 2px 2px rgba(0, 0, 0); */
  font-size: 16px;
}

.text-container a:hover {
  text-decoration: none;
  color: #6600ff;
  /* text-shadow: 2px 2px 2px rgba(255, 255, 255); */
}

.category-title {
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
}
.post-title {
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
}
