/* Defaults
------------------------------------------------------------------- */

html,
button,
input,
select,
textarea {
    font-family: adobe-clean, "Adobe Clean", source-sans-pro, sans-serif;    
    color: #454545;
}

body {
    background: #e7e7e7;
    font-weight: 100;
    font-size: 1em;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

p {
    line-height: 1.7em;
    margin: 0 0 1.7em;
}

a {
    color: #0380E8;
    text-decoration: none;  
}

code {
    background: #eaeaea;
    border-radius: 2px;
    border: 1px solid #ddd;
    border-bottom: 1px solid #fff;
    color: #000;
    display: block;
    font-family: "Source Code Pro", monospace;
    font-size: 12px;
    line-height: 24px;
    margin: 0 0 2.5em;
    padding: 3px 8px;
}

    .collection-table {
        background: transparent;
        border: none !important;
        margin: 0 0 12px;
        width: auto;
    }

    .collection-table td code {
        background: #eaeaea;
        color: #000;
        display: inline-block;
        margin: 0 5px 0 0 !important;
        padding: 3px 10px;
        vertical-align: top;
        white-space: nowrap;
    }

    p code,
    li code,
    td code {
        display: inline-block;
        margin: 0 !important;
        padding: 0 5px;
        white-space: nowrap;
    }

    td code {
        background: transparent;
        border: none;
        color: #999;
        margin: 0 !important;
    }


    code button {
        border: none;
        box-shadow: none;    
        height: 24px;
        margin: 0 0 0 5px;
        opacity: 0.5;
        padding: 0;
        text-indent: 200%;
        width: 24px;
    }

    code button.active {
        opacity: 1;
    }

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 3.4em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: horizontal;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

button {
    background: #F7F7F7;
    border-radius: 2px;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 0 #fff;
    box-sizing: border-box;
    color: #454545;
    font-size: 12px;
/*    height: 36px;
    line-height: 33px;*/
    margin: 0 3px 8px 0;
    overflow: hidden;
    padding: 10px 20px;
    vertical-align: top;
    white-space: nowrap;
    width: 55px;

}

    button:focus {
        -moz-box-shadow:    0px 0px 0px 1px #0380E8;
        -webkit-box-shadow: 0px 0px 0px 1px #0380E8;
        box-shadow:         0px 0px 0px 1px #0380E8 !important;         
        outline: none;
    }        

.button-group {
    background: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 2px;
    display: inline-block;
    font-size: 0; /* to get rid of inline-block spacing */
/*    height: 36px;
*/    vertical-align: top;
    width: 117px;
}

.button-group button {
    border: none;
    border-radius: 0 !important;
    margin: 0 !important;
    width: 39px !important;
}

    .binary button {
        height: 24px;
        width: 50% !important;
    }
        
        /* Image replacement */

        #view-mode button,
        .classification {
            text-indent: -999999px;
            white-space: nowrap;
        }

        #view-mode button {
            padding: 0;
        }

        #view-mode .selected {
            background-color: #454545 !important;
        }

        #headings,
        #paragraphs {
            max-width: 117px;
            width: 117px;
        }

        #propertyFilters button {
            height: 36px;
            margin: 0;
            width: 36px;
        }

        #propertyFilters > li {
            float: left;
            height: 36px;
            line-height: 0;
            margin: 0 8px 8px 0;
            width: 117px;
        }

        #languageFilters {
            margin: 0 0 15px -3px;
        }

        #languageFilters button {
            font-size: 11px;
            margin: 0 0 8px 3px;
            padding: 4px;
            width: 77px;
        }

    #filters .selected,
    #view-mode .selected {
        border-radius: 2px;
        border: transparent;
        background: #0380E8;
        color: #fff;
        -moz-box-shadow:    inset 0px 1px 2px 0 rgba(0,0,0,0.48);
        -webkit-box-shadow: inset 0px 1px 2px 0 rgba(0,0,0,0.48);
        box-shadow:         inset 0px 1px 2px 0 rgba(0,0,0,0.48);
    }

    #fontCards .selected .font-name {
        color: #0380E8;
    }

    .font-name p {
        margin: 0 !important;
        white-space:nowrap;
    }

