/*
 * Note about width variable:
 * Don't forget that we are using same "width" value in layout editor (.encp-layout-editor-note-content)
 * This also concerned body's medium and large zoom level classes
 */

body {
  font-family: "Gotham";
  width: 76%;
  /* Also reflect the change of width to "div.encp-layout-editor-note-content" style */
  margin: auto;
  font-size: 0.76rem;
  /* 1rem = 16px (maybe, depends on browser), after our applied scale percentage we have to
                         divide desired font size by 30 to get correct rem */
  line-height: 1.25rem;
  color: rgb(67, 67, 67);
  background-color: transparent;
  overflow-x: hidden;
  word-wrap: break-word;
}

body.encp-medium-zoom {
  /* Also reflect the change of width to "body.encp-medium-zoom div.encp-layout-editor-note-content" style */
  width: 80%;
}

body.encp-large-zoom {
  /* Also reflect the change of width to "body.encp-large-zoom div.encp-layout-editor-note-content" style */
  width: 84%;
}

div.encp-note-title>div.encp-title-container {
  max-width: 100%;
  padding: 0 3.95%;
  /* padding = (100% / longestParentWidth% * paddingInDesign% / 2) 
                       e.g. used for 15% in 15%/70%/15% title when body width is 76% */
}

body.encp-medium-zoom div.encp-note-title>div.encp-title-container {
  padding: 0 6.25%;
}

body.encp-large-zoom div.encp-note-title>div.encp-title-container {
  padding: 0;
}

li {
  line-height: 1.4rem;
  vertical-align: text-top;
}

hr {
  height: 1px;
  border: 0;
  padding: 0;
  margin: 1.2rem auto;
  width: 100%;
  background-color: rgb(191, 191, 191);
}

.small-font {
  font-size: 0.62rem;
}

.medium-font {
  font-size: 0.85rem;
}

.large-font {
  font-size: 1.16rem;
}

p+p {
  margin-top: 0.6rem;
}

li, div {
  margin-top: 0;
}

b, strong {
  font-weight: bold;
}

/*
 * Highlight
 */

.encp-note-highlight {
  color: black !important;
  background-color: rgb(255, 250, 165) !important;
}

.encp-note-highlight * {
  color: black !important;
}

/*
 * Monospace
 */

.encp-note-monospace {
  font-family: "Menlo", monospace;
  font-size: 0.6rem;
  line-height: 1.0rem;
  margin: 0 2rem;
}

.encp-note-monospace>div {
  margin-top: 0;
}

font.encp-note-monospace, span.encp-note-monospace, em.encp-note-monospace, strong.encp-note-monospace {
  display: inline-block;
}

.encp-monospace-inline {
  font-family: "Menlo", monospace;
}

.encp-note-monospace .small-font {
  font-size: 0.44rem;
}

.encp-note-monospace .medium-font {
  font-size: 0.6rem;
}

.encp-note-monospace .large-font {
  font-size: 0.81rem;
}

/*
 * Checkboxes
 */

/* Invalid markup, but we have it in our 'This special one' test note */

ol>div>.encp-checkbox {
  margin-top: 0;
}

.encp-checkbox.encp-inside-text {
  margin-left: 0.3rem;
}

