.none-mobile .row > span {
  color: #fff;
  font-size: 25px !important;
  letter-spacing: 1px;
  float: right;
  margin-right: 12px;
  margin-top: 17px;
}

.nav-tabs > li > a {
  margin-right: 5px;
  margin-bottom: 1px;
  font-size: 15px !important;
  font-family: "Kanit", sans-serif;
  background-color: #e3dfe9;
  border-radius: 5px 5px 0 0;
}

/* icon_contact */
.icon-bar {
  z-index: 99999;
  position: fixed;
  right: -10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.icon-bar a {
  display: block;
  text-align: center;
  padding: 3px 5px;
  transition: all 0.3s ease;
  color: white;
  cursor: pointer;
}

.icon-bar a:hover {
  display: block;
  text-align: center;
  padding: 5px;
  transition: all 0.3s ease;
  color: white;
}

/* popup chatbot */
/* start chatbot */
.layout .content .chat {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  border-right: 1px solid #e6e6e6;
  border-left: 1px solid #e6e6e6;
  max-width: 483px !important;
}

.layout .content .chat .chat-body:not(.no-message) {
  display: flex;
  flex-direction: column;
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  flex-direction: column-reverse;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
}

section {
  max-width: 1100px;
  margin: auto;
  text-align: center;
  padding: 0 1rem;
}

.chat-btn {
  position: fixed;
  right: 38px;
  bottom: 83px;
  background: none;
  /* color: white; */
  /* width:60px;
              height: 60px; */
  /* border-radius: 50%; */
  /* opacity: 0.8; */
  transition: opacity 0.3s;
  /* box-shadow: 0 5px 5px rgba(0,0,0,0.4); */
  z-index: 9999999;
}

.chat-btn:hover,
.submit:hover,
#emoji-btn:hover {
  opacity: 1;
}

.chat-popup {
  display: none;
  position: fixed;
  bottom: 230px;
  right: 150px;
  height: 500px;
  width: 500px;
  background-color: white;
  /* display: flex; */
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 2px 2px 2px rgba(128, 128, 128, 0.1);
  border-radius: 10px;
  z-index: 9999999;
}

.head {
  background: #7e5c9f;
  display: flex;
  border-radius: 10px 10px 0 0;
  height: 12%;
  font-size: 22px;
  padding-left: 15px;
  align-items: center;
}

.header {
  background: none;
  padding: 4%;
  display: flex;
  width: 100%;
  color: #fff;
}

.svg-icon {
  padding-right: 3%;
}

.svg-icon svg {
  width: 90%;
}

.show {
  display: flex;
}

.chat-area {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.75rem;
}

.income-msg {
  display: flex;
  align-items: center;
}

.avatar-chat {
  width: 175px;
  object-fit: scale-down;
}

.avatar {
  width: 250px !important;
  height: 39px;
  border-radius: 50%;
  object-fit: scale-down;
  background: #c1549c;
  margin-bottom: auto;
}

.message {
  display: inline-grid;
}

.img-chat {
  width: 100%;
  box-shadow: 0px 3px 9px #888879;
}

.income-msg .msg-img {
  margin-left: 1rem;
  margin-bottom: 0.6rem;
  width: 75%;
}

.income-msg .msg {
  background-color: #c1549c;
  color: white;
  padding: 0.5rem;
  border-radius: 0 10px 10px;
  margin-left: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  margin-bottom: 0.6rem;
  width: 75%;
  font-size: 0.9rem;
  text-align: start;
}

.text {
  word-break: break-word;
}

.badge {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: red;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -10px;
  right: -10px;
}

.input-area {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0.75rem;
}

#emoji-btn {
  position: absolute;
  font-size: 1.2rem;
  background: transparent;
  right: 66px;
  top: 17px;
  opacity: 0.5;
}

.emoji-picker__emojis::-webkit-scrollbar {
  display: none;
}

.emoji-picker__emojis {
  height: 258px !important;
}

.emoji-picker__preview {
  padding: 1.5em !important;
}

.submit {
  padding: 0.25rem 0.5rem;
  margin-left: 0.5rem;
  background-color: #82ac26;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  opacity: 0.7;
}

