/* Selects the root element of the document:
*/
:root {
    --color-primary: #663333;
    --color-contrast: #ff6600;
    --color-complement: #3399cc;
    --color-highlight: #99cccc;
    --color-text: #333333;
}

a:hover {
    border-bottom-color: transparent;
    color: var(--color-complement) !important;
}

body {
	color: #000;
}

/***************** CONTENT ELEMENTS ***************************/
.show-cursor {
	cursor: pointer;
}

.tiles article > a .content {
	opacity: 1;
}

button.version-select {
    font-size: 0.6em;
    margin-right: 2em;
    margin-bottom: 2em;
    border-width: 1px;
    background-color: initial;
    color: #000 !important;
}

button.chosen {
    background-color: #000 !important;
    color: #fff !important;
}

button.version-select:hover {
    color: var(--color-complement) !important;
    box-shadow: inset 0 0 0 2px var(--color-complement);
}

.verse-analysis, .philosophy-analysis, .wikipedia-commentary {
	display: none;
	margin: 3em 0;
}

.verses {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 4em;
}

.verses .row {
    display: flex;
}

.verses .cell {
    flex: 1;
    /* padding: 8px; /* Mimic padding from td if needed */
    /* border: 1px solid #ccc; /* Mimic borders from td if needed */
    padding-bottom: 2em;
}

.verses .row .cell:nth-child(1) {
    flex: 0 0 15%;
}

.verses .row .cell:nth-child(2) {
    flex: 0 0 79%;
}

.verses .row .cell:nth-child(3) {
    flex: 0 0 3%;
    margin-top: -2em;
}
@media (min-width: 806px) {
    .verses .row .cell:nth-child(3) {
        margin-top: 0
    }
}

.fa-verses-icon-container {
	margin-left: 3px;
    background-color: #000;
    color: #fff;
    padding: 2px;
}

.fa-section-icon-container {
    background-color: #000;
    color: #fff;
    padding-left: 6px;
}

.no-vert-borders {
    border-right: 0 !important;
    border-left: 0 !important;
}

.analysis-section {
    padding-top: 2em;
    border-bottom: 2px solid #000;
}

h2.analysis-header span.first_part {
    font-size: 1.6em;
}

.philosophy-analysis h3 {
    font-size: 1.3em;
    letter-spacing: 1px;
}

.philosophy-analysis h4 {
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 2px;
}

@media (max-width: 460px) {
	span.book-name {
	    display: none;
	}
}

@media (max-width: 992px) {
	.fa-section-icon-container {
	    display: block;
	    width: 10%;
	}
}

/***************** FORM ELEMENTS ******************************/
input[type="submit"], input[type="reset"], input[type="button"], button, .button {
    background-color: lightgray;
}

input#search-field {
    width: 55%;
}

/***************** RELATED POSTS SECTION **********************/
.related-modules {
    width: 100%;
}
@media (min-width: 991px) {
	.related-modules {
	    width: 33%;
	}
}

/***************** MENU **************************************/


/***************** PAGINATION SECTION ************************/
.pagination {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.pagination li.disabled {
    color: silver;
}

.pagination li {
    font-weight: 700;
    list-style-type: none;
    font-size: 1rem;
    margin: 0 5px;
    padding: 0.6em;
}

.pagination li > a {
    text-decoration: none;
}

.pagination li.active {
    background-color: var(--color-complement);
    color: #fff;
}

.pagination-heading {
	text-align: center;
}

.pagination-numbers {
	margin: 6em 0;
}
@media (max-width: 992px) {
	.pagination-div {
	    display: flex;
	    justify-content: center;
	}

	.pagination {
	    overflow: hidden;
	    margin: 30px 0;
	}

	.pagination li {
	    margin: 0 1px;
	    font-weight: 700;
	}
}