/* http://meyerweb.com/eric/tools/css/reset/
 v2.0 | 20110126
 License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Font Library */

body {
background: url("/assets/images/head-bg.png") repeat-x 0 -39px, url('/assets/images/bg-00.png') repeat center 0 #e7d3b1;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: medium;
  line-height: 1.4em;
  text-shadow: none;
  text-decoration: none;
font-style: normal;
font-weight: normal;
  word-spacing: 0em;
  color: #502d16;
}

p, ul, dl, ol {
  font-size: small;
}

h3,
#information ul li.heading, form label {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .1em;
  word-spacing: .2em;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5), 0 -1px 0 rgba(77, 46, 25, 0.6);
  color: #9f7c65;
  display: block;
  }

h3 {
  border-bottom: 1px solid #d8c4a1;
  padding: 6px 0;

  }

#font-page-title {
  width: 580px;
  padding: 15px 0;
  margin: 0;
  text-shadow:  0 0 4px #F1E5D1, 0 0 6px #F1E5D1, 0 0 8px #F1E5D1, 0 0 10px #F1E5D1;
  overflow-right: hidden;
}

#font-page-title:before {
  text-shadow: none;
  color: rgba(0,0,0, 0.075);
  content: "The Font Title";
  font-size: 4em;
  width: 580px;
  height: 0;
  display: block;
  text-align: center;
}


#font-variants {
  width: 580px;
  padding: 0;
  margin: 0;
}


#font-detail-content h3 {
  border-bottom: 0;
  margin: 10px 0 5px;
  }

hr {
  border-top: 1px solid #d8c4a1;
  border-bottom: none;
}

#information h3 {
  border-top: 1px solid #d8c4a1;
  margin-bottom: 5px;
  }
  
#information h3 a {
  display: block;
  background: transparent url('/assets/images/sidebar-title-links.png') no-repeat right 0;
  color: #9f7c65;
  }

#information h3 a:hover,
#information h3 a:focus {
  background-position: right -41px;
  color: #4d2e19;
  }
  
h4 {
  margin: 10px 0 4px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .1em;
  }

#font-detail-content h4 {
  padding: 0 0 5px;
  color: #B7703E;
  }

p { margin-bottom: 1.4em; }

.text { margin: 8px 0 25px; }

span.byline { font-style: italic; }

.thirtysix { overflow: hidden;}

.fonts .thirtysix {
  min-height: 48px;
}

