 /* Core Style
 ----------------------------------- */
body {
  /* background-color: #f2f2f2; */
  background-color: #ffffff;
  /* font-family: "Noto Sans Thai", sans-serif; */
  font-family: "Sarabun", sans-serif;
  color: #666666;
  font-size: 18px;
  padding-bottom: 0;
  line-height: 30px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Kanit", sans-serif;
}
h1, h2, h3 {
  font-weight: 500;  
}
h4, h5, h6 {
  font-weight: 400;  
}
h1 {
  font-size: 32px;
}
h2 {
  font-size: 26px;
}
h3 {
  font-size: 22px;
}
h4 {
  font-size: 20px;
}
h5 {
  font-size: 18px;
}
h6 {
  font-size: 16px;
}
h6.thumbnail-ref{
  font-style: italic;
}
a {
  text-decoration: none;
  color: #751B19;
}
a:hover {
  text-decoration: none;
  color: #000000;
}
.view-all {
  margin: 30px 0;
  text-align: right;
}
.btn-primary {
  background-color: #212529;
  border: none;
  font-size: 16px;
  padding: 7px 12px;
}
.btn-primary:hover {
  background-color: #212529;
  border: none;
}
.center {
  text-align: center;
  vertical-align: middle;
}

@media screen and (max-width:767px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 22px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 19px;
  }
  h4 {
    font-size: 18px;
  }
  h5 {
    font-size: 17px;
  }
  h6 {
    font-size: 16px;
  }
}

@media screen and (min-width:768px) and (max-width:1023px) {
  body {
    font-size: 18px;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 21px;
  }
  h4 {
    font-size: 20px;
  }
  h5 {
    font-size: 19px;
  }
  h6 {
    font-size: 18px;
  }
}

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


}
.subject {
  color: #751B19;
  line-height: 20px;
  width: 100%;
  /* max-height: 75px !important; */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 26px;
}
.tags {
  color: #751B19;
  line-height: 20px;
  width: 100%;
  /* max-height: 75px !important; */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 26px;
}
.svg-inline--fa.fa-w-12{
  padding-right: 7px;
  width: 1.25em !important;
}
.svg-inline--fa.fa-w-20{
  padding-right: 5px;
  width: 1.3em !important;
}

.subject i {
  font-size: 15px;
  padding-right: 7px;
}
.tags i {
  font-size: 13px;
  padding-right: 5px;
}


/* Navbar
-------------------------------------- */
.navbar {
  background-color: #ffffff;
  font-family: "Kanit", sans-serif;;
}
.navbar-brand img {
  width: 100%;
  max-width: 90px;
  height: auto;
}
.nav-item a.nav-link {
  color: #000000;
}
.nav-item a:hover.nav-link {
  color: #751B19;
}
.nav-item a.nav-link:focus {
  color: #751B19;
}
ul.dropdown-menu {
  background-color: #751B19;
}
.navbar-toggler {
  background-color: #4d4d4d;
}
.dropdown-item {
  color: #ffffff;
}

@media only screen and (max-width:767px) {
  [data-bs-theme=dark] .navbar-toggler-icon {
    /* --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); */
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}
@media only screen and (min-width:768px) and (max-width:1023px) {
  [data-bs-theme=dark] .navbar-toggler-icon {
    /* --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); */
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}
@media only screen and (min-width:1024px) and (max-width:1200px) {
  [data-bs-theme=dark] .navbar-toggler-icon {
    /* --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); */
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
} 


/* Carousel
------------------------------------- */
.carousel-caption h1, h2 {
  color: #ffffff;
}
.carousel-text {
    top: 50%;
    left: 50%;
    text-align: center;
    color: #ffffff;
}
.carousel-item {
    height: 100%;
}
.carousel-caption {
  top: 75%;
  margin-bottom: 0;
}
.carousel-caption p {
  color: #ffffff;
}
.carousel-counter {
  position: absolute;
  right: 0;
  bottom: 2%;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-right: 15%;
  margin-bottom: 1rem;
  margin-left: 15%;
  text-align: center;
  color: #ffffff;
  font-weight: 300;
  font-size: 17px;
}



 /* Featurette Card
  ---------------------------------- */
.featurette img {
  width: 100%;
  max-width: 500px;
  object-fit: cover;
  aspect-ratio: 1;
}



/* Banner
------------------------------------ */
.carousel {
  margin-bottom: 0;
}
.carousel-inner {
  height: 100%;
  max-height: 850px;
  margin-top: 50px;
}
.carousel-item>img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 850px;
  object-fit: cover;
  transition: 0ms;
}
[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target], [data-bs-theme=dark].carousel .carousel-indicators [data-bs-target] {
  background-color: #ffffff;
}
@media screen and (max-width:767px) {
  .carousel-inner {
    height: 100%;
    max-height: 500px;
  }
  .carousel-item>img {
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    transition: 0ms;
  }
}
@media screen and (min-width:768px) and (max-width:1023px) {
  .carousel-inner {
    height: 100%;
    max-height: 550px;
  }
  .carousel-item>img {
    height: 100%;
    max-height: 550px;
    object-fit: cover;
    transition: 0ms;
  }
}
@media screen and (min-width:1024px) and (max-width:1200px) {
  .carousel-inner {
    height: 100%;
    max-height: 650px;
  }
  .carousel-item>img {
    height: 100%;
    max-height: 650px;
    object-fit: cover;
    transition: 0ms;
  }
}



/* Lesson Plan Card - Index
------------------------------------ */
#plan {
  margin-top: 70px;
}
.section-title {
  position: sticky;
}
.section-title h1 {
  color: #181818;
}
.section-title::before {
  position: absolute;
  content: "";
  height: 1px;
  width: 60%;
  right: 0;
  top: 60%;
  background: #9b9b9b;
  transform: translateY(-50%);
}
.plan-card-big {
  padding: 10px;
}
.plan-card-big:hover {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transition: all .4s ease-out;
}
.plan-card-img img {
  width: 100%;
  max-width: 610px;
  /* aspect-ratio: 1; */
  object-fit: contain;
  margin-bottom: 15px;
}
.row.card-big .plan-card-img {
  margin-bottom: 15px;
  text-align: center;
}
.row.card-small .plan-card-small {
  margin-bottom: 15px;
  text-align: center;
}
.row.card-big {
  padding: 10px;
}
.row.card-small {
  padding: 10px;
  margin-bottom: 20px;
}
.plan-card-small {
  padding: 10px;
}
.card-small:hover {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transition: all .4s ease-out;
}
.plan-card-small img {
  width: 100%;
  max-width: 240px;
  /* height: 175px; 
  aspect-ratio: 1;*/
  object-fit: contain;
  background-color: #000000;
}
.plan-card-small-content p.caption {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 28px;
  margin-bottom: 0 !important;
}
.plan-card-big p.caption {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 28px;
}

#plan .svg-inline {
  margin-top: 10px;
  width: 1em;
}
@media screen and (max-width:767px) {
  .svg-inline--fa {
    width: 1em;
  }

  .section-title::before {
    width: 40%;
  }

  .plan-card-big {
    margin-bottom: 15px;
  }

  .card-small {
    margin-bottom: 15px;
  }

  .plan-card-img img {
    width: 100%;
    max-width: 400px;
  }

  .plan-card-small img {
    width: 100%;
    max-width: 400px;
  }
}

