body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.content {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #1e1e1e;
    padding: 0;
    text-align: center;
    width: 100%;
}

header h1 {
    margin: 0;
    padding: 0 20px;
    text-align: center;
	font-size: 33px;
	margin-top: 25px;
    padding-bottom: 33px;
}

header h1 span {
	display: block; 
	font-size: 20px;
	color: #65a2cb;
}

.home-page header h1 {
	font-size: 51px;
}
header h1 span {
	font-size: 26px;
}

a {
    color: #65a2cb;
	text-decoration: none;
}

a:hover {
	cursor: pointer;
}

nav {
    background-color: #2a3338;
    padding: 10px;
    text-align: center;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
}

nav a.prev-chapter,
nav a.next-chapter {
	color: #65a2cb;
}

nav a.prev-chapter:hover,
nav a.next-chapter:hover {
	color: #86c2eb;
}

nav a.prev-book,
nav a.next-book {
	color: #cb65b0;
}

nav a.prev-book:hover,
nav a.next-book:hover {
	color: #f688d9;
}

nav a.home-link, 
nav a.interlinear {
	color: #ddd;
}

nav a.home-link:hover,
nav a.interlinear:hover {
	color: #fff;
}

span[style*="small-caps"] {
  font-size: 23px !important;
}

h2 {
    text-align: center;
    color: #65a2cb;
    font-size: 40px;
    margin-top: 15px;
}

.chapter {
    margin-bottom: 2em;
}

.verse-num {
    font-weight: bold;
    margin-right: 5px;
    color: #cf6679;
}

.verse-text {
    margin-bottom: 10px;
    display: inline;
}
footer {
	position: relative;
    width: 100%;
    bottom: 0;
}
/* fix to bottom to fix verse pages */
#content {
    min-height: 429px;
}
.verse-page footer {
	position: absolute;
    width: 100%;
    bottom: 0;
}
footer a {
	color: #65a2cb;
	text-decoration: none;
}

.footer {
	text-align: center; 
	padding: 20px;  
	background-color: #1e1e1e;
}

#theme-toggle {
    /* background-color: #b1a0ff; */
    background-color: #333333;
    color: #121212;
    border: none;
    margin-top: 10px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
	position: fixed;
    bottom: 10px;
    right: 10px;
	color: #fff;
    padding: 11px;
    font-size: 20px;
    width: 43px;
    height: 43px;
    z-index: 1000;
}

/* font toggle */
#resizeButton {
    position: fixed;
    bottom: 68px;
    right: 10px;
    width: 43px;
    height: 43px;
    font-size: 20px;
    background-color: #333;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

#sliderContainer {
    position: fixed;
    bottom: 188px;
    right: 0;
    width: 43px;
    display: none;
    /* background-color: #333; */
    padding: 10px 0;
    z-index: 1000;
	height: 68px;
}

#textSlider {
    width: 100%;
    transform: rotate(-90deg);
    transform-origin: 43px 43px;
    width: 200px;
}

#sliderContainer input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background-color: #65a2cb;
  cursor: pointer;
}

/* Firefox */
#sliderContainer input[type="range"]::-moz-range-thumb {
  background-color: #65a2cb;
  cursor: pointer;
}

/* IE */
#sliderContainer input[type="range"]::-ms-thumb {
  background-color: #65a2cb;
  cursor: pointer;
}

#resetButton {
    margin-top: 76px;
    margin-left: -24px;
	border: none;
    height: 40px;
    width: 40px;
	font-size: 20px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    cursor: pointer;
}

.verse-num,
.verse-text {
    transition: font-size 0.4s;
}

/* home page */

.home-page nav {
	display: none;
}
.home-page .content {
	max-width: 100%;
}

.about-section {
	max-width: 800px;
	margin: 0 auto;
}

.about-section h3 {
    color: #cb65b0;
}

.about-section blockquote {
	padding: 20px 40px;
    background: #28313c;
    font-style: italic;
    border-radius: 20px;
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.book-list {
    display: flex;
    flex-direction: column;
}

.book-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.book {
    width: 48%;
}

.book h3 {
    color: #65a2cb;
    margin-bottom: 10px;
}

.book ul {
    list-style-type: none;
    padding: 0;
}

.book ul li {
    margin-bottom: 5px;
}

.big-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.big-nav-buttons.verse-single,
.big-nav-buttons.verse-range {
	display: none;
}

.top-big-buttons {
	position: absolute;
	width: 100%;
}

.top-big-buttons:last-child {
    bottom: 139px;
	/* decided to hide for now */
	display: none;
}

.big-button.skip-ahead {
	background-color: #86c2eb;
    color: #121212;
    padding: 23px 50px;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    max-width: 247px;
    margin: 0 auto;
    text-align: center;
    font-size: 27px;
    margin-top: 27px;
    margin-bottom: 39px;
}

.big-button.skip-ahead:hover {
	background-color: #a6d6f7;
}

.big-button.skip-ahead a {
	color: initial;
}

.big-button.skip-ahead a i {
	color: initial;
}

.big-button.next-chapter {
	right: 0;
    position: inherit;
}

.home-page .big-nav-buttons {
	display: none;
}

.big-button {
    background-color: #65a2cb;
    color: #121212;
    padding: 10px 50px;
    margin-right: 30px;
    margin-left: 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.big-button:hover {
	background-color: #86c2eb;
	cursor: pointer;
}

.chapter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.chapter-link {
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 4px;
    font-size: 15px;
    color: #fff;
    background: #65a2cb;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chapter-link:hover {
    background: #7ab2db;
    color: #fff;
}

#chapter-dropdown,
#verse-dropdown {
    padding: 5px 10px;
    font-size: 16px;
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #444;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

body.light-theme #chapter-dropdown,
body.light-theme #verse-dropdown {
    background-color: #fff;
    color: #121212;
    border: 1px solid #ccc;
}

@media (max-width: 768px) {
    .book-row {
        flex-direction: column;
    }

    .book {
        width: 100%;
        margin-bottom: 20px;
    }
	.top-big-buttons {
		position: relative;
		width: 100%;
		margin-bottom: -3px;
	}
	.header-top {
		display: inline-block !important;
	}
	.search-container, #book-dropdown {
		display: inline;
	}
	.text-search-container {
		display: block;
		margin-top: 20px;
	}
	#chapter-search-results {    
		border-bottom-left-radius: 10px;
		-moz-border-bottom-left-radius: 10px;
		-webkit-border-radius: 10px;
	}
}

