:root {
  color-scheme: light;
  --page-bg: #eef3f8;
  --page-bg-alt: #f9fbfd;
  --surface-bg: rgba(255, 255, 255, 0.9);
  --surface-border: rgba(148, 163, 184, 0.28);
  --surface-strong-border: rgba(148, 163, 184, 0.42);
  --text-color: #0f172a;
  --muted-text: #475569;
  --navbar-bg: rgba(255, 255, 255, 0.9);
  --navbar-border: rgba(148, 163, 184, 0.22);
  --comment-border: rgba(148, 163, 184, 0.44);
  --link-color: #155eef;
  --accent-color: #0f766e;
  --accent-contrast: #ffffff;
  --shadow-color: 15, 23, 42;
  --radius-lg: 1rem;
  --radius-md: 0.75rem;
  --radius-sm: 0.5rem;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #020617;
  --page-bg-alt: #0f172a;
  --surface-bg: rgba(15, 23, 42, 0.84);
  --surface-border: rgba(148, 163, 184, 0.2);
  --surface-strong-border: rgba(148, 163, 184, 0.28);
  --text-color: #f8fafc;
  --muted-text: #cbd5e1;
  --navbar-bg: rgba(15, 23, 42, 0.84);
  --navbar-border: rgba(148, 163, 184, 0.2);
  --comment-border: rgba(148, 163, 184, 0.34);
  --link-color: #93c5fd;
  --accent-color: #2dd4bf;
  --accent-contrast: #04111f;
  --shadow-color: 2, 6, 23;
}

html {
  scroll-behavior: smooth;
}

html, body {
  background: var(--page-bg) !important;
  color: var(--text-color) !important;
  min-height: 100%;
}

body, button, input, select, textarea {
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body {
  margin: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
  line-height: 1.6;
}

.navbar,
.site-footer,
.page {
  background: var(--page-bg) !important;
  color: var(--text-color) !important;
}

.navbar,
.site-footer {
  border-color: var(--navbar-border) !important;
}

.navbar {
  backdrop-filter: blur(18px);
  background: var(--navbar-bg) !important;
  border: 1px solid var(--navbar-border);
  border-radius: 0 0 1.25rem 1.25rem;
  box-shadow: 0 10px 30px rgba(var(--shadow-color), 0.08);
  margin: 0 auto 1.5rem;
  padding: 0.85rem 1rem;
  width: min(calc(100% - 1.5rem), 1200px);
}

.navbar .nav-link,
.navbar .navbar-brand,
.site-footer p {
  color: var(--text-color) !important;
}

.navbar .navbar-brand {
  font-weight: 300;
  letter-spacing: 0.02em;
}

.navbar .nav-link {
  border-radius: 999px;
  padding: 0.45rem 0.8rem !important;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

body a,
.site-footer a,
.site-footer nav a,
footer a {
  color: var(--link-color);
}

a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

html[data-theme="light"] .navbar .nav-link,
html[data-theme="light"] .navbar .navbar-brand,
html[data-theme="light"] .site-footer p,
html[data-theme="light"] .site-footer p {
  color: #111827 !important;
}

html[data-theme="dark"] .navbar .nav-link,
html[data-theme="dark"] .navbar .navbar-brand,
html[data-theme="dark"] .site-footer p {
  color: #f8fafc !important;
}

.content-section,
.jumbotron,
.content-section2,
.content-section3,
.content-right,
.content-off,
.card,
.img-thumbnail,
.form-control,
.alert {
  background: var(--surface-bg) !important;
  color: var(--text-color) !important;
  border-color: var(--surface-border) !important;
  box-shadow: 0 12px 30px rgba(var(--shadow-color), 0.08) !important;
}

.card {
  overflow: hidden;
}

.card-body {
  background: inherit !important;
  color: inherit !important;
  border-radius: inherit;
  box-shadow: none !important;
}

#theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--surface-border);
  background: var(--surface-bg);
  line-height: 1;
  color: var(--text-color);
  font-size: 0;
}

#theme-toggle::before {
  content: "🌙";
  font-size: 1rem;
  line-height: 1;
}

html[data-theme="dark"] #theme-toggle::before {
  content: "☀️";
}

