body, html {
  margin:0;
  padding:0;
  height: 100%;
  background: #15202b;
}

.drag-item .drag-focus {
  cursor: move;
  padding-bottom: 0.3rem;
  padding-top: 0.3rem;
  overflow: hidden;
}

.bw {
  filter: grayscale(100%);
}
.bw:hover {
  filter: grayscale(80%);
}

#global .text-light,
#global .text-white,
#modal .text-light,
#modal .text-white,
#m .text-light,
#m .text-white,
#message_column .text-light,
#message_column .text-white  {
	 color: rgba(var(--bs-light-rgb),var(--bs-text-opacity)) !important;
}

.drag-item .drag-borders {
  background-image: linear-gradient(90deg,
  rgb(194 232 255 / 20%) 0%, rgb(194 232 255 / 20%) 20%,
  transparent 21%, transparent 39%,
  rgb(194 232 255 / 20%) 40%, rgb(194 232 255 /20%) 60%,
  transparent 61%, transparent 80%,
  rgb(194 232 255 / 20%) 80%, rgb(194 232 255 / 20%) 100%);
  background-size: 8px 100px;
  background-repeat: repeat-y;
  background-position-x: 7px;
  display: block;
  height: 100%;
  background-clip: content-box;
}

/* .drag-item:nth-child(2) {
  background: yellow !important;
}
.drag-item:nth-last-child(1) {
  background: yellowgreen !important;
} */

.drag-item:nth-child(2) .fa-arrow-up,
.drag-item:nth-last-child(1) .fa-arrow-down {
  display: none;
}

.drag-item.over .drag-focus {
  background-color:rgba(29,161,242,0.3) !important;
  /* background-color:red !important; */
}

.drag-item.over .drag-focus a,
.drag-item.over .drag-focus span,
.drag-item:hover .drag-focus a,
.drag-item:hover .drag-focus span {
  display: none;
}

a {
  cursor: pointer;
  text-decoration: none;
}
.invisible {
  display: none !important;
  /* visibility: visible !important; */
}
.shadow-strong {
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.3)!important;
}
.ot {
  white-space: nowrap;
  overflow-x: hidden;
  min-width: 1rem;
  /* text-transform: lowercase; */
}
/*
#modal_post {
  position: absolute;
} */

/* .s_landing.s_out {
  background:url('img/screenshots/dark.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top left;
  z-index: 1;
}
#cobra {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000000a1;
  top: 0;
  left: 0;
  z-index: 2;
} */
.disabled {
  pointer-events: auto !important;
  cursor: initial;
}

.hover:hover {
  background:rgba(0,0,0,0.1);
}

.navbar,
.bg-darkblue,
.bg-dark-blue,
.bg-dark-blue.form-control:focus {
  background: #1c2938;
}


.bg-darkerblue,
.bg-darker-blue,
.bg-darker-blue.form-control:focus {
  background: #15202b;
}



.border-darkerblue,
.border-darker-blue {
  border-color: #15202b !important;
}

.border-not-so-light-blue {
  border-color: #2f4660 !important;
}

.border-light-blue {
  border-color: #517890 !important;
}

.border-light-blue.form-control:focus{
  border-color: #517890 !important;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.navbar-normal {
  width: 100%;
  height: 4em;
}

.navbar-normal div {
  display:flex;
}

.navbar-normal div a {
  padding: 0 1em 0 0;
  display: block;
}

.navbar a {
  color: #aab8c2;
}

.card-body iframe {
  width: 100% !important;
}

.clamp-3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes messagecolumn {
  from {
    visibility: visible;
    opacity: 1;
  }
  70% {
    visibility: visible;
    opacity: 0.8;
  }
  80% {
    visibility: visible;
    opacity: 0.8;
  }
  to {
    visibility: hidden;
    opacity: 0;
  }
}

#message_column {
  position:absolute;
  z-index:9999;
  top: 1em;
  left: 5em;
  animation: messagecolumn 3s normal forwards ease-in-out;
}

.navbar-column {
  border-right: 1px solid rgba(0,0,0,0.5);
  float: left;
  width: 4em;
  height: 100%;
  margin: 0;
  top: 0;
  padding: 0.5em !important;
  position: fixed;
  align-items: stretch;
  display: flex;
  align-content: space-between;
  flex-direction: column;
  justify-content: flex-start;
  flex-wrap: nowrap;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;
}

.navbar-column a {
  display: block;
  width: 100%;
  text-align: center;
}
/*
#navbar-settings {
  margin-top: auto;
} */

.navbar-column a .fa {
  font-size: 1.6em;
}

.navbar-normal a .fa {
  font-size: 1.6em;
}