/* Font Name Search */
#fontNameSearch {
    border-radius: 2px;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 0 #eee;
    font-size: 14px;
    height: 24px;
    margin: 0 7px 0 0;
    padding: 0;
    line-height: 28px;
    text-indent: 26px;
    vertical-align: top;
    width: 147px;
}

    #fontNameSearch:focus {
        -moz-box-shadow:    0px 0px 0px 1px #0380E8;
        -webkit-box-shadow: 0px 0px 0px 1px #0380E8;
        box-shadow:         0px 0px 0px 1px #0380E8 !important;         
        outline: none;
    }

/* Font Sort */

#fontSortOrder {
    background: #f7f7f7;
    -webkit-appearance: none;
    -webkit-border-radius: 2px !important;
    border-radius: 2px;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 0 #fff;
    font-size: 14px;
    margin: 0 7px 0 0;
    padding: 4px 4px;
    vertical-align: top;
    width: 150px;
}

    #fontSortOrder:focus {
        -moz-box-shadow:    0px 0px 0px 1px #0380E8;
        -webkit-box-shadow: 0px 0px 0px 1px #0380E8;
        box-shadow:         0px 0px 0px 1px #0380E8 !important;         
        outline: none;
    }


/* Font Size Slider */
#font-size { 
    display: inline-block;
    position: absolute;
    left: 13px;
    top: 11px;
    width: 100px;    
}    
    #font-size > .ui-slider-range {
        background: #e1e1e1;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        -moz-box-shadow:    inset 0px 1px 1px 0 rgba(0,0,0,0.15);
        -webkit-box-shadow: inset 0px 1px 1px 0 rgba(0,0,0,0.15);
        box-shadow:         inset 0px 1px 1px 0 rgba(0,0,0,0.15);    
        height: 6px;
        left: 0;
        position: absolute;
        text-align: left;
        top: 0;
        width: 100%;
        z-index: 1;
    }
    #font-size > .ui-slider-handle {
        background: #f7f7f7;
        -webkit-border-radius: 2px;
        border-radius: 2px;
        border: 1px solid #bdbdbd;
        box-shadow: inset 0 1px 0 #fff;
        cursor: default; 
        height: 15px;
        margin-left: -6px;
        position: absolute;
        top: -6px;
        width: 8px;
        z-index: 2;
    }

    .ui-slider-handle:focus {
        -moz-box-shadow:    0px 0px 0px 1px #0380E8;
        -webkit-box-shadow: 0px 0px 0px 1px #0380E8;
        box-shadow:         0px 0px 0px 1px #0380E8 !important;         
        outline: none;
    }

    #smaller,
    #larger {
        display: inline-block;
        font-weight: 400;
        line-height: 1em;
        position: relative;
    }

    #smaller {
        font-size: 11px;
        top: 2px;
    }
    #larger {
        font-size: 18px;
        left: 105px;
        top: -7px;
    }


/* Show More Fonts */

#showMoreFontsBtn {
    background: #f7f7f7;
    -webkit-border-radius: 2px !important;
    border-radius: 2px;
    border: 1px solid #ccc;
    color: #454545;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    height: 26px;
    line-height: 26px;
    margin: 0 15px 0 0;
    padding: 0 10px;
    text-indent: 5px;
    vertical-align: top;
    width: 130px;
}

/* Filter Labels */

#headings {
    font-size: 16px;
    font-weight: 400;
}

#paragraphs {
    font-size: 16px;
    font-weight: 100;
}

.font-weight {
    padding: 2px;
}

#fontWeightLight {
    font-family: Arial;
    font-size: 18px;
}

#fontWeightRegular {
    font-family: Arial;
    font-size: 18px;
    font-weight: bold;
}

