/*** Begin "Completed Module Collapsing" Module ***/
/* CSS only, no JavaScript required */
/* Version 2020-11-02-000 */
/* (c)2020 Brigham Young University, Continuing Education */

.home #content #context_modules .context_module.has_requirements.completed > .content,
.home #content #context_modules .context_module.has_requirements.completed .collapse_module_link {
  display: none;
}

.home #content #context_modules .context_module.has_requirements.completed .expand_module_link {
  display: inline-block;
}

/* End "Completed Module Collapsing" Module */

/*** Begin "Ruby Annotations" Module ***/
/* CSS only, no JavaScript required (but use bookmarklets to aid authoring) */
/* Version 2020-11-02-000 */
/* (c)2020 Brigham Young University, Continuing Education */

span.dce-css-rp {
  box-sizing: border-box;
  height: 1px;
  overflow: hidden;
  padding: 1px;
  position: absolute;
  width: 1px;
}

#tinymce span.dce-css-rp {
  background-color: #EEE;
  border-left: 1px dotted #AAA;
  box-sizing: content-box;
  height: auto;
  margin: 0 0 0 0.2em;
  overflow: visible;
  padding: 0.2em;
  position: static;
  width: auto;
}

span.dce-css-rt {
  font-size: 0.5em;
  height: 0;
  position: relative;
  top: -0.7em;
}

#tinymce span.dce-css-rt {
  border-left: 1px dotted #AAA;
  font-size: 1em;
  height: auto;
  position: static;
  padding: 0.2em 0 0.2em 0.2em;
  top: auto;
}

span.dce-css-ruby {
  display: inline-flex;
  flex-direction: column-reverse;
  text-align: center;
}

#tinymce span.dce-css-ruby {
  border: 1px dotted #AAA;
  display: inline;
  margin: 0.1em;
  padding: 0.2em 0 0.2em 0.2em;
}

#tinymce span.dce-css-ruby span.dce-css-ruby::before,
#tinymce :not(.dce-css-ruby) > span.dce-css-rp::before,
#tinymce :not(.dce-css-ruby) > span.dce-css-rt::before,
#tinymce span.dce-css-ruby > span.dce-css-rp:not(:nth-of-type(1)):not(:nth-of-type(3))::before,
#tinymce span.dce-css-ruby > span.dce-css-rt:not(:nth-of-type(2))::before,
#tinymce span.dce-css-ruby > span.dce-css-rt:last-child::before,
#tinymce span.dce-css-ruby > :not(.dce-css-rp):not(.dce-css-rt)::before {
  background-color: #F77;
  border: 0.1em dashed #F00;
  box-shadow: 0 0 0 0.1em #F00;
  margin-right: 0.4em;
  padding-left: 0.2em;
}

#tinymce span.dce-css-ruby span.dce-css-ruby::before {
  content: "nested ruby >>>";
}

#tinymce :not(.dce-css-ruby) > span.dce-css-rp::before {
  content: "rp outside of ruby >>>";
}

#tinymce :not(.dce-css-ruby) > span.dce-css-rt::before {
  content: "rt outside of ruby >>>";
}

#tinymce span.dce-css-ruby > span.dce-css-rp:not(:nth-of-type(1)):not(:nth-of-type(3))::before {
  content: "rp not 1st or 3rd element >>>";
}

#tinymce span.dce-css-ruby > span.dce-css-rt:not(:nth-of-type(2))::before {
  content: "rt not 2nd element >>>";
}

#tinymce span.dce-css-ruby > span.dce-css-rt:last-child::before {
  content: "rt not followed by rp >>>";
}

#tinymce span.dce-css-ruby > :not(.dce-css-rp):not(.dce-css-rt)::before {
  content: "element other than rp or rt in ruby (hint: to style, select entire ruby) >>>";
}

/* End "Ruby Annotations" Module */

/*** Begin "Table Caption Styles and Single-Cell Tables => Images With Captions" Module ***/
/* CSS only, no JavaScript required */
/* Version 2020-11-02-000 */
/* (c)2020 Brigham Young University, Continuing Education */

.user_content table tr:only-of-type > td:only-child {
  padding: 0;
}

.user_content table tr:only-of-type > td:only-child > img:only-child,
#tinymce table tr:only-of-type > td:only-child > img:only-child {
  width: 100%;
}

.user_content table > caption,
#tinymce table > caption {
  caption-side: bottom;
  font-size: smaller;
  text-align: left;
}

/* End "Table Caption Styles and Single-Cell Tables => Images With Captions" Module */


/* Disallow users from changing their default email address */
.email_meta,
.email_actions,
.edit_data {
display: none;
}