html {
  overflow-y: auto !important;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 767px) {
  html {
    height: 100%;
  }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 767px) {
  body {
    height: calc(100% - 24px) !important;
  }
}

body.cke_ltr {
  background-color: #fff;
}

/* set content font size */
.cke_editable {
  margin: 16px;
}

.placeholder {
  font-weight: 300;
}

/* reproduce paragraph styling from destination */
p {
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 21px;
}

figure {
  position: relative;
  background: transparent;
  border: none;
  outline: 0px;
  display: block;
  padding: 0;
  margin: 0;
  clear: both;
}

figure a img {
  outline: none;
  border: 1px solid #0782C1;
  box-sizing: border-box;
  padding: 1px;
}

figure img {
  display: block;
  height: auto;
  max-width: 100%;
}

figure figcaption {
  padding: 5px 0 8px;
}

.spoiler-container {
  display: block;
  border-left: 2px solid #d5d7db;
  padding-left: 8px;
}

.spoiler-container .hideBtn {
  text-decoration: underline;
}

.content-spoiler p {
  margin: 0;
}

iframe.embedly-embed {
  width: 100%;
}

blockquote,
.cke_contents_ltr blockquote {
  font-family: inherit;
  font-style: normal;
  display: block;
  border-left: 2px solid #D5D6DA;
  padding-left: 16px;
  margin: 0;
}

.cke_widget_emoji-img {
  display: inline-block;
  vertical-align: middle;
  height: auto;
}

img[src*="emojione"], .emojione {
  width: 16px;
  height: 16px;
  display: inline-block;
  background: none;
}

.content-quote-username {
  font-weight: 700;
}

content-quote {
  display: block;
  border-left: 2px solid #e3e4ec;
  padding-left: 16px;
  font-style: italic;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-weight: bold;
}

hr {
  border-top: 1px solid #2B3346;
}

a, img {
	max-width: 100%;
}

.cke_panel_list {
  margin: 0;
}

.cke_panel_listItem {
  padding-bottom: 0;
}

.cke_panel_listItem a {
  border: none;
  border-radius: 0;
  padding: 4px 4px 4px 6px;
}

.cke_selected.cke_panel_listItem a,
.cke_panel_listItem a:hover,
.cke_panel_listItem a:focus,
.cke_panel_listItem a:active {
  border: none;
  border-radius: 0;
  background-color: #F4F5F6;
  box-shadow: none;
  outline: 0;
  padding: 4px 4px 4px 6px;
}

.cke_selected.cke_panel_listItem a[title^="Heading"],
.cke_panel_listItem a[title^="Heading"],
.cke_panel_listItem a[title^="Heading"]:hover,
.cke_panel_listItem a[title^="Heading"]:focus,
.cke_panel_listItem a[title^="Heading"]:active {
  padding-left: 5px;
}

.cke_selected.cke_panel_listItem a[title="Code"],
.cke_panel_listItem a[title="Code"],
.cke_panel_listItem a[title="Code"]:hover,
.cke_panel_listItem a[title="Code"]:focus,
.cke_panel_listItem a[title="Code"]:active {
  padding-top: 8px;
  padding-bottom: 8px;
}

.cke_panel_grouptitle:nth-child(n+2) {
  border-top: 1px solid #E5E5E5;
  border-radius: 0;
}

.cke_editable td, th {
  border:1px solid #d5d6da;
}

.cke_editable table {
  overflow-x: auto;
}

/* styles for dropdown menu */
.cke_menu .cke_menubutton_icon {
  background: none !important;
  display: block;
  width: 16px;
  height: 16px;
  padding: 12px 16px;
  padding-right: 0px;
  opacity:1;
}

.cke_menu .cke_menuitem,
.cke_menu .cke_menubutton{
  outline:0;
}

.cke_menu a.cke_menubutton {
  cursor: pointer !important;
}

