
  .section_stitch_pattern_view {
    position: relative;
    display: flex;
    flex-grow: 1;
    flex-basis: 100%;
    flex-wrap: 1;
    margin-left: 25px;
  }
  
  @media (min-width: 550px) {
    .section_stitch_pattern_view {
      display: flex;
      flex-grow: 1;
      flex-basis: 100%;
      flex-wrap: 1;
      margin-left: 25px;
      /* vertical-align: top; */
    }
  } /* end of @media (min-width: 550px) */  
  
  #elemStitchPatternHeader {
    flex-direction: row;
    overflow: auto;
    width: 270px;
  }
  
  @media (min-width: 560px) {
    #elemStitchPatternHeader {
      flex-direction: row;
      overflow: auto;
      width: 560px;
    }
  } /* end of @media (min-width: 550px) */  
  
  .stitch_pattern_view_title {
    display: flex;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
  }
  
  .stitch_pattern_view_id {
    display: flex;
    /* font-size: 1.15rem; */
    margin-bottom: 1.2rem;
    font-weight: normal;
    margin-left: auto;
    margin-right: auto;
  }
  
  .stitch_pattern_swatch_image {
    width: 270px; /* swatch images are 250px squares */
    height: 300px;
    /* background-color: var(--darkBackground); */
    background-color: black;
    padding: 20px;
  }

  #divSliderDots {
    display: flex;
    margin: auto;
    width: 105px;
  }

  .slider_dot {
    display: flex;
    padding: 5px;
  }

  .active_dot {
    opacity: 100%;
  }

  .inactive_dot {
    opacity: 30%;
  }

  .stitch_pattern_reverse_and_skill {
    margin-top: 5px;
    margin-bottom: 15px;
  }
    
  .div_pattern_title,
  .flat_section_title,
  .round_section_title,
  .stitch_descrips_section_title {
    /* display: flex; */
    line-height: 1.8rem;
    padding: 1rem 0.05rem 0rem 0.05rem;
    font-weight: bold;
  }


  .chart_subSection_container {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    flex-direction: column;
    margin-left: -10px;
    margin-top: 15px;
    background-color: white;
    width: 100%;
    padding:20px;
  }

  @media (min-width: 550px) {
    .chart_subSection_container {
      width: 80%;
      padding: 25px;
    }
  }
  .div_chart_section_title {
    line-height: 1.8rem;
    font-weight: bold;
  }

  .div_chart_attrs_title {
    line-height: 1.8rem;
    font-weight: bold;
    padding-bottom: 15px;
  }

  .div_pattern_id {
    padding-left: 30px;
  }
  
  .div_flat_text,
  .div_round_text,
  .div_stitch_descrips {
    display: flex;
    line-height: 1.8rem;
    height: 100%;
    flex-grow: 1;
    padding: 0rem 0.05rem 0rem 0.05rem;
  }

  .div_right_side_text {
    display: flex;
    line-height: 1.6rem;
    height: 100%;
    flex-grow: 1;
    padding: 0rem 0.05rem .5rem 0.05rem;
    font-style: italic; 
    font-size: .95rem;
  }
    
  .div_chart {
    display: flex;
    
    flex-shrink: 0; /* if you let it shrink, it is squished on the phone, so set flex-shrink to zero (aka: no, false) */
    /* flex-grow: 1;  THIS DISTORTS IT ON LRG SCREEN AND DOES NOT STOP SM SCREEN FROM SQUISHING*/
  
    flex-grow: 0;
  
    overflow-x: auto;
  }
  
  .chart_canvas {
    display: flex;
    flex-shrink: 0; /* if you let it shrink, it is squished on the phone */
  
    /* flex-grow: 0; not helping phone chart looking fuzzy */
  
    /* flex-basis: auto; */
    /* width: fit-content; this squishes it*/
  }
  
  #legendWrapper {
    overflow-x: auto;
  }

  .chart_legend {
    display: flex;
    flex-grow: 1;
  }
  
  .chart_right_side {
    display: flex;
    flex-grow: 1;
    margin-top: 1rem;
  }

  .how_to_read_chart {
    font-size: .9rem;
    color: red;
    font-style: italic;	
    cursor: pointer;
    padding-top: 30px;
  }
  
  .attributes_explained {
    font-size: .9rem;
    color: red;
    font-style: italic;	
    cursor: pointer;
    padding-left: 25px;
    padding-bottom: 15px;
  }
  /* ----- start of new stuff for svg-resizeable chart ----- */

  .chart_grid_container {
    display: grid;
    grid-template-columns: repeat(var(--numOfCols), var(--cellWidth)); 
    width: fit-content;
    width: -moz-fit-content; /* needed for firefox */
    gap: 0px; 
  }

  .chart_grid_item {
    /* align-self: center; needed to remove this for safari */
    /* background-color: var(--lightText); putting in shaded bkgrnd */
    border: 1px solid black;
    height: var(--cellHeight);
    width: 100%;
  }
  
  .col_header {
    align-self: center;
    /* background-color: var(--lightBackground); adding shaded bkgrnd to chart */ 
    /*color: white;  because the numbers are svgs, color has no impact on the text */
    gap: 0;
    height: auto;  /* height: auto works on both Safari and Chrome */  
    width: 100%;
  }
  
  .legend_text {
    align-self: center;
    /* background-color: var(--lightBackground); */
    vertical-align: middle;
    height: 1rem;
    width: fit-content;
    width: 600px;
  }
  
  .slide_container {
    display: flex;
    flex-direction: row;
    padding: 5px;
    align-items: center;
  }
  
  .span_shrink_or_grow {
    display: flex;
    cursor: pointer; 
    font-size: 3rem;
    color: #490668;
    align-self: baseline;
    padding: 0px 10px;
  }
  
  .slider {
    display: flex;
    -webkit-appearance: none;
    width: 300px;
    /* height: 10px; */
    height: 15px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: 0.2s;
    transition: opacity 0.2s;
    margin: 10px 0px 10px 0px;
  }
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    /* width: 15px;
    height: 15px; */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #490668;
    cursor: pointer;
  }
  
  .slider::-moz-range-thumb {
    /* width: 25px;
    height: 25px; */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #490668;
    cursor: pointer;
  }
  
  /* ----- end of new stuff for svg-resizeable chart ----- */
  
  
  /* chart which prints to the pdf */
  #chartToPDF {
    border: 1px solid #000000;
    background-color: #ffffff;
    width: 0;
    height: 0;
    margin: auto;
    width: auto;
    height: auto;
  }
  
  /* chart legend/key which prints to the pdf */
  #chartLegendToPDF {
    background-color: #ffffff;
    width: 0;
    height: 0;
    margin: auto;
    width: auto;
    height: auto;
  }

  #divSynonymsTable{
    display: grid;
    grid-template-columns: auto auto auto;
    padding: 10px;
    gap: 15px;
  }

  #divSynonymsTable input[type="radio"] {
    margin-right: 5px;
  }
  
  .div_choose_syns_btns {
    display: flex;
    margin: auto;
    padding: 0rem 0.5rem;
  }
  
  .choose_syn_btn {
    padding: 0px 5px;
  }
  
  /* start of the Chart Symbol Options */
  
  .div_chart_symbol_options {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    flex-grow: 0;
    flex-shrink: 1;
    height: fit-content;
    min-width: 394px;
    margin: auto;
    border: var(--darkBackground) solid 1px;
    background-color: var(--popupBkground);
  }
  
  /* end of the Chart Symbol Options */
    
  .div_pattern_text_editor {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    flex-grow: 0;
    flex-shrink: 1;
    height: fit-content;
    border: black solid 1px;
    background-color: var(--popupBkground);
    z-index: 5;
  }

  @media (min-width: 825px) {
    .div_pattern_text_editor {
      left: 0px;
      right: 0px;
      display: flex;
      flex-direction: column;
      flex-grow: 0;
      flex-shrink: 1;
      max-height: 100vh;
      overflow: auto;
      padding: 1.5rem;
      border: black solid 1px;
      background-color: var(--popupBkground);
    }
  } /* @media (min-width: 825px) */      

  .explain_editor {
    margin: auto;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  
  #spanPatternTextEditorInfo {
    line-height: 1.6rem;
    margin: auto;
  }
  
  .div_text_editor_btns {
    display: flex;
    margin-top: 15px;
  }
  
  #divRSandWSimgs {
    display: flex;
    flex-direction: column;
  }

  @media (min-width: 550px) {
    #divRSandWSimgs {
      display: flex;
      flex-direction: row;
    }
  }
  #elemUploadRS {
    display: flex;
    padding-right: 5px;
  }
  
  #elemUploadWS {
    display: flex;
  }
  
  /* styles for showing items in menu pop-up: Choose Chart Symbols */

  .symbol_options_grid_container {
    padding-top: 10px;
  }
  
  .symbol_option {
    background-color: var(--lightText); /* needs to be not transparent */
    border: 1px solid var(--darkBackground);
    margin: 5px;
    cursor: pointer;
    display: flex;
  }
  
  label > input:checked + img { /* (RADIO CHECKED) IMAGE STYLES */
    border:2px solid var(--highlightElem);
  }

  #spatAttrsList {
    width: fit-content;
  }

  .spat_attrs_section {
    display: flex;
    flex-direction: row;
    /* border-bottom: solid 1px; */
    padding-bottom: 10px;
    /* padding-top: 5px; */
    padding-left: 25px;
    width: fit-content;
    overflow: auto;
  }

  .spat_attrs_label {
    width: 160px;
    /* background-color: pink; */
    display: flex;
  }
  .spat_attrs_value {
    /* background-color: palegreen; */
    display: flex;
  }

  .attr_rb { 
    display: flex;
    font-size: 1rem; 
    font-weight: normal;
    padding-right: 15px;
  }
  #divMsgBeforeTranslate {
    line-height: 1.8rem;
    padding-top: 10px;
  }

  #spanMsgBeforeTranslate {
    display: flex;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
  }

  .copy_icon {
    height: 20px;
    width: 15px;
    margin-bottom: -3px;
    cursor: copy;
  }