@media screen and (min-width:768px) and (max-width:1023px) {
  .section-title::before {
    width: 40%;
  }
  .plan-card-big {
    margin-bottom: 15px;
  }
  .card-small {
    margin-bottom: 15px;
  }
  .plan-card-img img {
    width: 100%;
    max-width: 450px;
    background-color: transparent;
  }
  .plan-card-small img {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (min-width:1024px) and (max-width:1200px) {
  .plan-card-small img {
    width: 100%;
    max-width: 300px;
  }
}



/* Learning Resource Card - Index 
---------------------------------- */
#resource {
  /* background-color: #dddddd; */
  background-color: #efefef;
  padding-top: 70px;
  padding-bottom: 40px;
}
.resource-index {
  text-align: center;
}
.resource-index img {
  width: 100%;
  max-width: 400px;
  /* aspect-ratio: 1; */
  object-fit: contain;
  padding: 10px;
  margin-bottom: 15px;
}
.row.featurette {
  padding-top: 30px;
}
.resource-intro {
  padding: 30px 20px 15px 20px; 
}
.resource-intro h2 { 
  color: #404040;
}
.resource-intro p {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-height: 28px;
}



/* Count Number 
--------------------------------- */
#count-number {
  background-color: #212529;
  padding: 30px 0;
  text-align: center;
}
.end {
  margin-right: 0 !important;
}

.wrapper {
  margin: 0 auto;
  position: relative;
}
#count-number img {
  height: 100%;
  max-height: 90px;
  width: auto;
}
.counter {
  padding: 20px 0;
  border-radius: 5px;
  display: inline-block;
  max-width: 32.5%;
}
.count-title {
  font-size: 40px;
  font-weight: 600 !important;
  font-weight: normal;
  margin-top: 10px;
  margin-bottom: 0;
  text-align: center;
}
.count-text {
  font-size: 20px;
  font-weight: normal;
  margin-top: 10px;
  margin-bottom: 0;
  text-align: center;
}
p.count-text, p.count-text a {
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
}
.fa-2x {
  margin: 0 auto;
  float: none;
  display: table;
  font-size: 60px;
  color: #ffc400;
  /* color: #ab0600; */
}

@media (max-width: 767px) {
  .counter {
    max-width: 100%;
  }
}



/* Footer
---------------------------------- */
.footer-section {
  /* background-color: #212529; */
  background-color: #efefef;
  padding: 70px;
  color: #8b8b8b;
}
.footer-section li {
  list-style: none;
}
.footer-section a{
  color: #8b8b8b;
}
.ml-address {
  display: flex;
}
.footer-section .link-icon img {
 height: 100%;
 max-height: 80px;
 padding: 0 15px 15px 0;
}


