/*

     Yes... yes. This is a fertile land, and we will thrive.
          We will rule over all this land, and we will call it...
                            This Land.

                                           Wash, Firefly.

*/

/* YUI 3.18.1 (build f7e7bcb) */
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}

/*********/
/* Fonts */
/*********/

@font-face {
  font-family: "Bitter";
  src: url("/styles/6/Bitter.ttf") format("truetype");
}

/*************/
/* Variables */
/*************/

:root {

  --alfred-purple:         #602b87;
  --alfred-purple-dark:    #57237c;
  --alfred-teal:           #2d8795;
  --alfred-teal-dark:      #247686;
  --alfred-link:           #30a4b9;

  --text-color:            #ddd;

  --site-background:       #1a1a1c;
  --site-main:             hsl(from var(--site-background) h s calc(l * 1.2));
  --site-main-box:         hsl(from var(--site-background) h s calc(l * 1.5));
  --site-main-box-lighter: hsl(from var(--site-background) h s calc(l * 2.0));
  --site-main-box-divider: hsl(from var(--site-background) h s calc(l * 2.6));

  --site-main-max-width:   1140px;

  --site-header:           var(--alfred-purple-dark);
  --site-header-hover:     rgba(0, 0, 0, 0.2);

}

/******************/
/* General Styles */
/******************/

::selection  { background: var(--alfred-teal-dark); }

