/*
The original file that should be updated is located at: 'tispa/public/static/style/editorjs-html-content2.css'
This file is being copied into public/static folder when the copy-static script is executed in tiweb

NOTE: sync-view script inside the "functions" folder is not required for updates to be effective
*/

.editorjs_html {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  /* padding-bottom: 40px; */
  /* --universal_margin-bottom: 48px; */
}

/* .editorjs_html img {
    max-width: 100%;
    width: fit-content;
    vertical-align: middle;
    border-style: none;
    margin-bottom: 2rem;
    align-self: center;
  } */

.editorjs_figure {
  text-align: center;
  margin-top: 14px;
  margin-bottom: 14px;
  /* margin-bottom: var(--universal_margin); */
}

.editorjs_figure img {
  padding: 25px;
  max-width: 100%;
  height: auto;
  width: fit-content;
  vertical-align: middle;
  border-style: none;
  margin-bottom: 16px;
  border-radius: 8px;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.25);
}

.editorjs_figure figcaption {
  color: #7a858d;
  font-family: Poppins;
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  line-height: normal;
}

/* .editorjs_html .editorjs_checklist_item:last-child{
margin-bottom: 50px !important;
} */

.editorjs_html h1,
.editorjs_html h2,
.editorjs_html h3,
.editorjs_html h4,
.editorjs_html h5,
.editorjs_html h6 {
  line-height: 36px;
  margin-bottom: 12px;
}

.editorjs_html h1 {
  font-size: 28px;
  font-weight: 700;
}
.editorjs_html h2 {
  font-size: 22px;
  font-weight: 700;
}
.editorjs_html h3 {
  font-size: 20px;
}
.editorjs_html h4 {
  font-size: 18px;
}
.editorjs_html h5 {
  font-size: 16px;
}

.editorjs_html p {
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 12px;
}

.editorjs_html p.editorjs_callout {
  padding: 25px;
  border: 3px solid #f9c88c;
  border-left: 15px solid #f9c88c;
  border-radius: 15px;
}
.editorjs_html p.editorjs_citation {
  border-left: 3px solid #eee;
  border-radius: 10px;
  padding-left: 15px;
  line-height: 28px;
}
.editorjs_html p.editorjs_details {
  font-size: 18px;
  opacity: 0.8;
  line-height: 40px;
  font-weight: 500;
}
/* .editorjs_html p.editorjs_details::after {
  content: '';
  display: block;
  width: 200px;
  border-top: 3px solid #eee;
} */

.editorjs_html p + a {
  margin-top: 0 !important;
}
.editorjs_html a {
  color: #37779d;
}

.editorjs_button {
  align-self: flex-start;
  text-decoration: none;
  max-width: 220px;
  padding: 8px 16px 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #3c83ad !important;
  border: 1px solid #3c83ad;
  border-radius: 8px;
  display: block;
  margin: 25px 0px;
  &:hover {
    background-color: #ecf3f7;
  }
}
.editorjs_html ul,
.editorjs_html ol {
  margin-bottom: 4px;
}

.editorjs_html ul ul,
.editorjs_html ol ol  {
  padding-left: 24px;
}

.editorjs_html ol li,
.editorjs_html ul li {
  font-size: 15px;
  margin-top: 0;
  margin-bottom: 8px;
  margin-left: 24px;
}

.editorjs_checklist_item {
  margin-bottom: 12px;
}
.editorjs_checklist_item_checked {
  font-size: larger;
  /* font-weight: bolder; */
}
.editorjs_checklist_item_text {
  font-size: 15px;
}

.editorjs_html .cdx-alert {
  position: relative;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-weight: 500;
  line-height: 24px;
}

.editorjs_html .cdx-alert__message {
  outline: none;
  /* padding: 0 16px; */
  font-size: 15px;
}

.editorjs_html .cdx-alert-primary {
  color: #193749;
  /* border: 3px solid #3c83ad; */
  background-color: #c3d9e6;
}

.editorjs_html .cdx-alert-secondary {
  color: #181f24;
  /* border: 3px solid #384955; */
  background: #ebedee;
}

.editorjs_html .cdx-alert-success {
  color: #003c1c;
  /* border: 3px solid #018e42; */
  background: #e6f4ec;
}

.editorjs_html .cdx-alert-warning {
  color: #653902;
  /* border: 3px solid #f18805; */
  background-color: #fef3e6;
}

