/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.text-overflow {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.text-gradient {
  background-image: -webkit-gradient(linear, 37.219838% 34.532506%, 36.425669% 93.178216%, from(#29cdff), to(#0a60ff), color-stop(0.37, #148eff));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.background-hover {
  transition: all 0.3s ease-out;
}
.background-hover:hover {
  background-color: #f9f9fc;
}

#notfound {
  position: relative;
  height: 100vh;
}
#notfound .notfound {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 767px;
  width: 100%;
  line-height: 1.4;
  text-align: center;
  padding: 15px;
}
#notfound .notfound .notfound-404 {
  position: relative;
  height: 220px;
}
#notfound .notfound .notfound-404 h1 {
  font-family: 'Kanit', sans-serif;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 186px;
  font-weight: 200;
  margin: 0px;
  background: linear-gradient(130deg, #ffa34f, #ff6f68);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  text-transform: uppercase;
}
#notfound .notfound h2 {
  font-family: 'Kanit', sans-serif;
  font-size: 33px;
  font-weight: 200;
  text-transform: uppercase;
  margin-top: 0px;
  margin-bottom: 25px;
  letter-spacing: 3px;
}
#notfound .notfound p {
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  font-weight: 200;
  margin-top: 0px;
  margin-bottom: 25px;
}
#notfound .notfound p a {
  font-family: 'Kanit', sans-serif;
  color: #ff6f68;
  font-weight: 200;
  text-decoration: none;
  border-bottom: 1px dashed #ff6f68;
  border-radius: 2px;
}
#notfound .notfound .notfound-social > a {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  width: 40px;
  font-size: 14px;
  color: #ff6f68;
  border: 1px solid #efefef;
  border-radius: 50%;
  margin: 3px;
  -webkit-transition: 0.2s all;
  transition: 0.2s all;
}

/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.text-overflow {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.text-gradient {
  background-image: -webkit-gradient(linear, 37.219838% 34.532506%, 36.425669% 93.178216%, from(#29cdff), to(#0a60ff), color-stop(0.37, #148eff));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.background-hover {
  transition: all 0.3s ease-out;
}
.background-hover:hover {
  background-color: #f9f9fc;
}
#login {
  width: 100%;
  height: 100vh;
  background: #fff;
}
#login .content {
  height: 100%;
  padding: 20px;
  display: grid;
}
#login .content .background-login {
  width: 100%;
  height: 100%;
  background-image: url('/images/image-login.png');
  background-size: cover;
}
#login .content .content-form {
  position: relative;
  top: 20%;
}
#login .content .content-form .logo {
  margin: 10px 0px 30px;
  text-align: center;
}
#login .content .content-form .logo .img {
  width: 250px;
  margin: 0 auto;
}
#login .content .content-form .logo .img img {
  width: 100%;
}
#login .content .content-form .logo .sitename {
  padding-top: 16px;
  text-align: center;
  letter-spacing: 0px;
  color: #4D4F5C;
  opacity: 0.5;
}
#login .content .content-form .forgot-text {
  float: right;
  letter-spacing: 0px;
}
#login .content .content-form .btn {
  width: 100%;
}
#login .content .content-form .login {
  background: #9c100f 0% 0% no-repeat padding-box;
  border: 1px solid #dcdce4;
  border-radius: 4px;
}
#login .content .content-form .register {
  border: 1px solid #dcdce4;
  border-radius: 4px;
}
#login .content .content-form .register-custom {
  background: #9c100f 0% 0%;
  border-radius: 4px;
  height: 40px;
  width: 130px;
}

