/*!
Theme Name: BP Sustainability
Theme URI: https://teambscs.com
Author: BSC Software Co.,Ltd.
Author URI: https://teambscs.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bp-sustainability
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

BP Sustainability is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
  padding: 0;
  font-family: "HCo Gotham SSm";
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

p {
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 300;
}

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  font-weight: 300;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: 500;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  appearance: button;
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
  border-color: #d8dee3 !important;
  border-radius: 8px !important;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  appearance: textfield;
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

.masked-text input {
  font-family: "text-security-disc";
  -webkit-text-security: disc;
  /* Chrome/Safari */
  text-security: disc;
  /* Firefox (not fully supported) */
}

.masked-text input::placeholder {
  font-family: "HCo Gotham SSm", "Kittithada", "Chuan Pim", Arial, Helvetica,
    sans-serif !important;
  -webkit-text-security: none !important;
  text-security: none !important;
  color: #999;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li>ul,
li>ol {
  margin-bottom: 0;
  margin-left: 1px;
}

dt {
  font-weight: 500;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

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

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #6b6f75;
  text-decoration: none;
}

/* 
a:visited {
  color: #800080;
} */

a:hover,
a:focus,
a:active {
  color: #00b79a;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

input:disabled {
  background: #E5EAEF !important;
  color: #6B6F75;             
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Customized by BSCS
--------------------------------------------------------------*/

/* Header
--------------------------------------------- */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: 75px;
  box-shadow: 0px 4px 40px rgba(11, 14, 69, 0.15);
}

.header-container {
  display: flex;
  flex: 1;
  max-width: 1300px;
  justify-content: space-between;
  align-items: center;
  padding: 9px 20px;
  background-color: #fff;
  /* Adjust as needed */
}

.header-container-menu {
  display: flex;
}

.site-logo img {
  height: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
  margin-left: 30px;
}

.main-navigation .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.main-navigation .menu li {
  margin: 0 10px;
  text-align: center;
}

.main-navigation .menu a {
  text-decoration: none;
  color: #4b339a;
  padding: 25px 0 30px;
}

.main-navigation .menu a:hover {
  opacity: 1;
  color: #00b79a;
}

/* Highlight the current menu item */
.main-navigation .menu .current-menu-item>a,
.main-navigation .menu .current-menu-ancestor>a,
.main-navigation .menu .current-page-ancestor>a {
  color: #00b79a;
  opacity: 1;
}

.header-extras .hamburger {
  display: none;
}

.header-extras {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.search-trigger span {
  text-decoration: none;
  color: #868b90;
  font-size: 24px;
  margin-top: 5px;
}

.header-extras .hamburger,
.header-extras {
  text-decoration: none;
  font-size: 26px;
  color: #868b90;
}

.header-extras .hamburger:hover,
.header-extras .search-trigger span:hover {
  color: #00b79a;
  /* Adjust hover color */
}

/* Dropdown Menu Styling */
.main-navigation .menu li {
  position: relative;
}

.main-navigation .menu li ul {
  position: absolute;
  top: 46px;
  left: 0;
  background-color: #fff;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px inset;
  border-radius: 0 0 20px 20px;
  display: none;
  padding: 20px;
  z-index: 10;
  min-width: 400px;
  transition: background-color 0.3s ease-in-out 3s;
}

.main-navigation .menu li:hover ul {
  display: block;
}

/* Multi-Column Support for Large Menus */
.main-navigation .menu li ul:has(li:nth-child(9)) {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
}

.main-navigation .menu li ul li:nth-child(1) {
  grid-column: 1 / -1;
}

.main-navigation .menu li:hover ul:has(li:nth-child(9)) {
  display: grid;
}

.main-navigation .menu li ul li {
  display: block;
  margin-bottom: 20px;
  text-align: left;
}

.main-navigation .menu li ul li a {
  color: #6b6f75;
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
  white-space: nowrap;
}

.main-navigation .menu li ul li a:hover,
.main-navigation .menu .sub-menu .current-menu-item a:hover {
  color: #00b79a;
}

.main-navigation .menu .sub-menu .current-menu-item a {
  color: #333;
}

.menu-checkbox,
.main-navigation-sidebar,
.header-extras .close-menu {
  display: none;
}

.layout-language {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 15px;
}

.btn-primary-lang {
  margin: 0 4px;
  padding: 5px;
  height: 38px;
  border: none;
  border-radius: 5px;
  background: #f4f5f6;
  color: #6b6f75 !important;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.layout-language .btn-primary-lang:hover,
.layout-language .active,
.layout-language-mobile .btn-primary-lang:hover,
.layout-language-mobile .active {
  border: none;
  background: #4b339a;
  color: #ffffff !important;
}

#trp-floater-ls {
  display: none;
}

/* Footer
--------------------------------------------- */
.site-footer {
  display: flex;
  justify-content: center;
  background-color: #fff;
}

.footer-content {
  width: 100%;
  max-width: 1300px;
  padding: 20px 20px 0;
  font-size: 12px;
  color: #6b6f75;
}

.footer-wrapper {
  margin: 0 auto;
  display: flex;
  /* flex-wrap: wrap; */
  padding-bottom: 40px;
}

.footer-wrapper-address {
  max-width: max(20%, 300px);
}

.footer-logo img {
  width: 150px;
}

.footer-contact {
  flex: 1 1 300px;
  margin-bottom: 20px;
}

.footer-contact h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #6b6f75;
}

.footer-contact p {
  margin: 5px 0;
  line-height: 1.5;
  color: #6b6f75;
}

.footer-contact a {
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px;
  margin-left: 20px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
}

.footer-bottom p {
  color: #6b6f75;
}

.footer-policies {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  justify-content: end;
  flex-wrap: wrap;
}

.footer-icon-image {
  margin: 0 5px;
  text-decoration: none;
}

.footer-icon-image>img {
  padding: 5px;
  height: 36px;
  max-width: 36px;
}

.footer-policies li {
  margin: 0 10px;
}

.footer-policies li a {
  text-decoration: none;
}

.footer-navigation {
  display: flex;
}

.footer-navigation a {
  text-decoration: none;
  color: #6b6f75;
  font-weight: 500;
}

.footer-navigation .sub-menu a {
  font-weight: 300;
}

.footer-menu {
  /* INFO: Version 1 */
  /* display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-height: 260px;
  row-gap: 20px;
  column-gap: 40px; */

  /* INFO: Version 2 */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 10px;
  column-gap: 20px;
}

.footer-menu .menu-item {
  margin: 0;
}

.footer-menu .menu-item a:hover {
  color: #00b79a;
}

.footer-menu .sub-menu {
  margin-left: 0;
  padding-left: 0;
}

.footer-menu,
.footer-secondary-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li,
.footer-secondary-links li {
  display: block;
  margin: 0 10px;
}

/* Feedback Bubble
--------------------------------------------- */
.feedback-bubble,
.feedback-bubble:focus {
  position: fixed;
  right: 0;
  top: 320px;
  transform: translateY(-50%) rotate(180deg);
  background-color: #10ade7;
  color: white;
  padding: 10px;
  border-radius: 0 8px 8px 0;
  /* font-weight: bold; */
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
  white-space: nowrap;
}

.feedback-bubble:hover {
  background-color: #00b79a;
  color: white;
  text-decoration: none;
}

/* Content
--------------------------------------------- */
.content-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.site-main {
  flex: 1;
  width: 100%;
}

/* Text Color
--------------------------------------------- */
.text-black {
  color: #333333;
}

.text-purple {
  color: #4b339a;
}

.text-green {
  color: #00b79a;
}

/* Plugin: Spectra
--------------------------------------------- */
.uagb-container-inner-blocks-wrap {
  max-width: 1300px !important;
}

.uagb-container-inner-blocks-wrap {
  justify-content: space-between !important;
}

.uagb-tabs__body-wrap {
  border-radius: 0 !important;
}

.uagb-tabs-list.uagb-tabs__icon-position-left {
  text-decoration: none;
}

.uagb-block-877af88a.wp-block-uagb-image .wp-block-uagb-image__figure figcaption {
  text-align: left;
  font-size: 16px;
}

/* Custom wglanguage */
.wglanguage-name {
  display: none !important;
}

/*//! Tab Indicator Spectra */
.step-indicator-tabs {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.tabs-rounded #whistle_blowing_form_reporting_the_grievance .step-indicator-tabs .uagb-tabs__panel,
.step-indicator-tabs .uagb-tabs__panel {
  margin-bottom: 10px !important;
  /* padding: 10px 10px 20px 20px !important; */
  width: 100%;
  display: flex !important;
  justify-content: space-between !important;
  background: #fff;
  border-radius: 30px !important;
  overflow-x: auto;
}

.step-indicator-tabs .uagb-tabs__panel {
  align-items: baseline !important;
}

.step-indicator-tabs .uagb-tab {
  border: none !important;
  color: #4b339a;
  transition: all 0.3s ease;
  background: transparent !important;
}

.step-indicator-tabs .uagb-tab:hover {
  border: none !important;
  background: none !important;
}

.step-indicator-tabs .uagb-tab:hover a div {
  background: none !important;
  color: #4b339a !important;
}

.step-indicator-tabs .uagb-tab:hover a .circle-number {
  background: #eef6ff !important;
  border: 1px solid !important;
  color: #10ade7 !important;
}

.tabs-rounded #whistle_blowing_form_reporting_the_grievance .step-indicator-tabs .uagb-tabs__active,
.tabs-rounded #whistle_blowing_form_reporting_the_grievance .step-indicator-tabs .uagb-tabs__active a,
.step-indicator-tabs .uagb-tabs__active {
  background: transparent !important;
  color: #10ade7 !important;
}

.step-indicator-tabs .uagb-tabs__body-wrap {
  border: none !important;
  background: #fff;
  border-radius: 30px !important;
}

.step-indicator-tabs ul li a {
  display: flex !important;
  flex-direction: column !important;
}

.circle-number {
  width: 45px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: #eef6ff;
  border: 1px solid;
  border-radius: 50%;
  color: #10ade7;
}

.uagb-tabs__active a .circle-number {
  background: #10ade7;
  color: #fff;
}

.uagb-forms-main-submit-button-wrap {
  display: none !important;
}

.bg-dash {
  border: 1px solid #d1d3d2;
  border-style: dashed;
  position: absolute;
  top: 50px;
  left: 10%;
  width: 80%;
}

.wp-block-uagb-forms-radio label {
  display: flex;
}

.uagb-forms-radio-wrap input[type="radio"]+label::before {
  margin-top: 4px;
  flex-shrink: 0;
}

#website_whistleblowing_grievance_details_country input[type="radio"]+label::before,
.website_whistleblowing_confidentiality input[type="radio"]+label::before {
  margin-top: 10px;
}

.uagb-forms-radio-wrap input[type="radio"] {
  display: block;
}

.wp-block-uagb-forms-radio br {
  display: none;
}

.form-radio-country,
#remain-anonymous .uagb-forms-main-form div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.form-radio-country label,
#remain-anonymous .uagb-forms-main-form div label {
  width: 50%;
  line-height: 35px;
}

.form-radio-country input,
#remain-anonymous .uagb-forms-main-form div input {
  width: 0;
  visibility: collapse;
}

.file-upload-wrapper label {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.custom-file-upload {
  display: flex;
  align-items: center;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  font-size: 16px;
  color: #4b339a;
  width: 100%;
  transition: border-color 0.3s;
}

.custom-file-upload:hover {
  border-color: #cbd5e0;
}

.custom-file-upload div {
  background: #d8dee3;
  padding: 10px 2px 10px 12px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.custom-file-upload div svg {
  margin-right: 12px;
  flex-shrink: 0;
  fill: #4b339a;
  width: 24px;
  height: 24px;
}

.custom-file-upload span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px 12px;
}

.file-upload-wrapper input[type="file"] {
  display: none;
}

.uagb-forms-input {
  background: #fff !important;
}

.follow_up_success {
  display: none;
}

.wp-block-uagb-forms-name input {
  border-radius: 10px !important;
  border-color: #d8dee3;
}

.uagb-tab:hover {
  background: #00b79a !important;
  color: #fff !important;
}

.uagb-tab:hover a div {
  color: #fff !important;
}

/*//! Tabs Default */
.tabs-default {
  border: none !important;
}

.tabs-default ul {
  border-bottom: 1px solid #d1d3d2;
}

.tabs-default ul .uagb-tab,
.tabs-default ul .uagb-tabs__active {
  min-height: 102px;
}

/*//! Tabs Rounded */
.tabs-rounded {
  border: none !important;
}

.tabs-rounded .uagb-tabs__panel {
  padding: 10px !important;
  background: #f4f5f6;
  border-radius: 50px !important;
  box-shadow: 0px 4px 40px 0px #0b0e4526;
  gap: 10px;
}

.tabs-rounded .uagb-tab {
  min-width: 300px;
  margin: 0 !important;
  min-height: max-content;
  border-radius: 50px !important;
  background: #ffffff;
}

.tabs-rounded .uagb-tabs__active {
  min-height: max-content;
  background: #10ade7;
  border-radius: 50px !important;
}

.tabs-rounded.uagb-tabs-body__active {
  padding-top: 20px;
  padding-left: 0px;
  padding-right: 0px;
}

.tabs-rounded .uagb-tabs-body__active .wp-block-list {
  margin: 0 -10px;
  font-weight: 300;
}

/*//! Card Image */
/* .card-image{
  border-radius: 40px;
}

.card-image:hover{
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
} */

.uagb-image-caption {
  text-align: left !important;
}

.wp-block-uagb-image--layout-overlay__inner .uagb-image-caption {
  display: none;
}

.wp-block-uagb-image--layout-overlay__inner .uagb-image-heading {
  transition: none;
  transform: none;
}

.wp-block-uagb-image__figure:hover .wp-block-uagb-image--layout-overlay__color-wrapper {
  opacity: 0 !important;
}

/* Button Disabled */
.uagb-forms-main-submit-button:disabled {
  background: red;
  color: #fff;
}

/* Custom Cookie */
.cky-consent-bar {
  border-radius: 40px 40px 0 0 !important;
}

.cky-btn-customize {
  border-radius: 30px !important;
  border: 2px solid #fff !important;
  color: #fff !important;
}

.cky-btn-accept {
  border-radius: 30px !important;
}

.cky-preference-center {
  background: #fff !important;
  color: #6b6f75 !important;
}

.cky-footer-shadow {
  background: #fff !important;
}

.cky-preference-title {
  color: #4b339a !important;
}

.cky-modal {
  max-width: 80% !important;
  border-radius: 40px !important;
}

.cky-preference-center {
  background: #fff !important;
  border-radius: 40px !important;
}

.cky-preference-content-wrapper {
  color: #6b6f75 !important;
}

.cky-preference-header {
  justify-content: center !important;
}

.cky-modal .cky-preference-center .cky-footer-wrapper .cky-prefrence-btn-wrapper .cky-btn-accept {
  color: transparent !important;
  position: relative;
}

.cky-modal .cky-preference-center .cky-footer-wrapper .cky-prefrence-btn-wrapper .cky-btn-accept::after {
  content: "Confirm";
  color: #fff !important;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.cky-preference-header,
.cky-accordion,
.cky-preference-content-wrapper {
  border-bottom: none !important;
}

.cky-footer-shadow,
.cky-btn-close,
.cky-btn-preferences,
.cky-accordion-wrapper,
.cky-accordion-header-wrapper {
  display: none !important;
  border-top: none !important;
  border-bottom: none !important;
}

.cky-prefrence-btn-wrapper .cky-btn {
  max-width: 299px !important;
}

.cky-prefrence-btn-wrapper {
  padding: 20px 20px 24px !important;
  border-top: none !important;
}

.link-privacy {
  color: #10ade7;
}

#whistle_blowing_success,
#whistle_blowing_error,
#website_follow_up_success,
#website_follow_up_error {
  display: none;
}

/* .sustainability-button-graphic {
  width: 80% !important;
} */

.sustainability-button-graphic,
.wp-block-uagb-container.uagb-block-d5801fe8 {
  background-size: 100% 100% !important;
}

.sustainability-button-graphic .icon-sustainability {
  width: 25% !important;
  height: auto !important;
  padding: 20px;
}

.sustainability-button-graphic .wp-block-uagb-image__figure img {
  width: 100% !important;
  height: auto !important;
}

.item-right .uagb-container-inner-blocks-wrap {
  align-self: flex-end;
}

.icon-sustainability div .wp-block-uagb-image__figure img {
  filter: invert(81%) sepia(49%) saturate(3281%) hue-rotate(243deg) brightness(88%) contrast(91%);
}

.sustainability-button-graphic div div p {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.layout-icon-radius {
  position: relative;
  min-width: 170px;
  max-height: 130px !important;
}

.circle-icon-image {
  position: absolute;
  top: -50px;
  max-width: 100px !important;
  max-height: 100px !important;
}

/* Search
--------------------------------------------- */
/**
 * Dialog
 */
#search-popup {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 45px;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  box-shadow: inset 0 2px 8px rgba(11, 14, 69, 0.15),
    0px 2px 3px rgba(11, 14, 69, 0.15);
  z-index: 1;
  /* overflow: hidden; */
}

/* Inner content container */
#search-popup .search-popup-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/**
 * AJAX Search Lite Style Override
 */

/* Wrapper and centering */
#ajaxsearchlite1 {
  max-width: 1000px;
  margin: 0 auto;
}

/* Style input box */
#ajaxsearchlite1 .probox {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background: #fff !important;
  border: 1px solid #10ade7 !important;
  border-radius: 28px !important;
  box-shadow: none;
  overflow: hidden;
  color: #4b339a !important;
}

