@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Allison&family=Damion&family=Ms+Madi&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans:ital,wght@0,100..900;1,100..900&family=Caveat:wght@400..700&family=Kufam:ital,wght@0,400..900;1,400..900&family=Playwrite+DK+Loopet:wght@100..400&family=Playwrite+ES:wght@100..400&display=swap');
body {
	background: rgba(214,11,81,0.15);
}
a {
	font: inherit;
	color: inherit;
}
div#header {
	padding: 0.5rem 2rem;
	margin-bottom: 2rem;
}
div#header img {
	height: 6rem;
	width: auto;
	border-radius: 1rem;
}
div#header ul {
	font: 500 1rem "Rubik";
	list-style: none;
	position: relative;
}
div#header>ul>li {
	margin: 0;
	text-transform: uppercase;
	/*background: rgba(20, 169, 156,0.2);*/
	border-radius: 0.2rem;
	padding: 0.75rem 1.5rem;
}
div#header>ul li:hover {
/*	background: rgba(20, 169, 156,0.2);*/
	background: rgba(214,11,81,0.2);
	cursor: pointer;
}
div#header ul li a {
	display: block;
}
div#banner img {
	width: 100%;
	height: auto;
	margin: 0 auto;
}
.m-hover {
	padding: 0.75rem 1.5rem;
}
.m-hover:hover {
	pointer: cursor;
}
div#header ul i {
	font-size: 0.8rem;
	margin-left: 0.5rem;
}
div#navbox {
	padding: 1rem;
	padding-bottom: 2rem;
	padding-left: 2rem;
	background: white;
	border: 4px solid black;
	border-left: 0;
	border-top: 0;
	width: 30vw;
	position: fixed;
	top: 0;
	left: -1000;
	z-index: 3000;
}
div#navbox>div {
	display: grid;
}
div#navbox>div>a {
	font: 500 1.2rem Rubik;
	color: rgba(0, 0, 0, 0.8);
	padding: 0.5rem 1rem;
}
/*ul.subnav {
	background: rgba(20, 169, 156,0.2);
	background: #b7e2de;
	background: #F3B0C7;
	display: none;
	position: absolute !important;
	left: 0;
	z-index: 1000;
	border-radius: 0.2rem;
	margin-top: 0.5rem;
}
ul.subnav li {
	text-transform: capitalize !important;
}
ul.subnav li a {
	padding: 0.75rem 1.5rem !important;
}*/
.subnav {
	background: #F3B0C7;
	display: none;
	position: absolute !important;
	left: 0;
	z-index: 1000;
	border-radius: 0.2rem;
	margin-top: 0.5rem;
}
.subnav>div {
	border-bottom: 1px solid rgba(0,0,0,0.1);
	padding: 0.5rem 0;
}
.subnav h3 {
	padding: 0.75rem 1.5rem !important;
	font-size: 1rem;
}
.subnav li>a {
	padding: 0.75rem 1.5rem !important;
	text-transform: capitalize !important;
}
.m-menu {
	display: none;
}
li#searchbutton span {
	display: none;
}
dialog#searchbox {
	border: 0;
	background: transparent;
	width: 100%;
	margin: 0 auto;
}
dialog#searchbox form {
	padding: 1rem 0;
	width: 50%;
	margin: 0 auto;
}
dialog#searchbox input {
	height: 2.5rem;
	padding: 0.5rem;
	border: 2px solid #d40b51;
	border-radius: 0.2rem;
	width: 100%;
	margin-bottom: 0.2rem;
}
dialog#searchbox button {
	background: #d40b51;
	color: white;
	padding: 0.3rem 1.5rem;
	border: 0;
	border-radius: 0.2rem;
}
dialog#searchbox button:hover {
	cursor: pointer;
}
div#closebutton {
	padding: 1rem 0;
	padding-top: 2rem;
	text-align: right;
}
div#closebutton span {
	display: block;
	padding: 0.5rem;
	color: #d40b51;
}
div#closebutton span i {
	font-size: 1.3rem;
}
div#closebutton span:hover {
	cursor: pointer;
}
dialog::backdrop {
	background-color: rgba(248,218,229,0.9);
}
div.mainbox {
	max-width: 1280px;
	margin: 0 auto;
}
div.maincard {
/*	column-gap: 1rem;
	row-gap: 1rem; */
	padding: 0.25rem 0.5rem;
	column-gap: 0.5rem;
}
div.maincard>div {
	padding: 2rem;
	border-radius: 0.5rem;
	padding-bottom: 0;
	text-align: center;
	background: url(/images/school_bg.png) no-repeat,
		linear-gradient(157deg, rgba(10,190,154,1) 0%, rgba(6,88,72,1) 100%);
	/*box-shadow: inset 0px 0px 10px rgba(0,0,0,0.2);
	border: 5px solid rgba(28, 108, 102, 0.1);*/
	border: 1px solid rgba(0,0,0, 0.2);
	margin: 2rem;
	transition: all .1s ease-in-out;
}
div.maincard>div img {
	margin-top: 1rem;
	font-size: 1px;
	display: block;
	width: 100%;
	height: auto;
}
div.maincard>div a {
	font: 400 1rem "Rubik";
	color: white;
	padding: 0.5rem;
	background: rgba(0,0,0,0.3);
	border-radius: 0.2rem;
	margin: 0 0.25rem;
}
div.maincard h3 {
	font: 700 1.7rem "Allison";
	text-shadow: #1C6C66 3px 3px;
	color: white;
	margin-bottom: 1rem;
}

