.page_note:not(.cs_group_note_preview) {
  position: fixed;
  top: 24px;
  bottom: 0;
  background: #fff;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.5) 0 0 80px;
  margin-bottom: 0;
  left: 50%;
  margin-left: -510px;
  width: 1020px;
  right: auto;
}
.note_group {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  background: #eceff0; /* Old browsers */
  background: -moz-linear-gradient(
    -15deg,
    #ffffff 0%,
    #eceff0 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    -15deg,
    #ffffff 0%,
    #eceff0 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    155deg,
    #ffffff 0%,
    #eceff0 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#eceff0',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  border-bottom: 1px solid #bec3c7;
  z-index: 1000;
}
.note_group > .note_group_inside {
  padding: 14px 0;
  padding-right: 55px;
  padding-left: 47px;
  position: relative;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.note_group > .note_group_inside.has_group_photo {
  padding-left: 134px;
}
.note_below_group {
  position: static;
  width: 100%;
}
.page_note.is_admin .note_group_title {
  max-width: 613px;
}
body:not(.note_single_page) .page_note.is_admin .note_group_title {
  padding-right: 138px;
}
.page_note.is_admin .note_group_inside.has_group_photo .note_group_title {
  max-width: 526px;
}
@media screen and (min-width: 701px) and (max-width: 1000px) {
  .page_note.is_admin .note_group > .note_group_inside {
    padding-right: calc(50% + 20px);
  }
}

.note_group a {
  text-decoration: none !important;
}
.note_group_title {
  font-size: 20px;
  font-weight: 400;
  color: #13426b;
  position: relative;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.note_group_photo {
  border-radius: 3px;
  height: 80px;
  width: 80px;
  position: absolute;
  top: 50%;
  margin-top: -40px;
  left: 40px;
  background-color: #fff;
  background-size: cover;
  background-position: center center;
  box-shadow: rgba(0, 0, 0, 0.3) 1px 1px 4px;
}
.close_note_button {
  color: #bec3c7;
  font-size: 12px;
  position: absolute;
  cursor: pointer;
  width: 20px;
  line-height: 20px;
  border-radius: 24px;
  background-color: #fff;
  box-shadow: inset #bec3c7 0 0 5px;
  text-align: center;
  top: 50%;
  margin-top: -10px;
  left: 20px;
  margin-left: -10px;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  transition: 0.2s;
}
.close_note_button:hover {
  background-color: #bec3c7;
  box-shadow: inset #98a4a5 0 0 5px;
}
.close_note_button:active {
  background-color: #828c8d;
  box-shadow: inset #828c8d 0 0 5px;
}
.close_note_button .fa {
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  transition: 0.2s;
}
.close_note_button:hover .fa {
  color: #fff;
}
.close_note_button:active .fa {
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  transform: scale(0.9);
}

.note:not(.cs_group_note_inside) {
  position: absolute;
  top: 56px;
  bottom: 0;
  left: 0;
  width: 700px;
  z-index: 900;
  background-color: #eceff0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.note_subject {
  padding: 14px 40px;
  padding-left: 134px;
  font-size: 20px;
  font-weight: 400;
  border-bottom: 1px solid #eceff0;
}
body:not(.note_single_page) .page_note.is_admin .note_subject {
  padding-right: 164px;
}
@media screen and (max-width: 1000px) {
  .note_subject {
    padding-top: 20px;
    padding-left: 40px;
  }
}
.note_controls {
  position: absolute;
  right: 0;
  z-index: 3000;
  top: 50%;
  margin-top: -12px;
}
.note_single_page .note_controls {
  display: none;
}
@media screen and (max-width: 480px) {
  body:not(.note_single_page) .page_note.is_admin .note_group_title {
    padding-right: 0;
  }
  .note_controls {
    position: static;
    margin-top: 8px;
    margin-left: -8px;
  }
}
.note_controls_button {
  float: left;
  font-size: 18px;
  line-height: 24px;
  width: 24px;
  text-align: center;
  margin-left: 8px;
  cursor: pointer;
  color: #98a4a5;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  transition: 0.2s;
}
.note_controls_button:hover {
  color: #278dc1;
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  transform: scale(1.2);
}
.delete_note_button.note_controls_button:hover {
  color: #f42434;
}
.note_controls_button:not(.on):active {
  -webkit-transform: scale(0.95);
  -moz-transform: scale(0.95);
  transform: scale(0.95);
}
.note_controls_button.on {
  color: #278dc1;
}
.note_controls_button.loading i {
  visibility: hidden;
}
.note .author {
  /*color:#828C8D;*/
  padding: 48px 20px;
  text-align: center;
}
@media screen and (min-width: 701px) {
  .note .author {
    margin-bottom: 36px;
  }
}

.page_note .comments_holder {
  border-left: 1px solid #eceff0;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  top: 56px;
  bottom: 0;
  left: 700px;
  right: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  padding-bottom: 86px;
}
.page_note .comments_holder .comments_loading_icon,
.page_note .comments_holder .comments_no_comments_icon {
  font-size: 200px;
  color: #eceff0;
  width: 200px;
  height: 200px;
  line-height: 200px;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -100px;
  margin-top: -150px;
  -webkit-transition: 0.25s;
  -moz-transition: 0.25s;
  transition: 0.25s;
}
.page_note .comments_holder.loading .comments_no_comments_icon {
  display: none;
}

.note_sms_inside {
  text-align: center;
}
.note_sms_inside .sms_icon {
  font-size: 120px;
  margin: 40px auto -40px auto;
  color: #98a4a5;
}

.mms .note_sms_inside .sms_icon,
.mms .note_sms_inside .sms_text {
  display: none;
}

.note_sms_inside .sms_text {
  max-width: 440px;
  margin: 0 auto;
  font-size: 28px;
}
.cs_group_note_inside .note_sms_inside {
  padding: 40px;
  padding-top: 5px;
}
.page_note {
  -webkit-transform-origin: 50% 100%;
  -moz-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
}
@media screen and (min-width: 740px) {
  .show_analytics .page_note {
    -webkit-transform: scale(0.99);
    -moz-transform: scale(0.99);
    transform: scale(0.99);
    -webkit-filter: blur(3px) brightness(80%);
    -moz-filter: blur(3px) brightness(80%);
    filter: blur(3px) brightness(80%);
  }
}

@media screen and (min-width: 1180px) and (max-width: 1280px) {
  .page_note:not(.cs_group_note_preview) {
    left: 80px;
    right: 80px;
    margin-left: 0;
    width: auto;
  }
}
@media screen and (min-width: 1281px) {
  .page_note:not(.cs_group_note_preview) {
    width: 1120px;
    margin-left: -560px;
  }
}
@media screen and (max-width: 1060px) {
  .page_note:not(.cs_group_note_preview) {
    width: auto;
    margin-left: 0;
    left: 20px;
    right: 20px;
  }
}
@media screen and (max-width: 1000px) {
  .note:not(.cs_group_note_inside) {
    width: 50%;
  }
  .page_note .comments_holder {
    left: 50%;
  }
  .page_note .analytics_summary_holder {
    left: 50%;
  }
}
@media screen and (min-width: 701px) and (max-width: 880px) {
  .page_note:not(.cs_group_note_preview) {
    left: 0;
    right: 0;
  }
  .note_single_page .note_group {
    top: -24px;
    padding-top: 24px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}
@media screen and (max-width: 840px) {
  .note:not(.cs_group_note_inside) {
    width: 420px;
  }
  .page_note .comments_holder {
    left: 420px;
  }
  .page_note .analytics_summary_holder {
    left: 420px;
  }
}
@media screen and (max-width: 700px) {
  body:not(.note_single_page) .note_holder_around {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    z-index: 3000;
    -webkit-overflow-scrolling: touch;
  }
  .page_note:not(.cs_group_note_preview) {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
  }
  body:not(.note_single_page) .page_note {
    margin-left: 10px;
    margin-right: 10px;
  }
  .note_single_page .page_note {
    top: 0;
  }
  .note_group {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }
  .note_single_page .note_group {
    padding-top: 24px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .note:not(.cs_group_note_inside) {
    width: 100%;
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
  }
  .page_note .comments_holder {
    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    z-index: 900;
  }
  .page_note:not(.analytics_on) .comments_holder {
    padding-top: 0;
  }
  .show_analytics .page_note .comments_holder {
    padding-top: 0;
  }
  .page_note .comments_holder .comments_loading_icon {
    display: none;
  }
}

.note_warning {
  max-height: 52px;
  visibility: visible;
  opacity: 1;
  overflow: hidden;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  transition: 0.4s;
}

.note_warning > div {
  font-size: 14px;
  background: #f7f0b6;
  border-bottom: 1px solid #d5a223;
  padding: 14px;
  color: #d5a223;
  text-align: center;
}
@media screen and (max-width: 400px) {
  .note_warning > div {
    padding: 14px 0;
  }
  .note_warning .still_sending_icon {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .isApp.browser-ios-true.touch .page_note {
    top: calc(constant(safe-area-inset-top) + 10px);
    top: calc(env(safe-area-inset-top) + 10px);
  }
}

.note_sms_inside .email_section_inside {
  background: none;
}

.mms .smaller_mms_icon {
  font-size: 32px;
  position: relative;
  top: 5px;
  left: -5px;
  transform: rotate(-4deg);
}

.note_sms_inside .email_item.item_type_text {
  font-size: 24px;
  font-family: "Open Sans", sans-serif;
  color: #15436a;
  line-height: 1.4em;
}

.note_sms_inside .email_item.item_type_photo > img {
  max-width: min(480px, calc(100% - 40px));
  border-radius: 13px;
  box-shadow: rgba(0, 0, 0, 0.4) 1px 1px 4px;
  margin-top: 20px;
}

.note_sms_inside .email_column {
  padding-bottom: 0px;
}
@media screen and (max-width: 480px) {
  .note_sms_inside .email_item.item_type_photo > img {
    max-width: 100%;
    margin-top: 0;
  }
}

.composer_signup_holder {
  text-align: left;
}

/* Reply to Give Section */
.note_rtg_info_react_holder {
  max-height: 50%;
  z-index: 500;
}
.note_rtg_info_react_holder.withMargin {
  margin-bottom: 30px;
}

.member_toolbar_react_holder {
  position: relative;
  z-index: 5001;
}

/* Preview Mode that is triggered on note page via query param */
.note-preview-mode .close_note_button {
  display: none;
}

.note-preview-mode .page_note {
  left: 0;
  right: 0;
  width: auto;
  margin-left: 0;
}

.note-preview-mode .comments_holder {
  background: white;
}

.note-preview-mode .member_toolbar_react_holder {
  display: none;
}

.note-preview-mode #bg {
  display: none;
}

.note-preview-mode body {
  background: unset;
  background-image: unset;
}

.note-preview-mode .note_group {
  top: -24px;
  padding-top: 24px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  @media screen and (max-width: 700px) {
    top: 0;
    padding-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}