#fontWeightHeavy {
    font-family: "Arial Black";
    font-size: 18px;
}

.font-width {
    padding: 0;
}

#condensedWidth .transform {
    font-size: 18px;
    display:inline-block;
    pointer-events: none;
    transform:scale(0.6,1); /* W3C */
    -webkit-transform:scale(0.6,1); /* Safari and Chrome */
    -moz-transform:scale(0.6,1); /* Firefox */
    -ms-transform:scale(0.6,1); /* IE 9 */
    -o-transform:scale(0.6,1); /* Opera */    
}

#regularWidth {
    font-size: 18px;
}

#extendedWidth .transform {
    font-size: 18px;
    display:inline-block;
    pointer-events: none;
    transform:scale(1.5,1); /* W3C */
    -webkit-transform:scale(1.5,1); /* Safari and Chrome */
    -moz-transform:scale(1.5,1); /* Firefox */
    -ms-transform:scale(1.5,1); /* IE 9 */
    -o-transform:scale(1.5,1); /* Opera */
}

.xHeight {
    padding: 0;
}

#lowX {
}

#regularX {
    font-size: 18px;
}

#highX {
    font-size: 24px;
}

.font-contrast {
    padding: 0;
}

#lowContrast {
    font-size: 19px;
}

#regularContrast {
    font-family: "Georgia";
    font-weight: bold;
    font-size: 18px;
}

#highContrast {
    font-family: "Arial Black";
    font-size: 20px;
}

.capitalization {
    font-size: 18px;
    padding: 0;
}

.numberStyle {
    font-size: 18px;
    padding: 0;
}

#lowerNumber {
    font-family: Georgia;
}


/* Structure
------------------------------------------------------------------- */

#top-bar-wrapper {
    border-bottom: 1px solid #111;
    background-color: #191919;
    background-repeat: no-repeat;
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#282828),to(#191919));
    background-image: -webkit-linear-gradient(#282828,#191919);
    background-image: -moz-linear-gradient(top,#282828,#191919);
    background-image: -ms-linear-gradient(#282828,#191919);
    background-image: -o-linear-gradient(#282828,#191919);
    background-image: linear-gradient(#282828,#191919);
    height: 45px;
}

    #top-bar {
        line-height: 45px;
        margin: 0 auto;
        padding: 0 20px;
        width: 960px;
    }

    #logo {
        margin: 0 16px 0 0;
    }

    #logo a {
        background-image: url(../img/wf-logo.png);
        background-repeat: no-repeat;
        background-position: 0 1px;
        background-image: -webkit-image-set(url(../img/wf-logo.png) 1x, url(../img/wf-logo@2x.png) 2x);        
        color: #fff;
        font-size: 18px;
        font-weight: 100;
        text-decoration: none;
        padding: 0 16px 0 30px ;
    }

    .top-bar-item {
        color: #bbb !important;
        display: inline-block;
        font-size: 14px;
        font-weight: 100;
        line-height: 43px;
        margin: 0 24px 0 0;
        text-decoration: none;
    }

    #top-bar-wrapper .current {
        color: #fff !important;
    }