.thirtysix .subtle { display: block; white-space: nowrap; overflow: hidden; margin: 0; padding: 14px 0 10px 10px; color: #222; font-size: 28px; line-height: 1.4em; }

a.subtle,
.thirtysix .subtle {
  white-space: nowrap;
}

.characters { font-size: larger; }

.guidebook-page p,
.guidebook-page li,
.guidebook-page blockquote {
font-size: 1.2em;
line-height: 1.4em;
}

.guidebook-page ul {
list-style-type:square
}

.guidebook-page li {
margin-bottom: .7em;
}

/* Links */

a:link, a:visited, a:active { color: #B7703E; text-decoration: none; }
a:hover { color: #4d2e19;}
a:focus { outline: 1px dotted #B7703E; }

a.subtle:link, a.subtle:visited, a.subtle:active { color: #222; }
a.subtle:hover, a.subtle:focus { color: #444; }

/* Forms */

form,
input,
textarea {
  }

form.preview {  
  background-color: #f1e5d1;
  padding: 10px 0;
  margin: 0 0 12px;
  }

form input[type="text"],
form textarea,
form input[type="password"],
input[type="text"], textarea, input[type="password"] {
  display: block;
  border: 1px solid #d8c4a1;
  padding: 8px 2px;
  font-size: small;
  color: #B7703E;
  background-color: #fff;
  margin-top: 10px;
  width: 100%;
  }
  
  .fonts form.preview input[type="text"],
  .catalogue form.preview input[type="text"] {
    width: 99%;
  }
  
  #dynamic input[type="text"] {
    font-size: 72px;
    width: 100%;
    }

form label {
  display: inline-block;
  text-transform: uppercase;
  margin: 0 5px 0 0;
  letter-spacing: 0.1em;
  }

form input[type="text"]:focus,
form textarea:focus {
  color: #4d2e19;
  outline: 0;
  box-shadow: inner 0 0 3px #bc9c87;
  -moz-box-shadow: inset 0 0 3px #bc9c87;
  -webkit-box-shadow: inset 0 0 3px #bc9c87;
  }

form.questionnaire .fields .field {
  margin-bottom: 18px;
}

form.questionnaire .fields {
  clear: both;
}
  
form.questionnaire .fields .field label {
  display: block;
  margin: 0 0 5px;
}


form.questionnaire input[type='text'], form.questionnaire input[type='password'], form.questionnaire input[type='file']  {
  width: 98%;
}

form.questionnaire select {
  width: 100%;
  color: #B7703E;
}

form.questionnaire input:focus,
form.questionnaire textarea:focus,
form.questionnaire select:focus { outline: none; }

form.questionnaire input.settled {
}

form.questionnaire input.settled:focus {
}

form.questionnaire textarea {
  resize: none;
  width: 100%;
  height: 72px;
  font-size: smaller;
  color: #502d16;
}

form.questionnaire textarea#sample {
  height: 1.5em;
}


/* Buttons */

input[type="submit"].button,
#information a.sign-up,
.pagination a,
a.pusher,
.submit_button,
a.cancel,
a.btn {
  font-size: smaller;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-shadow: 1px 1px 1px rgba(77,46,25,.5), -1px 1px 1px rgba(178,117,77,.7);
  border: 0;
  display: inline-block;
  background: #9f7c65;
  color: #fff;
  padding: 6px 15px;
  margin: 0 5px 0 0;
  text-align: center;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  box-shadow: 1px 1px 2px rgba(77,46,25,.4);
  -moz-box-shadow: 1px 1px 2px rgba(77,46,25,.4);
  -webkit-box-shadow: 1px 1px 2px rgba(77,46,25,.4);
  }

input[type='submit'].button:hover,
#information a.sign-up:hover,
.pagination a:hover,
a.pusher:hover, .submit_button:hover {
  background: #4d2e19;
  cursor: pointer;
}

a.cancel,
a.btn {
  background-color: #E7D3B1;
  color: #9f7c65;
  text-shadow: 1px -1px 1px rgba(255,255,255,.5);
  }
  
a.cancel:hover,
a.cancel:focus,
a.btn:hover,
a.btn:focus {
  background: #9f7c65;
  color: #fff;
  text-shadow: 1px -1px 0px rgba(77,46,25,.5);
  }

input[type='submit'].button:focus {
  background: #aa998e;
}

p.submit {
  text-align: center;
  }
  
#more {
  clear: both;
  }

.pagination {
  overflow: auto;
  padding: 5px 5px 5px 0;
  position: relative;
  }
  
  .one-column .pagination {
    margin-right: 30px;
    }

#more .pagination {
  text-align: center;
  margin-right: 30px;
  }

.pagination span {
  float: right;
  }
  
.pagination span#morefonts {
  float: left;
  padding: 8px 0 0;
  margin: 0 5px 0 0;
  color: #9F7C65;
  }

.pagination a {
  font-weight: bold;
  margin: 0 0 0 5px;
  }

#information p > a.pusher {
  padding: 12px 15px;
  display: block;
}

/* Structure */

* {
 margin: 0;
}

html, body {
  height: 100%;
}

#textblock {
  min-height: 93%;
  height: auto !important;
  height: 93%;
  width: 100%;
  position: relative;
  margin: 0 auto -200px;
  background-color: #F1E5D1;
}

#foot, #push {
  height: 200px;
}

#head {
  background-color: #4d2e19;
  clear: both;
  z-index: 4600;
  }

#head-wrapper {
  margin: 0 auto;
  overflow: hidden;
  z-index: 2000;
  width: 960px;
  position: relative;
  }

#head ul.primary {
  float: left;
  }

#head ul.secondary {
  margin-right: -479px;
  position: absolute;
  right: 50%;
  top: 0;
  z-index: 5000;
  }

#head ul.secondary #lang {
  background: url("/assets/images/dropdown-pointer.png") no-repeat scroll 5em 11px #D8C4A1;
  border-radius: 2px 2px 2px 2px;
  color: #B2754D;
  display: block;
  float: left;
  width: 6em;
  margin-right: 5px;
  margin-left: 5px;
  /*height: 25px;*/
}

#head ul.secondary #lang ul {
  background: none repeat scroll 0 0 #D8C4A1;
  border-radius: 2px 2px 2px 2px;
  display: none;
  list-style-type: none;
  overflow: visible;
}

#head ul.secondary #lang li a:hover { color: #B2754D; }

#head ul.secondary #lang:hover { cursor: pointer; }

