:root {
    --cassiopeia-color-primary: #000;
    --cassiopeia-color-link: #2b5770;
    --link-color: #378343;
    --link-color-rgb: 112, 43, 53;
    --cassiopeia-color-hover: #000;
    --link-hover-color: #c3282b;
    --link-hover-color-rgb: 195, 40, 43;
}
a {font-weight: 700;}

/* Header styling */
.container-header {
    box-shadow: 0 0 32px rgb(0 0 0 / 6%), 0 4px 8px rgb(0 0 0 / 16%);
    background-image: none;
    background-color: #fff;
}
.container-header .container-nav {
    padding-bottom: .5em;
}
.container-header .container-nav nav {
    margin-top: 0px;
}
.container-header .navbar-toggler {
    color: #378343;
    border: 1px solid #378343;
}

@media (min-width: 992px) {
 .container-header .container-nav nav {
    margin-left: auto;
    margin-right: auto;
 }
}

.metismenu.mod-menu .metismenu-item>a {font-weight: 600; color: #000;}
.metismenu.mod-menu .metismenu-item>a:hover {color: #ffffff; text-decoration: none;}
.metismenu.mod-menu .metismenu-item:hover {
  /*border: 2px solid #378343;*/
  border-radius: 10px;
  background-color: #378343;
}

/* Offcanvas menu styling */
@media (max-width: 991.98px) {
    .offcanvas {
        max-width: 80%;
   }
}
/*.offcanvas {
    background-color: var(--cassiopeia-color-primary);
}
.offcanvas.showing, .offcanvas.hiding, .offcanvas.show {
    border: 1px solid #ffa62e;
}
.offcanvas-header .btn-close {
   background-color: #ffa62e;
}
*/

/* Content styling */
h1 {
  background-color: #214e28;
  color: #fff;
  padding: 15px;
  margin: 0 0 20px 0;
  border-radius: 5px;
}
.top-home {margin: 0}
h2 {
  background-color: #2c6835;
  color: #fff;
  padding: 15px;
  margin: 40px 0 20px 0;
  border-radius: 5px;
}
h2 a {
  color: #fff;
}
.item-title h2 {margin:0;}
.page-header h2 a {text-decoration:none;}
h3 {
  background-color: #378343;
  color: #fff;
  padding: 15px;
  margin: 40px 0 20px 0;
  border-radius: 5px;
}
h4 {
  background-color: #F0F0F0;
  color: #265b2e;
  padding: 15px;
  margin: 40px 0 20px 0;
  border-radius: 5px;
  border: solid 1px #265b2e;
}

/*.photo-credit {
  margin-top: -10px;
  color: #333;
  font-size: 14px;
  font-style: italic;
  text-align: center;
}*/
.gygw {
  border: solid 1px #378343;
  border-radius: 5px;
  padding: 10px;
  background-color: #d7e6d9;
  margin-bottom: 20px;
}
li {
  padding-bottom: 10px;
}
.readmore {
    text-align: center;
    padding-top: 10px;
}
.readmore .btn-secondary {
    background-color: #c3282b;
}
.readmore .btn-secondary:hover {
    background-color: #214e28;
}
.readmore a {
    color: #fff;
}
.readmore a:hover {
    color: #fff;
}

/*remove icons from article info*/
span.icon-calendar::before {content: "";}
span.icon-user::before {content: "";}

/*article info in one line*/
dl.article-info {
  display: inline-flex;
  font-size: 0.8em;
  border-bottom: 1px solid grey;
}
dl.article-info a {
  color: black;
}
.author-block {
  padding: 30px 10px;
  font-size: 0.9em;
}
.author-block a {
  color: black;
  text-decoration: none;
}
.author-photo {
  padding-bottom: 20px;
}


/* Right sidebar styling */
body.wrapper-fluid .site-grid {
  grid-template-columns: [full-start] minmax(0,1fr) [main-start] minmax(0,0%) minmax(0,30%) minmax(0,30%) minmax(0,40%) [main-end] minmax(0,1fr) [full-end]
}
div.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 70px;
  z-index: 0;
  border: solid 1px #378343;
  border-radius: 5px;
  padding: 10px;
  background-color: #d7e6d9;
}
h3.sticky {
  margin: 0 0 20px 0;
}

/* Bottom styling 
.back-to-top-link {
    background-color: #010f6d;
    border: 2px solid #010f6d;
}
.back-to-top-link:hover {
    color: #010f6d;
    border: 2px solid #010f6d;
}*/

/* Homepage styling */
@media (min-width: 992px) {
.frontphoto {
  height: 100vh;
background: linear-gradient(
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.3)
    ), url('https://thaifoodclass.com/images/headers/thai-food-class-desktop.webp') no-repeat center;
background-size: cover;}
}
@media (max-width: 991.98px) {
.frontphoto {
  height: 100vh;
background: linear-gradient(
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.3)
    ), url('https://thaifoodclass.com/images/headers/thai-food-class-mobile.webp') no-repeat center;
background-size: cover;}
}
.frontcenter {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.frontbutton {
  padding: .5rem 1rem; 
  border: 2px solid #ffffff; 
  border-radius: 10px; 
  background: #214e28; 
  text-decoration: none; 
  color: #fff; 
  font-size: 1.3em; 
  font-weight: bold; 
  margin-top: 2em;
  text-align: center;
}
.dropdown-menu {
    background-color: #ebf2ec;
    border: 2px solid #378343;
}
.dropdown-item {
    font-weight: 600;
    color: #000000; 
}
.dropdown-item:hover {
  background: #378343; 
  color: #ffffff; 
}
.fronttext {
  font-family: var(--cassiopeia-font-family-headings);
  font-weight: var(--cassiopeia-font-weight-headings,700);
  color: white;
  text-transform: uppercase;
  margin: 0;
  position: absolute;
  top: 25%;
  left: 50%;
  font-size: 2.5rem;
  transform: translate(-50%, -50%);
  text-align: center;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}