/* RESET (REBOOT) */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#wrapper {
  max-width: 800px;
}

@-ms-viewport {
  width: device-width;
}
article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
}

[tabindex="-1"]:focus {
  outline: none !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

abbr[title],
abbr[data-original-title] {
  text-decoration: underline;
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}

dt {
  font-weight: 700;
}

dd {
  margin-bottom: .5rem;
  margin-left: 0;
}

blockquote {
  margin: 0 0 1rem;
}

dfn {
  font-style: italic;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

a {
  color: theme-color("primary");
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}
a:hover {
  color: #0056b3;
  text-decoration: underline;
}

a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none;
}
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
  color: inherit;
  text-decoration: none;
}
a:not([href]):not([tabindex]):focus {
  outline: 0;
}

pre,
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

pre {
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
  -ms-overflow-style: scrollbar;
}

figure {
  margin: 0 0 1rem;
}

img {
  vertical-align: middle;
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

a,
area,
button,
[role="button"],
input:not([type="range"]),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}

table {
  border-collapse: collapse;
}

caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #868e96;
  text-align: left;
  caption-side: bottom;
}

th {
  text-align: inherit;
}

label {
  display: inline-block;
  margin-bottom: .5rem;
}

button {
  border-radius: 0;
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

input[type="radio"],
input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
  -webkit-appearance: listbox;
}

textarea {
  overflow: auto;
  resize: vertical;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: .5rem;
  font-size: 1.5rem;
  line-height: inherit;
  color: inherit;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  outline-offset: -2px;
  -webkit-appearance: none;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

output {
  display: inline-block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none !important;
}

/* END REBOOT */

#header, #meta {
  background: #0b7d9d;
  color: white;
  display: block;
  position: fixed;
  z-index: 100;
  box-sizing: border-box;
  width: 100%;
  text-indent: 0;
  line-height: 1;
  text-shadow: none;
}

/*header a:focus, #meta a:focus {
  outline: none;
}*/

#header {
  font-size: 16px!important;
  left: 0;
  padding: 5px!important;
  top: 0;
}

#header label {
  font-weight: 400;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  display: inline;
  color: #fff;
}

#header #style {
  color: #333;
  font-size: 14px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 1px;
}

header div {
  line-height: 1;
}

.headerleft {
  float: left;
}

.themelinks {
  display: inline;
  text-align: center;
  margin: 0 10px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
  text-indent: 0;
}

#header input {
  -webkit-appearance: checkbox !important;
}

.themelinks a {
  background: #666;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  font-weight: 700;
  line-height: 1 !important;
  margin-right: 4px;
  transition: background .2s linear;
}

.themelinks a:link,
.themelinks a:active,
.themelinks a:hover,
.themelinks a:visited {
  color: #fff;
  border: none;
  outline: none;
  text-shadow: none;
  text-decoration: none;
}

.themelinks a:hover {
  background: #888;
}

#header nav {
  float: right;
  font-size: 16px;
  line-height: 1;
}

#header a,
#meta nav a {
  color: #fff!important;
  font-family: Helvetica, Arial, sans-serif;
  text-decoration: none;
  font-weight: 600;
  display: block;
  float: left;
  line-height: 1;
  padding: 4px 8px 2px;
  background: none;
  border: none;
  border-radius: 8px;
  text-shadow: none;
  box-shadow: none;
  transition: background .2s linear, color .2s linear;
}

#header nav a:hover,
#meta nav a:hover {
  background: rgba(0, 0, 0, .25);
  border: none;
  box-shadow: none;
  text-decoration: none;
}

#header nav a:focus,
#meta nav a:focus {
  outline: auto;
  text-decoration: none;
  border: none;
}

#header .addtomarked::before,
#header .themedownload::before {
    background-repeat: no-repeat;
    background-size: contain;
    content: ' ';
    display: block;
    float: left;
    height: 20px;
    margin-right: 4px;
    position: relative;
    top: -2px;
    width: 20px;
}

#header .addtomarked::before {
  background-image: url(images/add-to-marked-circle.svg);
}

#header .addtomarked:hover::before {
  background-image: url(images/add-to-marked-circle-hover.svg);
}

#header .themedownload::before {
  background-image: url(images/inspect.svg);
}

#header .themedownload:hover::before {
  background-image: url(images/inspect-hover.svg);
}

