.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }

  .container {
    max-width: 90% !important;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
  .container {
    width: 90% !important;
  }
}

body {
  font-family: 'Pridi', serif;
  font-size: 17px !important;
  font-weight: 300 !important;
  color: #666666;
  /* background: url("../image/bg.png") repeat;
  background-size: 100% auto;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1 */
}

.fix-bg {
  background: url("../image/bg.png") repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: 100% auto;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.row {
  max-width: 100% !important;
  --bs-gutter-x: 1.5rem;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
}

.l-r-space {
  padding: 0 30px;
}

.l-r-space-2 {
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* font-family: 'Athiti', sans-serif; */
  font-family: 'K2D', sans-serif;
  color: #000000;
}

.blog-header-logo {
  font-family: 'K2D', sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
}

.p-2 {
  padding: .5rem 1rem !important;
}

a {
  color: #000000;
  text-decoration: none;
}

a:hover {
  /* color: #849F8C; */
  color: #84A687;
  text-decoration: none;
}

.center {
  text-align: center;
}

.btn-tag-sac-orange::before {
  z-index: -1;
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 100%;
  background: #F58402;
  /* background: #000000; */
  transition: all .3s ease-out;
  border-top-left-radius: .325rem;
  border-bottom-left-radius: .325rem;
}

.text-sac-orange {
  /* color: #F58402 !important; */
  color: #000000 !important;
}

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

.content-left {
  padding-right: 100px;
}

.content-right {
  text-align: left;
}

.view-all a {
  vertical-align: middle;
  margin-left: 25px;
  color: #000000;
  font-size: 20px;
  text-decoration: none;
}

.view-all a:hover {
  /* color: #849F8C; */
  color: #84A687;
  text-decoration: none;
}

.expand-read-more .share-icon {
  float: right;
}

p.share-icon {
  text-align: center;
  margin-top: auto;
}

.share-icon a.list-tags svg {
  margin-left: 15px !important;
}

.share-icon svg {
  text-align: center;
  margin-left: 15px;
  font-size: 15px;
  color: #c3c3c3
}

.share-icon svg:hover {
  color: #84A687
}

.share-icon svg.active {
  color: #84A687;
}

.share-icon svg:active {
  color: #84A687;
}

.tags {
  font-size: 16px;
}

.tags svg {
  font-size: 14px;
}

.clear-fix {
  clear: both;
}

input::placeholder {
  color: #c9c8c8 !important;
}

.popover-header {
  color: #ffffff;
  background-color: #84A687;
}

.popover-body {
  font-weight: 300;
}
.input-group .svg-inline--fa {
height: 23px;
}

@media only screen and (max-width:767px) {
  .l-r-space {
    padding: 0 10px;
  }
}



/* Back to top button
------------------------------------------- */
#topbutton {
  display: inline-block;
  background-color: #ff9800;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#topbutton::after {
  /* content: "\f077";
  font-family: FontAwesome; */
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}

#topbutton svg {
  font-size: 45px;
  color: #fff;
  padding-bottom: 10px;
}

#topbutton:hover {
  cursor: pointer;
  background-color: #333;
}

#topbutton:active {
  background-color: #555;
}

#topbutton.show {
  opacity: 1;
  visibility: visible;
}



/* Header
------------------------------------------- */
.header-bg {
  /* background-color: #8E4DB3; */
  background-color: #ffffff;
}

.header-bn {
  background-color: #333;
  background-image: url("../image/cover.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 280px;
}

.blog-header-logo img {
  width: 100%;
  max-width: 70px;
  height: auto;
}

img.wiki-logo {
  height: 100%;
  max-height: 50px;
  width: auto;
}

.site-title {
  font-family: 'K2D', sans-serif !important;
  font-size: 30px;
  color: #E7C26B;
  padding-top: 5px;
}

.navbar.navbar--sac {
  font-family: 'K2D', sans-serif !important;
  font-size: 17px;
}

nav .fa {
  color: #ffffff;
}

/* .fa, .fas {
  color: #8E4DB3;
} */

.search-btn {
  color: #fff;
  background-color: #F58402;
  border-color: #F58402;
  display: inline-block;
  margin-bottom: 0;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.search-btn:hover {
  background-color: #f56702;
  border-color: #f56702;
}

button .fa {
  color: #ffffff;
}

.map iframe {
  width: 100%;
  min-width: 1680px;
  height: 450px;
  overflow: hidden;
}

.shortcuts a {
  font-weight: 900;
  text-decoration: none;
}

.navbar.navbar--sac.navbar-dark .navbar-nav .nav-link {
  font-weight: 900;
}

@media screen and (max-width:767px) {

  .map iframe {
    min-width: 100%;
    max-width: 415px;
    height: 415px;
  }

  .header-bn {
    height: 300px;
  }

  .navbar-nav {
    text-align: center;
  }

  img.wiki-logo {
    height: 100%;
    max-height: 65px;
    width: auto;
  }
}

@media screen and (min-width:768px) and (max-width:1023px) {

  .map iframe {
    min-width: 100%;
    max-width: 800px;
    height: 415px;
  }

  .header-bn {
    height: 300px;
  }

  .navbar-nav {
    text-align: center;
  }

  img.wiki-logo {
    height: 100%;
    max-height: 105px;
    width: auto;
  }
}

@media screen and (min-width:1024px) and (max-width:1200px) {

  .map iframe {
    min-width: 100%;
    max-width: 990px;
    height: 415px;
  }

  .header-bn {
    height: 300px;
  }
}



/* Content Section
---------------------------------------- */
.commu-content {
  background-color: #f5f5f5;
  /* background-color: #f6f6f6; */
  padding-top: 30px;
  padding-bottom: 15px;
}

.rec-commu {
  padding-top: 30px;
}

.users-content {
  line-height: 2em;
  padding-bottom: 15px;
}

.ethnic-content {
  padding-top: 30px;
  padding-bottom: 30px;
}



/* Mobile Content
---------------------------------------- */
.mobile-content {
  background-color: #E5EAE8;
  padding-top: 40px;
  padding-bottom: 30px;
  height: fit-content;
}

.mobile-content h1 {
  padding-bottom: 20px;
  color: #000000 !important;
}

.mobile-img {
  text-align: center;
  vertical-align: middle;
}

.mobile-img img {
  width: 220px;
  margin-top: 10px;
}

.mobile-content .text-center {
  padding: 5px 15px;
  line-height: 28px;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .mobile-img img {
    max-width: 70%;
  }
}

/* Mobile Content Card
-------------------------------------- */
.mobile-card {
  display: flex;
  flex-direction: column;
  margin: 15px;
  margin-bottom: 1.6%;
  background: none;
  line-height: 1.4;
  overflow: hidden;
  z-index: 0;
  border-radius: 8px;
  color: #666666;
}

.mobile-card a {
  color: #000000;
}

.mobile-card a:hover {
  color: #84A687;
}

.mobile-card:hover .photo {
  -webkit-transform: scale(1.15) rotate(3deg);
  transform: scale(1.15) rotate(3deg);
}

.mobile-card .meta {
  position: relative;
  z-index: 0;
  height: 200px;
}

.mobile-card .photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

.mobile-card .mobile-description {
  padding: 0 1rem;
  background: transparent;
  position: relative;
  /* z-index: 1; */
}

.mobile-card .mobile-description .ellipsis {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 28px;
}


.mobile-card .mobile-description h1 {
  line-height: 1.35;
  margin: 0;
}

.mobile-card .mobile-description h2 {
  font-size: 0.9rem;
  font-weight: 300;
  color: #a2a2a2;
  margin-top: 5px;
}

.mobile-card .mobile-description .mobile-read-more {
  left: 0;
  right: 0;
  text-align: left;
  color: #000000;
}

.mobile-card .mobile-description .mobile-read-more a {
  color: #000000;
  font-size: 16px;
  margin-left: 20px;
}

.mobile-card .mobile-description .mobile-read-more a:hover {
  color: #84A687;
}

.mobile-card .mobile-description .mobile-read-more:after {
  content: "\27A4";
  font-family: FontAwesome;
  margin-left: -9px;
  opacity: 0;
  vertical-align: middle;
  transition: margin 0.3s, opacity 0.3s;
}

.mobile-card .mobile-description .mobile-read-more:hover:after {
  margin-left: 10px;
  opacity: 1;
  color: #84A687;
}

.mobile-card p {
  position: relative;
  margin: 10px 0 0;
}

.mobile-card p:first-of-type {
  margin-top: 5px;
}

.mobile-card:hover .mobile-details {
  left: 0%;
}

.mobile-tags {
  font-size: 14px;
}

.mobile-tags svg {
  font-size: 13px;
}

/* .mobile-card {
  flex-direction: row;
  min-height: 130px;
} 

.mobile-card .meta {
  flex-basis: 20%;
  height: auto;
}

.mobile-card .description {
  flex-basis: 80%;
}
*/

.mobile-card .mobile-description:before {
  -webkit-transform: skewX(-3deg);
  transform: skewX(-3deg);
  content: "";
  background: transparent;
  width: 30px;
  position: absolute;
  left: -10px;
  top: 0;
  bottom: 0;
  z-index: -1;
}

.mobile-card.alt {
  flex-direction: row-reverse;
}

.mobile-card.alt .mobile-description:before {
  left: inherit;
  right: -10px;
  -webkit-transform: skew(3deg);
  transform: skew(3deg);
}

.mobile-card.alt .mobile-details {
  padding-left: 25px;
}

@media screen and (max-width: 767px) {
  /* .mobile-card {
    flex-direction: row;
    min-height: 130px;
  }

  .mobile-card .meta {
    flex-basis: 30%;
    height: auto;
  }

  .mobile-card .mobile-description {
    flex-basis: 70%;
  } */

  .mobile-card .mobile-description:before {
    -webkit-transform: skewX(-3deg);
    transform: skewX(-3deg);
    content: "";
    background: transparent;
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
  }

  .mobile-card.alt {
    flex-direction: row-reverse;
  }

  .mobile-card.alt .mobile-description:before {
    left: inherit;
    right: -10px;
    -webkit-transform: skew(3deg);
    transform: skew(3deg);
  }

  .mobile-card.alt .mobile-details {
    padding-left: 25px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .mobile-card {
    flex-direction: column;
  }

  .mobile-card .meta {
    flex-basis: 30%;
    height: auto;
  }

  .mobile-card .mobile-description {
    flex-basis: 70%;
  }

  .mobile-card .mobile-description:before {
    -webkit-transform: skewX(-3deg);
    transform: skewX(-3deg);
    content: "";
    background: transparent;
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
  }

  .mobile-card.alt {
    flex-direction: row-reverse;
  }

  .mobile-card.alt .mobile-description:before {
    left: inherit;
    right: -10px;
    -webkit-transform: skew(3deg);
    transform: skew(3deg);
  }

  .mobile-card.alt .mobile-details {
    padding-left: 25px;
  }
}


/* Footer
-------------------------------- */
.footer-link {
  color: #ffffff;
}

.footer-link:hover {
  color: #ffffff;
}


.admin-card {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  width: 100%;
  height: fit-content;
  border-radius: 5px;
  background-color: #f5f5f5;
  text-align: center;
}

.admin-card-body p {
  font-size: 15px;
}

.admin-card img {
  max-width: 70px;
  height: auto;
  border-radius: 5px 5px 0 0;
  transform-origin: center;
  transition: transform 400ms ease-out;
  text-align: center;
}

img.admin-img {
  border-radius: 50%;
  align-self: center;
  margin-top: 15px;
}

.admin-position {
  margin-top: 5px;
  color: #666666;
}

p.admin-position {
  padding-top: 0px !important;
  margin-top: 0px !important;
  margin-bottom: 10px;
  font-size: 16px !important;
  color: #666666;
}

p.admin-name {
  padding-top: 5px;
  margin-bottom: 0px !important;
  font-size: 17px !important;
  font-weight: 900;
}



/* Searchbox
--------------------------------- */
#search-btn {
  /* background: #2c3e50; */
  background: #F58402;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 0 5px 5px 0;
  -moz-border-radius: 0 5px 5px 0;
  -webkit-border-radius: 0 5px 5px 0;
  -o-border-radius: 0 5px 5px 0;
  border: 0 none;
  font-weight: bold;
}

#search-box {
  background: #ffffff;
  padding: 10px 20px;
  border-radius: 5px 0 0 5px;
  -moz-border-radius: 5px 0 0 5px;
  -webkit-border-radius: 5px 0 0 5px;
  -o-border-radius: 5px 0 0 5px;
  border: 0 none;
  width: 90%;
}

.btn-search {
  color: #fff;
  background-color: #F58402;
  border-color: #F58402;
  padding: 5px 10px !important;
}

.btn-search:hover {
  color: #fff;
  background-color: #f56702;
  border-color: #f56702;
  padding: 5px 10px !important;
}

/* .search-button {
  float: right;
} */

@media screen and (max-width:767px) {
  #search-btn {
    padding: 11px 24px;
  }

  #search-box {
    width: 71%;
  }
}