#content-wrapper {
    margin: 0 auto;
    padding: 20px 20px 450px; /* bottom padding must be taller than the collection footer */
    width: 960px;
}



    #main {
        background: #f3f3f3;
        border: 1px solid #D3D3D3;
        float: left;
        min-height: 553px;
        padding: 20px 20px 1px;
        width: 634px;
    }

    #controls {
        margin: 0 0 18px;
    }

    .control-group {
        display: inline-block;
        margin: 0 8px 0 0;
        padding: 0;
        position: relative;
        vertical-align: top;
    }

    #font-size {
        display: inline-block;
    }

    #view-mode {
        height: 24px;
        width: 70px;
    }

    #fontCards,
    #selectedFontCards {
        margin: 0 0 0px;
        padding: 0;
    }

    #fontCards.grid {
        margin-left: -10px;
    }

    #fontCards > li {
        background: #fff;
        border: 1px solid #d7d7d7;
        border-radius: 3px;
        border-top: 1px solid #e7e7e7;
        font-size: 30px;
        list-style: none;
        margin: 0 0 10px;
    }

    #fontCards.grid > li {
        float: left;
        margin: 0 0 10px 10px;
        width: 148px;
    }

    #selectedFontCards section {
        background: #fff;
        border: 1px solid #d7d7d7;
        border-radius: 3px;
        border-top: 1px solid #e7e7e7;
        height: 112px;
        list-style: none;
        margin: 0;
        width: 220px;
    }    

    .font-block {
        height: 80px;
        line-height: 80px;
        margin: 0 0 1px;
        overflow: hidden;
        padding: 0 15px 0 15px; 
        width: 598px;       
        white-space: nowrap;
    }

        .grid .font-block {
            width: 118px;
        }

    .font-block:focus {
        outline: 1px solid #0380E8;
    }

    .font-name {
        background: #f9f9f9;
        border-top: 1px solid #eee;
        border-bottom-left-radius: 2px;
        border-bottom-right-radius: 2px; 
        color: #000;       
        cursor: pointer;
        font-size: 12px;
        font-weight: 400;
        height: 36px;
        padding: 6px 0 0 10px;
        position: relative;
    }

    .font-name a {
        font-weight: 100;
    }
    
    .font-variations {
        color: #888;
        font-weight: 100;
        position: relative;
    }

    .style-hover a.typekit-url {
        color: #98CE1E;
        display: inline-block;
        white-space: nowrap;
        padding-right: 12px;
    }
    
    .style-hover a.typekit-url:hover {
        color: #a6dc31;
        background: url(../img/new-window-icon-typekit.png) no-repeat right 5px;
    }

    .style-hover {
        background: rgba(0,0,0,0.8);
        box-shadow: 0 3px 7px rgba(0,0,0,0.3);
        border-radius: 3px;
        cursor: default;
        display: none;
        font-size: 11px;
        margin: 0 0 0 -10px;
        padding: 0;
        position: absolute;
        top: 20px;
        width: 240px;
        z-index: 9999;                 
    }

    #fontCards > li:hover .style-hover {
        display: block;
    }

    .style-hover li {
        border-radius: 0;
        line-height: 21px;
        list-style: none;
        padding: 0 10px;
        position: relative;
    }

    .style-hover a {
        background: transparent;
        color: #bbb;
    }

    .style-hover a.selected {
        color: #fff;
        cursor: default;
    }

    .font-style {
        color: #fff;
    }

    .font-style a {
      cursor: pointer;
    }

    .font-style a:first-child:after {
        color: transparent;
        content: " (click to preview)";
    }

    .font-style a:first-child:hover {
        color: #fff;
    }

    .font-style a:first-child:hover:after {
        color: #aaa;
        content: " (click to preview)";
    }

    .font-style a.selected:first-child:hover:after {
        content: "";
    }

    .font-license {
      color: #bbb;
      position: absolute;
      padding-right: 12px;
      right: 4px;
    }

    .font-license:hover {
      color: #ccc;
      background: url(../img/new-window-icon.png) no-repeat right 5px;
    }

    ul.style-hover li.font-selection {
      padding: 0;
    }

    ul.style-hover li.font-selection a {
      color: #ddd;
      font-size: 14px;
      font-weight: normal;
      background-color: #000;
      border: 1px solid #333;
      border-radius: 3px;
      -moz-box-shadow: inset 0px 1px 2px 0 rgba(0,0,0,0.48);
      -webkit-box-shadow: inset 0px 1px 2px 0 rgba(0,0,0,0.48);
      box-shadow: inset 0px 1px 2px 0 rgba(0,0,0,0.48);
      display: block;
      padding: 4px 4px 6px 4px;
      margin: 0;
      text-align: center;
    }

    ul.style-hover li.font-selection a:hover {
      color: #fff;
    }
    
    ul.style-hover li.alt-item {
      /*background: rgba(0,0,0,0.3);*/
      background: #000;
      padding-top: 3px;
      padding-bottom: 0;
      margin-bottom: -4px;
    }

    ul.style-hover li.alt-item:last-child {
      border-radius: 0 0 3px 3px;
      padding-top: 3px;
      padding-bottom: 3px;
      margin-bottom: 0;
    }

    ul.style-hover li.alt-item a.about-typekit {
      position: absolute;
      right: 16px;
      color: #98ce1e;
    }

    ul.style-hover li.alt-item a.about-typekit:hover {
      color: #b1e83e;
    }

    #cta {
        font-size: 14px;
        line-height: 32px;  
        /*padding: 0 0 20px 0;*/
        text-align: center;
    }

    #fontCount {
        margin: 0 15px 0 0;
    }    

    #filters {
        background: #f3f3f3;
        border: 1px solid #D3D3D3;
        border-left: none;
        float: left;
        min-height: 559px;
        padding: 15px 0 0 20px;
        width: 264px;

        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;        
    }

    .filter-group {
        clear: both;
        margin: 0 0 8px;
        padding: 0;
    }
    
    .filter-group-label {
        clear: both;
        color: #000;
        display: block;
        font-size: 13px;
        line-height: 21px;
        margin: 0 20px 5px 0;
        text-align: center;
    }

    .filter-group li {
        list-style: none;
    }