#head ul.secondary #lang p {
  margin: 0;
  padding: 5px;
}

#head ul.secondary li:before {
    color: #AA998E;
    margin-right: 0.5em;
}

#body {
  max-width: 960px;
  clear: both;
  padding: 30px 0 40px;
  overflow: auto;
}

#foot {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid #D8C4A1;
  background: #E7D3B1 url(/assets/images/bg-00.png) repeat 0 0;
}

.spec { clear:both;}
.display { margin-bottom: 35px;}
.element { clear: both; margin-bottom: 10px; display: block; }

#content {
  position: relative;
  }

#content .element {
  margin: 0 0 10px;
  }

#content .fonts .element, #content .element .font {
  background-color: #fff;
  position: relative;
  border-right: 1px solid #E7D3B1;
  }

#content .fonts .element .spec .font-preview {
  margin-top: 8px;
  margin-left: 8px;
  margin-bottom: -14px;
}

#content .fonts .thirtysix a {
  display: block;
}

.element:hover ul li.heading a {
  color: #4d2e19;
}

.details { display: block; }

/* Lists */

ul.secondary { color: #aa998e; }
ul.secondary li.major:after{ display: none; }
ul.secondary li { display: inline-block; }
dl.info dt { clear: both; float:left; margin-right: 0.5em; font-weight: bold;}
dl.main  {  margin-bottom: 18px; }
dl.main dd { margin-bottom: 18px; }

dl dd ul { margin-left: 1em; }


#head ul.primary li,
#head ul.secondary li {
  vertical-align: bottom;
  }

#head ul.primary li {
  padding: 0 0 8px;
  }

#head ul.primary li a,
#head ul.secondary li a {
  margin: 0;
  font-size: 0.9em;
  line-height: 1;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 29px 5px 13px;
  color: #F1E5D1;
  text-shadow: 1px 1px 1px #2d1c11, -1px 1px 1px  #644027;
  }
  
#head ul.primary li a {  
  -webkit-border-bottom-right-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-bottomright: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

  #head ul.secondary li#lang a {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.2em;
    display: block;
    text-transform: none;
    letter-spacing: 0;
    padding: 0;
    color: #502D16;
    text-shadow: 0 0 0 transparent;
    }
    
#head ul.primary li a:hover,
#head ul.secondary li a:hover {
  color: #9F7C65;
  }

#head ul.primary li a.active,
#head ul.secondary li a.active {
  background-color: #6e4429;
  }

#head ul.primary #oflb-logo a {
  margin: 0 5px 0 0;
  padding: 25px 5px 13px 99px;
  font-size: small;
  color: #fff;
  }

#logo {
  position: absolute;
  width: 121px;
  height: 98px;
  background: url("/assets/images/logo-only.png") no-repeat;
  content: "";
  z-index: 999999;
  left: 50%;
  margin-left: -513px;
  }

#body:before {
  background: url("/assets/images/logo-glow.png") no-repeat;
  position: absolute;
  height: 108px;
  width: 237px;
  content: " ";
  top: 0;
  left: -90px;
  }

#head ul.secondary li {
  margin-left: 2px;
  display: block;
  float: left;
  }

#head ul.secondary li#lang,
#head ul.secondary li.search {
  margin-top: 20px;
  vertical-align: top;
  }

#head ul.secondary .search input {
  display: block;
  position: relative;
  float: left;
  vertical-align: middle;
  }

#head ul.secondary .search input[type="text"] {
  width: 160px;
  padding: 5px 2px;
  margin: 0;
  font-size: 95%;
  border: 0;    
  -webkit-border-top-left-radius: 2px;
  -webkit-border-bottom-left-radius: 2px;
  -moz-border-radius-topleft: 2px;
  -moz-border-radius-bottomleft: 2px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  }

#head ul.secondary .search input[type="text"]:focus {
  color: #4d2e19;
  }

/* Start -- Reset webkit input styles */
input[type=search] {
    -webkit-appearance: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
    display: none;
}
/* ------------------- End
*/

input[type="text"].placeholder {
  color: #cab187;
}

input[type="text"]::-webkit-input-placeholder {
  color: #cab187;
}

input[type="text"]:-moz-placeholder {
    color: #cab187;
}

