
.footer-borderline {
  width: 100%;
  height: 1px;
  background-color: white;
  margin-top: 2%;
}
.footer {
  font-family: "Kanit", sans-serif;
}
.footer-org-name {
  font-size: 22px;
  font-weight: 400;
}
.footer-address {
  display: flex;
}
.footer-address-text {
  margin-left: 2%;
  font-size: 17px;
  font-weight: 400;
}
.footer-phone-fax {
  display: flex;
}
.footer-phone {
  display: flex;
  align-items: baseline;
}
.footer-phone-text {
  padding-left: 1rem;
  font-size: 17px;
  font-weight: 400;
}
.footer-phone-fax {
  margin-top: 1%;
}
.footer-address.up {
  margin-top: 1%;
}
.footer-address.down {
  margin-top: 4%;
}
.footer-menu {
  text-decoration: none;
  color: white;
  font-size: 17px;
  font-weight: 400;
}
.footer-menu:hover {
  color: #ffe609;
}
.footer-list {
  margin-bottom: 5%;
}
.footer-menu-left ul {
  list-style: none;
}
.footer-menu-right ul {
  list-style: none;
  padding-left: 37%;
}
.footer-copyright {
  text-align: center;
  font-size: 17px;
  font-weight: 400;
  margin-top: 4%;
  margin-bottom: 2%;
}
.footer-phone-icon {
  font-size: 20px;
}
.footer-social-links {
  display: flex;
  justify-content: flex-end;
  margin-top: 5%;
}
.footer-social-links a {
  display: block;
  float: left;
  width: 39px;
  height: 39px;
  border: 1px solid #ffffff;
  border-radius: 20px;
  margin-right: 7px;
  text-decoration: none;
}
.footer-social-links a i {
  font-size: 20px;
  font-weight: 300;
  color: #ffffff;
  display: flex;
  justify-content: center;
  margin-top: 25%;
}

.footer-alt-label {
  padding: 3% 0 5% 0;
}
.footer-alt-label img {
  width: 27%;
}
.footer-alt-box {
  border: rgb(255, 255, 255) 2px solid;
  border-radius: 10px;
  text-align: center;
  width: 240px;
  height: 158px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  transition: 0.3s ease-in-out;
  text-decoration: none;
  cursor: pointer;
  padding: 0 6%;
}
.footer-alt-box:hover {
  background-color: rgba(255, 255, 255, 0.432);
}
.footer-alt-img {
  display: flex;
  justify-content: center;
}
.footer-alt-img img {
  width: 20% !important;
}
.footer-alt-text {
  font-size: 19px;
  font-weight: 400;
  color: white;
}
.owl-carousel.slide-footer-alt .owl-item.active {
  display: flex;
  justify-content: center;
}
.owl-carousel.slide-footer-alt .owl-dots .owl-dot.active span {
  background: #b60000;
}
.owl-carousel.slide-footer-alt .owl-dots {
  padding: 2% 0 1% 0;
}
.owl-carousel.slide-footer-alt .owl-nav {
  display: none;
}

/* Mobile ตั้ง */
@media (max-width: 576px) {
  .footer-borderline {
    margin-bottom: 5%;
    margin-top: 3%;
  }
  .footer-mb-locationbox {
    display: flex;
    align-items: baseline;
    justify-content: center;
  }
  .footer-mb-location-text {
    font-size: 16px;
    font-weight: 300;
    color: white;
  }
  .footer-mb-org-name {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
  }

  .footer-mb-social-links {
    display: flex;
    justify-content: center;
    margin-top: 5%;
    margin-bottom: 5%;
  }
  .footer-mb-social-links a {
    display: block;
    float: left;
    width: 39px;
    height: 39px;
    border: 1px solid #ffffff;
    border-radius: 20px;
    margin-right: 7px;
    text-decoration: none;
  }
  .footer-mb-social-links a i {
    font-size: 20px;
    font-weight: 300;
    color: #ffffff;
    display: flex;
    justify-content: center;
    margin-top: 25%;
  }
  .footer-mb-policy-link {
    color: white;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
  }
  .footer-mb-copyright {
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    margin: 4% 0;
  }
  .footer-alt-label {
    padding: 3% 0 5% 0;
  }

  .footer-alt-label img {
    width: 70%;
  }
  .footer-alt-label {
    padding: 7% 0 5% 0;
    text-align: center;
  }
  .footer-alt-box {
    border: rgb(255, 255, 255) 1px solid;
    border-radius: 10px;
    text-align: center;
    width: 150px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    transition: 0.3s ease-in-out;
    text-decoration: none;
    cursor: pointer;
    padding: 0 6%;
  }
  .footer-alt-img img {
    width: 22% !important;
  }
  .footer-alt-text {
    font-size: 12px;
    font-weight: 400;
  }
  .owl-theme.slide-footer-alt .owl-dots .owl-dot span {
    width: 6px;
    height: 6px;
    margin: 5px 5px;
  }
  .owl-carousel.slide-footer-alt .owl-dots {
    padding: 5% 0 1% 0;
  }
}

