/* ----------------------------------------Menu------------------------------------------*/
.menu-layer {
	font-family: Times;
	position: fixed;
	top: 0;
	background-image: linear-gradient(to bottom right, rgb(0, 70, 155), rgb(0, 30, 70));
	z-index: -1;
	left: -300px;
	/* Initial position outside of the screen */
	width: 300px;
	height: 100%;
	transition: left 0.3s ease;
	overflow-x: hidden;
	box-shadow: 0 0 50px -10px #003a80;
}
.menuright {
	font-family: Times;
	position: fixed;
	top: 0;
	background-image: linear-gradient(to bottom right, rgb(187, 7, 7), rgb(70, 0, 0));
	z-index: -1;
	left: 100%;	/* Initial position outside of the screen */
	width: 60px;
	height: 100%;
	transition: left 0.3s ease;
	overflow-x: hidden;
	box-shadow: 0 0 50px -10px #dd4e4e;
	border-left: 1px solid;
	text-align: center;
}
.menu-layer h1 {
	font-size: 24px;
	font-family: Times;
	color: white;
	margin: auto;
	padding-bottom: 5px;
	text-align: center;
	text-decoration: underline gold;
}
/* ----------------------------------------TAB------------------------------------------*/
.tab {
	overflow: hidden;
	border: none;
	background-color: rgba(241, 241, 241, 0.2);
}

/* Style the buttons inside the tab */
.tab button {
	background-color: inherit;
	float: left;
	border: 1px solid #ccc;
	outline: none;
	cursor: pointer;
	width: 60px;
	padding: 5px;
	transition: 0.3s;
	font-size: 24px;
	color: ivory;
}

/* Create an active/current tablink class */
.tab button.active {
	background-color: rgba(90, 90, 90, 0.7);
}
.tabRight {
	overflow: hidden;
	border: none;
}

/* Style the buttons inside the tab */
.tabRight button {
	background-color: inherit;
	float: left;
	/*border: 1px solid #ccc;*/
	/*outline: none;*/
	cursor: pointer;
	width: 100%;
	padding: 5px;
	transition: 0.3s;
	font-size: 4vh;
	color: ivory;
	height: 50%;
	text-orientation: upright;
	writing-mode: vertical-rl;
	align-items: center;

}

/* Create an active/current tablink class */
.tabRight button.active {
	color: gold;
	background-color: rgba(90, 90, 90, 0.7);
}
/* Style the tab content */
.tabcontent {
	display: none;
	padding: 5px;
	border: none;
	border-top: 1px solid #ccc;
	color: ivory;
	animation: fadeEffect 0.15s;
}

