.content_designer {
  width: 100%;
  max-height: calc(100vh - 80px);
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #eff3f8;
  overflow-y: auto;
}

/*
 * These are Froala style overrides for after 
 * the app loads. These classes are located
 * in the Froala app, not in Relational Notes.
 */
.fr-top {
  border: none;
}
.fr-box.fr-basic .fr-wrapper {
  border: none;
}
.fr-wrapper {
  border-radius: 14px;
}
.fr-toolbar.fr-top {
  border-radius: 14px;
  margin-bottom: 15px;
}
.fr-second-toolbar {
  display: none;
}
/* Makes toolbar sticky at top */
.fr-toolbar.fr-top {
  position: sticky;
  z-index: 9;
}


.contents__group > .content_designer_embedded {
  padding-right: 50%;
  position: relative;
  /* fix for when embed div is added */
  overflow: hidden;
  max-height: 100%;
}
/* fix note designer scroll when embed div is added */
.contents__group > .content_designer_embedded .designer__body{
  /* 80px - app header, 40px = padding 20px(top/bottom of editor), note editor header = 73px */
  max-height: calc(100vh - 80px - 40px - 73px); 
  overflow-y: auto; 
  padding-bottom: 20px;
}
.designer__embed {
  position: absolute;
  top: 20px;
  right: 0;
  background: #fafafa;
  /* height: 92%; */
  height: calc(100% - 20px);
  /* bottom: 0; */
  width: 50%;
  width: calc(50% - 20px);
  padding: 20px;
}
.designer__embed iframe {
  width: 100%;
  height: 100%;
  height: calc(100% - 2em);
}

#designer_embed_close_btn {
  display: block;
  text-align: center;
  width: 100%;
  height: 2em;
  line-height: 2em;
  background: #ddd;
  font-weight: bold;
  cursor: pointer;
}

