
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@100;200;300;400;500;600;700&display=swap');

/* Universal Style Start */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  font-size: 16px;
  font-family: "Kanit", sans-serif;
  --text-primary: #fff;
  --text-secondary: #000;
  --text-ternary: rgb(255, 37, 37);
  --text-seo:#1277f0;
  --bg-primary: #1D6938;
  --bg-secondary: #1D6938;
  --bg-ternary: #fff;
  --transition-speed: 500ms ease;
  --max-width: 1024px;
  font-size: 16px;
}
body::-webkit-scrollbar {
  width: .3rem;
}
body::-webkit-scrollbar-track {
  background: #fff;
}
body::-webkit-scrollbar-thumb {
  background: var(--bg-primary);
}

@media only screen and (min-width:812px){
.auto-hide{
  display: none !important;
}

}

@media only screen and (max-width:812px){
  #Trigger{
    width: 90px !important;
  }
  .menu-header{
    max-height: 10vh;
    
    display:flex;
  }
  .menu-header img{
    object-fit:contain;
  }
  .wrapper a{
    font-size: .8rem;
    padding: 5px 10px;
    width: 120px;
    
  }
  .wrapper{
    height: 5vh;
  }
  #inline-login-form input[type="text"], #inline-login-form input[type="password"]{
    width: 130px;
  }
}

@media only screen and (max-width:375px){
  .wrapper a{
  }
}

@media only screen and (max-width:320px){
  .wrapper a{
    display: none !important;
  }
}

.mgt-2{
  margin-top: 2rem;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
  position: fixed !important;
  top: 0;
  width: 100%
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 102px;
}
/* Universal Style End */

/* Nav Start */
.nav {
  padding: 5px 15px;
  margin: auto;
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  justify-content: space-between;
}


.logo{
  display: flex;
  align-items: center;
  height: 40px;
}

.logo a{
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
}

.logo img{
  margin: auto;
}

.logo h2{
  color: #000;
  margin: auto;
  font-size: 1.9rem !important;
  font-weight: 300 !important;
}
/* Nav End */

/* First Division Start */
.first-div {
  min-height: 5vh;
  background-color: #021b79;
}
/* First Division End */

/* Second Division Start */
@media only screen and (max-width: 600px) {
  .second-div {
    z-index: 1;
    bottom: 0 !important;
    position: fixed;
    margin: 0 !important;
  }
}
/* Second Division End */


/* Inline Login Form Start */
.wrapper{
  display: flex;
}

.wrapper a{
  text-decoration: none;
  background-color: red;
  border-radius: 5px;
  color: white;
  padding: 0 1rem;
  margin-left: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrapper a:hover{
  transform: scale(1.05);
  transition: 200ms ease-in-out;
}

#inline-login-form {
  display: flex;
  justify-content: center;
  align-content: center;
}

#inline-login-form input[type="text"],
#inline-login-form input[type="password"] {
  font-family: "Kanit", sans-serif;
  outline: none;
  padding: 0px 10px;
  margin: auto;
  margin-right: 5px;
  height: 2.2rem;
  border: 1px solid rgb(211, 211, 211);
  border-radius: 5px;
}

#inline-login-form button {
  font-family: "Kanit", sans-serif;
  margin: auto;
  height: 2.5rem;
  padding: 0px 25px;
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
  background:linear-gradient( 322deg, #FFCD79 , #8A5700  ) ;
  color: var(--bg-secondary);
  margin-right: 5px;
}
.user-login {
  margin-right: 10px;
}

#inline-login-form button:hover {
  cursor: pointer;
  transform: scale(0.9);
  border: none;
  background-color: var(--bg-secondary);
  color: #fff;
  border: 2px solid var(--bg-primary);
  transition: var(--transition-speed);
}
#inline-login-form a {
  text-decoration: none;
  font-family: "Kanit", sans-serif;
  margin: auto;
  height: 2.2rem;
  width: 140px;
  padding: 0px 25px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: red;
  color: #fff;
}

