/* Upper Elementary Science - Testing for 2025 text builder */

.display-main-ideas {
  .main-idea {
    color: var(--main-ideas-blue);
    font-weight: bold;
  }
}

.new-section-text {
  .upper-el-sci {
    .fr-view, &.fr-view {
      font-family: Poppins;
      font-size: var(--upper-el-sci-font-size);
    }

    &.fr-view, .fr-view {
      width: 58%;
    }

    h1 {
      font-size: 2.2em;
      font-weight: normal;
      line-height: 1.2em;
      margin-bottom: 0.2em; /* Changed .2em to 0.2em */
      color: var(--tci-color-black);
      letter-spacing: 0.02em; /* Changed .02em to 0.02em */
    }

    h2 {
      font-size: 1.85em;
      margin-bottom: 0.2em; /* Changed .2em to 0.2em */
      color: var(--tci-color-purple);
      font-weight: bold;
      line-height: 1.2em;
      padding-bottom: 5px;
    }
    
    h3 {
      font-size: 1.2em;
      margin-bottom: 0.2em; /* Changed .2em to 0.2em */
      color: var(--tci-color-purple);
      font-weight: bold;
      line-height: 1.2em;
    }

    p {
      line-height: 1.5em;
      margin-top: 10px;
      margin-bottom: 10px;
    }
      /* Exclude Captions from styles above */
      p.caption {
        text-indent: 0em;
        margin-top: 10px;
        margin-bottom: 0px;
      }

    ol, ul {
      margin-left: 1.5em;
    }

    ol li, ul li {
      margin-top: 0.5em;
      margin-bottom: 0.5em;
      margin-left: 0;
    }

    blockquote {
      padding: 1em;
      background-color: #f5f5f5;
      margin: 1em 2em;
      color: inherit;
      border: none;
    }

      img.fr-dii, .image-zoom-icon-wrapper, .captions:not(.break-text), .float-right {
      float: right;
      clear: both;
      margin: 0px -410px 10px 0px;
      max-width: none;
    }

    img.fr-dib, .full-width {
      max-width: none;
    }

    .vocab-title {
      font-size: var(--upper-el-sci-font-size);
    }

    .vocab-box {
      border: 0.4em solid #B3BC35; /* Changed .4em to 0.4em */
      width: 160%;
    }

    .vocab-box .vocab-terms .vocab-term {
      font-size: var(--upper-el-sci-font-size);
    }

    .vocab-btn {
      font-weight: normal;
    }
  }
}




/* Upper EL Science - 2025 slide builder */


#slideShowBuilderDiv.upper-el-sci, #slide_reel.upper-el-sci {

  .slide .fr-view, .slide .fr-box.fr-basic .fr-element, .current-slide .fr-box.fr-basic .fr-element, .notebook-preview, [class*="dragAndDropContainer"], & [class*="vocab-card"], .slide-header {
    &, p, li, ul, ol /**:not(span, h1, h2, h3, h4, h5, button, a, i)*/ {
      font-family: var(--default-font-family) !important;
      font-size: var(--slide-lower-el-font-size);
    }

    /* Apply font-family to everything, but avoid color and size*/
    *:not(i, .fa) {
      font-family: var(--default-font-family) !important;
    }
  }

  
  .slide-header {
    .tw-flex:nth-of-type(1) {
      font-weight: 700;
    }

    .tw-flex:nth-of-type(2) {
      font-weight: 600;
    }
  }

  /* Styles for D&D*/
  [class*="dragAndDropContainer"] {

    [class*="draggableChoicesContainer"] {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-evenly;
      max-width: 93%
    }

    [class*="draggableChoice_"] {
      border: 2px solid var(--tci-color-purple);
      width: 100%;
    }

    [class*="draggableChoice_"] .fr-view {
      font-weight: bold;
      text-align: center;
      line-height: 1.4em;
    }

    div[class*="content"] {
      color: var(--tci-color-purple) !important;
    }

    div[class*="dropZone_"] {
      background-color: #E2D4FF;
      border: 1px solid #ccc
    }

    div[class*="placeholder_"] {
      display: none;
    }

    /* Remove padding for CTAs in D&D since they will not be using full size slide template*/
    .tw-pb-6 {
      padding-bottom: 0;
    }

  }

  .slide .fr-view * {
    line-height: 1.2em;
    margin-bottom: .1em;
  }

  .slide .tw-absolute .fr-view h1 {
    font-size: 2em;
    line-height: 1.5em;
  }

  .tw-absolute h2 {
    color: var(--tci-color-purple);
    font-size: 1.3em;
    font-weight: bold;
    padding-bottom: .2em;
    margin-bottom: 0;
    display: block;
  }

  .tw-absolute h3 {
    font-size: 1.2em;
    font-weight: bold;
    padding-bottom: .2em;
    margin-bottom: 0;
    margin-top: 0;
  }

  .tw-absolute h4 {
    font-size: 1em;
    font-weight: bold;
    padding-bottom: .2em;
    margin-bottom: 0;
    margin-top: 0;
  }

  div[class*="slideTemplateObject"] iframe:not(.section-iframe), div[class*="slideTemplateObject"] div:has(> .notebook-preview) {
    border: none;
  }

  img.fr-bordered {
    border: solid 3px #cccccc;
    box-sizing: border-box;
  }

  .fr-view table th {
    background: none;
    padding: 10px;
  }

  .notebook-preview #notebook #notebook_outer_container, body[data-layout="responsive"] #notebook #notebook_outer_container, .notebook-preview #notebook.bg-white, body[data-layout="responsive"] #notebook.bg-white, .notebook-preview #notebook, body[data-layout="responsive"] #notebook {
    background-color: transparent;
  }

  #section_text_outer_container #notebook_content, #activities_outer_container #notebook_content, #notebook_outer_container #notebook_content {
    min-height: auto;
  }

  .notebook-preview #notebook .notebook-question .question-interactable {
    background-image: none;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
  }

  .image-group-2 {
    display: flex;
    flex-flow: row;
    justify-content: space-around;
  }

  .image-group-2 div {
    object-fit: cover;
    width: 50%;
  }

  .image-group-2 div img {
    object-fit: cover;
    height: 250px;
    width: 100%;
  }

  .image-group-2 img {
    object-fit: cover;
    height: 250px;
    width: 50%;
  }

  .image-group-2 :first-child, .image-group-2 :first-child img {
    /*  border: 1px solid #ffffff; */
    border-radius: 20px 0px 0px 20px;
  }

  .image-group-2 :last-child, .image-group-2 :last-child img {
    /*  border: 1px solid #ffffff; */
    border-radius: 0px 20px 20px 0px;
  }

  img.fr-rounded {
   border-radius: 20px;
   -webkit-border-radius: 20px;
   margin: 5px 0 0px 10px !important
  }

  .fr-view table td.fr-thick, .fr-view table th.fr-thick {
    border: .3em dotted #ffc20e;
    box-sizing: border-box;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .notebook-grid-wrapper table td {
   border-color: #000000 !important;
 }

  
}

