@media all {html {font-size: 16px;}}
@media all and (max-width:1050px){html {font-size: 16px;}}
@media all and (max-width:1020.0px){html {font-size: 15.5px;}}
@media all and (max-width:990.0px){html {font-size: 15.0px;}}
@media all and (max-width:960.0px){html {font-size: 14.5px;}}
@media all and (max-width:930.0px){html {font-size: 14.0px;}}
@media all and (max-width:900.0px){html {font-size: 13.5px;}}
@media all and (max-width:870.0px){html {font-size: 13.0px;}}
@media all and (max-width:840.0px){html {font-size: 12.5px;}}
@media all and (max-width:810.0px){html {font-size: 12.0px;}}
@media all and (max-width:780.0px){html {font-size: 11.5px;}}
@media all and (max-width:750.0px){html {font-size: 11.0px;}}
@media all and (max-width:720.0px){html {font-size: 10.5px;}}
@media all and (max-width:690.0px){html {font-size: 10.0px;}}
@media all and (max-width:660.0px){html {font-size: 9.5px;}}
@media all and (max-width:630.0px){html {font-size: 9.0px;}}
@media all and (max-width:600.0px){html {font-size: 8.5px;}}
@media all and (max-width:570.0px){html {font-size: 8.0px;}}
@media all and (max-width:540.0px){html {font-size: 7.5px;}}
@media all and (max-width:510.0px){html {font-size: 7.0px;}}
@media all and (max-width:480.0px){html {font-size: 6.5px;}}
@media all and (max-width:450.0px){html {font-size: 6.0px;}}

* {
  margin: 0;
  padding: 0;
  line-height: 1.3;
  box-sizing: border-box;
  color: inherit;
  text-decoration: inherit;
}

body {
  text-rendering: optimizeLegibility;
font-feature-settings: 'kern' 1;

  text-rendering: optimizeLegibility;
font-feature-settings: 'liga' 1;

  font-family: "cooper-hewitt";
  font-size: 1.4rem;
  padding: 3rem;
  padding-top: 1rem;
  max-width: 1050px;
  margin: auto;
  background-color: white;
}

p {
  margin-bottom: 1em;
  line-height: 1.4;
}


li > p:last-child {
  margin-bottom: 0em;
}

#doc {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
     border: 0px solid blue
}


section, top-section {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
}

top-section {
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

section {
 flex-direction: column;
}

/* Begin tab system; adapted from https://linuxhint.com/html-tabs/ */

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tabs input[type="radio"] {
  display: none;
}

.tabs label {
  cursor: pointer;
  flex-grow: 1;
}

.tabs label.frontpage-bar-heading span {
  font-size: 108%; /* 90% of 120% */
}


.tabs input[type='radio'] + label.frontpage-bar-item {
  background-color: white; color: rgb(6, 121, 167); weight: bold;
}

.tabs input[type='radio'] + label.frontpage-bar-item:hover {
  opacity: 0.6;
}

.tabs input[type='radio']:checked + label.frontpage-bar-item {
  background-color: rgb(6, 121, 167); color: white; weight: bold;
}

.tabs input[type='radio']:checked + label.frontpage-bar-item:hover {
  opacity: 0.6;
}

.tab {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
  border-top: 1px solid rgb(6, 121, 167);
  width: 100%;
  color: gray;
  font-size: 90%;
  order: 1;
}

/* End tab system */

/* these two are to get the button layout at
   the top of the page to look reasonable */
@media not all and (max-width:460px) {
 top-section {
   flex-direction: row;
 }
}

@media all and (max-width:460px) {
 top-section {
   flex-direction: column;
 }
}

.logo-anchor {
  color: inherit;
  font: inherit;
  font-weight: inherit;
}
.logo-anchor:hover {
  opacity: 1;
}

.frontpage-card {
  box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)
}

.frontpage-button {
  border:none;
  display:inline-block;
  padding:8px 16px;
  vertical-align:middle;
  overflow:hidden;
  text-decoration:none;
  text-align:center;
  cursor:pointer;
  white-space:nowrap;
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  -khtml-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
}
.frontpage-button:disabled{cursor:not-allowed;opacity:0.3}

.frontpage-bar {
    display: flex;
    justify-content: space-between;
}

.frontpage-bar-heading {
  cursor:pointer;
  font-size:130%;
  color:white;
  text-align:center;
  width: 100%;
  padding: 1.256rem 0.5rem;
  background-color: rgb(6, 121, 167);
  border-top: 1px solid rgb(6, 121, 167);
}

.frontpage-bar-heading:hover {
  color: white;
}
.frontpage-bar-item {
    font-family: "cooper-hewitt";
    font-size: 100%;
    text-align: center;
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
    flex: auto;
}

