/* Copyright (c) 2022 this project is under development and will be published later */
/* If you want to contact the author, you can join the telegram development group: https://t.me/+8snr6HIlbAs1YjBi  */


@font-face {
  font-family: DroidSans;
  src: url(/style/fonts/DroidSans.ttf);
}

@font-face {
  font-family: bebasNeue;
  src: url(/style/fonts/BebasNeue_0.otf);
}

::selection {
/* selected elements and text color */
  background: #2277ff44;
}

html, body {
  margin: 0px;
  padding: 0px;
  overflow: hidden;
}

body { 
  background: #000;
  background-color: "#ff0000";
}

.header, header  a, a:link, a:visited, a:active {
  color: #faffd5;
  text-decoration: none;
}

.background {
  top: 0px;
  /*background-image: url('/resources/swarm-bg1.jpg');*/
  background-attachment:fixed;
  background-position: center; 	
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
}

canvas {
  position: fixed;
}

.content-entry {
  
  margin-left: 3px;
  margin-right: 1px;
  display: inline;

}

.ce-definition {
}

.chain {
  position: relative;
  background: #5c125b; 
  margin-right: 16px;
}

.ce-chain:after {
  content: "  ";
  position: absolute;
  right: -16px;
  border-top: 9px solid transparent;
  border-right: none;
  border-left: 16px solid #d41279;
  border-bottom: 9px solid transparent;
}

.ce-text {
  white-space: pre-wrap;
  display: inline;
}

.hashtag {
  display: inline-block;
  text-decoration: none;
  color: #71d1e8cc;
}

.hashtag span {
  display: none;
}

.active-hashtag {
  color: #fb8dffcc;
}

.edit-button {
  padding: 4px;
}

.link-wrapper {
  position: relative;
}

a {
  color: #8ff99b;
  /*
  position: relative;
  */
}

a:link, a:visited {
}

a:hover, a:active {
  color: #faffd5;
}

.image-container {
  white-space: normal;
}

img {
  max-width: 100%;
  border-radius: 25px;
}

.img-full {
  width: 100%;
}

.img-large {
  width: 61.8%;
}

.img-medium {
  width: 38.2%;
}

.img-small {
  width: 23.6%;
}

.img-xs {
  width: 14.6%;
}

.avatar {
  border: 1px solid;
  border-color: #23602388;
}

.avatar:hover {
  
}

video {
  max-width: 100%;
}


.dropdown {
  color: #ffffff;
  position: absolute;

  animation:          fadein .27s;
  -moz-animation:     fadein .27s;    /* Firefox */
  -webkit-animation:  fadein .27s; /* Safari and Chrome */
  -o-animation:       fadein .27s;      /* Opera */

}

.logo_intersection {
  background: url(/style/intersection-circles.svg) no-repeat;
  background-size: 100% 100%;
  background-color: #3199;
  padding: 8px;
  border-radius: 12px;
  height: 23px;
  width: 36px;
}

#content {
  font-family: DroidSans;
  color: #d5e5ff;
  position: absolute;
  top: 30px;
  z-index: 1;
  max-height: calc(100vh - 32px);
  /*max-width: 100vw;*/
  overflow: hidden;
  resize: horizontal;
}

.content-full {
    width: 61.8vw;
  min-width: 360px;
  max-width: 68.1vw;
  max-height: 100vh;
  left: 19.1vw;
  top: 1vh;
  
  max-height: 97vh;
}

.content-small {
  width: 100vw;
  bottom: 0;
  min-height: 240px;
  height: 31.9vh;
}

#content-bg {
  background-color: #010809de;
  filter: blur(20px);
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.content-fg {
  display: inline-block;
  position: relative;
  overflow-y: scroll;
  /*scrollbar-width: none;*/
  max-height: inherit;
  max-width: inherit;
  white-space: pre-line;
  margin-right: 14px;
  margin-bottom: 20px;
}

#tab-bar {
  position: fixed;
  top: 0px;
  max-width: inherit;
  white-space: nowrap;
  overflow-x: scroll;
  scrollbar-width: none;
}



.tab-active, .tab {
  display: inline-block;
  padding: 4px;
  border-style: none;
  /*
  border-width: 1px;
  border-color: #7d3a7c;
  */
    /*
  float: right;
  */
}

.tab {
  color: #5d9595;
  background-color: #00000088;
}
.tab-active {
  color: #42c4ec;
  background-color: #000000cc;
}