/* Searchbox overwrite SAC Style
---------------------------------- */
/* .form-control { */
/* padding: 1.25rem .75rem; */
/* } */

/* KAE .input-group>.form-control,
.input-group>.form-select {
  width: 100%;
} */


/* Popup Searchbox 
----------------------------------- */
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 200ms;
  visibility: hidden;
  opacity: 0;
  z-index: 1500;
  height: 2000px;
}

.overlay.light {
  background: rgba(255, 255, 255, 0.5);
}

.overlay .cancel {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: default;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 150px auto;
  padding: 20px;
  background: #fff;
  border: 1px solid #666;
  width: 80%;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  position: relative;
}

.light .popup {
  border-color: #aaa;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.popup .close {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 20px;
  right: 20px;
  opacity: 0.8;
  transition: all 200ms;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #666;
}

.popup .close:hover {
  opacity: 1;
}

.popup .content {
  max-height: 100%;
  margin-top: 50px;
  overflow: auto;
}

.popup p {
  margin: 0 0 1em;
}

.popup p:last-child {
  margin: 0;
}



/* Index Search - Accordion
------------------------------- */
.ci-bg {
  /* background-color: #487E77; */
  background-color: transparent;
  position: absolute;
  top: 110px;
  width: 100%;
}

.index-ci-bg {
  /* background-color: #487E77; */
  background-color: transparent;
  position: absolute;
  top: 280px;
  width: 100%;
}

.advance-search {
  background-color: rgba(0, 0, 0, 0.2);
  width: fit-content;
  padding: 5px 10px !important;
  color: #ffffff !important;
}

.advance-search a {
  color: #000000;
  text-decoration: none;
}

.advance-search a:hover {
  color: #ffffff;
  text-decoration: none;
}

.advance-search2 {
  background-color: rgba(255, 255, 255, 0.3);
  width: fit-content;
  padding: 5px 10px !important;
  color: #ffffff !important;
}

.advance-search2 a {
  color: #ffffff;
  text-decoration: none;
}

.advance-search2 a:hover {
  color: #000000;
  text-decoration: none;
}

.search-row {
  left: 13%;
  right: 13%;
  width: 74%;
  padding: 30px 40px;
}

/* KAE .input-group {
  display: inline-block !important;
} */

.fl {
  display: inline-block;
  float: left;
}

.fr {
  display: inline-block;
  float: right;
}

.search-tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.search-tabs {
  margin-top: 10px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}

.search-tab {
  width: 100%;
  color: #000000;
  overflow: hidden;
}

.search-tab label {
  margin-bottom: 0 !important;
}

.search-tab-label {
  display: flex;
  justify-content: space-between;
  padding: 7px 15px;
  background: #ffffff;
  font-weight: bold;
  cursor: pointer;
  /* Icon */
}

/* 
.search-tab-label:hover {
  background: #1a252f;
} */

.search-tab-label::after {
  content: "❯";
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all 0.35s;
}

.search-tab-content {
  max-height: 0;
  padding: 0 1em;
  color: #000000;
  background: white;
  transition: all 0.35s;
}

.search-tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #000000;
  cursor: pointer;
}

.search-tab-close:hover {
  background: #ffffff;
}

.search-tab input:checked+.search-tab-label {
  background: #ffffff;
}

.search-tab input:checked+.search-tab-label::after {
  transform: rotate(90deg);
}

.search-tab input:checked~.search-tab-content {
  max-height: 100vh;
  padding: 1em;
}

@media screen and (max-width:767px) {
  .index-ci-bg {
    top: 280px;
  }

  .ci-bg {
    top: 120px;
  }

  .search-row {
    left: 5%;
    right: 5%;
    width: 90%;
    padding: 30px 20px;
  }

  .filter-plus {
    display: none;
  }

}

@media screen and (min-width:768px) {
  .normal-filter {
    display: none;
  }
}

/* Card Box
----------------------------------- */
.box {
  width: 98%;
  height: 85px;
  background: #fff;
  margin: 20px 10px 20px 0px;
  border: solid 1px #777777;
  border-radius: 7px;
}

.effect1 {
  -webkit-box-shadow: 0 10px 6px -6px #777;
  -moz-box-shadow: 0 10px 6px -6px #777;
  box-shadow: 0 10px 6px -6px #777;
}

.effect2 {
  position: relative;
}

.effect2:before,
.effect2:after {
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width: 300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}

.effect2:after {
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  right: 10px;
  left: auto;
}



/* Dropdown Select 
----------------------------------*/
.index-control-group {
  margin: 0 5px;
}

.search-select {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  width: 100%;
}

.search-select select {
  display: inline-block;
  width: 100%;
  cursor: pointer;
  padding: 10px 15px;
  outline: 0;
  border: 0;
  border-radius: 0;
  background: #e6e6e6;
  color: #4E4E4D;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.search-select select::-ms-expand {
  display: none;
}

