@font-face {
    font-family: "ROBOTO-MONO";
    src: url(/fonts/RobotoMono-VariableFont_wght.ttf) format("truetype");
}

@font-face {
    font-family: "Virgil";
    src: url(/fonts/Virgil.woff2) format("woff2");
}

.note_important {
    border-left: 4px solid red;
    padding-left: 1rem;
}

.note_important p > b:first-child {
    color: red;
}

.note_tip {
    border-left: 4px solid green;
    padding-left: 1rem;
}

.note_tip p > b:first-child {
    color: green;
}

.note_regular, note_regular {
    border-left: 4px solid #0000aa;
    padding-left: 1rem;
}

.note_regular p > b:first-child, note_regular::before {
    color: #0000aa;
}

note_regular, note_important, note_tip {
    display: block;
    margin-bottom: 1em;
    border-left: 4px solid #0000aa;
    padding-left: 1rem;
}

note_regular::before, note_important::before, note_tip::before {
    font-weight: bold;
}

note_regular {border-color: #0000aa}
note_tip {border-color: #008000}
note_important {border-color: #ff0000}

note_regular::before {content: "NOTE:"; color: #0000aa}
note_tip::before {content: "TIP:"; color: #008000}
note_important::before {content: "IMPORTANT:"; color: #ff0000}

header_path {
    color: #a5a5b0;
    font-weight: bold;
    text-transform: uppercase;
    font-size: .85rem;
}

header_path a {
    color: #a5a5b0;
}

#side_menu {
    background: #fafafa;
    width: calc(25% - 30px);
    min-width: calc(25% - 30px);
    max-width: calc(25% - 30px);
    padding: 20px;
    border-radius: 5px;
    margin-right: 30px;
}

#side_menu a {
    display: block;
    cursor: pointer;
    color: #555;
    text-decoration: none;
    border: 0;
    outline: 0;
    padding: .4em 0;
}

#side_menu a:first-child {
    color: black;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: .5em;
}

#side_menu h5 {
    cursor: pointer;
}

#side_menu a:hover {
    color: black;
}

#side_menu a.selected {
    color: #0255ae;
}

#side_menu label {
    display: inline-block;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.95rem;
    color: #1f324f;
    margin: .7em 0;
}

#main_content {
    background: #fafafa;
    padding: 20px;
    border-radius: 5px;
    width: 75%;
    color: #333;
    line-height: 1.8em;
}

#main_content img {
    max-width: 100%;
    margin-bottom: 1em;
}

h1 {
    margin-bottom: .6em;
}

h2 {
    margin: 1.5em 0 .9em 0;
}

h3, h4 {
    margin: 1.3em 0 .8em 0;
}

.page_header_option.help {
    color: #dde2f0;
}

.command_usage, inline_code {
    border: 1px solid #999;
    border-radius: 4px;
    background-color: #eee;
    color: #444;
    font-family: "ROBOTO-MONO", monospace;
    padding: 0 1px;
}

pre {
    overflow-x: auto;
    border: 1px solid #999;
    border-radius: 4px;
    background-color: #eee;
    color: #444;
    padding-left: 8px;
    line-height: 1.5em;
    font-size: .9rem;
}

toc::before {
    margin-bottom: .5rem;
    display: block;
    content: "TABLE OF CONTENTS:";
    color: #1f324f;
    font-weight: bold;
    font-size: .95rem;
}

toc > ul {
    padding: 0;
    margin: 0;
}

ul.learn_more {
    padding: 0;
    margin-left: 1em;
    margin-top: 2.4em;
}

ul.learn_more::before {
    content: "LEARN MORE:";
    font-weight: bold;
    font-size: .9rem;
    color: #1f324f;
    line-height: 3em;
}

#user_group_limits_table {
    background: rgb(245, 245, 245);
    border: 1px solid #aaa;
    border-radius: 4px;
    font-size: 18px;
}


#user_group_limits_table .header {
    font-weight: bold;
}

#user_group_limits_table .column {
    padding-right: 10px;
    padding-left: 10px;
}

