/* Snippet: bible.dveri.bg CSS | Code Snippets ID: 44 | scope: site-css */
html {
    scroll-padding-top: 127px; /* Adjust this value based on your header height */
}

.main-frontpage-article p {
	text-align: justify;
}

del {
  text-decoration: none;
  color: inherit;
}


/* -------------------- MAIN MENU ----------------- */

.main-menu-bible li.menu-item {
    display: flex;
    align-items: center; /* Vertically aligns content */
}

.main-menu-bible li.menu-item::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('https://bible.dveri.bg/wp-content/uploads/2025/01/romboid.png');
    background-size: cover;
    margin: 0px 10px 0px 20px;

}


/* -------------------- NEW FLEX DESIGN ----------------- */

/* Desktop View Styles */
.three-column-container {
  display: flex;
	position: relative;
  transition: all 0.5s ease;
}

.left-column {
  width: 30%;
  max-width: 300px;
  overflow: hidden;
  transition: all 0.5s ease;
	font-size: 14px; 
}

.middle-column {
  width: 70%;
  max-width: 1200px;
}

.right-column {
  width: 0%;

  overflow: hidden;
/*  transition: all 0.5s ease;*/
}

.iframe_container {
	height: 100%;
	margin: 0px 0px 0px 0px;
}

/* Resize columns */
.container-expand-right .left-column {
/*  width: 0%; */
  animation: shrink-and-hide 0.05s forwards ease;
}

@keyframes shrink-and-hide {
    0% {
      width: 100%;
    }
    100% {
      width: 0;
      display: none; /* Technically not supported; workaround below */
    }
  }

.container-expand-right .middle-column {
  width: 50%;
}

.container-expand-right .right-column {
  width: 50%;
/*  transition: all 0.5s ease; */
}

/* -------------------- Mobile View Styles -------------------- */

@media (max-width: 768px) {

	.left-column,
	.right-column {
		display: none;
	}
	
	.middle-column {
		width: 100%;
	}

	.container-expand-right .left-column,
	.container-expand-right .right-column {
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0px;
		left: 0px;
		z-index: 30000;
		transition: all 0.5s ease;
		display: block;
	}
	
	.container-expand-right .middle-column {
		display: block;
		width: 100vw;
		height: 100vh;
		z-index: 20;
		overflow:hidden;
	}

}


/* -------------------- LEFT MENU ----------------- */

.left-column .menu-testament-title {
	color: var(--e-global-color-primary);
}

.menu-testament-content {
	display: none;
}

p.menu-chapters {
	margin: 0px 0px 5px 0px;
}

.menu-book-title {
	font-weight: 400;
	font-size: 16px;
    cursor: pointer;
}

.menu-book-title:hover {
	color: var(--e-global-color-primary);
    cursor: pointer;

}

.menu-chapters a {
	background-color: #9E9E9E;
	color: white;
	font-size: 10px;
  	font-weight: bold;
  	padding: 1px 2px;
	min-width: 35px;
	border-radius: 2px;
}

.menu-chapters a:hover {
	background-color: var(--e-global-color-primary);
	color: white;
}

.menu-chapters a.highlighted {
	background-color: #EBB401;
	color: white;
}

