@charset "utf-8";
/*
 1.Basic Elements
 2.Generic Classes
 3.Basic Layout
 4.Content
*/
/***********************************************************
 1.Basic Elements
***********************************************************/
html {
  scroll-behavior: auto !important;
}
body {
  font-family: Nunito, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: .875rem;
}
header {
  background: #333a46;
  color: #fff;
  padding: 8px 32px;
}
header a {
  color: #fff;
  opacity: .9;
  text-decoration: none;
}
header a:hover {
  color: #fff;  
  opacity: 1;
}
header a#header-title {
  font-weight: 600;
  margin-right: 48px;
}
header .nav a {
  opacity: .5;
  padding-right: 16px;
}
header .nav a.active,
header .nav a:hover {
  opacity: 1;
}
ol {
  margin: 0;
}
ol li {
  margin: 2px 0;
}
/***********************************************************
 2.Generic Classes
***********************************************************/
.alert.message {
  position: absolute;
  top: 16px;
  right: 16px;
  opacity: .9;
  padding: 8px 16px;
  z-index: 2000;
}
.avator {
  border-radius: 50%;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: -4px;
}
.container-fluid {
  padding: 0;
}
.dropdown-menu {
  font-size: .9rem;
  right: 0 !important;
}
.nav li {
  padding: 0 4px;
}
.table-striped>tbody>tr:nth-of-type(odd) {
  --bs-table-accent-bg: rgba(0, 0, 0, 0.01);
}
select[name="program_code"] {
  min-width: 270px;
}
/* Button */
.btn-theme {
  border-radius: 4px;
  color: #fff;
  background: #333a46 !important;
  opacity: .95;
  padding: 4px 16px;
  transition: .2s ;
  min-width: 90px;
}
.btn-theme:hover,
.btn-theme:active {
  color: #fff;
  background: #000000;
  opacity: 1;
}
.btn-theme:disabled {
  color: #fff;
  opacity: .5;
}
.btn-theme2 {
  color: #fff;
  background: #464e5c !important;
  transition: .2s ;
}
.btn-theme2:hover,
.btn-theme2:active {
  color: #fff;
  background: #333a46 !important;;
}
.btn-theme2:disabled {
  color: #fff;
  background: #464e5c !important;
  border-color:#464e5c !important;
  opacity: .25;
}
.btn-micro {
  border-radius: 2px;
  font-size: 12px;
  padding: 0 8px;
}
a.btn-micro:hover {
  text-decoration: none;
}
a.btn-reset {
  vertical-align: 1px;
}
a.btn-reset i {
  line-height: 20px;
}
td a {
  color: #333;
  text-decoration: none;
}
td a:hover {
  color: #666;
  text-decoration: underline;
}
td, th {
  padding: 8px 16px !important;
}
th {
  color: #808080;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap !important;
}
.rotate {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.scroll table td {
  font-size: 12px;
}
#log td.ip span {
  color: #c0c0c0;
  font-size: .7rem;
  font-style: italic;
  margin-left: 8px;
}
#log td.action span.target {
  background: #333;
  border-radius: 50%;
  color: #fff;
  font-size: .7rem;
  margin-left: 4px;
  width: 16px;
  display: inline-block;
  height: 16px;
  line-height: 16px;
  text-align: center;
}
#log td.action span.count {
  background: #a9a9a9;
  border-radius: 2px;
  color: #fff;
  font-size: .7rem;
  margin-left: 4px;
  padding: 1px 4px;
}
td.no {
  width: 30px;
}
td.user {
  white-space: nowrap;
}
td.content {
  min-width: 360px;
  white-space: initial;
}
td.rate {
  text-align: center;
}
td.ip {
  width: 180px;
}
td.device {
  width: 200px;
}
td.action {
  white-space: nowrap;
}
td.time {
  white-space: nowrap;
  width: 110px;
}
td.edit {
  text-align: center;
  width: 90px;
}
.form-select {
  display: inline-block;
  margin-right: 2px;
  width: auto;
}
.form-check {
  margin: 0;
  min-height: 1rem;
}
.form-check label {
  cursor: pointer;
}
#btn-check.btn-sm {
  font-size: .8rem !important;
  margin-right: 4px;
  padding: 0 8px !important;
}
#page-top {
  bottom: 0;
  display: none;
  font-size: 24px;
  opacity: .5;
  position: fixed;
  right: 1rem;
}
#page-top:hover {
  opacity: 1;
}
#page-top a {
  background: #333a46;
  text-decoration: none;
  color: #fff;
  text-align: center;
  border-radius: 28px;
  width: 50px;
  height: 50px;
  display: block;
  line-height: 50px;
}
.sorter-false {
  background-image: none;
}
footer#copyright {
  color: gray;
  font-size: 12px;
  margin: 32px 0 0;
  text-align: center;
  white-space: nowrap;
}
.bi-clipboard {
  cursor: pointer;
  font-size: .75rem;
  opacity: .75;
}
.bi-clipboard:hover {
  opacity: 1;
}
@media (max-width: 548px) {
  .form-control {
    min-width: 100%;
  }
  .btn-reset {
    border: 1px solid #c0c0c0;
    margin-bottom: 8px;
    width: 100%;
  }
  .form-select {
    display: block;
    margin: 0 0 8px 0;
    width: 100%;
  }
}
/***********************************************************
 4.Content - Login
***********************************************************/
body#login {
  /* background: linear-gradient(180deg,rgba(0,175,229,0.15),rgba(239,252,248,0) 1000px); */
  background: radial-gradient(circle, #f2f2fd, #fff);
  display: flex;
  height: 100vh;
  line-height: 1.8;
}
#login main {
  margin: auto;
  width: 451px;
  text-align: center;
}
#login main p {
  margin: 0;
}
#login main h1 {
  font-size: 1.4rem;
  margin: 0 0 4px;
}
#login main #version {
  color: #808080;
  font-size: .7rem;
  font-weight: 200;
  letter-spacing: 1.2px;
}
#login img#logo {
  margin: 0 auto 4px;
  max-width: 280px;
  width: 100%;
}
#login .form-floating {
  margin: 0 auto;
  position: relative;
  width: 270px;
}
#login .form-floating .bi {
  font-size: 18px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: .6;
}
#login a {
  color: #000;
  opacity: .6;
  text-decoration: none;
}
#login .bi:hover,
#login a:hover {
  opacity: 1;
  text-decoration: underline;
}
#login .form-check {
  margin: 0 auto;
  text-align: left;
  width: 270px;
}
#login .btn {
  margin: 16px auto 0;
  width: 270px;
}
#login form {
  margin: 32px auto;
}
#login p.text-danger {
  margin: 0 0 4px;
}
#login .text-danger::before {
  content: "";
  display: inline-block;
}
#login input#email {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
#login input[type="password"] {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
@media (max-width: 768px) {
  #login img#logo {
    width: 240px;
  }
  #login main {
    margin: 32px 16px;
  }
  #login form {
    margin: 8px auto;
    width: auto;
    padding: 0;
  }   
  #login p.text-danger {
    text-align: center;
  }
}
/***********************************************************
 4.Content - top
***********************************************************/
#skit-list {
  padding: 16px 0;
}
/***********************************************************
 4.Content - checker
***********************************************************/
#checker #skit-list ol {
  padding: 0 0 0 24px;
}
#checker #skit-list ol li .word-audio{
  cursor: pointer;
  opacity: .75;
}
#checker #skit-list ol li .word-audio:hover,
#checker #skit-list ol li .word-audio.active {
  opacity: 1;
}
#checker .filename {
  color: #a9a9a9;
  font-size: .675rem;
  margin-top: 4px;
}
th.sentence {
  width: 65%;
}
#checker i.hide {
  display: none;
}
@keyframes blink {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0.75;
  }
}
.blink {
  animation: blink 1.5s infinite;
  color: rgb(25, 135, 84);
}
/***********************************************************
 4.Content - message
***********************************************************/
#message h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 24px;
}
#message #message-list .avator {
  width: 36px;
  height: 36px;
  margin: 0;
  vertical-align: 0;
}
#message #message-list td {
  padding: 0 !important;
}
#message #message-list .message {
  border-radius: 8px;
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 16px;
  background: #FFF;
  border: 1px solid rgb(222, 226, 230);
  box-sizing: border-box;
  width: 100%;
}
#message #message-list .message::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: -11px;
  top: 8px;
  border-right: 11px solid rgb(222, 226, 230);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