.editorjs_html .cdx-alert-danger {
  color: #bc3908;
  /* border: 3px solid #bc3908; */
  background-color: #f8ebe6;
}

.editorjs_html .cdx-alert-light {
  color: #384955;
  border: 3px solid #ebedee;
}

.editorjs_html .cdx-alert-dark {
  border-radius: 8px;
  background-color: #384955;
  color: #fff;
}

.editorjs_html pre code {
  width: 100%;
  padding: 32px;
  display: inline-block;
  background-color: #ebedee;
  color: #384955;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 64px;
  white-space:pre-wrap;
}

.editorjs_html table {
  margin-top: 0;
  margin-bottom: 64px;
  text-align: center;
  border: 1px solid #a3abb1;
  padding: 5px;
}

.editorjs_table_th {
  font-size: 15px;
  padding: 16px;
  border: 1px solid #ddd;
  background-color: #ebedee;
}

.editorjs_table_tr {
  text-align: center;
}

.editorjs_html tr {
  border: 1px solid #ddd;
  padding: 5px;
}

.editorjs_html td {
  border: 1px solid #ddd;
  padding: 20px 16px;
  font-size: 15px;
}

.editorjs_html div.editorjs_delimiter {
  text-align: center;
  font-size: 24px;
  margin-bottom: 12px;
  margin-top: 12px;
}

.editorjs_html blockquote.editorjs_quote {
  line-height: 24px;
  padding: 16px;
  font-size: 15px;
  border-radius: 8px;
  border: 3px solid var(--foundation-tertiary-tertiary-50, #ebedee);
  display: flex;
  gap: 32px;
  background-color: #ecf3f7;
  color: #193749;
  margin-bottom: 48px;
}
.editorjs_html .editorjs_quote_text {
  margin-top: 48px;
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
}
.editorjs_html .editorjs_quote_author {
  margin-bottom: 48px;
  margin-left: auto;
}

.editorjs_html blockquote.editorjs_quote .editorjs_quote_left {
  margin: 0px auto;
  text-align: left;
  font-size: 28px;
  /* margin-right: 32px; */
  padding: 10px 6px;
}

.editorjs_html blockquote.editorjs_quote .editorjs_quote_right {
  /* width: 100%; */
  font-size: 28px;
  /* font-weight: 700; */
  margin-top: auto;
  text-align: end;
  padding: 10px 6px;
}
/* buradan sonrası page sayfasında uygulanıp teyiti yapılamadı */
/* eski */
.editorjs_html iframe {
  margin: 0 auto 2rem auto;
}
/* eski */
.editorjs_html .cdx-alert [contentEditable="true"][data-placeholder]::before {
  position: absolute;
  content: attr(data-placeholder);
  color: #3c83ad;
  font-weight: normal;
  opacity: 0;
}
/* eski */
.editorjs_html .cdx-alert [contentEditable="true"][data-placeholder]:empty::before {
  opacity: 1;
}
/* eski */
.editorjs_html .cdx-alert [contentEditable="true"][data-placeholder]:empty:focus::before {
  opacity: 0;
}
/* eski */
.editorjs_html .cdx-alert-info {
  background-color: #e6fdff;
  border: 1px solid #4cd4ce;
  color: #00727c;
}
/* eski*/
.editorjs_html .cdx-alert.cdx-settings-button {
  margin: 3px;
  width: 28px;
  height: 28px;
  opacity: 0.5;
}
/* eski */
.editorjs_html .cdx-alert.cdx-settings-button:hover {
  opacity: 1;
}
/* eski */
.editorjs_html .cdx-alert.cdx-settings-button--active,
.editorjs_html .cdx-alert.ce-settings__button--focused {
  font-weight: bold;
  opacity: 0.9;
}

.editorjs_html div.editorjs_anchor {
  /* display: block; */
  /* position: relative; */
  /* top: -80px; */
  /* visibility: hidden; */
  scroll-margin-top: 116px;
}
/* ** */
.editorjs_html .inline-code {
  background-color: #f8ebe6;
  color: #bc3908;
  padding: 6px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 15px;
  line-height: 20px;
  margin: 0px 8px;
}

/* *** */
/* ********************* */
.editorjs_html .editorjs_attaches {
  border-radius: 8px;
  color: #254448;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background-color: #eef6f7;
  padding: 24px;
  margin-bottom: 48px;
  &:hover {
    background-color: #e3ecf1;
  }
}
.editorjs_html .editorjs_attaches .editorjs_attaches_first_icon-div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #3e7379;
  padding: 10px;
  border-radius: 50%;
  i {
    font-size: small;
    display: flex;
    color: #fff;
    justify-content: center;
    align-items: center;
    width: 8px;
    height: 12px;
    font-weight: 400;
  }
}
.editorjs_html .editorjs_attaches .editorjs_attaches_title {
  font-family: Poppins;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
  &:hover {
    text-decoration: underline;
  }
}
.editorjs_html .editorjs_attaches .editorjs_attaches_url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-left: auto;
  div {
    color: #b2d4d8;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
  }
  i {
    font-size: large;
    display: flex;
    color: #254448;
    padding: 10px;
  }
}