/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.text-overflow {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.text-gradient {
  background-image: -webkit-gradient(linear, 37.219838% 34.532506%, 36.425669% 93.178216%, from(#29cdff), to(#0a60ff), color-stop(0.37, #148eff));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.background-hover {
  transition: all 0.3s ease-out;
}
.background-hover:hover {
  background-color: #f9f9fc;
}
* {
  font-family: "Roboto", sans-serif;
}
.ant-table-content {
  overflow-x: scroll !important;
}
.ant-table-thead > tr > th {
  color: white !important;
  background-color: #b51d1c !important;
}
.ant-table-title {
  font-style: italic;
  margin-left: 10px;
  line-height: 26px;
  color: #313382;
}
.ant-collapse > .ant-collapse-item > .ant-collapse-header {
  color: #313382;
  font-style: italic;
  font-size: x-large;
}
.ant-descriptions-item-label {
  width: 40%;
}
.ant-layout-sider {
  position: fixed;
  height: 100vh;
  width: 256px;
  overflow-y: scroll;
  overflow-x: hidden;
  box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.08);
  background-image: url("/images/sidebar-bg.png") !important;
  background-repeat: no-repeat;
  background-size: cover !important;
  background-position: 60% 100% !important;
}
.ant-layout-sider .sidebar-btn {
  padding: 4px;
  border: 1px solid #8c99e0;
  margin: 8px;
  border-radius: 20px;
  text-align: center;
  color: #8c99e0;
}
.ant-layout-sider .sidebar-profile .profile-avatar {
  margin: 0 auto;
}
.ant-layout-sider .sidebar-profile .profile-avatar .avatar {
  width: 150px;
  padding: 7px 0px 0px;
}
.ant-layout-sider .sidebar-profile .profile-endLine {
  margin: 8px 0px;
}
.ant-popover.ant-popover-placement-bottom {
  max-width: 100% !important;
}
.show-on-hover .show-on-hover-item {
  padding-left: 3px;
  display: inline;
}
.show-on-hover:hover .show-on-hover-item {
  display: inline;
}
#admin {
  /** test**/
  /** test**/
}
#admin .dashboard .chart .button-choose {
  text-align: right;
}
#admin .dashboard .table-statistic h4,
#admin .dashboard .chart h4 {
  padding-top: 12px;
  font-size: 28px;
}
#admin .download .icon img {
  width: 120px;
}
#admin .loading {
  text-align: center;
  padding: 12px;
}
#admin .input-line {
  width: 80px;
  margin-right: 8px;
}
#admin .spin {
  padding: 0 45%;
}
#admin .text-center {
  text-align: center;
}
#admin .btn-margin-right {
  margin-right: 8px;
}
#admin .btn-margin-left {
  margin-left: 8px;
}
#admin .side-bar {
  background: none;
}
#admin .side-bar .ant-menu-sub {
  background: none;
}
#admin .trigger {
  font-size: 18px;
  line-height: 64px;
  padding: 0 24px;
  cursor: pointer;
  transition: color 0.3s;
}
#admin .trigger:hover {
  color: #1890ff;
}
#admin .logo {
  height: 32px;
  background: rgba(200, 200, 200, 0.2);
  margin: 16px;
}
#admin .ant-menu-item-group-title i {
  margin-right: 5px;
}
#admin .login-status.description {
  color: #9c100f;
}
#admin .login-status.description.error {
  color: #f00;
}
#admin .header {
  padding: 0;
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  display: block;
  height: 72px;
  z-index: 9;
  background: #fff;
}
#admin .header .header-menu .ant-menu-submenu-title {
  min-width: 200px;
}
#admin .header .header-menu .ant-menu-submenu-title .ant-menu-title-content {
  float: right;
}
#admin .header.fixed {
  position: fixed;
  top: 0;
  right: 0;
  width: calc(100% - 256px);
  z-index: 29;
  transition: width 0.2s;
}
#admin .header .ant-menu-submenu-title {
  height: 72px;
}
#admin .header .ant-menu-horizontal {
  line-height: 72px;
}
#admin .header .ant-menu-horizontal > .ant-menu-submenu:hover {
  color: #9c100f;
  background-color: #f9f9fc;
}
#admin .header .ant-menu {
  border-bottom: none;
  height: 72px;
}
#admin .header .ant-menu-horizontal > .ant-menu-submenu {
  top: 0;
  margin-top: 0;
}
#admin .header .ant-menu-horizontal > .ant-menu-item,
#admin .header .ant-menu-horizontal > .ant-menu-submenu {
  border-bottom: none;
}
#admin .header .ant-menu-horizontal > .ant-menu-item-active,
#admin .header .ant-menu-horizontal > .ant-menu-item-open,
#admin .header .ant-menu-horizontal > .ant-menu-item-selected,
#admin .header .ant-menu-horizontal > .ant-menu-item:hover,
#admin .header .ant-menu-horizontal > .ant-menu-submenu-active,
#admin .header .ant-menu-horizontal > .ant-menu-submenu-open,
#admin .header .ant-menu-horizontal > .ant-menu-submenu-selected,
#admin .header .ant-menu-horizontal > .ant-menu-submenu:hover {
  border-bottom: none;
}
#admin .header .header-search {
  width: 300px;
  border-radius: 20px;
}
#admin .header .right-container {
  position: relative;
  float: right;
  min-width: 150px;
}
#admin .header .right-container ul {
  background: #fefefe;
}
#admin .header .header-btn {
  color: #fff;
  margin-right: 8px;
  font-weight: bold;
}
#admin .backTop {
  right: 50px;
}
#admin .backTop .ant-back-top-content {
  background: #9c100f;
  opacity: 0.3;
  transition: all 0.3s;
  box-shadow: 0 0 15px 1px rgba(69, 65, 78, 0.1);
}
#admin .backTop .ant-back-top-content:hover {
  opacity: 1;
}
#admin .main-layout {
  margin-left: calc(256px + 0px);
  min-height: calc(100vh - 70px);
}
#admin .main-layout.collapsed {
  margin-left: 0px;
}
#admin .main-layout .breadcumb-right {
  float: right;
  background: rgba(255, 255, 255, 0.3);
  padding: 15px 20px;
  border-radius: 50px;
}
#admin .main-layout .breadcumbs {
  background: linear-gradient(45deg, #9c100f 0%, #b51d1c 60%);
  padding: 16px 32px 100px;
}
#admin .main-layout .breadcumbs * {
  color: #fff !important;
}
#admin .main-layout .scheduleCard {
  max-width: 768px;
  margin: auto;
}
#admin .main-layout > .content {
  background: #fff;
  padding: 24px;
  margin: -80px 32px 8px;
  border-radius: 4px;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.2);
}
#admin .main-layout > .content.transparent {
  background: transparent;
  padding: 0px;
  box-shadow: none;
}
#admin .main-layout > .fix-content {
  background: #fff;
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.2);
}
#admin .main-layout > .fix-content.transparent {
  background: transparent;
  padding: 0px;
  box-shadow: none;
}
#admin .main-layout .whiteBox {
  background: #fff;
  padding: 16px;
  border-radius: 4px;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.2);
}
#admin .btn-top {
  margin-bottom: 16px;
  margin-right: 8px;
}
#admin .btn-right {
  float: right;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}