/* Common styles across text and slide builders */

  .unit-phenomenon, .phenomenon {
    border: 3px dotted var(--tci-color-purple);
    padding: 5px 10px;
    border-radius: 10px;
    margin: 10px 0px;
    display: table;
  }

  .observe-video-text {
    padding: 10px 80px;
    border: 4px solid var(--tci-color-purple);
    border-radius: 20px;
    background: #ffffff;
    width: fit-content;
    margin: auto;
  }
/* Middle School Science - Testing for 2025 text builder */

:root {
  --ms-sci-font-size: 18px;
 /* Colors */
  --tci-color-black: #3C3C3C;
  --tci-color-red: #D02530;
  --tci-color-ms-red: #9f3029;
  --tci-color-hs-blue: #37637d;
  --tci-color-blue: #247F99;
  --tci-color-purple: #522e91;
  --main-ideas-blue: #3434C8;
}

.display-main-ideas {
  .main-idea {
    color: var(--main-ideas-blue);
    font-weight: bold;
  }
}

.new-section-text {
  .ms-sci {
    .fr-view, &.fr-view {
      font-family: Lato;
      font-size: var(--ms-sci-font-size);
    }

    &.fr-view, .fr-view {
      width: 58%;
    }

    h1 {
      font-size: 2.2em;
      font-weight: normal;
      line-height: 1.2em;
      margin-bottom: 0.2em; /* Changed .2em to 0.2em */
      color: var(--tci-color-black);
      letter-spacing: 0.02em; /* Changed .02em to 0.02em */
    }

    h2 {
      font-size: 1.85em;
      margin-bottom: 0.2em; /* Changed .2em to 0.2em */
      color: var(--tci-color-purple);
      font-weight: bold;
      line-height: 1.2em;
      padding-bottom: 5px;
    }
    
    h3 {
      font-size: 1.2em;
      margin-bottom: 0.2em; /* Changed .2em to 0.2em */
      color: var(--tci-color-purple);
      font-weight: bold;
      line-height: 1.2em;
    }

    p {
      line-height: 1.5em;
      margin-top: 10px;
      margin-bottom: 10px;
    }
      /* Exclude Captions from styles above */
      p.caption {
        text-indent: 0em;
        margin-top: 10px;
        margin-bottom: 0px;
      }

    ol, ul {
      margin-left: 1.5em;
    }

    ol li, ul li {
      margin-top: 0.5em;
      margin-bottom: 0.5em;
      margin-left: 0;
    }

    blockquote {
      padding: 1em;
      background-color: #f5f5f5;
      margin: 1em 2em;
      color: inherit;
      border: none;
    }

      img.fr-dii, .image-zoom-icon-wrapper, .captions:not(.break-text), .float-right {
      float: right;
      clear: both;
      margin: 0px -410px 10px 0px;
      max-width: none;
    }

    img.fr-dib, .full-width {
      max-width: none;
    }

    div.vocab-box::before {
      position: absolute;
      right: 100%;
      top: -1px;
      height: 100%;
      border-left: 5px solid var(--tci-color-blue); 
      border-top: 1px solid var(--tci-color-blue); 
      border-bottom: 1px solid var(--tci-color-blue); 
      content: ' ';
    }

    .vocab-box {
      position: relative;
      padding: 15px;
      border: 1px solid #D7D7D7;
      border-left: 5px solid var(--tci-color-blue);
      margin-bottom: 30px;
      margin-left: 5px;
      width: 160%;
    }

    .vocab-box .vocab-terms .vocab-term {
      font-size: var(--ms-sci-font-size);
    }

    .vocab-btn {
      font-weight: normal;
    }
  }
}
/* Lower EL SCI - Testing for 2025 text builder */