.navbar-column .navbar-brand {
  margin: 0 auto;
  padding: 0 0 1em !important;
}

.navbar-normal .navbar-brand {
  padding: 0;
}

.navbar-column img {
  width: 80%;
  display: block;
  margin: 0 auto;
}

.navbar-normal .navbar-brand img {
  width: 2.3em;
  margin: 0.1em auto 0;
}

#main {
  background: #15202b;
  width: 100%;
  height: 100%;
}

.s_columns #global {
  height: 100%;
}

.s_columns #main {
  position: fixed;
  left: 4em;
  overflow: hidden;
  float: left;
/*  margin-right:25em;*/
}

#columns {
  height: 100%;
  display: flex;
  width: calc(100% - 4em);
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  overflow-y: hidden;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: nowrap;
  flex-direction: row;
}

.column {
  scroll-snap-align: center;
  scroll-snap-stop: always;
  border-right: 1px solid rgba(0,0,0,0.5);
  height: 100%;
  min-width: 300px;
  max-width: 300px;
/*  float: left;*/
}



#column-post-button,
#column-post-close,
#column-add-button {
  width: 2.9em;
  height: 2.9em;
  margin-bottom: 1rem !important;
  padding-top: 0.6rem;
}

#column-add-button {
  margin-top: 1.1rem !important;
  padding-top: 0.7rem;
  margin-bottom: auto !important;
}

.column-post,
.column-add {
  /* position: absolute;
  width: 250px !important;
  min-width: 250px !important;
  z-index: 9999999; */
  background: #3d5466;
  overflow-x: hidden;
  overflow-y: hidden;
}

.column .cells {
  height: calc(100% - 3em);
  overflow-x: hidden;
  padding-bottom: 5rem;
/*  overflow-y: scroll;*/
/*  margin-top: 3em;*/
}


.cell,
.header {
  display: flex;
}

.cell {
  cursor: pointer;
}

.cell .content {
  float:left;
/*  width: 220px;*/
  width: calc(100%);
  overflow: hidden;
  overflow-wrap: break-word;
}

.header {
  cursor: pointer;
  top: 0;
  height: 3em;
  display: flex;
  justify-content: space-between;
  align-content: space-around;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  position: sticky;
  width: 100%;
  z-index: 9999;
}

@keyframes hey {
  from {
    box-shadow: none;
  }
  50% {
    box-shadow: inset 0 0px 10px 0 #1da1f2;
  }
  to {
    box-shadow: none;
  }
}

.column-glow {
  animation: hey 3s normal forwards ease-in-out;
}

@keyframes headernew {
  from {
    box-shadow: none;
  }
  10% {
    box-shadow: 0 20px 20px -20px #1da1f2;
  }
  80% {
    box-shadow: 0 20px 20px -20px #1da1f2;
  }
  to {
    box-shadow: none;
  }
}

.header-new {
  animation: headernew 5s normal forwards ease-in-out !important;
}

.celld {
  text-align: center;
}

.cell .meta {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-direction: row;
  flex-wrap: nowrap;
  margin-bottom: 0.2em;
}
/*
.cell .meta a {
  color: #aab8c2;
} */

.cell .content p {
  line-height: 1.25em;
}

.cell .actions {
  margin-top: -0.5em;
  margin-right: 0.5em;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-direction: row;
}

.cell .actions a {
  color: #aab8c2;
  flex: 1;
  text-align: center;
}
/* .cell .actions a:first-child {
  text-align: start;
}
.cell .actions a:last-child {
  text-align: end;
} */

.cell .media_attachments {
/*  display: flex!important;
  align-content: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;*/
  margin-bottom:1em;
  padding-left:calc(var(--bs-gutter-x) * .5);
  padding-right:calc(var(--bs-gutter-x) * .5);
}
.cell .media_attachments img,
.cell .media_attachments video {
  padding-left:calc(var(--bs-gutter-x) * .1);
  padding-right:calc(var(--bs-gutter-x) * .1);
  display: block;
}

.cell .media_attachments.row .col-6 {
  margin-bottom: calc(var(--bs-gutter-x) * 0.25);
}

.avatar {
  width: 2.5em;
  float: left;
  margin: 0.5em 0.8em 0 0;
}

.d-row {
  display: flex!important;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
}

.d-row>div,
.d-row>a,
.d-row>span {
  flex: 0 1 calc(25% - 10px);
}

.d-row-grow>div,
.d-row-grow>a,
.d-row-grow>span {
  flex: 1 0 calc(25% - 10px) !important;
}

.avatar img,
img.avatar {
  width: 2.5em;
  border-radius: 50%;
}
.avatar-mini img {
  width:1.5em !important;
  float:right;
  border-radius: 50%;
}
.avatar-micro img,
img.avatar-micro {
  width: 1.2em;
  border-radius: 50%;
}

