@font-face {
	font-family: Garamond;
	src: url('../src/EBGaramond-Regular.ttf');
		/* url('../src/EBGaramond12-Regular.ttf'),
			url('../src/EBGaramond12-Regular.otf'),
			url('../src/EBGaramond12-Regular.woff') format('woff'),
			url('../src/EBGaramond-Regular.ttf'); */
	font-display: swap;
}

:root {
	--zoom: 1;
	--unit: calc(min(100vw, 750px) * var(--zoom));
	--font-unit: calc(var(--unit) * 0.0494);
	--line-height-unit: calc(var(--unit) * 0.06);
	--paper-color: #FBF3E8;
	--font: Garamond, serif;
	font-family: var(--font);
	font-size: var(--font-unit);
	line-height: var(--line-height-unit);
	background-repeat: repeat;
	color: #222;
}

body {
	vertical-align: middle;
	margin: 0px;
	background-color: black;
}

.credit {
	margin-bottom: 0;
}

#main {
	max-width: var(--unit);
	margin: 0 auto; /*nocentrē*/
	background-color: var(--paper-color);
}

.maincontainer {
  padding: 0;
}

#liturgiskakrasabaneris {
  box-shadow: 0px 5px #222;
  width: 100%;
  margin: 0px;
}

#bannerborder {
  height: 40px;
  background-image: url(../img/Lacing.png);
  background-size: contain;
  background-repeat: repeat-x;
}

.logo img {
	height: calc(var(--unit) * 0.2);
	width: calc(var(--unit) * 0.2);
	border: 2px solid #fff;
	border-radius: 50%;
	background-color: #fff;
	vertical-align: middle;
}

.logo p {
  margin: 1%;
}

.logobar {
  text-align: center;
  padding: 0.5% 0 0.5% 0;
  background-color: #444;
}

.logobar h1 {
  margin: 0;
  color: #fff;
}

#apptitle {
  margin: 0;
  line-height: 200%;
  font-weight: 900;
  text-transform: uppercase;
  font-size: calc(var(--font-unit) * 1.5);
}

.dienaID {
  margin: 0px;
  font-size: var(--font-unit);
}

#datums,
#liturgsvetki,
#apptitle {
  color: inherit;
}

.dienaTips {
  margin: 0px;
  font-size: calc(var(--unit) * 0.06);
}

#altKrasa {
  margin: 1% auto auto auto;
  width: 2%;
  height: 2%;
  border-radius: 50%;
  border: 1px solid #fff;
}

#apptitle {
  vertical-align: bottom;
}

.centretsbloks {
  margin: 0 auto;
  width: 95%;
  text-align: center;
}

.infoparagrafs { // Kalendārā
  font-weight: bold;
}
.paragr {
	text-align: justify;
	text-indent: 5%;
	margin-left: calc(var(--font-unit)/2);
	margin-right: calc(var(--font-unit)/2);
}

.infolit {
  margin: 0 auto;
  width: 95%;
  padding: 2%;
}

.stundupoga {
  padding: calc(var(--font-unit) * 0.2);
  border-radius: calc(var(--font-unit) * 0.3);
  text-transform: uppercase;
  background-color: #444;
  border: none;
  color: #fff;
  transition: all ease-in 0.5s;
  font-size: calc(var(--font-unit) * 0.5);
  width: auto;
  font-weight: bold;
}

.stundupoga:hover {
  box-shadow: 0px 4px 5px #888;
  transform: scale(1.03);
  cursor: pointer;
  transition: all 0.1s;
}

.aktualastunda {
  background-color: #a3d420;
}

.accordion {
  font-size: calc(var(--font-unit) * 0.8);
  text-transform: uppercase;
  color: #444;
  cursor: pointer;
  padding: calc(var(--font-unit) * 0.1);
  width: 100%;
  text-align: left;
  border: none;
  transition: 0.4s;
}

.active,
.accordion:hover {
  background-color: #ccc;
}