#user_group_limits_table .column.c1 .cell, 
#user_group_limits_table .column.c2 .cell, 
#user_group_limits_table .column.c4 .cell
{
    white-space: pre;
}

#subscription_plan_labels .name {
    text-align: center;
    border-radius: 4px;
    margin-bottom: 8px;
    font-weight: bold;
    background: #eee;
    padding-left: 4px;
    padding-right: 4px;
    border: 1px #bbb solid;
}

#subscription_plan_labels .body {
    text-align: center;
    border-radius: 4px;
    background: #eee;
    padding-left: 8px;
    padding-right: 8px;
    white-space: nowrap;
    border: 1px #bbb solid;
}

.subscription_plan_selector {
    padding-left: 5px;
    padding-right: 5px;
    min-width: 160px;
}

.subscription_plan_selector .name {
    text-align: center;
    border-radius: 4px;
    margin-bottom: 8px;
    font-weight: bold;
    background: #434d5c;
    color: white;
    border: 1px #bbb solid;
}

.subscription_plan_selector .body {
    text-align: center;
    border-radius: 4px;
    background: #d0cee4;
    border: 1px #bbb solid;
}

.subscription_plan_selector .arrow {
    color: transparent;
}

.subscription_plan_selector.active .name {
    background: #df7426;
}

.subscription_plan_selector.active .body {
    background: #f9dbc0;
}

.subscription_plan_selector.active .arrow {
    color: #df7426;
}

#os_restrictions_table {
    display: flex;
    width: 100%;
    flex-direction: column;
    font-size: 16px;
    background: #eee;
    border: 1px solid #999;
    border-radius: 4px;
    padding: 8px;
    overflow: auto;
}

#os_restrictions_table .row {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-bottom: 10px;
}

#os_restrictions_table .row:nth-child(1) {
    font-weight: bold;
}

#os_restrictions_table .col:nth-child(1) {
    min-width: 210px;
}

#os_restrictions_table .col:nth-child(2) {
    min-width: 130px;
}

#os_restrictions_table .col:nth-child(3) {
    min-width: 300px;
}

#os_restrictions_table .col:nth-child(4) {
    min-width: 200px;
}

#ampl_examples_table {
    display: flex;
    width: 100%;
    flex-direction: column;
}

#ampl_examples_table .row {
    display: flex;
    flex-direction: row;
    margin-bottom: 8px;
    width: 100%;
    flex-wrap: nowrap;
}

#ampl_examples_table .col {
    flex-grow: 1;
}

#ampl_examples_table .col:nth-child(1) {
    min-width: 75%;
}

code_snippet {
    display: block;
    white-space: pre;
    font-family: "ROBOTO-MONO", monospace;
    border: 1px solid #888;
    background: #f4f4f4;
    border-radius: 4px;
    padding-left: 0.5rem;
    margin-bottom: 1rem;
    font-size: .9rem;
    overflow: auto;
    line-height: 1.4;
}

code_snippet line {
    display: block;
}

statement_anatomy_container {
    display: block;
    overflow: auto;
    font-size: 1rem;
    white-space: nowrap;
}

statement_anatomy {
    display: flex;
    width: 100%;
    justify-content: center;
    font-weight: bold;
    font-family: "ROBOTO-MONO", monospace;
}

statement_anatomy part {
    position: relative;
    display: inline-block;
    padding: 0 .3rem;
}

statement_anatomy part:first-child {
    border-radius: 4px 0 0 4px;
}

statement_anatomy part:last-child {
    border-radius: 0 4px 4px 0;
}

statement_anatomy label_container {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 50%;
    top: 100%;
}

statement_anatomy label_link {
    border-right: 2px solid black;
    height: .5em;
}

statement_anatomy label {
    font-family: "Ubuntu", Arial, Helvetica, sans-serif;
    white-space: nowrap;
    font-size: .9em;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    padding: 0 .2rem;
    color: #55556f;
}

statement_anatomy label_container.right {
    align-items: flex-start;
    left: 50%;
}

statement_anatomy label_container.right label {
    border-right: unset;
    border-left: 2px solid black;
}

statement_anatomy part.red {
    background: #dd9fbc;
}