.display-main-ideas {
  .main-idea {
    color: var(--main-ideas-blue);
    font-weight: bold;
  }
}

.new-section-text {
  .lower-el-sci {
    .fr-view, &.fr-view {
      font-family: Poppins;
      font-size: var(--lower-el-sci-font-size);
    }

    &.fr-view, .fr-view {
      width: 39%;
      margin-left: 4%;
    }

    h1 {
      font-size: 2.2em;
      font-weight: normal;
      line-height: 1.2em;
      margin-bottom: 0.2em;
      color: var(--tci-color-black);
      letter-spacing: 0.02em;
    }

    h2 {
      color: var(--tci-color-purple);
      font-size: 1.85em;
      margin-bottom: 0.2em;
      font-weight: bold;
      line-height: 1.2em;
      padding-bottom: 5px;
    }
    
    h3 {
      font-size: 1.2em;
      margin-bottom: 0.2em;
      color: var(--tci-color-purple);
      font-weight: bold;
      line-height: 1.2em;
    }

    p {
      line-height: 1.5em;
      margin-top: 10px;
      margin-bottom: 10px;
    }
      /* Exclude Captions from styles above */
      p.caption {
        text-indent: 0em;
        margin-top: 10px;
        margin-bottom: 0px;
      }
  

    ol, ul {
      margin-left: 1.5em;
    }

    ol li, ul li {
      margin-top: 0.5em;
      margin-bottom: 0.5em;
      margin-left: 0;
    }

    blockquote {
      padding: 1em;
      background-color: #f5f5f5;
      margin: 1em 2em;
      color: inherit;
      border: none;
    }

    img.fr-dii, .image-zoom-icon-wrapper, .captions:not(.break-text), .float-right {
      float: right;
      clear: both;
      margin: 0px -410px 10px 0px;
      max-width: none;
    }

    img.fr-dib, .full-width {
      max-width: none;
    }

    .vocab-title {
      font-size: var(--lower-el-sci-font-size);
    }

    .vocab-box {
      border: 0.4em solid #B3BC35;
      width: 160%;
    }

    .vocab-box .vocab-terms .vocab-term {
      font-size: var(--lower-el-sci-font-size);
    }

    .vocab-btn {
      font-weight: normal;
    }
  }
}



/* Lower EL Science - 2025 slide builder */


#slideShowBuilderDiv.lower-el-sci, #slide_reel.lower-el-sci {

  .slide .fr-view, .slide .fr-box.fr-basic .fr-element, .current-slide .fr-box.fr-basic .fr-element, .notebook-preview, [class*="dragAndDropContainer"], & [class*="vocab-card"], .slide-header {
    &, p, li, ul, ol /**:not(span, h1, h2, h3, h4, h5, button, a, i)*/ {
      font-family: var(--default-font-family) !important;
      font-size: var(--slide-lower-el-font-size);
    }

    /* Apply font-family to everything, but avoid color and size*/
    *:not(i, .fa) {
      font-family: var(--default-font-family) !important;
    }
  }

  
  .slide-header {
    .tw-flex:nth-of-type(1) {
      font-weight: 700;
    }

    .tw-flex:nth-of-type(2) {
      font-weight: 600;
    }
  }

  /* Styles for D&D*/
  [class*="dragAndDropContainer"] {

    [class*="draggableChoicesContainer"] {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-evenly;
      max-width: 93%
    }

    [class*="draggableChoice_"] {
      border: 2px solid var(--tci-color-purple);
      width: 100%;
    }

    [class*="draggableChoice_"] .fr-view {
      font-weight: bold;
      text-align: center;
      line-height: 1.4em;
    }

    div[class*="content"] {
      color: var(--tci-color-purple) !important;
    }

    div[class*="dropZone_"] {
      background-color: #E2D4FF;
      border: 1px solid #ccc
    }

    div[class*="placeholder_"] {
      display: none;
    }

    /* Remove padding for CTAs in D&D since they will not be using full size slide template*/
    .tw-pb-6 {
      padding-bottom: 0;
    }

  }

  .slide .fr-view * {
    line-height: 1.2em;
    margin-bottom: .1em;
  }

  .slide .tw-absolute .fr-view h1 {
    font-size: 2em;
    line-height: 1.5em;
  }

  .tw-absolute h2 {
    color: var(--tci-color-purple);
    font-size: 1.3em;
    font-weight: bold;
    padding-bottom: .2em;
    margin-bottom: 0;
    display: block;
  }

  .tw-absolute h3 {
    font-size: 1.2em;
    font-weight: bold;
    padding-bottom: .2em;
    margin-bottom: 0;
    margin-top: 0;
  }

  .tw-absolute h4 {
    font-size: 1em;
    font-weight: bold;
    padding-bottom: .2em;
    margin-bottom: 0;
    margin-top: 0;
  }

  div[class*="slideTemplateObject"] iframe:not(.section-iframe), div[class*="slideTemplateObject"] div:has(> .notebook-preview) {
    border: none;
  }

  img.fr-bordered {
    border: solid 3px #cccccc;
    box-sizing: border-box;
  }

  .fr-view table th {
    background: none;
    padding: 10px;
  }

  .notebook-preview #notebook #notebook_outer_container, body[data-layout="responsive"] #notebook #notebook_outer_container, .notebook-preview #notebook.bg-white, body[data-layout="responsive"] #notebook.bg-white, .notebook-preview #notebook, body[data-layout="responsive"] #notebook {
    background-color: transparent;
  }

  #section_text_outer_container #notebook_content, #activities_outer_container #notebook_content, #notebook_outer_container #notebook_content {
    min-height: auto;
  }

  .notebook-preview #notebook .notebook-question .question-interactable {
    background-image: none;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
  }

  .image-group-2 {
    display: flex;
    flex-flow: row;
    justify-content: space-around;
  }

  .image-group-2 div {
    object-fit: cover;
    width: 50%;
  }

  .image-group-2 div img {
    object-fit: cover;
    height: 250px;
    width: 100%;
  }

  .image-group-2 img {
    object-fit: cover;
    height: 250px;
    width: 50%;
  }

  .image-group-2 :first-child, .image-group-2 :first-child img {
    /*  border: 1px solid #ffffff; */
    border-radius: 20px 0px 0px 20px;
  }

  .image-group-2 :last-child, .image-group-2 :last-child img {
    /*  border: 1px solid #ffffff; */
    border-radius: 0px 20px 20px 0px;
  }

  img.fr-rounded {
   border-radius: 20px;
   -webkit-border-radius: 20px;
   margin: 5px 0 0px 10px !important
  }

  .fr-view table td.fr-thick, .fr-view table th.fr-thick {
    border: .3em dotted #ffc20e;
    box-sizing: border-box;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .notebook-grid-wrapper table td {
   border-color: #000000 !important;
 }

  
}