.booklist {
	display: grid;
	gap: 4rem 2rem;
	grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
	grid-template-columns: repeat(4, 1fr);
	justify-content: center;
	margin-bottom: 2rem;
	padding: 2rem;
}


/*
.booklist {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-bottom: 2rem;
	position: relative;
}*/
.booklist>div {

	padding: 1.5rem 0.5rem;
	margin: 0.5rem;
	position: relative;
}

.booklist img.book-cover {
	width: 100%;
	height: auto;
	border: 1px solid rgba(214, 11, 81,0.5);
	/*-webkit-box-shadow: -5px 5px 0 0 rgba(0,0,0,1);
	box-shadow: -5px 5px 0 0 rgba(0,0,0,1); 
	outline: 5px solid rgba(0,0,0,0.05);*/
	border-radius: 0.5rem;
	outline: 6px solid rgba(214, 11, 81,0.1);
	margin-bottom: 1rem;
	position: relative;
	display: block;
}
.booklist a.imgpx {
	position: relative;
}

.booklist h3 {
	margin-bottom: 0.5rem;
}
.booklist h3>a {
	font: 500 1rem/1.2rem "Rubik";
	color: rgba(0,0,0,0.9);
	color: #11534E;
	color: #0B3F3B;
}
h3.title {
	font: 400 3.5rem "Ms Madi";
	font-family: "Damion";
	text-align: center;
	margin: 2rem 0;
	color: rgba(6,88,72,1);
	color: #d60b51;
}
span.akanterbit {
	padding: 0.25rem 0.5rem;
	font: 400 0.85rem "Rubik";
}
div.buy {
	margin-top: 0.5rem;
}
div.buy a {
	
	border-radius: 0.2rem;
	padding: 0.25rem 0.5rem;
	background-color: rgba(0, 102, 204,0.05);
	border-bottom: 1px solid rgba(0, 102, 204,0.1);
}
div.buy span {
	font: 400 0.85rem "Rubik";
	color: rgba(11, 63, 59,0.85);
}
div.more>a {
	padding: 1rem 1.5rem;
	background: rgba(214,11,81,0.8);
	color: white;
	font: 500 1.1rem "Rubik";
	border-radius: 0.2rem;
}
i.fa-shopping-bag {
	display: none;
}
.grid2 {
	grid-template-columns: repeat(2, 1fr);
}
.grid3 {
	grid-template-columns: repeat(3, 1fr);
}
.splide__slide {
	opacity: 0.8;
}
.splide__slide.is-active {
	opacity: 1;
}
.splide__slide.is-active img {
	width: 100%;
}
.show {
	display: block !important;
}
div#footer {
	margin-top: 2rem;
	padding: 2rem;
	text-align: center;
}
div#footer p {
	font-size: 0.8rem;
	font-weight: 400;
}
div.bookbox {
	display: grid;
	grid-template-columns:repeat(4,1fr);
	grid-gap: 0.5rem;
}
div.bookbox>div {
	background: grey;
	padding: 1rem 2rem;
	/*bdisplay: grid;
	background: url(/assets/2022/images/bg_whitepaint.png);*/
	background: #F9F9F9;
	background: #F7F7F6;
}
div.bookbox>div:hover {
	background: rgba(0,0,0,0.1);
}

