@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@700&family=Open+Sans:wght@400;700&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	line-height: 1.15;
}

html, body {
	height: 100%;
}

body {
	background-color: #edefef;
	font-family: 'Open Sans', arial, sans-serif;
	font-size: 16px;
	color: #555;
	position: relative;
}

img {
	max-width: 100%;
}

a {
	color: #000;
}

    .dark-theme a {
	    color: #fff;
    }

a:hover {
	color: #800;
}

.logo {
	text-align: center;
	margin-bottom: 30px;
}

.main, .page {
	box-shadow: 1px 5px 8px 2px rgba(0,0,0,.05);
	padding: 30px;
	background-color: #fff;
	border-radius: 4px;
}

.page * {
	line-height: 1.5;
}

.page h1, .page h2, .page h3 {
	margin-bottom: 10px;
}

.container {
	max-width: 600px;
	margin: 0 auto;
	width: 90%;
	padding: 50px 0;
}

.titlebar {
    box-shadow: 1px 5px 8px 2px rgba(0,0,0,.05);
	padding: 30px 0;
	background-color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    border-radius: 0;
    display: none;
}

.titlebar-container {
    max-width: 600px;
	margin: 0 auto;
	width: 90%;
}

.titlebar-col-left {
    position: relative;
}

.title {	
	font-family: 'Frank Ruhl Libre', arial, sans-serif;
	color: #000;
	font-weight: bold;
}

h2.title {
	text-align: center;
	font-size: 28px;
	margin-bottom: 30px;	
}

.titlebar .title {
    margin-bottom: 0;
}

h3.title {
	margin-bottom: 20px;	
	font-size: 20px;
	cursor: pointer;
}

#content ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

#content .list {
	transition: color 1s, background 0.5s;
}

#content .list:not(:last-child) {
	border-bottom: 1px dotted #ccc;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.verse {
	font-family: 'Frank Ruhl Libre', arial, sans-serif;
	font-size: 16px;
	color: #000;
	font-weight: bold;
	cursor: pointer;
}

p.verse {
	margin-bottom: 10px;
	display: inline-block;
}

span.verse {
	margin-right: 10px;
	transition: color 1s;
}

#content p.content {
	line-height: 1.5;
	font-size: 20px;
}

#content p.notfound {
	line-height: 1.5;
}

#content .hiverse {
	background-color: #ffd;
}

#content .hiverse .verse {
	color: #800;
}

.queryholder {
	position: relative;
	margin-bottom: 50px;
}

#query {
	box-shadow: 1px 5px 8px 2px rgba(0,0,0,.05);
	padding: 10px 40px;
	background-color: #fff;
	border-radius: 4px;
	width: 100%;
	border: 0 none;	
	font-family: 'Open Sans', arial, sans serif;
	font-size: 16px;
	color: #555;
	outline: 0;
}

.queryclear, .querysearch {
	position: absolute;
	right: 10px;
	width: 20px;
	height: 20px;
	color: #777;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	line-height: 20px;
	text-align: center;
}

.querysearch {
	left: 10px;
	right: auto;
}

.queryclear img, .querysearch img {
	opacity: .3;
	transition: opacity .5s;
}

.queryclear img:hover, .querysearch img:hover {
	opacity: 1;
}

.loader {
	background: rgba(0,0,0,0.1) url("../images/double-spinner.gif") center center no-repeat;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
}

#backtop {
	bottom: 20px;
	position: fixed;
	right: 20px;
	z-index: 9999;
	background: url("../images/up_triangle.png") no-repeat;
	height: 32px;
	width: 32px;
	cursor: pointer;
    display: none;
}

#backhistory {
	bottom: 20px;
	position: fixed;
	left: 20px;
	z-index: 9999;
	background: url("../images/back_icon.png") no-repeat;
	height: 32px;
	width: 32px;
	cursor: pointer;
}

.main {
	position: relative;
}

.chapternav {
	/* width: 90px;
	position: fixed;
	bottom: 20px;
	left: 50%;
	margin-left: -45px; 
	
	width: 100%;
	height: 32px;
	position: absolute;
	left: 0;
	top: 30px;
	z-index: 9999; */
}

/* @media only screen and (min-width: 800px) {
	.chapternav {
		width: 694px;
		margin-left: -347px;
	}
} */

#nextchapter, #prevchapter { display: none; }

.nextchapter {
	top: 30px;
	position: absolute;
	right: 20px;	
	background: url("../images/up_triangle.png") no-repeat;
	height: 32px;
	width: 32px;
	cursor: pointer;
	transform: rotate(90deg);
	display: none;
}