.tab:hover {
  background-color: #686887cc;
  /*
  position: fixed;
  width: 100%;
  max-width: inherit;
  top: 0;
  margin-left: 10px;
  margin-top: 4px;
  margin-bottom: 4px;
  */ 
}

.tab-active:hover {
  background-color: #686887cc;
}

.tab-close {
  display: none;
}

.tab-close {
  display: none;
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
  background: #091427;
  margin-left: 5px;
  color: white;

}

.tab-active > .tab-close, .tab:hover > .tab-close {
  display: inline-block;
}




.show-content {
  padding-left: 0px;
  left: 0%;
  top: 0;
}

.seperator {
  border-top: 1px solid white;
}

@font-face {
  font-family: shinseyDoodle;
  src: url(/style/fonts/ShinesyDoodle.otf);
}

.open-node {
  color: #6fcb55;
 }

.close {
  float: right;
  height: 25px;
  width: 25px;
  background: purple;
}

#sources {
  bottom: 0;
  right: 81px;
  position: absolute;
  background-color: #ff00a060;

}

#sources input {
  display: inline-block;
}

#source-input {
  width: 220px;
}

input {
  position: relative;
  z-index: 3;
  width: 50px;
  color: #d5e5ff;
  /*
  background: url(/style/konsole.svg#leaf-right) no-repeat;
  */
  background: #22aaff88;
  background-size: 100% 100%;
  font-family: bebasNeue;
  font-size: 15px;
  border: none;
  padding: 0px;
  margin: 0px;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.search-input-container {
  position: absolute;
  right: 0;
  top: 0;
}

#search-minify {
  background: url(/style/icons/minify.png);
  background-repeat: no-repeat;
  display: none;
  height: 39px;
  top: 0;
}

#search-input {
  font-size: 28px;
  width: 40px;
  transition: width 1s;
  background-color: #000;
}




::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: grey;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: grey;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: grey;
}


.hidden {
  opacity: 0;
  visibility:hidden;
}

#search-results {
  float: right;
  position: absolute;
  right: 0;
  top: 40px;
  max-height: 90vh;
  overflow-y: scroll;
  scrollbar-width: none;
  transition: all 1s;
  z-index: 3;
}

#search-results > div {
  color: #d5e5ff;
  padding: 4px;
  /*
  background: url(/style/konsole.svg#leaf-right) no-repeat;
  */
  background: #080f13;
  border-style: solid;
  border-width: 1px;
  border-color: #0c4155;
  background-size: 100% 100%;
}

/*** slide show ***/

#slide-show {
  display: none;
  position: absolute;
  z-index: 5;
  width: 100%;
  height: 100vh;
  background-color: #000c;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%; height: 100%; object-fit: contain;
}

.slider {
  z-index: 6;
  position: absolute;
  height: 100%;
  width: 10%;
}

.slider:hover {
  background-color: #4249;
}

.slider p {
  text-align: center;
  color: #fff;
  font-size: 2.5vw;
  font-weight: bold;
}

#slide-left {
  border-right: 2px solid gray;
  left: 0;
}

#slide-right {
  border-left: 2px solid gray;
  right: 0;
}

/*** responsive design ***/

@media only screen and (min-width: 0px) {
  #content {
    /*max-width: 42vw;*/
    width: 100vw;
  }
}


@media only screen and (min-width: 800px) {
  .show-content {
    padding-left: 10px;
    border-left: solid;
    border-color: #aaa5;
    border-width: 1px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .content-fg {
    padding-left: 10px;
  }
  .content-entry {
  
    margin-left: 14px;
    margin-right: 10px;
    /*
    white-space: nowrap;
    */
  }

  #content {
    /*max-width: 50vw;*/
    width: 50vw;
  }
}

@media only screen and (min-width: 1300px) {
  #content {
    /*max-width: 42vw;*/
    width: 42vw;
  }
}

@media only screen and (min-width: 1600px) {
  #content {
    /*max-width: 38.2vw;*/
    width: 38.2vw;
  }
}

/* printing */
@media print {

  .content-fg {
    width: 100vw;
  }

  * { overflow: visible !important;
      margin-left: 0;
      margin-right: 0;
      padding-left: 0;
      padding-right: 0;
     }
  .print { page-break-after:always; }

  .print, .print * {
    overflow: visible;
  
  }


  .noprint, .noprint *
  {
    display: none !important;
  }
}

