/*@keyframes bgcolor {
    0% {
        background-color: brownviolet
    }

    50% {
        background-color: #1010d0
    }

    100% {
        background-color: brownviolet
    }
}*/


@font-face {
    font-family: 'ReadMe';
    src: url('https://kaleidoscope.titipi.org/static/css/fonts/BBBReadMe-Regular.woff') format('woff'),
    src: url('https://kaleidoscope.titipi.org/static/css/fonts/BBBReadMe-Regular.woff') format('woff2');
    font-weight: normal;
    font-style: normal;
}


.portal-folder{
  display: inline;
  margin-top: 20px;
}

.portal-title{
	margin-left:1em;
}

body
{
 /*-webkit-animation: bgcolor 20s infinite;
  animation: bgcolor 15s infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;  color:white;*/
  font-family: monospace;
  background-color: #fdfdfd;
  color: #111111;
  font-size:14px;
}

img {
  width: 100%;
  height: 100%;
}

ul {margin-top: 2em; padding: 0px; line-height: 2em}

li {margin: 0px; padding: 0px;}

a, a:hover, a:visited {color: brown}

h1, h2, h3, h4, h5, h6, h7 {font-family: "ReadMe";}


hr {
     border: 1px solid white;
  }

.hidden {display: none !important;}

#mainworkflow
{
  width: 40em;
  margin:0 auto;
}

#distribusiverse {
  margin-bottom: 11em;
}
#distribusi-index {
}

.description > textarea {
  width: 100%;
  height: 10em;
  resize: none;
}
textarea#description {
  width: 100%;
  height: 20em;
  resize: none;
}
div#buttons{
  position: fixed;
  top: 0em;
  padding-top: 0.7em;
  padding-bottom: 0.2em;
  right: 0.5em;
  width: 100%;
  display:flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  z-index: 100;
  background-color: none;
}

div#buttons .distribusi input{
  border: none;
  background: silver;
  text-decoration: none;
  margin: 0.2em;
}
div#buttons .distribusi input:hover{
  background: grey !important;
  color: black;
}
fieldset.required {
  border: none;
}

fieldset.required > ul {
  padding-left: 0px;
}

fieldset.required > ul > li{
  list-style-type: none;
}

fieldset.tagfield > input {
  width: 100%;
  max-width: 90%;
}

input {
  border: none;
  background: silver;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  margin: 0.2em;
  padding: 8px 12px;
  cursor: pointer;
  border-width: 1px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  -webkit-box-shadow: 0px 10px 20px -6px rgba(0, 0, 0, 0.12);
  box-shadow: 0px 10px 20px -6px rgba(0, 0, 0, 0.12);
}

input[type="button"]:hover,
input[type="submit"]:hover {
  background: grey;
  color: black;
  cursor: pointer;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

input[type="submit"]:disabled:hover,
input[type="submit"]:disabled,
input[type="submit"]:disabled:focus {
  background-color: grey;
  color: black;
}

input[type=text], input[type=file] {
  color: grey;
  width: 18em;
  max-width: 18em;
  background-color: #fdfdfd;
  border: 1px solid grey;
}

.info {
  background-color: #e457e263;
}
input[type="button"].info:hover {
  background: #4d1e4c;
  color: #fff;
}


.error {
  font-size: 110%;
  color: #F92020;
}

#delete {
  color: black;
  background-color: #F92020;
}
#delete:hover {
  color: #F92020;
  background-color: black;
}

/* STOLEN GOODS */
#fancyboi::before {
	content: "$ ";
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes flash {
    50% { opacity: 0; }
  }
  @keyframes reveal {
    from { width: 2em; } /* Width of ::before */
    to { width: 55%; }
  }
  #fancyboi {
    animation: reveal 2s linear;
  }
  #fancyboi::after {
    content: "✨";
    animation: flash 0.5s step-end infinite;
  }
}

#fancyboi {
  font-size: 32px;
  width: 70%;
  padding: 0.5em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: "✨";
  background-color: none;
  margin: auto;
  font-weight: bold;
  font-family: 'ReadMe';
}

#allcontent {
    margin-top: 3.5em;
    top: 3.5em;
    position: relative;
}

div.maincontent{
  width: 70%;
  margin-top: 0.5em;
  margin: auto;
  padding: 0.5em;
}

.tags{
  background-color: #000;
  color: #fff;
  display: inline-block;
  padding-left: 4px;
  padding-right: 4px;
  text-align: center;
  margin: 1px;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 2s;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.code-example {
  width: 100%;
  color: black;
  padding: 1em;
  box-sizing: border-box;
  background: silver;
  outline: none;
  font-family: Courier, sans-serif;
  font-size: 16px;
}

@media only screen and (max-width: 460px) {
  #fancyboi {
    width: 89%;
    white-space: wrap;
    animation: none;
  }

  div.maincontent {
    width: 90%;
  }

  #mainworkflow {
    width: 95%;
  }

  div#buttons {
    max-width: 99%;
  }

  input {
    padding: 4px 6px;
  }

  .code-example {
    text-align:justify;
    white-space: pre-wrap;
    word-break: break-word;
  }
}