.designer__head {
  width: 100%;
  overflow: hidden; /* Forces the head to have dimensions!! Otherwise no background color is shown.*/
}
.head__file {
  padding: 8px 0px 25px 0px;
  display: flex;
  align-items: center;
  background-color: #eff3f8;
}
.file__left {
  width: calc(100% - 350px);
  padding-right: 30px;
  display: flex;
  align-items: center;
}
.notehead__namebox {
  width: 100%;
  height: 40px;
  padding: 2px 5px 2px 18px;
  display: flex;
  align-items: center;
  background-color: #fff;
  border: 1px solid #4e61ed;
  border-radius: 7px;
  cursor: pointer;
}
.namebox--input {
  width: 100%;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: text;
  border: none !important;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.namebox--input:focus {
  outline: none !important;
}
.namebox--clear {
  width: 32px;
  height: 32px;
  background-size: 0.7em;
  background-repeat: no-repeat;
  background-position: 0.8em center;
  background-image: url("../img/close-cross-regular.svg");
}

.file__right {
  width: 350px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
button.rapid-note,
button.rapid-note--disable,
button.right--desgn_save,
button.right--desgn_exit {
  width: 100px;
  padding: 9px 0px;
  border-radius: 7px;
  border: 1px solid #4e61ed;
  font-size: 1.6rem;
  font-weight: 400;
  cursor: pointer;
}
button.rapid-note,
button.rapid-note--disable,
button.right--desgn_save {
  background-color: #4e61ed;
  color: #ffffff;
}
button.right--desgn_exit {
  background-color: #eff3f8;
  border: 1px solid #4e61ed;
}

button.rapid-note:hover,
button.right--desgn_save:hover {
  background-color: #2e44ea;
  box-shadow: 2px 2px 6px #a6a6a6;
}
button.right--desgn_exit:hover {
  color: #2e44ea;
  border: 1px solid #2e44ea;
  box-shadow: 2px 2px 6px #bfbfbf;
}
button.rapid-note--disable {
  opacity: 0.3;
  cursor: default;
}





.designer__body {
  width: calc(100%) !important;
}
.designer__media_btn {
  margin: 2.5px;
  background-color: #fff;
  border-radius: 7px;
  border: 1px solid #fff;
  font-size: 1.4rem;
  font-weight: 600;
  color: #777;
  cursor: pointer;
  padding: 0.8em 0.8em 0.8em;
  line-height: 1.2;
}
.designer__media_btn:hover {
  border: 1px solid #b3b3b3;
}

.designer__media_btn.btn--has-icon {
  background-repeat: no-repeat;
  padding-left: 2.0em;
}
.designer__media_btn.btn--img {
  background-size: 1.5em;
  background-position: 0.1em center;
  background-image: url("../img/add-image-icon.svg");
}
.designer__media_btn.btn--audio {
  background-size: 1.6em;
  background-position: 0.0em center;
  background-image: url("../img/add-audio-icon.svg");
}
.designer__media_btn.btn--ocr {
  background-size: 1.5em;
  background-position: 0.25em center;
  background-image: url("../img/image-to-text-icon.svg");
}
.designer__media_btn.btn--pdf {
  background-size: 1.6em;
  background-position: 0.0em center;
  background-image: url("../img/Embeded-pdf-icon.svg");
}
.designer__media_btn.btn--dropbox {
  background-size: 1.5em;
  background-position: 0.1em center;
  background-image: url("../img/dropbox-icon.svg");
}
.designer__media_btn.btn--gdrive {
  background-size: 1.5em;
  background-position: 0.1em center;
  background-image: url("../img/google-drive-icon.svg");
}
.designer__media_btn.btn--gdocs {
  background-size: 1.4em;
  background-position: 0.3em center;
  background-image: url("../img/google-docs-icon.svg");
}
.designer__media_btn.btn--gsheets {
  background-size: 1.4em;
  background-position: 0.3em center;
  background-image: url("../img/google-sheets-icon.svg");
}
.designer__media_btn.btn--gcal {
  background-size: 1.4em;
  background-position: 0.15em center;
  background-image: url("../img/google-calender-icon.svg");
}
.designer__media_btn.btn--gmail {
  background-size: 1.8em;
  background-position: 0.0em center;
  background-image: url("../img/google-mail-icon.svg");
}
.designer__media_btn.btn--omail {
  background-size: 1.6em;
  background-position: 0.2em center;
  background-image: url("../img/outlook-mail-icon.svg");
}
.designer__media_btn.btn--monday {
  background-size: 1.6em;
  background-position: 0.0em center;
  background-image: url("../img/monday-icon.svg");
}
.designer__media_btn.btn--jira {
  background-size: 1.5em;
  background-position: 0.25em center;
  background-image: url("../img/jira-icon.svg");
}
.designer__media_btn.btn--asana {
  background-size: 1.5em;
  background-position: 0.25em center;
  background-image: url("../img/asana-icon.svg");
}
.designer__media_btn.btn--todoist {
  background-size: 1.3em;
  background-position: 0.25em center;
  background-image: url("../img/todoist-icon.svg");
}
.designer__media_btn.btn--trello {
  background-size: 1.3em;
  background-position: 0.25em center;
  background-image: url("../img/trello.ico");
}
.designer__media_btn.btn--twitter {
  background-size: 1.3em;
  background-position: 0.35em center;
  background-image: url("../img/x-icon.svg");
}
.designer__media_btn.btn--video {
  background-size: 1.6em;
  background-position: 0.1em center;
  background-image: url("../img/add-video-icon.svg");
}
.designer__media_btn.btn--notes-templates {
  background-size: 1.1em;
  background-position: 0.25em center;
  background-image: url("../img/note-template-icon.svg");
}
.designer__media_btn.btn--twitter-tweet {
  display: inline-block;
  height: 24px;
  background-color: #0c7abf;
  background-color: #1d9bf0;
  background-color: transparent !important;
  border: 0 !important;
  padding: 0;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  position: relative;
  top: -1.5px;
}
.atag {
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Edge */
}
.atag_a {
  padding: 3px;
  background-color: #888;
  color: white;
  font-family: Roboto, sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  border-radius: 4px;
}
/* .designer__media_btn.btn--twitter-tweet:hover ,  NOT USED??
.designer__media_btn.btn--twitter-tweet:focus,
.designer__media_btn.btn--twitter-tweet:focus-within {
  background-color: #0c7abf;
} */




.flashcard_actions {
  width: 100%;
  padding: 15px 0px;
}

.note__addcard__wrapper {
  margin-right: 16px;
  border-radius: 7px;
}
.note__addcard__wrapper:hover {
  box-shadow: 2px 2px 6px #a6a6a6;
}
button.addcard__btn__left {
  padding: 10px 15px;
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
  font-size: 1.6rem;
  font-weight: 400;
  color: #ffffff;
  cursor: pointer;
  background-color: #4e61ed;
}
button.addcard__btn__left:hover {
  background-color: #2e44ea;
}
button.addcard__btn__right {
  padding: 10px 12px;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
  border-left: 3px solid #eff3f8;
  font-size: 2.0rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: #668cff;
}
button.addcard__btn__right:hover {
  background-color: #002699;
}

button.flashcard_actions--basicbtn,
button.flashcard_actions--savebtn,
button.flashcard_actions--toggle {
  padding: 10px 15px;
  background-color: #4e61ed;
  border-radius: 7px;
  font-size: 1.6rem;
  font-weight: 400;
  color: #ffffff;
  cursor: pointer;
}
button.flashcard_actions--basicbtn:hover,
button.flashcard_actions--savebtn:hover,
button.flashcard_actions--toggle:hover {
  background-color: #2e44ea;
  box-shadow: 2px 2px 6px #a6a6a6;
}

button.flashcard_actions--cancel {
  width: 80px;
  padding: 10px 0px;
  margin-left: 17px;
  border-radius: 7px;
  background-color: #fff;
  border: 1px solid #cccccc;
  font-size: 1.6rem;
  color: #555;
}
button.flashcard_actions--cancel:hover {
  background-color: #fff;
  box-shadow: 0px 3px 8px #999;
}

.actions__toggle--caret {
  width: 15px;
  height: 18px;
  background-size: 1.0em;
  background-repeat: no-repeat;
  background-position: 0.0em center;
  margin-top: -0.1em;
  background-image: url("../img/caret-right-white.svg");
}

.message__addcard--video {
  display: flex;
  justify-content: center;
}
video.addcard__video {
  width: 500px;
  height: 300px;
}
.message__addcard--footer {
  padding-top: 30px;
  display: flex;
  justify-content: center;
}


.flashcard_list {
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 14px;
}
.flashcard__cardlisthead {
  width: calc(100% - 70px);
  padding-top: 5px;
  margin-left: 35px;
  margin-bottom: 5px;
  font-size: 1.8rem;
  font-weight: 600;
  border-bottom: 2px solid #4e61ed;
}
.cardlisthead__left {
  width: calc(50% - 74px);
  padding: 5px 0px;
  display: flex;
  align-items: center;
}
.cardlisthead__right {
  width: calc(50% - 60px);
  padding: 5px 0px;
  display: flex;
  align-items: center;
  border-left: none;
}
.cardlisthead__right-actions {
  width: 110px;
  height: 33px;
  display: flex;
  align-items: center;
}

.flashcardlist__container {
  width: 100%;
}
.cardlist_flashcard {
  width: calc(100% - 70px);
  max-height: 58px;
  display: flex;
  margin-left: 35px;
  border-top: none;
  border-radius: 5px;
  overflow: hidden;
}
.flashcard_question {
  width: calc(50% - 82px);
  padding-right: 20px;
  display: flex;
  overflow: hidden;
}
.flashcard_answer {
  width: calc(50% + 57px);
  display: flex;
  overflow: hidden;
}
.card_text {
  width: 100%;
  height: 45px;
  padding-top: 15px;
  font-size: 1.5rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.card_text p {
  font-size: 1.5rem;
}
.card_numb {
  width: 50px;
  height: 22px;
  margin-top: 13px;
  margin-right: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1px 5px 0px 5px;
  border-radius: 4px;
  font-size: 1.4rem;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
}
.card_actions_container {
  height: 45px;
  padding-left: 10px;
  display: flex;
  justify-content: center;
}
.card_action {
  width: 35px;
  height: inherit;
  cursor: pointer;
}
.ca_opt1 {
  background-size: 1.35em;
  background-position: 0.5em center;
  background-repeat: no-repeat;
  background-image: url("../img/pencil-solid.svg");
}
.ca_opt2 {
  background-size: 1.4em;
  background-position: 0.5em center;
  background-repeat: no-repeat;
  background-image: url("../img/trash-icon.svg");
}
.ca_opt3 {
  background-size: 1.4em;
  background-position: 0.6em center;
  background-repeat: no-repeat;
  background-image: url("../img/sort-drag-icon.svg");
  cursor: grab;
}
.ca_opt4 {
  background-size: 1.9em;
  background-position: 0.3em center;
  background-repeat: no-repeat;
  background-image: url("../img/focus-decks-add-card-icon.svg");
}

.cardlist_flashcard--selected {
  opacity: 0.3;
}

.cardlist_flashcard--dummy {
  width: 100%;
  padding: 0px 20px;
  position: absolute;
  background-color: #fff;
  box-shadow: 0px 4px 6px #b3b3b3;
  border: 1px solid #cccccc;
  border-radius: 7px;
  z-index: 2000;
}

.flashcardlist__footer {
  width: 100%;
}
.flashcardlist__message {
  font-size: 1.6rem;
  font-weight: 600;
  padding-left: 15px;
}

.flashcardlist__deletepop {
  width: 275px;
  padding: 10px 15px;
  position: fixed;
  align-items: center;
  border-radius: 14px;
  box-shadow: 0px 6px 25px #a6a6a6;
  background-color: #fff;
  z-index: 2000;
}
.fc_deletepop__msg {
  display: flex;
  font-size: 1.6rem;
  font-weight: 400;
}
.fc_deletepop__actions {
  display: flex;
  margin-left: auto;
}
button.fc_deletepop--yes {
  width: 50px;
  padding: 9px;
  background-color: #4e61ed;
  color: #ffffff;
  cursor: pointer;
}
button.fc_deletepop--no {
  width: 50px;
  padding: 9px;
  margin-left: 15px;
  background-color: #fff;
  border: 1px solid #e6e6e6;
  cursor: pointer;
}
button.fc_deletepop--yes:hover {
  background-color: #2e44ea;
  box-shadow: 0px 3px 8px #999;
}
button.fc_deletepop--no:hover {
  background-color: #fff;
  box-shadow: 0px 3px 8px #999;
}


.fc_editors {
  width: 100%;
}
.fc_editor_left,
.fc_editor_right {
  width: calc(50% - 10px); /* RESPONSIVE THIN SCREEN: width: 100%; */
  margin-bottom: 40px;
  background-color: #fff;
  border-radius: 14px;
}
.fc_editor_left {
  margin-right: 10px; /* RESPONSIVE THIN SCREEN: margin-right: 0px; */
}
.fc_editor_right {
  margin-left: 10px; /* RESPONSIVE THIN SCREEN: margin-right: 0px; */
}

.fc_editor_head {
  height: 45px;
  display: flex;
  font-size: 1.8rem;
}
.fc_editor_head--label {
  width: calc(100% - 60px);
  height: 45px;
  padding-top: 15px;
  display: flex;
  margin-left: 30px;
  align-items: center;
  font-weight: 600;
  border-bottom: 2px solid #4e61ed;
}

.fc_editors_body {
  width: 100%;
  background: #fff;
  border-radius: 14px;
}
.fc_answer_message {
  padding: 14px 30px 30px 30px; 
  font-size: 1.8rem;
  color: #444;
}
.fc_editors__editor {
  width: 50%;
  min-height: 0;
  padding-bottom: 20px;
  flex: 100%;
}




#g_calendar_popup .dialog {
  max-width: 100%;
}
#gcalendar_popup_content {
  max-height: 18em;
}

.gCalendarEventsEmbed,
.pickerContentEmbed {
  width: 100%;
  padding: 15px 0;
  height: calc(100% - 2em);
  overflow-y: auto;
}

#gcalendars_list_pager_btn,
#gCalendarEventsListPagerBtn {
  display: inline-block;
  text-decoration: underline;
  background: transparent;
  padding: 5px;
  border: 0;
  margin: 0;
  cursor: pointer;
}