/* Common styles across text and slide builders */

  .unit-phenomenon, .phenomenon {
    border: 3px dotted var(--tci-color-purple);
    padding: 5px 10px;
    border-radius: 10px;
    margin: 10px 0px;
    display: table;
  }

  .observe-video-text {
    padding: 10px 80px;
    border: 4px solid var(--tci-color-purple);
    border-radius: 20px;
    background: #ffffff;
    width: fit-content;
    margin: auto;
  }
:root {
  --lower-el-sci-font-size: 20px;
  --lower-el-ss-font-size: 18px;
  --lower-el-font-size: 21px;
  --upper-el-sci-font-size: 21px;
  --upper-el-font-size: 18px;
  --hs-font-size: 18px;
  --slide-lower-el-font-size: 16px;
  --default-font-family: Poppins;
   
  /* Colors */
  --tci-color-black: #3C3C3C;
  --tci-color-red: #D02530;
  --tci-color-ms-red: #9f3029;
  --tci-color-hs-blue: #37637d;
  --tci-color-blue: #247F99;
  --tci-color-purple: #522e91;
  --main-ideas-blue: #3434C8;
  --disc-color-earth: #F69C05;
  --disc-color-life: #40AE49;
  --disc-color-physical: #00A4E4;
  
}

/* Lower EL Social Studies - 2025 text builder */

.display-main-ideas {
  .main-idea {
    color: var(--main-ideas-blue);
    font-weight: bold;
  }
}

.new-section-text {
  .lower-el-ss {
    .fr-view, &.fr-view {
      font-family: Poppins;
      font-size: var(--lower-el-ss-font-size);
    }

    &.fr-view:not(:has(.lesson-opener)), .fr-view:not(:has(.lesson-opener)) {
      width: 60%;
      margin-right: 5%;
    }
/* ---- Headings ---- */
    h1 {
      font-size: 2.2em;
      font-weight: normal;
      line-height: 1.2em;
      margin-bottom: 0.2em;
      letter-spacing: 0.02em;
    }

    h2 {
      color: var(--tci-color-purple);
      font-size: 1.2em;
      margin-bottom: 0.2em;
      font-weight: bold;
      line-height: 1.2em;
      padding-bottom: 5px;
    }
    
    h3 {
      font-size: 1em;
      margin-bottom: 0.2em;
      color: var(--tci-color-purple);
      font-weight: bold;
      line-height: 1.2em;
    }

    p {
      line-height: 1.4em;
      /* margin-top: 10px; Removed by Morris 5/23/25 */
      margin-bottom: .2em;
    }
      /* Exclude Captions from styles above */
      p.caption {
        text-indent: 0em;
        margin-top: 10px;
        margin-bottom: 0px;
      }

    ol, ul {
      margin-left: 1.5em;
    }

    ol li, ul li {
      margin-top: 0.5em;
      margin-bottom: 0.5em;
      margin-left: 0;
    }

    blockquote {
      padding: 1em;
      background-color: #f5f5f5;
      margin: 1em 2em;
      color: inherit;
      border: none;
    }

    img.fr-dii, .image-zoom-icon-wrapper, .captions:not(.break-text), .float-right {
      float: right;
      clear: both;
      margin: 0px -410px 10px 0px;
      max-width: none;
    }

   img.fr-dib, .full-width {
      max-width: none;
    } 

    .vocab-title {
      font-size: var(--lower-el-ss-font-size);
    }

    .vocab-box {
      border: 0.2em solid #138080; /* Updated by Morris by Content request 8/25/25 */
      width: 160%;
    }

    .vocab-box .vocab-terms .vocab-term {
      font-size: var(--lower-el-ss-font-size);
    }

    .vocab-btn {
      font-weight: normal;
    }


    .hero-image {
      background-image: url("https://cdnproduction.teachtci.com/system/image_ens/200719/original/Screenshot_2025-05-30_at_8.49.37%E2%80%AFAM.png?1748620398");
      background-color: #cccccc;
      height: 500px;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      position: relative;
    }

    .lesson-opener img:nth-child(1) {
        border-radius: 20px 20px 0 0;
    }
    
    .learning-targets li {
        list-style-type: none;
    }
  }
}