#head ul.secondary .search .search-button {
  width: 25px;
  padding: 25px 0 0;
  height: 0;
  overflow: hidden;
  background: #d8c4a1 url('/assets/images/search.png') no-repeat center 5px;
  border: 0;
  -webkit-border-top-right-radius: 2px;
  -webkit-border-bottom-right-radius: 2px;
  -moz-border-radius-topright: 2px;
  -moz-border-radius-bottomright: 2px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  
  }
  
  .gecko #head ul.secondary .search .search-button {
    padding: 26px 0 0;
    }

#foot {
  text-transform: uppercase;
  letter-spacing: .1em;
  }

#foot p.logo {
  text-align: center;
  margin: 30px 0 15px;
  }

#foot p.logo a {
  display: inline-block;
  padding: 7px 0 8px 35px;
  font-size: small;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: transparent url('/assets/images/oflb-footer.png') no-repeat 0 0;
  }

#foot p.logo a:hover {
  background-position: 0 -43px;
  }

#foot ul {
  margin: 0;
  display: block;
  text-align: center;
  }

#foot ul.primary {
  padding: 0 0 10px;
  }
  
#foot ul li {
  display: inline-block;
  background: transparent url('/assets/images/list-bullet.png') no-repeat 0 center;
  padding: 0 0 0 10px;
  }
  
  #foot ul.primary li {
  }  
    
  #foot ul li:first-child {
    background-image: none;
    padding: 0;
  }

#foot ul li a {
  padding: 0 5px 0 0;
  }

#foot ul.secondary {
  float: none;
  padding: 10px 0;
  display: block;
  font-size: x-small;
  }

#foot ul.secondary li {
  padding: 0 8px 0 12px;
  }

#foot ul.secondary li a {
  padding: 0;
  }

#foot p img {
  display: inline-block;
  margin: 0 5px 0 0;
  }

.element ul.primary {
  text-transform: none;
  line-height: 1;
  display: block;
  }

ul.primary li { display: inline-block; vertical-align: middle;}
ul.primary strong { color: #502d16 }

ul li.heading {
  color: #502d16;
  }

#content .element ul li.heading {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
  }
  
  #featured-fonts .element ul.primary .heading {
  letter-spacing: 0;
  }
  
  #catalogue-word .element ul li.heading {
  width: 120px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  }

  #latest-fonts .element ul li.styles,
  #catalogue-wrapper .element ul li.styles,
  #catalogue-word .element ul li.styles,
  #catalogue-sentence .element ul li.styles,
  #catalogue-paragraph .element ul li.styles {
    font-weight: bold;
  }

.fonts .element ul.primary, .font .element ul.primary {
  font-size: x-small;
  background: #e7d3b1;
  color: #B7703E;
  }

.fonts .element ul.primary li, .font .element ul.primary li {
  padding: 4px 2px;
  }

.element ul.primary a {
  display: inline-block;
  padding: 0 2px;
  }

.element ul.primary a:hover,
.element ul.primary a:focus {
  color: #4d2e19;
  }

#content .fonts .element ul.primary li.author {
  float: right;
  text-align: right;
  width:  220px;
  text-clip: ellipsis;
  white-space: nowrap;
  }

/* Catalogue */

ul#catalogue-views {
  font-size: x-small;
}

ul#catalogue-views li,
.catalogue .order-catalogue li {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .05em;
  }

ul#catalogue-views li {
  margin: 0 15px 0 0;
  }

ul#catalogue-views li strong,
.catalogue .order-catalogue li strong {
  font-weight: bold;
  }

ul#catalogue-views li a {
  padding: 0 0 5px 26px;
  display: inline-block;
  background: transparent url('/assets/images/catalogue-views.png') no-repeat 0 0;
  }

ul#catalogue-views li a.active,
ul#catalogue-views li a:hover,
.catalogue .order-catalogue li a.active,
.catalogue .order-catalogue li a:hover {
  color: #4d2e19;
  }

ul#catalogue-views li.word a {
  background-position: 0 -39px;
  }

ul#catalogue-views li.word a.active,
ul#catalogue-views li.word a:hover {
  background-position: 0 0;
  }

ul#catalogue-views li.sentence a {
  background-position: 0 -117px;
  }

ul#catalogue-views li.sentence a.active,
ul#catalogue-views li.sentence a:hover {
  background-position: 0 -78px;
  }

ul#catalogue-views li.paragraph a {
  background-position: 0 -195px;
  }

ul#catalogue-views li.paragraph a.active,
ul#catalogue-views li.paragraph a:hover {
  background-position: 0 -156px;
  }

#preview-tools {
  margin-bottom: 1em;
}