.out-msg {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.my-msg {
  display: flex;
  justify-content: flex-end;
  margin: 0.75rem;
  padding: 0.5rem;
  background-color: #f2f0ed;
  border-radius: 10px 0 10px 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  word-break: break-all;
  text-align: justify;
  width: 74%;
  font-size: 0.9rem;
}

@media (max-width: 500px) {
  .chat-popup {
    bottom: 220px;
    right: 10%;
    width: 80vw;
  }
}

/* footer */

.navbar-default .nav-pills > li > ul.dropdown-menu.active {
  visibility: visible;
  opacity: 1;
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  -ms-transform: rotateX(0deg);
  -o-transform: rotateX(0deg);
  transform: rotateX(0deg);
  -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
  -moz-transition: -moz-transform 0.4s, opacity 0.1s;
  -mos-transition: -mos-transform 0.4s, opacity 0.1s;
  -o-transition: -o-transform 0.4s, opacity 0.1s;
  transition: transform 0.4s, opacity 0.1s;
}

ul .dropdown > .dropdown-menu.sub-menu.active {
  visibility: visible;
  opacity: 1;
  -webkit-transform: rotateY(0deg);
  -moz-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  -o-transform: rotateY(0deg);
  transform: rotateY(0deg);
  -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
  -moz-transition: -moz-transform 0.4s, opacity 0.1s;
  -mos-transition: -mos-transform 0.4s, opacity 0.1s;
  -o-transition: -o-transform 0.4s, opacity 0.1s;
  transition: transform 0.4s, opacity 0.1s;
}

.toggle-footer {
  padding: 12.5px 25px;
  background-color: #634492;
  border-radius: 0;
  display: inline-block;
  font: 700 normal 20px;
  cursor: pointer;
  color: #fff;
  float: right;
}

.toggle-footer:after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: 3px;
  margin-left: 10px;
  height: 10px;
  width: 10px;
  border-left: 1px solid #fff;
  border-top: 1px solid #fff;
  transform: rotate(45deg);
}

li.topic-sitemap {
  padding-top: 20px;
  color: #000 !important;
}

li.subsitemap,
li.subsitemap a {
  color: #634492 !important;
}

.hot-box p {
  font-size: 24px !important;
  font-family: "Kanit" !important;
  color: #fff568 !important;
  font-weight: 500;
  text-align: center;
}
/* row */
.pl-60 {
  padding-left: 30px;
}
.pd-25 {
  padding: 25px 25px;
}
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  .pl-60 {
    padding: 15px;
  }
  .pl-74 {
    padding: 15px;
  }
}
@media screen and (min-device-width: 768px) and (max-width: 991.98px) {
  .icon-md.col-sm-2 {
    width: 32.666667% !important;
    margin-top: 20px;
  }
  .p-iconfaecbook > p {
    font-size: 16.5px;
  }
  .open-fb {
    margin-left: 10px !important;
    margin-top: 45px !important;
  }
  .open-fb > img {
    margin-left: 0px !important;
  }
}
@media (min-width: 1920px) and (max-width: 2560px) {
  .pl-60 {
    padding-left: 45px;
    padding-right: 50px;
    margin-left: 10px;
  }
  .pl-74 {
    padding-left: 50px;
    margin-right: -64px;
  }
}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  .pl-60 {
    padding: 15px;
  }
  .pl-74 {
    padding: 15px;
  }
}
@media (min-width: 1920px) and (max-width: 2560px) {
  .pl-60 {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: flex-start;
    margin-right: -20px;
  }
  .pl-74 {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: flex-start;
    margin-right: -90px;
  }
}

/* #cookieConsent  */
#cookieConsent {
  background-color: rgba(20, 20, 20, 0.8);
  min-height: 60px;
  font-size: 14px;
  color: #ccc;
  line-height: 26px;
  padding: 8px 0 8px 30px;
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  z-index: 9999;
}
#cookieConsent a {
  color: #4b8ee7;
  text-decoration: none;
}
#closeCookieConsent {
  float: right;
  display: inline-block;
  cursor: pointer;
  height: 20px;
  width: 20px;
  margin: -15px 0 0 0;
  font-weight: bold;
}
#closeCookieConsent:hover {
  color: #fff;
}
#cookieConsent a.cookieConsentOK {
  background-color: #f1d600;
  color: #000;
  display: inline-block;
  border-radius: 5px;
  padding: 0 20px;
  cursor: pointer;
  float: right;
  margin: 0 60px 0 10px;
}
#cookieConsent a.cookieConsentOK:hover {
  background-color: #e0c91f;
}
/*Cookie Consent End*/

