@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css");
@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Charm:wght@400;700&display=swap');
@import url("file-explore.css");
* {
  font-family: "Noto Sans Thai", sans-serif;
  font-weight: 400;
  font-style: normal;
}
body{
  background-color: #8EC5FC;
  background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
}

main{
  margin: 70px 10px 0px 10px;
}
/*
.page{
  padding:15px;
  margin:15px 0px 15px 15px;
  border-radius: 5px;
}*/
a{color:black;text-decoration: none;transition: 0.3s;}
.link1:hover,.link2:hover{
  background-color: #8EC5FC;
  background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
}
.link1,.link2{
  padding: 0px 3px;
  margin: 0px 0px 2px 0px;
  width:100%;
  color:black;
  border-radius: 5px;
  border-bottom: dotted 2px #8EC5FC;
  text-align: left;
}
h4{
  font-family: "Charm", cursive;
  font-weight: 700;
  font-style: italic;
  color:rgb(18, 59, 136)
}
.charm-normal{
  font-family: "Charm", cursive;
  font-weight: 400;
  font-style: normal;
  color:rgb(18, 59, 136)
}
a h4{
  color: black;
  transition: 0.3s;
  padding: 0px;
}
a h4:hover{
  color: rgb(18, 59, 136);
  padding-bottom: 0px;
  border-bottom:dotted 2px #8EC5FC;
}
.dropdown-toggle,
.dropdown-item,
.nav-link{
  border-radius: 5px;
}
.dropdown-toggle:hover,
.dropdown-item:hover,
.nav-link.active,
.nav-link:hover {
  background-color: #8EC5FC;
  background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
}
.loading {
  position: fixed;
  z-index: 9999;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
}
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(212, 212, 212, 0.501);
}
.menu1:hover{
  border:4px solid rgb(113, 32, 253);
}
@media screen and (min-width: 567px){
  #o_map{max-height: 100%;}
}
@media screen and (max-width: 566px){
  #o_map{max-height: 200px;}
}

/*++++++++  Chat Live 2024-06-01 +++++++++*/
.live-chat-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  visibility: visible;
}

.live-chat-buttons {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.chat-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  transition: background-color 0.3s ease;
  position: relative;
}

.chat-button.messenger {
  background-color: #0084ff;
}

.chat-button.phone {
  background-color: #34b7f1;
  cursor: pointer;
}

.chat-button.phone .phone-number {
  display: none;
  position: absolute;
  left: -160px;
  background-color: #34b7f1;
  padding: 5px 10px;
  border-radius: 5px;
  color: #fff;
}

.chat-button:hover {
  opacity: 0.8;
}

.toggle-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ff5e3a;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.toggle-button:hover {
  opacity: 0.8;
}

/*++++++++  END  Chat Live +++++++++*/