.s_toot .cell .content {
  width: calc(100% - 2.5em);
}
.s_toot .cell .actions {
  margin-top: 2em;
}
.cell_highlight,
.bg-lighter {
  background-color: rgba(255,255,255,0.05) !important;
}

.cell_highlight .content {
  font-size: calc(1.275rem)!important;
}

.border-dark {
  border-color: rgba(0,0,0,0.5) !important;
}

.btn-blue,.btn-orange,.btn-blue-trans,.btn-blue-trans:hover {
  background: #1da1f2 !important;
  /* border-color: #004d7c !important; */
  color: white !important;
}

.btn-blue-trans {
  background:#1da1f290 !important;
  color: #ffffff90 !important;
}

.border-trans {
  border-color:rgba(255,255,255,0.2) !important;
}

.border-trans-light {
  border-color:rgba(255,255,255,0.1) !important;
}

.border-trans-dark {
  border-color:rgba(0,0,0,0.5) !important;
}

.btn-blue-trans:hover,
.btn-blue:hover {
  box-shadow: 0 0 3px 3px #1da1f247;
}

.bg-blue,.bg-blue {
  background-color: #1da1f2;
}
.text-blue,
.text-orange,
.column .content .text a,
.card-text a,
.s_toot .content .text a {
  color: #1da1f2 !important;
}
.border-blue,
.border-orange {
  border-color: #004d7c !important;
}

.container-sm {
	max-width: 40em !important;
}
.col-20 {
  flex: 0 0 auto;
  width: 20%;
}
.fs-7 {
  font-size: 0.8rem !important;
}
.fs-8 {
  font-size: 0.7rem !important;
}
.text-underline {
  text-decoration: underline !important;
}
.bg-trans {
  background-color: rgba(0,0,0,0.1) !important;
}
.btn-trans {
  background-color: rgba(0,0,0,0.1) !important;
  border-color: rgba(0,0,0,0.2) !important;
}

.text-gold,
.text-gold a,
.text-gold span,
.text-gold i {
  color: orange !important;
}
.text-red,
.text-red a,
.text-red span,
.text-red i {
  color: rgb(182, 0, 0) !important;
}
.text-green,
.text-green a,
.text-green span,
.text-green i {
  color: limegreen !important;
}
.text-dodger,
.text-dodger a,
.text-dodger span,
.text-dodger i {
  color: dodgerblue !important;
}

::-webkit-scrollbar {
  width: 10px;
  background-color: transparent;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.4);
  border-radius: 10px;
  border: 3px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255,255,255,0.5);
}

.ls-3 {
  letter-spacing: 0.05em;
}
.ls-2 {
  letter-spacing: 0.1em;
}
.ls-1 {
  letter-spacing: 0.2em;
}
.ls-0 {
  letter-spacing: 0;
}
.ls-n1 {
  letter-spacing: -0.05em;
}
.ls-n2 {
  letter-spacing: -0.1em;
}
.ls-n3 {
  letter-spacing: -0.2em;
}

.openmodal,
.celld,
.pointer,
/* #modal, */
#modal-background {
  cursor: pointer;
}


#modal-post-form,
#modal-edit-form {
  width: min(35em,100%);
  margin: 0 auto;
}

#modal-background {
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  overflow: hidden;
}

#modal-files-preview {
  display: flex;
  height: 5em;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: stretch;
  gap: 1em;
}

#modal-files-preview > div div span {
  padding: 5px;
  text-align: center;
  display: inline-block;
}

#modal-files-preview > div {
  height: 5em;
  width: -moz-available;
  width: -webkit-fill-available;
  /* margin-top: -25px; */
  overflow: inherit;
  max-width: 150px;
}

#modal-files-preview div img {
  /* height: 5em; */
  /* width:100%;
  max-width: 100px; */
  max-width: fit-content;
  height: inherit;
}

#modal-files-preview div div {
  overflow: hidden;
  text-wrap: wrap;
  position: relative;
  z-index: 888;
  line-break: anywhere;
  margin-top: -28px;
  height: 5em;
  text-align: center;
  background: rgba(0,0,0,0.05);
}

#modal-files-preview a.delete {
  position: relative;
  top: -10px;
  left: -10px;
  display: inline-block;
  width: 2em;
  height: 2em;
  padding: 0.2em 0.5em;
  border-radius: 50%;
  z-index: 999;
}

#mm {
  width: 100%;
  height: 100%;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  overflow: hidden;
}

#m {
  position: absolute;
  z-index: 9998;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: min(50em,90%);
  height: min(50em,90%);
  background-color: transparent;
  box-sizing: border-box;
  z-index: 9999;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
}