/* Lower EL Social Studies - 2025 slide builder */


#slideShowBuilderDiv.lower-el-ss, #slide_reel.lower-el-ss {

  .slide .fr-view, .slide .fr-box.fr-basic .fr-element, .current-slide .fr-box.fr-basic .fr-element, .notebook-preview, [class*="dragAndDropContainer"], & [class*="vocab-card"], .slide-header {
    &, p, li, ul, ol /**:not(span, h1, h2, h3, h4, h5, button, a, i)*/ {
      font-family: var(--default-font-family) !important;
      font-size: var(--slide-lower-el-font-size);
    }

    /* Apply font-family to everything, but avoid color and size*/
    *:not(i, .fa) {
      font-family: var(--default-font-family) !important;
    }
  }

  
  .slide-header {
    .tw-flex:nth-of-type(1) {
      font-weight: 700;
    }

    .tw-flex:nth-of-type(2) {
      font-weight: 600;
    }
  }

  /* Styles for D&D*/
  [class*="dragAndDropContainer"] {

    [class*="draggableChoicesContainer"] {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-evenly;
      max-width: 93%
    }

    [class*="draggableChoice_"] {
      border: 2px solid var(--tci-color-purple);
      width: 100%;
    }

    [class*="draggableChoice_"] .fr-view {
      font-weight: bold;
      text-align: center;
      line-height: 1.4em;
    }

    div[class*="content"] {
      color: var(--tci-color-purple) !important;
    }

    div[class*="dropZone_"] {
      background-color: #E2D4FF;
      border: 1px solid #ccc
    }

    div[class*="placeholder_"] {
      display: none;
    }

    /* Remove padding for CTAs in D&D since they will not be using full size slide template*/
    .tw-pb-6 {
      padding-bottom: 0;
    }

  }

  .slide .fr-view * {
    line-height: 1.2em;
    margin-bottom: .1em;
  }

  .slide .tw-absolute .fr-view h1 {
    font-size: 2em;
    line-height: 1.5em;
  }

  .tw-absolute h2 {
    color: var(--tci-color-purple);
    font-size: 1.3em;
    font-weight: bold;
    padding-bottom: .2em;
    margin-bottom: 0;
    display: block;
  }

  .tw-absolute h3 {
    font-size: 1.2em;
    font-weight: bold;
    padding-bottom: .2em;
    margin-bottom: 0;
    margin-top: 0;
  }

  .tw-absolute h4 {
    font-size: 1em;
    font-weight: bold;
    padding-bottom: .2em;
    margin-bottom: 0;
    margin-top: 0;
  }

  div[class*="slideTemplateObject"] iframe:not(.section-iframe), div[class*="slideTemplateObject"] div:has(> .notebook-preview) {
    border: none;
  }

  img.fr-bordered {
    border: solid 3px #cccccc;
    box-sizing: border-box;
  }

  .fr-view table th {
    background: none;
    padding: 10px;
  }

  .notebook-preview #notebook #notebook_outer_container, body[data-layout="responsive"] #notebook #notebook_outer_container, .notebook-preview #notebook.bg-white, body[data-layout="responsive"] #notebook.bg-white, .notebook-preview #notebook, body[data-layout="responsive"] #notebook {
    background-color: transparent;
  }

  #section_text_outer_container #notebook_content, #activities_outer_container #notebook_content, #notebook_outer_container #notebook_content {
    min-height: auto;
  }

  .notebook-preview #notebook .notebook-question .question-interactable {
    background-image: none;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
  }

  .image-group-2 {
    display: flex;
    flex-flow: row;
    justify-content: space-around;
  }

  .image-group-2 div {
    object-fit: cover;
    width: 50%;
  }

  .image-group-2 div img {
    object-fit: cover;
    height: 250px;
    width: 100%;
  }

  .image-group-2 img {
    object-fit: cover;
    height: 250px;
    width: 50%;
  }

  .image-group-2 :first-child, .image-group-2 :first-child img {
    /*  border: 1px solid #ffffff; */
    border-radius: 20px 0px 0px 20px;
  }

  .image-group-2 :last-child, .image-group-2 :last-child img {
    /*  border: 1px solid #ffffff; */
    border-radius: 0px 20px 20px 0px;
  }

  img.fr-rounded {
   border-radius: 20px;
   -webkit-border-radius: 20px;
   margin: 5px 0 0px 10px !important
  }

  .fr-view table td.fr-thick, .fr-view table th.fr-thick {
    border: .3em dotted #ffc20e;
    box-sizing: border-box;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .notebook-grid-wrapper table td {
   border-color: #000000 !important;
 }

  
}