#collection-wrapper {
    background: #f5f5f5;
    border-top: 1px solid #d7d7d7;
    box-shadow: 0 -1px 3px rgba(0,0,0,0.03);
    bottom: 0;
    /*max-height: 420px;*/
    padding: 0 0px 52px;
    left: 0;
    position: fixed;
    right: 0;
    z-index: 9998; /* setting this much higher will break zeroclipboard. This only took about 4 hours to figure out */
}

    #collection-wrapper td {
        background: transparent;
        height: 34px;
    }

    #collection {
        margin: 0 auto;
        overflow: hidden;
        width: 960px;
    }

    #collection-title {
      position: relative;
      color: #000 !important;
      font-size: 18px;
      margin: 15px 0 10px;
      padding: 0 0 0 15px;
      cursor: pointer;
    }

    #collection-title:after {
      border: 6px solid transparent;
      content: " ";
      display: block;
      height: 0;
      position: absolute;
      width: 0;
      border-left-color: #333;
      border-right-size: 0;
      top: 5px;
      left: 2px;
    }

    #collection-wrapper.opened #collection-title:after {
      border-top-color: #333;
      border-left-color: transparent;
      top: 8px;
      left: 0;
    }


    .collection-sub-title {
        color: #454545;
        font-size: 13px;
        line-height: 21px;
        margin: 0 0 3px;
    }

#selected-fonts-carousel {
  float: left;
  background: #fff;
  -moz-box-shadow:    inset 0 0 3px rgba(0,0,0,0.2);
  -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.2);
  box-shadow:         inset 0 0 3px rgba(0,0,0,0.2);
  margin: 0 0 10px;
  padding: 10px 0 8px;
  width: 100%;
  height:115px;
}

#selected-fonts-carousel ul {
  float: left;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#selected-fonts-carousel li {
  float: left;
  padding: 0;
  margin: 0px 0 0px 10px;
}

    .font-block-wrapper {
        float: left;
        height: 114px;
        overflow: hidden;
        width: 100px;        
    }

        .font-block-wrapper .font-block {
            font-size: 30px;
            overflow-x: hidden;
        }

        .font-block-wrapper .font-name {
            font-size: 11px;
            height: 36px;
            line-height: 15px;
            position: relative;
            top: -12px;
        }

    .font-options-wrapper {
        border: none;
        border-left: 1px solid #eee;
        float: right;
        font-size: 11px;
        height: 92px;
        line-height: 18px;
        margin: 0;
        padding: 10px;
        overflow: hidden;
        overflow-y: auto;
        width: 99px;
    }

        .font-options-wrapper input {
            margin: 0 4px 0 0;
        }

        .font-options {
            font-size: 11px !important;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        #selected-fonts-carousel li .font-options > li {
            margin: 0 0 10px;
        }

        .placeholder {
            color: #999;
        }