/* Activity
----------------------------------- */
#activity {
  padding-top: 70px;
  padding-bottom: 40px;
}
#activity ul.activity-card-index {
  padding-left: 0px;
}
.activity-card-index {
  display: -moz-flex;
  display: flex;
  flex-wrap: wrap;
  -moz-justify-content: flex-start;
  justify-content: flex-start;
  max-width: 100%;
}
.activity-card-index-item {
  display: -moz-flex;
  display: flex;
  -moz-flex-grow: 0;
  flex-grow: 0;
  padding: 5px;
  list-style: none;
  transition: width 0.4s ease-in-out, flex 0.4s ease-in-out;
  width: 25%;
}
.activity-card {
  display: -moz-flex;
  display: flex;
  -moz-flex-direction: column;
  flex-direction: column;
  background-color: #fafafa;
  border: 1px solid #e7e7e7;
  border-radius: 2px;
  padding: 15px;
  margin-bottom: 10px;
}
.activity-card:hover {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  transition-duration: 0.5s;
}
.activity-card img {
  display: block;
  overflow: hidden;
  height: 100%;
  margin: 0 auto;
  margin-bottom: 20px;
  max-width: 100%;
  width: 100%;
  transition: transform 1s ease-in;
}
.activity-card-image img {
  width: 100%;
  height: 280px;
  aspect-ratio: 1;
  object-fit: cover;
}
.activity-card-image {
  margin-bottom: 20px;
}
.activity-card-heading {
  line-height: 30px;
}
.activity-card-content-index {
  display: -moz-flex;
  display: flex;
  -moz-flex-direction: column;
  flex-direction: column;
  -moz-flex: 1 0 auto;
  flex: 1 0 auto;
}
.activity-card-content-index p {
  -moz-flex: 1 0 auto;
  flex: 0 0 auto;
  letter-spacing: 0.25px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 28px;
  margin-bottom: 0 !important;
  margin-top: 15px;
}
@media only screen and (max-width: 767px) {
  .activity-card-index-item {
    width: 100%;
  }
  .activity-card-image img {
    height: 350px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .activity-card-index-item {
    width: 50%;
  }
  .activity-card-image img {
    height: 320px;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .activity-card-index-item {
    width: 33.33%;
  }
  .activity-card-image img {
    height: 280px;
  }
}



/* Activity Relate Content
----------------------------------- */
#activity-relate {
  padding-top: 40px;
  padding-bottom: 40px;
}
#activity-relate ul.activity-relate-card-page {
  padding-left: 0px;
}
.activity-relate-card-page {
  display: -moz-flex;
  display: flex;
  flex-wrap: wrap;
  -moz-justify-content: flex-start;
  justify-content: flex-start;
  max-width: 100%;
}
.activity-relate-card-item {
  display: -moz-flex;
  display: flex;
  -moz-flex-grow: 0;
  flex-grow: 0;
  padding: 5px;
  list-style: none;
  transition: width 0.4s ease-in-out, flex 0.4s ease-in-out;
  width: 25%;
}
.activity-relate-card {
  display: -moz-flex;
  display: flex;
  -moz-flex-direction: column;
  flex-direction: column;
  background-color: #fafafa;
  border: 1px solid #e7e7e7;
  border-radius: 2px;
  padding: 15px;
  margin-bottom: 10px;
}
.activity-relate-card:hover {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  transition-duration: 0.5s;
}
.activity-relate-card img {
  display: block;
  overflow: hidden;
  height: 100%;
  margin: 0 auto;
  margin-bottom: 20px;
  max-width: 100%;
  width: 100%;
  transition: transform 1s ease-in;
}
.activity-relate-card-image img {
  width: 100%;
  height: 280px;
  aspect-ratio: 1;
  object-fit: cover;
}
.activity-relate-card-image {
  margin-bottom: 20px;
}
.activity-relate-card-heading {
  line-height: 30px;
}
.activity-relate-card-content {
  display: -moz-flex;
  display: flex;
  -moz-flex-direction: column;
  flex-direction: column;
  -moz-flex: 1 0 auto;
  flex: 1 0 auto;
}
.activity-relate-card-content p {
  -moz-flex: 1 0 auto;
  flex: 0 0 auto;
  letter-spacing: 0.25px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 28px;
  margin-bottom: 0 !important;
  margin-top: 15px;
}
@media only screen and (max-width: 767px) {
  .activity-relate-card-item {
    width: 100%;
  }
  .activity-relate-card-image img {
    height: 350px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .activity-relate-card-item {
    width: 50%;
  }
  .activity-relate-card-image img {
    height: 320px;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .activity-relate-card-item {
    width: 33.33%;
  }
  .activity-relate-card-image img {
    height: 280px;
  }
}



/* Lesson Plan Page
------------------------------------ */
.plan-grid {
  display: grid;
  width: 100%;
  grid-gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.plan-grid .plan-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: 0.2s;
}
.plan-grid .plan-card:hover {
  transform: translateY(-0.5%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.plan-grid .plan-card__img {
  display: block;
  width: 100%;
  height: 300px;
  /* aspect-ratio: 1; */
  object-fit: contain;
}
.plan-grid .plan-card__content {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-row-gap: 1px;
  padding: 15px;
  height: 100%;
}
.plan-grid .plan-card__header {
  color: #0d0d0d;
}
.plan-grid .plan-card__text {
  -moz-flex: 1 0 auto;
  flex: 0 0 auto;
  letter-spacing: 0.25px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 28px;
  margin-bottom: 0;
}
.plan-grid .plan-card__btn {
  display: block;
  width: 100%;
  padding: 15px;
  text-align: center;
  color: #3363ff;
  background-color: #e6ecff;
  border: none;
  border-radius: 10px;
  transition: 0.2s;
  cursor: pointer;
}
.plan-grid .plan-card__btn span {
  margin-left: 10px;
  transition: 0.2s;
}
.plan-grid .plan-card__btn:hover, .plan-grid .plan-card__btn:active {
  background-color: #dce4ff;
}
.plan-grid .plan-card__btn:hover span, .plan-grid .plan-card__btn:active span {
  margin-left: 15px;
}



/* Plan Page -- Accordion Filter
--------------------------------- */
div.tap {
  width: 300px;
}
.plan-tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.plan-tab__content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
  margin-bottom: 15px;
  /* padding-top: 10px; */
  border: 1px solid #cccccc;
}
.plan-tab input:checked~.plan-tab__content {
  max-height: 100%;
}
.plan-accordion {
  color: var(--theme);
  border: 2px solid;
  border-radius: 0.5rem;
  overflow: hidden;
}
.plan-tab__label,
.plan-tab__close {
  display: flex;
  color: #ffffff;
  background: var(--theme);
  cursor: pointer;
}
.plan-tab__label {
  justify-content: space-between;
  padding: 10px 15px;
}
.plan-tab__label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transform: rotate(90deg);
  transition: all 0.35s;
}
.plan-tab input:checked+.plan-tab__label::after {
  transform: rotate(270deg);
}
.plan-tab__content p {
  margin: 0;
  padding: 15px;
}
.plan-tab__content ul {
  padding-left: 15px !important;
  margin-bottom: 5px !important;
}
.plan-tab__close {
  justify-content: flex-end;
  padding: 10px 15px;
  font-size: 18px;
}
.plan-accordion--radio {
  --theme: var(--secondary);
}
@keyframes bounce {
  25% {
    transform: rotate(90deg) translate(0.25rem);
  }
  75% {
    transform: rotate(90deg) translate(-0.25rem);
  }
}
.plan-tab__label {
  background-color: #751B19;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}
.plan-tab__content span.count {
  float: right;
  padding-right: 20px;
}
.plan-tab__content ul li {
  list-style: none;
  font-size: 16px;
}



/* Learning Resource Page 
---------------------------------- */
.resource-page {
  margin: 0 0 15px 5px;
  border: 1px solid #efefef;
}
.resource-page:hover {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}
.resource-card-page img {
  width: 100%;
  /* max-width: 400px; 
  aspect-ratio: 1;*/
  object-fit: contain;
  padding: 15px 5px;
  margin-left: auto;
  margin-right: auto;
}
.resource-card-text {
  padding: 15px; 
}
.resource-card-text h2 { 
  color: #404040;
}
.resource-card-text p {
  -moz-flex: 1 0 auto;
  flex: 0 0 auto;
  letter-spacing: 0.25px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 28px;
}


/* Resource Page -- Accordion Filter
--------------------------------- */
div.tap {
  width: 300px;
}
.resource-tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.resource-tab__content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
  margin-bottom: 15px;
  /* padding-top: 10px; */
  border: 1px solid #cccccc;
}
.resource-tab input:checked~.resource-tab__content {
  max-height: 100%;
}
.resource-accordion {
  color: var(--theme);
  border: 2px solid;
  border-radius: 0.5rem;
  overflow: hidden;
}
.resource-tab__label,
.resource-tab__close {
  display: flex;
  color: #ffffff;
  background: var(--theme);
  cursor: pointer;
}
.resource-tab__label {
  justify-content: space-between;
  padding: 10px 15px;
}
.resource-tab__label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transform: rotate(90deg);
  transition: all 0.35s;
}
.resource-tab input:checked+.resource-tab__label::after {
  transform: rotate(270deg);
}
.resource-tab__content p {
  margin: 0;
  padding: 15px;
}
.resource-tab__content ul {
  padding-left: 15px !important;
  margin-bottom: 5px !important;
}
.resource-tab__close {
  justify-content: flex-end;
  padding: 10px 15px;
  font-size: 18px;
}
.resource-accordion--radio {
  --theme: var(--secondary);
}
@keyframes bounce {
  25% {
    transform: rotate(90deg) translate(0.25rem);
  }
  75% {
    transform: rotate(90deg) translate(-0.25rem);
  }
}
.resource-tab__label {
  background-color: #751B19;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}
.resource-tab__content span.count {
  float: right;
  padding-right: 20px;
}
.resource-tab__content ul li {
  list-style: none;
  font-size: 16px;
}


/* Activity Page
----------------------------------- */
#activities-page {
  padding-top: 50px;
  padding-bottom: 20px;
}
.activity-page {
  display: -moz-flex;
  display: flex;
  flex-wrap: wrap;
  -moz-justify-content: flex-start;
  justify-content: flex-start;
  max-width: 100%;
}
#activities-page ul {
  padding-left: 5px;
}
.activity-card-page-item {
  display: -moz-flex;
  display: flex;
  -moz-flex-grow: 0;
  flex-grow: 0;
  padding: 5px;
  list-style: none;
  transition: width 0.4s ease-in-out, flex 0.4s ease-in-out;
  width: 33.33%;
}
.activity-card-page {
  display: -moz-flex;
  display: flex;
  -moz-flex-direction: column;
  flex-direction: column;
  background-color: #fafafa;
  border: 1px solid #e7e7e7;
  border-radius: 2px;
  padding: 15px;
  margin-bottom: 10px;
}
.activity-card-page:hover {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  transition-duration: 0.5s;
}
.activity-card-page img {
  display: block;
  overflow: hidden;
  height: 100%;
  margin: 0 auto;
  margin-bottom: 20px;
  max-width: 100%;
  width: 100%;
  transition: transform 1s ease-in;
}
.activity-card-page-image img {
  width: 100%;
  height: 280px;
  aspect-ratio: 1;
  object-fit: cover;
}
.activity-card-page-image {
  margin-bottom: 10px;
}
.activity-card-page-heading {
  -moz-flex: 1 0 auto;
  flex: 0 0 auto;
  letter-spacing: 0.25px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-height: 28px;
  margin-bottom: 10px;
}
.activity-card-page-content {
  display: -moz-flex;
  display: flex;
  -moz-flex-direction: column;
  flex-direction: column;
  -moz-flex: 1 0 auto;
  flex: 1 0 auto;
}
.activity-card-page-content p {
  -moz-flex: 1 0 auto;
  flex: 0 0 auto;
  letter-spacing: 0.25px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 28px;
  margin-bottom: 0 !important;
  margin-top: 10px;
}
@media only screen and (max-width: 767px) {
  .activity-card-page-item {
    width: 100%;
  }
  .activity-card-page-image img {
    height: 350px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .activity-card-page-item {
    width: 100%;
  }
  .activity-card-page-image img {
    height: 320px;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .activity-card-page-item {
    width: 50%;
  }
  .activity-card-page-image img {
    height: 280px;
  }
}



/* Resource Card - Info Page
----------------------------------- */
#view-resource {
  padding-top: 50px;
  padding-bottom: 40px;
}
#view-resource ul.resource-card-info {
  padding-left: 0px;
}
#view-resource h2 {
  color: #404040;
  padding-bottom: 10px;
}
#view-resource h6 {
  padding-bottom: 10px;
}
.resource-thumb img {
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  height: auto;
  /* max-height: 500px; */
  margin: 0 auto;
  margin-bottom: 20px;
  padding-bottom: 20px;  
  transition: transform 1s ease-in;
  object-fit: contain;
}
.resource-card-info {
  display: -moz-flex;
  display: flex;
  flex-wrap: wrap;
  -moz-justify-content: flex-start;
  justify-content: flex-start;
  max-width: 100%;
}
.resource-card-info-item {
  display: -moz-flex;
  display: flex;
  -moz-flex-grow: 0;
  flex-grow: 0;
  padding: 5px;
  list-style: none;
  transition: width 0.4s ease-in-out, flex 0.4s ease-in-out;
  width: 25%;
}
@media only screen and (max-width: 767px) {
  .resource-card-info-item {
      width: 100%;
  }
  .resource-thumb img {
    max-width: 370px;
    max-height: 370px;
  }
  #view-resource h6 {
    padding-bottom: 5px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .resource-card-info-item {
      width: 50%;
  }
  .resource-thumb img {
    max-width: 450px;
    max-height: 380px;
  }
  #view-resource h6 {
    padding-bottom: 5px;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .resource-card-info-item {
      width: 33.33%;
    }
}
.resource-card {
  display: -moz-flex;
  display: flex;
  -moz-flex-direction: column;
  flex-direction: column;
  background-color: #fafafa;
  border: 1px solid #e7e7e7;
  border-radius: 2px;
  padding: 15px;
  margin-bottom: 10px;
}
.resource-card:hover {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  transition-duration: 0.5s;
}
.resource-card img {
  display: block;
  overflow: hidden;
  height: 100%;
  margin: 0 auto;
  margin-bottom: 20px;
  max-width: 100%;
  width: 100%;
  transition: transform 1s ease-in;
}
.resource-card-image {
  margin-bottom: 20px;
}
.resource-card-heading {
  line-height: 30px;
}
.resource-card-content {
  display: -moz-flex;
  display: flex;
  -moz-flex-direction: column;
  flex-direction: column;
  -moz-flex: 1 0 auto;
  flex: 1 0 auto;
}
.resource-card-content p {
  -moz-flex: 1 0 auto;
  flex: 0 0 auto;
  letter-spacing: 0.25px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 28px;
  margin-bottom: 0 !important;
  margin-top: 15px;
}