/* Common styles across text and slide builders */

  .unit-phenomenon, .phenomenon {
    border: 3px dotted var(--tci-color-purple);
    padding: 5px 10px;
    border-radius: 10px;
    margin: 10px 0px;
    display: table;
  }

  .observe-video-text {
    padding: 10px 80px;
    border: 4px solid var(--tci-color-purple);
    border-radius: 20px;
    background: #ffffff;
    width: fit-content;
    margin: auto;
  }
/* HS SS - Testing for 2025 text builder */

:root {
  --hs-ss-font-size: 18px;
 /* Colors */
  --tci-color-black: #3C3C3C;
  --tci-color-red: #D02530;
  --tci-color-ms-red: #9f3029;
  --tci-color-hs-blue: #37637d;
  --tci-color-blue: #247F99;
  --tci-color-purple: #522e91;
  --main-ideas-blue: #3434C8;
}
/* --- Main Ideas Styling for Text Tools on Reading Page --- */
.display-main-ideas {
  .main-idea {
    color: var(--main-ideas-blue);
    font-weight: bold;
  }
}

.new-section-text {
  .hs-ss {
    /* --- Base Font and Family for Content Editor --- */
    .fr-view, &.fr-view {
      font-family: Lato;
      font-size: var(--hs-ss-font-size);
    }

    /* --- Content Width --- */
    &.fr-view:not(:has(.lesson-opener)), .fr-view:not(:has(.lesson-opener)) {
      width: 60%;
      margin-right: 5%;
    }

    .lesson-opener img:nth-child(1) {
        border-radius: 20px 20px 0 0;
    }
      
/* ---- Headings ---- */
    h1 {
      font-size: 2.2em;
      font-weight: normal;
      line-height: 1.2em;
      margin-bottom: 0.2em; /* Changed .2em to 0.2em */
      color: var(--tci-color-black);
      letter-spacing: 0.02em; /* Changed .02em to 0.02em */
    }

    h2 {
      font-size: 1.85em;
      margin-bottom: 0.2em; /* Changed .2em to 0.2em */
      color: var(--tci-color-purple);
      font-weight: bold;
      line-height: 1.2em;
      padding-bottom: 5px;
    }
    
    h3 {
      font-size: 1.2em;
      margin-bottom: 0.2em; /* Changed .2em to 0.2em */
      color: var(--tci-color-purple);
      font-weight: bold;
      line-height: 1.2em;
    }

    /* ---- Paragraph Styling ---- */
     p {
      line-height: 1.5em;
      margin-top: 10px;
      margin-bottom: 10px;
    }
      /* Exclude image captions from styles above */
      p.caption {
        text-indent: 0em;
        margin-top: 10px;
        margin-bottom: 0px;
      }
/* ---- Lists ---- */
    ol, ul {
      margin-left: 1.5em;
    }

    ol li, ul li {
      margin-top: 0.5em;
      margin-bottom: 0.5em;
      margin-left: 0;
    }
/* ---- Blockquote Styling ---- */
    blockquote {
      padding: 1em;
      background-color: #f5f5f5;
      margin: 1em 2em;
      color: inherit;
      border: none;
    }
  /* ---- Images, Zoom Icons, and Captions ---- */
 img.fr-dii, .image-zoom-icon-wrapper, .captions:not(.break-text), .float-right {
      float: right;
      clear: both;
      margin: 0px -410px 10px 0px;
      max-width: none;
    }
    /* ---- Allows images to be stretched full width on Text Builder ---- */
    img.fr-dib, .full-width {
      max-width: none;
    }
   /* ---- Vocab Box ---- */
    div.vocab-box::before {
      position: absolute;
      right: 100%;
      top: -1px;
      height: 100%;
      border-left: 5px solid var(--tci-color-blue); 
      border-top: 1px solid var(--tci-color-blue); 
      border-bottom: 1px solid var(--tci-color-blue); 
      content: ' ';
    }

    .vocab-box {
      position: relative;
      padding: 15px;
      border: 1px solid #D7D7D7;
      border-left: 5px solid var(--tci-color-blue);
      margin-bottom: 30px;
      margin-left: 5px;
      width: 160%;
    }
/* ---- Vocabulary Term Styling ---- */
    .vocab-box .vocab-terms .vocab-term {
      font-size: var(--hs-ss-font-size);
    }
/* ---- Vocabulary Button Styling ---- */
    .vocab-btn {
      font-weight: normal;
    }

    .learning-targets li {
        list-style-type: none;
      }
    
  }
}
/* Middle School Social Studies - Testing for 2025 text builder */

:root {
  --ms-ss-font-size: 16px;
 /* Colors */
  --tci-color-black: #3C3C3C;
  --tci-color-red: #D02530;
  --tci-color-ms-red: #9f3029;
  --tci-color-hs-blue: #37637d;
  --tci-color-blue: #247F99;
  --tci-color-purple: #522e91;
  --main-ideas-blue: #3434C8;
}

.display-main-ideas {
  .main-idea {
  color: var(--main-ideas-blue);
  font-weight: bold;
  }
}