statement_anatomy part.green {
    background: #84e184;
}

statement_anatomy part.blue {
    background: #8faef7;
}

statement_anatomy part.yellow {
    background: #f0f08e;
}

statement_anatomy part.orange {
    background: #ffaa80;
}

statement_anatomy part.grey {
    background: #ddd;
}

statement_anatomy part.cyan {
    background: #8ef0cb;
}

statement_anatomy label_link.x2 {
    height: 2.2em;
}

statement_anatomy label_link.x3 {
    height: 4.2em;
}

statement_anatomy .red * {
    border-color: #dd9fbc !important;
}

statement_anatomy .green * {
    border-color: #84e184 !important;
}

statement_anatomy .blue * {
    border-color: #8faef7 !important;
}

statement_anatomy .yellow * {
    border-color: #f0f08e !important;
}

statement_anatomy .orange * {
    border-color: #ffaa80 !important;
}
    
statement_anatomy .cyan * {
    border-color: #8ef0cb !important;
}

reference_table {
    display: block;
    width: 100%;
}

reference_table inline_code {
    font-size: .9rem;
}

reference_table table_row {
    display: flex;
    width: 100%;
    margin: .8rem 0;
}

reference_table table_row.header {
    border-top: 1px solid #999999;
    padding-top: .4rem;
}

reference_table table_row.header *:not(inline_code) {
    font-weight: bold;
    font-size: .9rem;
    color: #55556f;
}

reference_table table_column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

reference_table table_column:nth-child(1) {
    width: 600px;
    font-weight: bold;
    margin-right: 2rem;
}

reference_table table_column:nth-child(2) {
    width: 100%;
}

reference_table description {
    font-weight: initial;
    font-size: .94rem;
}

reference_table footnotes {
    display: block;
    border-top: 1px solid #bbbbbb;
    padding-top: .5rem;
    font-size: .8em;
}

.reference_table {
    border-top: 1px solid #ccc; 
    gap: 1em 2em; 
    --header-text-transform: uppercase; 
    --header-font-weight: bold; 
    --header-font-size: .9rem; 
    --header-color: #55556f;
    --c1: max-content; 
    --c1-font-weight: bold; 
    --c1-font-size: .9rem; 
    --c1-line-height: 1.5
}

.reference_table .json_type {
    display: block;
    font-size: .75rem;
    font-weight: bold;
    padding-left: .4em;
    color: #666;
}

.reference_table pre {
    margin: .2em 0;
}

table2col {
    display: grid;
    grid-gap: 1.2em;
    grid-template-columns: auto auto;
    line-height: 1.4em;
}

table2col > *.header {
    text-transform: uppercase;
    font-weight: bold;
    font-size: .9rem;
    color: #55556f;
}

table2col.col1bold > *:nth-child(2n+1) {
    font-weight: bold;
}

/* Tablet View */
@media(max-width: 1126px) {
  statement_anatomy_container {
    font-size: 1.2vw;
  } 
}

@media(max-width: 1024px) {
  #side_menu {
    display: none;
  }

  #main_content {
    margin-left: 0px;
    width: 100%;
  }
}

@media(max-width: 750px) {
  statement_anatomy_container {
    font-size: 1rem;
  }
  
  statement_anatomy {
    margin-bottom: 1rem !important;
    justify-content: flex-start;
  }
  
  statement_anatomy label_container {
    display: none !important;
  }
  
  reference_table table_row {
      display: block;
  }
  
  reference_table table_column:nth-child(1) {
      width: 100% !important; 
  }
  
  reference_table table_row.header table_column:nth-child(2) {
      display: none;
  }
}

@media(max-width: 600px) {
  assignment_anatomy {
    font-size: 2.5vw;
  }
}

/* Phone View */
@media(max-width: 500px) {
  #ampl_examples_table .col:nth-child(2) {
      display: none;
  }
  
  table2col {
    grid-template-columns: auto;
    gap: .5em 0;
  }
  
  table2col > *.header:not(:nth-child(2n+1)) {
    display: none;
  }
  
  table2col > *:not(:nth-child(2n+1)) {
    margin-bottom: 1.4em;
  }
}










