@import url('https://fonts.googleapis.com/css2?family=Niramit:ital,wght@0,200;0,300;0,400;1,300&display=swap');

body {
  font-family: 'Niramit', sans-serif;
  background: #131313;
}

h1 {
  font-size: 36px;
  font-weight: bold;
}

h2, .h2 {
  font-size: 32px;
  font-weight: bold;
}

h3, .h3 {
  font-size: 28px;
  font-weight: bold;
}

h4 {
  font-size: 24px;
  font-weight: bold;
}

h5, .h5 {
  font-size: 22px;
}

h6 {
  font-size: 18px;
}

p {
  font-size: 16px;
  font-weight: 300;
}

.color-yellow {
  color: #EF9000 !important;
}

.navbar {
  color: #ffff;
  background-color: #25160C;
}
.navbar-brand {
  font-size: 30px;
  font-weight: bold;
  color: #EF9000;
}
.navbar-toggler {
  padding: .25rem .75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: .25rem;
  color: #ffff;
}
.navbar-toggler .fa-bars {
  color: #ffff;
}
.navbar-nav .nav-link {
  color: #ffff;
}
.navbar-nav .nav-item .nav-link:hover {
  color: #EF9000;
  background-color: #131313;
}
.navbar-nav .nav-link.active {
  color: #EF9000;
  text-decoration: underline;
  font-weight: bold;
}
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 16px;
    padding-left: 16px;
  }
}

/* box-list */
.box-list {
  background-color: #170B03;
  border-radius: 4px;
  padding: 16px;
  border: 1px solid #ffff;
  margin: 8px;
}
.box-list .header {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #ffff;
  width: auto;
}
.box-list .border-bottom {
  border-bottom: 2px solid #EF9000!important;
  width: 67%;
  margin: 0px auto;
}
.box-list .list {
  font-size: 16px;
  color: #EF9000;
}
.list-group-item,a, .list-group-item,a:hover  {
  color: #EF9000;
}

.box-list .list-group-item {
  position: relative;
  display: block;
  padding: 4px 0px;
  background-color: inherit;
  border: none;
}

/* box-QR */
.box-QR {
  border-radius: 4px;
  margin: 8px;
}
/* box login */
.box-login {
  background: url(../../images/bg-login.png) no-repeat;
  background-size: cover;
  border-radius: 4px;
  padding: 16px;
  margin: 8px;
  border: 1px solid #ffff;
}
.box-login .header {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #ffff;
  width: auto;
}
.box-login .border-bottom {
  border-bottom: 2px solid #EF9000!important;
  width: 65%;
  margin: 0px auto;
}

.box-login .form-login {
  margin-top: 16px;
}

.box-login label {
  font-size: 14px ;
  font-weight: bold;
  color: #ffff;
  margin-bottom: 4px;
}

.box-login .form-control {
  border: 1px solid #979797;
}

.box-login .form-group {
  margin-bottom: 16px;
}

/* btn */
.box-login .btn {
  font-size: 14px;
  padding: 8px 38px;
  font-weight: bold;
}

.box-login .btn-yellow {
  background-color: #EF9000;
  border-radius: 4px;
  color: #ffff;
}

.btn {
  font-size: 18px;
  padding: 8px 38px;
  font-weight: bold;
}

.btn-small {
  font-size: 14px;
  padding: 8px 38px;
  font-weight: bold;
}

.btn-yellow {
  background-color: #EF9000;
  border-radius: 4px;
  color: #ffff;
}

/* nav list */

.box-login .nav-list {
  margin-top: 16px;
}
.box-login .nav-list .nav-link {
  display: block;
  padding: 0px 8px 0px 0px;
  color: #ffff;
  font-size: 16px;
  font-weight: 300;
}

/* carousel */
.carousel-inner {
  margin-bottom: 8px;
}

.carousel-control-prev-icon {
  content: '\f053' !important;
  font-family: 'Font Awesome 5 Pro' !important;
  color: #000 !important;
}

.carousel-indicators li {
  width: 15px;
  border-radius: 100%;
  height: 15px;
}

.img-banner img {
  margin: 8px;
}

.box-statistics {
  color: #ffff;
  font-size: 16px;
}
.box-statistics.color-w {
  color: #ffff;
}
.box-statistics.color-y {
  color: #EF9000;
}
.box-statistics img {
  margin-top: -13px;
  margin-bottom: 10px;
  width: 50px;
}
.font-bold {
  font-weight: bold;
}
.badge {
  border-radius: 0%;
} 
.badge-success {
  color: #fff;
  background-color: #92D641;
}