html         { font-family: -apple-system, sans-serif; color: var(--text-color); background: var(--site-background); min-width: 300px; }
body         { padding: 0px; -webkit-text-size-adjust: none; text-size-adjust: none; }
a, a code    { color: var(--alfred-link); text-decoration: none; }
h1           { font-family: "Bitter", serif; font-size: 2.6em; font-weight: 500; margin-bottom: 0.7em; }
h2           { font-family: "Bitter", serif; font-size: 2.0em; font-weight: 500; margin-bottom: 0.7em; }
h3           { font-family: "Bitter", serif; font-size: 1.6em; font-weight: 500; margin-bottom: 0.7em; }
h4           { font-family: "Bitter", serif; font-size: 1.3em; font-weight: 500; margin-bottom: 0.7em; }
p            { line-height: 1.6em; margin-bottom: 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
sup, sub     { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup          { top: -0.42em; }
sub          { bottom: -0.2em; }
hr           { border: 0; height: 1px; background: linear-gradient(to right, rgba(0, 0, 0, 0), var(--site-main-box-divider) 10%, var(--site-main-box-divider) 90%, rgba(0, 0, 0, 0)); margin: 30px 0; }
li           { margin: 0.8em 0 0.8em 30px; line-height: 1.4em; }
ol           { line-height: 140%; margin: 1.4em 0; list-style: decimal; }
ul           { line-height: 140%; margin: 1.4em 0; list-style: disc; }
em           { font-style: italic; }
strong       { font-weight: bold; }
img          { max-width: 100%; }
pre          { overflow-x: auto; padding: 14px 20px; background: hsl(0 100% 100% / 0.05);  font-family: "Menlo", monospace; font-size: 0.88em; color: #404040; margin: 1.6em 0; border-radius: 8px; position: relative; }
code         { background: hsl(0 100% 100% / 0.1); padding: 3px 5px; font-family: "Menlo", monospace; font-size: 0.88em; color: #fff; border-radius:4px; white-space: nowrap; }
pre > code   { color: white; background: none; padding: 0; white-space: pre; }
kbd          { background: hsl(0 100% 100% / 0.14); border: solid 1px hsl(0 100% 100% / 0.2); box-shadow: 0 1px hsl(0 100% 100% / 0.2); border-radius: 3px; min-width: 12px; text-align: center; padding: 2px 5px; margin: 0 2px; font-family: -apple-system, sans-serif; }
blockquote   { background: hsl(0 100% 100% / 0.07); padding: 18px; margin: 1.6em 0; border-left: solid 3px #ccc; border-radius: 0 8px 8px 0; }
blockquote > :first-child { padding-top: 0; margin-top: 0; }

.leftimg     { float: left; margin: 0 !important; padding: 0 20px 10px 0; }
.rightimg    { float: right; margin: 0 !important; padding: 0 0 10px 20px; }
.pphotkey    { background: hsl(190 100% 40% / 0.4); }
.appstore    { text-indent: -9999px; width: 180px; height: 54px; background: url('/media/appstore.svg') no-repeat top left; border: 0; padding:0; margin: 0; background-size: 100%; display: inline-block;  }
.borderedimg { border: solid 1px var(--site-main-box-divider); max-width: calc(100% - 2px); border-radius: 6px;}

/*******************/
/* Embedded Videos */
/*******************/

.alfred_videowrapper      { max-width:100%; height: auto; margin: 20px auto; background: var(--site-main-box-lighter); border: solid 8px var(--site-main-box-lighter); }
.alfred_videoframe        { position:relative; padding-top: 56.2%; }
.alfred_videoframe iframe { position:absolute; top:0; left:0; width:100%; height:100%; background: var(--site-main-box-lighter); border: 0; }

/*******************/
/* Site Navigation */
/*******************/

body > nav                           { background: var(--site-header); padding: 0 10px; position: -webkit-sticky; position: sticky; top: 0; z-index: 1000; }
body > nav /* shadow on scroll */    { animation: add-shadow linear both; animation-timeline: scroll(); animation-range: 0px 200px; }
body > nav > ul                      { all: unset; max-width: var(--site-main-max-width); margin: 0 auto; display: flex; flex-flow: row wrap; }
body > nav > ul > li                 { all: unset; }
body > nav > ul > li:first-child     { margin-right: auto; }
body > nav > ul > li a               { font-family: "Bitter", serif; display: inline-block; padding: 16px 10px; color: #fff; }
body > nav > ul > li:first-of-type a { padding-left: 42px; background: url('/media/logowhite.svg') no-repeat 8px 17px; }
body > nav > ul > li:last-of-type a  { text-indent: -9999px; width: 16px; background: url('/media/search.svg') no-repeat 10px 17px; }
body > nav > ul > li a:hover         { background-color: var(--site-header-hover); }

/* internal scrolling to take into account the nav */
:target { scroll-margin-top: 52px; }

@keyframes add-shadow {
  from { filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0)); }
  to   { filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)); }
}

@media screen and (max-width: 540px) {
  #nav_forum { display: none; }
}

@media screen and (max-width: 470px) {
  #nav_workflows { display: none; }
}

/**************/
/* What's New */
/**************/

#seewhatsnew {
  text-align: center;
  padding: 50px 0;
  h2 { font-size: 2.2em; margin-bottom: 0.1em; font-weight: bold; }
  p  { font-size: 1.1em; }
}

/*************/
/* Main Page */
/*************/

main { background: hsl(0 100% 100% / 2%); }

main.alfred_simple_page           { padding: 50px 20px 60px 20px; }
main.alfred_simple_page > section { margin: 0 auto; max-width: 800px; }

main table { width: 740px; max-width: 100%; margin: 1em 0; border-collapse: collapse; }
main table th,
main table td { padding: 10px; border: solid 1px var(--site-main-box-divider); }
main table th { font-weight: bold; background: var(--site-main-box-lighter); }
main table th:empty { display: none; }
main table td img { margin: 0 auto !important; max-width: unset; }
main table td kbd { padding: 5px; min-width: 20px; }

/***************/
/* Site Footer */
/***************/

.alfred_footercontent     { max-width: var(--site-main-max-width); margin: 0 auto; padding: 20px; }
.alfred_footercontent ul  { list-style: none; padding: 0; margin: 0; }
.alfred_footercontent li  { margin: 0 0 0.4em 0; }
.alfred_footercontent a   { color: hsl(0 100% 100% / 80%); }

#alfred_footerlatestblog { text-align: center; color: hsl(0 100% 100% / 40%); }

#alfred_footerlinks      { background: hsl(from var(--site-background) h s calc(l * 0.75)); }
#alfred_footerlinks img  { width: 16px; margin: 0 8px 2px 0; opacity: 0.3; vertical-align: middle; }
#alfred_footerlinks h3   { color: hsl(0 100% 100% / 30%); margin: 0 0 0.7em 0; padding: 0; }
#alfred_footerlinks .alfred_footercontent           { display: flex; flex-flow: row wrap; }
#alfred_footerlinks .alfred_footercontent > div     { width: 17%; }
#alfred_footerlinks #alfred_footerethos             { width: 32%; }
#alfred_footerlinks #alfred_footerethos p           { line-height: 1.8em; margin-top: -3px; }

#alfred_footermetadata                        { background: hsl(from var(--site-background) h s calc(l * 0.5)); color: hsl(0 100% 100% / 50%); box-shadow: 0 1000px 0 1000px hsl(from var(--site-background) h s calc(l * 0.5)); }
#alfred_footermetadata .alfred_footercontent  { display: flex; justify-content: space-between; flex-direction: row-reverse; }
#alfred_footermetadata img                    { display: inline-block; padding-left: 20px; }
#alfred_footercopyright                       { max-width: 600px; }
#alfred_footercopyright p                     { margin: 0 0 0.5em 0; }

@media screen and (max-width: 835px) {
  .alfred_footercontent ul { margin-bottom: 1.3em; }
  #alfred_footerlinks .alfred_footercontent > div { width: 25%; }
  #alfred_footerlinks #alfred_footerethos { display: block; margin: 20px auto 10px auto; padding: 30px; width: 500px; max-width: 500px; background: hsl(0 100% 100% / 5%); border-radius: 5px; }
}

@media screen and (max-width: 640px) {
  #alfred_footerlinks .alfred_footercontent > div     { width: 50%; }
  #alfred_footermetadata .alfred_footercontent { display: block; }
  #alfred_footermetadata img { padding-bottom: 20px; }
}