@media (max-width: 550px) {
	.search-container {
		display: block !important;
		width: 100%;
		max-width: 70vw;
		min-width: 70vw;
	}
	#book-dropdown {
		margin-top: 20px;
		max-width: 70vw;
		min-width: 70vw;
	}
	#text-search {
	    margin-bottom: 5px;
	}
	#text-search-button {
		border-bottom-left-radius: 5px;
		-moz-border-bottom-left-radius: 5px;
		-webkit-border-radius: 5px;
	}
	.text-search-container {
		width: 100%;
		max-width: 70vw;
		min-width: 70vw;
	}
	.big-button {
		padding: 10px 25px;
		margin-right: 20px;
		margin-left: 20px;
		text-align: center;
	}
	.big-button.next-chapter {
	}
	.navigation .prev-chapter,
	.navigation .next-chapter {
		/* display: none; */
		white-space: nowrap;
	}
	.navigation .home-link,
	.navigation .prev-book,
	.navigation .next-book,
	.navigation .interlinear {
		white-space: nowrap;
	}
	.navigation {
		display: flex;
		flex-wrap: wrap;
	}
	nav a.interlinear {
		width: 100%;
		display: block;
		margin-top: 10px;
	}
	.about-section blockquote {
		margin-left: 0;
		margin-right: 0;
	}
}

/* search page */

.search-page .big-button,
.search-page .navigation .next-chapter,
.search-page .navigation .next-book,
.search-page .navigation .interlinear {
	display: none;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #1e1e1e;
}

.search-container, 
.text-search-container {
    position: relative;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

#chapter-search, 
#text-search, 
#book-dropdown {
    padding: 5px 10px;
    font-size: 16px;
	background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #444;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

#chapter-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #2a3338;
    border: 2px solid #121415;
    display: none;
	border-bottom-left-radius: 5px;
	-moz-border-bottom-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	z-index: 2;
}

#chapter-search-results div {
    padding: 5px 10px;
    cursor: pointer;
}

#chapter-search-results div:hover {
    background-color: #40474e;
}

#text-search-button {
    padding: 5px 10px;
    font-size: 16px;
    background-color: #65a2cb;
    color: #fff;
    border: none;
    cursor: pointer;
}

.search-result {
    margin-bottom: 20px;
    padding: 14px 15px 1px 16px;
    background-color: #2a3338;
    border-radius: 5px;
}

.search-result h3 {
    margin-top: 0;
}

.search-result mark {
    background-color: b1a0ff;
	/* pink #e094f4;
	   purple #b1a0ff;
	   yellow	   */
    color: black;
}

/* Light theme */
body.light-theme {
    background-color: #fff;
    color: #121212;
}

body.light-theme header,
body.light-theme nav,
body.light-theme footer {
    background-color: #f0f0f0;
}

body.light-theme nav a {
    /* color: #874ed8; */
}
body.light-theme nav a.home-link, 
body.light-theme nav a.interlinear {
	color: #222;
}
body.light-theme nav a.home-link i, 
body.light-theme nav a.interlinear i {
	color: #878787;
}

body.light-theme nav a.home-link:hover, 
body.light-theme nav a.interlinear:hover,
body.light-theme nav a.home-link:hover i, 
body.light-theme nav a.interlinear:hover i {
	color: #191919;
	text-decoration: underline;
}

body.light-theme nav a.prev-chapter:hover, 
body.light-theme nav a.next-chapter:hover {
	color: #2075af;
	text-decoration: underline;
}

body.light-theme nav a.prev-book:hover, 
body.light-theme nav a.next-book:hover {
    color: #bc2494;
	text-decoration: underline;
}

body.light-theme h2 {
    color: #65a2cb;
}

body.light-theme .verse-num {
    color: #b00020;
}

body.light-theme #theme-toggle {
    background-color: #9d6be5;
    color: #fff;
}
body.light-theme #chapter-search,
body.light-theme #text-search,
body.light-theme #book-dropdown {
    background-color: #fff;
    color: #121212;
    border: 1px solid #ccc;
}

body.light-theme #text-search-button {
    background-color: #65a2cb;
    color: #fff;
}
body.light-theme .big-button {
    color: #fff;
}
body.light-theme .about-section blockquote {
	background: #e9eaec;
}

body.light-theme #chapter-search-results {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #000;
}

body.light-theme #chapter-search-results div:hover {
    background-color: #f0f0f0;
}

body.light-theme .search-result {
    background-color: #f0f0f0;
}