/* CBT sample area only. The surrounding page keeps the NAT-TEST site design. */

.cbt-sample-frame {
  position: relative;
  width: calc(100% + 160px);
  margin: 18px 0 8px;
  margin-left: -80px;
  margin-right: -80px;
  border: 2px solid #d7dce2;
  background: #ffffff;
}

.cbt-sample-iframe {
  display: block;
  width: 100%;
  height: 900px;
  border: 0;
  background: #ffffff;
}

.cbt-scroll-control {
  position: absolute;
  right: 40px;
  z-index: 2;
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.cbt-scroll-up {
  top: 18px;
  border-style: solid;
  border-width: 0 20px 40px;
  border-color: transparent transparent #7ba1c9;
}

.cbt-scroll-down {
  bottom: 18px;
  border-style: solid;
  border-width: 40px 20px 0;
  border-color: #7ba1c9 transparent transparent;
}

@media (max-width: 900px) {
  .cbt-sample-iframe {
    height: 700px;
  }
}

.cbt-sample-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  width: calc(100% + 160px);
  margin: 0 -80px 22px;
  padding: 12px 18px;
  border: 1px solid #f0d98c;
  border-radius: 4px;
  background: #fff8e1;
  color: #7a5b00;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.cbt-sample-warning[hidden] {
  display: none;
}

.cbt-sample-warning-icon {
  flex: none;
  color: #f2b400;
  font-size: 26px;
  line-height: 1;
}

.cbt-sample-warning-text {
  flex: none;
}

.cbt-sample-warning p {
  margin: 0;
}

.cbt-sample-warning .en {
  font-weight: 400;
}