#catalogue-filters {
  margin: 0 30px 15px 0;
  clear: both;
  overflow: auto;
  padding: 5px 0;
  border-top: 1px solid #D8C4A1;
  border-bottom: 1px solid #D8C4A1;
  background: #eedcbf;
  }

#catalogue-filters p {
  display: block;
  float: left;
  margin: 0 15px 0 0;
  padding: 4px 0 4px 5px;
  }
  
  #catalogue-filters p strong {
  text-transform: uppercase;
  letter-spacing: .05em;  
  font-weight: bold;
  }

#catalogue-filters fieldset {
  margin: 0 15px 0 0;
  padding: 0;
  display: block;
  float: left;
  }

#catalogue-filters label {
  vertical-align: middle;
  display: inline-block;
  margin: 0 2px 0 0;
  }

  #catalogue-filters .ui-dropdownchecklist label {
    display: inline-block;
    text-transform: none;
    }

#catalogue-filters input.button {
  padding: 3px 10px;
  font-size: x-small;

  box-shadow: 0 0 0 transparent;
  -moz-box-shadow: 0 0 0 transparent;
  -webkit-box-shadow: 0 0 0 transparent;
}

#preview-options form.preview {
  background: transparent;
  padding: 0;
  margin-right: 10px;
  float: left;
  }
  
#preview-options ul {
  float: left;
  }

#information form input[type="text"] {
  font-size: 100%;
  border: 1px solid #D8C4A1;
  padding: 4px 2px;
  display: block;
  width: 98%;
  }

#content #catalogue-word,
#content #catalogue-sentence,
#content #catalogue-paragraph {
  clear: both;
  overflow: auto;
  }

#content #catalogue-word .element {
  width: 171px;
  float: left;
  clear: none;
  margin: 0 10px 20px 0;
  }

#content #catalogue-word .subtle {
  font-size: 48px;
  }

#content #catalogue-sentence .element {
  margin: 0 30px 10px 0;
  }

#content #catalogue-paragraph .element {
  width: 216px;
  float: left;
  clear: none;
  margin: 0 10px 20px 0;
  }

#content #catalogue-paragraph .subtle {
  font-size: 12px;
  line-height: 1.4em;
  height: 250px;
  max-height: 250px;
  padding-top: 18px;
  padding-right: 10px;
  }
  
#content #catalogue-paragraph .thirtysix > .subtle {
  white-space: normal;
  word-wrap: word-break;
  margin: 10px;
  max-width: 450px;
  }

#content #catalogue-paragraph a.subtle {
  white-space: normal;
  }
  
#content #catalogue-paragraph .element ul.primary {
  margin: 0;
  }

/* Homepage */

#featured-fonts {
  margin: 0 auto 60px;
  }

#featured-fonts #featured-slide {
  overflow: hidden;
  height: 127px;
  display: block;
  border: 6px solid #fff;
  border-radius: 0px 0px 3px 3px;
  background-color: white;
}

#featured-fonts .element {
  display: block;
  clear: both;
  margin: 0;
  height: 127px;
  width: 100%;
  }

#featured-fonts .element ul.primary {
  background: none;
  margin-top: -20px;
  text-align: center;
  }

#featured-fonts .element ul.primary li {
  padding: 0;
  vertical-align: center;
  }

#featured-fonts .element ul.primary li a {
  background-color: transparent;
  padding: 0;
  }
  
#featured-fonts .element ul.primary li.author {
  float: none;
  }

#featured-fonts .thirtysix,
#featured-fonts .thirtysix .subtle {
  font-size: 32px;
  line-height: 1.4em;
  padding: 0;
  display: block;
  text-align: center;
  }

#featured-fonts .thirtysix {
height: 108px;
padding-top: 15px;
background: white;
}

#featured-fonts .thirtysix .subtle {
  padding: 0;
  white-space: normal;
  }

#popular-fonts {
  margin-top: -30px;
}

#content #more {
  margin-bottom: 18px;
}

#featured-font .element .spec a img {
  max-width: 100%;
  margin-bottom: -8px;
}

.jshowoff-slidelinks {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .1em;
  background-color: #E7D3B1;
  padding: 2px 0 0;
  border-bottom: 1px solid #fff;
  border-radius: 3px 3px 0px 0px;
  }

.jshowoff-slidelinks a {
  display: inline-block;
  padding: 6px 10px;
  }
  
  .jshowoff-slidelinks a:first-child {
    background-image: none;
    }
    