/* Mobile นอน */
@media (min-width: 577px) and (max-width: 767px) {
  .footer-borderline {
    margin-bottom: 3%;
    margin-top: 2%;
  }
  .footer-mb-locationbox {
    display: flex;
    align-items: baseline;
    justify-content: center;
  }
  .footer-mb-location-text {
    font-size: 16px;
    font-weight: 300;
    color: white;
  }
  .footer-mb-org-name {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
  }

  .footer-mb-social-links {
    display: flex;
    justify-content: center;
    margin-top: 3%;
    margin-bottom: 3%;
  }
  .footer-mb-social-links a {
    display: block;
    float: left;
    width: 39px;
    height: 39px;
    border: 1px solid #ffffff;
    border-radius: 20px;
    margin-right: 7px;
    text-decoration: none;
  }
  .footer-mb-social-links a i {
    font-size: 20px;
    font-weight: 300;
    color: #ffffff;
    display: flex;
    justify-content: center;
    margin-top: 25%;
  }
  .footer-mb-policy-link {
    color: white;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
  }
  .footer-mb-copyright {
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    margin: 2% 0 4% 0;
  }
  .footer-alt-label img {
    width: 60%;
  }
  .footer-alt-label {
    padding: 7% 0 5% 0;
    text-align: center;
  }
  .footer-alt-box {
    border: rgb(255, 255, 255) 1px solid;
    border-radius: 10px;
    text-align: center;
    width: 180px;
    height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    transition: 0.3s ease-in-out;
    text-decoration: none;
    cursor: pointer;
    padding: 0 6%;
  }
  .footer-alt-img img {
    width: 22% !important;
  }
  .footer-alt-text {
    font-size: 12px;
    font-weight: 400;
  }
  .owl-theme.slide-footer-alt .owl-dots .owl-dot span {
    width: 6px;
    height: 6px;
    margin: 5px 5px;
  }
  .owl-carousel.slide-footer-alt .owl-dots {
    padding: 5% 0 1% 0;
  }
}

/* Tablet ตั้ง */
@media (min-width: 768px) and (max-width: 991px) {
  .footer-borderline {
    margin-bottom: 3%;
    margin-top: 2%;
  }
  .footer-mb-locationbox {
    display: flex;
    align-items: baseline;
    justify-content: center;
  }
  .footer-mb-location-text {
    font-size: 16px;
    font-weight: 300;
    color: white;
  }
  .footer-mb-org-name {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
  }

  .footer-mb-social-links {
    display: flex;
    justify-content: center;
    margin-top: 3%;
    margin-bottom: 3%;
  }
  .footer-mb-social-links a {
    display: block;
    float: left;
    width: 39px;
    height: 39px;
    border: 1px solid #ffffff;
    border-radius: 20px;
    margin-right: 7px;
    text-decoration: none;
  }
  .footer-mb-social-links a i {
    font-size: 20px;
    font-weight: 300;
    color: #ffffff;
    display: flex;
    justify-content: center;
    margin-top: 25%;
  }
  .footer-mb-policy-link {
    color: white;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
  }
  .footer-mb-copyright {
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    margin: 2% 0 4% 0;
  }

  .footer-alt-label img {
    width: 40%;
  }
  .footer-alt-label {
    padding: 7% 0 5% 0;
    text-align: center;
  }
  .footer-alt-box {
    border: rgb(255, 255, 255) 1px solid;
    border-radius: 10px;
    text-align: center;
    width: 150px;
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    transition: 0.3s ease-in-out;
    text-decoration: none;
    cursor: pointer;
    padding: 0 6%;
  }
  .footer-alt-img img {
    width: 22% !important;
  }
  .footer-alt-text {
    font-size: 12px;
    font-weight: 400;
  }
  .owl-theme.slide-footer-alt .owl-dots .owl-dot span {
    width: 6px;
    height: 6px;
    margin: 5px 5px;
  }
  .owl-carousel.slide-footer-alt .owl-dots {
    padding: 5% 0 1% 0;
  }
}

/* Tablet นอน */
@media (min-width: 992px) and (max-width: 1199px) {
  .footer-borderline {
    margin-bottom: 3%;
    margin-top: 2%;
  }
  .footer-mb-locationbox {
    display: flex;
    align-items: baseline;
    justify-content: center;
  }
  .footer-mb-location-text {
    font-size: 16px;
    font-weight: 300;
    color: white;
  }
  .footer-mb-org-name {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
  }

  .footer-mb-social-links {
    display: flex;
    justify-content: center;
    margin-top: 3%;
    margin-bottom: 3%;
  }
  .footer-mb-social-links a {
    display: block;
    float: left;
    width: 39px;
    height: 39px;
    border: 1px solid #ffffff;
    border-radius: 20px;
    margin-right: 7px;
    text-decoration: none;
  }
  .footer-mb-social-links a i {
    font-size: 20px;
    font-weight: 300;
    color: #ffffff;
    display: flex;
    justify-content: center;
    margin-top: 25%;
  }
  .footer-mb-policy-link {
    color: white;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
  }
  .footer-mb-copyright {
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    margin: 2% 0 4% 0;
  }
  .footer-alt-label img {
    width: 29%;
  }
  .footer-alt-label {
    padding: 7% 0 5% 0;
    text-align: center;
  }
  .footer-alt-box {
    border: rgb(255, 255, 255) 1px solid;
    border-radius: 10px;
    text-align: center;
    width: 185px;
    height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    transition: 0.3s ease-in-out;
    text-decoration: none;
    cursor: pointer;
    padding: 0 6%;
  }
  .footer-alt-img img {
    width: 22% !important;
  }
  .footer-alt-text {
    font-size: 12px;
    font-weight: 400;
  }
  .owl-theme.slide-footer-alt .owl-dots .owl-dot span {
    width: 6px;
    height: 6px;
    margin: 5px 5px;
  }
  .owl-carousel.slide-footer-alt .owl-dots {
    padding: 5% 0 1% 0;
  }
}

