/* Khung trình chiếu: tái tạo ĐÚNG khung soạn thảo 1024x768 của index.php
   (#presentationContainer / #canvasContainer / .text-box), sau đó present.js
   phóng to/thu nhỏ đồng đều cả khung => ở 720p, 1080p hay 4K vị trí và cỡ chữ đều giữ nguyên tỉ lệ. */
.mr-frame {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.mr-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 1024px;
  height: 768px;
  box-sizing: content-box;
  background: #fff;
  overflow: hidden;
  font-family: Arial, sans-serif;
  line-height: normal;
  text-align: left;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.mr-canvas {
  position: relative;
  width: 1024px;
  height: 767px; /* khung soạn thảo cao 768px, trừ 1px viền dưới */
  box-sizing: content-box;
  border-bottom: 1px solid transparent;
  background-size: cover;
  background-position: center;
}
.mr-stage .text-box {
  position: absolute;
  box-sizing: content-box;
  white-space: pre-wrap;
  min-width: 100px;
  min-height: 30px;
  font-size: 20px;
  color: black;
  font-family: Arial;
  background: transparent;
  padding: 3px;
  margin: 0;
}
.mr-slider {
  height: 300px;
  overflow: hidden;
  border-top: 1px solid #ccc;
  width: 100%;
}
.mr-slider .slider-track {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-animation: mr-scroll 20s linear infinite;
  animation: mr-scroll 20s linear infinite;
}
.mr-slider .slider-track img {
  width: 400px;
  height: 300px;
  margin-right: 10px;
}
@-webkit-keyframes mr-scroll {
  0% { -webkit-transform: translateX(0); }
  100% { -webkit-transform: translateX(-50%); }
}
@keyframes mr-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
