html {
  height: 100% !important;
}

body {
  height: 100% !important;
}

.container {
  border: solid 1px #ccc;
}

#page_intro {
  min-height: 100% !important;
  position: relative;
  height: 100%;
}

.intro_wrapper {
  height: 100%;
}

.messages_intro {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100% !important;
  padding-bottom: 60px;
}

.ab-bottom {
  position: absolute !important;
  bottom: 0;
}

.pbtm-80 {
  padding-bottom: 80px;
}

#page_main {
  min-height: 100% !important;
  position: relative;
}

#status {
  margin-top: 5px;
  padding-bottom: 5px;
}

#status_right {
  margin-top: 5px;
}

.progress-bar {
  border-radius: 10px;
}

.chip {
  color: rgba(0, 0, 0, 0.6);
  padding: 5px 17px;
  border-radius: 16px !important;
  background-color: #eceff1 !important;
  margin-bottom: 1rem;
  margin-right: 1rem;
  box-sizing: border-box;
}

#mode_select {
  line-height: 31px;
  position: relative;
  padding: 5px 22px;
  border: 0;
  cursor: pointer;
  border-radius: 2px;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-transition: 0.2s ease-out;
  -moz-transition: 0.2s ease-out;
  -o-transition: 0.2s ease-out;
  -ms-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
  color: #fff;
  background: #2bbbad;
}

#mode_select:focus {
  outline: none !important;
}

#word {
  display: table;
  width: 100%;
}

#word::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  min-height: 140px;
}

#word img {
  max-width: 100%;
  height: auto;
}

#word-content {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-size: 1.4rem;
  padding: 5px;
}

#explanation {
  position: relative;
  display: table;
  width: 100%;
  background-color: #eee;
  box-shadow: 0px 0px 8px 3px #ccc inset;
}

#explanation:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  min-height: 150px;
}

#explanation-content {
  display: table-cell;
  vertical-align: middle;
  font-size: 1.2rem;
  word-break: break-all;
  -webkit-line-break: strict;
  line-break: strict;
}

#explanation-content img {
  max-width: 100%;
}

.arrow_nav {
  padding-bottom: 4px;
  border-bottom: solid 1px #ccc;
}

.arrow_nav .btn {
  margin: 2px !important;
}

.arrow_circle {
  border-radius: 50% !important;
  height: 40px !important;
  width: 40px !important;
  background-color: #eee !important;
  padding: 0 !important;
}

#question_wrap {
  display: table-cell;
  vertical-align: middle;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

body {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

@media (min-width: 767px) {
  #word {
    min-height: 140px;
  }

  #explanation {
    min-height: 150px;
  }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 768px) and(max-width:979px) {
  #word {
    min-height: 170px;
  }

  #explanation {
    min-height: 200px;
  }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  #word {
    min-height: 200px;
  }

  #explanation {
    min-height: 300px;
  }
}