a.bookcover {
	display: grid;
	aspect-ratio:  1/1;
	padding: 1rem;
	position: relative;
}
a.bookcover>div {
	aspect-ratio: 1/1;
}
a.bookcover img {
	width: 50%;
	height: auto;
	justify-self: center;
	align-self: center;
	box-shadow: 10px 10px 2rem -3px rgba(0, 0, 0, 0.4);
	border-radius: 2px;
	border-right: 3px solid #e6e6e6;
	position: relative;
}
a.imgpx {
	position: relative;
	display: flex;
  justify-content: center;
  align-items: start;
}
/*a.imgpx.label::after {
  padding: 0.5rem 1rem;
  text-align: center;
  line-height: 1rem;
  top: 0;
  left: 25%;
  position: absolute;
  border-radius: 0.2rem;
  color: white;
  font: 900 0.8rem/1rem Rubik;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  display: block;
  width: fit-content;
}*/
a.imgpx.label::after {
	border-radius: 0.2rem;
	padding: 0.5rem 1rem;
	position: absolute;
	font: 900 0.8rem/1rem Rubik;
	text-transform: uppercase;
	text-align: center;
	color: white;
	width: fit-content;	
	top: -1rem;
	box-shadow: 2px 2px 0px rgba(0,0,0,0.4);
}
a.imgpx.new::after {
  content: "baru";
  background-color: #ef4a58;
}
a.imgpx.comingsoon::after {
  content: "akan terbit";
  background-color: #3b2e6f;
}

