  @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100;300;400;500;600;700;800&family=Poppins:wght@100;200;400;500;700&family=Prompt:wght@100;200;300;400;500;600;700;800;900&display=swap');


/* -------------------------------------------------- */
@media (min-width: 1200px) {
  .container {
    max-width: 86.2%;
  }
}
/* -------------------------------------------------- */
.navbar {
  padding: 0;
}
@media (max-width: 767px) {
  /*ทำให้ กดซ้ายขวาหายไปในมือถือ*/
  .navbar {
    padding: 10px;
  }
}
.collapse {
  width: 100%;
  justify-content: center;
}
.navbar-nav {
  width: 100%;
}
.nav-item {
  width: 100%;
  text-align: center;
}

.color-nav {
  background-color: #321e15;
}
.nav-link {
  height: 60px;
  line-height: 60px;
  padding: 0;
  color: #ffffff;
  font-size: 1.5rem;
  /*transition: background-color 0.3s ease-out 0.5ms;*/
  transition: color 0.3s ease-out 0.5ms;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}
.active,
.nav-link:hover {
  /*background-color: #FFC107;*/
  color: #ffc107 !important;
}
.nav-l-c{
  width: 100px;
}

@media (max-width: 991px) {
  .nav-link {
    color: #321e15;
  }
  .btn-close{
    position: absolute;
    right: 20px;
    top: 20px;
  }
  .offcanvas-header {
    justify-content: center;
    }
    .nav-h{
      font-family: "Poppins", sans-serif;
      font-weight: 500;
      color: #321e15;
      text-decoration:none;
    }
    .nav-l-c{
      width: 100%;
      display: flex;
      justify-content: center;
    }
}

/* -------------------------------------------------- */
.size-footer {
  width: 100%;
  margin-top: 8px;
  height: 300px;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}
.size-footer > div {
  display: flex;
  width: 86.2%;
  height: 100%;
  background-color: aqua;
  border-left: 12px solid #ffffff;
  border-right: 12px solid #ffffff;
}
.text-footer {
  height: 200px;
  background-color: #321e15;
  display: flex;
  justify-content: center;
  align-items: center;
}

.size-footer2 {
  width: 100%;
  height: 67px;
  background-color: #e0e0e0;
  display: flex;
  padding: 20px 12px 15px;
  justify-content: center;
}
.size-footer2 > div {
  display: flex;
  width: 86.2%;
  height: 100%;
}

.social > a {
  margin-right: 5px;
  display: inline-block;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 3px;
  background: #f3d1c1;
}
.social > a > i {
  color: #af6d4e;
  position: relative;
  top: 4px;
}
.facebook-icons:hover i {
  color: #0000a3;
}
.youtube-icons:hover i {
  color: #a70000;
}
.ig-icons:hover i {
  color: #ff0101;
}
.line-icons:hover i {
  color: #0a7700;
}
.icon-a {
  transition: all 0.3s linear;
}
.icon-a > i {
  transition: all 0.2s linear;
  font-size: 20px;
}
.icon-a:hover {
  background: #ffffff;
}
.icon-a:hover i {
  transform: scale(1.2);
  top: 2px;
}
/* -------------------------------------------------- */

.logoimg {
  height: 100%;
  width: 100%;
  content: url("../../img/img-allpage/logo-thenest.jpg");
}
.icon-main-logo{
  display: none;
}
@media (max-width: 991px) {

  .main-logo{
    height: 150px;
    width: 100%;
    display: flex;
    position: static;
    top: 0;
    background: #ffffff;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 1px 5px rgba(0,0,0,.2);
    align-items: center;
    transition: height 0.3s ease;
  }
  .main-logo-active{
    position: sticky;
    height: 120px;
    
  }
  .logoimg {
    height: 120px;
    width: 120px;
    content: url("../../img/img-allpage/logo-thenest2.jpg");
  }
  .icon-main-logo{
    display: block;
    position: absolute;
    left: 10px;
    top: 10px;
  }
  .navbar{
    padding: 0;
  }

}

/* -------------------------------------------------- */
/* ตัวเปลี่ยนภาษา */
.la1 {
  width: 100px;
  height: 60px;
  /*border-left: 2px solid #ffffff;*/
  display: flex;
}

.la2 {
  margin-left: 25px;
  margin-top: 18px;
}

.la3 {
  display: flex;
  text-decoration: none;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.child-absolute1-2 {
  position: absolute; /* ขยับจากกล่องแม่ของมัน */
  width: 70px;
  height: 43px;
  padding: 8px;
  background-color: #e0c406;
  bottom: -2.7rem;
  right: -1.8rem;
  box-sizing: border-box;
  border-radius: 6px;
}
.child-absolute1-2 a {
  color: #ffffff;
  text-decoration: none;
}

.la3 > span {
  color: #ffffff;
}

#bx-down {
  color: #ffffff;
  font-size: 22px;
}
.dropdown-content {
  display: none;
}

.show {
  display: block;
}

@media (max-width: 991px) {
  .child-absolute1-2 a {
    color: #321e15;
  }

  .la3 > span {
    color: #321e15;
  }

  #bx-down {
    color: #321e15;
  }
}

/* -------------------------------------------------- */
ul {
  list-style-type: none;
}
/* -------------------------------------------------- */
.size-footer2{
  margin-top: 1.8rem;
}

@media (max-width: 992px) {
  .size-footer2{
    margin-top: 0.8rem;
  }
}
.size-footer2 p {
  font-family: "Prompt", sans-serif;
  font-weight: 500;
  font-size: 12px;
}
.owl-carousel {
  z-index: 0;
}