/* Resource Relate Content
----------------------------------- */
#resource-relate {
  padding-top: 20px;
  padding-bottom: 40px;
}
#resource-relate ul.resource-relate-card-page {
  padding-left: 0px;
}
.resource-relate-card-page {
  display: -moz-flex;
  display: flex;
  flex-wrap: wrap;
  -moz-justify-content: flex-start;
  justify-content: flex-start;
  max-width: 100%;
}
.resource-relate-card-item {
  display: -moz-flex;
  display: flex;
  -moz-flex-grow: 0;
  flex-grow: 0;
  padding: 5px;
  list-style: none;
  transition: width 0.4s ease-in-out, flex 0.4s ease-in-out;
  width: 25%;
}
.resource-relate-card {
  display: -moz-flex;
  display: flex;
  -moz-flex-direction: column;
  flex-direction: column;
  background-color: #fafafa;
  border: 1px solid #e7e7e7;
  border-radius: 2px;
  padding: 15px;
  margin-bottom: 10px;
}
.resource-relate-card:hover {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  transition-duration: 0.5s;
}
.resource-relate-card img {
  display: block;
  overflow: hidden;
  height: 100%;
  margin: 0 auto;
  margin-bottom: 10px;
  max-width: 100%;
  width: 100%;
  transition: transform 1s ease-in;
}
.resource-relate-card-image img {
  width: 100%;
  height: 280px;
  aspect-ratio: 1;
  object-fit: cover;
}
.resource-relate-card-image {
  margin-bottom: 20px;
}
.resource-relate-card-heading {
  line-height: 30px;
}
.resource-relate-card-content {
  display: -moz-flex;
  display: flex;
  -moz-flex-direction: column;
  flex-direction: column;
  -moz-flex: 1 0 auto;
  flex: 1 0 auto;
}
.resource-relate-card-content p {
  -moz-flex: 1 0 auto;
  flex: 0 0 auto;
  letter-spacing: 0.25px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 28px;
  margin-bottom: 0 !important;
  margin-top: 15px;
}
@media only screen and (max-width: 767px) {
  .resource-relate-card-item {
    width: 100%;
  }
  .resource-relate-card-image img {
    height: 350px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .resource-relate-card-item {
    width: 50%;
  }
  .resource-relate-card-image img {
    height: 320px;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .resource-relate-card-item {
    width: 33.33%;
  }
  .resource-relate-card-image img {
    height: 280px;
  }
}



/* View Activity Info Page
----------------------------------- */
#view-activity {
  padding-top: 50px;
  padding-bottom: 40px;
}
#view-activity h2 {
  color: #404040;
  padding-bottom: 10px;
}