@keyframes fadeEffect {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* --------------------------------TEXT-SETTINGS-BUTTONS-----------------------------------*/
.button__container {
	padding: 10px;
	display: inline-grid;
	grid-template-columns: auto auto auto;
	gap: 5px 5px;
	height: 280px;
	align-items: center;
}

.button__link {
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	transition: background-color 0.1s ease-in-out;
	width: 80px;
	height: 90px;
	padding: 3px;
	text-align: center;
	color: ivory;
}

.button__icon {
	font-family: sans-serif;
	font-size: 24px;
	margin: 3px;
	padding: 12px;
	border-radius: 2px;
	background-color: rgba(153, 153, 153, 0.5);
	border: 1px solid transparent;
}

.button__icon.isActive {
	box-shadow: inset 8px 5px 8px #faccaa, inset -8px -6px 20px #eff;
	color:gold;
	border: 1px solid;
}

.button__text {
	font-family: Times;
	font-size: 16px;
	height: 42px;
	line-height: 1.0;
	margin: 0px;
}

.twoColumnsWide {
	grid-column: span 2;
}

/* --------------------------------SETTING-ICONS-FONT------------------------------------*/
@font-face {
	font-family: 'ICONs';
	src: url('../fonts/woff2/ICONs.woff');
}

i {
	font-family: 'ICONs' !important;
	font-style: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}
.icon-fullscreen:before {content: '\26F6'; line-height: 1.2;}
.icon-fullscreen {display: block;}
.icon-search:before {content: "\e900";}
.icon-font-size:before {content: "\e906";}
.icon-tbold:before {content: "\e978";}
.icon-reset:before {content: "\e907";}
.icon-text-wrap:before {content: "\e901";}
.icon-word-wrap:before {content: "\e902";}
.icon-openbook:before {content: "\e903";}
.icon-frame:before {content: "\e904";}
.icon-bookmark:before {content: "\e905";}
.icon-zoom-in:before {content: "\e987";}
.icon-zoom-out:before {content: "\e988";}
.icon-settings:before {content: "\e992";}
.icon-combine:before {content: "\ea72";}
.icon-center-text:before {content: "\ea78";}
.icon-numbered-list:before {content: "\e9b9";}
.icon-alarm:before {content: "\e950";}

/* --------------------------------Palaty-Buttons&Psalm-Index-----------------------------------*/

.menu-pal-c {
	display: grid;
	text-align: center;
	grid-template-columns: auto auto auto auto;
	grid-template-rows: auto auto auto auto auto;
	grid-gap: 10px 15px;
	padding: 10px;
}

.menu-pal-c p {
	padding: 10px !important;
	font-family: Times;
	color: gold;
	border: 1px solid #dfdfdf;
	border-radius: 50%;
	font-size: 28px !important;
	margin: 0;
}
.palTitleMenu {
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
	padding: 5px;
	margin: 0;
	height: 80px;
	text-wrap: balance;
}
.activePalataButton {
	/*background: #ffebeb63;*/
	box-shadow: inset 8px 5px 8px #faccaa, inset -8px -6px 20px #eff;
	font-weight: bold;
	text-shadow: 2px 2px 2px #000000c4;
	border: 1px solid gold !important;
	position: relative;
	border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /*background-color: white;*/
}
.activePalataButton::before {
  content: '';
  position: absolute;
width: 101%;
  height: 101%;
  border-radius: 50%;
  animation: rotate 15s linear infinite;
  background: radial-gradient(at 0% 30%,transparent,aquamarine);
  z-index: -1;
}
 @keyframes rotate {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }
.psalmLinkContainer p {
	margin: 0px;
	padding: 0px;
}

.psalmLinkContainer li {
	text-align: center;
	font-size: 20px;
	list-style: decimal;
	font-weight: normal;
}


.psalmLinkContainer li::marker {
	font-weight: normal;
	font-size: 12px;
}

.psalmLinkContainer ul {
	padding-left: 20px;
	column-count: 2;
	margin: 0;
}

/* --------------------------------COVER-----------------------------------*/
.cover {
	z-index: 100;
	transition: 1.0s;
	display: flex;
	opacity: 0;
	top: 0;
	left: 0;
	background: radial-gradient(#BF953F, #FCF6BA 20%, #B38728);
	position: fixed;
	height: 100%;
	width: 100%;
	align-items: center;
	object-fit: contain;
	justify-content: center;
}

.cover img {
	position: relative;
	margin: auto;
	max-height: 90%;
	max-width: 90%;
	display: block;
	border-radius: 2px;
	-webkit-box-shadow: 5px 10px 15px rgba(0, 0, 0, .5);
	box-shadow: 5px 10px 15px rgba(0, 0, 0, .5);
}

/* --------------------------------slider-fontsize-----------------------------------*/
#fosize {
	margin-left: auto;
	margin-right: auto;
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

/* --------------------------------Color choose Buttons-----------------------------------*/
.clrcontainer {
	display: block;
	text-align: center;
}

.clrButton {
	font-family: Times;
	margin: 5px;
	padding: 12px;
	border-radius: 50px;
	height: 44px;
	width: 44px;
}

/* --------------------------------SUCHE-----------------------------------*/

.search-box,
.close-icon,
.search-wrapper {
	position: relative;
	padding: 10px;
}

.search-wrapper {
	width: 300px;
	margin: auto;
	
}

.search-box {
	width: 85%;
	font-family: Times;
	border: 1px solid #ccc;
	outline: 0;
	border-radius: 50px;
}

.search-box:focus {
	box-shadow: 0 0 10px 0px #b0e0ee;
	border: 2px solid #bebede;
}

.close-icon {
	border: 1px solid transparent;
	background-color: transparent;
	display: inline-block;
	vertical-align: middle;
	outline: 0;
	cursor: pointer;
}

.close-icon:after {
	content: "×";
	display: block;
	width: 15px;
	height: 15px;
	position: absolute;
	background-color: #FA9595;
	z-index: 1;
	right: 35px;
	top: 0;
	bottom: 0;
	margin: auto;
	padding: 2px;
	border-radius: 50%;
	text-align: center;
	color: white;
	font-weight: normal;
	font-size: 12px;
	box-shadow: 0 0 2px #E50F0F;
	cursor: pointer;
}

.search-box:not(:valid)~.close-icon {
	display: none;
}

.searchContainer table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    padding-left: 14px;
    padding-right: 14px;
    hyphens: auto;
    font-weight: bold;
}

.searchContainer tr {
    border-bottom: 1px solid lightgray;
}

.searchContainer td {
    margin: 0;
    padding: 3px 5px;
    letter-spacing: 0.035em;
	font-size: 16px;
	font-weight: bold;
}

.searchContainer td:nth-child(1) {
    width: auto; 
	text-wrap: balance;
	text-align: center;
	hyphens: auto;
}

.searchContainer td:nth-child(2) {
    min-width: max-content; 
	text-align: right;
	color: goldenrod;
	font-size: 14px;
	
}
#reslt {
	text-align: center;
}
/*---------------------------toggle button text-color---------------------------*/
.toggle-checkbox {
	display: none;
}