/* detail news */
.content-info {
  color: #ffff;
  font-weight: bold;
  margin-top: 45px;
  margin-bottom: 24px;
}
.content-table {
  color: #ffff;
  font-weight: bold;
  margin-top: 46px;
  margin-bottom: 24px;
}
.content-news img{
  margin-bottom: 16px;
}
.content-news hr {
  border-bottom: 2px solid #ffff!important;
  width: 60%;
  margin-top: 24px;
  margin-bottom: 46px;
}
.content-news h2, form {
  margin-top: 80px;
}
.content-news h6, label, h4 {
  color: #ffff;
}

.content-news {
  padding-right: 15px;
  padding-left: 15px;
  border: 5px solid #ef9000;
}

/* table */
.table-news thead {
  background-color: #170B03;
  color: #ffff;
  font-size: 16px;
  font-weight: bold;
  padding: 8px 0px;
}

.table-news .table td, .table th {
  padding: 8px;
  color: #ffff;
  font-weight: 300;
}

/* pagination */
.pagination {
  margin-top: 8px;
}
.page-link {
  position: relative;
  display: block;
  padding: .5rem .75rem;
  margin-left: -1px;
  line-height: 0.8;
  font-size: 16px;
  color: #ffff;
  background-color: initial; 
  border: none;
}
.page-link.active {
  position: relative;
  display: block;
  padding: .5rem .75rem;
  margin-left: -1px;
  line-height: 1;
  font-size: 16px;
  color: #EF9000;
  background-color: initial; 
  border: none;
}
.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #EF9000;
  border-color: #EF9000;
  border-radius: 100%;
  font-size: 16px;
  padding: 8px 10px;
}

.page-item.disabled .page-link {
    background-color: initial;
}

.page-item .page-link:hover {
  background-color: initial;
}
/* end pagination */
@media (max-width: 767.98px) {
.img-banner img {
  margin: 4px 0px;
}
.box-list {
  margin: 4px 0px;
  padding: 8px;
}
.box-list .header, .box-login .header {
  font-size: 10px;
}
.box-list .list, .box-login .list {
  font-size: 8px;
}

.box-login {
  margin: 4px 0px;
  padding: 8px;
}
.box-login label {
  font-size: 10px;
}
.box-login .form-group {
  margin-bottom: 8px;
}
.box-login .btn {
  font-size: 10px;
  padding: 4px 26px;
}
.box-login .nav-list .nav-link {
  padding: 0px 4px 0px 0px;
  font-size: 9px;
}
.box-login .form-control {
  height: 28px;
  padding: 8px;
}
.box-statistics {
  color: #ffff;
  font-size: 10px;
}

.box-QR {
  margin: 4px 0px;
  padding: 0px;
}

.table-news thead, tbody {
  font-size: 10px;
}

.content-news h2, form {
  margin-top: 40px;
}

h1 {
  font-size: 26px;
}
h2, .h2 {
  font-size: 22px;
}

h3, .h3 {
  font-size: 20px;
  font-weight: bold;
}

h4 {
  font-size: 18px;
  font-weight: bold;
}

h5, .h5 {
  font-size: 16px;
}

h6 {
  font-size: 14px;
}

p {
  font-size: 10px;
  font-weight: 300;
}

}

@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1280px;
}
}

.container-img, .container-img-2 {
  position: relative;
  text-align: center;
  max-width: 170mm;
}
.img-fix-1-1 {
  position: inherit;
  z-index: 9;
  width: 100%;
}

.img-fix-1-2 {
  position: inherit;
  z-index: 9;
  width: 100%;
}
.img-fix-1 {
  position: absolute;
  z-index: 99;
  max-width: 40mm
}

.img-fix-2 {
  position: absolute;
  z-index: 99;
  max-width: 20mm;
}

.text-fix-1 {
  vertical-align: top;
  text-align: left;
  position: absolute;
  top: 235px;
  left: 100px;
  z-index: 99;
  font-size: 14px;
  font-weight: 600;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
  width: 240px;
}

.text-fix-2 {
  vertical-align: top;
  text-align: left;
  position: absolute;
  top: 323px;
  left: 110px;
  z-index: 99;
  font-size: 14px;
  font-weight: 600;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
  width: 240px;
}

.text-fix-3 {
  vertical-align: top;
  text-align: left;
  position: absolute;
  top: 365px;
  left: 150px;
  z-index: 99;
  font-size: 14px;
  font-weight: 600;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
  width: 240px;
}

.text-fix-4 {
  vertical-align: top;
  text-align: left;
  position: absolute;
  top: 360px;
  left: 460px;
  z-index: 99;
  font-size: 17px;
  font-weight: 600;
}