#theme-toggle:hover,
#theme-toggle:focus {
  background: rgba(37, 99, 235, 0.08);
}

.site-footer {
  margin-top: 4rem;
  padding: 2rem 1rem;
  border-top: 1px solid var(--navbar-border);
  text-align: center;
  font-size: 0.9rem;
}

.site-footer,
.site-footer nav,
.site-footer p {
  backdrop-filter: blur(14px);
}

.site-footer nav,
.site-footer p {
  color: var(--muted-text) !important;
}

.site-footer nav {
  margin-bottom: 1rem;
}

.site-footer a {
  margin: 0 0.75rem;
  text-decoration: none;
}

.page {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 0.75rem 2rem;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  background: transparent !important;
  color: var(--text-color) !important;
}

ul {
  margin: 0;
}

.jumbotron {
  border: 1px solid var(--surface-strong-border) !important;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem) !important;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(20, 184, 166, 0.08)),
    var(--surface-bg) !important;
}

.jumbotron .display-3,
.hero-title {
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.jumbotron .lead,
.hero-lead,
.section-subtitle {
  color: var(--muted-text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-actions .btn,
.page-button {
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-weight: 300;
}



.btn-outline-secondary,
.page-jump input {
  border-color: var(--surface-strong-border) !important;
}

.image-grid {
  gap: 1.25rem;
}

.image-card {
  flex: 0 1 100%;
  width: 100%;
  max-width: 100%;
  align-self: flex-start;
}

.image-card .content-section,
.image-card .content-section3,
.image-card .content-section2 {
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.image-card-surface {
  border: 1px solid var(--surface-border) !important;
  box-shadow: 0 12px 30px rgba(var(--shadow-color), 0.06) !important;
}

.image-card-meta {
  padding: 0.9rem 0.95rem 0.7rem;
}

.image-card-media {
  display: block;
  margin: 0;
  width: 100%;
}

.image-card-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.image-card-stats {
  padding-bottom: 0.42rem;
  padding-top: 0.35rem;
  padding-right: 0.75rem;
}

.image-card-surface .text-muted,
.image-card-surface .image-age {
  color: var(--muted-text) !important;
}

.image-card-user,
.image-card-username {
  font-size: 0.95rem;
  font-weight: 300;
}

.image-card-username {
  color: var(--text-color) !important;
}

.image-card .text-truncate,
.image-card p,
.card-title {
  color: var(--text-color);
  margin-bottom: 0.85rem;
}

.image-card img,
.content-section img,
.content-section3 img,
.content-section2 img {
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-card-media img {
  border-radius: 0;
}

.image-card-surface .image-card-media img {
  border-radius: 0;
}

.image-card a:hover img,
.content-section a:hover img,
.content-section3 a:hover img,
.content-section2 a:hover img {
  transform: translateY(-2px);
}

main {
  background: transparent !important;
  color: var(--text-color) !important;
}

.page {
  background: transparent !important;
}

.content-section,
.content-section2,
.content-section3,
.card {
  border-radius: var(--radius-lg) !important;
}

@media (max-width: 767.98px) {
  .image-card {
    flex-basis: 100%;
    width: 100%;
  }
}

@media (min-width: 992px) {
  .image-card {
    flex: 0 1 calc(33.333% - 1.25rem);
    width: calc(33.333% - 1.25rem);
    max-width: calc(33.333% - 1.25rem);
  }
}

div-pt {
  padding-top: 20px;
}

div-pb {
  padding-bottom: 20px;
}

div-p {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-right: 15px;
  padding-left: 15px;
}

media-body2 {
  padding-left: 20px
}

#visulet-toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.visulet-toast {
  width: min(320px, calc(100vw - 2rem));
  background: var(--surface-bg);
  color: var(--text-color);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.28);
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  transform: translateX(18px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}

.visulet-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.visulet-toast-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.visulet-toast-close {
  font-size: 1.2rem;
  line-height: 1;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.visulet-toast-body {
  font-size: 0.95rem;
  line-height: 1.4;
}

.button_link {
  background: none!important;
  border: none;
  padding: 0!important;
  font-family: arial, sans-serif;
  color: #069;
  cursor: pointer;
}

.edit-image-like-button {
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--link-color) !important;
}

.edit-image-like-button .post-like-icon {
  font-size: 1.6rem;
}

.public-image-like-button {
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--link-color) !important;
}

.public-image-like-button .post-like-icon {
  font-size: 1.6rem;
}

.bg-steel {
  background-color: #5f788a;
}

.site-header .navbar-nav .nav-link {
  color: #cbd5db;
}

.site-header .navbar-nav .nav-link:hover {
  color: #ffffff;
}

.site-header .navbar-nav .nav-link.active {
  font-weight: 300;
}

.content-section {
  background: var(--surface-bg) !important;
  border: 2px solid var(--surface-border) !important;
  border-radius: 3px;
  margin-bottom: 20px;
}

.content-right {
  border-left: 2px solid var(--surface-border) !important;
  border-top: 2px solid var(--surface-border) !important;
  border-bottom: 2px solid var(--surface-border) !important;
  margin-bottom: 20px;
  border-radius: 3px;
}

.jumbotron {
  border: 2px solid var(--surface-border) !important;
  background: var(--surface-bg) !important;
  background-color: var(--surface-bg) !important;
}

.content-section2 {
  border: 2px solid var(--surface-border) !important;
  padding: 10px 20px;
  margin-bottom: 20px;
  border-radius: 3px;
}

.content-section3 {
  border: 2px solid var(--surface-border) !important;
  border-radius: 3px;
}

.content-off {
  background: var(--surface-bg) !important;
  border: solid transparent !important;
}

.mr-n1-5 {
  margin-right: -0.40rem !important;
}

.bt {
  border-top: 2px solid #808080;
}

.bb {
  border-bottom: 2px solid #808080;
}

.margin_t1 {
  margin-top: 80px;
}

.text_container {
  word-wrap: break-word;
}

.text_row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  word-wrap: break-word;
}

@media (max-width: 767.98px) {
  .navbar-toggler {
    border-color: var(--comment-border) !important;
  }

  .navbar-toggler-icon {
    background-color: var(--comment-border) !important;
    background-image: none !important;
    -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }
}

.comment_header {
  height: 40px;
}

.ppic_cont {
  height: 40px;
  width: 40px;
}

.friend-avatar-row {
  max-width: 100%;
  overflow: hidden;
}

.friend-avatar-stack {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.friend-avatar-item {
  flex: 0 0 auto;
}

.friend-avatar {
  display: block;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .friend-avatar-stack {
    padding: 0.4rem 0.25rem !important;
  }

  .friend-avatar {
    height: 32px;
    width: 32px;
  }
}

.ml-6 {
  margin-left: 150px;
}


#comment_container {
  max-height: 1100px;
	overflow: hidden;
	
	/* Set transitions up. */
	-webkit-transition: max-height 0.7s;
	-moz-transition: max-height 0.7;
	transition: max-height 0.7s;
}

#comment_container.open {
  max-height: 10000px;
	overflow: hidden;
	
	/* Set transitions up. */
	-webkit-transition: max-height 0.7s;
	-moz-transition: max-height 0.7;
	transition: max-height 0.7s;
}

#reply_container {
  max-height: 300px;
	overflow: hidden;
	
	/* Set transitions up. */
	-webkit-transition: max-height 0.7s;
	-moz-transition: max-height 0.7;
	transition: max-height 0.7s;
}