#gMailListPagerBtn {
  display: inline-block;
  text-decoration: underline;
  background: transparent;
  padding: 5px;
  border: 0;
  margin: 0;
  cursor: pointer;
}

#gmail_list_pager {
  text-align: center;
}

#omail_list_pager_btn {
  display: inline-block;
  text-decoration: underline;
  background: transparent;
  padding: 5px;
  border: 0;
  margin: 0;
  cursor: pointer;
}

#o_mail_list_pager {
  text-align: center;
}

.selectmail {
  cursor: pointer;
  user-select: text;
  background: #eee;
  color: #111;
  margin-bottom: 8px;
  width: 100%;
  text-align: left;
  display: block;
  padding: 15px;
  font-weight: 600;
  border: 1px solid #f1f1f1;
  border-radius: 6px;
  font-size: 13px;
  box-shadow: 1px 1px 2px 0 rgb(0 0 0 / 5%);
}

.selectomail {
  cursor: pointer;
  user-select: text;
  background: #eee;
  color: #111;
  margin-bottom: 8px;
  width: 100%;
  text-align: left;
  display: block;
  padding: 15px;
  font-weight: 600;
  border: 1px solid #f1f1f1;
  border-radius: 6px;
  font-size: 13px;
  box-shadow: 1px 1px 2px 0 rgb(0 0 0 / 5%);
}
#gcalendars_list_pager,
#gcalendar_eventslist_pager {
  text-align: center;
}
.mondayLogoutPopupBtnWrap,
.logoutPopupBtnWrap {
  text-align: center;
}
#monday_logout_popup_btn,
.logoutPopupBtn {
  background: transparent;
  color: #777;
  text-decoration: underline;
  display: inline-block;
  margin: 0 0 1em;
  cursor: pointer;
}
.logoutPopupBtn:hover,
.logoutPopupBtn:focus,
#monday_logout_popup_btn:hover,
#monday_logout_popup_btn:focus {
  color: #111;
}