.encp-checkbox {
  margin-right: 0.26rem;
  text-align: center;
  margin-top: 0.15rem;
  height: 0.9rem;
  width: 0.9rem;
  vertical-align: top;
  display: inline-block;
  background-image: url(../Images/checkmarkUnchecked.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.encp-checkbox.encp-checked {
  background-image: url(../Images/checkmarkChecked.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.supernote .en-todo.en-todo-checked {
  text-decoration: line-through;
  opacity: 0.55;
}

li .encp-checkbox {
  margin-top: 0.21rem;
}

/*
 * Table
 */

div.encp-table-container {
  text-align: center;
  padding: 0;
  margin: 0;
  /* Borders of row will be running over to make them edge-to-edge. We need to hide overflowed parts of them.  */
  overflow: hidden;
  /* 100% / 76% - 100% = 31.57% then / 2 = 15.8% */
  margin-right: -15.8%;
  margin-left: -15.8%;
}

.supernote div.encp-table-container {
  overflow: auto;
  margin-right: 0;
  margin-left: 0;
}

.supernote div.encp-peso-table-container table {
  table-layout: auto;
  border: 1px solid rgb(221, 221, 221);
}

.supernote div.encp-peso-table-container table tr {
  border-top: 1px solid rgb(221, 221, 221);
}

.supernote div.encp-peso-table-container table tr:last-of-type {
  border-bottom: 1px solid rgb(221, 221, 221);
}

.supernote div.encp-peso-table-container table th, .supernote div.encp-peso-table-container table td {
  padding: 1em;
  position: relative;
  max-width: 30vw;
}

.supernote div.encp-peso-table-container table th>div, .supernote div.encp-peso-table-container table td>div {
  min-width: 100px;
  min-height: 24px;
  line-height: 24px;
}

.supernote div.encp-peso-table-container table td.invalid::after {
  content: ' ';
  position: absolute;
  left: 0;
  top: 0;
  border: .5em solid #f56453;
  background: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
}

.supernote .encp-peso-table-container {
  max-width: 100%;
  overflow-x: auto;
}

div.encp-table-container.encp-media-with-padding {
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
}

body.encp-medium-zoom div.encp-table-container {
  /* 100% / 80% - 100% = 25% then / 2 = 12.5% */
  margin-right: -12.5%;
  margin-left: -12.5%;
}

body.encp-large-zoom div.encp-table-container {
  /* 100% / 86% - 100% = 16.27% then / 2 = 8.14% */
  margin-right: -8.14%;
  margin-left: -8.14%;
}

table {
  margin: 0 auto;
  border-collapse: collapse;
  /*max-width: 94%;*/
  max-width: 76%;
  /* match body max-width */
  border-width: 0;
  table-layout: fixed;
}

td, th {
  padding: 0.93%;
  border-color: rgb(191, 191, 191);
  border-width: 1px;
  border-style: solid;
  font-size: 0.65rem;
  vertical-align: top;
  word-wrap: break-word;
}

tr:first-child td, tr:first-child th {
  border-top-width: 0;
}

tr:last-child td, tr:last-child th {
  border-bottom-width: 0;
}

td:first-child, th:first-child {
  position: relative;
  border-left-width: 0;
}

td:last-child, th:last-child {
  position: relative;
  border-right-width: 0;
}

table[style*="width: 100%"] td:first-child:before, table[style*="width: 100%"] th:first-child:before {
  content: " ";
  display: block;
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 9999px;
  border-bottom: 1px solid rgb(191, 191, 191);
}

tr:last-child td:first-child:before, tr:last-child th:first-child:before {
  border-bottom-width: 0;
}

table[style*="width: 100%"] td:last-child:after, table[style*="width: 100%"] th:last-child:after {
  content: " ";
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 9999px;
  border-bottom: 1px solid rgb(191, 191, 191);
}

tr:last-child td:last-child:after, tr:last-child th:last-child:after {
  border-bottom-width: 0;
}

td div:first-child, table td ol:first-child, table td ul:first-child, table ol>li:first-child, table ul>li:first-child, body.encp-medium-zoom td div:first-child, body.encp-medium-zoom table td ol:first-child, body.encp-medium-zoom table td ul:first-child, body.encp-medium-zoom table ol>li:first-child, body.encp-medium-zoom table ul>li:first-child, body.encp-large-zoom td div:first-child, body.encp-large-zoom table td ol:first-child, body.encp-large-zoom table td ul:first-child, body.encp-large-zoom table ol>li:first-child, body.encp-large-zoom table ul>li:first-child {
  margin-top: 0;
}

td>div>img {
  max-width: 100%;
}

table .encp-checkbox {
  height: 0.7rem;
  width: 0.7rem;
}

table ul {
  margin-left: 0.7rem;
}

table ol {
  margin-left: 1.2rem;
}

table ol>li, table ul>li {
  line-height: 0.9rem;
  margin-top: 0.36rem;
  margin-bottom: 0;
  padding-left: 0;
}

table .encp-line-spacer {
  font-size: 0.65rem;
  line-height: 0.65rem;
  margin-top: 0;
}

table .small-font {
  font-size: 0.63rem;
}

table .medium-font {
  font-size: 0.65rem;
}

table .large-font {
  font-size: 0.87rem;
}

body.encp-medium-zoom td, body.encp-medium-zoom th {
  padding: 1.07%;
  font-size: 0.52rem;
}

body.encp-large-zoom table .encp-line-spacer {
  font-size: 0.52rem;
  line-height: 0.52rem;
  margin-top: 0;
}

body.encp-medium-zoom table .small-font {
  font-size: 0.5rem;
}

body.encp-medium-zoom table .medium-font {
  font-size: 0.52rem;
}

body.encp-medium-zoom table .large-font {
  font-size: 0.69rem;
}

body.encp-medium-zoom table .encp-checkbox {
  height: 0.6rem;
  width: 0.6rem;
}

body.encp-medium-zoom table ol>li, body.encp-medium-zoom table ul>li {
  line-height: 0.72rem;
  margin-top: 0.29rem;
}

body.encp-medium-zoom table ul {
  margin-left: 0.6rem;
}

body.encp-medium-zoom table ol {
  margin-left: 1.0rem;
}

body.encp-large-zoom td, body.encp-large-zoom th {
  padding: 1.36%;
  font-size: 0.49rem;
}

body.encp-large-zoom table .encp-line-spacer {
  font-size: 0.49rem;
  line-height: 0.41rem;
  margin-top: 0;
}

body.encp-large-zoom table .small-font {
  font-size: 0.41rem;
}

body.encp-large-zoom table .medium-font {
  font-size: 0.49rem;
}

body.encp-large-zoom table .large-font {
  font-size: 0.57rem;
}

body.encp-large-zoom table .encp-checkbox {
  height: 0.55rem;
  width: 0.55rem;
}

body.encp-large-zoom table ol>li, body.encp-large-zoom table ul>li {
  line-height: 0.67rem;
  margin-top: 0.27rem;
}

body.encp-large-zoom table ul {
  margin-left: 0.75rem;
}

body.encp-large-zoom table ol {
  margin-left: 1.0rem;
}

/*
 * Table inside table
 */

table div.encp-table-container {
  margin: 0;
}

table div.encp-table-container table td:last-child:after, table div.encp-table-container table th:last-child:after, table div.encp-table-container table td:first-child:before, table div.encp-table-container table th:first-child:before {
  border-bottom-width: 0;
}

/*
 * Links
 */

a.encp-text-link, a.encp-text-link:visited, a.encp-text-link:active {
  background-color: inherit;
  color: rgb(0, 144, 244) !important;
  text-decoration: underline;
  cursor: pointer;
  padding-top: 0.1rem;
  -webkit-transition: background-color 250ms ease-in-out, color 250ms ease-in-out, text-decoration 250ms ease-in-out;
}

a.encp-text-link:hover, a.encp-text-link:focus {
  color: white !important;
  background-color: rgb(0, 144, 244) !important;
  text-decoration: none;
  -webkit-transition: background-color 250ms ease-in-out, color 250ms ease-in-out, text-decoration 250ms ease-in-out;
}

a.encp-note-link.encp-text-link, a.encp-note-link.encp-text-link:visited, a.encp-note-link.encp-text-link:active {
  color: rgb(1, 159, 81) !important;
  text-decoration: underline;
}

a.encp-note-link.encp-text-link:hover, a.encp-note-link.encp-text-link:focus {
  color: white !important;
  background-color: rgb(1, 159, 81) !important;
  text-decoration: none;
  -webkit-transition: background-color 250ms ease-in-out, color 250ms ease-in-out, text-decoration 250ms ease-in-out;
}

a.encp-broken-link, a.encp-broken-link.encp-note-link.encp-text-link, a.encp-broken-link:hover, a.encp-broken-link.encp-note-link.encp-text-link:hover, a.encp-broken-link:focus, a.encp-broken-link.encp-note-link.encp-text-link:focus {
  cursor: default;
  text-decoration: inherit !important;
  background-color: transparent !important;
  color: rgb(47, 47, 47) !important;
  -webkit-transition: none;
}

a hr, a:visited hr, a:hover hr, a:focus hr, a:active hr {
  background-color: transparent !important;
  -webkit-transition: none !important;
}

/*
 * List styles (ul, ol)
 */

ul {
  margin-left: 2.22rem;
  padding: 0;
  list-style-type: disc;
  line-height: 1.1rem;
}

ul>li {
  padding-left: 0.2rem;
}

ol {
  margin-left: 2.22rem;
  font-weight: bold;
  padding: 0;
  line-height: 1.1rem;
}

ol>li {
  padding-left: 0.2rem;
  margin-left: 0;
  margin-bottom: 0.454rem;
}

ol>li>span.content {
  font-weight: normal;
  display: block;
  -webkit-nbsp-mode: space;
  -webkit-line-break: after-white-space;
}

ol>li>span.content>ul {
  margin: 0 0 0 2.27rem;
  padding: 0;
}

body.encp-large-zoom ul, body.encp-large-zoom ol {
  margin-left: 1rem;
}

/*
 * Media container
 */

div.encp-media-container {
  -webkit-transform: scale(1.0);
  -webkit-transition: -webkit-transform 0.2s linear;
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-top: 0;
  /* 100% / 76% - 100% = 31.57% then / 2 = 15.8% + 0.1% margin */
  margin-right: -15.9%;
  margin-left: -15.9%;
}

div.encp-media-container.encp-mouse-down {
  /* MUST ensure the scale matches CLICKED_CONTAINER_SCALE in ENCPMediaContents.js */
  -webkit-transform: scale(0.95);
}

li div.encp-media-container, body.encp-medium-zoom li div.encp-media-container, body.encp-large-zoom li div.encp-media-container {
  text-align: left;
}

body.encp-medium-zoom div.encp-media-container {
  /* 100% / 80% - 100% = 25% then / 2 = 12.5% */
  margin-left: -12.5%;
  margin-right: -12.5%;
}

body.encp-large-zoom div.encp-media-container {
  /* 100% / 86% - 100% = 16.27% then / 2 = 8.14% + 0.01% margin */
  margin-right: -8.15%;
  margin-left: -8.15%;
}

div.encp-media-container.encp-media-nonimage {
  margin-left: 0!important;
  margin-right: 0!important;
}

div.encp-media-container.encp-media-with-padding {
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
}

div.encp-media-container+div.encp-media-container {
  padding-bottom: 2rem;
}

div.encp-media-container+br {
  display: none;
}

div.encp-media-container>div.encp-media-preview {
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
}

.encp-media-container img {
  margin-left: auto;
  margin-right: auto;
  max-height: none;
  max-width: 100%;
}

.encp-media-container .encp-portrait {
  max-height: 90%;
  max-width: none;
}

.encp-media-container-document>.encp-shadow {
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  top: -0.5rem;
  bottom: 0;
}

.encp-media-container-document>.encp-shadow.encp-first-shadow {
  transform: rotate(2deg);
  -webkit-transform: rotate(2deg);
  /* a workaround to make sure enabling transform */
  background-color: rgb(219, 219, 219);
}

.encp-media-container-document>.encp-shadow.encp-second-shadow {
  transform: rotate(1deg);
  -webkit-transform: rotate(1deg);
  /* a workaround to make sure enabling transform */
  background-color: rgb(234, 234, 234);
}

.encp-media-container-document {
  position: relative;
}

.encp-media-container-document>.en-media.encp-document {
  position: relative;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(234, 234, 234);
  opacity: 1.0;
  display: block;
  background-color: white;
}

/*
 * Inline images
 */

.encp-media-container-inline {
  display: inline-block;
  margin-top: 0;
  margin-bottom: 0.1rem;
  vertical-align: middle;
}

/*
 * Images in table
 */

.encp-table-image {
  height: auto !important;
  width: auto !important;
}

table div.encp-media-container, table div.encp-media-container.encp-media-with-padding, body.encp-medium-zoom table div.encp-media-container, body.encp-large-zoom table div.encp-media-container {
  margin: 0 !important;
}

table div.encp-media-container img, table div.encp-media-container .encp-portrait {
  max-width: 100%;
  max-height: none;
}

/*
 * Captions
 */

.encp-media-caption-header, .encp-media-caption-footer {
  text-align: center;
}

.encp-media-caption-header {
  font-family: "Caecilia";
  font-size: 1.0666rem;
  line-height: 1.4666rem;
  padding: 1.6rem 15.13% 1.0rem;
}

.encp-media-caption-header b, .encp-media-caption-header strong {
  font-weight: normal;
}

.encp-media-caption-header .large-font, .encp-media-caption-header .medium-font, .encp-media-caption-header .small-font {
  font-size: 1.55rem;
}

.encp-media-caption-footer {
  font-size: 0.5666rem;
  line-height: 0.8rem;
  padding: 1.2rem 15.13%;
}

.encp-media-caption-footer .large-font, .encp-media-caption-footer .medium-font, .encp-media-caption-footer .small-font {
  font-size: 0.86rem;
}

body.encp-medium-zoom .encp-media-caption-header {
  padding: 1.28rem 12.5% 0.8rem;
}

body.encp-medium-zoom .encp-media-caption-footer {
  padding: 0.96rem 12.5%;
}

body.encp-large-zoom .encp-media-caption-header {
  padding: 0.85rem 2.38% 0.6rem;
}

body.encp-large-zoom .encp-media-caption-footer {
  padding: 0.55rem 2.38%;
}

/*
 * Miscellaneous
 */

.encp-crypt {
  border-bottom: 2px solid rgb(180, 180, 180);
  display: inline-block;
  font-size: 0.85rem;
  border-radius: 0.6rem;
  padding: 0 0.5rem;
  margin: 0.25rem 0.3rem;
  line-height: 1.0rem;
}

.encp-crypt:after {
  content: "●●●●●●●●";
}

div>span.encp-crypt:first-of-type {
  margin-left: 0;
}

html[encp-content-class='evernote.penultimate.notebook'] hr {
  display: none;
}

body, html {
  -webkit-transition: background-color 250ms ease-in-out, color 250ms ease-in-out;
}

.encp-line-spacer {
  line-height: 1rem;
  margin-top: 0;
}

.encp-hidden-line-spacer {
  display: none;
}

::selection {
  background-color: Highlight;
  color: HighlightText;
}

/*
 * Layout editor content container
 */

div.encp-layout-editor-note-content-container {
  position: relative;
  background-color: #ffffff;
  border-radius: 30px;
  cursor: pointer;
}

div.encp-layout-editor-note-content {
  /* For default zoom level left and right margins are set to 12% */
  width: 76%;
  margin-left: auto;
  margin-right: auto;
}

body.encp-medium-zoom div.encp-layout-editor-note-content {
  /* For medium zoom level left and right margins are set to 10% */
  width: 80%;
}

body.encp-large-zoom div.encp-layout-editor-note-content {
  /* For large zoom level left and right margins are set to 8% */
  width: 84%;
}

div.encp-layout-editor-note-content .encp-media-container, div.encp-layout-editor-note-content a {
  /* Disable all pointer events for the media view & links if inside the layout editor */
  pointer-events: none;
}

/*
 * Presented area indicator clipping
 */

div.encp-layout-editor-presented-area-container {
  position: absolute;
  top: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  pointer-events: none;
}

/*
 * Presented area indicator
 */

div.encp-layout-editor-presented-area {
  position: absolute;
  background-color: rgba(177, 177, 177, 0.4);
  pointer-events: none;
}

/*
 * Section break line
 */

div.encp-section-break-ui {
  position: relative;
  z-index: 1;
}

div.encp-section-disabled-break, div.encp-section-enabled-break {
  width: 100%;
  position: absolute;
}

div.encp-section-break-ui.encp-hovered-element {
  z-index: 10000;
}

div.encp-section-enabled-break div.encp-section-break-line {
  margin: -1.5px 0;
  border-top: 3px solid #3FB4DF;
  width: 100%;
}

div.encp-section-break-ui.encp-hovered-element div.encp-section-disabled-break div.encp-section-break-line {
  margin: -0.5px 0;
  border-top: 1px solid #3FB4DF;
  width: 100%;
}

/*
 * Section break button next to the section break line
 */

div.encp-section-break-button {
  position: relative;
  width: 18px;
  height: 18px;
  margin-left: auto;
  margin-right: -24px;
  margin-top: -9px;
  /* half of the height */
  margin-bottom: -9px;
  float: right;
}

/*
 * Each button below need to be centered inside button panel.
 * To do this we shift it to the right using "marging-right".
 * To calculate "marging-right" we take into account width of the button's panel: 30px
 * margin-right = -(buttonWidth + (panelWidth - buttonWidth) / 2)
 */

div.encp-section-enabled-break div.encp-section-break-button {
  content: url(../Images/space-divider-remove-DayMode.svg);
}

div.encp-section-break-ui.encp-hovered-element div.encp-section-enabled-break div.encp-section-break-button {
  content: url(../Images/space-divider-remove-DayMode-HoverState.svg);
}

div.encp-section-disabled-break div.encp-section-break-button {
  content: url(../Images/space-divider-add.svg);
}

div.encp-section-break-ui.encp-hovered-element div.encp-section-disabled-break div.encp-section-break-button {
  content: url(../Images/space-divider-add-HoverState.svg);
}

/*
 * Section break. Enabled line
 */

div.encp-section-enabled-break div.encp-section-break-line.encp-draggable-element:after {
  content: url(../Images/space-divider-drag.svg);
  width: 18px;
  height: 18px;
  display: block;
  margin: -9px auto;
  /* half of the height */
}

/*
 * Drag and Drop
 */

.encp-draggable-element {
  position: relative;
}

/*
 * Section break animation
 */

.encp-section-break-animation {
  -webkit-transition-property: padding-top, padding-bottom;
  -webkit-transition-duration: 250ms, 250ms;
}

img.encp-section-break-animation {
  -webkit-transition-property: width, height, margin-top, margin-bottom;
  -webkit-transition-duration: 250ms, 250ms, 250ms, 250ms;
}

.encp-peso-breakline {
  height: 2px;
  background-color: #e6e6e6;
  margin: 20px 0;
}

.encp-peso-quote {
  display: block;
  margin: 5px 0 5px 1px;
  padding: 6px 0 6px 19px;
  box-sizing: border-box;
  font-size: 14px;
  color: #73808c;
  border-left: 3px solid #b4c0cc;
  line-height: 24px;
}

.encp-peso-quote>div {
  line-height: 1.715;
  font-size: 0.75rem;
  color: #73808c;
  width: 100%;
}

.encp-peso-alert {
  position: relative;
  min-width: 204px;
  max-width: 100%;
  display: inline-block;
  padding: 2em 1em;
  box-sizing: border-box;
  line-height: 1rem;
  background-color: #f0f7f7;
  border-radius: 15px;
  border: 0;
  position: relative;
}

.encp-peso-alert-left-mark {
  min-width: 13px;
  height: 13px;
  display: block;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjUwMy4xM2ExLjUgMS41IDAgMDEwIDNoLTguNXY4LjVhMS41IDEuNSAwIDAxLTMgMHYtMTBBMS41IDEuNSAwIDAxMS4zNTguMTM3TDEuNTAzLjEzaDEweiIgZmlsbD0iIzA2OUE3MiIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+Cg==);
  background-size: 100%;
  position: absolute;
  left: 18px;
  top: 18px;
}

.encp-peso-alert-right-mark {
  min-width: 13px;
  height: 13px;
  display: block;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjUwMy4xM2ExLjUgMS41IDAgMDEwIDNoLTguNXY4LjVhMS41IDEuNSAwIDAxLTMgMHYtMTBBMS41IDEuNSAwIDAxMS4zNTguMTM3TDEuNTAzLjEzaDEweiIgZmlsbD0iIzA2OUE3MiIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+Cg==);
  background-size: 100%;
  position: absolute;
  right: 18px;
  bottom: 18px;
  transform: rotate(180deg);
}

.encp-peso-alert-text {
  padding: 1rem 1.8rem;
  font-size: 0.75rem;
  line-height: 1.5em;
  min-height: 1em;
}

h1, h2, h3 {
  padding: 9px 0 3px;
  color: #3D454D;
}

.encp-peso-inline-codeblock {
  background-color: #f7f7fa;
  border-radius: 6px;
  display: inline;
  padding: 3px 6px;
  word-break: break-all;
  font-family: PingFangSC-Regular, PingFang SC, sans-serif;
  vertical-align: baseline;
  color: #3D454D;
  line-height: 1.715;
  font-size: 0.65rem;
}

/* 网页书签样式 */

.encp-peso-bookmark-container {
  display: inline-block;
  width: 100%;
}

.encp-peso-bookmark-inner-container {
  width: 100%;
  overflow: scroll;
  -ms-overflow-style: none;
  scrollbar-color: transparent transparent;
  scrollbar-track-color: transparent;
}

.encp-peso-bookmark {
  pointer-events: all;
  text-decoration: none;
  padding: 10px;
  max-height: 18rem;
  max-width: 28rem;
  user-select: none;
  transition: background 120ms ease-in 0s;
  cursor: pointer;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  text-align: left;
  background: rgba(252, 255, 254, 1);
  box-shadow: 0 2px 5px 0 rgba(157, 189, 174, 0.11);
  border-radius: 8px;
  border: 1px solid rgba(206, 234, 217, 1);
  position: relative;
  color: inherit;
}

.encp-peso-bookmark-contentWrap {
  flex: 4 1 180px;
  padding: 2px 14px 4px 4px;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.encp-peso-bookmark-contentWrap-title {
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgb(51, 51, 51);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.encp-peso-bookmark-contentWrap-description {
  font-size: 0.55rem;
  line-height: 1rem;
  color: rgba(135, 135, 135, 1);
  height: 32px;
  overflow: hidden;
}

.encp-peso-bookmark-contentWrap-icon {
  display: flex;
  margin-top: 6px;
}

.encp-peso-bookmark-contentWrap-icon img, svg {
  width: 1rem;
  height: 1rem;
  min-width: 16px;
  margin-right: 6px;
  border-radius: 100%;
}

.encp-peso-bookmark-contentWrap-icon div {
  color: #BFBFBF;
  font-size: 0.45rem;
  line-height: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.encp-peso-bookmark-thumbnail {
  flex: 1 1 175px;
  max-height: 87px;
  border-radius: 6px;
  display: block;
  position: relative;
  overflow: hidden;
}

.encp-peso-bookmark-thumbnail img {
  display: block;
  object-fit: cover;
  border-radius: 1px;
  width: 100%;
  height: 100%!important;
  max-height: 100%;
}

/* 网页书签扩大点击范围至整个书签 */

.encp-peso-bookmark a {
  text-decoration: none;
  display: inline-block;
  color: inherit;
}

.encp-peso-bookmark a:after {
  content: ' ';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
}

/* 日期关联任务 */

.encp-peso-task-date-box {
  display: inline-block;
  font-size: 14px;
  white-space: nowrap;
  background-color: #fff !important;
}

.encp-peso-task-en-date {
  line-height: 0;
  display: inline-block;
  padding-right: 7px;
  border-radius: 10px;
  background-color: #edf9f3;
  position: relative;
  cursor: pointer;
}

.encp-peso-task-en-date .datetime {
  height: 20px;
  display: inline-block;
  align-items: center;
  line-height: 20px !important;
  padding: 0.1rem;
  margin-left: 0.2rem;
}

.encp-peso-task-en-date .datetime img {
  width: 23px;
  height: 18px !important;
  margin-right: 2px;
  position: relative;
  top: -1px;
  vertical-align: middle;
}

.encp-peso-task-en-date .datetime span {
  font-size: 14px;
  line-height: 20px !important;
  color: #00bf66;
  font-weight: 400;
}

/* 附件 */

.encp-peso-file-enmediafile {
  position: relative;
  height: auto;
  outline: none;
  border-radius: 4px;
  border: 1px solid #f2f6f5;
  transition: border-color 200ms;
  margin: 8px 0 8px;
}

.encp-peso-file-enmediafile-header {
  display: flex;
  border-radius: 4px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 7px;
  width: 100%;
  height: 2rem;
  background-color: #f2f6f5;
  color: #696969;
  font-size: 0.65rem;
  margin-bottom: 3px;
}

.encp-peso-file-enmediafile-header:last-of-type {
  margin-bottom: 0;
}

.encp-peso-file-enmediafile-header .title {
  display: flex;
  align-items: center;
  color: #696969;
  text-align: left;
  flex-grow: 1;
  padding: 0 6px;
}

.encp-peso-file-enmediafile-header .filesize {
  font-size: 0.55rem;
  color: #a6a6a6;
  flex-shrink: 0;
  margin-right: 17px;
}

.encp-peso-file-enmediafile-header svg {
  margin-left: 0.5rem;
}

/* 在线视频 */

en-online-video {
  width: 100%;
  max-width: 469px;
  min-width: 355px;
  display: block;
  margin-top: 6px;
  box-sizing: border-box;
  font-size: 12px;
  border-radius: 6px;
  position: relative;
  transition: box-shadow 200ms;
}

en-online-video iframe {
  width: 20rem;
  height: 10rem;
}

en-online-video .header {
  display: flex;
  padding: 5.5px 7px;
  overflow: hidden;
  border-radius: 6px;
  background-color: #F2F6F5;
  width: 19.5rem;
}

en-online-video .header .logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-position: center;
  cursor: pointer;
  background-size: 24px 25px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLjIyMiAuNSkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHJlY3QgZmlsbD0iIzU4Q0VBRSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iNCIvPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDYuNSA3KSI+PHJlY3QgZmlsbD0iI0ZGRiIgeT0iLjUiIHdpZHRoPSI5IiBoZWlnaHQ9IjkiIHJ4PSIxIi8+PHBhdGggZD0iTTkuOTkxIDIuNzA5TDExLjE2NiAxLjVhLjg0OS44NDkgMCAwMTEuNDU4LjU5MnY1LjgxNmEuODQ5Ljg0OSAwIDAxLTEuNDU4LjU5Mkw5Ljk5MSA3LjI5MWExIDEgMCAwMS0uMjgyLS42OTdWMy40MDZhMSAxIDAgMDEuMjgyLS42OTd6IiBmaWxsPSIjRkZGIi8+PHJlY3QgZmlsbD0iIzcxRTZDNyIgb3BhY2l0eT0iLjM2MiIgeD0iMSIgeT0iMiIgd2lkdGg9IjciIGhlaWdodD0iMSIgcng9Ii41Ii8+PC9nPjwvZz48L3N2Zz4=);
  margin-right: 8px;
}

en-online-video .header .title {
  height: 25px;
  display: block;
  font-size: 12px;
  line-height: 25px !important;
  color: #7B7B7B;
  word-break: break-all;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: horizontal;
}

en-online-video .header .body {
  border-radius: 0px 0px 6px 6px;
  background-color: #212121;
  overflow: hidden;
  transition: max-height 0.3s ease-in;
  margin: 0 7px;
  border-radius: 6px;
  width: 20rem;
}

/* 百度地图 */

.encp-peso-map-container {
  display: inline-block;
  width: 100%;
}

.encp-peso-map-container .map-inner-container {
  width: 100%;
  -ms-overflow-style: none;
  scrollbar-color: transparent transparent;
  scrollbar-track-color: transparent;
}

.encp-peso-map-container .map-inner-container .map {
  position: relative;
  height: 456px;
  pointer-events: all;
  text-decoration: none;
  user-select: none;
  transition: background 120ms ease-in 0s;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  text-align: left;
  background: rgba(252, 255, 254, 1);
  border-radius: 8px;
  position: relative;
  color: inherit;
}

.encp-peso-map-container .map-inner-container .map .header {
  position: relative;
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 40px 0 7px;
  border-radius: 6px;
  background-color: #f2f6f5;
  box-sizing: border-box;
}

.encp-peso-map-container .map-inner-container .map .header .name {
  display: flex;
  align-items: center;
  width: 100%;
}

.encp-peso-map-container .map-inner-container .map .header .name .poi {
  flex-shrink: 0;
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background: url(~images/baidumap/poi.svg) 0 / 24px no-repeat;
}

.encp-peso-map-container .map-inner-container .map .header .name .title {
  width: 100%;
  color: #7b7b7b;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.encp-peso-map-container .map-inner-container .map .mask {
  position: absolute;
  top: 36px;
  z-index: 3;
  width: 100%;
  height: 420px;
  background: transparent;
}

.encp-peso-map-container .map-inner-container .map .mask:hover {
  background: transparent!important;
}

.encp-peso-map-container .map-inner-container .map .main {
  position: absolute;
  top: 36px;
  z-index: 2;
  width: 100%;
  height: 420px;
  border: none;
  margin: 0 auto;
  padding: 0 10px;
  border-radius: 6px;
  box-sizing: border-box;
  transition: height 0.3s;
}

.encp-peso-unsupported {
  height: 270px;
  position: relative;
  margin: 20px 0;
}

.encp-peso-unsupported>div {
  width: 800px;
  height: 270px;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background: rgb(242, 246, 245);
  color: rgb(219, 226, 224);
  text-align: center;
  line-height: 270px;
}

.supernote table .encp-peso-unsupported {
  display: inline-block;
  width: 100%;
  height: auto;
  margin: 0;
}

.supernote table .encp-peso-unsupported>div {
  width: auto;
  height: auto;
  position: relative;
  left: 0;
  transform: none;
  line-height: 100%;
  padding: 1em;
}

/* 为mac演示模式添加的图片宽度 */

.encp-peso-image {
  width: 100%;
}

/* 演示模式capsuletext */

.encp-peso-capsuletext {
  display: inline-block;
  margin: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
  white-space: nowrap;
  max-width: 178px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 演示模式membercapsule */

.encp-peso-membercapsule {
  background-color: rgba(0, 191, 102, 0.1);
  height: 24px;
  line-height: 24px;
  display: inline-block;
  margin: 6px;
  padding: 2px 8px;
  border-radius: 12px;
  vertical-align: middle;
  white-space: nowrap;
  max-width: 178px;
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 28px;
}

.encp-peso-membercapsule > img {
  height: 24px;
  border-radius: 12px;
  position: absolute;
  left: 0;
}

/* 演示模式todo复选框 */

.supernote .en-checkbox img {
  height: 1.5em;
  width: 1.5em;
  cursor: none;
  transform: translateY(4px);
  background-size: 1.5em 1.5em;
  background-repeat: no-repeat;
}

/* 演示模式pdf图片 */

.supernote img[type="application/pdf"] {
  width: 100%;
}

/* 演示模式附件样式 */

.supernote #attachment {
  display: flex;
  border-radius: 4px;
}

.supernote #attachment span {
  display: inline-block;
}