.jshowoff-slidelinks a.jshowoff-active {
  color: #c83737;
  background-color: #fff;
  border-radius: 3px 3px 0px 0px;
  }

.jshowoff-slidelinks a:hover {
  color: #4d2e19;
  }

h2 {
  font-size: medium;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 30px 10px;
font-weight: bold;
/*text-shadow: 0 -1px 1px #9f7c65, -1px 0 0 #644027;*/
  line-height: 1;
  }

h2:before,
h2:after {
 content: " ";
/*content: "•";*/
  display: inline-block;
  height: 18px;
  width: 20px;
color: #C73636;
/*background: url("/assets/images/title-bullet.png") no-repeat scroll center */
}

#information .spec {
  margin: 9px 0 28px;
  }
  
#information .spec p {
  margin-bottom: 8px;
  }

#information .spec ul {
  margin: 0 0 8px;
  }

#information .spec li, #contributors .spec li {
  margin: 0 0 2px;
  }

#information .spec li a.active {
  color: #c83737;
  }

#information .spec li strong {

  }

#information dl {
  margin: 0 0 15px;
  }

#information code, #content code {
    font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace;
    background: #fff;
    padding: 10px 5px;
    display: block;
    font-size: 11px;
    line-height: 1.4em;
    margin: 0 0 15px;
    word-wrap: break-word;
  }

#information dl.numbers {
  color: #9F7C65;
  }

#information dl.numbers dt {
  float: left;
  clear: both;
  width: 130px;
  padding: 5px 0;
font-weight: bold;
  }

#information dl.numbers dd {
  padding: 5px 0;
  border-top: 1px solid #E7D3B1;
  text-align: right;
  }
  
  #information dl.numbers dd:first-child {
    border-top: 0;
    }


/* Font page */


#information p.download > a.pusher {
  background-color: #4D2E19;
  }

#information p.download > a.pusher:hover {
  background-color: #9F7C65;
  }

ul#font-variants {
  text-align: center;
  padding: 10px 0;
  }

ul#font-variants li {
  padding: 0 8px;
  display: inline-block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid #E7D3B1;
  }

ul#font-variants li a{
  padding: 0 8px;
  border-radius: 8px 8px 0 0;
  }

ul#font-variants > li:first-child{
  padding-left: 35px;
  }

ul#font-variants > li:last-child{
  padding-right: 35px;
  }

ul#font-variants li a:hover, ul#font-variants li a:active {
  color: #502D16;
  background-color: #E7D3B1;
  }

#font-page-preview-options {
  margin-top: 15px;
  margin-bottom: 15px;
  }

#font-page-preview-options form.preview,
#font-page-preview-options #text-preview {
  width: 100%;
  }
  
#font-detail-content .element {
  margin: 0 0 20px;
  }
  
#font-detail-content .waterfall {
  margin: 0;
  clear: both;
  padding: 0;
  background: #fff;
  position: relative;
  border-right: 1px solid #E7D3B1;
  box-shadow: inner 1px 1px 3px #bc9c87;
  -moz-box-shadow: inset 1px 1px 3px #bc9c87;
  -webkit-box-shadow: inset 1px 1px 3px #bc9c87;
  }

#font-detail-content .waterfall li {
  list-style-type: none;
  padding: 12px 0 14px 12px;
  }

#font-detail-content .waterfall li.thirtysix {
  overflow: visible;
  }

#font-detail-content .waterfall li span {
  line-height: 1.2em;
  }

#font-detail-content span.font-size-indice {
  color: #9F7C65;
  display: block;
  float: left;
  text-align: right;
  width: 20px;
  margin-left: -35px;
  font-size: 11px;
  }
  
  #font-detail-content .waterfall .font-size-indice {
    margin-left: -35px;
    }
    
    #font-detail-content .paragraph .font-size-indice {
      margin-left: -25px;
      }

#font-detail-content .waterfall li.thirtysix span.subtle {
  color: #222;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  padding: 0;
  }

#font-detail-content .fontsize-36 .subtle {
  font-size: 36px;
  }

#font-detail-content .fontsize-14 .subtle {
  font-size: 14px;
  }

#font-detail-content .charmap {
  font-size: 28px;
  line-height: 1.2em;
  overflow: visible;
  margin: 0 0 10px;
  }

#font-detail-content .charmap span {
  min-width: 1em;
  margin: 5px 0;
  display: inline-block;
  text-align: center;
  color: #222;
  }
  
#font-detail-content .element .paragraph div {
  overflow: auto;
  }