.popupListLabel {
  margin-bottom: 10px;
}

/* Video Notes */
#vidnotes_notes_oembed {
  background: #eee;
  padding-top: 60%;
  /* padding-top: 26%;    max-width: 50%; */
  padding-top: 30%;
  position: relative;
  /* margin-bottom: 1em; */
}

@media (max-width: 767px) {
  #vidnotes_notes_oembed {
    padding-top: 40%;
    max-width: 80%;
  }
}

#vidnotes_notes_oembed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.dialog-vidnotes-notes:not(.blkNo) {
  user-select: text;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1em;
}
.dialog-vidnotes-notes #vidnotes_notes_oembed {
  flex: 2;
}
.dialog-vidnotes-notes .vidnotes-notes-form {
  flex: 1;
}
.vidnotes-notes-form label {
  font-weight: bold;
}
.vidnotes-notes-form small {
  display: block;
  opacity: 0.6;
  font-size: 0.8em;
}
.vidnotes-notes-form textarea {
  width: 100%;
  resize: vertical;
  margin: 0.5em 0;
}

.audio_player_embed{
  position: relative;
  display: block;
  margin-top: 10px;
}
.audio_player_embed .mejs-controls{
  top: 0;
}

/* These 2 id elements are NOT in Relational Notes core. */
#wp_note_designer_editor_tools {
  padding: 10px 15px;
  margin-bottom: 15px;
  background-color: #fff;
  border-radius: 14px;
}
#wp_designer_question_editor_tools,
#wp_designer_answer_editor_tools {
  height: 50px;
  display: flex;
  align-items: center;
  padding: 0px 20px;
}