.new-section-text {
  .ms-ss {
    .fr-view, &.fr-view {
      font-family: Lato; 
      font-size: var(--ms-ss-font-size);
    }
    
    &.fr-view:not(:has(.lesson-opener)), .fr-view:not(:has(.lesson-opener)) {
      width: 60%;
      margin-right: 5%;
    }

    .lesson-opener img:nth-child(1) {
        border-radius: 20px 20px 0 0;
    }
    
    h1 {
      font-size: 2.2em;
      font-weight: normal;
      line-height: 1.2em;
      margin-bottom: 0.2em;
      color: var(--tci-color-black);
      letter-spacing: 0.02em;
    }

    h2 {
      font-size: 1.3em;
      margin-bottom: 0.2em;
      color: var(--tci-color-ms-red);
      font-weight: bold;
      line-height: 1.2em;
      padding-bottom: 5px;
    }
    
    h3 {
      font-size: 1.1em;
      margin-bottom: 0.2em;
      color: var(--tci-color-ms-red);
      font-weight: bold;
      line-height: 1.2em;
 
      
    }

    p {
      line-height: 1.5em;
      margin-top: 10px;
      margin-bottom: 10px;

     
    }
      /* Exclude Captions from styles above */
      p.caption {
        text-indent: 0em;
        margin-top: 10px;
        margin-bottom: 0px;
      }

    ol, ul {
      margin-left: 1.5em;
    }

    ol li, ul li {
      margin-top: 0.5em;
      margin-bottom: 0.5em;
      margin-left: 0;
    }

    blockquote {
      padding: 1em;
      background-color: #f5f5f5;
      margin: 1em 2em;
      color: inherit;
      border: none;
    }
    
      img.fr-dii, .image-zoom-icon-wrapper, .captions:not(.break-text), .float-right {
      float: right;
      clear: both;
      margin: 0px -410px 10px 0px;
      max-width: none;
    }

    img.fr-dib, .full-width {
      max-width: none;
    }

    .vocab-box::before {
      position: absolute;
      right: 100%;
      top: -1px;
      height: 100%;
      border-left: 5px solid var(--tci-color-blue);
      border-top: 1px solid var(--tci-color-blue);
      border-bottom: 1px solid var(--tci-color-blue);
      content: ' ';
    }
    
    .vocab-box {
      position: relative;
      padding: 15px;
      border: 1px solid #D7D7D7;
      border-left: 5px solid var(--tci-color-blue);
      margin-bottom: 30px;
      margin-left: 5px;
      width: 160%;
    }
    
    .vocab-box .vocab-terms .vocab-term {
      font-size: var(--ms-ss-font-size);
    }
    
    .vocab-btn {
      font-weight: normal;
    }

    .learning-targets li {
        list-style-type: none;
    }
  }
}
/* Upper Elementary SS - Testing for 2025 text builder */

.display-main-ideas {
  .main-idea {
    color: var(--main-ideas-blue);
    font-weight: bold;
  }
}

.new-section-text {
  .upper-el-ss {
    .fr-view, &.fr-view {
      font-family: Poppins;
      font-size: var(--upper-el-ss-font-size);
    }

    &.fr-view, .fr-view {
      width: 54%;
    }

    h1 {
      font-size: 2.2em;
      font-weight: normal;
      line-height: 1.2em;
      margin-bottom: 0.2em;
      color: var(--tci-color-black);
      letter-spacing: 0.02em; /* Added missing semicolon */
    }

    h2 {
      font-size: 1.2em; /* Changed from 1.5em to 1.2em to match lower-el-ss by MT 8/15/25 */
      margin-bottom: 0.2em;
      color: var(--tci-color-purple);
      font-weight: bold;
      line-height: 1.2em;
      padding-bottom: 5px;
    }
    
    h3 {
      font-size: 1.2em;
      margin-bottom: 0.2em;
      color: var(--tci-color-purple);
      font-weight: bold;
      line-height: 1.2em;
    }

    p {
      line-height: 1.4em; /* Changed from 1.5em to 1.4em to match lower-el-ss by MT 8/15/25 */
      /*margin-top: 10px;   Removed by MT 8/15/25 */
      margin-bottom: .2em; /* Changed from 10px to .2em to match lower-el-ss by MT 8/15/25 */
    }
      /* Exclude Captions from styles above */
      p.caption {
        text-indent: 0em;
        margin-top: 10px;
        margin-bottom: 0px;
      }    
    ol, ul {
      margin-left: 1.5em;
    }

    ol li, ul li {
      margin-top: 0.5em;
      margin-bottom: 0.5em;
      margin-left: 0;
    }

    blockquote {
      padding: 1em;
      background-color: #f5f5f5;
      margin: 1em 2em;
      color: inherit;
      border: none;
    }

     img.fr-dii, .image-zoom-icon-wrapper, .captions:not(.break-text), .float-right {
      float: right;
      clear: both;
      margin: 0px -410px 10px 0px;
      max-width: none;
    }

    img.fr-dib, .full-width {
      max-width: none;
    }

    .vocab-title {
      font-size: var(--upper-el-ss-font-size);
    } 

    .vocab-box {
      border: 0.2em solid #138080; /* Updated by Morris by Content request 8/25/25 */
      width: 160%;
    }

    .vocab-box .vocab-terms .vocab-term {
      font-size: var(--upper-el-ss-font-size);
    }

    .vocab-btn {
      font-weight: normal;
    }

    .learning-targets li {
        list-style-type: none;
      }
    
  }
}