#header .addtomarked.waiting::before {
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj48c3ZnIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KICAgICAgI2MgewogICAgICAgIGZpbGw6IHRyYW5zcGFyZW50OwogICAgICAgIHN0cm9rZTogI2ZmZmZmZjsKICAgICAgICBzdHJva2Utd2lkdGg6IDQ7CiAgICAgICAgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOwogICAgICAgIHN0cm9rZS1kYXNoYXJyYXk6IDYyLjg7CiAgICAgICAgdHJhbnNmb3JtLW9yaWdpbjogMTBweCAxMHB4IDA7CiAgICAgICAgYW5pbWF0aW9uOiBzcGlubmVyIDJzIGxpbmVhciBpbmZpbml0ZTsKICAgICAgfQoKICAgICAgQGtleWZyYW1lcyBzcGlubmVyIHsKICAgICAgICAwJSB7CiAgICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgwZGVnKTsKICAgICAgICAgIHN0cm9rZS1kYXNob2Zmc2V0OiAxMy4yOwogICAgICAgIH0KICAgICAgICA1MCUgewogICAgICAgICAgdHJhbnNmb3JtOiByb3RhdGUoNzIwZGVnKTsKICAgICAgICAgIHN0cm9rZS1kYXNob2Zmc2V0OiA2Mi44OwogICAgICAgIH0KICAgICAgICAxMDAlIHsKICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKDEwODBkZWcpOwogICAgICAgICAgc3Ryb2tlLWRhc2hvZmZzZXQ6IDEzLjI7CiAgICAgICAgfQogICAgICB9CgogICAgPC9zdHlsZT4KICAgIDxjaXJjbGUgaWQ9ImMiIGN4PSIxMCIgY3k9IjEwIiByPSI4Ij48L2NpcmNsZT4KPC9zdmc+Cg==');
}

#header a.backbutton {
  background-image: url(images/grid.svg);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 0;
  direction: ltr;
  display: block;
  height: 20px;
  margin-right: 2px;
  margin-top: 1px;
  text-indent: -50000px;
  width: 20px;
}

#header a.backbutton:hover {
  background-image: url('images/grid-hover.svg');
}

#meta {
  padding: 2px 50px;
  bottom: 0;
  left: 0;
  min-height: 50px;
}

#meta .info {
  width: 60%;
  float: left;
}

#meta p {
  font-size: 14px!important;
  font-family: "Helvetica Neue", Arial, Helvetica!important;
  color: #aaa;
  font-weight: 400;
  line-height: 1;
  margin: 4px 0 7px 0;
  padding: 0;
}

#meta p span {
  color: #eee;
  font-size: 14px!important;
}

#meta span.title {
  font-weight: 700;
}

#meta a:link,
#meta a:visited {
  color: #eee;
  border: none;
  outline: none;
  text-shadow: none;
  text-decoration: none;
  background: none;
  font-weight: 600;
}

#meta a:hover,
#meta a:active {
  color: #fff;
}

#meta nav {
  float: right;
  padding: 0;
  margin: 10px 0 0;
  font-size: 14px;
}

body #wrapper {
  border-left: 1px solid rgba(0,0,0,.15);
  padding: 50px 0 80px 40px;
  margin: 0 auto !important;
}

#wrapper .elementType {
  height: 0;
  margin: 0;
  padding: 0;
  position: relative;
}

#wrapper .elementType span {
  background: rgba(11, 125, 157, .15);
  border-radius: 5px 0 0 5px;
  border: dotted 1px rgba(11, 125, 157, .5);
  box-sizing: content-box;
  color: rgba(0,0,0,.5);
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  left: -158px;
  line-height: 1;
  padding: 2px 8px;
  position: absolute;
  text-align: right;
  text-indent: 0;
  text-transform: lowercase;
  width: 100px;
}

.inverted #wrapper .elementType span {
  background: rgba(11, 125, 157, .7);
  border: dotted 1px rgb(11, 125, 157);
  color: rgba(255,255,255,.6);
}

@media (max-width:1060px) {
  body #wrapper {
    padding-left: inherit;
    border-left: inherit;
  }

  #wrapper .elementType {
    height: auto;
  }

  #wrapper .elementType span {
    position: static;
    border-radius: 5px;
  }
}

.outlines #wrapper h1,
.outlines #wrapper h2,
.outlines #wrapper h3,
.outlines #wrapper h4,
.outlines #wrapper h5,
.outlines #wrapper h6,
.outlines #wrapper p,
.outlines #wrapper ul,
.outlines #wrapper ol {
  outline: solid 1px rgba(0,0,0,.25);
}

#stylepreviews {
  font-size: 16px;
  font-family: 'Fira Sans', Avenir, "Helvetica Neue", Arial, sans-serif;
}

.installexample {
  background-image: url(images/add-to-marked-circle-hover.svg);
  background-repeat: no-repeat;
  padding-left: 24px;
  color: #0b7d9d;
  background-size: contain;
}