div.bookinfo {
	text-align: center;
	font-family: Rubik;
	font-size: 1rem;
}
div.bookinfo h4>a {
	color: rgba(0,0,0,0.8);
}
div.bookbuy {
	padding: 1rem 0;
	text-align: center;
}
div.bookbuy a {
	display: inline-block;
	border: 2px solid black;
	border: none;
	padding: 0.5rem 1rem;
	font: 400 0.8rem Rubik;
	color: black;
	background: white;
	background: none;
}
a.bookcover.label::after {
	display: inline-block;
	padding: 0.5rem;
    text-align: center;
    line-height: 1rem;
    top: 0.5rem;
    right: 1rem;
    position: absolute;
    border-radius: 0.2rem;
    color: white;
    font: 900 0.8rem/1rem Rubik;
    text-transform: uppercase;
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.1);
}
a.bookcover.new::after {
    content: "baru";
    background-color: #ef4a58;
}
a.bookcover.comingsoon::after {
    content: "akan terbit";
    background-color: #3b2e6f;
}
div.booksingle {
	padding: 5rem;
	background: transparent;
	margin: 0.2rem auto;
	display: grid;
	width: 100%;

}
div.booksingle img {
	width: auto;
	height: 55vh;
	justify-self: center;
	align-self: center;
	box-shadow: 10px 10px 2rem -3px rgba(0, 0, 0, 0.4);
	border-radius: 2px;
	border-right: 3px solid #e6e6e6;
}
div.bookslide {
	display: grid;
	aspect-ratio:  1/1;
	padding: 1rem;
	position: relative;
	margin: 0.2rem;
}
div.bookslide img {
	transition: all .2s ease-in-out;
	width: 40%;
	height: auto;
	justify-self: center;
	align-self: center;
	box-shadow: 10px 10px 2rem -3px rgba(0, 0, 0, 0.4);
	border-radius: 2px;
	border-right: 3px solid #e6e6e6;
	position: relative;
	opacity: 0.8;
}
div#titlebox {
	text-align: center;
	padding: 2rem 1rem;
}
div#titlebox h1 {
	font: 600 2.5rem "Playwrite ES";
	margin: 1rem 0;
	color: rgba(214,11,81,1);
}
div#titlebox h5 {
	font: 300 1.5rem Rubik;
	margin: 1rem 0;
}
div#booktext {
	max-width: 80%;
	margin: 0 auto;
	padding: 3rem 0;
}
div#booktext p {
	font-size: 1.2rem;
	line-height: 1.7rem;
	margin-bottom: 1rem;
}
div#booktext ol,
div#booktext ul {
	display: block;
	width: 80%;
	margin: 2rem 0;
	margin-left: 3rem;
}
div#booktext li {
	font-family: Rubik;
	font-size: 1.2rem;
	line-height: 1.7rem;
	margin-bottom: 1rem;
}
div#booktext b, div#booktext i {
	font-family: inherit !important;
	font-size: inherit !important;
}
div#booktext b {
	font-weight: 600;
}
div#bookspec {
	display: grid;
	grid-template-columns: repeat(5,1fr);
	width: 50vw;
	margin: 0 auto;
	grid-gap: 0.5rem;
	padding: 1rem 2rem;
}
div#bookspec p {
	font-weight: 600;
}
div#bookspec p:first-child {
	color: rgba(0,0,0,0.8);
	font-weight: 400;
}
div.bookbutton {
	/*display: grid;
	grid-template-columns: repeat(4,1fr);*/
	margin: 2rem auto;
	width: 50vw;
}
div.bookbutton h4 {
	font: 500 1rem "Rubik";
	margin-bottom: 1rem;
	text-align: center;
}
div.bookbutton img {
	height: 1.5rem;
	width: auto;
	margin-right: 0.5rem;

}
div.bookbutton.ebook img {
	height: 2.5rem !important;
}
div.bookbutton a.buy {
	padding: 0.5rem;
	margin: 0.1rem;
	display: inline-flex;
	align-items: center;
	text-align: center;
	justify-content: center;
	border: 1px solid rgba(214,11,81,0.3);
	background-color: white;
}
div.bookbutton span {
	font: 400 0.9rem Rubik;
	color: rgba(0, 0, 0, 0.9);

}
div.bookbutton2 {
	padding: 1rem 2rem;
}
div.bookbutton2 a {
	border: 2px solid black;
	padding: 0.5rem;
	margin: 0.15rem;
}
div.bookbutton2 a>span {
	color: black;
	font: 500 1rem "DM Sans";
}
li.is-active img {
	width: 60%;
	opacity: 1;
}
.splide__arrow svg {
	fill: black !important;
}
.splide__arrow {
	background: white !important;
}
div.itembox {
	display: grid;
}
.nodisplay {
	display: none;
}
.noscroll {
	overflow-y: hidden;
}
.scale-in-tl {
	-webkit-animation: scale-in-tl 0.1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: scale-in-tl 0.1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
div.bestseller {
	grid-template-columns: repeat(5, 1fr);
}
div.bestseller>div {
	counter-increment: pts-bestseller;
}
div.bestseller>div::after {
	content: counter(pts-bestseller);
	text-align: center;
	line-height: 2.5rem;
	height: 2.5rem;
	width: 2.5rem;
	top: 1rem;
	right: 0;
	position: absolute;
	background-color: #e7245c;
	border-radius: 100px;
	color: white;
	font: 900 1.1rem/2.5rem "Rubik";
}
/*GRID TEMPLATE*/
.grid {
	display: grid;
}
.col2 {
	grid-template-columns: repeat(2,1fr);
}
.col3 {
	grid-template-columns: repeat(3,1fr);
}
.col4 {
	grid-template-columns: repeat(4,1fr);
}
.col5 {
	grid-template-columns: repeat(5,1fr);
}
div#social a span {
	display: none;
}
div#social a {
	padding: 1rem;
}
div#social i {
	font-size: 1.2rem;
	color: black;
	margin-top: 2rem;
}
@media screen and (max-width:640px){
	div#header img {
		height: 5rem;
	}
	.booklist {
		grid-template-columns: repeat(2, 1fr);
		gap: 0;
		padding: 1rem;
	}
	div.bestseller {
		grid-template-columns: repeat(2, 1fr);
	}
	.booklist img.book-cover {
		width: 90%;
		margin-right: auto;
		margin-left: auto;
	}
	.splide__slide {
		opacity: 1;
	}
	div#header>ul {
		flex-wrap: wrap;
	}
	ul.subnav {
		position: relative;
		right: 0;
		left: auto;
		width: 60vw;
	}
/*	.subnav ul {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}*/
	.m-menu {
		display: block;
	}
	.d-menu {
		display: none;
	}
	div.bookinfo {
		font-size: 0.8rem;
	}
	div#booktext {
		max-width: 100%;
		padding: 3rem 2rem;
	}
	div#bookspec {
		width: 90%;
		grid-template-columns: repeat(2,1fr);
	}
	div#bookspec p {
		font-size: 0.9rem;
	}
	div#titlebox {
		padding: 2rem 2rem;
		text-align: unset;
	}
	div#titlebox h1 {
		font-size: 4rem;
		line-height: 4rem;
	}
	div.booksingle {
		padding: 1rem 5rem;
	}
	div.booksingle img {
		height: auto;
		width: 100%;
	}
	div.bookbutton {
		width: 100%;
		padding: 2rem;
/*		grid-template-columns: repeat(2,1fr);*/
		grid-gap: 0.5rem;
	}
	div.bookbutton img {
		height: 1.8rem;
	}
	.m-col2 {
		grid-template-columns: repeat(2,1fr) !important;
	}
	.m-col3 {
		grid-template-columns: repeat(2,1fr) !important;
	}
	dialog#searchbox form {
		width:100%;
	}
}