
@font-face {
  font-family: Gotham;
  src: url(../Fonts/Gotham-Book.otf), local("Avenir Next") /* iOS font */;
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: Gotham;
  src: url(../Fonts/Gotham-Bold.otf), local("Avenir Next") /* iOS font */;
  font-weight: bold;
  font-style: normal;
}

@font-face {
    font-family: "Gotham Bold";
    src: url(../Fonts/Gotham-Bold.otf), local("Avenir Next") /* iOS font */;
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Gotham Light";
    src: url(../Fonts/Gotham-Light.otf);
    font-weight: normal;
    font-style: normal;
}

/* We don't need any italic variation for Gotham in css.  It affects font size calculation of webkit, as a result tiny fonts will be shown for italic in some languages, e.g. Chinese, Japanese, Korean, ..., see CP-1149 for the details.  Italic variation should be included in bundle but should NOT be defined in css. */

.notesource hr {
  background-color:rgb(126, 126, 126);
  height:0.09rem;
  border:0;
}

.notesource *:focus {
  outline:none;
}

.anysource div.encp-note-title {
  font-family: "Gotham Light", "&#x30E1;&#x30A4;&#x30EA;&#x30AA;", Meiryo, "MS PGothic", "微软雅黑";
  line-height: 1.5rem;
  font-size: .8rem;
  letter-spacing: .01rem;
  color:rgb(47, 47, 47);
  text-align: center;
  padding-top: 6.8rem;
  padding-bottom: 5.6rem;
  font-weight: bold;
  display:box;
  display:-moz-box;
  display:-webkit-box;
  box-orient: horizontal;
  box-orient: -webkit-horizontal;
  box-pack:center;
  -webkit-box-pack:center;
}

html.anysource.encp-no-title > body {
  margin-top: 150px;
}

.encp-nocontents-in-title div.encp-title-container {
  margin-top: 0rem;
}

.anysource div.encp-note-title > div.encp-title-container {
  max-width: 70%;
}

.anysource div.encp-note-title > div.encp-title-container > h1.title {
  font-family: "Gotham Light", "&#x30E1;&#x30A4;&#x30EA;&#x30AA;", Meiryo, "MS PGothic", "微软雅黑";
  font-weight: normal;
  font-size: 1.5rem;
  color:rgb(0, 0, 0);
  margin-bottom: 0.4rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  line-height: 2.5rem;
  word-break: normal;
  word-wrap: break-word;
  -webkit-nbsp-mode: space;
  -webkit-line-break: after-white-space;
}

.notesource .encp-media-preview img {
  /*cursor: pointer;*/
}

.notesource img.encp-predefined-preview {
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.notesource img.encp-preview-encrypted-content {
  background-image: url(../Images/encryptedContent.svg);
}

.notesource img.encp-preview-default {
  background-image: url(../Images/brokenNote.svg);
}

.notesource div.encp-attachment-box {
  text-align: center;
  opacity: 0.5;
  margin: 0 auto;
  border: 0.1111rem solid rgb(204, 204, 204);
  border-radius: 0.9rem;
  margin-bottom: 3.0rem;
  width: 12.5rem;
  max-width: 70%;
  overflow: hidden;
  background-size: 2.125rem 2.125rem;
  background-position: 100% 0%;
  background-repeat: no-repeat;
}

.notesource div.encp-can-open-attachment div.encp-attachment-box {
  opacity: 1.0;
}

.notesource div.encp-can-open-attachment div.encp-attachment-box.encp-attachment-previewing {
  background-image: none;
}

.notesource div.encp-attachment-box .encp-media-preview {
  margin-top: 0;
}

.notesource div.encp-attachment-box div.encp-attachment-info {
  display: none;
  padding: 0.3rem 0;
  margin: 0;
  height: 1.2rem;
  line-height: 1.2rem;
  font-size: 0.6rem;
}

.notesource div.encp-attachment-box img.encp-attachment-icon {
  margin-top: 0.8rem;
  width: auto;
  height: auto;
  opacity: 1.0;
}

.notesource div.encp-attachment-box img.encp-attachment-icon.encp-attachment-progress {
  opacity: 0.4;
  width: 3.333rem;
}

.notesource div.encp-attachment-box div.encp-attachment-filename {
  font-family: "Gotham Light", "&#x30E1;&#x30A4;&#x30EA;&#x30AA;", Meiryo, "MS PGothic", "微软雅黑";
  font-size: 0.8rem;
  color: rgb(142, 142, 142);
  margin-bottom: 0.8rem;
  margin-top: 0.7rem;
  padding: 0 1rem;
  line-height: 1rem;
  word-break: normal;
  word-wrap: break-word;
  -webkit-nbsp-mode: space;
  -webkit-line-break: after-white-space;
}

.notesource div.encp-attachment-box div.encp-attachment-filename em {
  font-style: normal;
  font-weight: bold;
  color: rgb(1, 197, 251);
  margin-bottom: 0.7rem;
}

.notesource div.encp-attachment-box div.encp-attachment-filename span.encp-attachment-filename {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.notesource div.encp-attachment-box.encp-attachment-previewing {
  width: auto;
  max-width: 70%;
}

.notesource div.encp-attachment-box.encp-attachment-previewing img.encp-attachment-icon {
  margin-top: 0;
  margin-bottom: 0;
  background-color: rgb(0, 0, 0);
}

.notesource div.encp-attachment-box.encp-attachment-previewing div.encp-attachment-filename {
  display: none;
}

.notesource div.encp-attachment-box.encp-attachment-previewing div.encp-attachment-info,
.notesource div.encp-attachment-box div.encp-attachment-info span,
.notesource div.encp-attachment-box div.encp-attachment-info img,
.notesource div.encp-attachment-box div.encp-attachment-filename span,
.notesource div.encp-attachment-box div.encp-attachment-filename em {
  display: block;
}

.notesource div.encp-attachment-box + div.encp-attachment-box {
  margin-bottom: 2.777rem;
}

.notesource div.encp-attachment-box div.encp-attachment-info img {
  float: left;
  height: 1.2rem;
  padding-left: 0.6rem;
}

.notesource div.encp-attachment-box div.encp-attachment-info span.encp-attachment-info-detail {
  float: right;
  padding-right: 0.6rem;
}

.notesource div.encp-attachment-box div.encp-attachment-info span.encp-attachment-info-title,
.notesource div.encp-attachment-box div.encp-attachment-filename span.encp-attachment-filename {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notesource div.encp-attachment-box div.encp-attachment-info span.encp-attachment-info-title {
  width: 50%;
  text-align: left;
  padding-left: 0.6rem;
}

.notesource div.encp-attachment-box div.encp-attachment-filename span.encp-attachment-filename {
  width: 100%;
}

.notesource div.encp-attachment-box.encp-attachment-playable div.encp-media-preview {
  position: relative;
}

.notesource div.encp-attachment-box.encp-attachment-playable div.encp-media-preview:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 4rem 4rem;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: url(../Images/thumbnailPreviewPlayButton.svg);
}

.notesource div.encp-media-container.encp-attachment-touched div.encp-attachment-box.encp-attachment-playable div.encp-media-preview:before {
  background-image: url(../Images/thumbnailPreviewPlayButtonPressed.svg);
}