#reply_container.open {
  max-height: 1000px;
	overflow: hidden;
	
	/* Set transitions up. */
	-webkit-transition: max-height 0.7s;
	-moz-transition: max-height 0.7;
	transition: max-height 0.7s;
}

#rep_container {
  max-height: 300px;
	overflow: hidden;
	
	/* Set transitions up. */
	-webkit-transition: max-height 0.7s;
	-moz-transition: max-height 0.7;
	transition: max-height 0.7s;
}

#rep_container.open {
  max-height: 1000px;
	overflow: hidden;
	
	/* Set transitions up. */
	-webkit-transition: max-height 0.7s;
	-moz-transition: max-height 0.7;
	transition: max-height 0.7s;
}



.comment_box {
	max-height: 0px;
	overflow: hidden;
	
	/* Set transitions up. */
	-webkit-transition: max-height 0.7s;
	-moz-transition: max-height 0.7;
	transition: max-height 0.7s;
}

.comment_box.open {
	max-height: 400px;
	
	/* Set transitions up. */
	-webkit-transition: max-height 0.7s;
	-moz-transition: max-height 0.7;
	transition: max-height 0.7s;
}

#comment_button {
  max-height: 0px;
  overflow: hidden;
}

#comment_button.open {
  max-height: 400px;
}