@media screen and (min-device-width: 768px) and (max-width: 991.98px) {
  .ceo-onde {
    display: flex;
  }
  img#ceo1 {
    border-right: 3px solid #6f5399;
  }
}

@media screen and (min-device-width: 659px) and (max-width: 991.98px) {
  .ceo-onde {
    display: flex;
  }
  #Full-B1 {
    display: flex;
    flex-direction: column-reverse;
  }
  .home-calendar-new {
    margin: 20px 10% !important;
  }
  .none-mobile .row > span {
    float: left !important;
  }
  .titleeventevent {
    width: 480px !important;
  }
  .text-news-hidden1 {
    width: 550px !important;
  }
  .container.pd-4.none-mobile,
  .container.h-news.pd-18.h-85.bgtitlenews {
    margin: -13px 0px !important;
    max-width: 100%;
  }
  .title-h1 h1 {
    padding-top: 50px;
  }
  .tabs-left > .nav-tabs > li > a {
    width: 100% !important;
  }
}
@media screen and (max-width: 1280px) {
  .navbar-default .nav-pills {
    width: 100% !important;
  }
}

.title-7 {
  color: #383838;
  margin: 15px;
  font-weight: 400;
  text-align: initial;
  font-size: 20px;
}

.title-12 {
  color: #8b67b1;
  margin-bottom: 4px;
  /* margin: 15px; */
  list-style: none;
  font-weight: 400;
  text-align: initial;
}

.list-title2:hover a {
  color: #7959a2;
}

.list-title2 {
  border-bottom: solid 1px #ebe8f2 !important;
}

.catagory {
  color: #00aeef;
}

.date-7 {
  color: #706b6b;
  margin: 15px;
}

.titile-02 > span {
  font-size: 20px !important;
  text-decoration: none;
  margin: 10px 0;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  height: 60px;
  padding: 0px 10px;
}

.detail-7 {
  color: #706b6b;
  margin-top: 10px;
  text-align: initial;
  margin-bottom: -30px;
}

.detail-12 {
  color: #706b6b;
  margin-top: 10px;
  text-align: initial;
  margin-bottom: 40px;
}

.border-news {
  border: solid 1px #f2714d;
  margin-right: 5px;
}

.border-img {
  border: solid 1px;
}

.m-top {
  margin-top: 20px;
}

.m-bottom {
  margin-bottom: 25px;
}

.text-news-hidden1 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  max-height: 62px;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  color: #fff;
}

@media (max-width: 768px) {
  .h-news {
    height: 100% !important;
  }
}

h2.no-span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  white-space: nowrap;
  color: #ffffff;
  padding: 33px 0px;
  font-size: 25px;
  background: #714797;
  font-family: quarkbold, san-serif;
  font-weight: 400;
  margin-bottom: 10px;
}
@media only screen and (max-width: 540px) {
  h2.no-span {
    font-size: 20px;
  }
}

.title-h1 h1 {
  font-size: 35px !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: 1px !important;
  margin-top: 20px !important;
  padding-left: 55px !important;
  margin-bottom: -5px !important;
}
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 0px !important;
  padding-left: 40px !important;
  justify-content: center;
  padding-right: 15px !important;
  align-content: center;
}
.grid-item {
  display: grid;
  margin: 20px 16px !important;
  grid-template-columns: 14ch 1fr;
}
.grid-item2 {
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 20px !important;
}
.grid-item2 > .lb-txt-15 {
  text-decoration: none;
  line-height: 1 !important;
  margin-bottom: 10px !important;
  font-size: 18px !important;
}
.grid-item2 > .lb-txt-14 {
  text-decoration: none;
  line-height: 1 !important;
  font-size: 16px !important;
}
@media screen and (min-width: 1900px) {
  .title-h1 h1 {
    font-size: 35px !important;
    font-weight: 800 !important;
    color: #fff !important;
    letter-spacing: 1px !important;
    margin-top: 50px !important;
    padding-left: 55px !important;
    margin-bottom: -5px !important;
  }
}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  .grid-container {
    grid-template-columns: 1fr;
    margin-top: 0px !important;
    padding-left: 5px !important;
    justify-content: center;
    align-content: center;
  }
  .grid-item {
    grid-template-columns: 1fr;
  }
  .grid-item2 {
    margin: 10px 0 !important;
    padding: 0 !important;
    line-height: 20px !important;
  }
  .title-h1 h1 {
    font-size: 30px !important;
    font-weight: 800 !important;
    margin-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 20px !important;
    padding-top: 20px !important;
  }
  .up-footer .icon-contact {
    width: 100%;
    margin: 30px 0px !important;
    text-align: center;
  }
}
@media screen and (min-device-width: 659px) and (max-device-width: 820px) {
  .grid-item {
    grid-template-columns: 1fr;
    gap: 15px 10px;
  }
}

