html,
body {
  height: 100%;
}

body {
  /*margin-top: 50px;*/
}

* {
  font-family: 'Noto Sans Thai UI', sans-serif;
  font-size: 14px;
}

.custom-input {
  border: 2px solid #3498db;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.custom-textarea {
  border: 2px solid #3498db;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* This will make all form labels blue */
label {
  color: blue;
}

/* If you want to target specific labels by class */
label.blue-label {
  color: blue;
}

/* Example for input field names (placeholders) */
input::placeholder {
  color: blue;
}

/* Example for textarea placeholders */
textarea::placeholder {
  color: blue;
}

/********************* Pagination **************/
/** Custom style for the pagination container **/
.pagination-container {
  display: flex;
  justify-content: center;
  /** 
  border: 1px solid #3498db;  
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  background-color: #f9f9f9;
  border-radius: 5px;
  **/
  padding: 5px;
}

.pagination > li > a,
.pagination > li > span {
  color: #3498db;
  border: 3px solid #ddd;
  padding: 5px 10px;
  margin: 5px;
  border-radius: 5px;
}

.pagination > li > a:hover,
.pagination > li > span:hover {
  background-color: #3498db;
  color: #fff;
  border-color: #3498db;
}

.btn {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  background-color: #3498db;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

/**************** Button Rendering *************/
/* Ensure buttons do not wrap */
/***********************************************/

/* Ensure buttons do not wrap and have rounded corners */
.nowrap-button {
  white-space: nowrap;
  border-radius: 10px;
  /* More rounded corners */
  margin-bottom: 10px;
  /* Space between buttons */
}

/* Optional: Adjust button width or padding if necessary */
.btn.btn-cta {
  width: 100%;
  /* Adjust as needed */
  padding: 10px 20px;
  /* Adjust as needed */
  display: inline-block;
  /* Ensure buttons are displayed inline-block */
  text-align: center;
  /* Center the text inside the button */
}

/**************** Button Rendering *************/
/* Social Media
/***********************************************/
.social-media-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.btn-social {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.btn-facebook {
  background-color: #3b5998;
}

.btn-youtube {
  background-color: #ff0000;
}

.btn-linkedin {
  background-color: #0077b5;
}

.btn-social i {
  margin-right: 10px;
}

header .mobile-toggle {
  display: none;
}

@media (max-width: 767px) {
  .header-main {
    padding-inline: 20px !important;
  }

  header .mobile-toggle {
    display: block;
    height: 25px !important;
    width: 25px !important;
  }

  .main-nav-wrapper .navbar-collapse {
    display: block !important;
  }

  header .logo {
    flex: unset !important;
    max-width: max-content !important;
  }

  header .info {
    position: absolute;
    display: none;
  }

  header .row {
    justify-content: space-between;
    padding-inline: 20px;
    align-items: center;
  }

  header .row > * {
    flex-shrink: unset;
    width: 100%;
    max-width: 100%;
    padding-right: unset;
    padding-left: unset;
    margin-top: unset;
  }

  .main-nav-wrapper {
    position: absolute;
    left: -100%;
    height: 100%;
    width: 100%;
    z-index: 9999;
    transition: 200ms ease;
  }

  .main-nav-wrapper.active {
    left: 0;
  }

  .main-nav-wrapper > .container {
    margin: 0;
    padding: 0;
    max-width: 100%;
  }

  .main-nav-wrapper .nav {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .main-nav-wrapper .nav a {
    width: 100%;
    display: block;
    border-top: 1px solid #ffffff3b;
  }
}