.search-select select:hover,
.search-select select:focus {
  color: #000;
  background: #ccc;
}

.search-select select:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.select__arrow {
  position: absolute;
  top: 16px;
  right: 15px;
  width: 0;
  height: 0;
  pointer-events: none;
  border-style: solid;
  border-width: 8px 5px 0 5px;
  border-color: #7b7b7b transparent transparent transparent;
}

.search-select select:hover~.search-select__arrow,
.search-select select:focus~.search-select__arrow {
  border-top-color: #000;
}

.search-select select:disabled~.search-select__arrow {
  border-top-color: #ccc;
}



/* Post Title
------------------------------------------ */
.blog-main h2 {
  font-weight: 500;
}

.blog-post-title {
  margin-bottom: .25rem;
  font-size: 24px;
  font-weight: 500;
}

h4.blog-post-title {
  /* color: #15847A; */
  color: #000000;
}

.blog-post-meta {
  font-size: 15px;
}

.blog-post-content {
  width: 100%;
  height: 74px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.blog-post {
  display: flex;
  flex-direction: column;
  background: #fff;
  line-height: 1.4;
  overflow: hidden;
  z-index: 0;
  margin-bottom: 10px;
}

.blog-post .blog-photo {
  position: relative;
  z-index: 0;
  height: 200px;
}

.blog-post .image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

.blog-post .blog-description {
  padding: 1rem;
  background: #fff;
  position: relative;
}

@media (max-width: 767px) {
  .blog-card .description {
    margin-top: 15px;
    padding: 0 !important;
  }

  .blog-post-content {
    width: 100%;
    /* height: 74px; */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
}


/* Blog card 
----------------------------------*/
.blog-card {
  display: flex;
  flex-direction: column;
  margin: 1rem auto;
  /* box-shadow: 4px 15px 25px -12px rgba(152, 182, 255, 0.4); */
  /* box-shadow: 4px 15px 25px -12px rgba(0, 0, 0, 0.5); */
  margin-bottom: 1.6%;
  background: #fff;
  line-height: 1.4;
  /* border-radius: 6px; */
  overflow: hidden;
  z-index: 0;
}

hr {
  margin-top: 15px !important;
  margin-bottom: 5px !important;
  color: #666666 !important;
}

.blog-card a {
  /* color: #15847A; */
  color: #000000;
}

.blog-card a:hover {
  /* color: #ffc400; */
  color: #84A687;
}

.blog-card:hover .photo {
  -webkit-transform: scale(1.15) rotate(3deg);
  transform: scale(1.15) rotate(3deg);
}

.blog-card .meta {
  position: relative;
  z-index: 0;
  height: 200px;
}

.blog-card .photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

.blog-card .description {
  padding: 0 1rem;
  background: #fff;
  position: relative;
  /* z-index: 1; */
}

.blog-card .description h1 {
  line-height: 1.35;
  margin: 0;
}

.blog-card .description h2 {
  font-size: 0.9rem;
  font-weight: 300;
  color: #a2a2a2;
  margin-top: 5px;
}

.blog-card .description .read-more {
  /* padding-top: 5px; */
  left: 0;
  right: 0;
  text-align: left;
  /* bottom: 6px; */
  /* position: absolute; */
  /* border-top: 1px solid #dadada; */
  color: #000000;
}

.blog-card .description .read-more a {
  color: #000000;
  font-size: 16px;
  /* display: inline-block; */
  /* position: relative; */
  /* text-transform: uppercase; */
}

.blog-card .description .read-more a:hover {
  color: #84A687;
}

.blog-card .description .read-more:after {
  content: "\27A4";
  font-family: FontAwesome;
  margin-left: -9px;
  opacity: 0;
  vertical-align: middle;
  transition: margin 0.3s, opacity 0.3s;
}

.blog-card .description .read-more:hover:after {
  margin-left: 10px;
  opacity: 1;
}

.blog-card p {
  position: relative;
  margin: 10px 0 0;
}

.blog-card p:first-of-type {
  margin-top: 5px;
}

/*
.blog-card p:first-of-type:before {
  content: "";
  position: absolute;
  height: 4px;
  background: #3ebecc;
  width: 75px;
  top: -0.75rem;
} 
*/
.blog-card:hover .details {
  left: 0%;
}

.blog-tags {
  font-size: 14px;
}

.blog-tags svg {
  font-size: 13px;
}

.blog-card {
  flex-direction: row;
  min-height: 130px;
}

.blog-card .meta {
  flex-basis: 30%;
  height: auto;
}

.blog-card .description {
  flex-basis: 70%;
}

.blog-card .description:before {
  -webkit-transform: skewX(-3deg);
  transform: skewX(-3deg);
  content: "";
  background: #fff;
  width: 30px;
  position: absolute;
  left: -10px;
  top: 0;
  bottom: 0;
  z-index: -1;
}

.blog-card.alt {
  flex-direction: row-reverse;
}

.blog-card.alt .description:before {
  left: inherit;
  right: -10px;
  -webkit-transform: skew(3deg);
  transform: skew(3deg);
}

.blog-card.alt .details {
  padding-left: 25px;
}

@media screen and (max-width: 767px) {
  .blog-card {
    flex-direction: row;
    min-height: 130px;
  }

  .blog-card .meta {
    flex-basis: 30%;
    height: auto;
  }

  .blog-card .description {
    flex-basis: 70%;
  }

  .blog-card .description:before {
    -webkit-transform: skewX(-3deg);
    transform: skewX(-3deg);
    content: "";
    background: #fff;
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
  }

  .blog-card.alt {
    flex-direction: row-reverse;
  }

  .blog-card.alt .description:before {
    left: inherit;
    right: -10px;
    -webkit-transform: skew(3deg);
    transform: skew(3deg);
  }

  .blog-card.alt .details {
    padding-left: 25px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .blog-card {
    flex-direction: row;
    min-height: 130px;
  }

  .blog-card .meta {
    flex-basis: 30%;
    height: auto;
  }

  .blog-card .description {
    flex-basis: 70%;
  }

  .blog-card .description:before {
    -webkit-transform: skewX(-3deg);
    transform: skewX(-3deg);
    content: "";
    background: #fff;
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
  }

  .blog-card.alt {
    flex-direction: row-reverse;
  }

  .blog-card.alt .description:before {
    left: inherit;
    right: -10px;
    -webkit-transform: skew(3deg);
    transform: skew(3deg);
  }

  .blog-card.alt .details {
    padding-left: 25px;
  }
}



/* Slider
-------------------------------- */
.carousel {
  margin-bottom: 30px;
}

/* .owl-carousel .owl-item img {
  display: block;
  width: 20%;
  float: left;
  border: 5px solid #fff;
  border-radius: 20px;
  margin-left: 54px;
  margin-right: 35px;
  margin-top: 18px;
  margin-bottom: 3px;
  aspect-ratio: 1;
  object-fit: cover;
} */

.testimonial-item.equal-height.style-6 {
  /* background-color: #F2F0EA; */
  /* background-color: rgba(75, 2, 27, 1); */
  background-color: #E5EAE8;
  border-radius: 10px;
  margin: 10px;
  height: 300px;
  width: 650px;
}

.cell-right {
  text-align: center;
  margin-right: 80px;
  padding-top: 35px;
  padding-bottom: 10px;
}

.testimonial-name h5 {
  font-weight: 500;
}

.testimonial-name a:hover {
  color: #84A687;
}

.testimonial-content a:hover {
  color: #84A687;
}

.testimonial-content {
  color: #666666;
}

.testimonial-tags {
  padding-top: 5px;
  height: fit-content !important;
  margin-bottom: 8px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 15px;
}

.testimonial-tags svg {
  width: 16px !important;
}

.testimonial-content.quote {
  padding: 0px 55px 12px 55px;
  width: 100%;
  height: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  text-align: left;
}

.et_right_sidebar #main-content .container:before {
  display: none;
}

#main-content .container {
  padding-top: 10px;
}

i.fa.fa-quote-left {
  padding: 0px 10px;
  color: #999;
}

.owl-theme .owl-controls .owl-buttons div {
  position: absolute;
}

.owl-theme .owl-controls .owl-buttons .owl-prev {
  left: -45px;
  top: 55px;
}

.owl-theme .owl-controls .owl-buttons .owl-next {
  right: -45px;
  top: 55px;
}

.testimonial_control_button .carousel-control {
  top: 175px;
  opacity: 1;
  width: 40px;
  bottom: auto;
  height: 40px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 700;
  overflow: hidden;
  line-height: 38px;
  text-shadow: none;
  text-align: center;
  position: absolute;
  background: transparent;
  border: 2px solid #ffffff;
  text-transform: uppercase;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: all 0.6s cubic-bezier(0.3, 1, 0, 1);
  transition: all 0.6s cubic-bezier(0.3, 1, 0, 1);
}

.testimonial_control_button .carousel-control.left {
  left: 7%;
  top: 50%;
  right: auto;
}

.testimonial_control_button .carousel-control.right {
  right: 7%;
  top: 50%;
  left: auto;
}

.testimonial_control_button .carousel-control.left:hover,
.testimonial_control_button .carousel-control.right:hover {
  color: #000;
  background: #fff;
  border: 2px solid #fff;
}

.testimonial .carousel-control-next-icon,
.testimonial .carousel-control-prev-icon {
  width: 35px;
  height: 35px;
}

.testimonial-item .read-more {
  text-align: center !important;
}

.testimonial-item .read-more {
  left: 0;
  right: 0;
  text-align: left;
  color: #000000;
}

.testimonial-item .read-more a {
  color: #000000;
  font-size: 16px;
  margin-left: 20px;
}

.testimonial-item .read-more a:hover {
  color: #84A687;
}

.testimonial-item .read-more:after {
  content: "\27A4";
  font-family: FontAwesome;
  margin-left: -9px;
  opacity: 0;
  vertical-align: middle;
  transition: margin 0.3s, opacity 0.3s;
}

.testimonial-item .read-more:hover:after {
  margin-left: 10px;
  opacity: 1;
  color: #84A687;
}


/* Testimonial slider */
figure.snip1167 {
  position: relative;
  overflow: hidden;
  margin: 10px;
  max-width: 650px;
  width: 100%;
  color: #333;
  text-align: left;
  box-shadow: none !important;
}

figure.snip1167 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

figure.snip1167 img {
  max-width: 200px !important;
  height: 200px;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  vertical-align: middle;
  border-radius: 50%;
  border: 5px solid #d3d3d3;
  background-color: #f5f5f5;
  margin: 0 auto;
  margin: 10px;
  display: block;
  z-index: 1;
  position: relative;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}

figure.snip1167:hover img {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
}

.owl-carousel .owl-item img {
  margin-top: -50px !important;
}

figure.snip1167 blockquote {
  display: block;
  border-radius: 15px;
  position: relative;
  background-color: #f5f5f5;
  padding: 15px 50px 30px 50px;
  margin: 40px 5px 5px;
  line-height: 1.6em;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  min-height: 350px;
}

blockquote.rec-content.text-ellipsis {
  height: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

figure.blockquote.text-ellipsis p {
  height: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

figure.snip1167 div.text-ellipsis p {
  height: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}


figure.snip1167 blockquote:before,
figure.snip1167 blockquote:after {
  font-family: "FontAwesome";
  content: "\201C";
  position: absolute;
  font-size: 50px;
  opacity: 0.3;
  font-style: normal;
}

figure.snip1167 blockquote:before {
  top: 20px;
  left: 20px;
}

figure.snip1167 blockquote:after {
  content: "\201D";
  right: 20px;
  bottom: 0;
}

figure.snip1167 .author {
  padding: 15px;
  margin: 0;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
}

figure.snip1167 .author h5 {
  opacity: 0.8;
  margin: 0;
  font-weight: 800;
}

figure.snip1167 .author h5 span {
  font-weight: 400;
  text-transform: none;
  display: block;
}

figure.snip1167 .author span.location {
  font-size: 16px;
  padding-top: 10px;
}

figure.snip1167 .author span svg {
  font-size: 16px !important;
}

div.owl-item[style] {
  margin-right: 3px !important;
}

@media screen and (max-width: 767px) {
  .testimonial-item.equal-height.style-6 {
    height: 360px;
    width: 395px;
  }

  /* 
  .owl-carousel .owl-item img {
    width: 30%;
  } */

  .cell-right {
    margin-right: 15px;
  }

  .testimonial-content.quote {
    padding: 12px 35px;
    height: 180px;
  }

  .testimonial-content {
    font-size: 17px;
  }

  figure.snip1167 {
    max-width: 390px;
    width: 100%;
  }

  figure.snip1167 blockquote {
    min-height: 380px !important;
  }

  figure.snip1167 img {
    max-width: 170px !important;
    height: 170px;
    margin: 10px auto;
  }

  div.owl-item[style] {
    margin-right: 15px !important;
  }
}


@media screen and (min-width: 768px) and (max-width: 1023px) {
  .testimonial-item.equal-height.style-6 {
    height: 360px;
    width: 450px;
  }

  .cell-right {
    margin-right: 15px;
  }

  .testimonial-content.quote {
    padding: 12px 35px;
    height: 180px;
  }

  figure.snip1167 {
    max-width: 600px;
  }

  figure.snip1167 img {
    max-width: 180px !important;
    height: 180px;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
  .testimonial-item.equal-height.style-6 {
    height: 335px;
    width: 450px;
  }

  .cell-right {
    margin-right: 15px;
  }

  .testimonial-content.quote {
    padding: 12px 35px;
    height: 180px;
  }

  figure.snip1167 {
    max-width: 650px;
  }

  figure.snip1167 img {
    max-width: 180px !important;
    height: 180px;
  }
}



/* owl carousel
-------------------------------------- */
.carousel-wrap {
  width: 800px;
  margin: auto;
  position: relative;
}

.owl-carousel .owl-nav {
  overflow: hidden;
  height: 47px;
  position: absolute;
  top: 40%;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #84A687;
}

.owl-theme .owl-dots .owl-dot span {
  margin: 5px;
}

.owl-carousel .item {
  text-align: center;
}

.owl-carousel .nav-btn {
  height: 47px;
  position: absolute;
  width: 26px;
  cursor: pointer;
  top: 100px !important;
}

.owl-carousel .owl-prev.disabled,
.owl-carousel .owl-next.disabled {
  pointer-events: none;
  opacity: 0.2;
}

.owl-carousel .prev-slide {
  background: url(nav-icon.png) no-repeat scroll 0 0;
  left: -33px;
}

.owl-carousel .next-slide {
  background: url(nav-icon.png) no-repeat scroll -24px 0px;
  right: -33px;
}

.owl-carousel .prev-slide:hover {
  background-position: 0px -53px;
}

.owl-carousel .next-slide:hover {
  background-position: -24px -53px;
}

.owl-nav--alt {
  position: absolute;
  top: 65%;
  left: 1%;
  right: 1%;
  transform: translateY(-100%);
  display: flex;
  justify-content: space-between;
  margin: 0;
  /* pointer-events: none; */
}

.btn.btn-text-hover-secondary,
.btn.btn-text-secondary {
  background-color: #ffffff;
}

.btn.btn-text-hover-secondary:hover,
.btn.btn-text-secondary {
  color: #84A687;
}

.fs-3 {
  font-size: 42px !important;
}



/* Vertical Tabs - Commu Info
----------------------------- */
.row .col {
  flex: 1;
}

.tab-content .form-group {
  margin-bottom: 0 !important;
  margin-top: 20px;
}

/* .tabs input:first-child {
  position: absolute;
  opacity: 0;
  z-index: -1;
} */

.tabs {
  border-radius: 8px;
  overflow: hidden;
  /* box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5); */
}

.tab {
  width: 100%;
  color: #666666;
  overflow: hidden;
}

.subject-tab {
  width: 100%;
  color: #666666;
  overflow: hidden;
  border: 1px solid #cccccc;
  border-radius: 5px;
  background-color: #f2f2f2;
}

.tab-label {
  display: flex;
  /* justify-content: space-between; */
  justify-content: flex-start;
  padding: 10px 20px 0px 20px;
  background: none;
  font-weight: 500;
  font-size: 22px;
  cursor: pointer;
  border-bottom: 1px solid #cccccc;
}

.tab-label:hover {
  background: none;
}

.tab-label::after {
  /* content: "❯"; */
  content: "\276F";
  width: 40px;
  height: 40px;
  text-align: center;
  transition: all 0.15s;
}

.subject-label {
  display: flex;
  /* justify-content: space-between; */
  justify-content: flex-start;
  padding: 20px 20px 10px 20px;
  background: none;
  font-weight: bold;
  cursor: pointer;
  /* border-bottom: 1px solid #cccccc; */
  border: none;
}

.subject-label:hover {
  background: none;
}

.subject-label::after {
  content: "+";
  width: 60px;
  /* height: 60px; */
  text-align: center;
  transition: all 0.15s;
}

.tab-content {
  max-height: 0;
  padding: 0 20px;
  line-height: 1.75em;
  color: #666666;
  background: white;
  /* transition: all 0.15s; */
}

.responsive img {
  max-width: 100%;
  height: auto;
}

.subject-content {
  max-height: 0;
  padding: 0 20px;
  line-height: 1.75em;
  color: #666666;
  background: white;
  /* transition: all 0.15s; */
}

.tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  /* background: #2c3e50; */
  background: none;
  cursor: pointer;
}

.subject-tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 20px 20px 10px 20px;
  background: #2c3e50;
  background: none;
  cursor: pointer;
}

.tab-close:hover {
  background: none;
}

input:checked+.tab-label {
  background: none;
}

input:checked+.tab-label::after {
  transform: rotate(90deg);
}

input:checked~.tab-content {
  max-height: 100%;
  padding: 10px 20px;
}

input:checked~.subject-content {
  max-height: 100%;
  padding: 10px 20px;
}

.title-edit svg {
  font-size: 18px;
}

.tab-label svg {
  padding-right: 10px;
  width: 32px !important;
}

@media only screen and (max-width:767px) {
  .tab-label {
    padding: 10px 10px 0px 10px;
    font-size: 20px;
  }

  .tab-label svg {
    width: 30px !important;
  }

  input:checked~.tab-content {
    padding: 10px 10px;
  }
}



/* Users info -- Tabs
------------------------------------- */
.user-tabs {
  display: flex;
  flex-wrap: wrap;
}

.user-tabs label {
  order: 1;
  display: block;
  padding: 1rem 2rem;
  margin-right: 0.2rem;
  cursor: pointer;
  background: #E5EAE8;
  color: #000000;
  font-weight: bold;
  transition: background ease 0.2s;
}

.user-tabs .user-tab {
  order: 99;
  flex-grow: 1;
  width: 100%;
  display: none;
  padding: 1rem;
  background: #ffffff;
  color: #000000;
  border: 1px solid #84A687;
}

.user-tabs input[type=radio] {
  display: none;
}

.user-tabs input[type=radio]:checked+label {
  background: #84A687;
  color: #ffffff;
}

.user-tabs input[type=radio]:checked+label+.user-tab {
  display: block;
}

@media (max-width: 45em) {

  .user-tabs .user-tab,
  .user-tabs label {
    order: initial;
  }

  .user-tabs label {
    width: 100%;
    margin-right: 0;
    margin-top: 0.2rem;
  }
}




/* Breadcrumb
------------------------------------ */
ul.breadcrumb {
  padding: 10px 16px;
  list-style: none;
  background-color: #eee;
}

ul.breadcrumb li {
  display: inline;
  font-size: 18px;
}

ul.breadcrumb li+li:before {
  padding: 8px;
  color: #000000;
  content: "/\00a0";
}

ul.breadcrumb li a {
  color: #000000;
  text-decoration: none;
}

ul.breadcrumb li a:hover {
  color: #84A687;
  /* color: #000000; */
  text-decoration: underline;
}

li.bc-active {
  color: #84A687;
}



/* Commu Content */
.commu-content {
  line-height: 2em;
}

div.commu-list {
  text-align: right;
}

.commu-list svg {
  font-size: 24px;
}

.commu-list-read-more {
  left: 0;
  right: 0;
  /* padding-top: 15px; */
  text-align: left;
  color: #666666;
}

p.commu-list-read-more {
  margin-bottom: 5px;
}

.commu-list-read-more a {
  color: #000000;
  font-size: 16px;
}

.commu-list-read-more a:hover {
  color: #84A687;
  font-size: 16px;
}

.commu-list-read-more:after {
  content: "\27A4";
  font-family: FontAwesome;
  margin-left: -9px;
  opacity: 0;
  vertical-align: middle;
  transition: margin 0.3s, opacity 0.3s;
}

.commu-list-read-more:hover:after {
  margin-left: 10px;
  opacity: 1;
  color: #84A687;
}

.commu-list-read-more .share-icon {
  float: right;
}

/* Column List
----------------------------------- */
.two-column-list {
  -moz-column-count: 2;
  -moz-column-gap: 10px;
  -webkit-column-count: 2;
  -webkit-column-gap: 10px;
  column-count: 2;
  column-gap: 10px;
}

.three-column-list {
  -moz-column-count: 3;
  -moz-column-gap: 10px;
  -webkit-column-count: 3;
  -webkit-column-gap: 10px;
  column-count: 3;
  column-gap: 10px;
}

@media screen and (max-width: 767px) {
  .three-column-list {
    -moz-column-count: 2;
    -moz-column-gap: 10px;
    -webkit-column-count: 2;
    -webkit-column-gap: 10px;
    column-count: 2;
    column-gap: 10px;
  }
}



/* Commu-info
------------------------------------ */
.commu-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  vertical-align: middle;
}

.commu-info {
  line-height: 34px;
}

.right-box {
  padding: 0 20px;
}

.share-tools {
  margin-top: 15px;
}

.share-tools svg {
  margin-left: 15px;
}

.commu-card {
  border: none;
  padding: 12px 0 5px 0;
  border-bottom: 1px solid #cccccc;
}


@media screen and (max-width: 767px) {
  .commu-image img {
    padding-bottom: 30px;
    width: 100%;
  }

  .share-tools {
    margin-top: 5px;
    margin-bottom: 15px;
  }
}

.info-map iframe {
  width: 100%;
  max-width: 380px;
  height: 400px;
  overflow: hidden;
}



/* Responsive Table
-------------------------------------- */

.wrapper {
  margin: 0 auto;
  padding: 20px 0;
  width: 100%;
}

.table {
  margin: 0 0 40px 0;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: table;
}

@media screen and (max-width: 580px) {
  .table {
    display: block;
  }
}

.row-table {
  display: table-row;
  background: #f6f6f6;
}

.row-table:nth-of-type(odd) {
  background: #e9e9e9;
}

.row-table.header {
  font-weight: 900;
  color: #ffffff;
  background: #84A687;
}

.row-table.green {
  background: #27ae60;
}

.row-table.blue {
  background: #2980b9;
}

.cell svg {
  font-size: 15px;
  margin-right: 5px;
  padding: 0 !important;
}

.cell a svg {
  color: #000000;
  text-decoration: none;
}

.cell a:hover svg {
  color: #84A687;
  text-decoration: none;
}

@media screen and (max-width: 580px) {
  .row-table {
    padding: 14px 0 7px;
    display: block;
  }

  .row-table.header {
    padding: 0;
    height: 6px;
  }

  .row-table.header .cell {
    display: none;
  }

  .row-table .cell {
    margin-bottom: 10px;
  }

  .row-table .cell:before {
    margin-bottom: 3px;
    content: attr(data-title);
    min-width: 98px;
    font-size: 10px;
    line-height: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #969696;
    display: block;
  }
}

.cell {
  padding: 6px 12px;
  display: table-cell;
}

@media screen and (max-width: 580px) {
  .cell {
    padding: 2px 16px;
    display: block;
  }
}



/* Gallery
-------------------------------------- */
#gallery {
  -webkit-column-count: 6;
  -moz-column-count: 6;
  column-count: 6;

  -webkit-column-gap: 20px;
  -moz-column-gap: 20px;
  column-gap: 20px;
}

