/* General styles */
/* use Gentium Plus - Regular in .woff format */
@font-face {
  font-family: GentiumPlusW;
  src: url(ttf/GentiumPlus-Regular.woff2);
}
@font-face {
  font-family: Garrigos_Ornamental;
  src: url(ttf/Garrigos_Ornamental.otf);
}
/* use Gentium Plus - Italic in .woff2 format */
/*@font-face {
  font-family: GentiumPlusW;
  font-style: italic;
  src: url(ttf/GentiumPlus-Italic.woff2);
}
/* use Gentium Plus - Bold in .woff2 format */
/*@font-face {
	font-family: GentiumPlusW;
	font-weight: bold;
	src: url(ttf/GentiumPlus-Bold.woff2);
}
/* use Gentium Plus - Bold Italic in .woff2 format */
/*@font-face {
	font-family: GentiumPlusW;
	font-weight: bold;
	font-style: italic;
	src: url(ttf/GentiumPlus-BoldItalic.woff2);
}*/
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  //width: 50%;
}


body {
    font-family: GentiumPlusW, sans-serif;
    margin: 5px;
	font-size:16px;
    padding: 5px;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 10px;
}

a {
  word-wrap: break-word;
}

h1, h2, h3 {
    margin-top: 5;
}

/* Edit panel styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ccc;
}

/* Edit post styles */
form {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

/* Full-width textarea with scrollbars */
textarea {
    height: 200px;
    overflow-y: auto;
}

/* Markdown-style formatting for line breaks */
textarea:focus {
    outline: none;
}

textarea:focus, textarea:active {
    box-shadow: 0 0 5px #4CAF50;
}

textarea:not(:focus) {
    resize: none;
    overflow: hidden;
    min-height: 30px;
    line-height: 1.6;
}

textarea:not(:focus):before {
    content: attr(value) "\A";
    white-space: pre-wrap;
}

div {
	margin-top: 5px;
}

/* Entry styles */
.entries-section {
	margin-bottom: 50px;
	margin: 10px;
    padding: 3px;
}
.entry {
    margin-bottom: 20px;	
}

.entry h1 {
    margin-top: 0;
}
.entry h3 {
    margin-left: 10px;
	margin-bottom: 15px;
	font-style: italic;
	font-weight: bold;
	font-size: 20px;
	color: #AA0000;
}
.entry h4 {
    margin-left: 10px;
	margin-bottom: 10px;
	font-style: italic;
	font-weight: normal;
	font-size: 18px;
	color: #AA0000;
}
.entry p {
	margin-top: 0;
    margin-bottom: 0;
	margin-left: 20px;
}
.entry span {
	/*font-size: 13px;
	text-decoration: italic; */
}


.entry {
    margin-bottom: 20px;	
}

.entry h1 {
    margin-top: 0;
}
.listentry h3 {
    margin-left: 10px;
	margin-bottom: 15px;
	font-style: italic;
	font-weight: bold;
	font-size: 20px;
	color: #AA0000;
}
.listentry h4 {
    margin-left: 10px;
	margin-bottom: 10px;
	font-style: italic;
	font-weight: normal;
	font-size: 18px;
	color: #AA0000;
}
.listentry p {
	margin-top: 0;
    margin-bottom: 0;
	margin-left: 20px;
}
.listentry span {
	/*font-size: 13px;
	text-decoration: italic; */
}




/* Category Index styles */
.index-section {
    margin-left: 20px;
}

.index-section h3 {
    margin-bottom: 5px;
}

.index-section h4 {
    margin-bottom: 2px;
}

.index-section p {
    margin-bottom: 2px;
}
#hints {
	border: 1px solid #ccc;
	padding: 5px;
	max-height: 200px;
	overflow-y: auto;
}

#hints ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

#hints li {
	margin-bottom: 5px;
}

.dark-red {
	color: #8B0000;
	font-size: 18px;
}
.darker-red {
	color: #990000;
	font-size: 18px;
}
.medium-red {
	color: #AA0000;
	font-size: 18px;
}
.bright-red {
	color: #CC0000;
	font-size: 17px;
}
 
 
.scroll-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
}

.show-scroll-btn {
  display: block;
}

#zoom-slider {
  width: 80%; 
  margin: 0 auto;
}
#zoom-reset-button {
  display: block;
  margin: 10px auto;
  text-align: center;
}




#emoji-selector {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(0%, -50%);
    display: none;
    background: white;
    border: 1px solid #ccc;
    padding: 5px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    max-height: 200px; /* Set the desired maximum height */
    overflow-y: auto; /* Enable vertical scroll when content overflows */
    z-index: 9999;
}
.emoji-option {
	display: inline-block;
	cursor: pointer;
	margin: 5px;
	font-size: 18px;
}

/* Styles for tabs */
.tab {
	overflow: hidden;
	background-color: #f1f1f1;
	border: 1px solid #ccc;
}

.tab button {
	background-color: inherit;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 8px 12px;
	transition: 0.3s;
}

.tab button:hover {
	background-color: #ddd;
}

.tab button.active {
	background-color: #ccc;
}

/* Styles for tab content */
.emoji-category {
	display: none;
	padding: 5px;
	border: 1px solid #ccc;
	background-color: white;
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.emoji-option {
	display: inline-block;
	cursor: pointer;
	margin: 5px;
	font-size: 18px;
}



        /* Styles for tabs */
        .tab {
            overflow: hidden;
            background-color: #f1f1f1;
            border: 1px solid #ccc;
        }

        .tab button {
            background-color: inherit;
            float: left;
            border: none;
            outline: none;
            cursor: pointer;
            padding: 8px 12px;
            transition: 0.3s;
        }

        .tab button:hover {
            background-color: #ddd;
        }

        .tab button.active {
            background-color: #ccc;
        }

        /* Styles for tab content */
        .emoji-category {
            display: none;
            padding: 5px;
            border: 1px solid #ccc;
            background-color: white;
            box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
        }

        .emoji-option {
            display: inline-block;
            cursor: pointer;
            margin: 5px;
            font-size: 18px;
        }