#ajaxsearchlite1 .probox .proinput input,
div.asl_w .probox .proinput input,
div.asl_w .probox .proinput .orig {
  color: #4b339a !important;
  font-size: 16px !important;
}

div.asl_w .probox .proinput input::placeholder {
  color: #bfbebe;
}

div.asl_m .probox .proclose svg {
  fill: #4b339a !important;
}

.promagnifier {
  margin-right: 8px !important;
}

div.asl_w .probox .promagnifier .innericon svg {
  fill: #bfbebe !important;
}

div.asl_w .probox .promagnifier .innericon svg:hover {
  fill: #00b79a !important;
}

div.asl_m .probox .proclose svg {
  background: none !important;
  border: 1px solid #4b339a !important;
}

div.asl_w .probox .proclose svg:hover {
  fill: #00b79a !important;
  border: 1px solid #00b79a !important;
}

/* Custom dialog search  */
#ajaxsearchliteres1 {
  left: 0 !important;
  box-shadow: 0px 2px 3px rgba(11, 14, 69, 0.15) !important;
  margin-top: 1px !important;
}

#ajaxsearchliteres1 .results {
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 50px !important;
  padding-right: 50px !important;
}

div.asl_r.vertical {
  width: 100% !important;
  border-radius: 0 0 80px 80px !important;
  box-shadow: 0 0 3px -4px rgba(0, 0, 0, 0.3) !important;
}

