body {
	font-family: Arial;
	background-color: #ffffff;
	margin: 0px;
	padding: 0px;
	font-size: 20px;
}

@font-face {
    font-family: 'KriyaDee';
    
	src: url('./fonts/KaivalyaIkiikocom-0Wy9r.otf') format('otf'),
	url('./fonts/KaivalyaIkiikocom-0Wy9r.ttf') format('ttf'),
	url('./fonts/KaivalyaIkiikocom-0Wy9r.woff') format('woff'),
	url('./fonts/KaivalyaIkiikocom-0Wy9r.woff2') format('woff2');
}

@font-face {
    font-family: 'Itim';
    
	src: url('./fonts/Itim-Regular.otf') format('otf'),
	url('./fonts/Itim-Regular.ttf') format('ttf'),
	url('./fonts/Itim-Regular.woff') format('woff'),
	url('./fonts/Itim-Regular.woff2') format('woff2');
}


@font-face {
    font-family: 'Athiti';
    
	src: url('./fonts/Athiti-Bold.otf') format('otf'),
	url('./fonts/Athiti-Bold.ttf') format('ttf'),
	url('./fonts/Athiti-Bold.woff') format('woff'),
	url('./fonts/Athiti-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'ARLRDBD';
    
	src: url('./fonts/ARLRDBD.otf') format('otf'),
	url('./fonts/ARLRDBD.ttf') format('ttf'),
	url('./fonts/ARLRDBD.woff') format('woff'),
	url('./fonts/ARLRDBD.woff2') format('woff2');
}

body.th p {
	font-family: Itim;	
	font-size: 22px;
}

body.th h2,h3,h4 {
	font-family: Athiti;	
}

body.en h2,h3,h4 {
	font-family: ARLRDBD;	
}

body.th .arialbold {
	font-family: ARLRDBD;	
}

body.th .arial {
	font-family: Arial;
}

body.th .oil1 h2, body.th .oil2 h2, body.th .oil3 h2 {
	font-family: ARLRDBD;	
}

body.th gallery-cell, body.th .botanical, body.th .common {
	font-family: Arial;
	font-size: 20px;
}

div.spine {
	position: fixed;
	height: 100%;
	width: 150px;
	background-color: #ef3d3a;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0px;
}  
	
div.lotus {
	position: fixed;
	background-color: #993333;
	width: 150px;
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	top: 0px;
	z-index: 1;
}

div.lotus img {
	width: 90%;
	height: 90%;
} 

div.words {
	position: absolute;
	transform: rotate(-90deg);
	background-color: #ef3d3a;
	top: 50%;
	z-index: 0;
	white-space: nowrap;
}

div.content {
	position: absolute;
	margin-left: 175px;
	margin-right: 35px;
	width: calc(100% - 210px);
	top: 60px;
	z-index: -1;
}

div.oil1 {
	border-top: 1px black solid;
	border-bottom: 1px black solid;
	margin-top: 15px;
}

div.oil2,div.oil3 {
	border-bottom: 1px black solid;
}

h1.kriya {
	margin: 0px;
	font-family: KriyaDee;
	color: white;
	font-size: 50px;
}

h1.kriya a {
	text-decoration: none;
	border: none;
	color: #ffffff;
}

.buy {
	color: red;
}

.be {
	color: magenta;
}

a h3 {
    padding: 5px;
	text-decoration: underline;
	text-underline-offset: 10px;
	text-decoration-color: #ff9933;	
}

img {
    max-width: 75%;
    height: auto;
    max-height: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.bg {
	position: absolute;
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
	height: auto;
	z-index: -2;
	top: 150px;
}

img.borobudur {
	margin-right: 75px;
    float: right;
	max-width: 50%;
	height: auto;
}

img.guarantee {
	margin: 0px auto;
	max-width: 50%;
	height: auto;
}

img.baht {
	float: left;
	max-width: 25%;
	height: auto;
}

img.info {
	margin-left: 0px;
	max-width: 30px;
	height: auto;
}

p.info {
	margin-left: 20px;
}

img.guaranteeBottom {
	float: right;
	max-width: 70%;
}

img.line {
	width: 70px;
	height: 70px;
	float: left;
	padding-right: 20px;
}

h2.lineh2 {
	font-family: ARLRDBD;
	padding-top: 20px;
	padding-bottom: 20px;
}

img.linecenter {
	width: 30px;
	height: 30px;
	float: none;
}

.menu-items h3 {
	margin: 0px;
}

p.sitemap {
	text-indent: 15px;
	margin-bottom: 3px;
}

p.flags {
    margin: 5px 0px 0px 0px;
    text-decoration: none;
	justify-content: space-between;
	align-items: center;
	text-align: center;
}

p.flags a {
    text-decoration: none;
}

p.flags a img {
	width: auto;
    height: 20px;
	display: inline-block;
	margin-left: 10px;
	margin-right: 10px;
	align-items: center;
	text-align: center;	
}

p.common span.blend {
	font-weight: bold;
}

p.botanical span.formula {
	font-weight: bold;
}

p.common a {
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: #999999;
}

p a {
    color: #0000ff;	
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: #6666ff;	
}	



/*  Navigation  https://alvarotrigo.com/blog/hamburger-menu-css/   Option 2 */
nav {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 5;
	width: 60%;
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.navbar .menu-items {
	display: flex;
    right: 10px;
}

.navbar .nav-container li {
	list-style: none;
}

.navbar .nav-container a {
	text-decoration: none;
	color: #0e2431;
	font-weight: 500;
	font-size: 1.2rem;
	padding: 0.7rem;
}

.navbar .nav-container a:hover{
    color: blue;
}


.nav-container {
	display: block;
	position: relative;
	height: 60px;
}

.nav-container .checkbox {
	position: absolute;
	display: block;
	height: 50px;
	width: 50px;
	top: 0px;
	right: 5px;
	z-index: 5;
	opacity: 0;
	cursor: pointer;
}

.nav-container .hamburger-lines {
	display: block;
	height: 28px;
	width: 35px;
	position: absolute;
	top: 5px;
	right: 5px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.nav-container .hamburger-lines .line {
	display: block;
	height: 4px;
	width: 100%;
	border-radius: 10px;
	background: #0e2431;
}

.nav-container .hamburger-lines .line1 {
	transform-origin: 0% 0%;
	transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
	transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
	transform-origin: 0% 100%;
	transition: transform 0.4s ease-in-out;
}

.navbar .menu-items {
	position: relative;
	top: 50px;
	right: 50px;
	padding: 10px 0px 10px 0px;
	box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5);
	border: 2px solid #993333;
	border-radius: 25px;
	background-color: #f5f5f5;
	height: auto;
	width: 100%;
	transform: translate(500%);
	display: flex;
	flex-direction: column;
	transition: transform 0.5s ease-in-out;
	text-align: center;
}

.navbar .menu-items li {
	margin-bottom: 10px;
	font-size: 1.5rem;
	font-weight: 500;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
	transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
	transform: rotate(45deg);
	background: #ff0000;
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
	transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
	transform: rotate(-45deg);
	background: #ff0000;
}

.nav-container input[type="checkbox"]:checked ~  li {
	display: none;
}


.up {
    position: fixed;
    bottom: 135px;
    right: 5px;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
}

.up img { 
    height: 40px;
	width: 40px;
}

.right {
    position: fixed;
    bottom: 90px;
    right: 5px;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
}

.right img { 
    height: 40px;
	width: 40px;
}

.left {
    position: fixed;
    bottom: 45px;
    right: 5px;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
}

.left img { 
    height: 40px;
	width: 40px;
}


/*-------------- Grid Index Page Start --------------*/
.grid-container {
    display: grid;
    grid-template-columns: auto;
}
.grid-item {
    padding: 20px;
    text-align: center;
    margin: 0px;
    border-bottom: 1px solid #993333;
}
.grid-item a {
    text-decoration: none;
    color: #000000;
}
.grid-item h3 {
    color: #993333;
}
.index {
    width: 90%;
    height: auto;
    display: inline-block;
    text-align: center;
}
.chemicals .grid-item {
    margin: 0px;
    text-align: left;
	padding: 0px;
}
.chemicals .grid-item ul {
	margin: 0px 0px 0px 40px;
	padding: 10px;
	line-height: normal;
}

ul.x {
	list-style-image: url("./_images/x.svg");
}

ul.check {
	list-style-image: url("./_images/check.svg");
}




/*-------------- Knowledge Filter Start --------------*/
.container {
    overflow: hidden;
	margin-top: 30px;
}

.filterDiv {
    width: 100%;
    display: none;
    border-bottom: 1px solid #000000;
	margin-bottom: 15px;
    /* Hidden by default */
}

.filterDiv h2 {
    color: #ff0000;
    margin: 0px;
}

.filterDiv h3 {
    font-style: italic;
    margin: 0px;
    padding-left: 20px;
}

.filterDiv p {
    padding-left: 20px;
}

select {
    background-color: white;
    border: thin solid blue;
    border-radius: 4px;
    display: inline-block;
    font: inherit;
	font-size: 22px;
    line-height: 1.5em;
    padding: 0.5em 3.5em 0.5em 1em;
    /* reset */
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Knowledge Arrows */
#myBtnContainer {
    background-image: linear-gradient(45deg, transparent 50%, blue 50%), linear-gradient(135deg, blue 50%, transparent 50%), linear-gradient(to right, skyblue, skyblue);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), 100% 0;
    background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
    background-repeat: no-repeat;
}

#myBtnContainer:focus {
    background-image: linear-gradient(45deg, white 50%, transparent 50%), linear-gradient(135deg, transparent 50%, white 50%), linear-gradient(to right, gray, gray);
    background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, 100% 0;
    background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
    background-repeat: no-repeat;
    border-color: grey;
    outline: 0;
}

.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

	/* The "show" class is added to the filtered elements */
.show {
    display: block;
}

	/* Style the buttons */
.btn {
    border: none;
    outline: none;
    padding: 12px 16px;
    background-color: #f1f1f1;
    cursor: pointer;
}

	/* Add a light grey background on mouse-over */
.btn:hover {
    background-color: #ddd;
}

	/* Add a dark background to the active button */
.btn.active {
    background-color: #666;
    color: white;
}


/* Grid Index Media Queries */
@media (min-width: 800px) {
    .grid-container {
        grid-template-columns: auto auto;
    }
}
@media (min-width: 1200px) {
    .grid-container {
        grid-template-columns: auto auto auto;
    }
}

/*-------------- Buttons - Start With Ensuring Smooth Scrolling --------------*/
@media screen and (prefers-reduced-motion: no-preference) {
  html {
    /*scroll-behavior: smooth; ---- affects Jump Links on mobile phones on knowledge page */
  }
}




/* Landscape */
@media (max-height: 550px) {
	@media screen and (orientation:landscape) {
		div.lotus {
			display: none;
		}
	}
	
	div.spine {
		width: 100px;
	} 	
	
	h1.kriya {
		font-size: 30px;
	}
	
	div.content {
		margin-left: 115px;
	}
}

/* Mobile Phones */
@media (max-width: 600px) {
	div.spine {
		position: fixed;
		top: 0px;
		height: 50px;
		width: 100%;
		background-color: #ef3d3a;
		margin: 0px;
		padding: 0px;
		justify-content: left;
	}  
	
	div.lotus {
		display: none;
	}

	div.words {
		position: relative;
		top: 0px;
		transform: rotate(0deg);
		background-color: #ef3d3a;
		z-index: 0;
		margin: 0px;
		padding-left: 10px;
	}	
		
	div.content {
		position: absolute;
		margin-top: 60px;
		margin-left: 15px;
		margin-right: 30px;
		width: calc(100% - 45px);
	}
		
	img.bg {
		width: 75%;
	}
	
	.nav-container .hamburger-lines .line {
		background: #000000;
	}
	
	.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
		background: #ffffff;
	}

	.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
		background: #ffffff;
	}	
}