.toggle-label {
	width: 40px;
	height: 40px;
	text-align: center;
	border-radius: 50%;
	font-size: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background-color: var(--defaultPaperColor);
	color: black;
	border: solid 3px;
	transition: background-color 0.3s, color 0.3s;
}

.toggle-checkbox:checked+.toggle-label {
	background-color: black;
	color: white;
}

.toggle-checkbox:checked+.toggle-label::before {
	content: "T";
	left: -1px;
	position: relative;
}

.toggle-checkbox+.toggle-label::before {
	content: "T";
	left: -1px;
	position: relative;
}

/*----------------------container for menu of textColorPicker----------------*/

/*background color picker*/
#colorPicker {
	height: 40px;
	width: 40px;
}
.colorPickersContainer {
	display: inline-flex;
	margin: 5px;
	align-items: center;
	gap: 15px;
}
/*----------------------container bookmark tab----------------*/

#bookmarkContainer ul {
	margin: 0;
	padding-left: 14px;
	padding-right: 14px;
	hyphens: auto;
	/*  text-align: justify;*/
	font-weight: bold;
}

#bookmarkContainer li {
	border-style: none none solid none;
	border-color: lightgray;
	border-width: 1px;
	list-style-type: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5px 0px 5px 0px;
}

#bookmarkContainer li p {
	margin: 0;
	letter-spacing: 0.05em;
	width: 70%;
	font-weight: normal;
}

#bookmarkContainer li:last-child {
	border-bottom: none;
}

#bookmarkContainer .delete-button {
	color: red;
	border-radius: 50%;
	width: 20px;
}

#bookmarkContainer .move-buttons button {
	font-size: 12px;
	margin-left: 3px;
}

#bookmarkList>li:first-child>span.move-buttons>.buttonUp {
	display: none;
}

#bookmarkList>li:last-child>span.move-buttons>.buttonDown {
	display: none;
}

/*-----------------------------ADD BOOKMARK BUTTON----------------------------*/
#bookmark-button {
	position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: none;
    height: 35px;
    font-size: 20px;
    padding: 0px 10px;
    max-width: fit-content
}

#bookmark-button.show {
	display: block !important;
}

/*-----------------------------Alarms----------------------------*/
#alarmList{
	display: block;
	color: black;
}
ul#alarmList {
	list-style: none;
	padding: 0;
}
#alarmList li {
	background-color: #fff;
	border: 1px solid #ccc;
	margin-bottom: 10px;
	padding: 5px 10px 5px 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 12px;
}
#alarmList li.deactivated {
	background-color: #f2f2f2; 
	color: #aaa; 
	cursor: not-allowed;
}
#alarmList li.deactivated .timeDiv{
	font-weight: normal!important;
}
#alarmList .timeDiv {
	text-align: center;
	width: 80px;
	margin: 0px auto 0px 0px;
	font-weight: bolder;
}
#alarmList .timeDiv p {
	font-size: 24px;
	margin: 0;
}
#alarmList .editButton{
	background-color: inherit;
	border:0;
	border-radius:50px;
	padding: 0;
	font-size: 20px;
	color: darkred;
}
#alarmList p.smallFont{
	font-size: 12px;
	color: #777;
}
#alarmList .switch {
	display: inline-block;
	position: relative;
	width: 40px;
	height: 20px;
}

#alarmList .switch input {
	display: none;
}

#alarmList .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	border-radius: 10px;
	transition: .4s;
}

#alarmList .slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	border-radius: 50%;
	transition: .4s;
}

#alarmList input:checked + .slider {
	background-color: #2196F3;
	border-radius: 10px;
}

#alarmList input:checked + .slider:before {
	transform: translateX(20px);
}

#alarmPopup {
	position: relative;
	color: black;
	background-color: #fff;
	border-radius: 30px;
	border: 1px solid #ccc;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
	text-align: center;
	display: none;
	padding-bottom: 15px;
}

#alarmList	select, #alarmList label {
	display: inline;
}

#saveAlarm {
	display: inline;
	margin: 10px auto;
	background-color: #2196F3;
	color: white;
	border: none;
	padding: 10px 20px;
	cursor: pointer;
}
#deleteAlarm {
	display: inline;
	margin: 10px auto;
	background-color: #2196F3;
	color: white;
	border: none;
	padding: 10px 20px;
	cursor: pointer;
}
#addAlarm {
	display: block;
	margin: 20px auto;
	background-color: #2196F3;
	color: white;
	border: none;
	border-radius: 50%;
	padding: 10px 10px;
	cursor: pointer;
	font-size: 20px;
}