.expander {
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    border: 1px solid white;
}

.feature {
    height: 100%;
}

.lang {
    ~height: 11.5rem;
    height: 21rem;
}

.expander > div {
    width: 100%;
}

.expander:hover {
    border-color: gray;
}

.expander > .inner {
    flex: 1;
    overflow: hidden;
    background: white;
    color: black;
    transition: opacity 0.3s ease;
    font-size: 90%;
    line-height: 1.5;
    pointer-events: none; /* to prevent it from being clickable while invisible */
}

.expander > .inner,
.expander > p {
    letter-spacing: 0.02em;
}

.feature > .inner {
    opacity: 0;
}

.lang > .inner {
    padding: 0.5rem;
    padding-top: 0;
    padding-bottom: 0.25rem;
    opacity: .5;
}

.lang .click-here {
  opacity: 0;
  font-size: 80%;
  margin-left: 1rem;
}

.lang:hover .click-here {
  opacity: 0.8;
}

.lang.active_expander:hover .click-here {
  opacity: 0;
}

.feature:hover > .inner,
.active_expander:hover > .inner {
    opacity: 1;
    pointer-events: auto;
}

.active_expander:hover {
    border: 1px solid gray;
}

.active_expander.feature {
    height: 100%;
}

.active_expander.lang {
    height: 100%;
}

.expander > .name {
    color: black;
    background: rgba(100%, 100%, 100%, 0.7);
    border-bottom: none;
}

.feature > div { 
    padding: 0.8rem;
    padding-top: 0.5rem;
    padding-bottom: 0.25rem
}

.lang > .name {
    padding: 0.25rem;
    font-size: 90%;
    font-family: fira-mono;
    font-weight: bolder;
}

ul.doclinks {
column-count: 2;

}

ul.doclinks li {
  display: inline-block;
  width: 100%;
  margin-bottom: 0.25em;
}


div#f1 {
    height: 14rem;
    background: white
    background-size: 100%;
    background-repeat: no-repeat;
}

div#f2 {
    height: 14rem;
    background: white
    background-size: 100%;
    background-repeat: no-repeat;
}

div#f3 {
    height: 14rem;
    background: white
    background-size: 100%;
    background-repeat: no-repeat;
}

div#f4 {
    height: 14rem;
    background: white
    background-size: 100%;
    background-repeat: no-repeat;
}

div#f5 {
    height: 14rem;
    background: white
    background-size: 100%;
    background-repeat: no-repeat;
}

div#f6 {
    height: 14rem;
    background: white
    background-size: 100%;
    background-repeat: no-repeat;
}


.top-button {
  border: 1px solid rgb(6, 121, 167);
  color: rgb(6, 121, 167);
  border-radius: 0.3rem;
  padding: 0.2rem 0.4em;
  font-family: fira-mono;
  letter-spacing: 0.05em;
  font-size: 80%;
  text-transform: uppercase;
  position: relative;
  top: -0.2rem;
}

a.top-button {
  font-weight: inherit;
}

.top-button + .top-button {
  margin-left: 0.3rem;
}

.top-button#download{
  background: rgb(6, 121, 167);
  color: #fafaff;
}

section#samples {
   align-items: flex-start;
}

section.one-column-body-text section-content > li {
  width: 100%;
}

section#pull-quote section-content > li {
  padding: 0.5em 0;
  color: #555;
  font-size: 120%;
}

section#logo * {
  margin-bottom: 0;
  padding-bottom: 0;
}

section#bottom, p#bottom {
  font-size: 70%;
}

section#bottom li a {
  display: inline;
}

section#bottom a {
  color: rgb(6, 121, 167);
}

section#book {
   align-items: flex-start;
  }

section {
  padding-top: 0.5rem;
  border-top: 1px solid rgb(6, 121, 167);
}

section-title, section-content {
  display: block;
  border: 0px solid green;
  margin-bottom: 0.5rem;
}

section-title + section-content {
  margin-left: 1rem;
}

section-title {
  width: 24rem;
  font-size: 105%;
  text-align: left;
  padding-right: 1rem;
}

section-content {
 display: flex;
 flex-direction: row;
 justify-content: space-between;
 flex-wrap: wrap;
 width: 100%;
  color:gray;
  font-size: 90%;
}

section-content > li {
  display: block;
  width: 49%;
  padding-bottom: 1rem;
  margin-bottom: 0rem;

}

/* selects lis in sections with a title */
section-title + section-content > li {
  width: 47%;
}


section#book section-content {

  flex-direction: row;
  flex-wrap: wrap;
}

img.logo {
  border: 0px solid green;
  display: inline-block;
  width: 1.15em;
  transform: translate(0,0.15em);
  margin-right: 0.25rem;
}