@media (max-width: 1200px) {
  #gallery {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;

    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
  }
}

@media (max-width: 800px) {
  #gallery {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;

    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
  }
}

@media (max-width: 600px) {
  #gallery {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}

#gallery img,
#gallery video {
  width: 100%;
  height: auto;
  margin: 4% auto;
  box-shadow: -3px 5px 15px #000;
  cursor: pointer;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.modal-img,
.model-vid {
  width: 100%;
  height: auto;
}

.modal-body {
  padding: 0px;
}



/* Expand Card
-------------------------------------- */
.expand-cards {
  display: flex;
  flex-flow: row wrap;
}

.expand-card {
  margin: 15px;
  width: calc((100% / 4) - 30px);
  transition: all 0.2s ease-in-out;
}

.expand-card:hover .expand-card__inner {
  transform: scale(1.05);
}

.expand-card__inner {
  width: 100%;
  /* padding: 20px 10px; */
  position: relative;
  cursor: pointer;
  font-size: 20px;
  color: #000000;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.expand-card__inner img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  vertical-align: middle;
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.05);
}

.expand-card__inner:after {
  transition: all 0.3s ease-in-out;
}

.expand-card__inner .fa {
  width: 100%;
  margin-top: 0.25em;
}

.expand-card__expander {
  transition: all 0.2s ease-in-out;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  color: #666666;
}