@media screen and (min-device-width: 1025px) and (max-device-width: 1080px) and (-webkit-min-device-pixel-ratio: 1) {
  .grid-container {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 0px !important;
    padding-left: 45px !important;
    justify-content: center;
    align-content: center;
  }
  .grid-item {
    display: grid;
    margin: 20px 10px !important;
    grid-template-columns: 8ch 1fr;
  }
  .grid-item2 {
    margin: 0 !important;
    padding: 0 !important;
    padding-left: 20px !important;
  }
}
@media (max-width: 1024px) .bg-services {
  height: 454px !important;
}
@media screen and (min-device-width: 659px) and (max-device-width: 1024px) (orientation: portrait) {
  img.none-mobile {
    width: 28.33px;
  }
  .home-calendar-new {
    margin: 20px 40px !important;
  }
  .titleeventevent {
    color: #482a70;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-inline-box;
    margin-bottom: -10px;
    text-align: inherit;
    width: 70% !important;
    margin-left: 10px;
    line-height: 1.8em !important;
  }
  .grid-container {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 0px !important;
    padding-left: 5px !important;
    justify-content: center;
    align-content: center;
  }
  .grid-item {
    display: grid;
    margin: 20px 16px !important;
    grid-template-columns: 1fr;
  }
  .grid-item2 {
    margin: 0 !important;
    padding: 0 !important;
    padding-left: 20px !important;
  }
  .title-h1 h1 {
    font-size: 30px !important;
    font-weight: 800 !important;
    margin-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 20px !important;
    padding-top: 20px !important;
  }
}
@media screen and (min-device-width: 770px) and (max-device-width: 1024px) and (orientation: landscape) {
  img.none-mobile {
    width: 28.33px;
  }
  .grid-container {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 0px !important;
    padding-left: 5px !important;
    justify-content: center;
    align-content: center;
  }
  .grid-item {
    display: grid;
    margin: 20px 16px !important;
    grid-template-columns: 8ch 1fr;
  }
  .grid-item2 {
    margin: 0 !important;
    padding: 0 !important;
    padding-left: 20px !important;
  }
  .title-h1 h1 {
    font-size: 30px !important;
    font-weight: 800 !important;
    margin-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 20px !important;
    padding-top: 20px !important;
  }
}

.grid-container2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0;
  margin: 35px 0px;
  padding-left: 40px !important;
  justify-content: center;
  padding-right: 15px !important;
  align-content: center;
  align-items: center;
}
.grid-item-img {
  margin: 15px 15px;
}
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  .grid-container2 {
    padding-left: 5px !important;
  }
}
@media only screen and (max-width: 550px) {
  .grid-container2 {
    grid-template-columns: 1fr;
    padding: 0px;
  }
  .grid-item-img {
    grid-template-columns: 1fr;
    padding: 20px 0px;
  }
}

div > input.btn.btn-md {
  background-color: #482a70;
}
.tab-content a {
  font-family: "quarkbold", san-serif;
  font-size: 16px !important;
  color: #4e4c4c;
  padding: 0px 0px;
}
.pt-20 {
  padding-top: 0px !important;
}
.news-title {
  height: 85px;
  width: 100%;
  overflow: hidden;
  line-height: 20px;
  padding: 0px 13px !important;
}
.nav-tabs {
  padding-top: 20px !important;
  text-align: center;
  margin-top: 0;
  background-color: #714797 !important;
  border-bottom: 0px solid #714797 !important;
}
@media (min-width: 1024px) {
  .home-calendar-new {
    height: 820px !important;
  }
  .event2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    max-height: 67px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
    background-color: #e5dfed40;
  }
}
@media (min-width: 1024px) and (max-width: 1563px) {
  .nav-tabs > li > a {
    font-size: 11px;
  }
  .nav-tabs {
    padding-top: 27px !important;
  }
}

.top_title_videos .row > span {
  color: #fff;
  font-size: 25px !important;
  letter-spacing: 1px;
  margin-left: 20px;
  margin-top: 15px;
  line-height: 2.1;
}