.accordion:after {
  content: '\02795';
  /* Unicode character for "plus" sign (+) */
  font-size: calc(var(--font-unit) * 0.8);
  color: #a3d420;
  float: right;
}

.active:after {
  content: "\2796";
  /* Unicode character for "minus" sign (-) */
}

.panel {
  padding: calc(var(--font-unit) * 0.2);
  background-color: lightgrey;
  display: none;
  overflow: hidden;
}

.sarkans {
	font-weight: normal;
	color: #910a00;
}

.redbold {
	font-weight: bold;
	color: #910a00;
}

.blackbold {
	font-weight: bold;
}

.blackitalic {
	font-style: italic;
}

.bolditalic {
  font-style: italic;
  color: #910a00;
}

.italic {
  font-style: italic;
  color: #910a00;
}

.italicblack {
	font-style: italic;
}

.note {
	font-style: italic;
	font-weight: normal;
	color: #910a00;
	font-size: calc(var(--font-unit) * 0.7);
}

.psalms1,
.psalms2,
.lugsana {
  padding: 0;
  margin: calc(var(--font-unit) * 0.4) 0px;
}

.psalms2 {
  padding-left: calc(var(--font-unit) * 0.4);
}

.super {
	position: relative;
   top: calc(var(--font-unit) * (-0.3 ));
	font-size: calc(var(--font-unit) * 0.7);
}

p,
li {
  color: #222;
}

ul {
  padding-inline-start: 0;
}

li {
  list-style-position: inside;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #222;
}

h1,
h2 {
	text-transform: uppercase;
	font-size: var(--font-unit);
	line-height: var(--line-height-unit);
}

h4 {
	margin: auto;
	padding-top: calc(var(--font-unit) * 0.4);
   padding-bottom: calc(var(--font-unit) * 0.4);
}

#ant1,
#ant2,
#ant3,
h4 {
	font-size: var(--font-unit);
	line-height: var(--line-height-unit);
}

hr {
	margin: 3%;
	width: 90%;
	border: 0;
	height: 1px;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.container {
  /* padding: 0.4px; */
  /* margin: 0.4px; */
  border-block-end-width: 3px;
}

.titleimage img {
  display: block;
  margin: 0 auto;
  width: 90%;
  height: auto;
}

#LugsanuTeksts {
  padding: 1%;
  position: relative;
}

.white>p {
  color: #222!important;
}

#nextButton, #prevButton {
	font-size: var(--font-unit);
	line-height: var(--line-height-unit);
}

/* Sākums = Izvēršamās pogas= */

#main-menu {
	position: relative;
	z-index: 1;
}
#main-menu-button {
	position: absolute;
	right: 10px;
	}
.menu-button {
	font-weight: bold;
   font-size: larger;
	cursor: cell;
	background-color: #3498DB;
	border: 0;
	border-radius: 100%;
}

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

.main-menu-button:hover .menu-button:hover .main-menu-content{
	background-color: #2980B9;
	display: block;
}


/* Dropdown Button */
.dropbtn {
  background-color: #3498DB;
  color: white;
  padding-block: inherit;
  margin: -10px;
  font-size: inherit;
  border: none;
  border-radius: 20%;
  cursor: pointer;
  /* margin-top: 3%; */
}
/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
  background-color: #2980B9;
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
	float: right;
	right: 5%;
	height: 6%;
	width: 6%
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  font-size: calc(var(--font-unit) * 0.7);
  background-color: #f1f1f1;
  min-width: max-content;
  right: 0;
  z-index: 1;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding-left: 10px;
  padding-right: 10px;
  text-decoration: none;
  display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd}
/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}
/* Beigas = Izvēršamās pogas= */

#bookMarkZoom {
    line-height: 0;
}
.bookMarkText, #zoom {
	font-size: 50%;
	line-height: 100%;
}
.zoombtn {
	font-weight: 900;
	background-color: #3498DB;
	color: white;
	padding-block: inherit;
	border: none;
	border-radius: 20%;
	cursor: pointer;
}
.zoompercent {
	font-size: 50%;
}