#admin .btn-margin-right {
  margin-right: 8px;
}
#admin .ant-form-item .ant-form-item {
  margin-bottom: 0px !important;
}
#admin .footer {
  text-align: right;
}
#admin .box {
  border: 1px solid #dadada;
  margin: 20px 0px;
  padding: 20px 10px 10px;
  position: relative;
}
#admin .box .box-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  position: absolute;
  top: -12px;
  background: #fff;
  padding: 0px 10px;
}
#admin .question-box {
  max-width: 500px;
  margin: 30px auto;
  padding-bottom: 20px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  overflow: hidden;
}
#admin .question-box .image {
  margin: auto;
}
#admin .question-box .index {
  padding: 20px 20px 0px;
}
#admin .question-box .question {
  font-size: 18px;
  font-weight: bold;
  padding: 0px 20px 10px;
}
#admin .question-box .answers {
  padding: 0px 20px;
}
#admin .question-box .btn-answer {
  text-align: center;
  padding: 20px 50px 0px;
}
#admin .question-box .extraInfo {
  color: #333;
}
#admin .question-box .extraInfo .url {
  position: absolute;
  top: 0;
  right: 0;
}
#admin .submit-test {
  text-align: center;
}
#admin .boder-table {
  border: 1px solid #ccc;
  padding: 10px 10px 10px 10px;
}
#admin .test {
  margin-right: 20px;
  float: left;
}
#admin .listImages {
  display: flex;
}
#admin .rowItem {
  display: flex;
  align-items: center;
}
#admin .imageItem {
  margin-left: 25px;
}
#admin .saleQuestionForm .ant-upload-list-picture-card {
  text-align: center;
}
#admin .saleQuestionForm .ant-upload-list-picture-card .ant-upload-list-picture-card-container {
  width: 300px;
  height: 300px;
}
#admin .saleQuestionForm .ant-upload-list-picture-card .ant-upload-list-item-info::before {
  left: 0;
}
#admin .ant-affix .countdown-top {
  background: linear-gradient(45deg, #f5cb09 0%, #fce997 60%);
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  left: 0px;
  padding: 20px;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}