#selectedFontCssSamples, #jsCode {
  position: relative;
  float: left;
  list-style-type: none;
  margin: 0 0 15px 0;
  padding: 10px 0 0 0;
  width: 100%;
  background: #fff;
  -moz-box-shadow:    inset 0 0 3px rgba(0,0,0,0.2);
  -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.2);
  box-shadow:         inset 0 0 3px rgba(0,0,0,0.2);
}

#selectedFontCssSamples li {
  position: relative;
  float: left;
  margin: 0 0 8px 10px;
  padding: 0;
}

#jsCode code {
  float: left;
  position: relative;
  margin: 0 10px 8px 10px;
  word-wrap: break-word;
}

#footer-wrapper {
  border-top:1px solid #ccc;
}
footer {
    background-image: url(../img/adobe-logo.png);
    background-repeat: no-repeat;
    background-image: -webkit-image-set(url(../img/adobe-logo.png) 1x, url(../img/adobe-logo@2x.png) 2x);
    background-position: right top;
    bottom: 0px;
    color: #999;
    font-size: 11px;
    margin: 0 0 0 -480px;
    padding: 4px 0 0;
    position: absolute;
    text-align: right;
    left: 50%;
    width: 960px;
}

    footer p {
        margin: 0 45px 3px 0;
    }

/* Sprite
------------------------------------------------------------------- */

#fontNameSearch {
    background: #fff url(../img/sprite.png) no-repeat -1px -133px;
}

#fontNameSearch:focus {
    background: #fff url(../img/sprite.png) no-repeat -1px -159px;
}

#grid-view {
    background: url(../img/sprite.png) no-repeat -1px -1px;
}

#grid-view.selected {
    background: url(../img/sprite.png) no-repeat -73px -1px;
}

#list-view {
    background: url(../img/sprite.png) no-repeat -36px -1px;
}

#list-view.selected {
    background: url(../img/sprite.png) no-repeat -108px -1px;
}

#fontSortOrder {
    background: url(../img/sprite.png) no-repeat -1px -27px;
}

#sans-serif {
    background: url(../img/sprite.png) no-repeat -1px -53px;
}

#sans-serif.selected {
    background: #0380E8 url(../img/sprite.png) no-repeat -248px -52px;
}

#serif {
    background: url(../img/sprite.png) no-repeat -63px -53px;
}

#serif.selected {
    background: #0380E8 url(../img/sprite.png) no-repeat -310px -53px;
}

#slab-serif {
    background: url(../img/sprite.png) no-repeat -125px -53px;
}

#slab-serif.selected {
    background: #0380E8 url(../img/sprite.png) no-repeat -372px -53px;
}

#script {
    background: url(../img/sprite.png) no-repeat -186px -53px;
}

#script.selected {
    background: #0380E8 url(../img/sprite.png) no-repeat -433px -53px;
}

#blackletter {
    background: url(../img/sprite.png) no-repeat -1px -97px;
}

#blackletter.selected {
    background: #0380E8 url(../img/sprite.png) no-repeat -248px -97px;
}


#monospaced {
    background: url(../img/sprite.png) no-repeat -63px -97px;
}

#monospaced.selected {
    background: #0380E8 url(../img/sprite.png) no-repeat -310px -97px;
}

#handmade {
    background: url(../img/sprite.png) no-repeat -125px -97px;
}

#handmade.selected {
    background: #0380E8 url(../img/sprite.png) no-repeat -372px -97px;
}

#decorative {
    background: url(../img/sprite.png) no-repeat -187px -97px;
}