/* ************************** */

.editorjs_html .editorjs_warning {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background-color: #f1ebef;
  border-radius: 8px;
  margin-bottom: 48px;
}
.editorjs_html .editorjs_warning .editorjs_warning_title {
  color: #2f1826 !important;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}
.editorjs_html .editorjs_warning .editorjs_warning_title i {
  margin-right: 8px;
  background-color: transparent;
  color: #502840;
}

.editorjs_html .editorjs_warning .editorjs_warning_message {
  padding-left: 32px;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  color: #2f1826;
}
/* ****** */
@media screen and (max-width: 599px) {
  .editorjs_html h1 {
    font-size: 28px;
  }
  .editorjs_html h2 {
    font-size: 22px;
  }
  .editorjs_html h3 {
    font-size: 19px;
  }
  .editorjs_html h4 {
    font-size: 17px;
    padding-bottom: 12px;
  }
  .editorjs_html h5 {
    font-size: 16px;
  }
  .editorjs_html p {
    font-size: 15px;
    margin-bottom: 32px;
  }
  .editorjs_html .cdx-alert {
    margin-bottom: 32px;
    font-weight: 500;
    line-height: 32px;
  }
  .editorjs_html .cdx-alert__message {
    font-size: 15px;
  }
  .editorjs_html .editorjs_warning {
    gap: 4px;
    margin-bottom: 32px;
  }
  .editorjs_html .editorjs_warning .editorjs_warning_title {
    font-size: 15px;
  }
  .editorjs_html .editorjs_warning .editorjs_warning_message {
    font-size: 15px;
    line-height: 32px;
  }
  .editorjs_html blockquote.editorjs_quote {
    line-height: 32px;
    font-size: 16px;
    margin-bottom: 32px;
  }
  .editorjs_html .editorjs_quote_text {
    margin-top: 32px;
  }
  .editorjs_html .editorjs_quote_author {
    margin-bottom: 32px;
  }
  .editorjs_html table {
    margin-bottom: 48px;
  }
  .editorjs_table_th {
    font-size: 16px;
  }
  .editorjs_figure {
    margin-bottom: 48px;
  }

  .editorjs_figure figcaption {
    font-size: 15px;
  }
  .editorjs_html pre code {
    padding: 32px 16px;
    font-size: 15px;
    margin-bottom: 48px;
  }

  .editorjs_html .editorjs_attaches {
    margin-bottom: 32px;
  }

  .editorjs_html div.editorjs_delimiter {
    font-size: 20px;
    margin-bottom: 32px;
  }
}

editorjs-style.outline {
  font-size: 20px;
  font-weight: 500;
}
p:has(.outline) + ol {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 15px;
  margin-bottom: 25px;
}

editorjs-style.bt-1 {
  display: block;
  margin-top: 20px !important;
  border-top: 3px solid #eee;
  padding-top: 20px !important;
}

editorjs-style.bt-2 {
  display: block;
  margin-top: 40px !important;
  border-top: 3px solid #eee;
  padding-top: 40px !important;
}

editorjs-style.bt-3 {
  display: block;
  margin-top: 60px !important;
  border-top: 3px solid #eee;
  padding-top: 60px !important;
}

editorjs-style.bt-4 {
  display: block;
  margin-top: 80px !important;
  border-top: 3px solid #eee;
  padding-top: 80px !important;
}

editorjs-style.bt-5 {
  display: block;
  margin-top: 100px !important;
  border-top: 3px solid #eee;
  padding-top: 100px !important;
}

editorjs-style.bt-6 {
  display: block;
  margin-top: 120px !important;
  border-top: 3px solid #eee;
  padding-top: 120px !important;
}

editorjs-style.bt-7 {
  display: block;
  margin-top: 140px !important;
  border-top: 3px solid #eee;
  padding-top: 140px !important;
}

editorjs-style.bt-8 {
  display: block;
  margin-top: 160px !important;
  border-top: 3px solid #eee;
  padding-top: 160px !important;
}

editorjs-style.bt-9 {
  display: block;
  margin-top: 180px !important;
  border-top: 3px solid #eee;
  padding-top: 180px !important;
}

editorjs-style.bt-10 {
  display: block;
  margin-top: 200px !important;
  border-top: 3px solid #eee;
  padding-top: 200px !important;
}

p:has(editorjs-style.bb-1) {
  display: block;
  margin-bottom: 20px !important;
  border-bottom: 3px solid #eee;
  padding-bottom: 20px !important;
}

editorjs-style.bb-2 {
  display: block;
  margin-bottom: 40px !important;
  border-bottom: 3px solid #eee;
  padding-bottom: 40px !important;
}

editorjs-style.bb-3 {
  display: block;
  margin-bottom: 60px !important;
  border-bottom: 3px solid #eee;
  padding-bottom: 60px !important;
}

editorjs-style.bb-4 {
  display: block;
  margin-bottom: 80px !important;
  border-bottom: 3px solid #eee;
  padding-bottom: 80px !important;
}

editorjs-style.bb-5 {
  display: block;
  margin-bottom: 100px !important;
  border-bottom: 3px solid #eee;
  padding-bottom: 100px !important;
}

editorjs-style.bb-6 {
  display: block;
  margin-bottom: 120px !important;
  border-bottom: 3px solid #eee;
  padding-bottom: 120px !important;
}

editorjs-style.bb-7 {
  display: block;
  margin-bottom: 140px !important;
  border-bottom: 3px solid #eee;
  padding-bottom: 140px !important;
}

editorjs-style.bb-8 {
  display: block;
  margin-bottom: 160px !important;
  border-bottom: 3px solid #eee;
  padding-bottom: 160px !important;
}

editorjs-style.bb-9 {
  display: block;
  margin-bottom: 180px !important;
  border-bottom: 3px solid #eee;
  padding-bottom: 180px !important;
}

editorjs-style.bb-10 {
  display: block;
  margin-bottom: 200px !important;
  border-bottom: 3px solid #eee;
  padding-bottom: 200px !important;
}

editorjs-style.mt-1 {
  display: block;
  margin-top: 20px !important;
}

editorjs-style.mt-2 {
  display: block;
  margin-top: 40px !important;
}

editorjs-style.mt-3 {
  display: block;
  margin-top: 60px !important;
}

editorjs-style.mt-4 {
  display: block;
  margin-top: 80px !important;
}

editorjs-style.mt-5 {
  display: block;
  margin-top: 100px !important;
}

editorjs-style.mt-6 {
  display: block;
  margin-top: 120px !important;
}

editorjs-style.mt-7 {
  display: block;
  margin-top: 140px !important;
}

editorjs-style.mt-8 {
  display: block;
  margin-top: 160px !important;
}

editorjs-style.mt-9 {
  display: block;
  margin-top: 180px !important;
}

editorjs-style.mt-10 {
  display: block;
  margin-top: 200px !important;
}

editorjs-style.mb-1 {
  display: block;
  margin-bottom: 20px !important;
}

editorjs-style.mb-2 {
  display: block;
  margin-bottom: 40px !important;
}

editorjs-style.mb-3 {
  display: block;
  margin-bottom: 60px !important;
}

editorjs-style.mb-4 {
  display: block;
  margin-bottom: 80px !important;
}

editorjs-style.mb-5 {
  display: block;
  margin-bottom: 100px !important;
}

editorjs-style.mb-6 {
  display: block;
  margin-bottom: 120px !important;
}

editorjs-style.mb-7 {
  display: block;
  margin-bottom: 140px !important;
}

editorjs-style.mb-8 {
  display: block;
  margin-bottom: 160px !important;
}

editorjs-style.mb-9 {
  display: block;
  margin-bottom: 180px !important;
}

editorjs-style.mb-10 {
  display: block;
  margin-bottom: 200px !important;
}