#font-detail-content .paragraph .subtle {
  margin: 0;
  width: 250px;
  display: block;
  float: left;
  background-color: #fff;
  color: #222;
  padding: 10px 20px;
  clear: both;
  }
  
  #font-detail-content .paragraph .dark {
  background-color: #222;
  color: #fff;
  clear: none;
  }

/* Translation interface */

#translation-menu {
  border-top:1px solid #D8C4A1;
  padding: 5px 0;
  margin: 0 0 10px;
  }

#translation-menu label {
  margin: 0 5px 0 30px;
  }
  
  #translation-menu label:first-child {
    margin: 0;
    }

#translations, #rules, #import_rules {
  margin: 0 0 30px;
  width: 100%;
  }

#new_table {
  margin: 0 0 18px;
  }

#translations table, #new_table table {
  background: #fff;
  width: 100%;
  border: 0;
    margin: 0 0 20px 0;
    border-collapse: collapse;
    clear: both;
    line-height: 1.2em;
    text-align: left;
  }
  
#translations thead, #new_table thead,
#rules thead,
#import_rules thead {
  background-color: #E7D3B1;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: bold;
  }


#translations th,
#translations td,
#new_table th,
#new_table td,
#rules th,
#rules td,
#import_rules th,
#import_rules td {
  vertical-align: top;
  }
  
#translations .context,
#new_table .context {
  width: 180px;
  }

#translations .original-string,
#translations .translated-string,
#new_table .original-string,
#new_table .translated-string {
  width: 340px;
  }

.add-new-term #add {
  margin-bottom: 30px;
  }

#translations th.context,
#translations th.original-string,
#translations th.translation-delete,
#new_table th.context,
#new_table th.original-string,
#new_table th.translation-delete,
#rules thead th,
#rules tr td,
#import_rules thead th,
#import_rules tr td,
.delete-col {
  padding: 10px 15px 10px 10px;
  }

#translations td.context,
#translations td.original-string,
#new_table td.context,
#new_table td.original-string {
  padding: 8px 15px 8px 10px;
  }

#translations th.translated-string,
#new_table th.translated-string {
  padding: 10px 5px 10px 10px;
  }
  
#translations td.translated-string,
#new_table td.translated-string {
  padding: 5px;
  }

#translations tr.odd {
  background: #fff;
  }

#translations tr.even {
  background: #f9f1e5;
  }

#translations table input[type="text"],
#translations table textarea,
#new_table table input[type="text"],
#new_table table textarea {
  border-top: 0;
  border-bottom: 0;
  font-size: 100%;
  padding: 2px;  
    line-height: 1.2em;
  }

#translations table textarea,
#new_table table textarea {
  width: 100%;
  }

#translations table input[type="text"],
#new_table table input[type="text"] {
  width: 100%;
  }
  
#translations table tr.even input[type="text"] {
    background: #f9f1e5;
    }

#translations table input[type="text"]:hover,
#translations table textarea:hover,
#new_table table input[type="text"]:hover,
#new_table table textarea:hover {
  cursor: pointer;
  }

#translations table#translation .translated-string:hover {
  }
    
#translations table input[type="text"]:focus,
#translations table textarea:focus,
#new_table table input[type="text"]:focus,
#new_table table textarea:focus {
  background: #fff !important;
  }  

/* Media Query */

/*
@media (min-width: 600px) {

  ul.primary { padding: 0;}
  ul.primary li { display: inline-block;}
  ul.primary li.major { margin-left: 0em; }
  
}

@media (max-width: 450px) {
  .thirtysix { font-size: 18px; height: 27px; }
  #featured-fonts #featured-slide {
  width: 450px;
  }
}
*/

@media (max-width: 960px) {

  #content{
  position: relative;  
  }

  #logo, #body:before {
  display: none;
  }
  
  #head ul.primary #oflb-logo a{
  background: transparent url("/assets/images/oflb.png") no-repeat 0 13px;
  }

  #head ul.primary #oflb-logo a {
    padding-left: 45px;
  }
  
  #content { width: 67.1052632%; float: left; }
  #information { width: 29.7368421%; float: right; }

.one-column #content {
width: 100%;
}
  
  #head-wrapper {
    width: 100%;
    }
}