#decorative.selected {
    background: #0380E8 url(../img/sprite.png) no-repeat -434px -97px;
}

code button {
    background: url(../img/sprite.png) no-repeat -149px -1px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), 
only screen and (min-device-pixel-ratio: 2) {
    #fontNameSearch,
    #fontNameSearch:focus,
    #grid-view,
    #grid-view.selected,
    #list-view,
    #list-view.selected,
    #fontSortOrder,
    #sans-serif,
    #sans-serif.selected,
    #serif,
    #serif.selected,
    #slab-serif,
    #slab-serif.selected,
    #script,
    #script.selected,
    #blackletter,
    #blackletter.selected,
    #monospaced,
    #monospaced.selected,
    #handmade,
    #handmade.selected,
    #decorative,
    #decorative.selected,
    code button {
        /* Reference the 2x Sprite */
        background-image: url(../img/sprite@2x.png);
        /* Translate the 2x sprite's dimensions back to 1x */
        background-size: 600px 200px; 
    }
}

/* Home Page
------------------------------------------------------------------- */

#homepage {
    background: #fff;
}

#homepage p {
    line-height: 1.7em;
}

#hero-wrapper {
    background: #FFCD00;
    height: 364px;
}

    #hero {
        background: url(../img/hero.png) no-repeat -5px 10px;
        background-image: -webkit-image-set(url(../img/hero.png) 1x, url(../img/hero@2x.png) 2x);        
        height: 364px;
        margin: 0 auto;
        padding: 0 20px;
        width: 960px;
    }

    #hero-text {
        float: right;
        padding: 85px 0 0;
        width: 485px;
    }

    .hero-title {
        color: #000;
        font-size: 44px;
        font-weight: normal;
        line-height: 58px;
    }

    .hero-button {
        background-color: #fff;
        border-radius: 3px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.2);
        color: #454545;
        display: inline-block;
        font-size: 24px;
        font-weight: 400;
        height: 58px;
        line-height: 58px;
        padding: 0 30px;
    }

    .hero-button:active {
        background-color: #f7f7f7;       
    }

    #hero .hero-title {
        margin: 0 0 18px;
    }

    #hero .hero-button {
        background-color: #4b3208;
        background-repeat: no-repeat;
        background-image: -webkit-gradient(linear,0 0,0 100%,from(#4b3208),to(#392103));
        background-image: -webkit-linear-gradient(#4b3208,#392103);
        background-image: -moz-linear-gradient(top,#4b3208,#392103);
        background-image: -ms-linear-gradient(#4b3208,#392103);
        background-image: -o-linear-gradient(#4b3208,#392103);
        background-image: linear-gradient(#4b3208,#392103);
        border-radius: 3px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.5);
        color: #ffd969;
        display: inline-block;
        font-size: 24px;
        font-weight: 400;
        height: 58px;
        line-height: 58px;
        padding: 0 30px;
        text-shadow: 0 -1px 0 #000;
    }

    #hero .hero-button:active {
        background-color: #392103;
        background-image: -webkit-gradient(linear,0 0,0 100%,from(#392103),to(#4b3208));
        background-image: -webkit-linear-gradient(#392103,#4b3208);
        background-image: -moz-linear-gradient(top,#392103,#4b3208);
        background-image: -ms-linear-gradient(#392103,#4b3208);
        background-image: -o-linear-gradient(#392103,#4b3208);
        background-image: linear-gradient(#392103,#4b3208);        
    }

#features-wrapper, 
#help-wrapper {
    background: #f3f3f3;
    padding: 0 0 24px;
    min-height: 330px;
}

    #features,
    #help {
        margin: 0 auto;
        padding: 60px 20px 0;
        width: 960px;
    }

    #help #side-content {
      line-height: 1.7em;
    }

    .feature {
        height: 93px;
        margin: 0 0 20px;
    }

        #feature-huge {
            background: url(../img/feature-huge.png) no-repeat center 9px;
            background-image: -webkit-image-set(url(../img/feature-huge.png) 1x, url(../img/feature-huge@2x.png) 2x); 
        }

        #feature-free {
            background: url(../img/feature-free.png) no-repeat center 2px;
            background-image: -webkit-image-set(url(../img/feature-free.png) 1x, url(../img/feature-free@2x.png) 2x); 
        }

        #feature-typekit {
            background: url(../img/feature-adobe-typekit-new.png) no-repeat center 2px;
            background-image: -webkit-image-set(url(../img/feature-adobe-typekit-new.png) 1x, url(../img/feature-adobe-typekit-new@2x.png) 2x); 
        }                 

    #features h3 {
        margin: 0;
    }
    
    #features p {
        font-size: 14px;
    }

    .grid-wrapper {
        margin: 0 0 36px -36px;
    }

    .grid-third {
        float: left;
        margin: 0 0 0 36px;
        width: 296px;
    }

    .row {
        margin: 0 0 36px 0;
    }

    #homepage h4 {
        margin: 0 0 6px;
    }

#footer {
    background-image: url(../img/adobe-logo.png);
    background-repeat: no-repeat;
    background-image: -webkit-image-set(url(../img/adobe-logo.png) 1x, url(../img/adobe-logo@2x.png) 2x);
    background-position: center 60px; 
    color: #888;   
    font-size: 12px;
    margin: 0 auto;
    padding: 120px 20px 90px;
    text-align: center;
    width: 960px;
}


/* Help Page
------------------------------------------------------------------- */

#title {
    font-size: 40px;
    font-weight: 100;
    margin: 0 auto;
    padding: 20px 20px;
    width: 960px;
}