#message #message-list .message::after{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: -9.75px;
  top: 8px;
  border-right: 11px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
#message #message-list a {
  color: rgb(13, 110, 253);
  text-decoration: underline;
}
#message #message-list a:hover {
  color: #0a58ca;;
  text-decoration: none;
}
#message #message-list .message-time {
  color: #808080;
  font-size: .75rem;
  text-align: right;
}
#message #message-list .sender {
  color: #808080;
  font-size: .625rem;
}
#message hr {
  margin: 32px 0;
}
#message .del-icon {
  cursor: pointer;
  opacity: .5;
}
#message .del-icon:hover {
  opacity: 1;
}
#message .memo {
  color: #808080;
  font-size: .725rem;
   margin: 4px 0;;
}
#message .col-1 {
  padding: 0;
  text-align: center;
  min-width: 100px !important;
}
#message .col-11 {
  max-width: 640px;
  padding: 0;
}
@media (max-width: 768px) {
  #message .col-1 {
    padding: 0 12px;
  }
}
/***********************************************************
 4.Content - setting
***********************************************************/
#setting h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}
#setting p {
  margin-bottom: 8px;
}

@media (max-width: 940px) {
  .container-fluid {
    padding: 16px !important;
  }
  header {
    padding: 0;
  }  
  h1 {
    font-size: 24px;
    margin-bottom: 16px;
    text-align: center;
  }
  td, th {
    padding: 4px 8px !important;
  }
  #ranking .col-lg-6 + .col-lg-6 {
    margin-top: 32px;
  }
  .nav-pills .nav-link {
    margin: 8px 0 0;
  }
}
/***********************************************************
 4.Content - log
***********************************************************/
#log table td {
  font-size: .8rem;
}