#m > #modalfloating {
  position: absolute;
  z-index: 9999;
  width: 10rem;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#modal > #modalcontent {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: flex;
}

#modal > #modalcontent > div {
  overflow-y: auto;
}

#modal_content_int #modal_previewing_zid {
  margin: 0 auto 1em auto;
  max-width: 340px;
  min-height: 60px;
  max-height: 100px;
  overflow: hidden;
  position: relative;
}

#modal_content_int #modal_previewing_zid:after {
  position: absolute; content: ''; display: block; top: 0; left: 0; height: 100%; width: 100%;
  background: linear-gradient(to bottom,rgba(21, 32, 43, 0.4) 0%, rgba(21, 32, 43, 1) 100%);
  mix-blend-mode: normal
}

#modal_content_int #modal_previewing_zid.cell .content {
  margin: auto !important
}

#modal video {
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 100%;
}
#modal>#modalcontent>img {
    /* margin: 0 auto; */
    display: block;
    /* max-height: -webkit-fill-available; */
    /* height: max-content; */
    /* width: auto; */
    /* overflow: hidden; */
    /* width: 100%; */
    /* height: 100%; */
    /* object-fit: contain; */
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

#modal-close {
  position: fixed;
  top: 0em;
  left: 0em;
  z-index: 9999999;
  padding: 0.7em 0.7em;
}

#modal-close-corner {
  position: fixed;
  top: 1em;
  left: 1em;
  background: black;
  z-index: 9999999;
  border-radius: 50%;
  padding:0.5em;
}

.header,.header * {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}

.rounded {
  overflow: hidden;
}

#modal-search-form,
#modal-post-form,
#modal-edit-form {
  width: 100%;
}

@media screen and (min-width: 510px)   {
  #modal-close {
    visibility: hidden;
  }
  #modal-search-form,
  #modal-post-form,
  #modal-edit-form  {
    width: 500px;
  }
}


@media screen and (min-width: 610px)  {
  #modal-search-form,
  #modal-post-form,
  #modal-edit-form  {
    width: 600px;
  }
}

@media screen and (max-width: 510px)  {
  #modal-close-corner {
    display: none !important;
  }
  /* #modal-close {
    visibility: visible;
  } */
  .navbar-normal div a.navbar-text {
    padding: 0 0.4em;
    font-size: 85%;
  }
  #message_column {
    top: 0.4em;
    left: 4.5em;
    width: calc(100% - 5em);
    /* animation: messagecolumn 3s normal forwards ease-in-out; */
  }
  #modal {
    cursor: inherit;
    background: #15202b;
    margin: 0;
    width: 100%;
    height: 100%;
  }
  #modal > #modalcontent {
    width: 100%;
    height: 100%;
  }
  #modal #modalcontent>div,
  #modal #modalcontent>form {
    overflow-y: auto;
    border: 0 !important;
    border-radius: 0 !important;
    height: 100%;
    width: 100%;
  }
  #modal>img {
    width: 100%;
    height: auto;
  }
}




@media only screen and (max-height: 510px)  {
  .navbar-column {
    padding: 0.5em 0.8em !important;
  }
  #navbar-separator,
  #column_avatar {
    display: none;
  }
  #navbar-settings {
    margin-top: unset !important;
  }

  #column-add-button {
    margin-top: 0.6rem !important;
    padding-top: 0.2rem;
  }
  #column-post-button,
  #column-post-close {
    margin-bottom: 0.6rem !important;
    padding-top: 0.1rem;
  }
  #column-post-button,
  #column-post-close,
  #column-add-button {
    width: 1.9em;
    height: 1.9em;
  }
  .navbar-column a .fa {
    font-size: 1.2em;
  }
  .navbar-column a.btn .fa {
    font-size: 1em;
    margin: -1em;
  }
  .navbar-text {
    padding-top: 0.1rem;
    padding-bottom: 0.4rem;
  }
}


.w-available {
  width: -webkit-fill-available !important;
}

.media_attachments.profile {
  height: 6rem;
  margin-bottom: 0;
}

.media_attachments.profile img.cover {
  object-fit: cover;
  display: block;
  width: 100%;
  height: 100%;
}

.media_attachments.profile img.profileavatar {
  width: 2.5rem;
  margin: 0 auto;
  display: block;
  border-radius: 50%;
  top: -4.25rem;
  position: relative;
}

.media_attachments img,
.media_attachments video {
  cursor: zoom-in;
}

.text-muted {
  color: rgba(255,255,255,0.6) !important;
}


.basic,
.basic:focus,
.basic:active,
.basic:hover {
  outline: none !important;
  box-shadow: none !important;
}