@font-face {
  font-family: "EuclidSquare-Light";
  src: url(/fonts/EuclidSquare/EuclidSquare-Light.ttf);
  font-display: swap;
}
@font-face {
  font-family: "EuclidSquare-Regular";
  src: url(/fonts/EuclidSquare/EuclidSquare-Regular.ttf);
  font-display: swap;
}
@font-face {
  font-family: "EuclidSquare-Medium";
  src: url(/fonts/EuclidSquare/EuclidSquare-Medium.ttf);
  font-display: swap;
}
@font-face {
  font-family: "EuclidSquare-Bold";
  src: url(/fonts/EuclidSquare/EuclidSquare-Bold.ttf);
  font-display: swap;
}
@font-face {
  font-family: "CascadiaMono-Light";
  src: url(/fonts/CascadiaMono/CascadiaMono-Light.ttf);
  font-display: swap;
}
@font-face {
  font-family: "CascadiaMono-Regular";
  src: url(/fonts/CascadiaMono/CascadiaMono-Regular.ttf);
  font-display: swap;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
html, body {
  position: absolute;
  width: 100%;
  height: 100vh;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  overflow-y: scroll;
}
.wrapper {
  position: absolute;
  width: 100%;
  top: 200px;
  margin-bottom: 20px;
}
.dialog {
  position: fixed;
  top: 30px;
  left: 100px;
  width: 400px;
  padding: 20px;
  z-index: 9999999999;
  display: none;
  cursor: default !important;
}
.dialog-text {
  float: left;
  text-align: left;
  font-family: "EuclidSquare-Regular", Arial;
  font-size: 14px;
}
.dialog-close {
  float: right;
  text-align: right;
  font-size: 20px;
}
.dialog-close:hover {
  background: rgba(20, 20, 20, 0.1);
  padding: 0 2px;
  margin: 0 -2px;
  border-radius: 6px;
}
.dialog.dialog-style-success {
  background: #eeffe4;
  border: 1px solid #78ae59;
}
.dialog.dialog-style-error {
  background: #fcf0f0;
  border: 1px solid #d54747;
}
.dialog.dialog-style-warning {
  background: #fff2ab;
  border: 1px solid #cea51c;
}
.logo {
  position: fixed;
  background-image: url(/images/elements/offly.png);
  background-size: cover;
  left: 0;
  top: 0;
  width: 130px;
  height: 80px;
  z-index: 1;
}
a {
  color: #509fef;
}
a.separated {
  margin-left: 8px;
}
.spinner {
  animation: spin 1.5s linear infinite;
}
.post {
  position: relative;
  margin: 0 auto;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #ccc;
  max-width: 600px;
  box-shadow: 0 5px 10px #eee;
  cursor: pointer;
}
.post:hover .title {
  text-decoration: underline;
}
.post .titlebar {
  width: 100%;
  padding: 6px;
  box-sizing: border-box;
  background: #f2f2f2;
}
.post .titlebar * {
  display: inline-block;
  vertical-align: middle;
}
.post .titlebar .profile-picture {
  width: 24px;
}
.post .titlebar .date {
  float: right;
}
.post .title {
  padding-top: 30px;
  padding-left: 50px;
  font-size: 24px;
}
.post .body {
  padding: 20px 50px;
  font-size: 16px;
}
.post .body * {
  font-size: 16px;
}
.post button {
  position: relative;
  background: transparent;
  border: none;
  color: #bbb;
  left: 10px;
  cursor: default;
}
.post button:hover {
  color: #aaa;
}
.post button:active {
  color: #888;
}
.post .buttons {
  margin: 20px;
}
.context-menu {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 10px;
}
.create-post {
  background: #4988ed;
  color: #fff;
  padding: 10px;
  font-family: Arial, Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.create-post:hover {
  background: #3f76d0;
}
.create-post:active {
  background: #3463ad;
}
.create-post:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.header {
  font-family: "EuclidSquare-Light", Arial;
  font-size: 40px;
  text-align: center;
  margin-top: 100px;
}
.create-post-wrapper {
  position: relative;
  height: fit-content;
  max-width: 600px;
  margin: 0 auto;
}
.create-post-wrapper textarea {
  display: block;
  resize: none;
  border: 1px solid #000;
  width: 100%;
  height: 400px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 6px;
  font-family: "CascadiaMono-Regular", monospace;
  font-size: 16px;
  outline: none;
}
.create-post-wrapper .preview-box {
  margin-top: 20px;
  border: 1px solid #000;
  width: 100%;
  min-height: 100px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 6px;
}
code {
  position: relative;
  background: #eff1f3;
  color: #333;
  font-family: "CascadiaMono-Regular", Arial;
  font-size: 14px;
  padding: 6px;
  border-radius: 6px;
}
pre {
  position: relative;
  background: #eff1f3;
  color: #333;
  font-family: "CascadiaMono-Regular", Arial;
  font-size: 16px;
  width: 100%;
  overflow-x: scroll;
  padding: 14px;
  box-sizing: border-box;
  border-radius: 6px;
}
.preview-box h1 {
  font-size: 26px;
  font-weight: normal;
}
.preview-box h2 {
  font-size: 20px;
  font-weight: normal;
}
.preview-box h3 {
  font-size: 18px;
  font-weight: normal;
}
.preview-box h4 {
  font-size: 16px;
  font-weight: normal;
}
.preview-box h5 {
  font-size: 12px;
}
.preview-box h6 {
  font-size: 10px;
}
.preview-box img {
  width: 100%;
}
p.heading {
  font-weight: bold;
}
.create-post-wrapper .input.title {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #000;
  border-radius: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  outline: none;
}
.create-post-wrapper .create-post {
  margin: 10px 0;
}
.create-post-wrapper textarea::placeholder {
  font-family: Arial, Helvetica, sans-serif;
}
.create-post-wrapper textarea:-ms-input-placeholder {
  font-family: Arial, Helvetica, sans-serif;
}
.create-post-wrapper textarea::-ms-input-placeholder {
  font-family: Arial, Helvetica, sans-serif;
}
.swal-button {
  color: #333 !important;
  box-shadow: none !important;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  cursor: default;
}
.swal-button:hover {
  background: #ccc !important;
}
.swal-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.swal-overlay {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.1);
  z-index: 99999998;
}
.swal-modal {
  border-radius: 18px;
  border: 1px solid #bbb;
}