.expand-card__expander .fa {
  font-size: 0.75em;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.expand-card__expander .fa:hover {
  opacity: 0.9;
}

.expand-card.is-collapsed .expand-card__inner:after {
  content: "";
  opacity: 0;
}

.expand-card.is-collapsed .expand-card__expander {
  max-height: 0;
  min-height: 0;
  overflow: hidden;
  margin-top: 0;
  opacity: 0;
}

.expand-card.is-expanded .expand-card__inner {
  /* background-color: #E5EAE8; */
  background-color: #ffffff;
  box-shadow: 0 2px 5px 0 rgba(51, 58, 69, 1);
  color: #000000;
  padding: 15px;
  min-height: 365px;
}

.expand-card.is-expanded .expand-card__inner img {
  border-radius: 15px;
}

.expand-card.is-expanded .expand-card__inner:after {
  content: "";
  opacity: 1;
  display: block;
  height: 0;
  width: 0;
  position: absolute;
  bottom: -30px;
  left: calc(50% - 15px);
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 15px solid #333a45;
}

.expand-card.is-expanded .expand-card__inner .fa:before {
  content: "";
}

.expand-card.is-expanded .expand-card__expander {
  max-height: 1000px;
  min-height: 200px;
  overflow: visible;
  margin-top: 30px;
  opacity: 1;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.expand-card.is-expanded:hover .expand-card__inner {
  transform: scale(1);
}

.expand-card.is-inactive .expand-card__inner {
  pointer-events: none;
  opacity: 0.5;
}

.expand-card.is-inactive:hover .expand-card__inner {
  background-color: #ffffff;
  box-shadow: 0 2px 5px 0 rgba(51, 58, 69, 1);
  color: #666666;
  transform: scale(1);
}

.expand-card:nth-of-type(4n+2) .expand-card__expander {
  margin-left: calc(-110%);
}

.expand-card:nth-of-type(4n+3) .expand-card__expander {
  margin-left: calc(-220%);
}

.expand-card:nth-of-type(4n+4) .expand-card__expander {
  margin-left: calc(-330%);
}

.expand-card:nth-of-type(4n+5) {
  clear: left;
}

.expand-card__expander {
  width: calc(430%);
}

p.local-name {
  font-size: 16px;
  padding: 0px 10px;
  margin-bottom: 5px !important;
}

.expand-blog-card {
  display: flex;
  flex-direction: column;
  margin: 1rem auto;
  margin-bottom: 1.6%;
  line-height: 1.4;
  overflow: hidden;
  z-index: 0;
}

.expand-blog-card a {
  color: #000000;
}

.expand-blog-card a:hover {
  color: #84A687;
}

.expand-blog-card:hover .photo {
  -webkit-transform: scale(1.15) rotate(3deg);
  transform: scale(1.15) rotate(3deg);
}

.expand-blog-card .meta {
  position: relative;
  z-index: 0;
  height: 200px;
}

.expand-blog-card .photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

.expand-blog-card .description {
  padding: 10px 20px;
  position: relative;
}

.expand-blog-card .description h1 {
  line-height: 1.35;
  margin: 0;
}

.expand-blog-card .description h2 {
  font-size: 0.9rem;
  font-weight: 300;
  color: #000000;
  margin-top: 5px;
}

.expand-blog-card .description .expand-read-more {
  left: 0;
  right: 0;
  /* padding-top: 15px; */
  text-align: left;
  color: #666666;
}

.expand-blog-card .description .expand-read-more a {
  color: #000000;
  font-size: 16px;
}

.expand-blog-card .description .expand-read-more a:hover {
  color: #84A687;
  font-size: 16px;
}

.expand-blog-card .description .expand-read-more:after {
  content: "\27A4";
  font-family: FontAwesome;
  margin-left: -9px;
  opacity: 0;
  vertical-align: middle;
  transition: margin 0.3s, opacity 0.3s;
}

.expand-blog-card .description .expand-read-more:hover:after {
  margin-left: 10px;
  opacity: 1;
  color: #84A687;
}

.expand-blog-card p {
  position: relative;
  margin: 10px 0 0;
}

.expand-blog-card p:first-of-type {
  margin-top: 15px;
}

.expand-blog-card:hover .expand-details {
  left: 0%;
}

.expand-blog-tags {
  font-size: 16px;
}

.expand-blog-tags svg {
  font-size: 13px;
}

.expand-blog-post-meta {
  font-size: 17px;
}

.expand-blog-post-content {
  width: 100%;
  height: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* @media (min-width: 768px) {
  .expand-blog-card {
    flex-direction: row;
    min-height: 130px;
  }

  .expand-blog-card .meta {
    flex-basis: 30%;
    height: auto;
  }

  .expand-blog-card .description {
    flex-basis: 70%;
  }

  .expand-blog-card .description:before {
    -webkit-transform: skewX(-3deg);
    transform: skewX(-3deg);
    content: "";
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
  }

  .expand-blog-card.alt {
    flex-direction: row-reverse;
  }

  .expand-blog-card.alt .description:before {
    left: inherit;
    right: -10px;
    -webkit-transform: skew(3deg);
    transform: skew(3deg);
  }

  .expand-blog-card.alt .details {
    padding-left: 25px;
  }
} */


@media screen and (max-width: 767px) {

  /* .expand-card:nth-of-type(3n+2) .expand-card__expander {
    margin-left: calc(-100% - 30px);
  }

  .expand-card:nth-of-type(3n+3) .expand-card__expander {
    margin-left: calc(-200% - 60px);
  }

  .expand-card:nth-of-type(3n+4) {
    clear: left;
  }

  .expand-card__expander {
    width: calc(300% + 60px);
  } */
  .expand-card {
    width: 100%;
  }

  .expand-card:nth-of-type(4n+2) .expand-card__expander {
    margin-left: calc(0%);
  }

  .expand-card:nth-of-type(4n+3) .expand-card__expander {
    margin-left: calc(0%);
  }

  .expand-card:nth-of-type(4n+4) .expand-card__expander {
    margin-left: calc(0%);
  }

  .expand-card:nth-of-type(4n+5) {
    clear: left;
  }

  .expand-card__expander {
    width: calc(100%);
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  /* .expand-cards {
    width: 200%;
  } */

  .expand-card {
    margin: 15px;
    width: calc((100% / 2) - 30px);
    transition: all 0.2s ease-in-out;
  }

  .expand-card:nth-of-type(2n+2) .expand-card__expander {
    margin-left: calc(-130% + 60px);
  }

  .expand-card:nth-of-type(2n+3) .expand-card__expander {
    margin-left: calc(0%);
  }

  .expand-card:nth-of-type(2n+4) .expand-card__expander {
    margin-left: calc(-130% + 60px);
  }

  .expand-card:nth-of-type(2n+5) {
    clear: left;
  }

  .expand-card__expander {
    width: calc(210%);
  }
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
  /* .expand-card {
    margin: 15px;
    width: calc((100% / 3) - 30px);
    transition: all 0.2s ease-in-out;
  }

  .expand-card:nth-of-type(3n+2) .expand-card__expander {
    margin-left: calc(-100% - 30px);
  }

  .expand-card:nth-of-type(3n+3) .expand-card__expander {
    margin-left: calc(-200% - 60px);
  }

  .expand-card:nth-of-type(3n+4) .expand-card__expander {
    margin-left: calc(-0%);
  }

  .expand-card:nth-of-type(3n+5) {
    clear: left;
  }

  .expand-card__expander {
    width: calc(300% + 60px);
  } */

  .expand-card.is-expanded .expand-card__inner {
    min-height: 260px;
  }

  .expand-card {
    margin: 15px;
    width: calc((100% / 4) - 30px);
    transition: all 0.2s ease-in-out;
  }

  .expand-card:nth-of-type(4n+2) .expand-card__expander {
    margin-left: calc(-110%);
  }

  .expand-card:nth-of-type(4n+3) .expand-card__expander {
    margin-left: calc(-220%);
  }

  .expand-card:nth-of-type(4n+4) .expand-card__expander {
    margin-left: calc(-330%);
  }

  .expand-card:nth-of-type(4n+5) {
    clear: left;
  }

  .expand-card__expander {
    width: calc(430%);
  }
}



/* Sidebar
-------------------------------------- */
.blog-sidebar .col-md-6 {
  width: 50%;
}

.sticky ul {
  /* padding-left: 0px !important; */
  padding: 0 10px;
  line-height: 28px;
}

.sticky ol {
  list-style: decimal;
  line-height: 36px;
}

.sticky li {
  border-bottom: 1px dotted #666666;
  padding: 5px;
}

.sticky {
  margin-top: 20px;
  background: #f7f7f7;
  padding: 0 10px 5px 10px;
  flex-grow: 1;
  flex-basis: 500px;
  position: sticky;
  top: 4rem;
  /* center the text */
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 767px) {
  .sticky {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .sticky {
    display: none;
  }
}



/* Flex Card
-------------------------------------- */
.flex-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  vertical-align: middle;
  background-color: rgba(0, 0, 0, 0.15);
}

.flex-btn {
  background-color: #E5EAE8;
  border: 1px solid #cccccc;
  color: #000000;
  padding: 0.5rem;
  text-transform: lowercase;
  margin-top: auto;
}

.flex-btn:hover {
  /* background-color: #849F8C; */
  background-color: #84A687;
  color: #ffffff;
}

.flex-btn--block {
  display: block;
  width: 100%;
}

.flex-cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.flex-cards__item {
  display: flex;
  padding: 0.5rem;
  width: 25%;
}

@media screen and (max-width: 767px) {
  .flex-cards__item {
    width: 100%;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .flex-cards__item {
    width: 50%;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
  .flex-cards__item {
    width: 33.3333%;
  }
}

.flex-card {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.flex-card:hover .flex-card__image {
  filter: contrast(100%);
}

.flex-card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem;
}

.flex-card__image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  filter: contrast(75%);
  overflow: hidden;
  position: relative;
  transition: filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91);
}

.flex-card__image::before {
  content: "";
  display: block;
  /* padding-top: 56.25%; */
}

/* @media (min-width: 40rem) {
  .card__image::before {
    padding-top: 66.6%;
  }
} */

.flex-card__image--flowers {
  background-image: url(https://unsplash.it/800/600?image=82);
}

.flex-card__image--river {
  background-image: url(https://unsplash.it/800/600?image=11);
}

.flex-card__image--record {
  background-image: url(https://unsplash.it/800/600?image=39);
}

.flex-card__image--fence {
  background-image: url(https://unsplash.it/800/600?image=59);
}

.flex-card__title {
  color: #000000;
  font-size: 20px;
  margin-bottom: 5px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.flex-card__title.text-ellipsis {
  width: 100%;
  height: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

p.flex-meta {
  margin-bottom: 5px !important;
}

.flex-meta {
  font-size: 15px;
}

.flex-card__text {
  flex: 1 1 auto;
  line-height: 1.5;
  margin-bottom: 10px !important;
}

div.card-content.text-ellipsis p {
  width: 100%;
  height: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 7px !important;
}

p.flex-tags {
  width: 100%;
  padding-top: 5px;
  height: fit-content !important;
  margin-bottom: 8px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.flex-tags {
  font-size: 15px;
}

.flex-tags svg {
  font-size: 13px;
}

@media only screen and (max-width:767px) {
  .flex-card .text-ellipsis {
    height: fit-content;
    margin-bottom: 10px;
  }
}



/* Flex Card  -  Commu Page
-------------------------------------- */
.commu-flex-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  vertical-align: middle;
  background-color: rgba(0, 0, 0, 0.15);
}

.commu-flex-btn {
  background-color: #E5EAE8;
  border: 1px solid #cccccc;
  color: #000000;
  padding: 0.5rem;
  text-transform: lowercase;
  margin-top: auto;
}

.commu-flex-btn:hover {
  background-color: #84A687;
  color: #ffffff;
}

.commu-flex-btn--block {
  display: block;
  width: 100%;
}

.commu-flex-cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.commu-flex-card__title.text-ellipsis {
  width: 100%;
  height: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.commu-content-text.text-ellipsis p {
  width: 100%;
  height: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  margin-bottom: 7px !important;
}

.commu-flex-cards__item {
  display: flex;
  padding: 1rem;
  width: 25%;
}

@media screen and (max-width: 767px) {
  .commu-flex-cards__item {
    width: 100%;
  }

  .commu-flex-cards .text-ellipsis {
    height: fit-content;
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .commu-flex-cards__item {
    width: 50%;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
  .commu-flex-cards__item {
    width: 33.3333%;
  }
}

.commu-flex-card {
  background-color: white;
  border-radius: 0.25rem;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.commu-flex-card:hover .commu-flex-card__image {
  filter: contrast(100%);
}

.commu-flex-card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem;
}

.commu-flex-card__image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  filter: contrast(75%);
  overflow: hidden;
  position: relative;
  transition: filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91);
}

.commu-flex-card__image::before {
  content: "";
  display: block;
  /* padding-top: 56.25%; */
}

.commu-flex-card__title {
  color: #000000;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.commu-flex-card__text {
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}



/* Commu Info Page
---------------------------------------- */
label.field-title {
  text-decoration: underline;
  font-weight: 400;
}


/* Commu Tools
--------------------------------------- */
.tools-cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tools-card {
  background-color: white;
  border-radius: 0.25rem;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tools-card__item {
  display: flex;
  padding: 1rem;
  width: 25%;
}

.tools-card-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  vertical-align: middle;
}

.tools-info img {
  width: 100%;
  max-width: 600px;
  object-fit: cover;
  vertical-align: middle;
  padding: 20px;
}

.tools-title {
  padding: 15px 0px;
}

.tools-card-title {
  font-size: 18px;
  font-weight: 300;
  padding: 10px 15px 5px 15px;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  line-height: 26px;
  width: 100%;
  height: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tools-card-content {
  padding: 10px 15px;
  flex: 1 1 auto;
  line-height: 1.5;
  margin-bottom: 15px;
}

.tools-date {
  padding: 0px 15px 5px 15px;
  flex: 1 1 auto;
  margin-bottom: 8px;
  font-size: 14px;
}

.dl-button {
  border: 2px solid #cccccc;
  border-radius: 8px;
  width: fit-content;
  padding: 10px 15px;
}

.tab-content ol {
  list-style: decimal;
}

.tab-content ul {
  list-style: circle;
}

@media screen and (max-width: 767px) {
  .tools-card__item {
    width: 100%;
  }

  .tools-info img {
    max-width: 350px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .tools-card__item {
    width: 50%;
  }

  .tools-info img {
    max-width: 450px;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
  .tools-card__item {
    width: 33.3333%;
  }

  .tools-info img {
    max-width: 550px;
  }
}



/* Contact
------------------------------------- */
#contact iframe {
  min-height: 300px;
}


/* Pagination
------------------------------------- */
.pagination {
  flex-wrap: wrap;
}

.pagination li a,
.pagination li span {
  color: black;
  float: left;
  padding: 8px 15px !important;
  text-decoration: none;
  transition: background-color .3s;
  margin: 0 4px !important;
}

@media screen and (max-width: 767px) {
  .pagination {
    width: 100%;
    max-width: 370px;
  }
}


/* Mix It UP 
------------------------------------- */
.mix {
  display: none;
}

/* 
button.view-card {
  background: #29CEC0;
  border: none;
  color: #ffffff;
  padding: 0 7px;
  margin: 5px 0px;
  border-radius: 5px;
}

button.active {
  background: #F58402;
} */

.mix-btn {
  background-color: #E5EAE8;
  border: 1px solid #cccccc;
  border-radius: 8px;
  color: #000000;
  padding: 5px 10px;
  text-transform: lowercase;
  margin: 7px 5px;
}

.mix-btn:hover {
  background-color: #84A687;
  color: #ffffff;
}

.mix-btn.active {
  background-color: #84A687;
  color: #ffffff;
}



/* Article - Index Page  */
#article-section {
  background-color: #e6eae8;
}
.text-brand-orange { color: #f97316; }
.text-brand-black { color: #000000; }
.text-brand-grey { color: #666666; }
.bg-brand-blue { background-color: #1e40af; }
.hover-text-brand-black:hover { color: #849F8C !important; }

/* ซ่อน Scrollbar แต่ยังเลื่อนได้ */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Card Styles */
.article-card {
    min-width: 300px; /* ความกว้างขั้นต่ำบนมือถือ */
    width: 85%;
    /* border: 1px solid #eff1f4 !important; */
    transition: all 0.3s ease;
    cursor: pointer;
}

@media (min-width: 768px) {
    .article-card {
        min-width: 300px;
        width: 300px;
    }
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.article-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.article-content.text-ellipsis p {
  width: 100%;
  height: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 7px !important;
}
div.share-icon {
  text-align: center;
  margin-top: auto;
  margin-bottom: 5px;
}

/* Navigation Buttons */
.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #849F8C;
    background: #ffffff;
    color: #849F8C;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.nav-btn:hover {
    background-color: #000000;
    color: white;
    border-color: #000000;
}
a.article-view-all {
  color: #F58403;
}



/* Multimedia Section - Index Page */
.bg-brand-gradient { 
    /* background-color: #e5f2e9; */
    background-color: #CFDAD3;
    /* background: linear-gradient(140deg, #e2ebe5 0%, #819686 100%); */
}
.bg-orange {
  background-color: #F58403;
}
.text-brand-orange { color: #f97316; }
.media-font-display { 
  color: #ffffff; 
  font-weight: 400;
  width: 100%;
  height: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 7px !important;
}
/* Blur Background Decoration (Light Green Blob) */
.blur-blob {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    /* background-color: #c8e6d3; */
    opacity: 1;
    filter: blur(100px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Bento Grid Item Base Styles */
.bento-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 250px; /* ความสูงขั้นต่ำ */
    border: 1px solid rgba(255,255,255,0.1);
}

/* Specific Heights for Desktop Layout */
@media (min-width: 992px) {
    .h-lg-600 { height: 600px; }
    .h-lg-288 { height: 288px; } /* (600 - gap) / 2 */
}

/* Hover Effects */
.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.3);
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, opacity 0.3s ease;
    opacity: 0.6;
}

.bento-item:hover .bg-image {
    transform: scale(1.05);
    opacity: 1;
}
.bento-item .svg-inline--fa.fa-w-16 {
  width: 40px;
  height: 40px;
  color: #f97316 !important;
}

.play-icon {
    transition: transform 0.3s ease;
}
.bento-item:hover .play-icon {
    transform: scale(1.1);
}

/* Gradient Overlay for Text Readability */
.overlay-gradient {
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4), transparent);
}

/* Hover Border Utility */
.hover-border-orange:hover {
    border-color: #f97316 !important;
}
.start-90 {
  left: 90% !important;
}
.top-10 {
  top: 10% !important;
}



/* Announce - Index Page - ประกาศเชิญชวนหน้า Index*/
/* --- Option 5: Glassmorphism (กระจกฝ้า ทันสมัย) --- */
/* ต้องวางบนพื้นหลังที่มีสีสันถึงจะเห็นชัด */
.glass-container-mockup {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 20px;
    border-radius: 12px;
}
.glass-alert {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

/* --- Option 6: Modern Notification (Toast Style) --- */
.modern-toast-green {
    background: #f1f5f1;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(0,0,0,0.04);
    max-width: 90%;
    margin: 0 auto;
    transition: transform 0.2s ease;
}
.modern-toast-green:hover {
    transform: translateY(-2px);
}
.toast-green-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e9f7e9 0%, #bcd0be 100%);
    color: #84A687;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}
.modern-toast-orange {
    background: #ffe8d7;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(0,0,0,0.04);
    max-width: 90%;
    margin: 0 auto;
    transition: transform 0.2s ease;
}
.modern-toast-orange:hover {
    transform: translateY(-2px);
}
.toast-orange-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffcba6 0%, #ffb37d 100%);
    color: #f18131;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}
.modern-toast-yellow {
    background: #fff5d3;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(0,0,0,0.04);
    max-width: 90%;
    margin: 0 auto;
    transition: transform 0.2s ease;
}
.modern-toast-yellow:hover {
    transform: translateY(-2px);
}
.toast-yellow-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffedac 0%, #fde281 100%);
    color: #efc033;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}
.text-grey {
  color: #666666;
}
.btn-orange {
  background-color: #f97316;
  color: #ffffff;
}



/* Media Card - หน้ารวม */
.media-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.media-thumb {
    position: relative;
    padding-top: 100%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background-color: #eee;
}

.media-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
    transition: transform 0.5s ease;
}

.media-card:hover .media-thumb img {
    transform: scale(1.05);
}

.media-type-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.2); */
    z-index: 2;
}

/* .badge-video { background-color: #ef4444; }
.badge-audio { background-color: #8b5cf6; }
.badge-photo { background-color: #10b981; }
.badge-doc { background-color: #f59e0b; } */

.play-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-card:hover .play-overlay {
    opacity: 1;
}

/* .play-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    font-size: 1.25rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
} */

.media-body {
    padding: 1.25rem;
}
.media-body p {
  width: 100%;
  height: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 0px;
}

.media-meta {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}



/* Player Section  - หน้ารายละเอียด Multimedia */
.player-wrapper {
    background-color: #000;
    width: 100%;
    position: relative;
    /* padding-top: 56.25%; 16:9 Aspect Ratio */
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    margin-bottom: 2rem;
}

.player-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Media Info */
.media-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.media-meta {
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    /* gap: 1.5rem;
    margin-bottom: 1.5rem; */
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.action-btn {
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.action-btn:hover {
    transform: translateY(-2px);
}

/* Description Area */
.description-box {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* Sidebar Items */
.related-media-item {
    display: flex;
    gap: 1rem;
    /* margin-bottom: 1rem; */
    padding: 0.75rem;
    background: white;
    border-radius: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
}

.related-media-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: #e2e8f0;
}

.related-thumb {
    width: 120px;
    height: 68px; /* 16:9 approx */
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
    position: relative;
}

.duration-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0,0,0,0.8);
    color: white;
    font-size: 0.65rem;
    padding: 1px 4px;
    border-radius: 4px;
}


/* Horizontal Article Card - Article Card หน้ารวม */
.article-card-h {
    border: none;
    border-radius: 10px;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    height: 100%;
}

.article-card-h:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.article-img-col {
    position: relative;
    min-height: 200px;  
    padding-left: 0px !important;
}

.article-img {
    width: 100%;
    max-width: 375px;
    height: 100%;
    max-height: 250px;
    object-fit: cover;
    aspect-ratio: 1;
    transition: transform 0.5s ease;
}

.article-card-h:hover .article-img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--bs-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
    text-transform: uppercase;
}

.article-body {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.article-body .text-muted p {
  width: 100%;
  height: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 0px;
}

.article-body h3 {
    font-size: 20px;
}

.article-meta {
    font-size: 0.85rem;
    color: #6c757d;
    /* color: #84A687; */
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-meta a {
  color: #6c757d;
}

.article-meta a.active {
  color: #84A687;
}

.read-more {
    color: var(--bs-secondary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s;
}

.article-card-h:hover .read-more {
    gap: 0.75rem;
}

@media only screen and (max-width: 1023px) {
  /* .article-img {
    min-width: 200px;
  } */
  .article-img-col {
    padding-left: 0px !important;
  }
  .article-body {
      padding-top: 0px;
      padding-bottom: 0px;
  }
  .article-body .text-muted p {
    -webkit-line-clamp: 3;
  }
}
@media only screen and (max-width: 767px) {
  .article-img {
    width: 100%;
    height: 100%;
  }
  .article-img-col {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .article-body {
      padding-top: 20px;
      padding-bottom: 20px;
  }
  .article-body .text-muted p {
    -webkit-line-clamp: 3;
  }
}



/* Article Header - หน้ารายละเอียดบทความ  */
.article-header {
    padding: 3rem 0;
    background: white;
    border-bottom: 1px solid #eee;
}

.category-badge {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--bs-secondary);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* Article Content */
.article-content-info {
    font-size: 1.125rem; /* 18px */
    color: #4a5568;
    word-wrap: break-word; 
}

.article-content-info a {
    color: #84A687;
    text-decoration: none;
}
.article-content-info a:hover {
    color: #000000;
    text-decoration: none;
}

.article-content-info p {
    margin-bottom: 1.5rem;
}

.article-content-info img {
    width: 100%;
    height: auto;
    max-width: 700px;
}

.article-content-info ul {
    list-style: circle;
}

.article-lead {
    font-size: 1.35rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.article-image-container {
    margin: 2rem 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.article-image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #718096;
    margin-top: 0.5rem;
    font-style: italic;
}

blockquote {
    border-left: 4px solid var(--bs-secondary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #2d3748;
    font-size: 1.25rem;
    background: #fff7ed;
    padding: 2rem;
    border-radius: 0 1rem 1rem 0;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #eee;
    margin-bottom: 2rem;
    position: sticky;
    top: 6rem;
}

.related-card {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.related-card:hover {
    transform: translateX(5px);
}

.related-img {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
}

/* Author Box (Footer of article) */
.author-box {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 3rem;
    border: 1px solid #edf2f7;
}




/* W3 CSS
-------------------------------------- */
.w3-btn,
.w3-button {
  border: none;
  display: inline-block;
  padding: 12px 5px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: inherit;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}

.w3-button {
  margin-bottom: 0 !important;
  padding: 10px 20px;
  font-size: 20px;
}

.w3-button svg {
  margin-right: 10px;
  margin-top: 8px;
}

.subject-head,
.subject-head:hover {
  color: #000000 !important;
  background-color: #ebeaea !important;
}

.w3-block {
  display: block;
  width: 100%;
}

.w3-hide {
  display: none !important;
}

.w3-show-block,
.w3-show {
  display: block !important;
}

.w3-show-inline-block {
  display: inline-block !important;
}

.w3-hide-small {
  display: none !important;
}

.w3-mobile {
  display: block;
  width: 100% !important;
}

.w3-bar-item.w3-mobile,
.w3-dropdown-hover.w3-mobile,
.w3-dropdown-click.w3-mobile {
  text-align: center;
}

.w3-container:after,
.w3-container:before,
.w3-panel:after,
.w3-panel:before,
.w3-row:after,
.w3-row:before,
.w3-row-padding:after,
.w3-row-padding:before,
.w3-cell-row:before,
.w3-cell-row:after,
.w3-clear:after,
.w3-clear:before,
.w3-bar:before,
.w3-bar:after {
  content: "";
  display: table;
  clear: both;
}

.w3-container,
.w3-panel {
  padding: 0.01em 16px;
  background-color: #f5f5f5;
}

.w3-panel {
  margin-top: 16px;
  margin-bottom: 16px;
}

.ug-textpanel-title a {
  color: #e5e5e5;
}


/* @media (min-width:993px) {
  .w3-modal-content {
    width: 900px;
  }

  .w3-hide-large {
    display: none !important;
  }

  .w3-sidebar.w3-collapse {
    display: block !important;
  }
}

@media (max-width:992px) and (min-width:601px) {
  .w3-hide-medium {
    display: none !important;
  }
} */



/* 

ม่วงอ่อน  -  #A961F5
ม่วงเข้ม  -  #8E4DB3
เขียว  -  #29CEC0
ส้ม  - #F58402
น้ำตาล  -  #604D4D
เทาอ่อน  -  #F4F5F7

*/