.mixsetProductTable {
  cursor: pointer;
}
.mixsetProductTable .row-selected {
  background-color: #e4e1e1;
}
.mixsetProductTable .row-selected:hover td {
  background-color: transparent !important;
}
.selectedImage {
  position: relative;
}
.selectedImage .closeBtn {
  margin-bottom: 20px;
}
.selectedImage .closeBtn span {
  font-size: 18px;
  color: #b90c00;
  background-color: #fff;
  border-radius: 50%;
}
.box-border {
  border: 1px solid #d1d1d1;
  position: relative;
  padding: 20px 20px 0px;
  margin: 20px 0px;
  border-radius: 6px;
}
.box-border.padding-bottom {
  padding-bottom: 20px;
}
.box-border .box-header {
  position: absolute;
  top: -12px;
  font-size: 16px;
  font-weight: bold;
  line-height: 24px;
  background: #fff;
  padding: 0px 20px;
}
.box-border .box-content {
  padding-top: 20px;
}
.ctn-statistic {
  margin: 10px 15px 0;
}
.ctn-statistic .card-chart .money-text {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}
.ctn-statistic .card-chart .success {
  color: #52c41a;
}
.ctn-statistic .card-chart .warning {
  color: #faad14;
}
.ctn-statistic .card-chart .danger {
  color: #f5222d;
}
.ctn-statistic .card-chart .grey {
  color: #808080;
}
.ctn-statistic .card-chart .blue {
  color: #46c2c8;
}
.ctn-statistic .card-chart .orange {
  color: #5845ff;
}
@media (max-width: 991px) {
  #admin {
    /* .ant-table-body {
      overflow-x: scroll;
    } */
  }
  #admin .header {
    width: 100% !important;
  }
  #admin .main-layout {
    margin-left: 0px;
  }
  #admin .main-layout.collapsed {
    margin-left: 0px;
  }
  #admin .main-layout > .content {
    padding: 16px;
    margin: -80px 8px 8px 8px;
    height: auto;
  }
  #admin .main-layout .scheduleCard {
    width: 100%;
  }
  #admin .backTop {
    right: 20px;
    bottom: 20px;
  }
  #admin .search .wrapResult {
    margin: 8px;
  }
  #admin .box {
    border: none;
  }
  #admin .question-box {
    padding: 0px;
    border-radius: 4px;
    overflow: hidden;
  }
  #admin .question-box .image {
    margin: auto;
  }
  #admin .question-box .question {
    font-size: 18px;
    font-weight: bold;
    padding: 20px 20px 10px;
  }
  #admin .question-box .answers {
    padding: 0px 20px;
  }
  #admin .question-box .btn-answer {
    text-align: center;
    padding: 20px 0px;
  }
  #admin .question-box .extraInfo {
    color: #333;
  }
  #admin .question-box .extraInfo .url {
    position: absolute;
    top: 0;
    right: 0;
  }
}
@media (max-width: 575px) {
  input {
    font-size: 16px !important;
  }
  .ant-pagination-options {
    display: inline-block !important;
  }
  .ant-picker-panel-container .ant-picker-panels {
    display: block !important;
    text-align: center;
  }
  #admin .hidden-xs {
    display: none;
  }
  #admin .header-search {
    display: none;
  }
  #admin .order .wrapContainer-noFirst {
    margin: 8px 8px 8px 8px !important;
  }
  #admin .main-layout .breadcumb-right {
    margin-top: 5px;
    float: left;
    padding: 3px 20px;
  }
  .orderTab {
    margin-bottom: 7px;
  }
}

/* Make clicks pass-through */
#nprogress {
  pointer-events: none;
}

#nprogress .bar {
  background: #29d;

  position: fixed;
  z-index: 1031;
  top: 0;
  left: 0;

  width: 100%;
  height: 2px;
}

/* Fancy blur effect */
#nprogress .peg {
  display: block;
  position: absolute;
  right: 0px;
  width: 100px;
  height: 100%;
  box-shadow: 0 0 10px #29d, 0 0 5px #29d;
  opacity: 1.0;

  -webkit-transform: rotate(3deg) translate(0px, -4px);
      -ms-transform: rotate(3deg) translate(0px, -4px);
          transform: rotate(3deg) translate(0px, -4px);
}

/* Remove these to get rid of the spinner */
#nprogress .spinner {
  display: block;
  position: fixed;
  z-index: 1031;
  top: 15px;
  right: 15px;
}

#nprogress .spinner-icon {
  width: 18px;
  height: 18px;
  box-sizing: border-box;

  border: solid 2px transparent;
  border-top-color: #29d;
  border-left-color: #29d;
  border-radius: 50%;

  -webkit-animation: nprogress-spinner 400ms linear infinite;
          animation: nprogress-spinner 400ms linear infinite;
}

.nprogress-custom-parent {
  overflow: hidden;
  position: relative;
}

.nprogress-custom-parent #nprogress .spinner,
.nprogress-custom-parent #nprogress .bar {
  position: absolute;
}

@-webkit-keyframes nprogress-spinner {
  0%   { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes nprogress-spinner {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