.testament-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.testament-button {
  	font-weight: bold;
	color: var(--e-global-color-primary);
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border: 1px solid var(--e-global-color-primary);
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.testament-button.active {
    background-color: var(--e-global-color-primary);
    color: #fff;
    border-color: black;

}

.testament-button:hover {
    background-color: var(--e-global-color-primary);
    color: #fff;
}





/* -------------------- OTHER ----------------- */

.chapter-navigation {
    display: flex;
    justify-content: space-between;
}

.chapter-navigation a {
    text-decoration: none;
	font-weight: bold;
	cursor: pointer;
    padding: 5px 10px;
	border: 1px solid var(--e-global-color-primary);
	color: var(--e-global-color-primary);
    border-radius: 4px;
}

.chapter-navigation a:hover {
	background-color: var(--e-global-color-primary);
	color: white;
}

.chapter-navigation a.book-view {
}

.chapter-navigation a.home-link {
}

.chapters a, .bible-index a {
	color: var( --e-global-color-text );
}


.chapters a:hover, .bible-index a:hover {
	color: var( --e-global-color-accent );
}


div.chapters {
	margin-bottom: 30px;
}



.verse {
    display: flex;
    align-items: flex-start; /* Align items to the start */
    margin-bottom: 10px;
}

.verse-number {
    width: 30px; /* Fixed width for numbers */
    margin-right: 5px; /* Space between number and text */
    text-decoration: none; /* Remove underline */
    color: var( --e-global-color-text );
}

.verse-text {
    flex: 1; /* Allow the text to take the remaining space */
	color: var( --e-global-color-text );
}

.verse-link:hover .verse-text, .verse-link .verse-number {
	color: var( --e-global-color-accent );
}

.verse-link[data-c="0"][data-l="0"] .verse-number {
	color: var( --e-global-color-text );
}


.highlighted-verse {
    background-color: #F4E0C8; /* Light yellow background */
/*    border-left: 5px solid #ffc107; /* Add a border for emphasis */
/*    padding-left: 10px; /* Add some space for the border */
}


div.verses {
	margin-bottom: 30px;
}


#comment-popup h5 {
	margin: 0px 0px 6px 0px;
}

.custom-excerpt .elementor-shortcode div {
	font-size: 14px;
	overflow: hidden; 
	width:100%; 
	display: -webkit-box; 
	-webkit-line-clamp: 3; 
	-webkit-box-orient: vertical;
}

.custom-excerpt .elementor-shortcode a {
	color: var(--e-global-color-primary);
	font-size: 14px;
}



/* -------------------- Authors list ----------------- */


.author-box {
    border: 1px solid gray;
    padding: 10px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

.author-box h4 {
	font-size: 18px;
	margin: 5px 0;	
}

.author-box ul {
	padding: 0px;
	list-style: none;
}

.author-index {
    margin: 10px 0;
    text-align: center;
	position: sticky;
    top: 70px;
    background-color: #FFFBDBC0;
    padding: 10px;
    z-index: 1000;
    border: 2px solid var(--e-global-color-primary);
}

.author-index a {
    margin: 0 5px;
    text-decoration: none;
}

.author-description::after {
	content: "";
    display: block;
    clear: both;
}

.author-box .more-link a {
  	display: block;
	font-weight: bold;
	padding: 12px 0 0 0;
	margin: 0;
}

.author-box p.more-link {
	margin: 0;
}

.article-authors {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.author-item a {
    display: inline-block;
    padding: 10px 15px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.author-item a:hover {
    background-color: #0073aa;
    color: #fff;
}


/* ----------------- */

p.tree-book {
	font-weight: bold;
	margin:0;	
}

p.tree-chapter, p.tree-verse {
	margin:0;
}


.verse-popup {
	position: absolute;
	background: #fff;
	border: 1px solid #ccc;
	padding: 4px 8px;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
	z-index: 1000;
	white-space: nowrap;
	font-size: 0.9em;
	pointer-events: none;
}


.author-book-title {
	font-weight: bold;
	font-size: 16px;
}

.author-chapters a {
	border-color: #757575;
	border: solid 1px;
	font-size: 14px;
	color: #757575;
  	font-weight: bold;
  	padding: 0px 5px;
	min-width: 35px;
	border-radius: 2px;
}

.author-chapters a:hover {
	background-color: var(--e-global-color-primary);
	color: white;
}

p.author-verse {
	font-size: 17px;
	font-weight: bold;
	font-style: italic;
	margin-bottom: 10px;
	margin-top: 22px;
	color: #757575;
	border-width: 0px 0px 0px 5px;
	border-style: solid;
	border-color: var(--e-global-color-primary);
	padding-left: 10px;
}

h2.author-index-title {
	color: var(--e-global-color-primary);
}



/* ---- Dictionary Global styles ---- */
/* dotted underline for auto-linkified terms */
a.definition-link {
	text-decoration: underline dotted;
}