img.cover {
  width: 5rem;
  height: 6.2rem;
  float: left;
  margin-right: 1rem;
  opacity: 0.6;
}

div.book {
  display: flex;
  width: 50%;
}

code, pre {
  font-family: fira-mono;
}

pre {
  margin-bottom: 1em;
  font-size: 85%;
  line-height: 1.65;
}

.narrow {
  width: 400px;
}

pre a {
  font-weight: bolder;
}

download-button {
  display:inline-block;
  background: rgb(6, 121, 167);
  color: white;
  border: 0.5rem solid rgb(6, 121, 167);
  padding: 0.4rem;
  padding-bottom: 0rem;
}

.arrow-icon {
  background: rgb(6, 121, 167);
  color: white;
  display: inline-block;
}

empty-button {
 display:inline-block;
  border-top: 0.5rem solid white;
 padding-top: 0.4rem;
}
}

download-button:hover {
  opacity: 0.6;
}

download-button:active {
  opacity: 1;
}

a {
  color: rgb(6, 121, 167);
  font-weight: bolder;
}

#logo a {
  color: inherit;
  font-weight: inherit;
}

a:hover {
  opacity: 0.6;
}

a:active {
  opacity: 1;
}

a, a:hover {
  transition: color 0.2s;
}

.langwww{
  color: rgb(100,100,100);
}

.block-with-1em-margin {
    margin: 1em;
}

@media all and (max-width:650px) {
  html {font-size: 16px;}
  body {padding: 1rem;}
  section {flex-direction: column;}
  section-title {width: 100%; margin-bottom: 1rem;}
  section-content li {width: 100%;}
  .tabs .tab { display: block; }
  .disappearing {display: none;}
  section-title + section-content > li {width: 100%;}
  li > p {width: 95%}
  .lang .click-here { opacity: 0.8;}
  .lang.active_expander .click-here { opacity: 0;}
}

.contributormap {
  justify-content: space-around; align-items: center;
}

/* smartphones only */
@media all and (max-width:650px) {
  .tabs label.frontpage-bar-item {
    display: none;
  }

/* set max size for feature box to keep them all the same size */
  .feature { height : 8.5rem; }
  .feature > .inner {display: none;} /* prevents passthrough clicks */
  .active_expander.feature > .inner { display: block; }
  /* smartphones don't do hover effects, so provide fallback behavior */
  .active_expander > .inner {opacity: 1;}
  .expander, .expander:hover, .active_expander:hover {border-color: none;}
  .active_expander {border-color: gray;}
  .center-if-smartphone{ text-align:center; }
  .disappear-if-smartphone { display:none; }
  .scale-if-smartphone { width: 100% }
  .vertical-in-smartphones-horizontal-otherwise{ display:flex; flex-direction: column; }
  .smartphone-subheading { font-size: 125%; font-weight: bolder; }
  .top-section { flex-direction: column; }
  .contributormap {
     margin: 0 auto;
     width:300px;
     height:320px;
    }
  img.lop-image-rc8 {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height:auto;
  }
  img.lop-image {
    max-width: 100%;
    height:auto;
  }
  .margin-above-if-smartphone {
    margin: 6px 0 0 0;
  }
  .top-button {
    font-size: 50%;
    margin: -4px;
  }
  .translations-code-example-container { display:block; align-items: center; }
  .big-logo {
    margin-left: auto; margin-right: auto;
    margin-top: 20px; margin-bottom: 30px;
    width: 275px; height: 275px;
  }
}

/* non smartphones */
@media not all and (max-width:650px) {
  .tabs .tab {
    display: none;
  }

  .tabs input[type='radio']:checked + label + .tab {
    display: block;
  }

  /* this causes the non-initial menu content to be hidden
     in regular mode, visible in smartphone mode */
  .frontpage-bar-nowrap-unless-smartphone {
     white-space:nowrap;
  }
  .smartphone-only { display: none; }
  .vertical-in-smartphones-horizontal-otherwise{ display:flex; flex-direction: row; }
  .contributormap {
    margin: 0 auto;
    width:640px;
    height:480px;
  }
  img.lop-image-rc8 {
    margin-left: auto;
    margin-right: auto;
    width: 550px;
    height: 318px;
  }
  .translations-code-example-container {
    display:flex;
    align-items: center;
    justify-content:center;
    flex-direction: row;
  }
  .big-logo {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-right: 50px; margin-top: 20px; width: 275px; height: 275px;
  }
  .code-to-right-of-big-logo {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .individuals-outer-div {
     display: flex;
     flex-direction: horizontal;
     width:200%
  }
  .individuals-right-div {
     padding: 0px 0px 0px 40px;
  }
  .individuals-left-div {
     padding: 0px 40px 0px 0px;
  }
}

}