.cke_menu .cke_button_icon svg,
.cke_menu .cke_button_icon svg path {
  cursor: pointer;
  fill: #2B3346 !important;
  width: 16px;
  height: 16px;
}
.cke_menu .cke_menubutton_label {
  padding: 10px;
  padding-top: 14px;
  cursor: pointer;
}
.cke_menu .cke_menubutton_on {
  box-shadow: none;
}

.cke_menubutton_inner .cke_menuarrow {
  background-position:19px;
}

.cke_panel_list {
  padding: 0;
  margin: 8px;
  font-family: "Roboto", "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
  font-size: 14px;
}
.cke_panel_listItem {
  list-style: none;
  height: 40px;
  margin-bottom: 4px;
}
.cke_panel_listItem a {
  text-decoration: none;
}

.callout-trigger {
  padding: 8px 16px;
  color: #2B3346;
  margin: 4px 0;
  display: inline-block;
}

.cke_widget_wrapper_image-loading img,
.cke_widget_wrapper_uploading img {
  opacity: 0.7;
}

.cke_widget_element.easyimage {
  position: relative;
}

@keyframes rotatingspinner {
  0% {
    transform: rotate(0);
    opacity: 1;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0.8;
  }
}

.cke_widget_wrapper_uploading figure,
.cke_widget_wrapper_image-loading figure {
  min-height: 50px;
}

.cke_widget_insidedimage svg {
  position: absolute;
  top: calc(50% - 25px);
  left: calc(50% - 25px);
  height: 50px;
  width: 50px;
  transition: top 05s ease;
  transform-origin: center;
  animation: rotatingspinner 1.5s cubic-bezier(.79,.14,.15,.86) infinite;
}

.cke_widget_insidedimage .loading-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.2);
  z-index: 1;
}

.cke_widget_wrapper_image-loading figcaption,
.cke_widget_wrapper_uploading figcaption {
  display: none !important;
}

.loading-backdrop svg path {
  fill: #fff;
}

[aria-label="Formatting Styles"] .cke_panel_grouptitle {
  display: none;
}

.cke_widget_wrapper:hover .cke_widget_editable {
  outline: none !important;
}

.cke_widget_wrapper:hover>.cke_widget_element{
  outline: 1px solid #47a4f5 !important;
  cursor: default
}

.cke_widget_wrapper .cke_widget_editable.cke_widget_editable_focused {
  outline: none !important;
}

.cke_widget_wrapper.cke_widget_focused > .cke_widget_element {
  outline: none !important;
}

.cke_widget_selected {
  outline: 2px solid #47a4f5 !important;
}

.cke_menuitem .cke_menubutton__variableUsername .cke_menubutton_icon,
.cke_menuitem .cke_menubutton__recipientAttributes .cke_menubutton_icon,
.cke_menuitem .cke_menubutton__topicCard .cke_menubutton_icon {
  display: none;
}

.cke_reset_all a.cke_menubutton__recipientAttributes, .cke_reset_all a.cke_menubutton__recipientAttributes:hover {
  background: #FFFFFF;
}

.cke_reset_all a.cke_menubutton__recipientAttributes .cke_menubutton_label {
  color: #6B707E;
}

.cke_widget_wrapper:hover .cke_image_resizer_wrapper {
    outline: 2px solid #0069FF;
}

.cke_image_resizer_wrapper .cke_image_resizer {
    width: 12px;
    height: 12px;
    outline: none;
    background: #0069FF;
}

@media only screen and (min-device-width: 768px) {
  .cke_widget_element[data-cke-widget-data*='typeform.com'],
  .cke_widget_element[data-cke-widget-data*='videoask.com'] {
    display: flex;
    justify-content: center;
  }

  .cke_widget_element[data-cke-widget-data*='typeform.com'] iframe,
  .cke_widget_element[data-cke-widget-data*='videoask.com'] iframe {
    width: 404px;
    height: 582px;
  }
}

@media only screen and (max-device-width: 767px) {
  .cke_widget_element[data-cke-widget-data*='typeform.com'] iframe,
  .cke_widget_element[data-cke-widget-data*='videoask.com'] iframe {
    width: 100%;
    height: 90vh;
  }
}