.prevchapter {
	top: 30px;
	position: absolute;
	left: 20px;
	background: url("../images/up_triangle.png") no-repeat;
	height: 32px;
	width: 32px;
	cursor: pointer;
	transform: rotate(-90deg);
	display: none;
}

.chapter-nav-titlebar .nextchapter {
	top: 0;
}

.chapter-nav-titlebar .prevchapter {
	top: 0;
}

button.btn-coba {
    margin: 20px auto 0;
    display: block;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: 0 0 8px #eee;
    cursor: pointer;
    font-family: 'Open Sans', arial, sans-serif;
    background-image: linear-gradient(#464d55, #25292e);
    color: #fff;
    font-weight: bold;
}

button.btn-coba:hover {
    background-image: none;
    color: #000;
	background-color: #eee;
}

body.dark-theme {
	background-color: #181818;
	color: #aaa;
}

.dark-theme .main, .dark-theme .titlebar, .dark-theme .menu-inner {
	background-color: #262626;
}

.dark-theme .verse, .dark-theme .title {
	color: #eee;
}

.dark-theme #query {
	background-color: #585858;
	color: #ddd;
}

.dark-theme .queryclear img, .dark-theme .querysearch img {
	opacity: 1;
}

.dark-theme #content .hiverse {
	color: #800;
}

#darkmode {
	top: 72px;
	position: absolute;
	right: 20px;
	z-index: 9999;
	background: url("../images/sun_icon.png") no-repeat;
	height: 32px;
	width: 32px;
	cursor: pointer;
}

.dark-theme #content .hiverse {
	color: #ffa;
	background-color: #262626;
}

.dark-theme #content .hiverse .verse {
	color: #c00;
}

#instagram {
	top: 20px;
	position: absolute;
	right: 20px;
	z-index: 9999;
	background: url("../images/instagram_icon.png") no-repeat;
	height: 32px;
	width: 32px;
	cursor: pointer;
}

.icon-menu-container, .titlebar-col-right {
	top: 30px;
	position: absolute;
	right: 20px;
	z-index: 999;
	height: 32px;
	width: 32px;
}

.hidden {
	display: none;
}

.goog-te-banner-frame.skiptranslate {display: none !important;} 
body { top: 0px !important; }

#goog-gt-tt, .goog-te-balloon-frame{display: none !important;} 
.goog-text-highlight { background: none !important; box-shadow: none !important;}

#language {
	top: 20px;
	position: absolute;
	left: 20px;
	z-index: 9999;
	background: url("../images/version.png") 0 0 no-repeat;
	height: 32px;
	width: 32px;
	cursor: pointer;
	/* display: none; */
	transition: background-position 0.6s;
}

#language.en {
	background-position: -32px 0;
}

.chapter-nav-bottom {
	margin-top: 30px;
	height: 30px;
	display: none;
}

.chapter-nav-bottom div {
	top: auto;
	bottom: 30px;
}

.copyicon, .favicon {
	top: 30px;
	position: absolute;
	right: 20px;
	background: url("../images/copy_icon.png") no-repeat;
	height: 32px;
	width: 32px;
	cursor: pointer;
	display: none;
}

.favicon {
    right: 60px;
    background: url("../images/like_icon.png") no-repeat;
}

    .favicon.liked {
        background-image: url("../images/liked_icon.png");
    }

.icon-menu {
    cursor: pointer;
}

.menu {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1000;
}

.menu-inner {
    background-color: #fff;
    width: 600px;
    max-width: 90%;
    margin: 92px auto 0;
    z-index: 1000;
    position: relative;  
}

.menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-content li, .ul-histori li, .ul-fav li {
    height: 52px;
    line-height: 52px;
    box-sizing:border-box;
    padding-left: 10px;
    display: block;
    cursor: pointer;
    border-bottom: 1px dotted #ccc;
}

.ul-fav li {
	height: auto;
	line-height: 1.5;
	padding: 15px 30px !important;
}

.fav-item-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.fav-item-content {
    font-size: 14px;
    line-height: 1.5;
}

.ul-histori li, .ul-fav li {
    padding: 0 30px;
}

    .menu-content li:hover, .ul-histori li:hover, .ul-fav li:hover {
	    background-color: #eee;
        color: #262626;
    }

    .menu-content li:last-child, .ul-histori li:last-child, .ul-fav li:last-child {
        border-bottom-style: solid;
    }

    .dark-theme .menu-content li:last-child, .dark-theme .ul-histori li:last-child, .dark-theme .ul-fav li:last-child {
	    border-bottom-color: #000;
    }

    .menu-content li::before {
        content: "";
        display: inline-block;
        width: 32px;
        height: 32px;
        overflow: hidden;
        margin-bottom: 10px;
        margin-right: 20px;
        vertical-align: bottom;
    }