ul#side-nav {
    border-right: 1px solid #d7d7d7;
    float: left;
    margin: 0 0 0 -10px;
    padding: 0;
    width: 240px;
}

    #side-nav > li {
        list-style: none;
    }

    #side-nav > li > a {
        border-radius: 3px;
        display: block;
        padding: 10px 10px;
        color: #000;
        font-size: 18px;
    }

    #side-nav > li > a:hover {
        background: #fff;
        display: block;
        padding: 10px 10px;
        color: #000;
        font-size: 18px;
    }    

#side-content {
    float: right;
    width: 680px;
}

    #font-list-wrapper {
        border-bottom: 1px solid #e0e0e0;
    }

    table {
        /*border-top: 1px solid #e0e0e0;*/
        margin: 0;
        width: 1%;
    }

    th, td {
        font-weight: 100;
        font-size: 12px;
        padding: 0 1px 5px;
        vertical-align: middle !important;
    }

    thead th,
    thead td {
        color: #000;
        font-weight: normal;
        font-size: 14px;
        padding-top: 20px;
    }

    thead th {
        text-align: right;
        width: 100px;
    }

    tbody th {
        color: #000;
        font-weight: 100;
        text-align: right;
        width: 190px;        
    }


/* Pagination
------------------------------------------------------------------- */

#pagination {
  margin-top: -5px;
  text-align: center;
}

#pagination a {
    background: #fff;
    border-radius: 3px;
    color: #454545;
    box-shadow: 0 1px 0 rgba(0,0,0,0.1);
    display: inline-block;
    font-size: 11px;
    height: 20px;
    line-height: 20px;
    margin: 0 3px 0 0;
    padding: 0 6px;
}

#pagination span {
    border-radius: 3px;
    color: #454545;
    cursor: default;
    display: inline-block;
    font-size: 11px;
    font-weight: 400;
    height: 20px;
    letter-spacing: 1px;
    line-height: 20px;
    margin: 0 3px 0 0;
    padding: 0 6px;
}

#pagination .current {
    background: #454545;
    color: #fff;
    letter-spacing: normal;
}


/* Helper
------------------------------------------------------------------- */

.center {
    text-align: center;
}

.hint {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 8px;
    display: inline-block;
    height: 16px;
    text-align: center;
    width: 16px;
}

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}