div[id*="ajaxsearchliteres"].wpdreams_asl_results .results img.asl_image {
  width: 100px !important;
  height: 100% !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 8px !important;
}

div.asl_r .results .item .asl_content h3,
div.asl_r .results .item .asl_content h3 a {
  color: #000 !important;
  font-size: 14px !important;
}

div.asl_r .results .item .asl_content:hover h3,
div.asl_r .results .item .asl_content:hover h3 a,
div.asl_r .results .item .asl_content:hover .asl_desc {
  color: #00b79a !important;
}

div.asl_r .results .item .asl_content {
  padding-top: 10px !important;
  padding-bottom: 0;
}

div.asl_r.asl_w.vertical .results .item::after {
  height: 0 !important;
}

div.asl_r .results .item .asl_content .asl_desc {
  display: -webkit-box !important;
  line-clamp: 2 !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

div.asl_r p.showmore span {
  border: none !important;
  margin: 20px 0 !important;
  font-size: 16px !important;
  text-decoration: underline;
  color: #10ade7 !important;
}

div.asl_r p.showmore span:hover {
  color: #00b79a !important;
}

.reset-our-business:hover .icon-reset {
  background: #fff;
}

.hover-zoom:has(a:hover) {
  transform: scale(1.05) !important;
}

.datatable>div>div {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.t-head,
.t-body {
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
}

.title-column-left {
  width: max-content !important;
  max-width: max-content !important;
  padding-right: 0 !important;
  margin-right: 10px !important;
}

.content-column-right {
  max-width: 630px !important;
}

@media (max-width: 630px) {
  .title-column-left{
    max-width: 100% !important;
  }
  .content-column-right{
    max-width: 500px !important;
  }
}

@media (max-width: 768px) {
  .feedback-bubble {
    display: none !important;
  }

  .uagb-tabs__wrap ul.uagb-tabs__panel.uagb-tabs__align-center {
    justify-content: flex-start !important;
  }

  .hover-zoom>div {
    min-width: 100% !important;
  }

  /* Custom sustainability */
  .sustainability-button-graphic,
  .wp-block-uagb-container.uagb-block-d5801fe8 {
    width: 100% !important;
    /* background-size: 100% 100% !important; */
  }

  .sustainability-button-graphic div div div {
    flex-wrap: nowrap !important;
    column-gap: 10px !important;
  }

  .sustainability-button-graphic .icon-sustainability {
    /* width: 18% !important; */
    /* height: auto !important; */
    padding: 10px;
  }

  .title-column-left {
    align-self: baseline;
  }
}

@media (max-width: 1024px) {

  /*! Header mobile */
  .header-container {
    overflow-y: hidden;
    height: 75px;
  }

  .site-logo img {
    height: auto;
  }

  .main-navigation {
    display: none;
  }

  .main-navigation .menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-container {
    flex-wrap: wrap;
  }

  /* Sidebar */
  .header-container-menu.dropdown-container {
    height: 44px;
  }

  .header-extras .close-menu,
  .menu-checkbox:checked~.header-extras .hamburger {
    display: none;
  }

  .menu-checkbox:not(:checked)+.header-extras .hamburger {
    margin-top: 13px;
  }

  .menu-checkbox:not(:checked)+.header-extras .hamburger {
    display: block;
    font-size: 24px;
    color: #4b339a;
    text-decoration: none;
    cursor: pointer;
  }

  .menu-checkbox:checked~.header-extras .close-menu {
    display: block;
    font-size: 30px;
    margin-top: -1px;
    color: #4b339a;
    text-decoration: none;
    cursor: pointer;
  }

  .main-navigation-sidebar {
    width: 100%;
    height: max-content;
    max-height: 50%;
    padding: 10px 0 20px;
    display: block;
    position: fixed;
    top: 75px;
    right: -100%;
    background: white;
    border-radius: 0 0 20px 20px;
    box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.1) inset;
    transition: transform 0.3s ease-in-out, right 0.3s ease-in-out;
    transform: translateX(100%);
    overflow-y: auto;
    z-index: 999;
  }

  .main-navigation-sidebar .menu {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .main-navigation-sidebar .menu li {
    margin: 10px 0px;
  }

  .main-navigation-sidebar .menu .current-menu-item {
    text-align: left;
    background: #f4f5f6;
    width: 100%;
  }

  .main-navigation-sidebar .menu .menu-item:hover {
    background: #f4f5f6;
  }

  .dropdown-header-mobile {
    padding-top: 10px;
  }

  .main-navigation-sidebar .menu a {
    text-decoration: none;
    text-align: left;
    font-size: 14px;
    color: #6b6f75;
    padding: 0px 20px;
    vertical-align: middle;
  }

  .main-navigation-sidebar .menu .current-menu-item>a,
  .main-navigation-sidebar .menu .current-menu-ancestor>a,
  .main-navigation-sidebar .menu .current-page-ancestor>a {
    color: #4b339a;
  }

  .main-navigation-sidebar .menu .sub-menu .current-menu-item>a,
  .main-navigation-sidebar .menu .sub-menu .current-menu-ancestor>a,
  .main-navigation-sidebar .menu .sub-menu .current-page-ancestor>a {
    color: #868b90;
  }

  /* Optional: Add an arrow indicator to items with sub-menus */
  .main-navigation-sidebar li.menu-item-has-children>a::after {
    content: "❯";
    font-size: 16px;
    padding-right: 20px;
    float: right;
    color: #666;
    transition: transform 0.3s ease;
    padding-top: 8px;
  }

  /* เปิดเมนูเมื่อ checkbox ถูก checked */
  .menu-checkbox:checked+.header-extras .main-navigation-sidebar {
    transform: translateX(0);
    right: 0;
  }

  /* ปิดเมนูเมื่อ checkbox ไม่ถูก checked */
  .menu-checkbox:not(:checked)+.header-extras .main-navigation-sidebar {
    transform: translateX(100%);
    right: -100%;
  }

  /* Sub-menu  */
  .sub-menu {
    list-style: none;
    padding: 0 0 5px 0;
  }

  /* แสดง sub-menu เมื่อ hover */
  .main-navigation-sidebar li.menu-item-has-children>a::after {
    display: block;
  }

  /* Collapsible Footer Menu */
  .main-navigation-sidebar .menu-item-has-children {
    position: relative;
  }

  /* Hide sub-menu by default */
  .main-navigation-sidebar .menu-item-has-children .sub-menu {
    display: none;
  }

  /* .main-navigation-sidebar .menu .sub-menu:hover {
    text-align: left;
    background: #f4f5f6;
    width: 100%;
  } */

  .back-button {
    border: none;
    background: none;
    color: #000;
  }

  .back-button-text {
    color: #10ade7;
    font-weight: 300;
  }

  .layout-language {
    display: none;
  }

  .layout-language-mobile {
    display: flex;
    justify-content: center;
  }

  .title-purple {
    font-size: 24px !important;
  }

  .text-gray-normal {
    font-size: 16px !important;
  }

  /* Image Post */
  .uagb-block-546d579d.wp-block-uagb-image .wp-block-uagb-image__figure img {
    z-index: 10;
  }

  .step-indicator-tabs .uagb-tabs__body-wrap,
  .uagb-tabs__wrap.uagb-tabs__vstyle6-tablet .uagb-tabs__body-wrap,
  .uagb-tabs__wrap.uagb-tabs__vstyle7-tablet .uagb-tabs__body-wrap,
  .uagb-tabs__wrap.uagb-tabs__vstyle9-tablet .uagb-tabs__body-wrap,
  .uagb-tabs__wrap.uagb-tabs__vstyle10-tablet .uagb-tabs__body-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  /*! Footer mobile */
  .footer-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-height: max-content;
    width: calc(100vw - 20px);
  }

  .footer-links {
    margin-top: 10px;
    margin-left: 0px;
  }

  .footer-policies {
    margin-left: 10px;
    margin-right: 10px;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom>p {
    margin-top: 0;
  }

  .footer-wrapper {
    flex-wrap: wrap;
  }

  /* Collapsible Footer Menu */
  .footer-menu .menu-item-has-children {
    position: relative;
  }

  /* Hide sub-menu by default */
  .footer-menu .menu-item-has-children .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
  }

  /* Show sub-menu on hover or focus */
  .footer-menu .menu-item-has-children:hover .sub-menu,
  .footer-menu .menu-item-has-children:focus-within .sub-menu {
    max-height: 500px;
    /* Adjust based on content height */
    padding: 10px 0;
    /* Add some spacing */
  }

  /* Optional: Add an arrow indicator to items with sub-menus */
  .footer-menu .menu-item-has-children>a::after {
    content: "\2228";
    /* Down arrow indicator */
    float: right;
    font-weight: 500;
    padding-right: 20px;
    transition: transform 0.3s ease;
  }

  /* Rotate arrow when sub-menu is visible */
  .footer-menu .menu-item-has-children:hover>a::after,
  .footer-menu .menu-item-has-children:focus-within>a::after {
    margin-right: 20px;
    transform: rotate(-180deg);
  }

  .tabs-rounded {
    flex-direction: column !important;
  }

  .tabs-rounded .uagb-tabs__body-wrap {
    width: max-content !important;
  }

  .tabs-rounded .uagb-tabs__panel {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    min-width: 100% !important;
  }

  .tabs-rounded .uagb-tab {
    min-width: max-content;
  }

  .datatable>div>div>div>div {
    min-width: 1024px !important;
  }

  .t-head,
  .t-body {
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (min-width: 926px) {

  .title-left>h1,
  .title-left>h2 {
    font-size: min(65px, 4vmax) !important;
  }
}

@media (min-width: 1025px) {
  .dropdown-header {
    font-size: 20px;
    font-weight: 500;
    color: #4b339a;
  }
}


.comments-area {
  display: none;
}