.menu-item-instagram::before {
	background: url("../images/instagram_icon.png") no-repeat 0 center;
}

.menu-item-theme::before {
	background: url("../images/dark_moon.png") no-repeat 0 center;
}

    .dark-theme .menu-item-theme::before {
        background-image: url('../images/sun_icon.png');
    }

.menu-item-version::before {
	background: url("../images/version.png") no-repeat -32px center;
}

    .menu-item-version.en::before {
	    background-position-x: 0;
    }

.menu-item-howtouse::before {
	background: url("../images/question_icon.png") no-repeat 0 center;
}

.menu-item-fontup::before {
	background: url("../images/font_up.png") no-repeat 0 center;
}

.menu-item-fontdown::before {
	background: url("../images/font_down.png") no-repeat 0 center;
}

.menu-item-histori::before {
	background: url("../images/histori_icon.png") no-repeat 0 center;
}

.menu-item-fav::before {
	background: url("../images/fav_icon.png") no-repeat 0 center;
}

.menu-item-about::before {
	background: url("../images/info_icon.png") no-repeat 0 center;
}


.overlay {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 997;
}

.icon-close {
	position: absolute;
	right: -10px;
	top: -10px;
	font-size: 16px;
	cursor: pointer;
	background: #ccc;
	color: #333;
	width: 32px;
	height: 32px;
	border: 1px solid #888;
	text-align: center;
	font-weight: bold;
	border-radius: 16px;
}

    .icon-close:hover {
        color: #fff;
        background: #333;
    }

.menu-section-page {
    display: none;  
}

.menu-section-title {
	font-family: 'Frank Ruhl Libre', arial, sans-serif;
	font-size: 28px;
	border-bottom: 1px solid #ccc;
	text-align: center;
	padding: 20px 0;
	background-color: #eee;
}

    .dark-theme .menu-section-title {
        background-color: #333;
    }

.menu-section-content {
    padding: 30px;
}

.menu-section p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.menu-section-inner {
    overflow-y: auto;
}

.menu-section-content ol, .menu-section-content ul {
	padding-left: 20px;
	margin-bottom: 15px;
}

.menu-section-content li {
	padding-left: 10px;
	padding-bottom: 15px;
    line-height: 1.5;
}

.contactmail a {
	font-size: 20px;
	text-decoration: none;
}

#content.font-level-0 p.content, #content.font-level-0 p.notfound { font-size: 10px; }
#content.font-level-1 p.content, #content.font-level-1 p.notfound { font-size: 12px; }
#content.font-level-2 p.content, #content.font-level-2 p.notfound { font-size: 14px; }
#content.font-level-3 p.content, #content.font-level-3 p.notfound { font-size: 16px; }
#content.font-level-4 p.content, #content.font-level-4 p.notfound { font-size: 18px; }

#content.font-level-6 p.content, #content.font-level-6 p.notfound { font-size: 24px; }
#content.font-level-7 p.content, #content.font-level-7 p.notfound { font-size: 28px; }
#content.font-level-8 p.content, #content.font-level-8 p.notfound { font-size: 32px; }
#content.font-level-9 p.content, #content.font-level-9 p.notfound { font-size: 36px; }
#content.font-level-10 p.content, #content.font-level-10 p.notfound { font-size: 40px; }

#content.font-level-0 .verse { font-size: 8px; }
#content.font-level-1 .verse { font-size: 10px; }
#content.font-level-2 .verse { font-size: 12px; }
#content.font-level-3 .verse { font-size: 14px; }
#content.font-level-4 .verse { font-size: 16px; }

#content.font-level-6 .verse { font-size: 20px; }
#content.font-level-7 .verse { font-size: 24px; }
#content.font-level-8 .verse { font-size: 28px; }
#content.font-level-9 .verse { font-size: 32px; }
#content.font-level-10 .verse { font-size: 36px; }

@media only screen and (max-width: 480px) {

	#backhistory {		
		display: none;
	}

    .titlebar-container {
        display: flex;
        column-gap: 20px;
    }

    .titlebar-col-left {
        flex: 1;
    }

    .titlebar-col-right {
        top: 30px;
	    position: static;
	    right: auto;
    }

    .chapter-nav-titlebar .nextchapter {
        right: 0;	
    }

    .chapter-nav-titlebar .prevchapter {
        left: 0;
    }
}