/* Laptop */
@media (min-width: 1200px) and (max-width: 1400px) {
  .footer-borderline {
    width: 100%;
    height: 1px;
    background-color: white;
    margin-top: 2%;
  }
  .footer {
    font-family: "Kanit", sans-serif;
  }
  .footer-org-name {
    font-size: 17px;
    font-weight: 400;
  }
  .footer-address {
    display: flex;
  }
  .footer-address-text {
    margin-left: 2%;
    font-size: 13px;
    font-weight: 400;
  }
  .footer-phone-fax {
    display: flex;
  }
  .footer-phone {
    display: flex;
    align-items: baseline;
  }
  .footer-phone-text {
    padding-left: 1rem;
    font-size: 13px;
    font-weight: 400;
  }
  .footer-phone-fax {
    margin-top: 1%;
  }
  .footer-address.up {
    margin-top: 1%;
  }
  .footer-address.down {
    margin-top: 4%;
  }
  .footer-menu {
    text-decoration: none;
    color: white;
    font-size: 13px;
    font-weight: 400;
  }
  .footer-list {
    margin-bottom: 5%;
  }
  .footer-menu-left ul {
    list-style: none;
  }
  .footer-menu-right ul {
    list-style: none;
    padding-left: 37%;
  }
  .footer-copyright {
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    margin-top: 4%;
    margin-bottom: 2%;
  }
  .footer-phone-icon {
    font-size: 15px;
  }
  .footer-social-links {
    display: flex;
    justify-content: flex-end;
    margin-top: 5%;
  }
  .footer-social-links a {
    display: block;
    float: left;
    width: 32px;
    height: 32px;
    border: 1px solid #ffffff;
    border-radius: 20px;
    margin-right: 7px;
    text-decoration: none;
  }
  .footer-social-links a i {
    font-size: 15px;
    font-weight: 300;
    color: #ffffff;
    display: flex;
    justify-content: center;
    margin-top: 26%;
  }
  .footer-mb-locationbox {
    display: flex;
    align-items: baseline;
    justify-content: center;
  }
  .footer-mb-location-text {
    font-size: 12px;
    font-weight: 300;
    color: white;
  }
  .footer-mb-org-name {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
  }
  .footer-phone-icon img {
    width: 18px;
    height: 18px;
  }
  .footer-mb-social-links {
    display: flex;
    justify-content: center;
    margin-top: 5%;
    margin-bottom: 5%;
  }
  .footer-mb-social-links a {
    display: block;
    float: left;
    width: 32px;
    height: 32px;
    border: 1px solid #ffffff;
    border-radius: 20px;
    margin-right: 7px;
    text-decoration: none;
  }
  .footer-mb-social-links a i {
    font-size: 15px;
    font-weight: 300;
    color: #ffffff;
    display: flex;
    justify-content: center;
    margin-top: 25%;
  }
  .footer-mb-policy-link {
    color: white;
    font-size: 12px;
    font-weight: 300;
    text-align: center;
  }
  .footer-mb-copyright {
    font-size: 12px;
    font-weight: 300;
    text-align: center;
    margin: 4% 0;
  }

  .footer-alt-label {
    padding: 3% 0 5% 0;
  }
  .footer-alt-label img {
    width: 29%;
  }
  .footer-alt-box {
    border: rgb(255, 255, 255) 2px solid;
    border-radius: 10px;
    text-align: center;
    width: 215px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    transition: 0.3s ease-in-out;
    text-decoration: none;
    cursor: pointer;
    padding: 0 6%;
  }
  .footer-alt-box:hover {
    background-color: rgba(255, 255, 255, 0.432);
  }
  .footer-alt-img {
    display: flex;
    justify-content: center;
  }
  .footer-alt-img img {
    width: 18% !important;
  }
  .footer-alt-text {
    font-size: 15px;
    font-weight: 400;
  }
  .owl-carousel.slide-footer-alt .owl-item.active {
    display: flex;
    justify-content: center;
  }
  .owl-carousel.slide-footer-alt .owl-dots .owl-dot.active span {
    background: #b60000;
  }
  .owl-carousel.slide-footer-alt .owl-dots {
    padding: 2% 0 1% 0;
  }
  .owl-carousel.slide-footer-alt .owl-nav {
    display: none;
  }
}