#inline-login-form a:hover {
  cursor: pointer;
  transform: scale(0.9);
  border: 2px solid red;
  background-color: #fff;
  color: red;
  transition: var(--transition-speed);
}

/* Login Form */
.login-form input[type="text"],
input[type="password"],
button {
  outline: none;
  border-radius: 5px;
}
/* Inline Login Form End */

/* Slider Start */
#Slider {
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}
#Trigger {
  font-family: "Kanit", sans-serif;
  font-size: 0.8rem;
  display: none;
  margin: auto;
  width: 150px;
  text-align: center;
  padding: 5px 10px;
  color: var(--bg-secondary);
  background: linear-gradient( 322deg, #FFCD79 , #8A5700  );
  border: 2px solid var(--bg-primary);
}

#Trigger:hover {
  cursor: pointer;
  transform: scale(0.9);
  transition: var(--transition-speed);
  color: var(--bg-primary);
  background-color: var(--bg-secondary);
  border: 2px solid var(--bg-primary);
}
#Actual {
  background: silver;
  color: White;
  padding: 20px;
}
.slideup,
.slidedown {
  max-height: 0;
  overflow-y: hidden;
  -webkit-transition: max-height 0.8s ease-out;
  -moz-transition: max-height 0.8s ease-out;
  -o-transition: max-height 0.8s ease-out;
  transition: max-height 0.8s ease-out;
}
.slidedown {
  max-height: 250px;
}

@media only screen and (max-width: 769px) {
  nav{
    box-shadow: 0px 2px 7px #c8c8c8;
  }
  #Trigger {
    display: block;
  }
  #inline-login-form {
    display: none;
  }
  .login-form input[type="text"],
  input[type="password"] {
    font-family: "Kanit", sans-serif;
    width: 100%;
    margin: 5px 0px;
    border: 1px solid #8888889e;
    outline: none;
    padding: 8px 15px;
  }
  .login-form button {
    font-family: "Kanit", sans-serif;
    font-size: 0.8rem;
    outline: none;
    background-color: var(--bg-primary);
    border: 2px solid var(--bg-primary);
    color: var(--bg-secondary);
  }
  .login-form button:hover {
    cursor: pointer;
    transform: scale(0.9);
    transition: var(--transition-speed);
    background-color: var(--bg-secondary);
    border: 2px solid var(--bg-secondary);
    color: var(--bg-primary);
  }
  #Actual {
    padding: 8px 20px;
    background: #fff;
    background: linear-gradient(
      360deg,      #eef2f3 93%,      #acacac82 100%
    );
  }
  #Actual form button {
    padding: 5px;
    margin: 10px 0px ;
    width: 100%;
  }
  #Autaul form button:hover {
    color: rgb(14, 73, 181);
    color: linear-gradient(
      180deg,
      rgba(14, 73, 181, 1) 0%,
      rgba(18, 77, 182, 1) 47%,
      rgba(16, 100, 255, 1) 100%
    );
    background: rgb(245, 247, 250);
    border: 1px solid rgb(14, 73, 181);
  }
  .fourth-div {
    margin-bottom: 70px;
  }
}

/* Slider End */


/* Nav Runtext Start */
.nav-run-text{
  height: 1em;
  padding: .8rem 2rem;
  background-color: #000050;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 4px 10px -6px rgb(0, 0, 0);
} 

.run-text{
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;

  max-width: var(--max-width);
  width: 100%;
}
.run-text i{
  padding-right: 10px;
}
/* Nav Runtext End */

/* Bank Icon Start */
.bank-icon{
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

.bank-icon img{
  width: 50px;
  height: 50px;
  margin: 0 .5rem;
  filter: grayscale(100%);
}

.bank-icon img:hover{
  cursor: pointer;
  transition: 200ms ease-in-out;
  filter: grayscale(0%);
  transform: scale(1.03);
}


/* Bank Icon End */