.rn-designer-data-list {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  min-width: 30em;
  box-sizing: border-box;
  border: 1px solid #f1f1f1;
  box-shadow: 1px 1px 2px 0 rgb(0 0 0 / 20%);
  width: 100%;
  max-width: 40%;
}

.rn-designer-data-list span {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 10px;
  background: #f1f1f1;
  color: inherit;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Tinymce editor related fix - Do not remove - Styles are used when active editor is set to 'tinymce' */
.rn_tinymcetoolbar .mce-panel {
  display: block !important;
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
}

.rn_tinymcetoolbar .mce-panel .mce-toolbar-grp {
  position: relative;
}

.rn_tinymcetoolbar .mce-panel > .mce-container-body {
  display: block !important;
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
}
.rn_tinymcetoolbar {
  position: sticky;
  top: 15px;
  z-index: 1;
}
.rn_tinymcetoolbar .mce-panel {
  background-color: #fff;
  border: 0;
  box-shadow: none;
  padding: 5px;
  border-radius: 14px;
}
.rn_tinymcetoolbar .mce-tinymce-inline .mce-flow-layout {
  white-space: normal;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rn_tinymcetoolbar .mce-toolbar .mce-btn-group > div {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
}
.rn_tinymcetoolbar .mce-toolbar .mce-btn-group,
.rn_tinymcetoolbar .mce-toolbar .mce-btn-group > div{
  white-space: normal;
}
.rn_tinymcetoolbar .mce-toolbar .mce-btn-group:not(:first-child) {
  border-left: 0;
  padding-left: 0;
  margin-left: 0;
}
.rn_tinymcetoolbar + .mce-content-body {
  background-color: #fff;
  margin-top: 15px;
  border-radius: 14px;
  /*copied from froala script*/
  overflow: auto;
  font-family: inherit;
  color: #414141;
  font-size: 14px;
  line-height: 1.6;
  padding: 20px;
  min-height: 60px;
  border-top: 0;
  outline: 0;
}