/* View Plan Info Page
----------------------------------- */
#view-plan {
  padding-top: 50px;
  padding-bottom: 20px;
}
#view-plan h2 {
  color: #404040;
}



/* Plan Relate Content
----------------------------------- */
#plan-relate {
  padding-top: 20px;
  padding-bottom: 40px;
}
#plan-relate ul.plan-relate-card-page {
  padding-left: 0px;
}
.plan-relate-card-page {
  display: -moz-flex;
  display: flex;
  flex-wrap: wrap;
  -moz-justify-content: flex-start;
  justify-content: flex-start;
  max-width: 100%;
}
.plan-relate-card-item {
  display: -moz-flex;
  display: flex;
  -moz-flex-grow: 0;
  flex-grow: 0;
  padding: 5px;
  list-style: none;
  transition: width 0.4s ease-in-out, flex 0.4s ease-in-out;
  width: 25%;
}
.plan-relate-card {
  display: -moz-flex;
  display: flex;
  -moz-flex-direction: column;
  flex-direction: column;
  background-color: #fafafa;
  border: 1px solid #e7e7e7;
  border-radius: 2px;
  padding: 15px;
  margin-bottom: 10px;
}
.plan-relate-card:hover {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  transition-duration: 0.5s;
}
.plan-relate-card img {
  display: block;
  overflow: hidden;
  height: 100%;
  margin: 0 auto;
  margin-bottom: 20px;
  max-width: 100%;
  width: 100%;
  transition: transform 1s ease-in;
}
.plan-relate-card-image img {
  width: 100%;
  height: 280px;
  aspect-ratio: 1;
  object-fit: cover;
}
.plan-relate-card-image {
  margin-bottom: 20px;
}
.plan-relate-card-heading {
  line-height: 30px;
}
.plan-relate-card-content {
  display: -moz-flex;
  display: flex;
  -moz-flex-direction: column;
  flex-direction: column;
  -moz-flex: 1 0 auto;
  flex: 1 0 auto;
}
.plan-relate-card-content p {
  -moz-flex: 1 0 auto;
  flex: 0 0 auto;
  letter-spacing: 0.25px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 28px;
  margin-bottom: 0 !important;
  margin-top: 15px;
}
@media only screen and (max-width: 767px) {
  .plan-relate-card-item {
    width: 100%;
  }
  .plan-relate-card-image img {
    height: 350px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .plan-relate-card-item {
    width: 50%;
  }
  .plan-relate-card-image img {
    height: 320px;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .plan-relate-card-item {
    width: 33.33%;
  }
  .plan-relate-card-image img {
    height: 280px;
  }
}


/* About Page
----------------------------------- */
#view-about {
  padding-top: 50px;
  padding-bottom: 80px;
} 
#view-about h2, h3 {
  color: #404040;
  padding-bottom: 10px;
} 
#view-about h6 {
  padding-bottom: 10px;
}
#view-about ul li {
  list-style: none;
}
.about-museum h2 {
  padding: 30px;
}
.about-museum p {
  text-indent: 60px;
  word-wrap: break-word;
  padding: 20px 30px;
}
.about-museum img {
  display: block;
  width: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 1s ease-in;
  object-fit: cover;
}
.about-logo {
  display: flex;
}
.about-text p {
  padding: 10px 30px;
  text-indent: 60px;
  word-wrap: break-word;
}
.about-text img {
  display: block;
  width: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 1s ease-in;
  object-fit: cover;
}
.about-caption {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.about-caption p {
  text-align: left;
  text-indent: 60px;
  word-wrap: break-word;
}
.about-caption img {
  display: inline-block;
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 20px 30px;
  transition: transform 1s ease-in;
  object-fit: cover;
}
.google-map iframe {
  width: 100%;
  min-height: 400px;
}
@media only screen and (max-width: 767px) {
  .about-caption img {
    margin: 10px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .about-caption img {
    margin: 15px;
  }
}


/* Team Page
------------------------------------ */
.at-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background: #FFF;
  /* border: 1px solid #E2E9ED; */
}
.at-grid[data-column="1"] .at-column {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  flex-basis: 100%;
}
.at-grid[data-column="2"] .at-column {
  width: 50%;
  max-width: 50%;
  min-width: 50%;
  flex-basis: 50%;
}
.at-grid[data-column="3"] .at-column {
  width: 33.3333333333%;
  max-width: 33.3333333333%;
  min-width: 33.3333333333%;
  flex-basis: 33.3333333333%;
}
.at-column {
  z-index: 0;
  position: relative;
  background: #FFF;
  box-shadow: 0 0 0 1px #E2E9ED;
  padding: 10px;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, transform 0.2s ease, z-index 0s 0.2s ease;
}
.at-column:before {
  content: "";
  display: block;
  padding-top: 100%;
}
.at-column:hover {
  z-index: 1;
  box-shadow: 0 8px 50px rgba(0, 0, 0, 0.2);
  /* transform: scale(1.05); */
  transition: box-shadow 0.2s ease, transform 0.2s ease, z-index 0s 0s ease;
}
@media only screen and (max-width: 767px) {
  .at-column {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    flex-basis: 100% !important;
  }
  .at-user__avatar {
    width: 100px;
    height: 100px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .at-column {
    width: 50% !important;
    max-width: 50% !important;
    min-width: 50% !important;
    flex-basis: 50% !important;
  }
  .at-user__avatar {
    width: 130px;
    height: 130px;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .at-column {
    width: 33.33% !important;
    max-width: 33.33% !important;
    min-width: 33.33% !important;
    flex-basis: 33.33% !important;
  }
  .at-user__avatar {
    width: 130px;
    height: 130px;
  }
}
.at-user {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translate(0, -50%);
  text-align: center;
}
.at-user__avatar {
  width: 200px;
  height: 200px;
  border-radius: 100%;
  margin: 0 auto 20px;
  overflow: hidden;
}
.at-user__avatar img {
  display: block;
  width: 100%;
  max-width: 100%;
}
.at-user__name {
  color: #313435;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}
.at-user__title {
  color: #6F808A;
  font-size: 16px;
  line-height: 26px;
}
ul.office-contact {
  padding-left: 0;
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
}



/* Search Box
----------------------------------- */
.form-group {
  padding: 0;
  margin-bottom: 20px;
}
.form-control {
  background-color: #ffffff;
  color: #666666;
}
.form-control::placeholder{
  color: #666666;
}
.form-control:active ,.form-control:hover, .form-control:focus {
  background-color: #ffffff;
  color: #666666;
  box-shadow: none;
  border-color: #000000;
}
.has-search .form-control {
  padding-left: 30px;
}

.has-search .form-control-feedback {
  position: absolute;
  z-index: 10;
  display: block;
  width: 30px;
  height: 30px;
  line-height: 40px;
  padding-top: 14px;
  text-align: center;
  pointer-events: none;
  color: #666666;
}


/* Popup 
---------------------------------- */
.popup {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 100%;
  height: 100%;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  overflow: hiden;
  transition: 0.64s ease-in-out;
}
.popup-inner {
  position: relative;
  bottom: -100vw;
  right: -100vh;
  display: grid;
  align-items: center;
  max-width: 70%;
  max-height: 70%;
  width: 100%;
  height: 100%;
  background-color: #fff;
  transform: rotate(32deg);
  transition: 0.64s ease-in-out;
}
.popup__photo {
  display: flex;
  justify-content: center;
  /* align-items: flex-end; */
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin-top: 30px;
}
.popup__photo img {
  /* width: 100%; */
  height: 100%;
  /* object-fit: cover; */
}
.popup__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 30px;
}
.popup__text h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 30px 0;
  text-transform: uppercase;
  color: #0A0A0A;
}
.popup__text p {
  font-size: 0.875rem;
  color: #686868;
  line-height: 1.5;
}
.popup:target {
  visibility: visible;
  opacity: 1;
}
.popup:target .popup-inner {
  bottom: 0;
  right: 0;
  transform: rotate(0);
}
.popup__close {
  position: absolute;
  right: -1rem;
  top: -1rem;
  width: 3rem;
  height: 3rem;
  font-size: 0.875rem;
  font-weight: 300;
  border-radius: 100%;
  background-color: #0A0A0A;
  z-index: 4;
  color: #fff;
  line-height: 3rem;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}
@media only screen and (max-width: 767px) {
  .popup__photo img {
  width: 100%;
  /* height: 100%; */
  }
}




/* Unite Gallery
----------------------------- */
.ug-gallery-wrapper.ug-theme-default {
  min-width: 310px !important;
}


/* Gallery Cover
--------------------------------- */
.snip1579 {
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: 0 10px 10px 10px;
  max-width: 200px;
  width: 100%;
  height: 200px;
  background-color: #000000;
  color: #ffffff;
  text-align: left;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
.snip1579 * {
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.snip1579 img {
  width: 100%;
  height: 100%;
  vertical-align: middle;
  object-fit: cover;
}
.snip1579 figcaption {
  position: absolute;
  height: 75px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  overflow: hidden;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #ffffff;
}
.snip1579 h5 {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  margin: 3px 0;
  color: #ffffff;
}
.snip1579 h6 {
  font-weight: 300;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  color: #bbb;
  letter-spacing: 0.5px;
}
.snip1579 blockquote {
  padding: 0;
  margin: 0;
  font-style: italic;
  font-size: 16px;
  width: 100%;
  height: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.snip1579 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.snip1579:hover figcaption,
.snip1579.hover figcaption {
  height: calc(85%);
}
@media only screen and (max-width: 767px) {
  .snip1579 {
    max-width: 165px;
    height: 165px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .snip1579 {
    max-width: 200px;
    height: 200px;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .snip1579 {
    max-width: 200px;
    height: 200px;
  }
}


/* Content
------------------------------- */
.article-text, .article-reference  {
  background-color: #f9f9f9ef;
  padding: 20px 30px;
}
.article-text p {
  /* text-indent: 60px; */
  text-align: left;
  word-wrap: break-word;
  margin-bottom: 10px;
}
.article-text h3 {
  padding: 10px 0;
}
.article-reference p {
  word-wrap: break-word;
}
.article-text img {
  display: block;
  width: 100%;
  max-width: 600px;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
}
.video-content iframe {
  width: 100%;
  max-width: 750px;
  height: 520px;
}
@media only screen and (max-width: 767px) {
  .article-text {
    padding: 20px;
  }
  .video-content iframe {
    width: 100%;
    max-width: 380px;
    height: 250px;
  }
  .article-text img {
    text-align: center;
    width: 100%;
    max-width: 350px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .article-text {
    padding: 20px;
  }
  .video-content iframe {
    width: 100%;
    max-width: 550px;
    height: 420px;
  }
  .article-text img {
    text-align: center;
    width: 100%;
    max-width: 550px;
  }
}


/* Table
------------------------------ */
.table {
  margin: 0 0 40px 0;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: table;
  --bs-table-color: #751B19;
  --bs-table-bg: none;
}
@media screen and (max-width: 767px) {
  .table {
    display: block;
  }
}
.table-row {
  display: table-row;
  background: #f6f6f6;
}
.table-row:nth-of-type(odd) {
  background: #e9e9e9;
}
.table-row.header {
  font-weight: 500;
  color: #ffffff;
  background: #751B19;
}
@media screen and (max-width: 767px) {
  .table-row {
    padding: 14px 0 7px;
    display: block;
  }
  .table-row.header {
    padding: 0;
    height: 6px;
  }
  .table-row.header .cell {
    display: none;
  }
  .table-row .cell {
    margin-bottom: 10px;
  }
  .table-row .cell:before {
    margin-bottom: 3px;
    content: attr(data-title);
    min-width: 120px;
    font-size: 14px;
    line-height: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #969696;
    display: block;
    word-wrap: break-word;
  }
}
.cell {
  padding: 6px 12px;
  display: table-cell;
}
.cell i {
  font-weight: 300;
  background-color: transparent;
}
.cell .fas {
  font-weight: 500;
  background-color: none;
}
@media screen and (max-width: 767px) {
  .cell {
    padding: 2px 16px;
    display: block;
  }
}


/* View Plan Accordion
------------------------------------- */
.plan-container {
  background-color: #f6f6f6;
}
.plan-content {
  padding: 30px 40px;
}
.plan-acc-container {
  width: 100%;
  margin: auto;
  margin-bottom: 10px;
}
.acc-group {
  border: 1px solid #8a8a8a;
  margin-bottom: 10px;
  background-color: #ffffff;
}
.plan-acc-container .acc-body {
  width: 98%;
  width: calc(100% - 20px);
  margin: 0 auto;
  height: 0;
  color: rgba(0, 0, 0, 0);
  background-color: rgba(255, 255, 255, 0.2);
  line-height: 28px;
  padding: 0 20px;
  box-sizing: border-box;
  transition: 0.5s;
}  
.plan-acc-container label {
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
  padding: 15px;
  width: 100%;
  color: #4a4a4a;
  font-weight: 400;
  box-sizing: border-box;
  z-index: 100;
} 
.plan-acc-container input {
  display: none;
}  
.plan-acc-container label:before {
  font-family: "FontAwesome";
  content: "\f067";
  font-weight: bolder;
  float: left;
  padding-right: 15px;
}  
.plan-acc-container input:checked + label {
  background-color: rgba(255, 255, 255, 0.15);
}  
.plan-acc-container input:checked + label:before {
  font-family: "FontAwesome";
  content: "\f00d";
  transition: 0.5s;
}  
.plan-acc-container input:checked ~ .acc-body {
  height: auto;
  color: #4a4a4a;
  font-size: 16px;
  padding: 20px;
  transition: 0.5s;
}


/* Breadcrumb
-------------------------------------- */
#breadcrumb {
  /* padding-top: 20px; */
  padding-bottom: 50px;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 1rem 0 0 0;
  list-style: none;
}
.breadcrumb-list li {
  font-family: Athiti, sans-serif;
  font-size: 15px;
  letter-spacing: 0.125rem;
  text-transform: uppercase;
}
.breadcrumb-item a {
  font-weight: 500;
  color: #751B19;
  text-decoration: none;
}
.breadcrumb-item a:hover {
  color: #000000;
  text-decoration: none;
}
.breadcrumb-item.active {
  color: #000000;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  display: inline-block;
  padding: 0 0.5rem;
  color: #751B19;
}


/* Page Title
-------------------------------------- */
.page-title {
  position: relative;
  height: 200px;
  background-color: #751B19;
  font-family: Athiti, sans-serif;
}
.page-title .page-title-image {
  position: absolute;
  width: 100%;
  height: 200px;
}
.page-title .page-title-image img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  filter: contrast(0.7);
}
.page-title .title-wrapper {
  width: 80%;
  left: 10%;
  right: 10%;
  position: relative;
  padding-top: 100px;
  /* padding-bottom: 150px; */
}
.page-title .title-name {
  letter-spacing: 2px;
  font-size: 40px;
  margin: 0 0 20px;
  text-align: center;
  color: #Ffffff;
}
@media screen and (max-width: 767px) {
  .page-title .title-wrapper {
    padding-top: 110px;
  }
  .page-title .title-name {
    font-size: 30px;
  }
}


/* Search Page - Dropdown Search */
#search-page {
  padding-top: 50px;
  padding-bottom: 80px;
} 
.m-smart-search input[type=text] {
  border: 1px solid #cccccc;
  padding: 10px;
  margin: 0;
  display: inline-block;
  vertical-align: middle;
  line-height: 1.2em;
}
.m-smart-search button, .m-smart-search [class^=btn-] {
  background: #751B19;
  color: #ffffff;
  border: 1px solid #751B19;
  padding: 10px 15px;
  margin-left: calc(-.25em - 1px);
  vertical-align: middle;
  line-height: 22px;
  display: inline-block;
  cursor: pointer;
}
.m-smart-search button i, .m-smart-search [class^=btn-] svg {
  width: 28px;
  vertical-align: top;
  padding-left: 8px;
}
.m-smart-search .btn-dropdown {
  background: #efefef;
  color: #404040;
  border-color: #cccccc;
  margin-right: calc(-.25em - 1px);
  position: relative;
}
.m-smart-search .btn-dropdown .dropdown-content {
  display: none;
  position: absolute;
  top: calc(2.2em);
  left: -1px;
  min-width: 160px;
  min-height: 30px;
  background: inherit;
  border: inherit;
}
.m-smart-search .btn-dropdown ul {
  padding-left: 0px;
}
.m-smart-search .btn-dropdown .dropdown-content li {
  padding: 8px 15px;
  display: block;
  white-space: nowrap;
  color: #404040;
  text-align: left;
}
.m-smart-search .btn-dropdown .dropdown-content li.active {
  color: #404040;
}
.m-smart-search .btn-dropdown .dropdown-content li:hover {
  background: #999999;
  color: #ffffff;
}
.m-smart-search .search-field {
  min-width: 320px;
  background-color: #f1f1f1;
  color: #404040;
}
.result-item {
  margin: 20px 20px 20px 0;
  padding: 30px;
  border: 1px solid #eeeeee;
}
.result-item h2 {
  color: #404040;
}
.result-item .fa-2x {
  margin: 0 auto;
  float: none;
  display: table;
  font-size: 60px;
  color: #4f4f4f;
}
.result-item img {
  width: 100%;
  max-width: 60px;
  height: auto;
}
@media  screen and (max-width: 767px) {
  .result-item .fa-2x {
    display: none;
  }
  .result-item img {
    display: none;
  }
  .result-item {
    padding:  30px 30px 30px 20px;
  }
}
@media  screen and (min-width: 768px) and (max-width: 1023px) {
  .result-item .fa-2x {
    font-size: 50px;
  }
  .result-item img {
    max-width: 50px;
  }
  .result-item {
    padding:  30px 30px 30px 20px;
  }
}