@media (min-width: 960px) {

  #leaderboard-ad {
    margin: 0 30px;
  }

  #textblock{ max-width: 960px; }
  #content{ width: 580px; float: left; padding: 0 30px; }
  .one-column #content {
      float: none;
      margin: 0 30px;
      padding: 0;
      width: auto;
  }

  #information { width: 280px; float: right; padding: 0 30px 0 10px; }
  
  #head-wrapper {
    max-width: 960px;
  }
  
  #featured-fonts {
  width: 900px;
  }
  
  #featured-fonts #featured-slide {
  width: 888px;
  margin: 0 auto;
  }
}

@media (max-width: 750px) {

  #font-variants,
  #font-page-title:before,
  #font-page-title {
  width: 100%;
  }

}

@media (min-width: 705px) and (max-width: 959px){
  #content {
    margin-left: 10px;
  }
  #information {
    margin-right: 10px;
  }
}

@media (max-width: 705px) {

  #head ul.secondary .search input[type="text"] {
    width: 100%;
    font-size: 100% !important;
  }

  ul { text-align: center; }
  dl { text-align: center; }

  #featured-fonts, #catalogue-views, #preview-options, form.preview {
    display: none;
  }

  #head #lang {
    margin-bottom: 5px;
  }

  #head .search {
    clear: left;
    padding: 0px 0px 10px 4px;
    width: 92%;
  }

  #head .search .search-button {
    display: none !important;
  }

  #head ul.primary,
  #head ul.secondary {
    display: block;
    overflow: hidden;
  }

  #head ul.primary {
    margin-top: 65px;
    float: none;
  }
  
  #head ul.primary #oflb-logo {
    display: block;
    text-align: center;
    padding: 10px 0 6px;
  }

  #head ul.primary li {
    padding: 0;
  }
  
  #head ul.primary li a, #head ul.secondary li a {
    padding: 10px 4px;
    margin: 0 4px;
  }
  
 
  #head ul.primary li:first-child a, #head ul.secondary li:first-child a {
    margin: 0;
  }
  
  #head ul.primary li a {
    -webkit-border-radius: 0px;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius: 0px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    border-radius: 0px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
  }
  
  #head ul.secondary {
    margin: 0;
    padding: 8px 0 2px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #9f7c65;
  }
  
  #head ul.secondary li#lang, #head ul.secondary li.search {
    margin-top: 0;
  }
  
  .element ul.primary,
  #information .spec ul,
  #catalogue-views {
    text-align: left;
  }
  
  #foot #patrons {
    padding: 15px 30px 0;
  }
  
  #foot #patrons li, #foot #patrons li:first-child {
    margin: 15px 0;
  }
  
  #foot #patrons p {
    margin: 15px -30px;
  }
  
  #foot #patrons p span,
  #foot a#donate-btn {
    padding: 10px 5px;
    display: block;
    width: auto;
  }
  
  #content #catalogue-word .element {
    width: 154px;
  }

  dl.info dt { float: none; text-align: center; }
  dl.info dt:after{ content: ""; }
  dl.info dd { margin-bottom: 18px; }

  ul.primary li.secondary { display: none; }
  
  #dynamic input[type=text] {  font-size: 28px; text-align: center; }
  #dynamic { display: none; }
  
  .thirtysix { text-align: left; }

  #content, #information { width: 95%; float: none;  margin: 0px auto;}

  input[type='submit'].button { float: none; }

  .button { width: 150px; text-align: center; margin: 0 auto; }
}

/* styles bottom */

/* required to avoid jumping */
#styles-bottom {
  left: 640px;
  position: absolute;
  overflow: auto;
}

#styles-bottom #styles-wrap {
  position: fixed;
  width: 280px;
  background: #E7D3B1;
  bottom: 0;
  padding: 5px 0;
  -webkit-border-top-right-radius: 3px;
  -webkit-border-top-left-radius: 3px;
  -moz-border-radius-topright: 3px;
  -moz-border-radius-topleft: 3px;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}

#styles-bottom .font-styles {
  padding: 0 12px;
}

#styles-bottom #hide-nav {
  display: block;
  cursor: pointer;
  background: transparent url("/assets/images/colapse.png") no-repeat 5px center;
  padding: 3px 5px 3px 17px;
  margin: 0;
  border-bottom: 1px solid #D8C4A1;
}
/**** search height fix ****/
#head ul.secondary .search input[type="text"] {
  height: 16px;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
  #head ul.secondary .search input[type="text"] {
    height: 15px;
  }
}


a.subtle:hover {
  text-decoration: none;
}

.featured-font-credit {
  background: white;
}

.item-title {
  font-weight: bold;
}

.item-credit {
  font-size: smaller;
}