#previews {
  padding: 20px;
  text-align: center;
}

#previews p {
  max-width: 60ch;
  margin: 1em auto;
}

.previews {
  list-style: none;
  margin: 3em 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.preview {
  width: 100%;
  margin-bottom: 10px;
  max-width: 400px;
  text-align: left;
  position: relative;
}

.preview img {
  max-width: 100%;
  height: auto;
}

@media screen and (min-width: 900px) {
  .preview {
    width: 50%;
  }
}

@media screen and (min-width: 1300px) {
  .preview {
    width: 33%;
  }
}

.preview h3 {
  background: #333;
  color: #eee;
  display: block;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  overflow: hidden;
  padding: 0 80px 0 .5em;
  text-overflow: ellipsis;
  white-space: pre;
}

.preview h3 a {
  color: #eee;
  display: block;
}

.preview .actions {
  opacity: 0;
  position: absolute;
  right: 0;
  top: -40px;
  line-height: 2.3;
}

.preview:hover .actions {
    opacity: 1;
    top: 0;
    transition: opacity .3s linear, top .3s linear;
}

.actions .button-preview,
.actions .button-add {
  -webkit-appearance: none;
  background-color: transparent;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
  border: none;
  margin: 0;
  text-indent: -50000px;
  direction: ltr;
  width: 25px;
}

.actions .button-preview {
  background-image: url('images/preview-circle.svg');
}

.actions .button-preview:hover,
.actions .button-preview:focus {
  background-image: url('images/preview-circle-hover.svg');
  outline: none;
}

.actions .button-add {
  background-image: url('images/add-to-marked-circle.svg');
  margin: 0 5px;
}

.actions .button-add:hover,
.actions .button-add:focus {
  background-image: url('images/add-to-marked-circle-hover.svg');
  outline: none;
}

.actions .button-add.waiting {
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj48c3ZnIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KICAgICAgI2MgewogICAgICAgIGZpbGw6IHRyYW5zcGFyZW50OwogICAgICAgIHN0cm9rZTogI2ZmZmZmZjsKICAgICAgICBzdHJva2Utd2lkdGg6IDQ7CiAgICAgICAgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOwogICAgICAgIHN0cm9rZS1kYXNoYXJyYXk6IDYyLjg7CiAgICAgICAgdHJhbnNmb3JtLW9yaWdpbjogMTBweCAxMHB4IDA7CiAgICAgICAgYW5pbWF0aW9uOiBzcGlubmVyIDJzIGxpbmVhciBpbmZpbml0ZTsKICAgICAgfQoKICAgICAgQGtleWZyYW1lcyBzcGlubmVyIHsKICAgICAgICAwJSB7CiAgICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgwZGVnKTsKICAgICAgICAgIHN0cm9rZS1kYXNob2Zmc2V0OiAxMy4yOwogICAgICAgIH0KICAgICAgICA1MCUgewogICAgICAgICAgdHJhbnNmb3JtOiByb3RhdGUoNzIwZGVnKTsKICAgICAgICAgIHN0cm9rZS1kYXNob2Zmc2V0OiA2Mi44OwogICAgICAgIH0KICAgICAgICAxMDAlIHsKICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKDEwODBkZWcpOwogICAgICAgICAgc3Ryb2tlLWRhc2hvZmZzZXQ6IDEzLjI7CiAgICAgICAgfQogICAgICB9CgogICAgPC9zdHlsZT4KICAgIDxjaXJjbGUgaWQ9ImMiIGN4PSIxMCIgY3k9IjEwIiByPSI4Ij48L2NpcmNsZT4KPC9zdmc+Cg==);
}

.preview a {
  color: #666;
  text-decoration: none;
}

.preview figure {
  background: #fafafa;
  border: solid 1px #ccc;
  border-radius: 5px;
  box-shadow: 3px 3px 4px rgba(0,0,0,.25);
  height: 100%;
  margin: 0;
  overflow: hidden;
  transform: scale(1);
  transition: transform .1s linear, box-shadow .1s ease-out;
}

.preview:hover {
  z-index: 10;
}

.preview:hover figure {
  transform: scale(1.1);
  box-shadow: 3px 3px 15px rgba(0,0,0,.15);
}

.preview figcaption {
  padding: 10px;
}

.preview p {
  margin: 0 0 .5em 0;
  font-size: 14px;
}

.preview .description {
  background: #fff;
  border: solid 1px #ccc;
  padding: 5px;
  border-radius: 5px;
  word-break: break-word;
  line-height: 1.5;
}