/* Lower EL Social Studies - 2025 slide builder */


#slideShowBuilderDiv.upper-el-ss, #slide_reel.upper-el-ss {

  .slide .fr-view, .slide .fr-box.fr-basic .fr-element, .current-slide .fr-box.fr-basic .fr-element, .notebook-preview, [class*="dragAndDropContainer"], & [class*="vocab-card"], .slide-header {
    &, p, li, ul, ol /**:not(span, h1, h2, h3, h4, h5, button, a, i)*/ {
      font-family: var(--default-font-family) !important;
      font-size: var(--slide-lower-el-font-size);
    }

    /* Apply font-family to everything, but avoid color and size*/
    *:not(i, .fa) {
      font-family: var(--default-font-family) !important;
    }
  }

  
  .slide-header {
    .tw-flex:nth-of-type(1) {
      font-weight: 700;
    }

    .tw-flex:nth-of-type(2) {
      font-weight: 600;
    }
  }

  /* Styles for D&D*/
  [class*="dragAndDropContainer"] {

    [class*="draggableChoicesContainer"] {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-evenly;
      max-width: 93%
    }

    [class*="draggableChoice_"] {
      border: 2px solid var(--tci-color-purple);
      width: 100%;
    }

    [class*="draggableChoice_"] .fr-view {
      font-weight: bold;
      text-align: center;
      line-height: 1.4em;
    }

    div[class*="content"] {
      color: var(--tci-color-purple) !important;
    }

    div[class*="dropZone_"] {
      background-color: #E2D4FF;
      border: 1px solid #ccc
    }

    div[class*="placeholder_"] {
      display: none;
    }

    /* Remove padding for CTAs in D&D since they will not be using full size slide template*/
    .tw-pb-6 {
      padding-bottom: 0;
    }

  }

  .slide .fr-view *, .slide .fr-view {
    line-height: 1.2em;
    margin-bottom: .1em;
  }

  .slide .tw-absolute .fr-view h1 {
    font-size: 2em;
    line-height: 1.5em;
  }

  .tw-absolute h2 {
    color: var(--tci-color-purple);
    font-size: 1.3em;
    font-weight: bold;
    padding-bottom: .2em;
    margin-bottom: 0;
    display: block;
  }

  .tw-absolute h3 {
    font-size: 1.2em;
    font-weight: bold;
    padding-bottom: .2em;
    margin-bottom: 0;
    margin-top: 0;
  }

  .tw-absolute h4 {
    font-size: 1em;
    font-weight: bold;
    padding-bottom: .2em;
    margin-bottom: 0;
    margin-top: 0;
  }

  div[class*="slideTemplateObject"] iframe:not(.section-iframe), div[class*="slideTemplateObject"] div:has(> .notebook-preview) {
    border: none;
  }

  img.fr-bordered {
    border: solid 3px #cccccc;
    box-sizing: border-box;
  }

  .fr-view table th {
    background: none;
    padding: 10px;
  }

  .notebook-preview #notebook #notebook_outer_container, body[data-layout="responsive"] #notebook #notebook_outer_container, .notebook-preview #notebook.bg-white, body[data-layout="responsive"] #notebook.bg-white, .notebook-preview #notebook, body[data-layout="responsive"] #notebook {
    background-color: transparent;
  }

  #section_text_outer_container #notebook_content, #activities_outer_container #notebook_content, #notebook_outer_container #notebook_content {
    min-height: auto;
  }

  .notebook-preview #notebook .notebook-question .question-interactable {
    background-image: none;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
  }

  .image-group-2 {
    display: flex;
    flex-flow: row;
    justify-content: space-around;
  }

  .image-group-2 div {
    object-fit: cover;
    width: 50%;
  }

  .image-group-2 div img {
    object-fit: cover;
    height: 250px;
    width: 100%;
  }

  .image-group-2 img {
    object-fit: cover;
    height: 250px;
    width: 50%;
  }

  .image-group-2 :first-child, .image-group-2 :first-child img {
    /*  border: 1px solid #ffffff; */
    border-radius: 20px 0px 0px 20px;
  }

  .image-group-2 :last-child, .image-group-2 :last-child img {
    /*  border: 1px solid #ffffff; */
    border-radius: 0px 20px 20px 0px;
  }

  img.fr-rounded {
   border-radius: 20px;
   -webkit-border-radius: 20px;
   margin: 5px 0 0px 10px !important
  }

  .fr-view table td.fr-thick, .fr-view table th.fr-thick {
    border: .3em dotted #ffc20e;
    box-sizing: border-box;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .notebook-grid-wrapper table td {
   border-color: #000000 !important;
 }

  
}

/* Common styles across text and slide builders */

  .unit-phenomenon, .phenomenon {
    border: 3px dotted var(--tci-color-purple);
    padding: 5px 10px;
    border-radius: 10px;
    margin: 10px 0px;
    display: table;
  }

  .observe-video-text {
    padding: 10px 80px;
    border: 4px solid var(--tci-color-purple);
    border-radius: 20px;
    background: #ffffff;
    width: fit-content;
    margin: auto;
  }