/* Space out content a bit */
* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}
body {
  padding-top: 20px;
  padding-bottom: 20px;
}
img {
  width: 100%;
}

th, td {
  padding: 8px;
}

/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.footer {
  padding-right: 15px;
  padding-left: 15px;
}

/* Customize container */
@media (min-width: 768px) {
  .container {
    max-width: 730px;
  }
}
.container-narrow > hr {
  margin: 30px 0;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .header,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
  /* Space out the masthead */
  .header {
    margin-bottom: 30px;
  }
}

/* Common */
#body {
  padding-top: 60px;
}
.navbar-brand {
  text-align: center;
  margin: 0 auto;
  font-size: 1rem;
}
.navbar .btn {
  width: 38px;
  position: absolute;
  z-index: 1;
}
.navbar .btn:first-child {
  left: 15px;
}
.navbar .btn:last-child {
  right: 15px;
}
#backBtn {
  width: 30px;
  position: absolute;
  cursor: pointer;
}

/* index */
#bookCover {
  width: 100%;
}
#myTab {
  margin-top: 50px;
}
#myTab a {
  color: #6c757d;
}
#myTab a.active {
  color: #495057;
}
#schedule table {
  font-size: .85em;
}
#schedule table td, #schedule table th {
  vertical-align: middle;
}
div#mainBtnArea a, div#mainBtnArea .dropdown {
  height: 50px;
  line-height: 35px;
  width: 100%;
}
div#mainBtnArea .dropdown a, .dropdown-menu, .dropdown-item {
  width: 100%;
}


/* summary */
.list-group-item.disabled, .list-group-item:disabled {
  color: #383d41;
  background-color: #d6d8db;
}

/* dictionary */
#aveTable_info {
  margin-bottom: 20px;
}
.page-item.active .page-link {
  background-color: #6c757d;
  border-color: #6c757d;
}

/* test */
.navbar-quextion-no {
  margin-top: 0;
  margin-bottom: 0;
  padding: .5rem;
  width: 100%;
  text-align: center;
}
.card {
  min-height: 300px;
  margin-top: .5rem;
  margin-bottom: .5rem;
}
#answerList {
  margin-bottom: 50px;
}
#answerArea {
  position: fixed;
  bottom: 47px;
  width: 100%;
  max-width: 730px;
  min-height: 170px;
  margin-left: -15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  display: none;
  z-index: 10000;
  max-height: 80%;
  overflow-y: auto;
}
#answerArea div {
  margin-bottom: 10px;
}

#question img, #answerArea img {
  display: block;
  margin-top: 15px;  
}

/*
#answerArea div:last-child {
  position: absolute;
  bottom: 10px;
  right: 15px;
}
*/
#testBtnArea {
  position: fixed;
  bottom: 0px;
  width: 100%;
  margin-left: -15px;
  z-index: 9999;
}
#testBtnArea button {
  width: 100%;
  margin: 0px;
  border-radius: 0;
  float: left;
}
#wrongAnswerBtn, #infoBtn {
  width: 100% !important;
}
#selectNumber {
  text-align: center;
  margin-bottom: 20px;
}
#testInfo {
  margin-top: 30px;
}
#resetAnswerBtn, #moveResultBtn {
  width: 50% !important;
}
.progress {
  margin: 5px;
}
.tbl {
  border-left: none;
  border-right: none;
}
.tbl th {
  border: 1.5px solid black;
  border-left: none;
  border-right: none;
}
.tbl th, .tbl td {
  border-left: none;
  border-right: none;
}
.tbl .bg-color-gray {
  background-color: rgb(239, 239, 239);
}
.tbl .bg-color-orange {
  background-color: rgb(230, 242, 246);
}
/* Customize container */
@media (min-width: 576px) {
  #testBtnArea {
    max-width: 540px;
    margin-left: -15px;
  }
  #answerArea {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  #testBtnArea {
    max-width: 730px;
    margin-left: -15px;
  }
  #answerArea {
    max-width: 730px;
  }
}

/* result */
.list-group-item > .badge {
  float: right;
  margin-right: 0;
  margin-top: 2px;
}
#resultBtn {
  display: none;
}

/* summary */
.summary h3 {
  background: rgb(210 96 60);
  padding: 7px;
  color: white;
  border-radius: 5px;
}
.summary h5 {
  margin-top: 30px;
}
.orange {
  color: rgb(210 96 60);
}
.summary div {
  margin-left: 20px;
}
.summary ul {
  padding-inline-start: 20px;
}

/* auth */
#authNo {
  text-align: center;
  font-size: 60px;
  font-weight: 500;
  margin-top: 30px;
}
#inputAuthCode { 
  -webkit-user-select: text !important;
  -khtml-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: text !important;
}

/* question */
.questionBox {
  margin-top: 10px;
  padding: 10px;
  background-color: rgb(230, 242, 246);
}

/* latex */
.MathJax_Display {
  display: inline !important;
  font-size: 11px;
}