@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Forum&family=Lora&family=Roboto+Condensed:wght@700&display=swap');
@import 'resets.css';

body {
  font-family: Forum, sans-serif;
  font-size: 18px;
}

[data-editor-style="kp_blockquote"] {
  border: 6px solid #A7B7D0;
  position: relative;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 28px;
  text-align: center;
  padding: 50px;
  line-height: 40px;
}

[data-editor-style="kp_blockquote"]::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) translateY(-50%);
  background: #fff url('/vendor/tinymce/icons/logo.svg') no-repeat 50% 0;
  width: 40px;
  height: 33px;
  padding: 0 17px;
}

img[style="float: left;"] {
  margin: 30px 30px 30px 0;
}

img[style="float: right;"] {
  margin: 30px 0 30px 30px;
}

[data-editor-style="kp_card"] {
  border: 1px dashed #C4C4C4;
  width: 240px;
  padding: 20px 25px 45px 25px;
  margin: 10px;
  box-sizing: border-box;
  transition: 0.15s;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

[data-editor-style="kp_card"] img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  cursor: pointer;
}

[data-editor-style="kp_card"] .title {
  text-transform: uppercase;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: bold;
  margin: 22px 0 11px 0;
}

[data-editor-style="kp_card"] .description {
  color: #C4C4C4;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 14px;
}

#tinymce p,
#html p,
#tinymce ol,
#html ol {
  font-family: Lora, sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 150%;
  margin: 1.5rem 0;
}

[data-editor-style="kp_imageLabel"] {
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}

[data-editor-style="kp_imageLabel"] img {
  margin-bottom: 15px;
  height: auto;
}

[data-editor-style="kp_imageLabel"] .label {
  font-family: Forum, sans-serif;
  text-align: center;
  font-size: 16px;
  color: #787878;
}

@media only screen and (max-width: 650px) {
  [data-editor-style="kp_blockquote"] {
    margin: 15px;
    padding: 25px;
  }
}

@media only screen and (max-width: 520px) {
  [data-editor-style="kp_blockquote"] {
    margin: 0;
  }

  [data-editor-style="kp_card"] {
    width: 100% !important;
    height: auto !important;
    padding-bottom: 0;
  }

  [data-editor-style="kp_card"] .title {
    margin-top: 17px;
  }

  [data-editor-style="kp_card"] .description {
    margin: 17px 0 0 0;
  }

  [data-editor-style="kp_card"] img {
    max-height: 200px;
  } 
}