#thread_div {
  max-height: 0px;
  overflow: hidden;
}

#thread_div.open {
  max-height: 400px;
}

#thread_div2 {
  max-height: 0px;
  overflow: hidden;
}

#thread_div2.open {
  max-height: 400px;
}

.comment_div {
  border-left: 1px solid var(--comment-border) !important;
}

.reply_div {
  border-left: 1px solid var(--comment-border) !important;
}

.rep_div {
  border-left: 1px solid var(--comment-border) !important;
}

.article-title {
  color: var(--text-color);
}

a.article-title:hover {
  color: #428bca;
  text-decoration: none;
}

.article-content {
  white-space: pre-line;
  color: inherit;
}

.margin-rl {
  margin-right: 1px;
  margin-left: 1px;
}
  

.article-img {
  height: 65px;
  width: 65px;
  margin-right: 16px;
}

.profile-img {
  height: 200px;
  width: 200px;
  margin-right: 16px;

}

.profile-img-2 {
  height: 80px;
  width: 80px;
}

.profile-img-3 {
  height: 120px;
  width: 120px;
}

.thumb-post-img {
  object-fit: none;
  object-position: center;
  width: 100%;
  max-height: 250px;
  margin-bottom: 1rem;
}

.centered-and-cropped { object-fit: cover }


.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e3e3e3
}

.article-metadata a:hover {
  color: #333;
  text-decoration: none;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.account-img {
  height: 125px;
  width: 125px;
  margin-right: 20px;
  margin-bottom: 16px;
}

.account-heading {
  font-size: 2.5rem;
  color: var(--text-color);
}

.page-jump input {
  width: 40px;
  padding: 2px;
  font-size: 11px;
}

.page-button {
  padding: 2px 5px;
  font-size: 11px;
}

.next-page {
  padding-top: 1px;
}

.row {
  margin-left: auto;
  margin-right: auto;
}

.row.tight-grid > [class*="col-"] {
    padding-left: 5px;
    padding-right: 5px;
}

.col-6 {
  margin-left: auto;
  margin-right: auto;
}

.description-text {
    overflow-wrap: break-word;
    word-break: break-word;
}

.image-grid {
    gap: 1rem;
}

.image-masonry-grid {
  -webkit-column-count: 1;
  -moz-column-count: 1;
  column-count: 1;
  -webkit-column-gap: 1rem;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  column-fill: balance;
}

html[data-theme="light"] .image-masonry-grid {
  background: var(--page-bg) !important;
}

.image-masonry-grid .image-card {
  display: block;
  width: 100% !important;
  max-width: none;
  margin: 0 0 1rem;
  break-inside: avoid-column;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.image-masonry-grid .image-card .content-section {
  margin-bottom: 0;
}

html[data-theme="light"] .image-masonry-grid .image-card .content-section.image-card-surface {
  background: var(--surface-bg) !important;
  border-color: var(--surface-border) !important;
  box-shadow: none !important;
}

.image-masonry-grid .image-card .image-card-meta {
  min-height: 48px;
}

.image-masonry-grid .image-card .image-card-meta.pt-0 {
  min-height: 40px;
  display: flex;
  align-items: center;
}

.image-masonry-grid .image-card .image-card-meta.pt-0 p {
  width: 100%;
}

@media (min-width: 768px) {
  .image-masonry-grid {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }
}

@media (min-width: 1200px) {
  .image-masonry-grid {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
  }
}

.image-card {
    width: 250px;
}

.image-card-meta-row {
  align-items: center;
}

.image-card-user {
  min-width: 0;
  flex: 1 1 auto;
}

.image-card-username {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-age {
  flex: 0 0 auto;
  white-space: nowrap;
}

.divider {
    color: var(--comment-border) !important;
}

.cancel-btn {
    color: var(--link-color) !important;
    background-color: transparent !important;
    border-color: #007bff !important;
}

.btn-outline-selected {
    
    background-color: transparent !important;
}
