* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Kanit", sans-serif;
}
body {
  background-color: #570006;
}

a {
  text-decoration: none;
}
p b {
  color: #ff00d7;
}
p {
  font-size: 18px;
  color: black;
}
p strong {
  color: #e38207;
}
p em {
  color: #d10001;
  font-weight: bold;
}
p u {
  color: #b4a309;
  font-weight: bold;
}
.white {
  color: white;
}
.open {
  display: none;
}
h1 {
  font-size: 2.5em;
  font-weight: 500;
  color: #ffffff;
}

h2 {
  font-size: 2em;
  font-weight: 500;
  color: #ffffff;
}
h3 {
  font-size: 1.85em;
  font-weight: 500;
  color: #ffffff;
}
h4,
h5 {
  font-size: 1.75em;
  font-weight: 500;
  color: #ffffff;
}
.str {
  display: flex;
  justify-content: center;
  color: black;
  font-size: 22px;
}
.str-b {
  display: flex;
  justify-content: center;
  color: #8f0003;
  font-size: 22px;
}
header {
  background-color: #3f3a37;
  padding: 1em;
}
.logo {
  max-width: 100%;
  display: block;
  margin: auto;
}
nav {
  padding: 1em 0;
  background-color: #870203;
  border: 2px solid;
  border-image: linear-gradient(to right, #fee4a6, #e18004, #eca546) 1;
}
nav a {
  font-size: 1.75em;
  font-weight: 500;
  padding: 0 10px;
  background: linear-gradient(to bottom, #f6b052, #fcb659, #e38207, #e99926);
  background-size: auto;
  background-clip: border-box;
  background-size: 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.main-login {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
#int-u {
  width: 30%;
  margin-right: 10px;
  background-image: url(../img/bg-user.png);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 0 0 0 55px;
  border-radius: 5px;
  
}
#int-p {
  width: 30%;
  margin-right: 10px;
  background-image: url(../img/bg-password.png);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 0 0 0 55px;
  border-radius: 5px;

}
.main-login input {
  width: 100%;
  border: 0;
  background-color: inherit;
  padding: 13px 0;
  font-size: 18px;
  outline: none;
}
.btn-submit {
  background-color: #8d0006;
  border: 0;
  color: #fefefd;
  font-size: 18px;
  font-weight: 500;
  padding: 13px 12px;
  margin-right: 10px;
  border-radius: 5px;
}
.main-login a {
  background-color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  color: #d10001;
  padding: 10px 8px;
  border: 0;
  border-radius: 5px;
}
#main {
  padding: 3em 0 2em 0;
}
.row-img {
  max-width: 100%;
  display: block;
  margin: auto;
}
.bd-abslute {
  border: 6px solid #a60d0d;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
}
.box-abslute {
  border: 6px solid #a60d0d;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
}
.text-box {
  position: absolute;
  z-index: 1;
  background: linear-gradient(45deg, #880304, #870203) padding-box,
    linear-gradient(to bottom, #fde3bb, #875b2c) border-box;
  color: white;
  padding: 3px;
  border: 3px solid transparent;
  border-radius: 50px;
  width: 85%;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  top: -30px;
}
.text-abslute {
  position: absolute;
  z-index: 1;
  background: linear-gradient(45deg, #880304, #870203) padding-box,
    linear-gradient(to bottom, #fde3bb, #875b2c) border-box;
  color: white;
  padding: 3px;
  border: 3px solid transparent;
  border-radius: 50px;
  width: 75%;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  top: -30px;
}
.pd-fix {
  padding-top: 2.5em !important;
}
.bd-abslute-two {
  border: 6px solid #a60d0d;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
}
.text-abslute-two {
  position: absolute;
  z-index: 1;
  background: linear-gradient(45deg, #880304, #870203) padding-box,
    linear-gradient(to bottom, #fde3bb, #875b2c) border-box;
  color: white;
  padding: 3px;
  border: 3px solid transparent;
  border-radius: 50px;
  width: 40%;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  top: -30px;
}
.stiky-download {
  display: block;
  position: fixed;
  z-index: 2;
  left: 0;
  top: 18em;
  width: 60px;
}
.stiky-contact {
  display: block;
  position: fixed;
  z-index: 2;
  right: 0;
  top: 18em;
  width: 60px;
}
.stiky-download img,
.stiky-contact img {
  max-width: 100%;
}
.pd-5 {
  padding: 40px 10px 10px 10px;
}
.boder-bg-red {
  border: 6px solid #a60d0d;
  background-color: #ffffff;
}
.p-10 {
  padding: 10px;
}
.color-size {
  background: linear-gradient(45deg, #880304, #870203) padding-box,
    linear-gradient(to bottom, #fde3bb, #875b2c) border-box;
  color: white;
  padding: 3px;
  border: 3px solid transparent;
  border-radius: 50px;
  width: 40%;
  margin: auto;
  text-align: center;
  margin-bottom: 1em;
}
.bg-h {
  background: linear-gradient(45deg, #880304, #870203) padding-box,
    linear-gradient(to bottom, #fde3bb, #875b2c) border-box;
  color: white;
  padding: 3px;
  border: 3px solid transparent;
  border-radius: 50px;
  width: 40%;
  margin: auto;
  margin-top: 1em;
}
.color-size a {
  font-size: 1.75em;
  font-weight: 500;
  background: linear-gradient(to bottom, #f6b052, #fcb659, #e38207, #e99926);
  background-size: auto;
  background-clip: border-box;
  background-size: 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bg-art {
  text-align: center;
  border: 6px solid #a60d0d;
  background-color: #c9c6c6;
  padding: 5px;
  border-radius: 10px;
}
.news-articles-h4 {
  display: flex;
  justify-content: center;
  font-size: 1.5em;
  color: #e18004;
  background: linear-gradient(45deg, #fcb659, #e38207, #e99926);
  background-size: auto;
  background-clip: border-box;
  background-size: 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.box-articles {
  color: rgb(61, 29, 29);
}
.box-articles i {
  color: #d10001;
  margin: 0 10px;
}
.news-articles-span {
  color: #3f3a37;
}
.pagination {
  display: inline-block;
  padding: 20px;
}
.pagination a {
  font-weight: bold;
  font-size: 10px;
  color: black;
  float: left;
  padding: 5px 10px;
  text-decoration: none;
  border: 2px solid #d10001;
  background-color: white;
  /* border-image: linear-gradient(to left, gray, whitesmoke) 1; */
}
.pagination a.active {
  color: white;
  background-color: rgb(0, 0, 0);
}
.pagination a:hover:not(.active) {
  background-color: rgb(31, 127, 156);
  color: white;
}
.PA {
  background: linear-gradient(45deg, #880304, #870203) padding-box,
    linear-gradient(to bottom, #fde3bb, #875b2c) border-box;
  color: white;
  padding: 3px;
  border: 3px solid transparent;
  border-radius: 50px;
  width: 40%;
  margin: auto;
}
.PA a {
  font-size: 1.75em;
  font-weight: 500;
  color: white;
}

#footer {
  border-top: 4px solid #fffb00;
  background-image: linear-gradient(#d10001, #8d0006);
  padding: 1em;
}
.c-footer {
  display: inline-block;
  max-width: 70px;
  width: 100%;
  margin: 10px 20px;
}
.text-a-footer {
  text-align: center;
}
.text-a-footer a {
  display: inline-block;
  padding: 0 10px;
  color: wheat;
  font-size: 18px;
}
.in-p {
  display: inline-block;
  padding: 0 20px;
  font-size: 1.5em;
  font-weight: 500;
  font-style: italic;
  color: #291509;
  text-shadow: 1px 1px 1px wheat;
}
.sidenav {
  display: none;
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  background-image: linear-gradient(rgb(0, 0, 0, 0.9), rgb(0, 0, 0, 0.9));
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 18px;
  text-decoration: none;
  font-size: 1.5em;
  color: #ffffff;
  display: block;
  transition: 0.3s;
}
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  color: white !important;
}
.box-sidenav {
  padding: 0 10px;
}
.btn-botoom {
  border-bottom: 2px solid white;
}
.min-h-login {
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.min-h-login form {
  width: 40%;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(to bottom,#d10001, #8d0006);
  border: 4px solid;
  border-image: linear-gradient(
      to right,
      #fde3bb, #875b2c
    )
    1;
  padding: 10px;
}
.min-h-login form p {
  text-align: center;
  font-size: 2em;
  font-weight: 500;
  color: #fee4a6;
  text-shadow: 2px 2px 1px black;
}
.min-h-login form input {
  margin-bottom: 1em;
  padding: 10px;
  font-size: 18px;
  border: 2px solid gray;
  border-radius: 10px;
}
.min-h-login form button {
  padding: 10px;
  font-size: 18px;
}
.min-h-login form a {
  padding: 10px;
  font-size: 18px;
  margin-bottom: 1em;
}
#nav-bomlie{
  display: none;
}
.conflex{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  text-align: center;
}
.ERROR-404{
  font-size: 5em;
  font-weight: 700;
  color: red;
  text-shadow: 2px 2px 2px white;
}
.p-no{
  font-size: 2em;
  color: whitesmoke;
}
 
/* *********************** */
/* *********************** */
/* *********************** */
/* *********************** */
/* *********************** */
@media (max-width: 1399px) {
  .text-box {
    width: 95%;
    padding: 3px 0;
  }
  .text-abslute-two {
    width: 60%;
  }
  .bg-h {
    width: 80%;
  }
}
@media (max-width: 1199px) {
  .text-box {
    position: relative !important;
    z-index: 0;
    width: 100%;
    left: 0;
    transform: none;
    top: 0;
    padding: 3px 2px;
  }
  .text-abslute {
    position: relative !important;
    z-index: 0;
    width: 60%;
    left: 0;
    transform: none;
    top: 0;
  }
  .bd-abslute {
    flex-direction: column;
  }
  .box-abslute {
    flex-direction: column;
  }
  .text-abslute-two {
    position: relative !important;
    z-index: 0;
    width: 60%;
    left: 0;
    transform: none;
    top: 0;
  }
  .pd-fix {
    padding-top: 0.5em !important;
  }
  .pd-5 {
    padding: 10px !important;
  }
}
@media (max-width: 991px) {
  .min-h-login form {
    width: 80%;
  }
  .sidenav {
    display: block;
  }
  .open {
    display: block;
    position: absolute;
    color: white;
    cursor: pointer;
    left: 0px;
    top: 2px;
  }
  .open img {
    width: 15%;
  }
  .PA {
    width: 80%;
  }
  .color-size {
    width: 80%;
  }
  .text-abslute-two {
    width: 80%;
  }
  .stiky-show {
    display: none !important;
  }
  .bd-abslute {
    margin-top: 1em;
  }
  .boder-bg-red {
    margin: 10px 0;
  }
  .one {
    order: 1 !important;
  }
  .two {
    order: 2 !important;
  }
  .three {
    order: 3 !important;
  }
  .one-02 {
    order: 1 !important;
  }
  .two-02 {
    order: 2 !important;
  }
  .three-02 {
    order: 3 !important;
  }
  .order-one {
    order: 1 !important;
  }
  .order-two {
    order: 2 !important;
  }
  .order-tree {
    order: 3 !important;
  }
  .order-four {
    order: 4 !important;
  }
  .order-five {
    order: 5 !important;
  }
  .order-6 {
    order: 6 !important;
  }
  .order-7 {
    order: 7 !important;
  }
  .order-8 {
    order: 8 !important;
  }
  .m-fiexs {
    padding: 5px 0;
  }
  nav {
    display: none;
  }
}
@media (max-width: 767px) {
  .main-login {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }

  #int-u {
    width: 33%;
    padding: 0 0 0 33px;
  }
  #int-p {
    width: 33%;
    padding: 0 0 0 33px;
  }
  .main-login a {
    padding: 10px 2px;
    width: 25%;
    text-align: center;
  }
}
@media (max-width: 570px) {
  .main-login {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .logo {
    max-width: 100%;
    margin-bottom: 1em;
  }
  #int-u {
    width: 80%;
    margin-bottom: 1em;
    padding: 0 0 0 66px;
    margin-right: 0;
    border: 2px solid gray;
  }
  #int-p {
    width: 80%;
    margin-bottom: 1em;
    padding: 0 0 0 66px;
    margin-right: 0;
    border: 2px solid gray;
  }
  .main-login a {
    padding: 10px 2px;
    width: 80%;
    text-align: center;
    margin-top: 1em;
    border: 4px solid #870203;
  }
  .btn-submit {
    width: 80%;
    margin-right: 0;
    border: 3px solid #ffffff;
  }
  .text-abslute-two {
    width: 100%;
  }
  .text-abslute {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .min-h-login form {
    width: 90%;
  }
  h1 {
    font-size: 2.3em;
    font-weight: 500;
    color: #ffffff;
  }

  h2 {
    font-size: 1.85em;
    font-weight: 500;
    color: #ffffff;
  }
  h3 {
    font-size: 1.75em;
    font-weight: 500;
    color: #ffffff;
  }
  h4,
  h5 {
    font-size: 1.65em;
    font-weight: 500;
    color: #ffffff;
  }
  .main-login {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .logo {
    max-width: 100%;
    margin-bottom: 1em;
  }
  #int-u {
    width: 100%;
    margin-bottom: 1em;
    padding: 0 0 0 66px;
    margin-right: 0;
    border: 2px solid gray;
  }
  #int-p {
    width: 100%;
    margin-bottom: 1em;
    padding: 0 0 0 66px;
    margin-right: 0;
    border: 2px solid gray;
  }
  .main-login a {
    padding: 10px 2px;
    width: 100%;
    text-align: center;
    margin-top: 1em;
    border: 4px solid #870203;
  }
  .btn-submit {
    width: 100%;
    margin-right: 0;
    border: 3px solid #ffffff;
  }

  #nav-bomlie{
    display: flex;
    flex-direction: row;
    position: sticky;
    position: -webkit-sticky;
    bottom: 0;
    z-index: 999;
    background-color: #880304;
  }
  #nav-bomlie a{
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #nav-bomlie a img{
    max-width: 100%;
  }
}
