@import url('https://fonts.googleapis.com/css2?family=Anuphan&family=Sarabun&display=swap');
@import url("https://gcore.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");


#container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#main-content {
  flex: 1;
}

body {
  font-family: 'Anuphan', sans-serif;
  color: #252726;
  font-size: 14px;
  line-height: 1.5;
}

p {
  font-size: 16px;
  line-height: 1.5;
}

.navbar-brand {
  position: relative;
  vertical-align: middle;
  padding: 12px 0;
  height: inherit;
}

.navbar-brand {
  position: relative;
  vertical-align: middle;
  padding: 12px 0;
  height: inherit;
}

.navbar-brand img {
  max-height: 55px;
}

.navbar-default .navbar-nav>li>a {
  padding: 30px 10px;
  font-size: 16px;
  font-weight: 400;
  color: #2F3D93;
}

.navbar-default .navbar-nav>li {
  margin-left: 15px;
}

.navbar-toggle {
  margin-top: 18px;
  margin-right: 0;
  margin-bottom: 18px;
}

.nav-tabs>li>a {
  font-family: "Kanit", Times, serif;
  font-weight: 400;
}

#navLoginModal {
  padding: 23px 15px 23px 15px;
}

#navbar-cart {
  background-color: red;
  color: #fff;
  border-radius: 1000px;
  padding: 3px 7px;
}

.table>thead>tr>th {
  font-family: "Kanit", Times, serif;
  font-weight: 400;
}

.modal-dialog {
  margin-top: 100px;
}

.bs-example p {
  padding: 15px;
}

.vcenter {
  display: inline-block;
  vertical-align: middle;
  float: none;
}

footer .flickr-widget {
  margin-bottom: 15px;
}

#lecBox {
  background: #2F3D93;
}

.flickr-widget ul li a {
  height: 70px;
  background-color: #505050;
  text-align: center;
  line-height: 60px;
}

.flickr-widget ul li a img {
  max-width: 100%;
  max-height: 100%;
  width: initial;
  height: initial;
}

.show-grid [class^="col-"] {
  padding-top: 30px;
  padding-bottom: 10px;
}

.logo-sup img {
  height: 73.89px;
}

.course-register {
  text-align: center;
}

#diploma-img img {
  height: 48px;
  width: 48px;
}

@media only screen and (max-width: 479px) {
  .navbar-default .navbar-nav>li>a {
    padding: 20px 15px 10px 15px !important;
  }

  #nav-text-color li a {
    padding-top: 10px;
  }
}

.btn-cont {
  cursor: pointer;
  margin-top: 20px;
  position: fixed;
  z-index: 9999;
  bottom: 10px;
  right: 10px;
}

.space {
  margin-bottom: 3px;
}

.navbar-default .navbar-toggle {
  border: 0px;
}

footer {
  background-color: #FFFFFF;
  padding-top: 40px;
  padding-bottom: 30px;
  border-top: none;
  /* color: #000000; */
}

.footer-widget {
  margin-bottom: 0;
}


.footer-widget h4 {
  color: #000000;
  font-family: 'Anuphan', sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.footer-widget p {
  font-size: 16px;
  color: #000000;
  font-family: 'Anuphan', sans-serif;
}

.footer-widget .contact-icon .btn-circle.btn-xl {
  width: 50px;
  height: 50px;
  border-radius: 60px;
  font-size: 16px;
  text-align: center;
  background-color: #EEEFFA;
}

.footer-widget .contact-icon {
  margin-top: 15px;
}

.footer-widget .contact-icon a {
  margin-right: 25px;
}

.img-responsive {
  width: 100%;
}

@media (min-width: 991px) {
  .navbar-header {
    position: relative !important;
  }

  .navbar-ajgolf {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.navbar-default .navbar-toggle {
  transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}

.fixed-header .navbar-default .navbar-toggle {
  margin-top: 10px;
}

.navbar-default .navbar-toggle {
  margin-top: 15px;
}

html {
  scroll-behavior: smooth;
}

#navLoginModal {
  padding-top: 28px;
  padding-bottom: 28px;
}

.top-header {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.equal {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
}

@media (min-width: 991px) {
  .row.equal {
    display: flex;
    flex-wrap: wrap;
  }

  #nav-new .nav {
    display: flex;
    align-items: center;
  }
}

.p-0 {
  padding: 0px;
}

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }

  .d-lg-block {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }

  .d-md-block {
    display: block !important;
  }
}

@media (min-width: 576px) {
  .d-sm-none {
    display: none !important;
  }

  .d-sm-block {
    display: block !important;
  }

  .d-sm-flex {
    display: flex !important;
  }
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

@media (max-width: 991px) {
  .navbar-brand img {
    margin-left: 25px !important;
  }

  .navbar-toggle {
    display: block !important;
  }

  .navbar-header {
    width: 100%;
  }

  .navbar-right {
    float: none !important;
  }

  .navbar-collapse.collapse {
    display: none !important;
    overflow-x: visible !important;
  }

  .navbar-header {
    float: none;
  }

  .navbar-collapse.in {
    overflow-y: visible;
  }

  .navbar-collapse.collapse.in {
    display: block !important;
  }

  .navbar-collapse.in {
    overflow-y: auto !important;
  }

  .navbar-nav>li {
    float: none !important;
  }

  #nav-new #navLoginModal {
    margin-left: 10px;
  }

  .section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.navbar-double {
  background-color: #F7F7F7;
}

.navbar-double ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.navbar-double ul li {
  flex-grow: 1;
}

.navbar-double ul li a {
  color: #0d0d0d;
}

.navbar-double ul li:last-child {
  flex-grow: 0;
}

.navbar-double .navbar-nav .dropdown {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  top: 100%;
  width: 180px;
  background-color: #fff;
  visibility: hidden;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -webkit-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
  -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
}

.navbar-double .navbar-nav>li.drop:hover .dropdown {
  visibility: visible;
  opacity: 1;
}


#nav-new #navLoginModal {
  border-radius: 4px;
  background-color: #2F3D93;
  color: #fff;
  padding: 10px 15px !important;
  display: inline-block;
}

#nav-new .navSignupModal {
  border-radius: 4px;
  border: 1px solid #2F3D93;
  display: inline-block;
}

.icon-group {
  display: flex;
  justify-content: center;
}

.icon-group .login{
  margin: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.icon-group .login-btn {
  padding: 0;
  color: rgba(4, 4, 19, 0.56);
  cursor: pointer;
}
.icon-group .login-btn .img {
  padding: 10px;
  width: 48px;
  height: 48px;
  display: block;
  border: 1px solid rgba(82, 82, 128, 0.09);
  border-radius: 16px;
  -webkit-background-size: 20px 20px;
  background-size: 20px 20px;
  background-position: center center;
  background-repeat: no-repeat;
}

.icon-group .text-login a {
  color: rgba(4, 4, 19, 0.56);
  line-height: 38px;
  text-align: center;
}

.icon-group .login:hover a{
  color: #222230;
}

.icon-group .login:hover .login-btn .img{
  border-color: rgba(82,82,128,0.09);
  background-color: rgba(82,82,128,0.09);
}

@media (min-width: 640px) {
  .footer-widgets {
    display: flex;
    justify-content: space-between;
  }
}

@media (max-width: 639px) {
  footer {
    padding-bottom: 0;
  }
  .footer-widget {
    margin-bottom: 50px;
    text-align: center;
  }
  .footer-widget h4 {
    margin-bottom: 10px;
  }
  .contact-icon {
    justify-content: space-around;
  }
  .footer-widget .contact-icon a {
    margin-right: 0;
  }
}