.row-header {
  margin: 0px auto;
  padding: 0px 0px; 
}

.row-content {
  margin: 0px auto;
  padding: 50px 0px 50px 0px;
  border-bottom: 1px ridge;
  min-height: 400px; 
}

.footer {
  background-color: #86ffa2;
  margin: 0px auto;
  padding: 20px 0px 20px 0px; 
}

.jumbotron {
  margin: 0px auto;
  padding: 70px 30px 70px 30px;
  background: white;
  color: #4ba2ff; 
}

#contactButton {
	color: white;
}

address {
  font-size: 80%;
  margin: 0px;
  color: #0f0f0f; 
}

body {
  padding: 50px 0px 75px 0px;
  z-index: 0; 
  font-family: "Play", sans-serif;
}

.navbar-dark {
  background: #007308; 
}

.tab-content {
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 10px; 
}

.carousel {
  background: #512DA8; 
}

.carousel .carousel-item {
    height: 300px; 
}

.carousel .carousel-item img {
  position: absolute;
  top: 0;
  left: 0;
  min-height: 300px; 
}

#carouselButton {
  right: 0px;
  position: absolute;
  bottom: 0px; 
}

.modal-header {
  background: #007308; 
}

.modal-header .modal-title {
    color: floralwhite; 
}

.modal-header button {
    color: floralwhite; 
}

.modal-header button:hover {
    color: white; 
}

.modal-body {
  background: #86ffa2; 
}

.modal-footer {
  background: #86ffa2; 
}
  
.tab-content {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px;
	margin-bottom: 10px;
}
	
.my-custom-scrollbar {
	position: relative;
	height: 500px;
	overflow: auto;
}

.table-wrapper-scroll-y {
	display: block;
}

#message {
	display: inline-block;
	margin: 5px;
	padding: 5px;	
	background: #cccccc;
	border: 1px solid #000;
}

.generalDiv {
	margin: 10px;	
}

.inbox tr td a {
    display:block;
    height:100%;
    width:100%;
	text-decoration: none;
	text-align: center;
	color: black;
}

.inbox th {
	text-align: center;
}

.inbox tr td {
    padding: 0;	
}

.loading-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-text {
  font-size: 18px;
  margin-top: 10px;
  color: #333;
}

.loading-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
      transform: rotate(0deg);
  }

  100% {
      transform: rotate(360deg);
  }
}

#backToTopBtn {
  display: none;  /*Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  left: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #007308; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
  width: 60px;
}

#backToTopBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

/* Markdown Editor Styles */
.markdown-toolbar {
  border: 1px solid #ddd;
  border-bottom: none;
  padding: 8px;
  background-color: #f8f9fa;
  border-radius: 4px 4px 0 0;
}

.markdown-toolbar .btn-group .btn {
  border-radius: 3px;
  margin-right: 2px;
}

.markdown-toolbar .btn-group .btn:hover {
  background-color: #e9ecef;
}

#editor-tabs {
  margin-left: 3px;
}

#editor-tabs .nav-link {
  color: #495057;
  font-weight: 500;
}

#editor-tabs .nav-link.active {
  background-color: #007308;
  color: white;
  border-color: #007308;
}

#editor-tabs .nav-link:hover:not(.active) {
  background-color: #f8f9fa;
  border-color: #ddd;
}

#markdown-preview {
  border-radius: 4px;
  max-height: 400px;
  overflow-y: auto;
}

#markdown-preview h1, #markdown-preview h2, #markdown-preview h3, 
#markdown-preview h4, #markdown-preview h5, #markdown-preview h6 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

#markdown-preview p {
  margin-bottom: 1rem;
}

#markdown-preview ul, #markdown-preview ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

#markdown-preview blockquote {
  border-left: 4px solid #007308;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #666;
}

#markdown-preview code {
  background-color: #f1f1f1;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: monospace;
}

#markdown-preview pre {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
}

/* Post content markdown styles */
.post-content h1, .post-content h2, .post-content h3, 
.post-content h4, .post-content h5, .post-content h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.post-content h1 { font-size: 2rem; }
.post-content h2 { font-size: 1.75rem; }
.post-content h3 { font-size: 1.5rem; }

.post-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.post-content ul, .post-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content blockquote {
  border-left: 4px solid #007308;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #666;
  font-style: italic;
}

.post-content code {
  background-color: #f1f1f1;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.post-content pre {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  border: 1px solid #e9ecef;
}

.post-content pre code {
  background-color: transparent;
  padding: 0;
}

.post-content a {
  color: #007308;
  text-decoration: none;
}

.post-content a:hover {
  color: #005206;
  text-decoration: underline;
}